| name | demerzel-audit |
| description | Run Demerzel governance audit — three levels of validation from schema checks to full governance integrity assessment |
Demerzel Governance Audit
Run a governance audit at one of three levels. Each level includes all checks from lower levels.
Usage
/demerzel audit [level] — level is 1, 2, or 3 (default: 1)
Level 1 — Schema Validation
Verify all governance artifacts conform to their schemas.
Level 2 — Cross-Reference Integrity
Verify artifacts reference each other correctly.
Level 3 — Full Governance Audit
Verify the governance framework is internally consistent.
How to Run
Read policies/governance-audit-policy.yaml for the full checklist with methods and severity levels. Execute each check and report results.
State Maintenance (MANDATORY)
Audits MUST read and write Demerzel's persistent state:
Before Auditing
- Read existing beliefs from
state/beliefs/ for baseline
- Read evolution logs from
state/evolution/ for artifact history
After Auditing
- Update beliefs in
state/beliefs/ for audit findings:
- Schema validation passed → belief about framework integrity (T/F)
- Cross-reference gaps found → belief about specific gap (F with evidence)
- Audit clean → update confidence upward on integrity beliefs
- Update evolution logs in
state/evolution/ — add audit events to assessed artifacts
- Write audit snapshot to
state/snapshots/{date}-audit-level{N}.snapshot.json
Schema Compliance
- Beliefs:
logic/tetravalent-state.schema.json
- Evolution:
logic/governance-evolution.schema.json
Source
policies/governance-audit-policy.yaml