Knowledge Consistency Plan 6
Plan 6 — Forge_Project and Documentation Content Corrections
Scope: Correct content in Forge_Project documentation and related docs: update Changelog references, align default human gates, remove “Pending” phase state, update Project_Flow skill, replace Manage_Pages references in documentation files, and consolidate README/AGENTS pairs where content overlaps.
Spec sections covered: S1.10 (docs only — Forge/README.md and Forge/Output/Admin_Panel_Plan.md), S3.1 (Forge_Project docs only), S6.1, S6.3, S10.1, S12.1 (Forge_Project docs only), S12.3 (Forge_Project docs and Project_Flow/SKILL.md).
Prerequisite: None.
Task Ordering Note (E6 fix): Task 4 (S1.10 doc edits) MUST execute before Task 5 (S10.1 README/AGENTS consolidation). Task 4 edits Forge/README.md to replace Manage_Pages references; Task 5 may consolidate or eliminate Forge/README.md. If Task 5 eliminates the file, the S1.10 edits from Task 4 must already be applied (or the consolidation must carry forward the corrected content into AGENTS.md).
Task 1 — Update Forge_Project_User_Guide.md
Spec S6.3: “
Forge_Project_User_Guide.mdreferences{Project}_Changelog.md(not{Project}_Summary.md) as the document created in the Create phase.” Also Spec S6.1: “{Project}_Summary.mdis not used. The file change manifest is{Project}_Changelog.md.” Spec S3.1: “The default human gates are consistent across all sources:Vision_Eval,Spec_Eval,Plan_Eval,Verify.Vision_Evalis included as a default gate in the Workflow and User Guide docs.” Spec S12.1: “The validPhase:value statuses areStarted,Completed, andBlockedonly. There is noPendingstate.” Spec S12.3: “Forge/Forge_Project/Forge_Project_User_Guide.md— the phase-state table row_Pending | Waiting for the agent to startis removed. The table listsStarted,Completed, andBlockedonly.”
Steps
- Edit
Forge/Forge_Project/Forge_Project_User_Guide.md. - S6.3/S6.1: Replace references to
{Project}_Summary.mdwith{Project}_Changelog.mdas the document created in the Create phase. - S3.1: Ensure the default human gates listed are
Vision_Eval,Spec_Eval,Plan_Eval,Verify. AddVision_Evalif missing from the default gates list. - S12.1/S12.3: Remove the phase-state table row
_Pending | Waiting for the agent to start. The table should list onlyStarted,Completed, andBlocked.
Verify
grep -r 'Summary.md' Forge/Forge_Project/Forge_Project_User_Guide.mdreturns no matches (replaced with Changelog.md)- The default human gates include
Vision_Eval,Spec_Eval,Plan_Eval,Verify grep -ri '_Pending\|Pending.*Waiting' Forge/Forge_Project/Forge_Project_User_Guide.mdreturns no matches- The phase-state table lists only
Started,Completed, andBlocked
Task 2 — Update Forge_Project_Workflow.md
Spec S3.1: “The default human gates are consistent across all sources:
Vision_Eval,Spec_Eval,Plan_Eval,Verify.” Spec S12.1: “The validPhase:value statuses areStarted,Completed, andBlockedonly. There is noPendingstate.” Spec S12.3: “Forge/Forge_Project/Forge_Project_Workflow.md— the phase-state table row for_Pendingis removed.”
Steps
- Edit
Forge/Forge_Project/Forge_Project_Workflow.md. - S3.1: Ensure the default human gates listed are
Vision_Eval,Spec_Eval,Plan_Eval,Verify. AddVision_Evalif missing. - S12.1/S12.3: Remove any
_Pendingphase-state references. The valid phase states areStarted,Completed, andBlockedonly.
Verify
- The default human gates include
Vision_Eval,Spec_Eval,Plan_Eval,Verify grep -ri '_Pending' Forge/Forge_Project/Forge_Project_Workflow.mdreturns no matches (except “Pending user decision” which is a scope-decision status, not a phase state — retained per Spec)
Task 3 — Update Project_Flow/SKILL.md
Spec S12.3: “
Forge/Forge_Project/Skills/Project_Flow/SKILL.md— the Phase Detection convention is updated to remove the{Phase}_Pending → waiting for agent to startclause. The convention reads:{Phase}_Started→ in progress → useProject_{Phase}skill;{Phase}_Blocked→ blocked (Runner creates a todo item);{Phase}_Completed→ done → start next phase.”
Steps
- Edit
Forge/Forge_Project/Skills/Project_Flow/SKILL.md. - Update the Phase Detection convention to remove the
{Phase}_Pending → waiting for agent to startclause. - The convention should read:
{Phase}_Started→ in progress → useProject_{Phase}skill;{Phase}_Blocked→ blocked (Runner creates a todo item);{Phase}_Completed→ done → start next phase.
Verify
grep -ri '_Pending.*waiting\|Pending.*agent to start' Forge/Forge_Project/Skills/Project_Flow/SKILL.mdreturns no matches- The Phase Detection convention lists only
Started,Blocked, andCompleted
Task 4 — Replace Manage_Pages References in Documentation Files
Spec S1.10: “Affected documentation files:
Forge/README.md— ‘use the Manage Pages skill and Forge Document Structure’;Forge/Output/Admin_Panel_Plan.md— ‘per the manage-pages skill’.” These references are replaced with the canonical Page Manager spawn pattern.
Steps
- Edit
Forge/README.md: replace “use the Manage Pages skill and Forge Document Structure” with instructions to spawn the Page Manager bot viaspawnAgentwith{ botGroup: 'forge', botHandle: 'page-manager' }for page operations. - Edit
Forge/Output/Admin_Panel_Plan.md: replace “per the manage-pages skill” with “per the Page Manager bot (spawned viaspawnAgentwith{ botGroup: 'forge', botHandle: 'page-manager' }).”
Verify
grep -ri 'manage.pages skill\|Manage_Pages skill\|manage-pages skill' Forge/README.md Forge/Output/Admin_Panel_Plan.mdreturns no matches- Both files reference the Page Manager bot spawn pattern
Task 5 — Consolidate README.md and AGENTS.md Pairs
Spec S10.1: “Evaluate each
README.mdandAGENTS.mdpair in Forge folders. Where content overlaps, consolidate intoAGENTS.md(which has richer structure: related skills, documents, knowledge sources) and eliminateREADME.md. For project folders,AGENTS.mdserves as the canonical context file for both agents and humans.”
Output Record (E8 fix): Write the consolidation summary to Forge/Projects/Knowledge_Consistency/Knowledge_Consistency_README_Consolidation.md. This file records which README/AGENTS pairs were evaluated, which were consolidated, which were eliminated, and the rationale for each decision.
Steps
- Identify all
README.mdandAGENTS.mdpairs in Forge folders. The known pairs are:Forge/README.mdandForge/AGENTS.mdForge/Forge_Project/README.mdandForge/Forge_Project/AGENTS.md
- For each pair, evaluate content overlap. Where content overlaps, consolidate into
AGENTS.md(which has richer structure: related skills, documents, knowledge sources) and eliminateREADME.md. - For
Forge/README.md: this file was edited in Task 4 (S1.10 doc edits). If consolidating, carry forward the corrected Page Manager spawn pattern content intoForge/AGENTS.mdbefore eliminatingREADME.md. - For
Forge/Forge_Project/README.md: evaluate overlap withForge/Forge_Project/AGENTS.md. Consolidate if overlapping. - If a
README.mdcontains unique content not inAGENTS.md, merge that content intoAGENTS.mdbefore eliminatingREADME.md. - Use the
forge-filesystemtrash tool to eliminate consolidatedREADME.mdfiles (never use bashrm). - Spawn the Page Manager bot via
spawnAgentwith{ botGroup: 'forge', botHandle: 'page-manager' }to update sidebar entries if anyREADME.mdsidebar entries need to be removed or redirected. - Write the consolidation summary to
Forge/Projects/Knowledge_Consistency/Knowledge_Consistency_README_Consolidation.mdwith the following content for each pair evaluated:- Folder path
- README.md content summary
- AGENTS.md content summary
- Decision: consolidated or retained both
- Rationale
- If consolidated: what content was merged, what was eliminated
Verify
Forge/Projects/Knowledge_Consistency/Knowledge_Consistency_README_Consolidation.mdexists and documents all evaluated pairs- For each consolidated pair,
AGENTS.mdcontains the merged content andREADME.mdno longer exists (trashed) - For each retained pair, both files exist with distinct, non-overlapping content
- If
Forge/README.mdwas eliminated,Forge/AGENTS.mdcontains the Page Manager spawn pattern from Task 4
Task 6 — Build, Commit, and Push
Spec S1.10, S3.1, S6.1, S6.3, S10.1, S12.1, S12.3: This Plan implements Forge_Project and documentation content corrections. After all tasks are complete, commit and push the changes. Per Known Infrastructure Context,
npm run buildis expected to fail; proceed with git operations regardless.
Steps
- Run
npm run buildfrom the repo root. This is known to fail. Proceed regardless. git addall modified files:Forge/Forge_Project/Forge_Project_User_Guide.md,Forge/Forge_Project/Forge_Project_Workflow.md,Forge/Forge_Project/Skills/Project_Flow/SKILL.md,Forge/README.md(if not eliminated),Forge/Output/Admin_Panel_Plan.md,Forge/AGENTS.md(if consolidated),Forge/Forge_Project/AGENTS.md(if consolidated),Forge/Forge_Project/README.md(if not eliminated),Forge/Projects/Knowledge_Consistency/Knowledge_Consistency_README_Consolidation.md, and any sidebar changes.git commit -m "Plan 6: Forge_Project and documentation content corrections (S1.10, S3.1, S6.1, S6.3, S10.1, S12.1, S12.3)"git push origin dev
Verify
- All modified files are committed and pushed to
dev git log --oneline -1shows the commit
Plan 6 Completion Criteria
Forge_Project_User_Guide.mdreferences{Project}_Changelog.md(not Summary.md), includesVision_Evalin default gates, and has no_Pendingphase-state rowForge_Project_Workflow.mdincludesVision_Evalin default gates and has no_Pendingphase-state references (except “Pending user decision” scope-decision label)Project_Flow/SKILL.mdPhase Detection convention lists onlyStarted,Blocked, andCompletedForge/README.mdandForge/Output/Admin_Panel_Plan.mdreference the Page Manager bot spawn pattern, not Manage_Pages skill- README/AGENTS pairs evaluated and consolidated where overlapping; consolidation summary written to
Knowledge_Consistency_README_Consolidation.md - Changes committed and pushed to
dev
Dependencies
- Requires: None
- Blocks: None