Governance validator

From Sistema2D/FrameCode-VibeWork · View interactive version

Governance validator is an AI agent skill from the GitHub repository Sistema2D/FrameCode-VibeWork. Validate FCVW structure, schemas, ownership, plan states, reading routes, Markdown and wiki health, and clean-template boundaries. Use before structural closeout, after moving governed files, or when auditing the framework. Do not use to change a skill or policy's content.

How to use this skill

Skill file

Governance validator

Purpose

Evaluate the human-readable FCVW invariants. The optional script automates deterministic checks; this skill owns interpretation and remediation decisions.

Profiles

Inputs

Checks

  1. Canonical files and ownership metadata.
  2. Plan status/directory coherence and unique IDs.
  3. Skill metadata, catalog coverage, and provider-neutral core instructions.
  4. Framework/application version namespace separation.
  5. Markdown links and fence balance.
  6. Wiki IDs, schema, index, freshness, and archive rules.
  7. Placeholder policy by profile.
  8. Clean-template contamination.
  9. Framework lock, release record, and migration coherence.
  10. The filesystem layout in OWNERSHIP.md covers every path class.
  11. Operational-index and reading-route coverage for every root framework policy, project profile, and declared skill session type.
  12. Closeout: no undecided checklist item in a completed plan, and every deferred criterion carried by its target (plan-acceptance, plan-deferral).

Optional execution

Installed release:

python FCVW/tools/validate_fcvw.py --root . --profile <profile>

Framework source checkout:

python tools/validate_fcvw.py --root . --profile <profile>

For controlled legacy debt: run --fix-moved-links for the mechanical part, then --write-baseline --baseline-owner <owner> once; later runs with the default profile fail only on new findings. Record a baseline only for findings that predate the change under review.

Scripts do not auto-correct historical evidence. Review every proposed remediation and keep the report attached to the active plan or release.

Non-responsibilities

Required output

List command/profile, passed checks, new failures, reading-route gaps, baseline findings, corrections, and residual risk.

Validation and exit

Exit only when blocking findings are resolved or explicitly accepted by authorized scope, and no new debt is suppressed as legacy.

Mode: Governance and Markdown linter (formerly `agnix-linter`)

Markdown and governance structure lint checklist.

Purpose

Detect structural defects, dead references, schema drift, and contradictory governance instructions without silently changing policy.

Use conditions

Use during governance audits, framework maintenance, release closeout, or after moving and renaming documentation.

Non-responsibilities

Inputs

AGENTS.md, the context map, schema and ownership documents, affected Markdown, skill catalog, record indexes, and any explicit legacy baseline.

Procedure

  1. Select clean-template, instantiated, incremental, or strict validation scope.
  2. Check internal links, Markdown fences, required paths, schemas, IDs, lifecycle directories, and version namespaces.
  3. Compare global instructions with narrower policies and skills for direct contradictions.
  4. Distinguish new defects from accepted legacy debt.
  5. Report exact file and rule for every finding.
  6. Apply only authorized, plan-scoped corrections and rerun the same checks.

Required output

Validation profile, checks executed, pass/fail result, actionable findings with paths, accepted baseline items, fixes made, and residual risks.

Validation

Every reported path exists, each finding is reproducible, duplicate reports are consolidated, and the same lint scope passes after an authorized correction.

Exit criteria

Exit when the chosen profile passes or each remaining finding has an explicit owner, reason, and follow-up path.

Mode: Wiki lint (formerly `wiki-lint`)

Validate wiki schema, links, freshness, baselines, and index coverage.

Purpose

Find structural and knowledge-quality problems without forcing bulk rewrites of historical evidence.

Modes

Inputs

wiki/README.md, wiki/index.md, changed pages, and optional legacy baseline.

Checks

Optional semantic review

Semantic review is a second, non-deterministic layer for source-bounded checks such as possible duplication, concept overlap, contradiction, poor summary, insufficient evidence, taxonomy drift, obsolete synthesis, or unsupported validation.

semantic_review:
  scope: source-bounded
  mutation: forbidden
  release_gate: forbidden
  runtime_unavailable: report-only
  authority: advisory

A release synthesis is created when a release introduces reusable knowledge, breaking migration, major incident learning, or an explicit project policy requires it. Patch releases do not require a duplicate synthesis by default.

Non-responsibilities

Required output

Report mode, pages checked, new failures, legacy findings, fixes, waivers, and remaining review work.

Validation and exit

New or changed pages comply, IDs are unique, links resolve, and every suppressed legacy finding has an exact path, rule, owner, and review date.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.