Forge Project Cleanup Plan 4
Scope: Complete the infrastructure inventory and verification evidence, Charter alignment matrix, ambiguity handling, and final acceptance verification across the entire project system.
Spec: Forge Project Cleanup Spec Prior plan: Plan 3
Task 1 — Build the project system infrastructure inventory
Spec §7 requires an inventory of every active project-system component with verification evidence.
-
Inventory the following component categories and record each item’s name, location, status, and verification method:
Published project Knowledge and Guides:
Forge/Forge_Project_Workflow.md— verifystatus: publishedin frontmatterForge/Forge_Project_User_Guide.md— verifystatus: publishedin frontmatterForge/Forge_Agent_Orchestration.md— verifystatus: publishedin frontmatterForge/Forge_Agent_Architecture.md— verifystatus: publishedin frontmatterForge/Forge_Document_Structure.md— verifystatus: publishedin frontmatterForge/Forge_Charter.md— verifystatus: publishedin frontmatter- Any other published Knowledge/Guide files under
Forge/that relate to the project system
Project Skills:
- List every Skill in
Forge/Skills/withprojectin its name or tags - For each, verify the SKILL.md exists and has
status: publishedorstatus: draft(draft is acceptable for Skills being updated) - Verify each Skill’s procedure reflects the updated workflow (no Erik_Todo, no WIP)
Project work-product templates:
- List every template in
Forge/Skills/Project_Create/templates/ - Verify each template exists and is consistent with the updated Workflow document
- Verify the WIP_Template.md has been removed (done in Plan 2)
Project bot records, prompt records, and prompt versions:
- List the four project bots: project-runner, project-thinker, project-worker, project-evaluator
- For each, record: bot id, prompt id, current prompt version number, last updated date
- Verify prompt versions are inspectable through prompt-version artifacts created in Plan 3
Workflow schedules, Inngest functions, or phase triggers:
- Search for Inngest function definitions or scheduled triggers related to project workflow
- Record what exists and its current configuration
- If none exist, record “No Inngest/project workflow triggers found — project phases are driven by agent invocation”
Todo lists/items used for human and agent gates:
- Use
findTodoListsto find any project-related todo lists - Use
findTodoItemsto find any project-related todo items - Record what exists
Generated Astro/Starlight pages and sidebar entries for active project docs:
- Run
cd .internal && pnpm run buildto verify the build passes - Check the generated sidebar for project-related entries
- Verify no WIP or Erik_Todo entries appear in the active sidebar
Lifecycle files, phase files, run logs, verification reports, and audit reports:
- List all active project folders under
Forge/Projects/(non-archived) - For each, record the Phase file and its current phase value
-
Save the complete inventory as
Forge_Project_Cleanup_Infrastructure_Inventory.mdin the project folder with statusdraft.
Task 2 — Collect verification evidence for each component type
Spec §7 requires verification evidence for each component type. Valid evidence includes file inspection results, search results showing removal of stale active references, prompt diff review, tool inventory or smoke-test output, generated site/sidebar inspection, lifecycle routing checks, build results, and documented manual checks.
-
For each component category in the inventory, collect and record verification evidence:
Knowledge and Guides: File inspection results showing
status: publishedand no remaining active Erik_Todo or WIP instructional references. Use grep search results as evidence.Skills: File inspection results showing SKILL.md files are updated. Use grep search results showing no remaining active Erik_Todo or WIP instructional references in project Skills.
Templates: Directory listing of
Forge/Skills/Project_Create/templates/showing WIP_Template.md is absent. Content inspection of remaining templates showing they are consistent.Bot prompts: Prompt-version artifacts from Plan 3 showing the before/after diff. Read the current prompt for each bot and verify it matches the Knowledge.
Workflow triggers: If Inngest functions exist, record their configuration. If not, record that project phases are agent-driven.
Todo items: Results of
findTodoListsandfindTodoItemsshowing thetodossystem is functional and being used.Generated pages/sidebar: Build output showing successful build. Sidebar inspection showing no WIP or Erik_Todo entries.
Lifecycle files: Phase file inspection for each active project showing correct phase values.
-
For run/cost evidence (Spec §7): Record the available job/session context for the spawned project-agent work in this project. If exact cost/token/run metadata is unavailable, state that explicitly and record the available context (convo id, job ids, dates).
-
Append the verification evidence to the infrastructure inventory document.
Task 3 — Build the Charter alignment matrix
Spec §9 requires a Charter alignment matrix that records every relevant Forge Charter principle or constraint reviewed, the compliance status, the active evidence, any gap, and the correction or user decision that resolves the gap. The cleaned workflow must have no known unaddressed Charter violations.
- Read
Forge/Forge_Charter.mdin full. - For each Charter principle, guideline, goal, requirement, scope statement, and constraint, create a row in the alignment matrix with these columns:
- Charter principle/constraint — the specific Charter text or summary
- Compliance status — ✅ Compliant, ⚠️ Partial, or ❌ Violation
- Active evidence — what in the current (post-Plans 1-3) project system demonstrates compliance
- Gap — any remaining gap or risk, or “None” if fully compliant
- Correction — what was done to address the gap, or what user decision is needed
- Use the Research document’s Charter alignment matrix as the starting point (it was the pre-cleanup assessment). Update each row to reflect the post-cleanup state.
- For any principle that is still ⚠️ Partial or ❌ Violation after Plans 1-3:
- Determine what additional correction is needed
- If the correction is within this project’s scope, implement it
- If the correction requires a user decision, create a todo item and record the ambiguity
- If the correction is out of scope, record it as a known gap with rationale
- Save the matrix as
Forge_Project_Cleanup_Charter_Alignment.mdin the project folder with statusdraft.
Task 4 — Record and resolve ambiguities
Spec §10 requires that ambiguities are not resolved by agent assumption. Each ambiguity is recorded in a durable work-product with the affected area, decision needed, options considered, recommended option if any, responsible owner, status, and link to any related todo item.
- Review all work done in Plans 1-3 and the current Plan for any ambiguities encountered:
- Places where the Spec was unclear and a reasonable interpretation was chosen
- Places where multiple approaches were possible and one was selected
- Places where Knowledge documents conflict and one was chosen as authoritative
- Places where a user decision is needed but hasn’t been obtained yet
- For each ambiguity found, create an entry in
Forge_Project_Cleanup_Ambiguities.mdwith:- # — sequential number
- Affected area — which Spec section, Knowledge doc, Skill, or bot prompt
- Decision needed — what needs to be decided
- Options considered — what alternatives were available
- Recommended option — if any
- Resolution — what was actually done, or “Pending user decision”
- Responsible owner — who should decide
- Status — Resolved or Pending
- Related todo item — link to any todo item created for this ambiguity
- For any Pending ambiguities that require a user decision, create a user-owned todo item using
createTodoItemwith the structured body content per Spec §2. - Save the ambiguities document with status
draft.
Task 5 — Final acceptance verification
Spec §14 defines the acceptance criteria. This task verifies each criterion is met.
-
Verify each acceptance criterion from Spec §14:
“Active project Skills, Knowledge, Guides, bot prompts, templates, workflow configuration, generated pages/sidebar entries, and project files reflect the target state above”:
- Run comprehensive grep searches for Erik_Todo, Agent_Todo, and WIP instructional references
- Verify all four bot prompts have been updated (read each current prompt)
- Verify all project Skills have been updated
- Verify Knowledge and Guide documents have been updated
“Active references to flat-file todos and WIP recovery are absent”:
- Grep verification with zero instructional results
“All four project bots match canonical Knowledge or have recorded user-approved exceptions”:
- Review the compliance audit from Plan 3 Task 6
- Verify no unresolved discrepancies remain
“The project system inventory and verification evidence are complete”:
- Review the infrastructure inventory from Task 1-2 of this Plan
- Verify every component category has evidence
“Charter alignment has no unaddressed gaps”:
- Review the Charter alignment matrix from Task 3
- Verify no ❌ Violation rows remain without correction or user decision
“Every unresolved ambiguity is represented by a durable work-product entry and a todo item for the responsible user”:
- Review the ambiguities document from Task 4
- Verify every Pending ambiguity has a corresponding todo item
“Project names follow the
{Department}/{ProjectShortName}naming convention”:- Verify this project itself follows the convention (it does:
Forge/Project_Cleanup) - Verify the project-runner prompt enforces this (done in Plan 3)
“Human gates are user-configurable with a documented default set and enforcement by the Runner”:
- Verify the project-runner prompt includes gate options and defaults (done in Plan 3)
- Verify the Phase file supports
human_gatesfrontmatter
-
Record the verification results in
Forge_Project_Cleanup_Verification.mdwith statusdraft. -
If any criterion is not met, record the gap and determine whether it can be fixed within this Plan or requires a new Plan.
-
Build, commit, push.
Task 6 — Update project README and AGENTS
The project README and AGENTS should reflect the current state of the project after all Plans are complete.
- Update
Forge_Project_Cleanup_README.mdto reflect the completed work: what was changed, the key outcomes, and links to the inventory, Charter alignment, and verification documents. - Update
Forge_Project_Cleanup_AGENTS.mdto point to the updated Skills, Knowledge, and the new reference documents. - Set status to
reviewon all Plan documents. - Build, commit, push.