Knowledge Consistency Plan 4
Plan 4 — Knowledge File Frontmatter Corrections
Scope: Correct frontmatter across all Forge knowledge files: change status: approved to status: published in 6 files, remove created/updated/lastUpdated fields from 16 files, add missing approver field to 5 files, and add complete frontmatter to Forge/Forge_Project/AGENTS.md.
Spec sections covered: S2.1, S2.2, S2.3, S2.4, S10.2 (S10.2 is implemented by the same task as S2.2 — removing date fields from frontmatter).
Prerequisite: None.
Task 1 — Change Status from approved to published
Spec S2.1: “Six root-level knowledge files have
statuschanged fromapprovedtopublished:” — Forge_Charter.md, Forge_Agent_Architecture.md, Forge_Content_System.md, Forge_Document_Structure.md, Forge_Infrastructure.md, Forge_Setup.md.
Steps
- Edit
Forge/Forge_Charter.md: changestatus: approvedtostatus: publishedin frontmatter. - Edit
Forge/Forge_Agent_Architecture.md: changestatus: approvedtostatus: published. - Edit
Forge/Forge_Content_System.md: changestatus: approvedtostatus: published. - Edit
Forge/Forge_Document_Structure.md: changestatus: approvedtostatus: published. - Edit
Forge/Forge_Infrastructure.md: changestatus: approvedtostatus: published. - Edit
Forge/Forge_Setup.md: changestatus: approvedtostatus: published.
Verify
grep -l 'status: approved' Forge/Forge_Charter.md Forge/Forge_Agent_Architecture.md Forge/Forge_Content_System.md Forge/Forge_Document_Structure.md Forge/Forge_Infrastructure.md Forge/Forge_Setup.mdreturns no matches- All 6 files have
status: publishedin frontmatter
Task 2 — Remove created, updated, and lastUpdated Fields from Frontmatter
Spec S2.2: “Knowledge files do not maintain
createdorupdatedfields in YAML frontmatter. Creation and modification dates are sourced from the filesystem and git history, eliminating manual maintenance burden. Thecreated,updated, andlastUpdatedfields are removed from the frontmatter convention. Existing files with these fields have them removed during execution.” Also Spec S10.2: “Removecreated,updated, andlastUpdatedfrom the frontmatter convention. Use filesystem and git metadata as the source of truth for creation and modification dates.”
Affected Files (16 total — complete list)
Forge root (12 files):
Forge/AGENTS.mdForge/Forge_Agent_Architecture.mdForge/Forge_Agent_Orchestration.mdForge/Forge_Agents_User_Guide.mdForge/Forge_Charter.mdForge/Forge_Content_System.mdForge/Forge_Document_Structure.mdForge/Forge_Infrastructure.mdForge/Forge_Markdown_MDX_Syntax.mdxForge/Forge_Markdown_Syntax.mdForge/Forge_Setup.mdForge/README.md
Forge_Project root (4 files):
Forge/Forge_Project/AGENTS.mdForge/Forge_Project/Forge_Project_User_Guide.mdForge/Forge_Project/Forge_Project_Workflow.mdForge/Forge_Project/README.md
Steps
- For each of the 16 files listed above, check the YAML frontmatter for
created,updated, orlastUpdatedfields. - Remove any
created,updated, orlastUpdatedfields found in the frontmatter. - Do not remove any other frontmatter fields (
title,visibility,status,owner,approver). - If a file has no date fields, no change is needed for that file.
Verify
grep -l '^created:' Forge/AGENTS.md Forge/Forge_Agent_Architecture.md Forge/Forge_Agent_Orchestration.md Forge/Forge_Agents_User_Guide.md Forge/Forge_Charter.md Forge/Forge_Content_System.md Forge/Forge_Document_Structure.md Forge/Forge_Infrastructure.md Forge/Forge_Markdown_MDX_Syntax.mdx Forge/Forge_Markdown_Syntax.md Forge/Forge_Setup.md Forge/README.md Forge/Forge_Project/AGENTS.md Forge/Forge_Project/Forge_Project_User_Guide.md Forge/Forge_Project/Forge_Project_Workflow.md Forge/Forge_Project/README.mdreturns no matchesgrep -l '^updated:' [same 16 files]returns no matchesgrep -l '^lastUpdated:' [same 16 files]returns no matches
Task 3 — Add Missing approver Field
Spec S2.3: “All knowledge files have complete frontmatter per the convention above. Specifically, the following files have missing
approverfields added:” — Forge_Agent_Architecture.md, Forge_Content_System.md, Forge_Infrastructure.md, Forge_Setup.md, AGENTS.md.
Steps
- Edit
Forge/Forge_Agent_Architecture.md: addapprover: ""to frontmatter if missing. - Edit
Forge/Forge_Content_System.md: addapprover: ""to frontmatter if missing. - Edit
Forge/Forge_Infrastructure.md: addapprover: ""to frontmatter if missing. - Edit
Forge/Forge_Setup.md: addapprover: ""to frontmatter if missing. - Edit
Forge/AGENTS.md: addapprover: ""to frontmatter if missing.
Verify
- All 5 files have an
approverfield in frontmatter (value may be empty string"") grep -l 'approver' Forge/Forge_Agent_Architecture.md Forge/Forge_Content_System.md Forge/Forge_Infrastructure.md Forge/Forge_Setup.md Forge/AGENTS.mdreturns all 5 files
Task 4 — Add Complete Frontmatter to Forge_Project AGENTS.md
Spec S2.4: “
Forge/Forge_Project/AGENTS.mdhas complete frontmatter (title,visibility,status,owner,approver).”
Steps
- Edit
Forge/Forge_Project/AGENTS.md: ensure the YAML frontmatter contains all required fields:title,visibility,status,owner,approver. - Add any missing fields with appropriate values:
title(document title),visibility: internal,status: published(ordraftif not yet published),owner: "erik@uvilo.com",approver: "". - If no frontmatter exists, add a complete frontmatter block at the top of the file.
Verify
Forge/Forge_Project/AGENTS.mdhas YAML frontmatter with all 5 required fields:title,visibility,status,owner,approver
Task 5 — Build, Commit, and Push
Spec S2.1–S2.4, S10.2: This Plan implements knowledge file frontmatter 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 16 modified knowledge files listed in Task 2, plusForge/Forge_Project/AGENTS.md.git commit -m "Plan 4: Knowledge file frontmatter corrections (S2.1-S2.4, S10.2)"git push origin dev
Verify
- All modified files are committed and pushed to
dev git log --oneline -1shows the commit
Plan 4 Completion Criteria
- All 6 files listed in Task 1 have
status: published(notapproved) - All 16 files listed in Task 2 have no
created,updated, orlastUpdatedfields in frontmatter - All 5 files listed in Task 3 have an
approverfield in frontmatter Forge/Forge_Project/AGENTS.mdhas complete frontmatter with all 5 required fields- Changes committed and pushed to
dev
Dependencies
- Requires: None
- Blocks: None