%cc-core; ]>
Give one answer to the question "is this DTD artifact, or this corpus, sound?" with numbers read from the checker and findings read from the auditor agents. The audit_session root declares the scope, the checker run, the dispatches and the summary.
- Set the
scope: a file, the repository corpus, or an installed .claude tree (commands, skills, agents under it). checker_run: from the repository root runnode bin/rot-dtd-commander.mjs check [paths] --xmlwith a 120 second ceiling and stdin closed. Quote the last line (checked N failed N xml-run N xml-invalid N). For an installed tree pass the installed file paths explicitly.dispatch: for each target kind, delegate to the matching auditor agent with the path as data (LAW.AUDITS.2). For a corpus, dispatch dtd-contract-auditor once with the root.summary: ok when failed is 0, xml-invalid is 0 and no dispatched agent reported a critical finding; otherwise drift, with the first three things to fix.
Render audit_session as: Scope, Checker (the quoted last line), Dispatches (one line per agent and target), Summary (verdict and the first three fixes).
- The checker line is quoted verbatim
- Every dispatched agent is named with its target
- Every LAW.AUDITS.* entity holds