consolidate and remove some duplication

This commit is contained in:
Brian Madison
2025-12-22 10:13:56 +08:00
parent 9c268f8190
commit 1e721f7fd0
18 changed files with 196 additions and 1293 deletions

View File

@@ -8,7 +8,7 @@ What the compiler auto-injects. **DO NOT duplicate these in your YAML.**
agent.yaml → Handlebars processing → XML generation → frontmatter.md
```
Source: `tools/cli/lib/agent/compiler.js`
Source: `tools/cli/lib/agent/yaml-xml-builder.js`
## File Naming Convention

View File

@@ -52,4 +52,4 @@ Agents are authored in YAML with Handlebars templating. The compiler auto-inject
**Critical:** See [Agent Compilation](./agent-compilation.md) to avoid duplicating auto-injected content.
Source: `tools/cli/lib/agent/compiler.js`
Source: `tools/cli/lib/agent/yaml-xml-builder.js`

View File

@@ -178,7 +178,7 @@ Content when false
## What Gets Injected at Compile Time
The `tools/cli/lib/agent/compiler.js` automatically adds:
The `tools/cli/lib/agent/yaml-xml-builder.js` automatically adds:
1. **YAML Frontmatter**

View File

@@ -178,7 +178,7 @@ Content when false
## What Gets Injected at Compile Time
The `tools/cli/lib/agent/compiler.js` automatically adds:
The `tools/cli/lib/agent/yaml-xml-builder.js` automatically adds:
1. **YAML Frontmatter**