Skip to content

Commit 4712085

Browse files
authored
docs(agents): add npm run audit to AGENTS.md command tables (#28)
Followup to #27. Agents discovering the engine surface read the command tables in AGENTS.md (lines 62-72 and 797-830); both need to mention `npm run audit` so downstream agents pick it up in normal workflow. Added to: - "Common commands" quick-reference table (after `validate`) - "## Available Commands" bash block (after `validate`, before `sim`) Docs-only PR — skip test-writer/code-reviewer per the always-apply rule for docs-only changes.
1 parent f7c159e commit 4712085

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ If you're unsure where something goes, default to `docs/learnings/`. The README
6262
| Promote resources across orgs | Copy files between `resources/<org-a>/` and `resources/<org-b>/` |
6363
| Deploy local changes (default) | `npm run apply -- <org>` — pull → merge → push, safe against dashboard drift |
6464
| Pre-flight schema check (no network) | `npm run validate -- <org>` — run before every `apply` |
65+
| Audit state/dashboard drift (read-only) | `npm run audit -- <org>` — orphans, ghosts, content-identical clusters, inline-tools. Exit 1 on findings. |
6566
| Pull latest from Vapi | `npm run pull -- <org>`, `--force`, or `--bootstrap` |
6667
| Pull one known remote resource | `npm run pull -- <org> --type assistants --id <uuid>` |
6768
| Deploy a single file | `npm run apply -- <org> resources/<org>/assistants/my-agent.md` |
@@ -813,6 +814,8 @@ npm run push -- <org> --dry-run # Preview without applying an
813814
npm run push -- <org> --strict # Abort push if any validator returns an error
814815
npm run apply -- <org> # Pull then push (full sync)
815816
npm run validate -- <org> # Lint resources locally (fails fast on schema drift)
817+
npm run audit -- <org> # Read-only drift detector: orphan YAML, state ghosts, content-identical clusters, sibling base-slugs, dashboard orphans, inline model.tools. Exit 1 on findings.
818+
npm run audit -- <org> --type assistants # Scope audit to a single resource type
816819
npm run sim -- <org> --suite <name> --target <name> # Run a simulation suite against an assistant/squad
817820
npm run rollback -- <org> --to <ISO-timestamp> # Re-apply a snapshot taken before a push
818821
npm run rollback -- <org> --list # List available snapshots

0 commit comments

Comments
 (0)