Orchestration 2 Changelog
Files added, modified, or deleted across all Plans.
Verification
Success Criteria
| # | Criterion | Measured by | Status |
|---|---|---|---|
| V1 | Include directives are resolved and inlined before agent instructions are written to MongoDB | agent-sync resolves <!-- include: --> directives; output is fully assembled prompt | 🟢 Success |
| V2 | Recursive includes work up to max depth; cycles and missing files produce clear errors | Test with nested include and invalid path | 🟢 Success |
| V3 | Context Hygiene skill updated with category-aware budgets table; /audit-context produces context_audit.md | Audit command runs against all agent prompts; writes results table to references/ | 🟢 Success |
| V4 | Page_Handler_Prompt.md refactored to use includes; no runtime skill read for Manage_Pages | agent-sync resolves the include; Page Handler operates without reading the skill at runtime | 🟢 Success |
| V5 | Shared environment and project snippets exist and are included by agents that need them | Snippet files are includable by multiple agent prompts; agents that exclude them still function correctly | 🟢 Success |
| V6 | Manage_Pages inlined in Page_Handler_Prompt; Forge Optimizer updated to detect always-used skills | Page Handler operates without runtime skill read; Optimizer can detect usage patterns | 🟢 Success |
| V7 | Forge/Skills/index.md deprecated and removed from always-loaded context | All agents that previously relied on index.md use forge-discovery for skill lookup instead | 🟢 Success |
| V8 | All agent prompts renamed to Title_Case_With_Underscores_Prompt.md convention; all references updated | agent-sync.ts, documentation, and sidebar use new names; sync succeeds | 🟢 Success |
| V9 | Create Page skill deleted; Update Sidebar renamed to Manage Pages; all references updated | Create_Page directory removed; Manage_Pages directory exists with combined logic; all references use new name | 🟢 Success |
Items
| # | Type | Description | Status | Disposition |
|---|---|---|---|---|
| E1 | Gap | Forge/Skills/index.md still exists with status: published — R7 says “deprecate” but the file was only removed from always-loaded context, not archived or deleted | 🟢 Resolved | Fix |
| E2 | Variance | Spec §3.1 says Forge Chat snippet inclusion is “TBD” but R5 explicitly excludes Forge Chat. Spec should be updated to resolve the TBD. | 🟢 Resolved | Fix |
| E3 | Variance | Escalation rule inconsistency: Forge_Chat_Prompt.md has “2 failed attempts” while Env_Snippet.md has “3 failed attempts”. R5 increased to 3 for the snippet, but Forge Chat (which doesn’t include the snippet) retains the old value. Creates divergent agent behavior. | 🟢 Resolved | Fix |
Resolution Log
| # | Disposition | Action taken | Resolved |
|---|---|---|---|
| E1 | Fix | Deleted index.md, removed sidebar entry, updated Create_Skill step 5 and 6 (removed index.md step, renamed Update Sidebar → Manage Pages) | ✅ |
| E2 | Fix | Updated Spec §3.1 and R5 to include Forge Chat in Env Snippet inclusion list; removed TBD | ✅ |
| E3 | Fix | Added <!-- include: Forge/Configs/Agents/Env_Snippet.md --> to Forge_Chat_Prompt.md; removed duplicated rules (SIDEBAR RULE, DIAGNOSIS RULE, ESCALATION RULE) from Forge Chat body | ✅ |