@vibe-agent-toolkit/cli 0.2.0-rc.11 → 0.2.0-rc.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/bin/supervise-cli.d.ts +45 -0
- package/dist/bin/supervise-cli.d.ts.map +1 -0
- package/dist/bin/supervise-cli.js +83 -0
- package/dist/bin/supervise-cli.js.map +1 -0
- package/dist/bin/vat +95 -43
- package/dist/bin/vat.d.ts +15 -4
- package/dist/bin/vat.d.ts.map +1 -1
- package/dist/bin/vat.js +95 -43
- package/dist/bin/vat.js.map +1 -1
- package/dist/bin.js +21 -29
- package/dist/bin.js.map +1 -1
- package/dist/command-tree.d.ts +45 -0
- package/dist/command-tree.d.ts.map +1 -0
- package/dist/command-tree.js +60 -0
- package/dist/command-tree.js.map +1 -0
- package/dist/commands/agent/build-schema.d.ts +100 -0
- package/dist/commands/agent/build-schema.d.ts.map +1 -0
- package/dist/commands/agent/build-schema.js +32 -0
- package/dist/commands/agent/build-schema.js.map +1 -0
- package/dist/commands/agent/build.d.ts +1 -0
- package/dist/commands/agent/build.d.ts.map +1 -1
- package/dist/commands/agent/build.js +63 -33
- package/dist/commands/agent/build.js.map +1 -1
- package/dist/commands/agent/import-schema.d.ts +75 -0
- package/dist/commands/agent/import-schema.d.ts.map +1 -0
- package/dist/commands/agent/import-schema.js +25 -0
- package/dist/commands/agent/import-schema.js.map +1 -0
- package/dist/commands/agent/import.d.ts.map +1 -1
- package/dist/commands/agent/import.js +33 -27
- package/dist/commands/agent/import.js.map +1 -1
- package/dist/commands/agent/index.d.ts.map +1 -1
- package/dist/commands/agent/index.js +132 -37
- package/dist/commands/agent/index.js.map +1 -1
- package/dist/commands/agent/install-path.d.ts.map +1 -1
- package/dist/commands/agent/install-path.js +2 -1
- package/dist/commands/agent/install-path.js.map +1 -1
- package/dist/commands/agent/install-schema.d.ts +89 -0
- package/dist/commands/agent/install-schema.d.ts.map +1 -0
- package/dist/commands/agent/install-schema.js +29 -0
- package/dist/commands/agent/install-schema.js.map +1 -0
- package/dist/commands/agent/install.d.ts +7 -1
- package/dist/commands/agent/install.d.ts.map +1 -1
- package/dist/commands/agent/install.js +78 -108
- package/dist/commands/agent/install.js.map +1 -1
- package/dist/commands/agent/installed-schema.d.ts +140 -0
- package/dist/commands/agent/installed-schema.d.ts.map +1 -0
- package/dist/commands/agent/installed-schema.js +36 -0
- package/dist/commands/agent/installed-schema.js.map +1 -0
- package/dist/commands/agent/installed.d.ts +1 -1
- package/dist/commands/agent/installed.d.ts.map +1 -1
- package/dist/commands/agent/installed.js +104 -75
- package/dist/commands/agent/installed.js.map +1 -1
- package/dist/commands/agent/list-schema.d.ts +128 -0
- package/dist/commands/agent/list-schema.d.ts.map +1 -0
- package/dist/commands/agent/list-schema.js +34 -0
- package/dist/commands/agent/list-schema.js.map +1 -0
- package/dist/commands/agent/list.d.ts +4 -3
- package/dist/commands/agent/list.d.ts.map +1 -1
- package/dist/commands/agent/list.js +50 -37
- package/dist/commands/agent/list.js.map +1 -1
- package/dist/commands/agent/run.d.ts +3 -0
- package/dist/commands/agent/run.d.ts.map +1 -1
- package/dist/commands/agent/run.js +8 -3
- package/dist/commands/agent/run.js.map +1 -1
- package/dist/commands/agent/uninstall-schema.d.ts +89 -0
- package/dist/commands/agent/uninstall-schema.d.ts.map +1 -0
- package/dist/commands/agent/uninstall-schema.js +29 -0
- package/dist/commands/agent/uninstall-schema.js.map +1 -0
- package/dist/commands/agent/uninstall.d.ts +5 -1
- package/dist/commands/agent/uninstall.d.ts.map +1 -1
- package/dist/commands/agent/uninstall.js +50 -38
- package/dist/commands/agent/uninstall.js.map +1 -1
- package/dist/commands/agent/validate-schema.d.ts +129 -0
- package/dist/commands/agent/validate-schema.d.ts.map +1 -0
- package/dist/commands/agent/validate-schema.js +35 -0
- package/dist/commands/agent/validate-schema.js.map +1 -0
- package/dist/commands/agent/validate.d.ts +6 -0
- package/dist/commands/agent/validate.d.ts.map +1 -1
- package/dist/commands/agent/validate.js +64 -36
- package/dist/commands/agent/validate.js.map +1 -1
- package/dist/commands/ard/emit-schema.d.ts +108 -0
- package/dist/commands/ard/emit-schema.d.ts.map +1 -0
- package/dist/commands/ard/emit-schema.js +37 -0
- package/dist/commands/ard/emit-schema.js.map +1 -0
- package/dist/commands/ard/emit.d.ts +21 -65
- package/dist/commands/ard/emit.d.ts.map +1 -1
- package/dist/commands/ard/emit.js +68 -74
- package/dist/commands/ard/emit.js.map +1 -1
- package/dist/commands/ard/index.d.ts.map +1 -1
- package/dist/commands/ard/index.js +14 -11
- package/dist/commands/ard/index.js.map +1 -1
- package/dist/commands/audit/compat-lane-findings.d.ts +65 -0
- package/dist/commands/audit/compat-lane-findings.d.ts.map +1 -0
- package/dist/commands/audit/compat-lane-findings.js +72 -0
- package/dist/commands/audit/compat-lane-findings.js.map +1 -0
- package/dist/commands/audit/distributed-tree.d.ts +2 -2
- package/dist/commands/audit/distributed-tree.d.ts.map +1 -1
- package/dist/commands/audit/distributed-tree.js +23 -12
- package/dist/commands/audit/distributed-tree.js.map +1 -1
- package/dist/commands/audit/git-url-clone.d.ts +15 -7
- package/dist/commands/audit/git-url-clone.d.ts.map +1 -1
- package/dist/commands/audit/git-url-clone.js +85 -42
- package/dist/commands/audit/git-url-clone.js.map +1 -1
- package/dist/commands/audit/hierarchical-output.d.ts +28 -4
- package/dist/commands/audit/hierarchical-output.d.ts.map +1 -1
- package/dist/commands/audit/hierarchical-output.js +44 -27
- package/dist/commands/audit/hierarchical-output.js.map +1 -1
- package/dist/commands/audit/scan-population.d.ts.map +1 -1
- package/dist/commands/audit/scan-population.js +2 -1
- package/dist/commands/audit/scan-population.js.map +1 -1
- package/dist/commands/audit-schema.d.ts +1247 -0
- package/dist/commands/audit-schema.d.ts.map +1 -0
- package/dist/commands/audit-schema.js +139 -0
- package/dist/commands/audit-schema.js.map +1 -0
- package/dist/commands/audit-settings-schema.d.ts +417 -0
- package/dist/commands/audit-settings-schema.d.ts.map +1 -0
- package/dist/commands/audit-settings-schema.js +77 -0
- package/dist/commands/audit-settings-schema.js.map +1 -0
- package/dist/commands/audit-settings.d.ts +28 -9
- package/dist/commands/audit-settings.d.ts.map +1 -1
- package/dist/commands/audit-settings.js +215 -151
- package/dist/commands/audit-settings.js.map +1 -1
- package/dist/commands/audit.d.ts +72 -33
- package/dist/commands/audit.d.ts.map +1 -1
- package/dist/commands/audit.js +405 -411
- package/dist/commands/audit.js.map +1 -1
- package/dist/commands/build.d.ts +61 -4
- package/dist/commands/build.d.ts.map +1 -1
- package/dist/commands/build.js +176 -190
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/cache/clear-schema.d.ts +111 -0
- package/dist/commands/cache/clear-schema.d.ts.map +1 -0
- package/dist/commands/cache/clear-schema.js +37 -0
- package/dist/commands/cache/clear-schema.js.map +1 -0
- package/dist/commands/cache/clear.d.ts +28 -26
- package/dist/commands/cache/clear.d.ts.map +1 -1
- package/dist/commands/cache/clear.js +108 -103
- package/dist/commands/cache/clear.js.map +1 -1
- package/dist/commands/cache/index.d.ts.map +1 -1
- package/dist/commands/cache/index.js +13 -7
- package/dist/commands/cache/index.js.map +1 -1
- package/dist/commands/claude/claude-config.d.ts +23 -6
- package/dist/commands/claude/claude-config.d.ts.map +1 -1
- package/dist/commands/claude/claude-config.js +29 -15
- package/dist/commands/claude/claude-config.js.map +1 -1
- package/dist/commands/claude/context.d.ts +55 -2
- package/dist/commands/claude/context.d.ts.map +1 -1
- package/dist/commands/claude/context.js +74 -50
- package/dist/commands/claude/context.js.map +1 -1
- package/dist/commands/claude/marketplace/changelog-utils.js +2 -2
- package/dist/commands/claude/marketplace/changelog-utils.js.map +1 -1
- package/dist/commands/claude/marketplace/git-publish.d.ts +14 -1
- package/dist/commands/claude/marketplace/git-publish.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/git-publish.js +135 -68
- package/dist/commands/claude/marketplace/git-publish.js.map +1 -1
- package/dist/commands/claude/marketplace/license-utils.d.ts +3 -5
- package/dist/commands/claude/marketplace/license-utils.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/license-utils.js +16 -7
- package/dist/commands/claude/marketplace/license-utils.js.map +1 -1
- package/dist/commands/claude/marketplace/publish-schema.d.ts +137 -0
- package/dist/commands/claude/marketplace/publish-schema.d.ts.map +1 -0
- package/dist/commands/claude/marketplace/publish-schema.js +32 -0
- package/dist/commands/claude/marketplace/publish-schema.js.map +1 -0
- package/dist/commands/claude/marketplace/publish-tree.d.ts +6 -0
- package/dist/commands/claude/marketplace/publish-tree.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/publish-tree.js +75 -17
- package/dist/commands/claude/marketplace/publish-tree.js.map +1 -1
- package/dist/commands/claude/marketplace/publish.d.ts +27 -0
- package/dist/commands/claude/marketplace/publish.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/publish.js +84 -50
- package/dist/commands/claude/marketplace/publish.js.map +1 -1
- package/dist/commands/claude/marketplace/validate-schema.d.ts +362 -0
- package/dist/commands/claude/marketplace/validate-schema.d.ts.map +1 -0
- package/dist/commands/claude/marketplace/validate-schema.js +67 -0
- package/dist/commands/claude/marketplace/validate-schema.js.map +1 -0
- package/dist/commands/claude/marketplace/validate.d.ts +40 -53
- package/dist/commands/claude/marketplace/validate.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/validate.js +358 -214
- package/dist/commands/claude/marketplace/validate.js.map +1 -1
- package/dist/commands/claude/org/api-keys.d.ts +3 -0
- package/dist/commands/claude/org/api-keys.d.ts.map +1 -1
- package/dist/commands/claude/org/api-keys.js +4 -5
- package/dist/commands/claude/org/api-keys.js.map +1 -1
- package/dist/commands/claude/org/code-analytics.js +1 -1
- package/dist/commands/claude/org/code-analytics.js.map +1 -1
- package/dist/commands/claude/org/cost.d.ts.map +1 -1
- package/dist/commands/claude/org/cost.js +11 -33
- package/dist/commands/claude/org/cost.js.map +1 -1
- package/dist/commands/claude/org/helpers.d.ts +40 -27
- package/dist/commands/claude/org/helpers.d.ts.map +1 -1
- package/dist/commands/claude/org/helpers.js +61 -66
- package/dist/commands/claude/org/helpers.js.map +1 -1
- package/dist/commands/claude/org/index.d.ts.map +1 -1
- package/dist/commands/claude/org/index.js +10 -4
- package/dist/commands/claude/org/index.js.map +1 -1
- package/dist/commands/claude/org/info.d.ts.map +1 -1
- package/dist/commands/claude/org/info.js +2 -3
- package/dist/commands/claude/org/info.js.map +1 -1
- package/dist/commands/claude/org/invites.d.ts +3 -0
- package/dist/commands/claude/org/invites.d.ts.map +1 -1
- package/dist/commands/claude/org/invites.js +5 -7
- package/dist/commands/claude/org/invites.js.map +1 -1
- package/dist/commands/claude/org/skills.d.ts +76 -21
- package/dist/commands/claude/org/skills.d.ts.map +1 -1
- package/dist/commands/claude/org/skills.js +273 -246
- package/dist/commands/claude/org/skills.js.map +1 -1
- package/dist/commands/claude/org/stubs-schema.d.ts +56 -0
- package/dist/commands/claude/org/stubs-schema.d.ts.map +1 -0
- package/dist/commands/claude/org/stubs-schema.js +23 -0
- package/dist/commands/claude/org/stubs-schema.js.map +1 -0
- package/dist/commands/claude/org/stubs.d.ts +8 -3
- package/dist/commands/claude/org/stubs.d.ts.map +1 -1
- package/dist/commands/claude/org/stubs.js +9 -9
- package/dist/commands/claude/org/stubs.js.map +1 -1
- package/dist/commands/claude/org/usage.d.ts.map +1 -1
- package/dist/commands/claude/org/usage.js +1 -2
- package/dist/commands/claude/org/usage.js.map +1 -1
- package/dist/commands/claude/org/users.d.ts +3 -0
- package/dist/commands/claude/org/users.d.ts.map +1 -1
- package/dist/commands/claude/org/users.js +6 -8
- package/dist/commands/claude/org/users.js.map +1 -1
- package/dist/commands/claude/org/workspaces.d.ts +3 -0
- package/dist/commands/claude/org/workspaces.d.ts.map +1 -1
- package/dist/commands/claude/org/workspaces.js +10 -15
- package/dist/commands/claude/org/workspaces.js.map +1 -1
- package/dist/commands/claude/plugin/build-schema.d.ts +642 -0
- package/dist/commands/claude/plugin/build-schema.d.ts.map +1 -0
- package/dist/commands/claude/plugin/build-schema.js +51 -0
- package/dist/commands/claude/plugin/build-schema.js.map +1 -0
- package/dist/commands/claude/plugin/build.d.ts +220 -45
- package/dist/commands/claude/plugin/build.d.ts.map +1 -1
- package/dist/commands/claude/plugin/build.js +466 -249
- package/dist/commands/claude/plugin/build.js.map +1 -1
- package/dist/commands/claude/plugin/helpers.d.ts +186 -24
- package/dist/commands/claude/plugin/helpers.d.ts.map +1 -1
- package/dist/commands/claude/plugin/helpers.js +110 -68
- package/dist/commands/claude/plugin/helpers.js.map +1 -1
- package/dist/commands/claude/plugin/install-schema.d.ts +144 -0
- package/dist/commands/claude/plugin/install-schema.d.ts.map +1 -0
- package/dist/commands/claude/plugin/install-schema.js +36 -0
- package/dist/commands/claude/plugin/install-schema.js.map +1 -0
- package/dist/commands/claude/plugin/install.d.ts +191 -11
- package/dist/commands/claude/plugin/install.d.ts.map +1 -1
- package/dist/commands/claude/plugin/install.js +688 -628
- package/dist/commands/claude/plugin/install.js.map +1 -1
- package/dist/commands/claude/plugin/kept-findings.d.ts +19 -0
- package/dist/commands/claude/plugin/kept-findings.d.ts.map +1 -0
- package/dist/commands/claude/plugin/kept-findings.js +24 -0
- package/dist/commands/claude/plugin/kept-findings.js.map +1 -0
- package/dist/commands/claude/plugin/list-schema.d.ts +223 -0
- package/dist/commands/claude/plugin/list-schema.d.ts.map +1 -0
- package/dist/commands/claude/plugin/list-schema.js +34 -0
- package/dist/commands/claude/plugin/list-schema.js.map +1 -0
- package/dist/commands/claude/plugin/list.d.ts +18 -0
- package/dist/commands/claude/plugin/list.d.ts.map +1 -1
- package/dist/commands/claude/plugin/list.js +53 -45
- package/dist/commands/claude/plugin/list.js.map +1 -1
- package/dist/commands/claude/plugin/npm-pack.d.ts +15 -0
- package/dist/commands/claude/plugin/npm-pack.d.ts.map +1 -0
- package/dist/commands/claude/plugin/npm-pack.js +39 -0
- package/dist/commands/claude/plugin/npm-pack.js.map +1 -0
- package/dist/commands/claude/plugin/plugin-changelog.d.ts +5 -1
- package/dist/commands/claude/plugin/plugin-changelog.d.ts.map +1 -1
- package/dist/commands/claude/plugin/plugin-changelog.js +9 -5
- package/dist/commands/claude/plugin/plugin-changelog.js.map +1 -1
- package/dist/commands/claude/plugin/plugin-files.d.ts +21 -2
- package/dist/commands/claude/plugin/plugin-files.d.ts.map +1 -1
- package/dist/commands/claude/plugin/plugin-files.js +65 -32
- package/dist/commands/claude/plugin/plugin-files.js.map +1 -1
- package/dist/commands/claude/plugin/plugin-validators.d.ts +13 -0
- package/dist/commands/claude/plugin/plugin-validators.d.ts.map +1 -1
- package/dist/commands/claude/plugin/plugin-validators.js +64 -16
- package/dist/commands/claude/plugin/plugin-validators.js.map +1 -1
- package/dist/commands/claude/plugin/tree-copy.d.ts.map +1 -1
- package/dist/commands/claude/plugin/tree-copy.js +63 -37
- package/dist/commands/claude/plugin/tree-copy.js.map +1 -1
- package/dist/commands/claude/plugin/uninstall-schema.d.ts +112 -0
- package/dist/commands/claude/plugin/uninstall-schema.d.ts.map +1 -0
- package/dist/commands/claude/plugin/uninstall-schema.js +28 -0
- package/dist/commands/claude/plugin/uninstall-schema.js.map +1 -0
- package/dist/commands/claude/plugin/uninstall.d.ts +57 -0
- package/dist/commands/claude/plugin/uninstall.d.ts.map +1 -1
- package/dist/commands/claude/plugin/uninstall.js +176 -64
- package/dist/commands/claude/plugin/uninstall.js.map +1 -1
- package/dist/commands/consistency-check.d.ts.map +1 -1
- package/dist/commands/consistency-check.js +8 -6
- package/dist/commands/consistency-check.js.map +1 -1
- package/dist/commands/corpus/index.d.ts.map +1 -1
- package/dist/commands/corpus/index.js +26 -10
- package/dist/commands/corpus/index.js.map +1 -1
- package/dist/commands/corpus/report.d.ts +34 -16
- package/dist/commands/corpus/report.d.ts.map +1 -1
- package/dist/commands/corpus/report.js +36 -18
- package/dist/commands/corpus/report.js.map +1 -1
- package/dist/commands/corpus/runner.d.ts +25 -20
- package/dist/commands/corpus/runner.d.ts.map +1 -1
- package/dist/commands/corpus/runner.js +123 -67
- package/dist/commands/corpus/runner.js.map +1 -1
- package/dist/commands/corpus/scan-schema.d.ts +127 -0
- package/dist/commands/corpus/scan-schema.d.ts.map +1 -0
- package/dist/commands/corpus/scan-schema.js +31 -0
- package/dist/commands/corpus/scan-schema.js.map +1 -0
- package/dist/commands/corpus/scan.d.ts +31 -0
- package/dist/commands/corpus/scan.d.ts.map +1 -1
- package/dist/commands/corpus/scan.js +124 -50
- package/dist/commands/corpus/scan.js.map +1 -1
- package/dist/commands/corpus/seed.d.ts +11 -8
- package/dist/commands/corpus/seed.d.ts.map +1 -1
- package/dist/commands/corpus/seed.js +29 -11
- package/dist/commands/corpus/seed.js.map +1 -1
- package/dist/commands/doctor-render.d.ts +52 -0
- package/dist/commands/doctor-render.d.ts.map +1 -0
- package/dist/commands/doctor-render.js +110 -0
- package/dist/commands/doctor-render.js.map +1 -0
- package/dist/commands/doctor-schema.d.ts +191 -0
- package/dist/commands/doctor-schema.d.ts.map +1 -0
- package/dist/commands/doctor-schema.js +44 -0
- package/dist/commands/doctor-schema.js.map +1 -0
- package/dist/commands/doctor.d.ts +7 -62
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +126 -165
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/inventory-schema.d.ts +7297 -0
- package/dist/commands/inventory-schema.d.ts.map +1 -0
- package/dist/commands/inventory-schema.js +28 -0
- package/dist/commands/inventory-schema.js.map +1 -0
- package/dist/commands/inventory.d.ts +1 -1
- package/dist/commands/inventory.d.ts.map +1 -1
- package/dist/commands/inventory.js +89 -41
- package/dist/commands/inventory.js.map +1 -1
- package/dist/commands/mcp/index.d.ts.map +1 -1
- package/dist/commands/mcp/index.js +15 -0
- package/dist/commands/mcp/index.js.map +1 -1
- package/dist/commands/mcp/list-collections-schema.d.ts +101 -0
- package/dist/commands/mcp/list-collections-schema.d.ts.map +1 -0
- package/dist/commands/mcp/list-collections-schema.js +22 -0
- package/dist/commands/mcp/list-collections-schema.js.map +1 -0
- package/dist/commands/mcp/list-collections.d.ts +1 -1
- package/dist/commands/mcp/list-collections.d.ts.map +1 -1
- package/dist/commands/mcp/list-collections.js +19 -17
- package/dist/commands/mcp/list-collections.js.map +1 -1
- package/dist/commands/mcp/serve.d.ts +5 -0
- package/dist/commands/mcp/serve.d.ts.map +1 -1
- package/dist/commands/mcp/serve.js +29 -15
- package/dist/commands/mcp/serve.js.map +1 -1
- package/dist/commands/okf/index.d.ts.map +1 -1
- package/dist/commands/okf/index.js +6 -5
- package/dist/commands/okf/index.js.map +1 -1
- package/dist/commands/okf/validate-schema.d.ts +171 -0
- package/dist/commands/okf/validate-schema.d.ts.map +1 -0
- package/dist/commands/okf/validate-schema.js +44 -0
- package/dist/commands/okf/validate-schema.js.map +1 -0
- package/dist/commands/okf/validate.d.ts +16 -149
- package/dist/commands/okf/validate.d.ts.map +1 -1
- package/dist/commands/okf/validate.js +64 -62
- package/dist/commands/okf/validate.js.map +1 -1
- package/dist/commands/orchestrator-schema.d.ts +419 -0
- package/dist/commands/orchestrator-schema.d.ts.map +1 -0
- package/dist/commands/orchestrator-schema.js +91 -0
- package/dist/commands/orchestrator-schema.js.map +1 -0
- package/dist/commands/phase-utils.d.ts +188 -220
- package/dist/commands/phase-utils.d.ts.map +1 -1
- package/dist/commands/phase-utils.js +210 -258
- package/dist/commands/phase-utils.js.map +1 -1
- package/dist/commands/positional-args.d.ts +13 -11
- package/dist/commands/positional-args.d.ts.map +1 -1
- package/dist/commands/positional-args.js +16 -15
- package/dist/commands/positional-args.js.map +1 -1
- package/dist/commands/rag/admin-schema.d.ts +152 -0
- package/dist/commands/rag/admin-schema.d.ts.map +1 -0
- package/dist/commands/rag/admin-schema.js +31 -0
- package/dist/commands/rag/admin-schema.js.map +1 -0
- package/dist/commands/rag/clear-command.d.ts.map +1 -1
- package/dist/commands/rag/clear-command.js +30 -15
- package/dist/commands/rag/clear-command.js.map +1 -1
- package/dist/commands/rag/command-helpers.d.ts +31 -7
- package/dist/commands/rag/command-helpers.d.ts.map +1 -1
- package/dist/commands/rag/command-helpers.js +41 -21
- package/dist/commands/rag/command-helpers.js.map +1 -1
- package/dist/commands/rag/index-command.d.ts +37 -48
- package/dist/commands/rag/index-command.d.ts.map +1 -1
- package/dist/commands/rag/index-command.js +80 -65
- package/dist/commands/rag/index-command.js.map +1 -1
- package/dist/commands/rag/index-schema.d.ts +107 -0
- package/dist/commands/rag/index-schema.d.ts.map +1 -0
- package/dist/commands/rag/index-schema.js +34 -0
- package/dist/commands/rag/index-schema.js.map +1 -0
- package/dist/commands/rag/index.d.ts.map +1 -1
- package/dist/commands/rag/index.js +88 -41
- package/dist/commands/rag/index.js.map +1 -1
- package/dist/commands/rag/query-command.d.ts +18 -4
- package/dist/commands/rag/query-command.d.ts.map +1 -1
- package/dist/commands/rag/query-command.js +42 -27
- package/dist/commands/rag/query-command.js.map +1 -1
- package/dist/commands/rag/query-schema.d.ts +363 -0
- package/dist/commands/rag/query-schema.d.ts.map +1 -0
- package/dist/commands/rag/query-schema.js +59 -0
- package/dist/commands/rag/query-schema.js.map +1 -0
- package/dist/commands/rag/stats-command.d.ts.map +1 -1
- package/dist/commands/rag/stats-command.js +19 -18
- package/dist/commands/rag/stats-command.js.map +1 -1
- package/dist/commands/resources/check-progress.d.ts +64 -11
- package/dist/commands/resources/check-progress.d.ts.map +1 -1
- package/dist/commands/resources/check-progress.js +77 -4
- package/dist/commands/resources/check-progress.js.map +1 -1
- package/dist/commands/resources/check-schema.d.ts +335 -0
- package/dist/commands/resources/check-schema.d.ts.map +1 -0
- package/dist/commands/resources/check-schema.js +104 -0
- package/dist/commands/resources/check-schema.js.map +1 -0
- package/dist/commands/resources/check-supervisor.d.ts +315 -71
- package/dist/commands/resources/check-supervisor.d.ts.map +1 -1
- package/dist/commands/resources/check-supervisor.js +493 -107
- package/dist/commands/resources/check-supervisor.js.map +1 -1
- package/dist/commands/resources/check.d.ts +56 -249
- package/dist/commands/resources/check.d.ts.map +1 -1
- package/dist/commands/resources/check.js +416 -276
- package/dist/commands/resources/check.js.map +1 -1
- package/dist/commands/resources/index.d.ts.map +1 -1
- package/dist/commands/resources/index.js +165 -91
- package/dist/commands/resources/index.js.map +1 -1
- package/dist/commands/resources/query-schema.d.ts +188 -0
- package/dist/commands/resources/query-schema.d.ts.map +1 -0
- package/dist/commands/resources/query-schema.js +48 -0
- package/dist/commands/resources/query-schema.js.map +1 -0
- package/dist/commands/resources/query.d.ts +17 -12
- package/dist/commands/resources/query.d.ts.map +1 -1
- package/dist/commands/resources/query.js +60 -48
- package/dist/commands/resources/query.js.map +1 -1
- package/dist/commands/resources/scan-schema.d.ts +195 -0
- package/dist/commands/resources/scan-schema.d.ts.map +1 -0
- package/dist/commands/resources/scan-schema.js +53 -0
- package/dist/commands/resources/scan-schema.js.map +1 -0
- package/dist/commands/resources/scan.d.ts +26 -3
- package/dist/commands/resources/scan.d.ts.map +1 -1
- package/dist/commands/resources/scan.js +51 -53
- package/dist/commands/resources/scan.js.map +1 -1
- package/dist/commands/resources/validate-schema.d.ts +326 -0
- package/dist/commands/resources/validate-schema.d.ts.map +1 -0
- package/dist/commands/resources/validate-schema.js +60 -0
- package/dist/commands/resources/validate-schema.js.map +1 -0
- package/dist/commands/resources/validate.d.ts +45 -169
- package/dist/commands/resources/validate.d.ts.map +1 -1
- package/dist/commands/resources/validate.js +221 -485
- package/dist/commands/resources/validate.js.map +1 -1
- package/dist/commands/skill/review-checklist.d.ts.map +1 -1
- package/dist/commands/skill/review-checklist.js +0 -1
- package/dist/commands/skill/review-checklist.js.map +1 -1
- package/dist/commands/skill/review-schema.d.ts +278 -0
- package/dist/commands/skill/review-schema.d.ts.map +1 -0
- package/dist/commands/skill/review-schema.js +46 -0
- package/dist/commands/skill/review-schema.js.map +1 -0
- package/dist/commands/skill/review.d.ts +8 -234
- package/dist/commands/skill/review.d.ts.map +1 -1
- package/dist/commands/skill/review.js +54 -78
- package/dist/commands/skill/review.js.map +1 -1
- package/dist/commands/skill/test/auth-flags.d.ts +3 -0
- package/dist/commands/skill/test/auth-flags.d.ts.map +1 -1
- package/dist/commands/skill/test/auth-flags.js +6 -2
- package/dist/commands/skill/test/auth-flags.js.map +1 -1
- package/dist/commands/skill/test/configure-schema.d.ts +67 -0
- package/dist/commands/skill/test/configure-schema.d.ts.map +1 -0
- package/dist/commands/skill/test/configure-schema.js +27 -0
- package/dist/commands/skill/test/configure-schema.js.map +1 -0
- package/dist/commands/skill/test/configure.d.ts +12 -5
- package/dist/commands/skill/test/configure.d.ts.map +1 -1
- package/dist/commands/skill/test/configure.js +101 -31
- package/dist/commands/skill/test/configure.js.map +1 -1
- package/dist/commands/skill/test/run-schema.d.ts +107 -0
- package/dist/commands/skill/test/run-schema.d.ts.map +1 -0
- package/dist/commands/skill/test/run-schema.js +36 -0
- package/dist/commands/skill/test/run-schema.js.map +1 -0
- package/dist/commands/skill/test/run.d.ts +3 -2
- package/dist/commands/skill/test/run.d.ts.map +1 -1
- package/dist/commands/skill/test/run.js +316 -155
- package/dist/commands/skill/test/run.js.map +1 -1
- package/dist/commands/skills/build-schema.d.ts +199 -0
- package/dist/commands/skills/build-schema.d.ts.map +1 -0
- package/dist/commands/skills/build-schema.js +55 -0
- package/dist/commands/skills/build-schema.js.map +1 -0
- package/dist/commands/skills/build.d.ts +95 -298
- package/dist/commands/skills/build.d.ts.map +1 -1
- package/dist/commands/skills/build.js +415 -818
- package/dist/commands/skills/build.js.map +1 -1
- package/dist/commands/skills/command-helpers.d.ts +5 -11
- package/dist/commands/skills/command-helpers.d.ts.map +1 -1
- package/dist/commands/skills/command-helpers.js +7 -17
- package/dist/commands/skills/command-helpers.js.map +1 -1
- package/dist/commands/skills/index.js +12 -6
- package/dist/commands/skills/index.js.map +1 -1
- package/dist/commands/skills/install-schema.d.ts +153 -0
- package/dist/commands/skills/install-schema.d.ts.map +1 -0
- package/dist/commands/skills/install-schema.js +44 -0
- package/dist/commands/skills/install-schema.js.map +1 -0
- package/dist/commands/skills/install.d.ts +76 -8
- package/dist/commands/skills/install.d.ts.map +1 -1
- package/dist/commands/skills/install.js +230 -194
- package/dist/commands/skills/install.js.map +1 -1
- package/dist/commands/skills/list-schema.d.ts +145 -0
- package/dist/commands/skills/list-schema.d.ts.map +1 -0
- package/dist/commands/skills/list-schema.js +37 -0
- package/dist/commands/skills/list-schema.js.map +1 -0
- package/dist/commands/skills/list.d.ts +39 -8
- package/dist/commands/skills/list.d.ts.map +1 -1
- package/dist/commands/skills/list.js +110 -122
- package/dist/commands/skills/list.js.map +1 -1
- package/dist/commands/skills/package-schema.d.ts +98 -0
- package/dist/commands/skills/package-schema.d.ts.map +1 -0
- package/dist/commands/skills/package-schema.js +32 -0
- package/dist/commands/skills/package-schema.js.map +1 -0
- package/dist/commands/skills/package.d.ts +85 -14
- package/dist/commands/skills/package.d.ts.map +1 -1
- package/dist/commands/skills/package.js +288 -207
- package/dist/commands/skills/package.js.map +1 -1
- package/dist/commands/skills/scope-guard.d.ts +27 -20
- package/dist/commands/skills/scope-guard.d.ts.map +1 -1
- package/dist/commands/skills/scope-guard.js +43 -32
- package/dist/commands/skills/scope-guard.js.map +1 -1
- package/dist/commands/skills/skill-discovery.d.ts +1 -1
- package/dist/commands/skills/skill-discovery.d.ts.map +1 -1
- package/dist/commands/skills/skill-discovery.js +40 -19
- package/dist/commands/skills/skill-discovery.js.map +1 -1
- package/dist/commands/skills/source-resolvers.d.ts +58 -8
- package/dist/commands/skills/source-resolvers.d.ts.map +1 -1
- package/dist/commands/skills/source-resolvers.js +113 -38
- package/dist/commands/skills/source-resolvers.js.map +1 -1
- package/dist/commands/skills/validate-command.d.ts.map +1 -1
- package/dist/commands/skills/validate-command.js +31 -51
- package/dist/commands/skills/validate-command.js.map +1 -1
- package/dist/commands/skills/validate-schema.d.ts +199 -0
- package/dist/commands/skills/validate-schema.d.ts.map +1 -0
- package/dist/commands/skills/validate-schema.js +44 -0
- package/dist/commands/skills/validate-schema.js.map +1 -0
- package/dist/commands/skills/validate.d.ts +100 -136
- package/dist/commands/skills/validate.d.ts.map +1 -1
- package/dist/commands/skills/validate.js +257 -343
- package/dist/commands/skills/validate.js.map +1 -1
- package/dist/commands/validate.d.ts +17 -5
- package/dist/commands/validate.d.ts.map +1 -1
- package/dist/commands/validate.js +139 -94
- package/dist/commands/validate.js.map +1 -1
- package/dist/commands/verify.d.ts +121 -110
- package/dist/commands/verify.d.ts.map +1 -1
- package/dist/commands/verify.js +230 -294
- package/dist/commands/verify.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/report-schemas.d.ts +12398 -35
- package/dist/report-schemas.d.ts.map +1 -1
- package/dist/report-schemas.js +624 -66
- package/dist/report-schemas.js.map +1 -1
- package/dist/skill-resolution/packaging-config.js +2 -2
- package/dist/skill-resolution/packaging-config.js.map +1 -1
- package/dist/skill-resolution/resolve-skill-reference.d.ts.map +1 -1
- package/dist/skill-resolution/resolve-skill-reference.js +20 -13
- package/dist/skill-resolution/resolve-skill-reference.js.map +1 -1
- package/dist/utils/agent-discovery.d.ts +34 -1
- package/dist/utils/agent-discovery.d.ts.map +1 -1
- package/dist/utils/agent-discovery.js +80 -38
- package/dist/utils/agent-discovery.js.map +1 -1
- package/dist/utils/claude-context-lens.d.ts +13 -6
- package/dist/utils/claude-context-lens.d.ts.map +1 -1
- package/dist/utils/claude-context-lens.js +11 -12
- package/dist/utils/claude-context-lens.js.map +1 -1
- package/dist/utils/command-error-codes.d.ts +12 -0
- package/dist/utils/command-error-codes.d.ts.map +1 -0
- package/dist/utils/command-error-codes.js +12 -0
- package/dist/utils/command-error-codes.js.map +1 -0
- package/dist/utils/command-refusal.d.ts +58 -0
- package/dist/utils/command-refusal.d.ts.map +1 -0
- package/dist/utils/command-refusal.js +170 -0
- package/dist/utils/command-refusal.js.map +1 -0
- package/dist/utils/commander-ending.d.ts +40 -0
- package/dist/utils/commander-ending.d.ts.map +1 -0
- package/dist/utils/commander-ending.js +42 -0
- package/dist/utils/commander-ending.js.map +1 -0
- package/dist/utils/config-loader.d.ts +13 -8
- package/dist/utils/config-loader.d.ts.map +1 -1
- package/dist/utils/config-loader.js +84 -45
- package/dist/utils/config-loader.js.map +1 -1
- package/dist/utils/corpus-target.d.ts +1 -1
- package/dist/utils/corpus-target.d.ts.map +1 -1
- package/dist/utils/corpus-target.js +6 -4
- package/dist/utils/corpus-target.js.map +1 -1
- package/dist/utils/debug-diagnostics.d.ts +18 -0
- package/dist/utils/debug-diagnostics.d.ts.map +1 -0
- package/dist/utils/debug-diagnostics.js +23 -0
- package/dist/utils/debug-diagnostics.js.map +1 -0
- package/dist/utils/document-writer.d.ts +191 -0
- package/dist/utils/document-writer.d.ts.map +1 -0
- package/dist/utils/document-writer.js +319 -0
- package/dist/utils/document-writer.js.map +1 -0
- package/dist/utils/help-loader.d.ts +2 -2
- package/dist/utils/help-loader.js +2 -2
- package/dist/utils/install-plan.d.ts +99 -0
- package/dist/utils/install-plan.d.ts.map +1 -0
- package/dist/utils/install-plan.js +146 -0
- package/dist/utils/install-plan.js.map +1 -0
- package/dist/utils/issue-anchor.d.ts +1 -1
- package/dist/utils/issue-anchor.d.ts.map +1 -1
- package/dist/utils/issue-anchor.js.map +1 -1
- package/dist/utils/issue-rendering.d.ts +8 -3
- package/dist/utils/issue-rendering.d.ts.map +1 -1
- package/dist/utils/issue-rendering.js +4 -0
- package/dist/utils/issue-rendering.js.map +1 -1
- package/dist/utils/lens-population.d.ts +20 -0
- package/dist/utils/lens-population.d.ts.map +1 -0
- package/dist/utils/lens-population.js +15 -0
- package/dist/utils/lens-population.js.map +1 -0
- package/dist/utils/marketplace-io.d.ts +63 -0
- package/dist/utils/marketplace-io.d.ts.map +1 -0
- package/dist/utils/marketplace-io.js +63 -0
- package/dist/utils/marketplace-io.js.map +1 -0
- package/dist/utils/operator-notices.d.ts +97 -0
- package/dist/utils/operator-notices.d.ts.map +1 -0
- package/dist/utils/operator-notices.js +115 -0
- package/dist/utils/operator-notices.js.map +1 -0
- package/dist/utils/optional-backend.d.ts +18 -15
- package/dist/utils/optional-backend.d.ts.map +1 -1
- package/dist/utils/optional-backend.js +22 -33
- package/dist/utils/optional-backend.js.map +1 -1
- package/dist/utils/output.d.ts +5 -43
- package/dist/utils/output.d.ts.map +1 -1
- package/dist/utils/output.js +8 -63
- package/dist/utils/output.js.map +1 -1
- package/dist/utils/package-json.d.ts +3 -4
- package/dist/utils/package-json.d.ts.map +1 -1
- package/dist/utils/package-json.js +8 -8
- package/dist/utils/package-json.js.map +1 -1
- package/dist/utils/population-wiring.d.ts +31 -38
- package/dist/utils/population-wiring.d.ts.map +1 -1
- package/dist/utils/population-wiring.js +38 -32
- package/dist/utils/population-wiring.js.map +1 -1
- package/dist/utils/project-root-policy.d.ts +74 -1
- package/dist/utils/project-root-policy.d.ts.map +1 -1
- package/dist/utils/project-root-policy.js +146 -8
- package/dist/utils/project-root-policy.js.map +1 -1
- package/dist/utils/projection-lenses.d.ts +25 -7
- package/dist/utils/projection-lenses.d.ts.map +1 -1
- package/dist/utils/projection-lenses.js +20 -6
- package/dist/utils/projection-lenses.js.map +1 -1
- package/dist/utils/projection-query.d.ts +17 -10
- package/dist/utils/projection-query.d.ts.map +1 -1
- package/dist/utils/projection-query.js +47 -28
- package/dist/utils/projection-query.js.map +1 -1
- package/dist/utils/projection-store.d.ts +2 -2
- package/dist/utils/projection-store.d.ts.map +1 -1
- package/dist/utils/projection-store.js +74 -45
- package/dist/utils/projection-store.js.map +1 -1
- package/dist/utils/rag-database.d.ts +61 -0
- package/dist/utils/rag-database.d.ts.map +1 -0
- package/dist/utils/rag-database.js +178 -0
- package/dist/utils/rag-database.js.map +1 -0
- package/dist/utils/relation-limits.d.ts +7 -2
- package/dist/utils/relation-limits.d.ts.map +1 -1
- package/dist/utils/relation-limits.js +6 -1
- package/dist/utils/relation-limits.js.map +1 -1
- package/dist/utils/relativize-paths.d.ts +23 -0
- package/dist/utils/relativize-paths.d.ts.map +1 -1
- package/dist/utils/relativize-paths.js +32 -1
- package/dist/utils/relativize-paths.js.map +1 -1
- package/dist/utils/resource-loader.d.ts +76 -32
- package/dist/utils/resource-loader.d.ts.map +1 -1
- package/dist/utils/resource-loader.js +132 -66
- package/dist/utils/resource-loader.js.map +1 -1
- package/dist/utils/run-integrity.d.ts +64 -31
- package/dist/utils/run-integrity.d.ts.map +1 -1
- package/dist/utils/run-integrity.js +76 -35
- package/dist/utils/run-integrity.js.map +1 -1
- package/dist/utils/scope-locations.d.ts +7 -5
- package/dist/utils/scope-locations.d.ts.map +1 -1
- package/dist/utils/scope-locations.js +37 -12
- package/dist/utils/scope-locations.js.map +1 -1
- package/dist/utils/staging-dir.d.ts +7 -0
- package/dist/utils/staging-dir.d.ts.map +1 -0
- package/dist/utils/staging-dir.js +12 -0
- package/dist/utils/staging-dir.js.map +1 -0
- package/dist/utils/url-redact.d.ts +9 -0
- package/dist/utils/url-redact.d.ts.map +1 -1
- package/dist/utils/url-redact.js +13 -0
- package/dist/utils/url-redact.js.map +1 -1
- package/dist/utils/user-context-scanner.d.ts +3 -2
- package/dist/utils/user-context-scanner.d.ts.map +1 -1
- package/dist/utils/user-context-scanner.js +24 -4
- package/dist/utils/user-context-scanner.js.map +1 -1
- package/dist/utils/validate-help-files.d.ts.map +1 -1
- package/dist/utils/validate-help-files.js +8 -14
- package/dist/utils/validate-help-files.js.map +1 -1
- package/dist/utils/vat-bin-path.d.ts.map +1 -1
- package/dist/utils/vat-bin-path.js +3 -3
- package/dist/utils/vat-bin-path.js.map +1 -1
- package/dist/utils/verdict-helpers.d.ts.map +1 -1
- package/dist/utils/verdict-helpers.js +5 -5
- package/dist/utils/verdict-helpers.js.map +1 -1
- package/docs/agent.md +347 -2
- package/docs/audit.md +312 -89
- package/docs/doctor.md +65 -19
- package/docs/index.md +571 -20
- package/docs/mcp.md +64 -12
- package/docs/rag.md +176 -48
- package/docs/resources.md +257 -71
- package/docs/skill-test.md +148 -19
- package/docs/skills.md +459 -174
- package/package.json +16 -19
- package/schemas/agent-build.json +268 -0
- package/schemas/agent-import.json +252 -0
- package/schemas/agent-install.json +260 -0
- package/schemas/agent-installed.json +287 -0
- package/schemas/agent-list.json +279 -0
- package/schemas/agent-uninstall.json +260 -0
- package/schemas/agent-validate.json +279 -0
- package/schemas/ard-emit.json +224 -106
- package/schemas/audit-settings.json +472 -0
- package/schemas/audit.json +635 -0
- package/schemas/cache-clear.json +273 -0
- package/schemas/claude-marketplace-publish.json +286 -0
- package/schemas/claude-marketplace-validate.json +352 -0
- package/schemas/claude-org-not-implemented.json +239 -0
- package/schemas/claude-plugin-build.json +446 -0
- package/schemas/claude-plugin-install.json +291 -0
- package/schemas/claude-plugin-list.json +326 -0
- package/schemas/claude-plugin-uninstall.json +272 -0
- package/schemas/corpus-audit.json +635 -0
- package/schemas/corpus-scan.json +293 -0
- package/schemas/doctor.json +299 -0
- package/schemas/inventory.json +982 -0
- package/schemas/mcp-list-collections.json +268 -0
- package/schemas/okf-validate.json +224 -106
- package/schemas/orchestrator.json +299 -0
- package/schemas/rag-clear.json +253 -0
- package/schemas/rag-index.json +273 -0
- package/schemas/rag-query.json +365 -0
- package/schemas/rag-stats.json +269 -0
- package/schemas/resources-check.json +242 -108
- package/schemas/resources-query.json +333 -0
- package/schemas/resources-scan.json +321 -0
- package/schemas/resources-validate.json +332 -0
- package/schemas/skill-review.json +224 -106
- package/schemas/skill-test-configure.json +256 -0
- package/schemas/skill-test-run.json +296 -0
- package/schemas/skills-build.json +325 -0
- package/schemas/skills-install.json +287 -0
- package/schemas/skills-list.json +283 -0
- package/schemas/skills-package.json +270 -0
- package/schemas/skills-validate.json +285 -0
- package/dist/commands/skills/shared.d.ts +0 -29
- package/dist/commands/skills/shared.d.ts.map +0 -1
- package/dist/commands/skills/shared.js +0 -33
- package/dist/commands/skills/shared.js.map +0 -1
- package/dist/utils/command-error.d.ts +0 -194
- package/dist/utils/command-error.d.ts.map +0 -1
- package/dist/utils/command-error.js +0 -237
- package/dist/utils/command-error.js.map +0 -1
package/docs/resources.md
CHANGED
|
@@ -14,8 +14,8 @@ including link integrity checking and anchor validation.
|
|
|
14
14
|
**What it does:**
|
|
15
15
|
1. Recursively scans for markdown files
|
|
16
16
|
2. Parses each file to extract links and headings
|
|
17
|
-
3.
|
|
18
|
-
4. Exits 0
|
|
17
|
+
3. Publishes what it found as the shared report envelope
|
|
18
|
+
4. Exits 0 when it scanned at least one file, 1 when it scanned none
|
|
19
19
|
|
|
20
20
|
**Path Argument:**
|
|
21
21
|
- `[path]` restricts the scan to that subtree of the project
|
|
@@ -29,24 +29,40 @@ including link integrity checking and anchor validation.
|
|
|
29
29
|
**Options:**
|
|
30
30
|
- `[path]` - Base directory to crawl (defaults to current directory)
|
|
31
31
|
- `--debug` - Enable debug logging
|
|
32
|
-
- `--verbose` - Add
|
|
33
|
-
- `--collection <id>` - Only report files in the named collection (config mode — no path argument)
|
|
32
|
+
- `--verbose` - Add `data.files`: per-file link/anchor counts and checksums
|
|
33
|
+
- `--collection <id>` - Only report files in the named collection (config mode — no path argument).
|
|
34
|
+
A name `resources.collections` does not declare is refused (`USAGE_INVALID`, exit 2)
|
|
34
35
|
- `--format <format>` - `yaml` (default) or `json`. The same document either way
|
|
35
36
|
|
|
36
|
-
**Exit Codes:**
|
|
37
|
-
- `0` -
|
|
38
|
-
- `
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
`
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
**Exit Codes:** derived from the published document, never chosen beside it.
|
|
38
|
+
- `0` - Scanned at least one file
|
|
39
|
+
- `1` - Scanned nothing: one non-overridable `RESOURCE_CHECK_BROKEN` finding
|
|
40
|
+
(the path or config enumerates no markdown, or `--collection` names a
|
|
41
|
+
collection no file matched) — a scan of nothing is not a population
|
|
42
|
+
- `2` - The scan could not run: `[path]` names no directory (`USAGE_INVALID`), a
|
|
43
|
+
directory the OS will not list (`INPUT_UNREADABLE`), an unusable config
|
|
44
|
+
(`CONFIG_INVALID`)
|
|
45
|
+
|
|
46
|
+
**Output:** the shared report envelope on stdout — YAML, or JSON with
|
|
47
|
+
`--format json` (schema: `packages/cli/schemas/resources-scan.json`); logs on
|
|
48
|
+
stderr.
|
|
49
|
+
|
|
50
|
+
- `examined` — files scanned. A scan reports no finding of its own.
|
|
51
|
+
- `durationMs` — wall time of the run.
|
|
52
|
+
- `data.root` is stated once and is the only absolute path in the document;
|
|
53
|
+
every `data.files[].path` is relative to it.
|
|
54
|
+
- `data.collections` — resources per configured collection (`{}` when none).
|
|
55
|
+
|
|
56
|
+
`data.lane` names which enumerator produced the population — `projection` (the
|
|
57
|
+
default) or `walk` (`VAT_RESOURCES_CRAWL=walk`). Two scans of one tree
|
|
47
58
|
that report different populations are only interpretable if each says which lane
|
|
48
59
|
produced it, so the field is derived from the load that ran rather than read back
|
|
49
|
-
from the environment.
|
|
60
|
+
from the environment. `data.extentSource` names the projection lane's own
|
|
61
|
+
enumerator (`git` or `filesystem`), or is `null` for the walk.
|
|
62
|
+
|
|
63
|
+
The lab's population facet (`packages/lab`) reads this document: the file count
|
|
64
|
+
from `examined`, the population from `data.files` (so it runs the scan with
|
|
65
|
+
`--verbose`).
|
|
50
66
|
|
|
51
67
|
**Example:**
|
|
52
68
|
```bash
|
|
@@ -56,18 +72,22 @@ vat resources scan docs/ --verbose
|
|
|
56
72
|
|
|
57
73
|
# Output:
|
|
58
74
|
# ---
|
|
59
|
-
# status:
|
|
60
|
-
#
|
|
61
|
-
#
|
|
62
|
-
#
|
|
63
|
-
#
|
|
64
|
-
#
|
|
65
|
-
#
|
|
66
|
-
#
|
|
67
|
-
#
|
|
68
|
-
#
|
|
69
|
-
#
|
|
70
|
-
#
|
|
75
|
+
# status: ok
|
|
76
|
+
# examined: 12
|
|
77
|
+
# findings: []
|
|
78
|
+
# summary: { errors: 0, warnings: 0, info: 0 }
|
|
79
|
+
# gate: { strict: false }
|
|
80
|
+
# durationMs: 234
|
|
81
|
+
# data:
|
|
82
|
+
# root: /home/you/my-project
|
|
83
|
+
# lane: projection
|
|
84
|
+
# extentSource: git
|
|
85
|
+
# collections: {}
|
|
86
|
+
# files:
|
|
87
|
+
# - path: docs/README.md
|
|
88
|
+
# links: 5
|
|
89
|
+
# anchors: 3
|
|
90
|
+
# checksum: 47dd7b50af765df240fe2514f029fc697c907fc37a3267e22060f2f9f611975c
|
|
71
91
|
```
|
|
72
92
|
|
|
73
93
|
**Requirements:**
|
|
@@ -91,8 +111,8 @@ for the loud-cwd fallback policy and the projectRoot discovery ladder.
|
|
|
91
111
|
**What it does:**
|
|
92
112
|
1. Recursively scans for markdown resources
|
|
93
113
|
2. Validates all links (internal, anchors, external if configured)
|
|
94
|
-
3.
|
|
95
|
-
4. Exits 0
|
|
114
|
+
3. Publishes every finding flat in the shared report envelope
|
|
115
|
+
4. Exits 0 with no error-severity finding, 1 with one, 2 when it could not run
|
|
96
116
|
|
|
97
117
|
**Path Argument:**
|
|
98
118
|
- `[path]` restricts the scan to that subtree of the project
|
|
@@ -106,24 +126,46 @@ for the loud-cwd fallback policy and the projectRoot discovery ladder.
|
|
|
106
126
|
**Options:**
|
|
107
127
|
- `[path]` - Base directory to crawl (defaults to current directory)
|
|
108
128
|
- `--debug` - Enable debug logging
|
|
109
|
-
- `-v, --verbose` - Show all scanned resources, including those without issues
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
129
|
+
- `-v, --verbose` - Show all scanned resources, including those without issues:
|
|
130
|
+
adds `data.files`, one `{path, status, summary}` row per resource validated.
|
|
131
|
+
Every envelope field is identical in both modes.
|
|
132
|
+
- `--collection <id>` - Scope the whole report — findings, `examined` and so the
|
|
133
|
+
exit code — to one collection's files. A finding at a path that never became a
|
|
134
|
+
resource (a file the collection matched and could not read) stays in it. A name
|
|
135
|
+
`resources.collections` does not declare is refused (`USAGE_INVALID`, exit 2)
|
|
136
|
+
- `--format <format>` - `yaml` (default), `json` (the same document), or `text`
|
|
137
|
+
(one `location:line: severity: message [code]` line per finding, then a status
|
|
138
|
+
line, on stdout). Any other value is a usage error (exit 2) naming the three
|
|
139
|
+
accepted values; so is a `--validation-mode` other than `strict` or `permissive`
|
|
113
140
|
- `--no-check-frontmatter-links` - Skip frontmatter URI-reference link validation across all collections (default: enabled)
|
|
114
141
|
|
|
115
|
-
**Exit Codes:**
|
|
116
|
-
- `0` -
|
|
117
|
-
- `1` -
|
|
118
|
-
(`
|
|
119
|
-
`RESOURCE_CHECK_BROKEN`
|
|
142
|
+
**Exit Codes:** derived from the published document, never chosen beside it.
|
|
143
|
+
- `0` - No error-severity finding (warnings and info never fail it)
|
|
144
|
+
- `1` - At least one error-severity finding — including a run that validated no
|
|
145
|
+
resource at all (`examined: 0`), which carries one non-overridable
|
|
146
|
+
`RESOURCE_CHECK_BROKEN` finding rather than passing: a declared `--collection` that
|
|
120
147
|
matched nothing or a path with no markdown is not a verdict about anything.
|
|
121
148
|
The reason and the remedy are also printed on stderr as a warning
|
|
122
|
-
- `2` -
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
149
|
+
- `2` - The run could not finish (`status: error`, `error.code` says which):
|
|
150
|
+
`[path]` or `--frontmatter-schema` names nothing (`USAGE_INVALID`), an input
|
|
151
|
+
the OS will not read (`INPUT_UNREADABLE`), an unusable config (`CONFIG_INVALID`)
|
|
152
|
+
|
|
153
|
+
**Output:** the shared report envelope on stdout (schema:
|
|
154
|
+
`packages/cli/schemas/resources-validate.json`):
|
|
155
|
+
- `examined` — resources validated
|
|
156
|
+
- `findings` — every finding, flat: `{code, severity, message, location, line?,
|
|
157
|
+
link?, fix?, reference?}`, `location` relative to `data.root`
|
|
158
|
+
- `summary` — `{errors, warnings, info}` over `findings`
|
|
159
|
+
- `data.root` — the project root, the one base every `location` and `path` is
|
|
160
|
+
relative to
|
|
161
|
+
- `data.collections` — per configured collection: `resourceCount`, `hasSchema`,
|
|
162
|
+
`validationMode?`, `filesWithErrors`, and `summary` over its files' findings
|
|
163
|
+
- `data.population` — where the file list came from: `store` (the projection
|
|
164
|
+
store answered), `derived` (the projection was built this run, including with
|
|
165
|
+
`VAT_PROJECTION_STORE=0`, which skips only the store), or `null` when the walk
|
|
166
|
+
answered: the walk lane was selected (`VAT_RESOURCES_CRAWL=walk`), or the crawl
|
|
167
|
+
declined a projection bound to another root and walked
|
|
168
|
+
- `data.files` — under `--verbose` only
|
|
127
169
|
|
|
128
170
|
**Example (success):**
|
|
129
171
|
```bash
|
|
@@ -133,40 +175,47 @@ vat resources validate docs/
|
|
|
133
175
|
|
|
134
176
|
# Output:
|
|
135
177
|
# ---
|
|
136
|
-
# status:
|
|
137
|
-
#
|
|
138
|
-
#
|
|
139
|
-
#
|
|
140
|
-
#
|
|
178
|
+
# status: ok
|
|
179
|
+
# examined: 12
|
|
180
|
+
# findings: []
|
|
181
|
+
# summary: { errors: 0, warnings: 0, info: 0 }
|
|
182
|
+
# gate: { strict: false }
|
|
183
|
+
# durationMs: 456
|
|
184
|
+
# data:
|
|
185
|
+
# root: /home/you/my-project
|
|
186
|
+
# collections: {}
|
|
141
187
|
```
|
|
142
188
|
|
|
143
189
|
**Example (errors):**
|
|
144
190
|
```bash
|
|
145
191
|
vat resources validate docs/
|
|
146
192
|
|
|
147
|
-
# stderr: (file:line:column: severity: message — only `error` fails the run)
|
|
148
|
-
# docs/README.md:15:25: error: Link target not found: ./missing.md
|
|
149
|
-
# docs/guide.md:42:10: error: Broken anchor: #non-existent-section
|
|
150
|
-
|
|
151
193
|
# stdout:
|
|
152
194
|
# ---
|
|
153
|
-
# status:
|
|
154
|
-
#
|
|
155
|
-
#
|
|
156
|
-
#
|
|
157
|
-
#
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
#
|
|
161
|
-
#
|
|
162
|
-
#
|
|
163
|
-
#
|
|
164
|
-
#
|
|
165
|
-
#
|
|
166
|
-
#
|
|
167
|
-
#
|
|
195
|
+
# status: findings
|
|
196
|
+
# examined: 12
|
|
197
|
+
# findings:
|
|
198
|
+
# - code: LINK_BROKEN_FILE
|
|
199
|
+
# severity: error
|
|
200
|
+
# message: "File not found: docs/missing.md"
|
|
201
|
+
# location: docs/README.md
|
|
202
|
+
# link: ./missing.md
|
|
203
|
+
# line: 15
|
|
204
|
+
# - code: LINK_BROKEN_ANCHOR
|
|
205
|
+
# severity: error
|
|
206
|
+
# message: "Anchor not found: #non-existent-section"
|
|
207
|
+
# location: docs/guide.md
|
|
208
|
+
# line: 42
|
|
209
|
+
# summary: { errors: 2, warnings: 0, info: 0 }
|
|
210
|
+
# gate: { strict: false }
|
|
211
|
+
# durationMs: 456
|
|
212
|
+
# data:
|
|
213
|
+
# root: /home/you/my-project
|
|
214
|
+
# collections: {}
|
|
168
215
|
```
|
|
169
216
|
|
|
217
|
+
Findings in a `jq` pipeline: `vat resources validate --format json | jq '.findings[] | "\(.location):\(.line) \(.code)"'`.
|
|
218
|
+
|
|
170
219
|
**Requirements:**
|
|
171
220
|
|
|
172
221
|
- **`projectRoot`**: optional with **loud-cwd fallback**. With an explicit
|
|
@@ -191,6 +240,35 @@ See [Roots and Config — Canonical Concepts](../../../docs/concepts/roots-and-c
|
|
|
191
240
|
for the projectRoot ladder, the loud-cwd fallback policy, and the rationale
|
|
192
241
|
behind RFC-3986-compliant leading-`/` resolution.
|
|
193
242
|
|
|
243
|
+
### vat resources query <sql> [path]
|
|
244
|
+
|
|
245
|
+
**Purpose:** Ask this tree's resource projection one read-only SQL question.
|
|
246
|
+
|
|
247
|
+
**Output:** the shared report envelope on stdout — YAML, or JSON with
|
|
248
|
+
`--format json` (schema: `packages/cli/schemas/resources-query.json`):
|
|
249
|
+
- `examined` — resources in the population the statement ran over (the tracked
|
|
250
|
+
tree), never the rows it selected
|
|
251
|
+
- `data.columns` — the result columns, in order, even when no row was selected
|
|
252
|
+
- `data.rows` — the selected rows, exactly as SQLite holds them
|
|
253
|
+
- `data.population` (`derived` | `store`), `data.populationSecs`,
|
|
254
|
+
`data.lensSecs`, `data.lensesEvaluated` — where the population came from and
|
|
255
|
+
what it cost; `data.boundsStatement` / `data.limits` when a bounded lens ran
|
|
256
|
+
- `data.lensPopulation` (`none` | `store` | `derived`) — the same tell for the
|
|
257
|
+
lenses the statement named: `none` when it named no lensed relation, otherwise
|
|
258
|
+
whether every lens population was a store hit
|
|
259
|
+
|
|
260
|
+
**Exit Codes:** derived from the published document.
|
|
261
|
+
- `0` - The statement ran over a populated tree — zero rows is an answer, `ok`
|
|
262
|
+
- `1` - The population was empty (`RESOURCE_CHECK_BROKEN`)
|
|
263
|
+
- `2` - The statement was refused (`USAGE_INVALID`: not a query, a second
|
|
264
|
+
statement, an unbound `?`, a name the projection lacks), `[path]` names no
|
|
265
|
+
directory, or the crawl failed
|
|
266
|
+
|
|
267
|
+
**Example:**
|
|
268
|
+
```bash
|
|
269
|
+
vat resources query 'SELECT path FROM resource_realizations LIMIT 5' --format json | jq '.data.rows[].path'
|
|
270
|
+
```
|
|
271
|
+
|
|
194
272
|
## Configuration
|
|
195
273
|
|
|
196
274
|
Place `vibe-agent-toolkit.config.yaml` at project root:
|
|
@@ -226,18 +304,126 @@ resources:
|
|
|
226
304
|
|
|
227
305
|
## Integration with vibe-validate
|
|
228
306
|
|
|
229
|
-
The
|
|
307
|
+
The exit code is the gate — 1 exactly when an error-severity finding (or the
|
|
308
|
+
nothing-validated refusal) is in the document — so a vibe-validate step needs
|
|
309
|
+
nothing more than the command:
|
|
230
310
|
|
|
231
311
|
```yaml
|
|
232
312
|
# vibe-validate.config.yaml
|
|
233
313
|
validators:
|
|
234
314
|
markdown:
|
|
235
315
|
run: vat resources validate docs/
|
|
236
|
-
extract:
|
|
237
|
-
- type: test-format
|
|
238
316
|
```
|
|
239
317
|
|
|
318
|
+
`--format text` prints one `location:line: severity: message [code]` line per
|
|
319
|
+
finding on stdout, for an extractor that reads compiler-style lines.
|
|
320
|
+
|
|
240
321
|
## More Information
|
|
241
322
|
|
|
242
323
|
- GitHub: https://github.com/jdutton/vibe-agent-toolkit
|
|
243
324
|
- Issues: https://github.com/jdutton/vibe-agent-toolkit/issues
|
|
325
|
+
|
|
326
|
+
## Example reports
|
|
327
|
+
|
|
328
|
+
Each block below is a real document from the built CLI, trimmed where noted; `packages/cli/test/integration/tagged-report-examples.integration.test.ts` validates every `vat-report=<verb>` block against that verb's registered schema.
|
|
329
|
+
|
|
330
|
+
### `resources scan`
|
|
331
|
+
|
|
332
|
+
A scan of a project that declares no collections. Produced by `vat resources scan .`.
|
|
333
|
+
|
|
334
|
+
```yaml vat-report=resources scan
|
|
335
|
+
status: ok
|
|
336
|
+
examined: 2
|
|
337
|
+
findings: []
|
|
338
|
+
summary:
|
|
339
|
+
errors: 0
|
|
340
|
+
warnings: 0
|
|
341
|
+
info: 0
|
|
342
|
+
gate:
|
|
343
|
+
strict: false
|
|
344
|
+
durationMs: 184
|
|
345
|
+
data:
|
|
346
|
+
root: /work/project
|
|
347
|
+
lane: projection
|
|
348
|
+
extentSource: git
|
|
349
|
+
collections: {}
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
### `resources validate`
|
|
353
|
+
|
|
354
|
+
The same project validated. Produced by `vat resources validate`.
|
|
355
|
+
|
|
356
|
+
```yaml vat-report=resources validate
|
|
357
|
+
status: ok
|
|
358
|
+
examined: 2
|
|
359
|
+
findings: []
|
|
360
|
+
summary:
|
|
361
|
+
errors: 0
|
|
362
|
+
warnings: 0
|
|
363
|
+
info: 0
|
|
364
|
+
gate:
|
|
365
|
+
strict: false
|
|
366
|
+
durationMs: 82
|
|
367
|
+
data:
|
|
368
|
+
root: /work/project
|
|
369
|
+
population: derived
|
|
370
|
+
collections: {}
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
### `resources query`
|
|
374
|
+
|
|
375
|
+
One read-only SQL statement; the answer is under `data.rows`. Produced by `vat resources query "SELECT count(*) AS n FROM resources"`.
|
|
376
|
+
|
|
377
|
+
```yaml vat-report=resources query
|
|
378
|
+
status: ok
|
|
379
|
+
examined: 16
|
|
380
|
+
findings: []
|
|
381
|
+
summary:
|
|
382
|
+
errors: 0
|
|
383
|
+
warnings: 0
|
|
384
|
+
info: 0
|
|
385
|
+
gate:
|
|
386
|
+
strict: false
|
|
387
|
+
durationMs: 225
|
|
388
|
+
data:
|
|
389
|
+
root: /work/project
|
|
390
|
+
columns:
|
|
391
|
+
- n
|
|
392
|
+
rows:
|
|
393
|
+
- n: 16
|
|
394
|
+
population: derived
|
|
395
|
+
populationSecs: 0.221
|
|
396
|
+
lensSecs: 3.75e-7
|
|
397
|
+
lensesEvaluated: []
|
|
398
|
+
lensPopulation: none
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
### `resources check`
|
|
402
|
+
|
|
403
|
+
The built-in checks, cut to the first. Produced by `vat resources check`.
|
|
404
|
+
|
|
405
|
+
```yaml vat-report=resources check
|
|
406
|
+
status: ok
|
|
407
|
+
examined: 16
|
|
408
|
+
findings: []
|
|
409
|
+
summary:
|
|
410
|
+
errors: 0
|
|
411
|
+
warnings: 0
|
|
412
|
+
info: 0
|
|
413
|
+
gate:
|
|
414
|
+
strict: false
|
|
415
|
+
durationMs: 86
|
|
416
|
+
data:
|
|
417
|
+
root: /work/project
|
|
418
|
+
population: store
|
|
419
|
+
populationSecs: 0.0819
|
|
420
|
+
lensSecs: 3.75e-7
|
|
421
|
+
lensesEvaluated: []
|
|
422
|
+
lensPopulation: none
|
|
423
|
+
checksRun: 3
|
|
424
|
+
checks:
|
|
425
|
+
- name: claude-rule-glob-inert
|
|
426
|
+
durationSecs: 0.0000399
|
|
427
|
+
rows: 0
|
|
428
|
+
builtin: true
|
|
429
|
+
```
|
package/docs/skill-test.md
CHANGED
|
@@ -51,7 +51,17 @@ VAT reads liberally as adopter-authored data.)
|
|
|
51
51
|
|
|
52
52
|
`vat skill test configure <skill>` writes the **per-skill** block using a
|
|
53
53
|
comment-preserving YAML upsert, and validates values before writing. Prefer it over
|
|
54
|
-
hand-editing.
|
|
54
|
+
hand-editing. It publishes the report envelope on stdout (schema
|
|
55
|
+
`packages/cli/schemas/skill-test-configure.json`): `status: ok`, `examined: 1`, and
|
|
56
|
+
`data: { configPath, skill }`, `configPath` relative to the working directory. With
|
|
57
|
+
`--print` it writes nothing to disk and stdout is the updated config text alone — no
|
|
58
|
+
report — so `vat skill test configure my-skill --max-turns 20 --print > new.yaml`
|
|
59
|
+
yields a usable file. A refusal exits `2` with `error.code`: `USAGE_INVALID` (an invalid
|
|
60
|
+
knob value, a skill the config's `skills.include` does not discover — configure a skill
|
|
61
|
+
after declaring it — or no project root), `CONFIG_INVALID` (no config file at the project root, or
|
|
62
|
+
the edit would leave it failing its schema), `INPUT_UNREADABLE`, or `RUN_INCOMPLETE`
|
|
63
|
+
(the write failed). An unknown key already in the config is a stderr warning, never a
|
|
64
|
+
refusal.
|
|
55
65
|
|
|
56
66
|
## Per-skill knobs (`skills.config.<skill>.test`)
|
|
57
67
|
|
|
@@ -80,7 +90,15 @@ A **source descriptor** is one of `{ workspace: <pkg> }`, `{ npm: <spec> }`,
|
|
|
80
90
|
command line the same sources are written as `name=workspace:<pkg>`,
|
|
81
91
|
`name=npm:<spec>`, `name=url:<u>`, `name=path:<dir>`, or `name=vendored` — the CLI
|
|
82
92
|
form requires an explicit companion `name=`, the config form derives it from the
|
|
83
|
-
resolved skill.
|
|
93
|
+
resolved skill. An npm spec must be version-pinned (`@scope/pkg@1.2.3`, with an
|
|
94
|
+
optional `/subpath` — a file or directory inside the installed package, or a subpath
|
|
95
|
+
its `exports` map declares; with none, the package's own directory is staged) and
|
|
96
|
+
installed under the project root. A required npm source that names nothing (a package
|
|
97
|
+
that is not installed, an unpinned spec, a subpath naming nothing in the package or
|
|
98
|
+
climbing out of it) and a scoped specifier given as a `path:` are refused before
|
|
99
|
+
anything is staged — `USAGE_INVALID` from the command line, `CONFIG_INVALID` from the
|
|
100
|
+
config. A `path:` source naming a directory that does not exist is refused when it is
|
|
101
|
+
staged, as `INPUT_UNREADABLE`, like any source the OS will not read.
|
|
84
102
|
|
|
85
103
|
### Companion staging and builds
|
|
86
104
|
|
|
@@ -154,39 +172,78 @@ The suite is never copied into anything the executor can reach. Each eval's decl
|
|
|
154
172
|
| `--refresh` | Force a full re-stage, ignoring existing staged content. |
|
|
155
173
|
| `--keep` | Keep the harness directory after the run (needed to inspect `results/`). |
|
|
156
174
|
| `--dry-run` | Build and stage exactly as a real run would, then stop without spawning Claude — no session, no tokens. It **does build** (when `--i-understand-this-runs-skill-code` is passed), because the question a dry run answers is "what happens if I drop this flag", and a preview built from a stale `dist/` answers it wrongly. **Without** the acknowledgement it does not build — building runs the repo's `test.build` hook, an arbitrary shell command — so it falls back to an existing `dist/` and warns it may be stale. `--no-build` skips the build either way. |
|
|
157
|
-
| `--out <dir>` / `--workdir <dir>` | Override the harness output / working directory. |
|
|
158
|
-
| `--allow-eval-failure` | Opt out of fail-closed:
|
|
175
|
+
| `--out <dir>` / `--workdir <dir>` | Override the harness output / working directory. An existing `--out` must already be a directory and, on POSIX, `0700`: VAT creates a new one `0700`, and never changes the mode of one you made (Windows has no mode check). |
|
|
176
|
+
| `--allow-eval-failure` | Opt out of fail-closed: each failed eval is published as a `warning` finding instead of an `error`, so the run exits `0`. For interactive iteration. |
|
|
159
177
|
| `--allow-unverified-skill-source` | Skip the vendored manifest integrity check. |
|
|
160
178
|
| `--debug` | Enable debug logging. |
|
|
161
179
|
|
|
162
|
-
##
|
|
180
|
+
## The report
|
|
181
|
+
|
|
182
|
+
`vat skill test run` publishes the report envelope on stdout (schema
|
|
183
|
+
`packages/cli/schemas/skill-test-run.json`), and nothing else — the `Summary:` line that
|
|
184
|
+
used to be stdout's one machine-readable channel is gone from it. The human verdict line
|
|
185
|
+
stays on stderr as `Summary: <line>`, beside `Harness:`, `Results:`, `Workspaces:` and
|
|
186
|
+
`Reason:`.
|
|
187
|
+
|
|
188
|
+
- `examined` — the evals the run graded; on `--dry-run`, which grades nothing, the evals
|
|
189
|
+
it staged.
|
|
190
|
+
- `findings` — one `SKILL_TEST_EVAL_FAILED` per eval that ran and did not pass (an output
|
|
191
|
+
expectation, or its tool verdict): `location` the suite's `evals.json` relative to the
|
|
192
|
+
project root (omitted when it lies outside the project), `field` the eval's `id`. `error` by default,
|
|
193
|
+
`warning` under `--allow-eval-failure`. Evals a fail-fast tier gate skipped are not
|
|
194
|
+
listed: they never ran, and the failure that fired the gate is.
|
|
195
|
+
- `data.skill` — the reference as passed; `data.description` — the verdict line
|
|
196
|
+
(`PASS 3/3`, `FAIL 1/2 (1 tool)`, the dry-run preview); `data.evals` — `{ id, passed }`
|
|
197
|
+
per graded eval; `data.artifacts.frictionReport` — the `friction.json` written, or `null`
|
|
198
|
+
on a dry run; `data.artifacts.outputDir` — the harness root (`--out`), of which a
|
|
199
|
+
default run keeps only `results/`.
|
|
163
200
|
|
|
164
|
-
|
|
165
|
-
tolerate eval failures while failing closed on a harness that could not run.
|
|
201
|
+
## Exit codes
|
|
166
202
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
203
|
+
The same three-way contract as every other `vat` command, derived from the published
|
|
204
|
+
document, so a CI consumer can tolerate eval failures while failing closed on a harness
|
|
205
|
+
that could not run.
|
|
206
|
+
|
|
207
|
+
- `0` - Every eval passed (or `--allow-eval-failure` published the failures as warnings)
|
|
208
|
+
- `1` - **Eval failure** — the run completed and an `error` finding names each eval that did not pass
|
|
209
|
+
- `2` - The harness could not run: `status: error`, and `error.code` says which refusal.
|
|
210
|
+
A `Reason: <reason>` line on stderr restates it for a CI log — `internal` exactly for
|
|
211
|
+
`INTERNAL_ERROR`, `bootstrap` for a scaffolded `evals.json`, `preflight` for the rest.
|
|
212
|
+
Each code is decided where the cause was seen, never read back from a message. A skill
|
|
213
|
+
build that threw is classified by what it threw: a coded cause keeps its own code (a
|
|
214
|
+
directory the OS will not list is `INPUT_UNREADABLE` from a build exactly as from
|
|
215
|
+
resolution), and an uncoded one is `INTERNAL_ERROR`:
|
|
216
|
+
|
|
217
|
+
| `error.code` | `Reason:` | When |
|
|
218
|
+
|---|---|---|
|
|
219
|
+
| `BACKEND_UNAVAILABLE` | `preflight` | No `claude` binary on `PATH`, or one too old for a flag the spawn needs |
|
|
220
|
+
| `USAGE_INVALID` | `preflight` | An invalid flag value, an auth guard the credentials do not meet, the missing security ack, an unsafe `--workdir`, an `--out` that exists and is not a directory, or (POSIX only — Windows has no mode check) is not `0700` (VAT never changes its mode — `chmod 700` it, or name one that does not exist yet), a held harness lock, a skill name the config does not declare (or `--no-build` with no dist), a bad `env` token, a failing `test.build` hook, a repeated staged name, a `--with` source, `--evals` or skill reference that names nothing (an npm package that is not installed, an npm spec with no version pin or a subpath naming nothing in the package, a scoped specifier given as a path) |
|
|
221
|
+
| `CONFIG_INVALID` | `preflight` | The governing `vibe-agent-toolkit.config.yaml` does not parse or fails its schema (subject's or a companion's), or its `test.with` or `test.evals` names nothing (the same cases as the flags). An optional companion (`--with-optional`, `test.optional`) that names nothing is skipped with a warning instead |
|
|
222
|
+
| `INPUT_UNREADABLE` | `preflight` | A declared eval input or dependency is absent, the `evals.json` is not a valid suite, the vendored copy fails its manifest, a config or directory the OS will not read, a `--with name=path:<dir>` companion that does not exist, an npm package that is installed but whose `package.json` Node cannot read, or a source holding a file or directory the OS will not read or a symlink (named) |
|
|
223
|
+
| `INPUT_UNREADABLE` | `bootstrap` | `evals.json` was absent, so VAT wrote a starter template next to the skill source; fill it in and re-run |
|
|
224
|
+
| `RUN_INCOMPLETE` | `preflight` | The packager refused the subject's (or a required companion's) own content — a `files:` source absent, a `SKILL.md` bundled as a resource. A `SKILL_PACKAGING_FAILED` finding at the skill's `SKILL.md` says what to change. Also, with no finding: an output the OS will not let the run write — the harness root (`--out` under a read-only directory), its lockfile, the staged skill copies and manifest, the `results/` files, a dist bundle — a full disk or a read-only directory. Known gap: a disk so full that a skill build's git snapshot of the project fails first is still `INTERNAL_ERROR` |
|
|
225
|
+
| `INTERNAL_ERROR` | `internal` | The harness broke (executor/grader crash, stall, timeout, grader nonce or skew failure); the stack is on stderr |
|
|
173
226
|
|
|
174
227
|
```bash
|
|
175
228
|
vat skill test run my-skill --i-understand-this-runs-skill-code
|
|
176
229
|
case $? in
|
|
177
230
|
0) ;;
|
|
178
231
|
1) echo "evals failed (tolerated)" ;;
|
|
179
|
-
*) exit 1 ;; # harness could not run — fail the build; read
|
|
232
|
+
*) exit 1 ;; # harness could not run — fail the build; read error.code
|
|
180
233
|
esac
|
|
181
234
|
```
|
|
182
235
|
|
|
183
236
|
## Results
|
|
184
237
|
|
|
185
|
-
|
|
186
|
-
writer of
|
|
238
|
+
The harness root keeps a `results/` tree (named on stderr as `Results:`) that VAT is
|
|
239
|
+
the sole writer of — the harness writes it, not the CLI, and validates each file against
|
|
240
|
+
its schema before the run reports:
|
|
187
241
|
|
|
188
242
|
- `grading.json` - per-expectation verdicts and the pass/total summary
|
|
189
|
-
- `friction.json` - packaging issues observed during the run (advisory)
|
|
243
|
+
- `friction.json` - packaging issues observed during the run (advisory). Each item's
|
|
244
|
+
`severity` is `error|warning|info`, the vocabulary every VAT report uses. The grader is
|
|
245
|
+
still asked for `high|medium|low`; VAT maps it (`high`->`error`, `medium`->`warning`,
|
|
246
|
+
`low`->`info`) once, when it parses the grader's fragment.
|
|
190
247
|
- `tool-eval.json` - tool-expectation verdicts; always written, so check
|
|
191
248
|
`.evals.length` rather than file existence
|
|
192
249
|
|
|
@@ -204,11 +261,83 @@ vat skill test run my-skill --model claude-opus-5 --grader-model claude-sonnet-5
|
|
|
204
261
|
vat skill test run router-skill --with helper=path:./skills/helper \
|
|
205
262
|
--i-understand-this-runs-skill-code
|
|
206
263
|
|
|
207
|
-
# Persist knobs instead of passing them every time
|
|
208
|
-
|
|
264
|
+
# Persist knobs instead of passing them every time (`requireAuth` has no
|
|
265
|
+
# configure flag: set it under the skill's `test:` block by hand, or pass
|
|
266
|
+
# --require-auth to each `run`)
|
|
267
|
+
vat skill test configure my-skill --auth subscription
|
|
209
268
|
```
|
|
210
269
|
|
|
211
270
|
## See Also
|
|
212
271
|
|
|
213
272
|
- [skills.md](./skills.md) - `vat skills` (plural): packaging, validation, install
|
|
214
273
|
- [index.md](./index.md) - full CLI command index
|
|
274
|
+
|
|
275
|
+
## Example reports
|
|
276
|
+
|
|
277
|
+
Each block below is a real document from the built CLI, trimmed where noted; `packages/cli/test/integration/tagged-report-examples.integration.test.ts` validates every `vat-report=<verb>` block against that verb's registered schema.
|
|
278
|
+
|
|
279
|
+
### `skill test configure`
|
|
280
|
+
|
|
281
|
+
The test block written to the config. Produced by `vat skill test configure test-skill-2 --auth inherit`.
|
|
282
|
+
|
|
283
|
+
```yaml vat-report=skill test configure
|
|
284
|
+
status: ok
|
|
285
|
+
examined: 1
|
|
286
|
+
findings: []
|
|
287
|
+
summary:
|
|
288
|
+
errors: 0
|
|
289
|
+
warnings: 0
|
|
290
|
+
info: 0
|
|
291
|
+
gate:
|
|
292
|
+
strict: false
|
|
293
|
+
data:
|
|
294
|
+
configPath: vibe-agent-toolkit.config.yaml
|
|
295
|
+
skill: test-skill-2
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
### `skill test run`
|
|
299
|
+
|
|
300
|
+
A dry run: what a real run would do, with nothing spawned and no eval graded. Produced by `vat skill test run ./test-skill-1 --dry-run --i-understand-this-runs-skill-code --out ./out`; the absolute paths are shortened.
|
|
301
|
+
|
|
302
|
+
```yaml vat-report=skill test run
|
|
303
|
+
status: ok
|
|
304
|
+
examined: 1
|
|
305
|
+
findings: []
|
|
306
|
+
summary:
|
|
307
|
+
errors: 0
|
|
308
|
+
warnings: 0
|
|
309
|
+
info: 0
|
|
310
|
+
gate:
|
|
311
|
+
strict: false
|
|
312
|
+
data:
|
|
313
|
+
skill: ./test-skill-1
|
|
314
|
+
description: |-
|
|
315
|
+
[dry-run] A real run would: stage the source dir as-is, then spawn claude.
|
|
316
|
+
[dry-run] Would run 1 executor→grader spawn pair at concurrency 4 — 2 claude sessions in total.
|
|
317
|
+
[dry-run] --max-budget-usd is PER SPAWN ($5), not per run: worst case ≈ $10.00 across those 2 sessions.
|
|
318
|
+
[dry-run] Executor (no --model; claude default); grader model claude-sonnet-5 (prompt via stdin).
|
|
319
|
+
[dry-run] Staged manifest: 1 entry | fingerprint: 33dee44374157bdc92af00c90fc5de39d2a3d974795a707a73c575ecf6488b4d
|
|
320
|
+
[dry-run] Provenance would be written to: /home/me/project/out/results/provenance.json
|
|
321
|
+
evals: []
|
|
322
|
+
artifacts:
|
|
323
|
+
frictionReport: null
|
|
324
|
+
outputDir: /home/me/project/out
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
Refused without the security acknowledgment: an `error` document, exit `2`. Produced by `vat skill test run test-skill-1`.
|
|
328
|
+
|
|
329
|
+
```yaml vat-report=skill test run
|
|
330
|
+
status: error
|
|
331
|
+
examined: 0
|
|
332
|
+
findings: []
|
|
333
|
+
summary:
|
|
334
|
+
errors: 0
|
|
335
|
+
warnings: 0
|
|
336
|
+
info: 0
|
|
337
|
+
gate:
|
|
338
|
+
strict: false
|
|
339
|
+
error:
|
|
340
|
+
code: USAGE_INVALID
|
|
341
|
+
message: Security acknowledgment required. Pass --i-understand-this-runs-skill-code to proceed.
|
|
342
|
+
data: null
|
|
343
|
+
```
|