Use when documents, frozen baselines, frontmatter, or CR state need compliance checks before downstream work continues
Doc Guardian is a passive compliance gate. It does not run on its own but is invoked whenever another skill edits, reviews, or otherwise touches a workflow document. Its job is to keep frontmatter, state transitions, CR references, and progress alignment honest so downstream work can proceed safely.
Use these support assets for document compliance checks:
references/boundary-examples.mdskills/workflow-protocol/references/frontmatter-and-state-flow.mdskills/workflow-protocol/references/change-request-and-sync-status.mdskills/workflow-protocol/references/review-report-rules.mdRead skills/workflow-protocol/SKILL.md, then repository-root workflow-project.yaml. Resolve paths.progress, paths.changes_dir, and paths.change_template, then read the progress dashboard at paths.progress. When validating metadata, CR state, or review-document compliance, use the shared protocol references above instead of inventing local variants.
Use this skill when:
status, upstream, downstream, or change_historyDo not invoke Doc Guardian on code-only changes or documents outside the workflow chain unless a document compliance concern has been raised.
paths.progresspaths.changes_dir (for example, <from paths.changes_dir>/cr-{nn}.md)paths.progress (with a correction entry appended to paths.progress_history) when actual document state differs from progressfrozen documents may serve as baselines for downstream derivation.paths.progress when it disagrees with frontmatter-derived reality.workflow-protocol.frozen documents may be used as downstream baselines. Documents in draft or active status cannot serve as baselines for downstream derivation.workflow-project.yaml, never against literal path strings.paths.progress disagrees with actual document state, frontmatter reality wins and progress must be corrected.spec-review-{nn}.md (spec compliance, stage 1) and code-review-{nn}.md (code quality, stage 2). Both follow the standard review frontmatter from workflow-protocol/references/review-report-rules.md. Spec compliance review must exist before code quality review is considered valid.paths.progress matches document reality. Any correction also appended to paths.progress_history.