@bonesofspring/ai-rules 0.2.72 → 0.2.74
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/CHANGELOG.md +43 -0
- package/README.md +7 -6
- package/bin/lib/ai-local-drift.js +4 -4
- package/bin/lib/engine-scripts.js +10 -0
- package/bin/lib/seed-ai-local-team.js +9 -5
- package/docs/TEAM-DB.md +105 -9
- package/docs/openapi/team-db.v1.json +1164 -224
- package/package.json +1 -1
- package/presets/_shared/ai-local/scripts/action-signals.mjs +225 -0
- package/presets/_shared/ai-local/scripts/actions-report.mjs +210 -0
- package/presets/_shared/ai-local/scripts/manifest.mjs +19 -1
- package/presets/_shared/ai-local/scripts/processes.mjs +5 -4
- package/presets/_shared/ai-local/scripts/rr-scheduler-start.mjs +161 -0
- package/presets/_shared/ai-local/scripts/team-db-api.mjs +347 -9
- package/presets/_shared/ai-local/scripts/team-db-openapi.mjs +309 -4
- package/presets/_shared/ai-local/scripts/team-db-project.mjs +312 -36
- package/presets/_shared/ai-local/scripts/team-db-schema.mjs +86 -1
- package/presets/_shared/ai-local/scripts/team-db.mjs +125 -40
- package/presets/_shared/ai-local/scripts/tracker-planned-drain.mjs +335 -0
- package/presets/_shared/core/agent-team/agent-artifact-contracts.md +9 -0
- package/presets/_shared/core/agent-team/agent-team-intake.md +2 -2
- package/presets/_shared/core/quality/self-review-and-context-hygiene.md +1 -0
- package/presets/_shared/hooks/chain-team-phases.sh.tmpl +15 -1
- package/presets/claude/android-kotlin/agents/build-verifier.md +1 -1
- package/presets/claude/android-kotlin/agents/code-reviewer.md +1 -1
- package/presets/claude/android-kotlin/agents/debugger.md +1 -1
- package/presets/claude/android-kotlin/agents/feature-developer.md +1 -1
- package/presets/claude/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/claude/android-kotlin/commands/README.md +4 -0
- package/presets/claude/android-kotlin/commands/rr-scheduler-start.md +32 -0
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +15 -1
- package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-intake.md +2 -2
- package/presets/claude/go/agents/build-verifier.md +1 -1
- package/presets/claude/go/agents/code-reviewer.md +1 -1
- package/presets/claude/go/agents/debugger.md +1 -1
- package/presets/claude/go/agents/feature-developer.md +1 -1
- package/presets/claude/go/agents/task-analyst.md +1 -1
- package/presets/claude/go/commands/README.md +4 -0
- package/presets/claude/go/commands/rr-scheduler-start.md +32 -0
- package/presets/claude/go/hooks/chain-team-phases.sh +15 -1
- package/presets/claude/go/rules/tooling-and-review/agent-team-intake.md +2 -2
- package/presets/claude/ios-swift/agents/build-verifier.md +1 -1
- package/presets/claude/ios-swift/agents/code-reviewer.md +1 -1
- package/presets/claude/ios-swift/agents/debugger.md +1 -1
- package/presets/claude/ios-swift/agents/feature-developer.md +1 -1
- package/presets/claude/ios-swift/agents/task-analyst.md +1 -1
- package/presets/claude/ios-swift/commands/README.md +4 -0
- package/presets/claude/ios-swift/commands/rr-scheduler-start.md +32 -0
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +15 -1
- package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-intake.md +2 -2
- package/presets/claude/java/agents/build-verifier.md +1 -1
- package/presets/claude/java/agents/code-reviewer.md +1 -1
- package/presets/claude/java/agents/debugger.md +1 -1
- package/presets/claude/java/agents/feature-developer.md +1 -1
- package/presets/claude/java/agents/task-analyst.md +1 -1
- package/presets/claude/java/commands/README.md +4 -0
- package/presets/claude/java/commands/rr-scheduler-start.md +32 -0
- package/presets/claude/java/hooks/chain-team-phases.sh +15 -1
- package/presets/claude/java/rules/tooling-and-review/agent-team-intake.md +2 -2
- package/presets/claude/mcp-ts/agents/build-verifier.md +1 -1
- package/presets/claude/mcp-ts/agents/feature-developer.md +1 -1
- package/presets/claude/mcp-ts/agents/task-analyst.md +1 -1
- package/presets/claude/mcp-ts/commands/README.md +4 -0
- package/presets/claude/mcp-ts/commands/rr-scheduler-start.md +32 -0
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +15 -1
- package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-intake.md +2 -2
- package/presets/claude/mol/agents/build-verifier.md +1 -1
- package/presets/claude/mol/agents/code-reviewer.md +1 -1
- package/presets/claude/mol/agents/debugger.md +1 -1
- package/presets/claude/mol/agents/feature-developer.md +1 -1
- package/presets/claude/mol/agents/task-analyst.md +1 -1
- package/presets/claude/mol/commands/README.md +4 -0
- package/presets/claude/mol/commands/rr-scheduler-start.md +32 -0
- package/presets/claude/mol/hooks/chain-team-phases.sh +15 -1
- package/presets/claude/mol/rules/tooling-and-review/agent-team-intake.md +2 -2
- package/presets/claude/next/REPO_AGENTS.md +16 -0
- package/presets/claude/next/agents/accessibility-reviewer.md +4 -1
- package/presets/claude/next/agents/api-contract-reviewer.md +5 -2
- package/presets/claude/next/agents/build-verifier.md +6 -3
- package/presets/claude/next/agents/ci-investigator.md +1 -1
- package/presets/claude/next/agents/code-reviewer.md +7 -4
- package/presets/claude/next/agents/codebase-analyzer.md +4 -1
- package/presets/claude/next/agents/debugger.md +2 -2
- package/presets/claude/next/agents/feature-developer.md +2 -2
- package/presets/claude/next/agents/migration-specialist.md +4 -1
- package/presets/claude/next/agents/mockup-reviewer.md +4 -1
- package/presets/claude/next/agents/openspec-author.md +4 -1
- package/presets/claude/next/agents/performance-auditor.md +4 -1
- package/presets/claude/next/agents/playwright-test-generator.md +5 -2
- package/presets/claude/next/agents/playwright-test-healer.md +5 -2
- package/presets/claude/next/agents/playwright-test-planner.md +5 -2
- package/presets/claude/next/agents/qa-tester.md +5 -2
- package/presets/claude/next/agents/security-reviewer.md +4 -1
- package/presets/claude/next/agents/solution-architect.md +4 -1
- package/presets/claude/next/agents/task-analyst.md +5 -2
- package/presets/claude/next/agents/task-router.md +4 -1
- package/presets/claude/next/agents/tech-writer.md +4 -1
- package/presets/claude/next/agents/unit-test-generator.md +5 -2
- package/presets/claude/next/agents/unit-test-healer.md +5 -2
- package/presets/claude/next/agents/unit-test-planner.md +5 -2
- package/presets/claude/next/ai-local/conventions.md +26 -1
- package/presets/claude/next/commands/README.md +4 -0
- package/presets/claude/next/commands/rr-scheduler-start.md +32 -0
- package/presets/claude/next/hooks/chain-team-phases.sh +15 -1
- package/presets/claude/next/rules/tooling-and-review/agent-team-intake.md +2 -2
- package/presets/claude/nuxt/agents/build-verifier.md +1 -1
- package/presets/claude/nuxt/agents/code-reviewer.md +1 -1
- package/presets/claude/nuxt/agents/debugger.md +1 -1
- package/presets/claude/nuxt/agents/feature-developer.md +1 -1
- package/presets/claude/nuxt/agents/task-analyst.md +1 -1
- package/presets/claude/nuxt/commands/README.md +4 -0
- package/presets/claude/nuxt/commands/rr-scheduler-start.md +32 -0
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +15 -1
- package/presets/claude/nuxt/rules/tooling-and-review/agent-team-intake.md +2 -2
- package/presets/claude/php-hexagonal/agents/build-verifier.md +1 -1
- package/presets/claude/php-hexagonal/agents/code-reviewer.md +1 -1
- package/presets/claude/php-hexagonal/agents/debugger.md +1 -1
- package/presets/claude/php-hexagonal/agents/feature-developer.md +1 -1
- package/presets/claude/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/claude/php-hexagonal/commands/README.md +4 -0
- package/presets/claude/php-hexagonal/commands/rr-scheduler-start.md +32 -0
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +15 -1
- package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-intake.md +2 -2
- package/presets/claude/php-laravel/agents/build-verifier.md +1 -1
- package/presets/claude/php-laravel/agents/code-reviewer.md +1 -1
- package/presets/claude/php-laravel/agents/debugger.md +1 -1
- package/presets/claude/php-laravel/agents/feature-developer.md +1 -1
- package/presets/claude/php-laravel/agents/task-analyst.md +1 -1
- package/presets/claude/php-laravel/commands/README.md +4 -0
- package/presets/claude/php-laravel/commands/rr-scheduler-start.md +32 -0
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +15 -1
- package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-intake.md +2 -2
- package/presets/claude/svelte/agents/build-verifier.md +1 -1
- package/presets/claude/svelte/agents/code-reviewer.md +1 -1
- package/presets/claude/svelte/agents/debugger.md +1 -1
- package/presets/claude/svelte/agents/feature-developer.md +1 -1
- package/presets/claude/svelte/agents/task-analyst.md +1 -1
- package/presets/claude/svelte/commands/README.md +4 -0
- package/presets/claude/svelte/commands/rr-scheduler-start.md +32 -0
- package/presets/claude/svelte/hooks/chain-team-phases.sh +15 -1
- package/presets/claude/svelte/rules/tooling-and-review/agent-team-intake.md +2 -2
- package/presets/cursor/android-kotlin/agents/build-verifier.md +1 -1
- package/presets/cursor/android-kotlin/agents/code-reviewer.md +1 -1
- package/presets/cursor/android-kotlin/agents/debugger.md +1 -1
- package/presets/cursor/android-kotlin/agents/feature-developer.md +1 -1
- package/presets/cursor/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/cursor/android-kotlin/commands/README.md +4 -0
- package/presets/cursor/android-kotlin/commands/rr-scheduler-start.md +32 -0
- package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +15 -1
- package/presets/cursor/android-kotlin/rules/agent-team-intake.mdc +2 -2
- package/presets/cursor/go/agents/build-verifier.md +1 -1
- package/presets/cursor/go/agents/code-reviewer.md +1 -1
- package/presets/cursor/go/agents/debugger.md +1 -1
- package/presets/cursor/go/agents/feature-developer.md +1 -1
- package/presets/cursor/go/agents/task-analyst.md +1 -1
- package/presets/cursor/go/commands/README.md +4 -0
- package/presets/cursor/go/commands/rr-scheduler-start.md +32 -0
- package/presets/cursor/go/hooks/chain-team-phases.sh +15 -1
- package/presets/cursor/go/rules/agent-team-intake.mdc +2 -2
- package/presets/cursor/ios-swift/agents/build-verifier.md +1 -1
- package/presets/cursor/ios-swift/agents/code-reviewer.md +1 -1
- package/presets/cursor/ios-swift/agents/debugger.md +1 -1
- package/presets/cursor/ios-swift/agents/feature-developer.md +1 -1
- package/presets/cursor/ios-swift/agents/task-analyst.md +1 -1
- package/presets/cursor/ios-swift/commands/README.md +4 -0
- package/presets/cursor/ios-swift/commands/rr-scheduler-start.md +32 -0
- package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +15 -1
- package/presets/cursor/ios-swift/rules/agent-team-intake.mdc +2 -2
- package/presets/cursor/java/agents/build-verifier.md +1 -1
- package/presets/cursor/java/agents/code-reviewer.md +1 -1
- package/presets/cursor/java/agents/debugger.md +1 -1
- package/presets/cursor/java/agents/feature-developer.md +1 -1
- package/presets/cursor/java/agents/task-analyst.md +1 -1
- package/presets/cursor/java/commands/README.md +4 -0
- package/presets/cursor/java/commands/rr-scheduler-start.md +32 -0
- package/presets/cursor/java/hooks/chain-team-phases.sh +15 -1
- package/presets/cursor/java/rules/agent-team-intake.mdc +2 -2
- package/presets/cursor/mcp-ts/agents/build-verifier.md +1 -1
- package/presets/cursor/mcp-ts/agents/feature-developer.md +1 -1
- package/presets/cursor/mcp-ts/agents/task-analyst.md +1 -1
- package/presets/cursor/mcp-ts/commands/README.md +4 -0
- package/presets/cursor/mcp-ts/commands/rr-scheduler-start.md +32 -0
- package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +15 -1
- package/presets/cursor/mcp-ts/rules/agent-team-intake.mdc +2 -2
- package/presets/cursor/mol/agents/build-verifier.md +1 -1
- package/presets/cursor/mol/agents/code-reviewer.md +1 -1
- package/presets/cursor/mol/agents/debugger.md +1 -1
- package/presets/cursor/mol/agents/feature-developer.md +1 -1
- package/presets/cursor/mol/agents/task-analyst.md +1 -1
- package/presets/cursor/mol/commands/README.md +4 -0
- package/presets/cursor/mol/commands/rr-scheduler-start.md +32 -0
- package/presets/cursor/mol/hooks/chain-team-phases.sh +15 -1
- package/presets/cursor/mol/rules/agent-team-intake.mdc +2 -2
- package/presets/cursor/next/AGENTS.md +2 -1
- package/presets/cursor/next/REPO_AGENTS.md +16 -0
- package/presets/cursor/next/agents/build-verifier.md +1 -1
- package/presets/cursor/next/agents/code-reviewer.md +1 -1
- package/presets/cursor/next/agents/debugger.md +1 -1
- package/presets/cursor/next/agents/feature-developer.md +1 -1
- package/presets/cursor/next/agents/task-analyst.md +1 -1
- package/presets/cursor/next/ai-local/conventions.md +6 -1
- package/presets/cursor/next/commands/README.md +4 -0
- package/presets/cursor/next/commands/rr-scheduler-start.md +32 -0
- package/presets/cursor/next/hooks/chain-team-phases.sh +15 -1
- package/presets/cursor/next/rules/agent-team-intake.mdc +2 -2
- package/presets/cursor/nuxt/agents/build-verifier.md +1 -1
- package/presets/cursor/nuxt/agents/code-reviewer.md +1 -1
- package/presets/cursor/nuxt/agents/debugger.md +1 -1
- package/presets/cursor/nuxt/agents/feature-developer.md +1 -1
- package/presets/cursor/nuxt/agents/task-analyst.md +1 -1
- package/presets/cursor/nuxt/commands/README.md +4 -0
- package/presets/cursor/nuxt/commands/rr-scheduler-start.md +32 -0
- package/presets/cursor/nuxt/hooks/chain-team-phases.sh +15 -1
- package/presets/cursor/nuxt/rules/agent-team-intake.mdc +2 -2
- package/presets/cursor/php-hexagonal/agents/build-verifier.md +1 -1
- package/presets/cursor/php-hexagonal/agents/code-reviewer.md +1 -1
- package/presets/cursor/php-hexagonal/agents/debugger.md +1 -1
- package/presets/cursor/php-hexagonal/agents/feature-developer.md +1 -1
- package/presets/cursor/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/cursor/php-hexagonal/commands/README.md +4 -0
- package/presets/cursor/php-hexagonal/commands/rr-scheduler-start.md +32 -0
- package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +15 -1
- package/presets/cursor/php-hexagonal/rules/agent-team-intake.mdc +2 -2
- package/presets/cursor/php-laravel/agents/build-verifier.md +1 -1
- package/presets/cursor/php-laravel/agents/code-reviewer.md +1 -1
- package/presets/cursor/php-laravel/agents/debugger.md +1 -1
- package/presets/cursor/php-laravel/agents/feature-developer.md +1 -1
- package/presets/cursor/php-laravel/agents/task-analyst.md +1 -1
- package/presets/cursor/php-laravel/commands/README.md +4 -0
- package/presets/cursor/php-laravel/commands/rr-scheduler-start.md +32 -0
- package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +15 -1
- package/presets/cursor/php-laravel/rules/agent-team-intake.mdc +2 -2
- package/presets/cursor/svelte/agents/build-verifier.md +1 -1
- package/presets/cursor/svelte/agents/code-reviewer.md +1 -1
- package/presets/cursor/svelte/agents/debugger.md +1 -1
- package/presets/cursor/svelte/agents/feature-developer.md +1 -1
- package/presets/cursor/svelte/agents/task-analyst.md +1 -1
- package/presets/cursor/svelte/commands/README.md +4 -0
- package/presets/cursor/svelte/commands/rr-scheduler-start.md +32 -0
- package/presets/cursor/svelte/hooks/chain-team-phases.sh +15 -1
- package/presets/cursor/svelte/rules/agent-team-intake.mdc +2 -2
- package/presets/mavis/android-kotlin/adapter-map.json +9 -1
- package/presets/mavis/android-kotlin/agents/build-verifier.md +1 -1
- package/presets/mavis/android-kotlin/agents/code-reviewer.md +1 -1
- package/presets/mavis/android-kotlin/agents/debugger.md +1 -1
- package/presets/mavis/android-kotlin/agents/feature-developer.md +1 -1
- package/presets/mavis/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/mavis/android-kotlin/commands/README.md +4 -0
- package/presets/mavis/android-kotlin/commands/rr-scheduler-start.md +27 -0
- package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +15 -1
- package/presets/mavis/android-kotlin/rules/agent-team-intake.md +2 -2
- package/presets/mavis/go/adapter-map.json +9 -1
- package/presets/mavis/go/agents/build-verifier.md +1 -1
- package/presets/mavis/go/agents/code-reviewer.md +1 -1
- package/presets/mavis/go/agents/debugger.md +1 -1
- package/presets/mavis/go/agents/feature-developer.md +1 -1
- package/presets/mavis/go/agents/task-analyst.md +1 -1
- package/presets/mavis/go/commands/README.md +4 -0
- package/presets/mavis/go/commands/rr-scheduler-start.md +27 -0
- package/presets/mavis/go/hooks/chain-team-phases.sh +15 -1
- package/presets/mavis/go/rules/agent-team-intake.md +2 -2
- package/presets/mavis/ios-swift/adapter-map.json +9 -1
- package/presets/mavis/ios-swift/agents/build-verifier.md +1 -1
- package/presets/mavis/ios-swift/agents/code-reviewer.md +1 -1
- package/presets/mavis/ios-swift/agents/debugger.md +1 -1
- package/presets/mavis/ios-swift/agents/feature-developer.md +1 -1
- package/presets/mavis/ios-swift/agents/task-analyst.md +1 -1
- package/presets/mavis/ios-swift/commands/README.md +4 -0
- package/presets/mavis/ios-swift/commands/rr-scheduler-start.md +27 -0
- package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +15 -1
- package/presets/mavis/ios-swift/rules/agent-team-intake.md +2 -2
- package/presets/mavis/java/adapter-map.json +9 -1
- package/presets/mavis/java/agents/build-verifier.md +1 -1
- package/presets/mavis/java/agents/code-reviewer.md +1 -1
- package/presets/mavis/java/agents/debugger.md +1 -1
- package/presets/mavis/java/agents/feature-developer.md +1 -1
- package/presets/mavis/java/agents/task-analyst.md +1 -1
- package/presets/mavis/java/commands/README.md +4 -0
- package/presets/mavis/java/commands/rr-scheduler-start.md +27 -0
- package/presets/mavis/java/hooks/chain-team-phases.sh +15 -1
- package/presets/mavis/java/rules/agent-team-intake.md +2 -2
- package/presets/mavis/mcp-ts/adapter-map.json +9 -1
- package/presets/mavis/mcp-ts/agents/build-verifier.md +1 -1
- package/presets/mavis/mcp-ts/agents/feature-developer.md +1 -1
- package/presets/mavis/mcp-ts/agents/task-analyst.md +1 -1
- package/presets/mavis/mcp-ts/commands/README.md +4 -0
- package/presets/mavis/mcp-ts/commands/rr-scheduler-start.md +27 -0
- package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +15 -1
- package/presets/mavis/mcp-ts/rules/agent-team-intake.md +2 -2
- package/presets/mavis/mol/adapter-map.json +9 -1
- package/presets/mavis/mol/agents/build-verifier.md +1 -1
- package/presets/mavis/mol/agents/code-reviewer.md +1 -1
- package/presets/mavis/mol/agents/debugger.md +1 -1
- package/presets/mavis/mol/agents/feature-developer.md +1 -1
- package/presets/mavis/mol/agents/task-analyst.md +1 -1
- package/presets/mavis/mol/commands/README.md +4 -0
- package/presets/mavis/mol/commands/rr-scheduler-start.md +27 -0
- package/presets/mavis/mol/hooks/chain-team-phases.sh +15 -1
- package/presets/mavis/mol/rules/agent-team-intake.md +2 -2
- package/presets/mavis/next/MAVIS.md +2 -1
- package/presets/mavis/next/REPO_AGENTS.md +16 -0
- package/presets/mavis/next/adapter-map.json +9 -1
- package/presets/mavis/next/agents/accessibility-reviewer.md +4 -1
- package/presets/mavis/next/agents/api-contract-reviewer.md +5 -2
- package/presets/mavis/next/agents/build-verifier.md +6 -3
- package/presets/mavis/next/agents/ci-investigator.md +1 -1
- package/presets/mavis/next/agents/code-reviewer.md +7 -4
- package/presets/mavis/next/agents/codebase-analyzer.md +4 -1
- package/presets/mavis/next/agents/debugger.md +2 -2
- package/presets/mavis/next/agents/feature-developer.md +2 -2
- package/presets/mavis/next/agents/migration-specialist.md +4 -1
- package/presets/mavis/next/agents/mockup-reviewer.md +4 -1
- package/presets/mavis/next/agents/openspec-author.md +4 -1
- package/presets/mavis/next/agents/performance-auditor.md +4 -1
- package/presets/mavis/next/agents/playwright-test-generator.md +5 -2
- package/presets/mavis/next/agents/playwright-test-healer.md +5 -2
- package/presets/mavis/next/agents/playwright-test-planner.md +5 -2
- package/presets/mavis/next/agents/qa-tester.md +5 -2
- package/presets/mavis/next/agents/security-reviewer.md +4 -1
- package/presets/mavis/next/agents/solution-architect.md +4 -1
- package/presets/mavis/next/agents/task-analyst.md +5 -2
- package/presets/mavis/next/agents/task-router.md +4 -1
- package/presets/mavis/next/agents/tech-writer.md +4 -1
- package/presets/mavis/next/agents/unit-test-generator.md +5 -2
- package/presets/mavis/next/agents/unit-test-healer.md +5 -2
- package/presets/mavis/next/agents/unit-test-planner.md +5 -2
- package/presets/mavis/next/ai-local/conventions.md +6 -1
- package/presets/mavis/next/commands/README.md +4 -0
- package/presets/mavis/next/commands/rr-scheduler-start.md +27 -0
- package/presets/mavis/next/hooks/chain-team-phases.sh +15 -1
- package/presets/mavis/next/rules/agent-team-intake.md +2 -2
- package/presets/mavis/nuxt/adapter-map.json +9 -1
- package/presets/mavis/nuxt/agents/build-verifier.md +1 -1
- package/presets/mavis/nuxt/agents/code-reviewer.md +1 -1
- package/presets/mavis/nuxt/agents/debugger.md +1 -1
- package/presets/mavis/nuxt/agents/feature-developer.md +1 -1
- package/presets/mavis/nuxt/agents/task-analyst.md +1 -1
- package/presets/mavis/nuxt/commands/README.md +4 -0
- package/presets/mavis/nuxt/commands/rr-scheduler-start.md +27 -0
- package/presets/mavis/nuxt/hooks/chain-team-phases.sh +15 -1
- package/presets/mavis/nuxt/rules/agent-team-intake.md +2 -2
- package/presets/mavis/php-hexagonal/adapter-map.json +9 -1
- package/presets/mavis/php-hexagonal/agents/build-verifier.md +1 -1
- package/presets/mavis/php-hexagonal/agents/code-reviewer.md +1 -1
- package/presets/mavis/php-hexagonal/agents/debugger.md +1 -1
- package/presets/mavis/php-hexagonal/agents/feature-developer.md +1 -1
- package/presets/mavis/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/mavis/php-hexagonal/commands/README.md +4 -0
- package/presets/mavis/php-hexagonal/commands/rr-scheduler-start.md +27 -0
- package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +15 -1
- package/presets/mavis/php-hexagonal/rules/agent-team-intake.md +2 -2
- package/presets/mavis/php-laravel/adapter-map.json +9 -1
- package/presets/mavis/php-laravel/agents/build-verifier.md +1 -1
- package/presets/mavis/php-laravel/agents/code-reviewer.md +1 -1
- package/presets/mavis/php-laravel/agents/debugger.md +1 -1
- package/presets/mavis/php-laravel/agents/feature-developer.md +1 -1
- package/presets/mavis/php-laravel/agents/task-analyst.md +1 -1
- package/presets/mavis/php-laravel/commands/README.md +4 -0
- package/presets/mavis/php-laravel/commands/rr-scheduler-start.md +27 -0
- package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +15 -1
- package/presets/mavis/php-laravel/rules/agent-team-intake.md +2 -2
- package/presets/mavis/svelte/adapter-map.json +9 -1
- package/presets/mavis/svelte/agents/build-verifier.md +1 -1
- package/presets/mavis/svelte/agents/code-reviewer.md +1 -1
- package/presets/mavis/svelte/agents/debugger.md +1 -1
- package/presets/mavis/svelte/agents/feature-developer.md +1 -1
- package/presets/mavis/svelte/agents/task-analyst.md +1 -1
- package/presets/mavis/svelte/commands/README.md +4 -0
- package/presets/mavis/svelte/commands/rr-scheduler-start.md +27 -0
- package/presets/mavis/svelte/hooks/chain-team-phases.sh +15 -1
- package/presets/mavis/svelte/rules/agent-team-intake.md +2 -2
- package/presets/opencode/android-kotlin/adapter-map.json +9 -1
- package/presets/opencode/android-kotlin/agents/build-verifier.md +1 -1
- package/presets/opencode/android-kotlin/agents/code-reviewer.md +1 -1
- package/presets/opencode/android-kotlin/agents/debugger.md +1 -1
- package/presets/opencode/android-kotlin/agents/feature-developer.md +1 -1
- package/presets/opencode/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/opencode/android-kotlin/commands/README.md +4 -0
- package/presets/opencode/android-kotlin/commands/rr-scheduler-start.md +35 -0
- package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +15 -1
- package/presets/opencode/android-kotlin/rules/agent-team-intake.md +2 -2
- package/presets/opencode/go/adapter-map.json +9 -1
- package/presets/opencode/go/agents/build-verifier.md +1 -1
- package/presets/opencode/go/agents/code-reviewer.md +1 -1
- package/presets/opencode/go/agents/debugger.md +1 -1
- package/presets/opencode/go/agents/feature-developer.md +1 -1
- package/presets/opencode/go/agents/task-analyst.md +1 -1
- package/presets/opencode/go/commands/README.md +4 -0
- package/presets/opencode/go/commands/rr-scheduler-start.md +35 -0
- package/presets/opencode/go/hooks/chain-team-phases.sh +15 -1
- package/presets/opencode/go/rules/agent-team-intake.md +2 -2
- package/presets/opencode/ios-swift/adapter-map.json +9 -1
- package/presets/opencode/ios-swift/agents/build-verifier.md +1 -1
- package/presets/opencode/ios-swift/agents/code-reviewer.md +1 -1
- package/presets/opencode/ios-swift/agents/debugger.md +1 -1
- package/presets/opencode/ios-swift/agents/feature-developer.md +1 -1
- package/presets/opencode/ios-swift/agents/task-analyst.md +1 -1
- package/presets/opencode/ios-swift/commands/README.md +4 -0
- package/presets/opencode/ios-swift/commands/rr-scheduler-start.md +35 -0
- package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +15 -1
- package/presets/opencode/ios-swift/rules/agent-team-intake.md +2 -2
- package/presets/opencode/java/adapter-map.json +9 -1
- package/presets/opencode/java/agents/build-verifier.md +1 -1
- package/presets/opencode/java/agents/code-reviewer.md +1 -1
- package/presets/opencode/java/agents/debugger.md +1 -1
- package/presets/opencode/java/agents/feature-developer.md +1 -1
- package/presets/opencode/java/agents/task-analyst.md +1 -1
- package/presets/opencode/java/commands/README.md +4 -0
- package/presets/opencode/java/commands/rr-scheduler-start.md +35 -0
- package/presets/opencode/java/hooks/chain-team-phases.sh +15 -1
- package/presets/opencode/java/rules/agent-team-intake.md +2 -2
- package/presets/opencode/mcp-ts/adapter-map.json +9 -1
- package/presets/opencode/mcp-ts/agents/build-verifier.md +1 -1
- package/presets/opencode/mcp-ts/agents/feature-developer.md +1 -1
- package/presets/opencode/mcp-ts/agents/task-analyst.md +1 -1
- package/presets/opencode/mcp-ts/commands/README.md +4 -0
- package/presets/opencode/mcp-ts/commands/rr-scheduler-start.md +35 -0
- package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +15 -1
- package/presets/opencode/mcp-ts/rules/agent-team-intake.md +2 -2
- package/presets/opencode/mol/adapter-map.json +9 -1
- package/presets/opencode/mol/agents/build-verifier.md +1 -1
- package/presets/opencode/mol/agents/code-reviewer.md +1 -1
- package/presets/opencode/mol/agents/debugger.md +1 -1
- package/presets/opencode/mol/agents/feature-developer.md +1 -1
- package/presets/opencode/mol/agents/task-analyst.md +1 -1
- package/presets/opencode/mol/commands/README.md +4 -0
- package/presets/opencode/mol/commands/rr-scheduler-start.md +35 -0
- package/presets/opencode/mol/hooks/chain-team-phases.sh +15 -1
- package/presets/opencode/mol/rules/agent-team-intake.md +2 -2
- package/presets/opencode/next/OPENCODE.md +2 -1
- package/presets/opencode/next/REPO_AGENTS.md +16 -0
- package/presets/opencode/next/adapter-map.json +9 -1
- package/presets/opencode/next/agents/accessibility-reviewer.md +4 -1
- package/presets/opencode/next/agents/api-contract-reviewer.md +5 -2
- package/presets/opencode/next/agents/build-verifier.md +6 -3
- package/presets/opencode/next/agents/ci-investigator.md +1 -1
- package/presets/opencode/next/agents/code-reviewer.md +7 -4
- package/presets/opencode/next/agents/codebase-analyzer.md +4 -1
- package/presets/opencode/next/agents/debugger.md +2 -2
- package/presets/opencode/next/agents/feature-developer.md +2 -2
- package/presets/opencode/next/agents/migration-specialist.md +4 -1
- package/presets/opencode/next/agents/mockup-reviewer.md +4 -1
- package/presets/opencode/next/agents/openspec-author.md +4 -1
- package/presets/opencode/next/agents/performance-auditor.md +4 -1
- package/presets/opencode/next/agents/playwright-test-generator.md +5 -2
- package/presets/opencode/next/agents/playwright-test-healer.md +5 -2
- package/presets/opencode/next/agents/playwright-test-planner.md +5 -2
- package/presets/opencode/next/agents/qa-tester.md +5 -2
- package/presets/opencode/next/agents/security-reviewer.md +4 -1
- package/presets/opencode/next/agents/solution-architect.md +4 -1
- package/presets/opencode/next/agents/task-analyst.md +5 -2
- package/presets/opencode/next/agents/task-router.md +4 -1
- package/presets/opencode/next/agents/tech-writer.md +4 -1
- package/presets/opencode/next/agents/unit-test-generator.md +5 -2
- package/presets/opencode/next/agents/unit-test-healer.md +5 -2
- package/presets/opencode/next/agents/unit-test-planner.md +5 -2
- package/presets/opencode/next/ai-local/conventions.md +6 -1
- package/presets/opencode/next/commands/README.md +4 -0
- package/presets/opencode/next/commands/rr-scheduler-start.md +35 -0
- package/presets/opencode/next/hooks/chain-team-phases.sh +15 -1
- package/presets/opencode/next/rules/agent-team-intake.md +2 -2
- package/presets/opencode/nuxt/adapter-map.json +9 -1
- package/presets/opencode/nuxt/agents/build-verifier.md +1 -1
- package/presets/opencode/nuxt/agents/code-reviewer.md +1 -1
- package/presets/opencode/nuxt/agents/debugger.md +1 -1
- package/presets/opencode/nuxt/agents/feature-developer.md +1 -1
- package/presets/opencode/nuxt/agents/task-analyst.md +1 -1
- package/presets/opencode/nuxt/commands/README.md +4 -0
- package/presets/opencode/nuxt/commands/rr-scheduler-start.md +35 -0
- package/presets/opencode/nuxt/hooks/chain-team-phases.sh +15 -1
- package/presets/opencode/nuxt/rules/agent-team-intake.md +2 -2
- package/presets/opencode/php-hexagonal/adapter-map.json +9 -1
- package/presets/opencode/php-hexagonal/agents/build-verifier.md +1 -1
- package/presets/opencode/php-hexagonal/agents/code-reviewer.md +1 -1
- package/presets/opencode/php-hexagonal/agents/debugger.md +1 -1
- package/presets/opencode/php-hexagonal/agents/feature-developer.md +1 -1
- package/presets/opencode/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/opencode/php-hexagonal/commands/README.md +4 -0
- package/presets/opencode/php-hexagonal/commands/rr-scheduler-start.md +35 -0
- package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +15 -1
- package/presets/opencode/php-hexagonal/rules/agent-team-intake.md +2 -2
- package/presets/opencode/php-laravel/adapter-map.json +9 -1
- package/presets/opencode/php-laravel/agents/build-verifier.md +1 -1
- package/presets/opencode/php-laravel/agents/code-reviewer.md +1 -1
- package/presets/opencode/php-laravel/agents/debugger.md +1 -1
- package/presets/opencode/php-laravel/agents/feature-developer.md +1 -1
- package/presets/opencode/php-laravel/agents/task-analyst.md +1 -1
- package/presets/opencode/php-laravel/commands/README.md +4 -0
- package/presets/opencode/php-laravel/commands/rr-scheduler-start.md +35 -0
- package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +15 -1
- package/presets/opencode/php-laravel/rules/agent-team-intake.md +2 -2
- package/presets/opencode/plugins/output-guard/README.md +56 -9
- package/presets/opencode/plugins/output-guard/actions.ts +201 -0
- package/presets/opencode/plugins/output-guard/index.ts +147 -6
- package/presets/opencode/plugins/output-guard/rewrite.ts +15 -9
- package/presets/opencode/svelte/adapter-map.json +9 -1
- package/presets/opencode/svelte/agents/build-verifier.md +1 -1
- package/presets/opencode/svelte/agents/code-reviewer.md +1 -1
- package/presets/opencode/svelte/agents/debugger.md +1 -1
- package/presets/opencode/svelte/agents/feature-developer.md +1 -1
- package/presets/opencode/svelte/agents/task-analyst.md +1 -1
- package/presets/opencode/svelte/commands/README.md +4 -0
- package/presets/opencode/svelte/commands/rr-scheduler-start.md +35 -0
- package/presets/opencode/svelte/hooks/chain-team-phases.sh +15 -1
- package/presets/opencode/svelte/rules/agent-team-intake.md +2 -2
- package/presets/zcode/android-kotlin/adapter-map.json +9 -1
- package/presets/zcode/android-kotlin/agents/build-verifier.md +1 -1
- package/presets/zcode/android-kotlin/agents/code-reviewer.md +1 -1
- package/presets/zcode/android-kotlin/agents/debugger.md +1 -1
- package/presets/zcode/android-kotlin/agents/feature-developer.md +1 -1
- package/presets/zcode/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/zcode/android-kotlin/commands/README.md +4 -0
- package/presets/zcode/android-kotlin/commands/rr-scheduler-start.md +35 -0
- package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +15 -1
- package/presets/zcode/android-kotlin/rules/agent-team-intake.md +2 -2
- package/presets/zcode/go/adapter-map.json +9 -1
- package/presets/zcode/go/agents/build-verifier.md +1 -1
- package/presets/zcode/go/agents/code-reviewer.md +1 -1
- package/presets/zcode/go/agents/debugger.md +1 -1
- package/presets/zcode/go/agents/feature-developer.md +1 -1
- package/presets/zcode/go/agents/task-analyst.md +1 -1
- package/presets/zcode/go/commands/README.md +4 -0
- package/presets/zcode/go/commands/rr-scheduler-start.md +35 -0
- package/presets/zcode/go/hooks/chain-team-phases.sh +15 -1
- package/presets/zcode/go/rules/agent-team-intake.md +2 -2
- package/presets/zcode/ios-swift/adapter-map.json +9 -1
- package/presets/zcode/ios-swift/agents/build-verifier.md +1 -1
- package/presets/zcode/ios-swift/agents/code-reviewer.md +1 -1
- package/presets/zcode/ios-swift/agents/debugger.md +1 -1
- package/presets/zcode/ios-swift/agents/feature-developer.md +1 -1
- package/presets/zcode/ios-swift/agents/task-analyst.md +1 -1
- package/presets/zcode/ios-swift/commands/README.md +4 -0
- package/presets/zcode/ios-swift/commands/rr-scheduler-start.md +35 -0
- package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +15 -1
- package/presets/zcode/ios-swift/rules/agent-team-intake.md +2 -2
- package/presets/zcode/java/adapter-map.json +9 -1
- package/presets/zcode/java/agents/build-verifier.md +1 -1
- package/presets/zcode/java/agents/code-reviewer.md +1 -1
- package/presets/zcode/java/agents/debugger.md +1 -1
- package/presets/zcode/java/agents/feature-developer.md +1 -1
- package/presets/zcode/java/agents/task-analyst.md +1 -1
- package/presets/zcode/java/commands/README.md +4 -0
- package/presets/zcode/java/commands/rr-scheduler-start.md +35 -0
- package/presets/zcode/java/hooks/chain-team-phases.sh +15 -1
- package/presets/zcode/java/rules/agent-team-intake.md +2 -2
- package/presets/zcode/mcp-ts/adapter-map.json +9 -1
- package/presets/zcode/mcp-ts/agents/build-verifier.md +1 -1
- package/presets/zcode/mcp-ts/agents/feature-developer.md +1 -1
- package/presets/zcode/mcp-ts/agents/task-analyst.md +1 -1
- package/presets/zcode/mcp-ts/commands/README.md +4 -0
- package/presets/zcode/mcp-ts/commands/rr-scheduler-start.md +35 -0
- package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +15 -1
- package/presets/zcode/mcp-ts/rules/agent-team-intake.md +2 -2
- package/presets/zcode/mol/adapter-map.json +9 -1
- package/presets/zcode/mol/agents/build-verifier.md +1 -1
- package/presets/zcode/mol/agents/code-reviewer.md +1 -1
- package/presets/zcode/mol/agents/debugger.md +1 -1
- package/presets/zcode/mol/agents/feature-developer.md +1 -1
- package/presets/zcode/mol/agents/task-analyst.md +1 -1
- package/presets/zcode/mol/commands/README.md +4 -0
- package/presets/zcode/mol/commands/rr-scheduler-start.md +35 -0
- package/presets/zcode/mol/hooks/chain-team-phases.sh +15 -1
- package/presets/zcode/mol/rules/agent-team-intake.md +2 -2
- package/presets/zcode/next/REPO_AGENTS.md +16 -0
- package/presets/zcode/next/adapter-map.json +9 -1
- package/presets/zcode/next/agents/accessibility-reviewer.md +4 -1
- package/presets/zcode/next/agents/api-contract-reviewer.md +5 -2
- package/presets/zcode/next/agents/build-verifier.md +6 -3
- package/presets/zcode/next/agents/ci-investigator.md +1 -1
- package/presets/zcode/next/agents/code-reviewer.md +7 -4
- package/presets/zcode/next/agents/codebase-analyzer.md +4 -1
- package/presets/zcode/next/agents/debugger.md +2 -2
- package/presets/zcode/next/agents/feature-developer.md +2 -2
- package/presets/zcode/next/agents/migration-specialist.md +4 -1
- package/presets/zcode/next/agents/mockup-reviewer.md +4 -1
- package/presets/zcode/next/agents/openspec-author.md +4 -1
- package/presets/zcode/next/agents/performance-auditor.md +4 -1
- package/presets/zcode/next/agents/playwright-test-generator.md +5 -2
- package/presets/zcode/next/agents/playwright-test-healer.md +5 -2
- package/presets/zcode/next/agents/playwright-test-planner.md +5 -2
- package/presets/zcode/next/agents/qa-tester.md +5 -2
- package/presets/zcode/next/agents/security-reviewer.md +4 -1
- package/presets/zcode/next/agents/solution-architect.md +4 -1
- package/presets/zcode/next/agents/task-analyst.md +5 -2
- package/presets/zcode/next/agents/task-router.md +4 -1
- package/presets/zcode/next/agents/tech-writer.md +4 -1
- package/presets/zcode/next/agents/unit-test-generator.md +5 -2
- package/presets/zcode/next/agents/unit-test-healer.md +5 -2
- package/presets/zcode/next/agents/unit-test-planner.md +5 -2
- package/presets/zcode/next/ai-local/conventions.md +6 -1
- package/presets/zcode/next/commands/README.md +4 -0
- package/presets/zcode/next/commands/rr-scheduler-start.md +35 -0
- package/presets/zcode/next/hooks/chain-team-phases.sh +15 -1
- package/presets/zcode/next/rules/agent-team-intake.md +2 -2
- package/presets/zcode/nuxt/adapter-map.json +9 -1
- package/presets/zcode/nuxt/agents/build-verifier.md +1 -1
- package/presets/zcode/nuxt/agents/code-reviewer.md +1 -1
- package/presets/zcode/nuxt/agents/debugger.md +1 -1
- package/presets/zcode/nuxt/agents/feature-developer.md +1 -1
- package/presets/zcode/nuxt/agents/task-analyst.md +1 -1
- package/presets/zcode/nuxt/commands/README.md +4 -0
- package/presets/zcode/nuxt/commands/rr-scheduler-start.md +35 -0
- package/presets/zcode/nuxt/hooks/chain-team-phases.sh +15 -1
- package/presets/zcode/nuxt/rules/agent-team-intake.md +2 -2
- package/presets/zcode/php-hexagonal/adapter-map.json +9 -1
- package/presets/zcode/php-hexagonal/agents/build-verifier.md +1 -1
- package/presets/zcode/php-hexagonal/agents/code-reviewer.md +1 -1
- package/presets/zcode/php-hexagonal/agents/debugger.md +1 -1
- package/presets/zcode/php-hexagonal/agents/feature-developer.md +1 -1
- package/presets/zcode/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/zcode/php-hexagonal/commands/README.md +4 -0
- package/presets/zcode/php-hexagonal/commands/rr-scheduler-start.md +35 -0
- package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +15 -1
- package/presets/zcode/php-hexagonal/rules/agent-team-intake.md +2 -2
- package/presets/zcode/php-laravel/adapter-map.json +9 -1
- package/presets/zcode/php-laravel/agents/build-verifier.md +1 -1
- package/presets/zcode/php-laravel/agents/code-reviewer.md +1 -1
- package/presets/zcode/php-laravel/agents/debugger.md +1 -1
- package/presets/zcode/php-laravel/agents/feature-developer.md +1 -1
- package/presets/zcode/php-laravel/agents/task-analyst.md +1 -1
- package/presets/zcode/php-laravel/commands/README.md +4 -0
- package/presets/zcode/php-laravel/commands/rr-scheduler-start.md +35 -0
- package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +15 -1
- package/presets/zcode/php-laravel/rules/agent-team-intake.md +2 -2
- package/presets/zcode/svelte/adapter-map.json +9 -1
- package/presets/zcode/svelte/agents/build-verifier.md +1 -1
- package/presets/zcode/svelte/agents/code-reviewer.md +1 -1
- package/presets/zcode/svelte/agents/debugger.md +1 -1
- package/presets/zcode/svelte/agents/feature-developer.md +1 -1
- package/presets/zcode/svelte/agents/task-analyst.md +1 -1
- package/presets/zcode/svelte/commands/README.md +4 -0
- package/presets/zcode/svelte/commands/rr-scheduler-start.md +35 -0
- package/presets/zcode/svelte/hooks/chain-team-phases.sh +15 -1
- package/presets/zcode/svelte/rules/agent-team-intake.md +2 -2
|
@@ -3473,7 +3473,7 @@
|
|
|
3473
3473
|
"tracker"
|
|
3474
3474
|
],
|
|
3475
3475
|
"summary": "List launch-queue entries",
|
|
3476
|
-
"description": "`status` matches the derived effective entry status (`active` and `done` are computed from the task row, never stored); `itemId` narrows to one item.",
|
|
3476
|
+
"description": "`status` matches the derived effective entry status (`active` and `done` are computed from the task row, never stored); `itemId` narrows to one item. A task in a holding state (`in_progress`, `awaiting_artifact_receipt`, `blocked`) that has no non-terminal queue entry is included as a derived row: `entryId` is null, `itemId` is null when the task has no tracker link, `status` is `active`. The row is not a queue file and cannot be cancelled.",
|
|
3477
3477
|
"operationId": "listTrackerQueue",
|
|
3478
3478
|
"parameters": [
|
|
3479
3479
|
{
|
|
@@ -5030,14 +5030,14 @@
|
|
|
5030
5030
|
"security": []
|
|
5031
5031
|
}
|
|
5032
5032
|
},
|
|
5033
|
-
"/api/v1/efficiency/
|
|
5033
|
+
"/api/v1/efficiency/actions": {
|
|
5034
5034
|
"get": {
|
|
5035
5035
|
"tags": [
|
|
5036
5036
|
"efficiency"
|
|
5037
5037
|
],
|
|
5038
|
-
"summary": "The
|
|
5039
|
-
"description": "`
|
|
5040
|
-
"operationId": "
|
|
5038
|
+
"summary": "The action rollup and its paged rows",
|
|
5039
|
+
"description": "Counts, ratios and the per-rung attribution coverage of the measured agent actions. `totals.actions` and `totals.turns` are the sample sizes a reader needs: a ratio whose sample is below its own floor is the consumer's decision, so a zero denominator is `null` here and never `0`. `coverage` is the rung split of the returned page only — the attribution chip reads `attribution.byRung`, which is window-wide. `attribution` extends the shipped block with `byRung` and `coverage`; its four original keys keep their meaning inside the same filter, except `unmappedTurns`, which a turn can only filter by window and task.",
|
|
5040
|
+
"operationId": "getEfficiencyActions",
|
|
5041
5041
|
"parameters": [
|
|
5042
5042
|
{
|
|
5043
5043
|
"name": "from",
|
|
@@ -5056,15 +5056,88 @@
|
|
|
5056
5056
|
"schema": {
|
|
5057
5057
|
"type": "string"
|
|
5058
5058
|
}
|
|
5059
|
+
},
|
|
5060
|
+
{
|
|
5061
|
+
"name": "task",
|
|
5062
|
+
"in": "query",
|
|
5063
|
+
"description": "Restrict to rows attributed to this task slug.",
|
|
5064
|
+
"required": false,
|
|
5065
|
+
"schema": {
|
|
5066
|
+
"type": "string",
|
|
5067
|
+
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
|
5068
|
+
}
|
|
5069
|
+
},
|
|
5070
|
+
{
|
|
5071
|
+
"name": "includeAbsent",
|
|
5072
|
+
"in": "query",
|
|
5073
|
+
"description": "Include telemetry whose `task_slug` is NULL (unattributed). A `task` filter always implies attributed rows only.",
|
|
5074
|
+
"required": false,
|
|
5075
|
+
"schema": {
|
|
5076
|
+
"type": "boolean",
|
|
5077
|
+
"default": false
|
|
5078
|
+
}
|
|
5079
|
+
},
|
|
5080
|
+
{
|
|
5081
|
+
"name": "intent",
|
|
5082
|
+
"in": "query",
|
|
5083
|
+
"description": "Comma-separated action intents. Valid values: `explore`, `mutate`, `execute`, `delegate`, `ask`, `meta`, `web`. Any value outside this list is rejected with 422 `E_VALIDATION`.",
|
|
5084
|
+
"required": false,
|
|
5085
|
+
"schema": {
|
|
5086
|
+
"type": "string",
|
|
5087
|
+
"enum": [
|
|
5088
|
+
"explore",
|
|
5089
|
+
"mutate",
|
|
5090
|
+
"execute",
|
|
5091
|
+
"delegate",
|
|
5092
|
+
"ask",
|
|
5093
|
+
"meta",
|
|
5094
|
+
"web"
|
|
5095
|
+
]
|
|
5096
|
+
}
|
|
5097
|
+
},
|
|
5098
|
+
{
|
|
5099
|
+
"name": "agent",
|
|
5100
|
+
"in": "query",
|
|
5101
|
+
"description": "Restrict to the actions of one agent.",
|
|
5102
|
+
"required": false,
|
|
5103
|
+
"schema": {
|
|
5104
|
+
"type": "string",
|
|
5105
|
+
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$",
|
|
5106
|
+
"maxLength": 64
|
|
5107
|
+
}
|
|
5108
|
+
},
|
|
5109
|
+
{
|
|
5110
|
+
"name": "limit",
|
|
5111
|
+
"in": "query",
|
|
5112
|
+
"description": "Page size, 1..200.",
|
|
5113
|
+
"required": false,
|
|
5114
|
+
"schema": {
|
|
5115
|
+
"type": "integer",
|
|
5116
|
+
"minimum": 1,
|
|
5117
|
+
"maximum": 200,
|
|
5118
|
+
"default": 50
|
|
5119
|
+
}
|
|
5120
|
+
},
|
|
5121
|
+
{
|
|
5122
|
+
"name": "offset",
|
|
5123
|
+
"in": "query",
|
|
5124
|
+
"description": "Zero-based row offset, 0..1000000.",
|
|
5125
|
+
"required": false,
|
|
5126
|
+
"schema": {
|
|
5127
|
+
"type": "integer",
|
|
5128
|
+
"minimum": 0,
|
|
5129
|
+
"maximum": 1000000,
|
|
5130
|
+
"default": 0
|
|
5131
|
+
}
|
|
5059
5132
|
}
|
|
5060
5133
|
],
|
|
5061
5134
|
"responses": {
|
|
5062
5135
|
"200": {
|
|
5063
|
-
"description": "
|
|
5136
|
+
"description": "The rollup, the breakdowns and one page of actions",
|
|
5064
5137
|
"content": {
|
|
5065
5138
|
"application/json": {
|
|
5066
5139
|
"schema": {
|
|
5067
|
-
"$ref": "#/components/schemas/
|
|
5140
|
+
"$ref": "#/components/schemas/EfficiencyActions"
|
|
5068
5141
|
}
|
|
5069
5142
|
}
|
|
5070
5143
|
}
|
|
@@ -5141,14 +5214,57 @@
|
|
|
5141
5214
|
"security": []
|
|
5142
5215
|
}
|
|
5143
5216
|
},
|
|
5144
|
-
"/api/v1/efficiency/
|
|
5217
|
+
"/api/v1/efficiency/signals": {
|
|
5145
5218
|
"get": {
|
|
5146
5219
|
"tags": [
|
|
5147
5220
|
"efficiency"
|
|
5148
5221
|
],
|
|
5149
|
-
"summary": "
|
|
5150
|
-
"
|
|
5222
|
+
"summary": "The flagged action signals of one task or the whole window",
|
|
5223
|
+
"description": "One row per fired signal, worst severity first and then by signal name, with the task slug as the final tiebreak, so a window-wide array is ordered like a single task's; the array order is the contract, so a consumer renders it verbatim. `rule` carries the one-line rule that fired, so no consumer re-derives a threshold. `items` is paged by `limit` and `offset`, `total` counts the fired signals before the page, and `nextOffset` is the next `offset` or `null` on the last page. Two clocks meet here: `items[].value` is the task's all-time numerator, because the rollup behind this route is per task and the window selects tasks by their last action rather than filtering a selected task's rows, while `attribution` is window-filtered — the two are not meant to be divided by each other. The route declares `task`, `from`, `to`, `severity`, `limit` and `offset` only: `intent`, `agent` and `includeAbsent` answer `422 E_VALIDATION` naming the parameter, because binding any of them would describe half of the block through one filter and half through another.",
|
|
5224
|
+
"operationId": "getEfficiencySignals",
|
|
5151
5225
|
"parameters": [
|
|
5226
|
+
{
|
|
5227
|
+
"name": "from",
|
|
5228
|
+
"in": "query",
|
|
5229
|
+
"description": "Window start as an ISO 8601 instant, included by its UTC day. Default: 30 days before `to`.",
|
|
5230
|
+
"required": false,
|
|
5231
|
+
"schema": {
|
|
5232
|
+
"type": "string"
|
|
5233
|
+
}
|
|
5234
|
+
},
|
|
5235
|
+
{
|
|
5236
|
+
"name": "to",
|
|
5237
|
+
"in": "query",
|
|
5238
|
+
"description": "Window end as an ISO 8601 instant, included by its UTC day. Default: now.",
|
|
5239
|
+
"required": false,
|
|
5240
|
+
"schema": {
|
|
5241
|
+
"type": "string"
|
|
5242
|
+
}
|
|
5243
|
+
},
|
|
5244
|
+
{
|
|
5245
|
+
"name": "task",
|
|
5246
|
+
"in": "query",
|
|
5247
|
+
"description": "Restrict to rows attributed to this task slug.",
|
|
5248
|
+
"required": false,
|
|
5249
|
+
"schema": {
|
|
5250
|
+
"type": "string",
|
|
5251
|
+
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
|
5252
|
+
}
|
|
5253
|
+
},
|
|
5254
|
+
{
|
|
5255
|
+
"name": "severity",
|
|
5256
|
+
"in": "query",
|
|
5257
|
+
"description": "Comma-separated signal severities. Valid values: `critical`, `warn`, `info`. Any value outside this list is rejected with 422 `E_VALIDATION`.",
|
|
5258
|
+
"required": false,
|
|
5259
|
+
"schema": {
|
|
5260
|
+
"type": "string",
|
|
5261
|
+
"enum": [
|
|
5262
|
+
"critical",
|
|
5263
|
+
"warn",
|
|
5264
|
+
"info"
|
|
5265
|
+
]
|
|
5266
|
+
}
|
|
5267
|
+
},
|
|
5152
5268
|
{
|
|
5153
5269
|
"name": "limit",
|
|
5154
5270
|
"in": "query",
|
|
@@ -5176,11 +5292,11 @@
|
|
|
5176
5292
|
],
|
|
5177
5293
|
"responses": {
|
|
5178
5294
|
"200": {
|
|
5179
|
-
"description": "The
|
|
5295
|
+
"description": "The fired signals with their severity and their rule",
|
|
5180
5296
|
"content": {
|
|
5181
5297
|
"application/json": {
|
|
5182
5298
|
"schema": {
|
|
5183
|
-
"$ref": "#/components/schemas/
|
|
5299
|
+
"$ref": "#/components/schemas/EfficiencySignals"
|
|
5184
5300
|
}
|
|
5185
5301
|
}
|
|
5186
5302
|
}
|
|
@@ -5257,38 +5373,47 @@
|
|
|
5257
5373
|
"security": []
|
|
5258
5374
|
}
|
|
5259
5375
|
},
|
|
5260
|
-
"/api/v1/efficiency/
|
|
5376
|
+
"/api/v1/efficiency/distribution": {
|
|
5261
5377
|
"get": {
|
|
5262
5378
|
"tags": [
|
|
5263
5379
|
"efficiency"
|
|
5264
5380
|
],
|
|
5265
|
-
"summary": "
|
|
5266
|
-
"
|
|
5381
|
+
"summary": "The raw-bytes quantiles and the fixed histogram",
|
|
5382
|
+
"description": "`metric` is the constant echo `rawBytes`. The six bins are half-open with the last one unbounded, and their call counts sum to `calls`. On an empty window every quantile is `0`.",
|
|
5383
|
+
"operationId": "getEfficiencyDistribution",
|
|
5267
5384
|
"parameters": [
|
|
5268
5385
|
{
|
|
5269
|
-
"name": "
|
|
5270
|
-
"in": "
|
|
5271
|
-
"
|
|
5272
|
-
"
|
|
5386
|
+
"name": "from",
|
|
5387
|
+
"in": "query",
|
|
5388
|
+
"description": "Window start as an ISO 8601 instant, included by its UTC day. Default: 30 days before `to`.",
|
|
5389
|
+
"required": false,
|
|
5273
5390
|
"schema": {
|
|
5274
|
-
"type": "string"
|
|
5275
|
-
|
|
5391
|
+
"type": "string"
|
|
5392
|
+
}
|
|
5393
|
+
},
|
|
5394
|
+
{
|
|
5395
|
+
"name": "to",
|
|
5396
|
+
"in": "query",
|
|
5397
|
+
"description": "Window end as an ISO 8601 instant, included by its UTC day. Default: now.",
|
|
5398
|
+
"required": false,
|
|
5399
|
+
"schema": {
|
|
5400
|
+
"type": "string"
|
|
5276
5401
|
}
|
|
5277
5402
|
}
|
|
5278
5403
|
],
|
|
5279
5404
|
"responses": {
|
|
5280
5405
|
"200": {
|
|
5281
|
-
"description": "
|
|
5406
|
+
"description": "Quantiles and the fixed six-bin histogram",
|
|
5282
5407
|
"content": {
|
|
5283
5408
|
"application/json": {
|
|
5284
5409
|
"schema": {
|
|
5285
|
-
"$ref": "#/components/schemas/
|
|
5410
|
+
"$ref": "#/components/schemas/EfficiencyDistribution"
|
|
5286
5411
|
}
|
|
5287
5412
|
}
|
|
5288
5413
|
}
|
|
5289
5414
|
},
|
|
5290
5415
|
"400": {
|
|
5291
|
-
"description": "Malformed request:
|
|
5416
|
+
"description": "Malformed request: an invalid slug or an invalid document path",
|
|
5292
5417
|
"content": {
|
|
5293
5418
|
"application/json": {
|
|
5294
5419
|
"schema": {
|
|
@@ -5308,7 +5433,7 @@
|
|
|
5308
5433
|
}
|
|
5309
5434
|
},
|
|
5310
5435
|
"404": {
|
|
5311
|
-
"description": "
|
|
5436
|
+
"description": "The task, document or route does not exist",
|
|
5312
5437
|
"content": {
|
|
5313
5438
|
"application/json": {
|
|
5314
5439
|
"schema": {
|
|
@@ -5336,7 +5461,7 @@
|
|
|
5336
5461
|
}
|
|
5337
5462
|
},
|
|
5338
5463
|
"422": {
|
|
5339
|
-
"description": "
|
|
5464
|
+
"description": "A query parameter is outside its documented bounds",
|
|
5340
5465
|
"content": {
|
|
5341
5466
|
"application/json": {
|
|
5342
5467
|
"schema": {
|
|
@@ -5359,22 +5484,46 @@
|
|
|
5359
5484
|
"security": []
|
|
5360
5485
|
}
|
|
5361
5486
|
},
|
|
5362
|
-
"/api/v1/efficiency/
|
|
5487
|
+
"/api/v1/efficiency/ab-runs": {
|
|
5363
5488
|
"get": {
|
|
5364
5489
|
"tags": [
|
|
5365
5490
|
"efficiency"
|
|
5366
5491
|
],
|
|
5367
|
-
"summary": "
|
|
5368
|
-
"
|
|
5369
|
-
"
|
|
5370
|
-
|
|
5492
|
+
"summary": "Measured A/B runs, newest first",
|
|
5493
|
+
"operationId": "listEfficiencyAbRuns",
|
|
5494
|
+
"parameters": [
|
|
5495
|
+
{
|
|
5496
|
+
"name": "limit",
|
|
5497
|
+
"in": "query",
|
|
5498
|
+
"description": "Page size, 1..200.",
|
|
5499
|
+
"required": false,
|
|
5500
|
+
"schema": {
|
|
5501
|
+
"type": "integer",
|
|
5502
|
+
"minimum": 1,
|
|
5503
|
+
"maximum": 200,
|
|
5504
|
+
"default": 50
|
|
5505
|
+
}
|
|
5506
|
+
},
|
|
5507
|
+
{
|
|
5508
|
+
"name": "offset",
|
|
5509
|
+
"in": "query",
|
|
5510
|
+
"description": "Zero-based row offset, 0..1000000.",
|
|
5511
|
+
"required": false,
|
|
5512
|
+
"schema": {
|
|
5513
|
+
"type": "integer",
|
|
5514
|
+
"minimum": 0,
|
|
5515
|
+
"maximum": 1000000,
|
|
5516
|
+
"default": 0
|
|
5517
|
+
}
|
|
5518
|
+
}
|
|
5519
|
+
],
|
|
5371
5520
|
"responses": {
|
|
5372
5521
|
"200": {
|
|
5373
|
-
"description": "The
|
|
5522
|
+
"description": "The filtered page",
|
|
5374
5523
|
"content": {
|
|
5375
5524
|
"application/json": {
|
|
5376
5525
|
"schema": {
|
|
5377
|
-
"$ref": "#/components/schemas/
|
|
5526
|
+
"$ref": "#/components/schemas/EfficiencyAbRunList"
|
|
5378
5527
|
}
|
|
5379
5528
|
}
|
|
5380
5529
|
}
|
|
@@ -5451,52 +5600,38 @@
|
|
|
5451
5600
|
"security": []
|
|
5452
5601
|
}
|
|
5453
5602
|
},
|
|
5454
|
-
"/api/v1/
|
|
5603
|
+
"/api/v1/efficiency/ab-runs/{runKey}": {
|
|
5455
5604
|
"get": {
|
|
5456
5605
|
"tags": [
|
|
5457
|
-
"
|
|
5606
|
+
"efficiency"
|
|
5458
5607
|
],
|
|
5459
|
-
"summary": "
|
|
5460
|
-
"operationId": "
|
|
5608
|
+
"summary": "One A/B run with its per-task cells",
|
|
5609
|
+
"operationId": "getEfficiencyAbRun",
|
|
5461
5610
|
"parameters": [
|
|
5462
5611
|
{
|
|
5463
|
-
"name": "
|
|
5464
|
-
"in": "
|
|
5465
|
-
"
|
|
5466
|
-
"
|
|
5467
|
-
"schema": {
|
|
5468
|
-
"type": "integer",
|
|
5469
|
-
"minimum": 1,
|
|
5470
|
-
"maximum": 200,
|
|
5471
|
-
"default": 50
|
|
5472
|
-
}
|
|
5473
|
-
},
|
|
5474
|
-
{
|
|
5475
|
-
"name": "offset",
|
|
5476
|
-
"in": "query",
|
|
5477
|
-
"description": "Zero-based row offset, 0..1000000.",
|
|
5478
|
-
"required": false,
|
|
5612
|
+
"name": "runKey",
|
|
5613
|
+
"in": "path",
|
|
5614
|
+
"required": true,
|
|
5615
|
+
"description": "The bench run directory stamp, `YYYYMMDDTHHMMSSZ`.",
|
|
5479
5616
|
"schema": {
|
|
5480
|
-
"type": "
|
|
5481
|
-
"
|
|
5482
|
-
"maximum": 1000000,
|
|
5483
|
-
"default": 0
|
|
5617
|
+
"type": "string",
|
|
5618
|
+
"pattern": "^[0-9]{8}T[0-9]{6}Z$"
|
|
5484
5619
|
}
|
|
5485
5620
|
}
|
|
5486
5621
|
],
|
|
5487
5622
|
"responses": {
|
|
5488
5623
|
"200": {
|
|
5489
|
-
"description": "The
|
|
5624
|
+
"description": "The run row with its cells",
|
|
5490
5625
|
"content": {
|
|
5491
5626
|
"application/json": {
|
|
5492
5627
|
"schema": {
|
|
5493
|
-
"$ref": "#/components/schemas/
|
|
5628
|
+
"$ref": "#/components/schemas/EfficiencyAbRun"
|
|
5494
5629
|
}
|
|
5495
5630
|
}
|
|
5496
5631
|
}
|
|
5497
5632
|
},
|
|
5498
5633
|
"400": {
|
|
5499
|
-
"description": "Malformed request:
|
|
5634
|
+
"description": "Malformed request: the run key is outside its documented shape",
|
|
5500
5635
|
"content": {
|
|
5501
5636
|
"application/json": {
|
|
5502
5637
|
"schema": {
|
|
@@ -5516,7 +5651,7 @@
|
|
|
5516
5651
|
}
|
|
5517
5652
|
},
|
|
5518
5653
|
"404": {
|
|
5519
|
-
"description": "
|
|
5654
|
+
"description": "No projected run carries this key",
|
|
5520
5655
|
"content": {
|
|
5521
5656
|
"application/json": {
|
|
5522
5657
|
"schema": {
|
|
@@ -5544,7 +5679,7 @@
|
|
|
5544
5679
|
}
|
|
5545
5680
|
},
|
|
5546
5681
|
"422": {
|
|
5547
|
-
"description": "
|
|
5682
|
+
"description": "The run key is outside its documented shape",
|
|
5548
5683
|
"content": {
|
|
5549
5684
|
"application/json": {
|
|
5550
5685
|
"schema": {
|
|
@@ -5567,31 +5702,239 @@
|
|
|
5567
5702
|
"security": []
|
|
5568
5703
|
}
|
|
5569
5704
|
},
|
|
5570
|
-
"/api/v1/
|
|
5571
|
-
"
|
|
5705
|
+
"/api/v1/efficiency/context-cost": {
|
|
5706
|
+
"get": {
|
|
5572
5707
|
"tags": [
|
|
5573
|
-
"
|
|
5708
|
+
"efficiency"
|
|
5574
5709
|
],
|
|
5575
|
-
"summary": "
|
|
5576
|
-
"description": "
|
|
5577
|
-
"operationId": "
|
|
5710
|
+
"summary": "The latest always-on context snapshot and the present tasks",
|
|
5711
|
+
"description": "`hosts` carries the newest snapshot only and is empty until a snapshot is recorded; `tasks` is derived from `tasks.file_count` and `tasks.document_bytes` and is populated without one. `estimatedTokens` is `bytes / 4` and is labelled as an estimate.",
|
|
5712
|
+
"operationId": "getEfficiencyContextCost",
|
|
5578
5713
|
"parameters": [],
|
|
5579
|
-
"requestBody": {
|
|
5580
|
-
"required": false,
|
|
5581
|
-
"description": "Absent or an empty JSON object; any other body is rejected.",
|
|
5582
|
-
"content": {
|
|
5583
|
-
"application/json": {
|
|
5584
|
-
"schema": {
|
|
5585
|
-
"type": "object",
|
|
5586
|
-
"additionalProperties": false,
|
|
5587
|
-
"properties": {}
|
|
5588
|
-
}
|
|
5589
|
-
}
|
|
5590
|
-
}
|
|
5591
|
-
},
|
|
5592
5714
|
"responses": {
|
|
5593
5715
|
"200": {
|
|
5594
|
-
"description": "The
|
|
5716
|
+
"description": "The newest host snapshot and the present task surfaces",
|
|
5717
|
+
"content": {
|
|
5718
|
+
"application/json": {
|
|
5719
|
+
"schema": {
|
|
5720
|
+
"$ref": "#/components/schemas/EfficiencyContextCost"
|
|
5721
|
+
}
|
|
5722
|
+
}
|
|
5723
|
+
}
|
|
5724
|
+
},
|
|
5725
|
+
"400": {
|
|
5726
|
+
"description": "Malformed request: an invalid slug or an invalid document path",
|
|
5727
|
+
"content": {
|
|
5728
|
+
"application/json": {
|
|
5729
|
+
"schema": {
|
|
5730
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5731
|
+
}
|
|
5732
|
+
}
|
|
5733
|
+
}
|
|
5734
|
+
},
|
|
5735
|
+
"403": {
|
|
5736
|
+
"description": "A non-loopback Host or Origin was rejected before routing",
|
|
5737
|
+
"content": {
|
|
5738
|
+
"application/json": {
|
|
5739
|
+
"schema": {
|
|
5740
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5741
|
+
}
|
|
5742
|
+
}
|
|
5743
|
+
}
|
|
5744
|
+
},
|
|
5745
|
+
"404": {
|
|
5746
|
+
"description": "The task, document or route does not exist",
|
|
5747
|
+
"content": {
|
|
5748
|
+
"application/json": {
|
|
5749
|
+
"schema": {
|
|
5750
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5751
|
+
}
|
|
5752
|
+
}
|
|
5753
|
+
}
|
|
5754
|
+
},
|
|
5755
|
+
"405": {
|
|
5756
|
+
"description": "The route does not accept this method; the response carries an Allow header",
|
|
5757
|
+
"headers": {
|
|
5758
|
+
"Allow": {
|
|
5759
|
+
"description": "HTTP methods allowed on this path, for example `GET, HEAD`",
|
|
5760
|
+
"schema": {
|
|
5761
|
+
"type": "string"
|
|
5762
|
+
}
|
|
5763
|
+
}
|
|
5764
|
+
},
|
|
5765
|
+
"content": {
|
|
5766
|
+
"application/json": {
|
|
5767
|
+
"schema": {
|
|
5768
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5769
|
+
}
|
|
5770
|
+
}
|
|
5771
|
+
}
|
|
5772
|
+
},
|
|
5773
|
+
"422": {
|
|
5774
|
+
"description": "A query parameter is outside its documented bounds",
|
|
5775
|
+
"content": {
|
|
5776
|
+
"application/json": {
|
|
5777
|
+
"schema": {
|
|
5778
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5779
|
+
}
|
|
5780
|
+
}
|
|
5781
|
+
}
|
|
5782
|
+
},
|
|
5783
|
+
"503": {
|
|
5784
|
+
"description": "The projection database is missing, unusable, busy, or the projection is disabled",
|
|
5785
|
+
"content": {
|
|
5786
|
+
"application/json": {
|
|
5787
|
+
"schema": {
|
|
5788
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5789
|
+
}
|
|
5790
|
+
}
|
|
5791
|
+
}
|
|
5792
|
+
}
|
|
5793
|
+
},
|
|
5794
|
+
"security": []
|
|
5795
|
+
}
|
|
5796
|
+
},
|
|
5797
|
+
"/api/v1/sync-runs": {
|
|
5798
|
+
"get": {
|
|
5799
|
+
"tags": [
|
|
5800
|
+
"sync"
|
|
5801
|
+
],
|
|
5802
|
+
"summary": "Projection runs, newest first",
|
|
5803
|
+
"operationId": "listSyncRuns",
|
|
5804
|
+
"parameters": [
|
|
5805
|
+
{
|
|
5806
|
+
"name": "limit",
|
|
5807
|
+
"in": "query",
|
|
5808
|
+
"description": "Page size, 1..200.",
|
|
5809
|
+
"required": false,
|
|
5810
|
+
"schema": {
|
|
5811
|
+
"type": "integer",
|
|
5812
|
+
"minimum": 1,
|
|
5813
|
+
"maximum": 200,
|
|
5814
|
+
"default": 50
|
|
5815
|
+
}
|
|
5816
|
+
},
|
|
5817
|
+
{
|
|
5818
|
+
"name": "offset",
|
|
5819
|
+
"in": "query",
|
|
5820
|
+
"description": "Zero-based row offset, 0..1000000.",
|
|
5821
|
+
"required": false,
|
|
5822
|
+
"schema": {
|
|
5823
|
+
"type": "integer",
|
|
5824
|
+
"minimum": 0,
|
|
5825
|
+
"maximum": 1000000,
|
|
5826
|
+
"default": 0
|
|
5827
|
+
}
|
|
5828
|
+
}
|
|
5829
|
+
],
|
|
5830
|
+
"responses": {
|
|
5831
|
+
"200": {
|
|
5832
|
+
"description": "The filtered page",
|
|
5833
|
+
"content": {
|
|
5834
|
+
"application/json": {
|
|
5835
|
+
"schema": {
|
|
5836
|
+
"$ref": "#/components/schemas/SyncRunList"
|
|
5837
|
+
}
|
|
5838
|
+
}
|
|
5839
|
+
}
|
|
5840
|
+
},
|
|
5841
|
+
"400": {
|
|
5842
|
+
"description": "Malformed request: an invalid slug or an invalid document path",
|
|
5843
|
+
"content": {
|
|
5844
|
+
"application/json": {
|
|
5845
|
+
"schema": {
|
|
5846
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5847
|
+
}
|
|
5848
|
+
}
|
|
5849
|
+
}
|
|
5850
|
+
},
|
|
5851
|
+
"403": {
|
|
5852
|
+
"description": "A non-loopback Host or Origin was rejected before routing",
|
|
5853
|
+
"content": {
|
|
5854
|
+
"application/json": {
|
|
5855
|
+
"schema": {
|
|
5856
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5857
|
+
}
|
|
5858
|
+
}
|
|
5859
|
+
}
|
|
5860
|
+
},
|
|
5861
|
+
"404": {
|
|
5862
|
+
"description": "The task, document or route does not exist",
|
|
5863
|
+
"content": {
|
|
5864
|
+
"application/json": {
|
|
5865
|
+
"schema": {
|
|
5866
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5867
|
+
}
|
|
5868
|
+
}
|
|
5869
|
+
}
|
|
5870
|
+
},
|
|
5871
|
+
"405": {
|
|
5872
|
+
"description": "The route does not accept this method; the response carries an Allow header",
|
|
5873
|
+
"headers": {
|
|
5874
|
+
"Allow": {
|
|
5875
|
+
"description": "HTTP methods allowed on this path, for example `GET, HEAD`",
|
|
5876
|
+
"schema": {
|
|
5877
|
+
"type": "string"
|
|
5878
|
+
}
|
|
5879
|
+
}
|
|
5880
|
+
},
|
|
5881
|
+
"content": {
|
|
5882
|
+
"application/json": {
|
|
5883
|
+
"schema": {
|
|
5884
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5885
|
+
}
|
|
5886
|
+
}
|
|
5887
|
+
}
|
|
5888
|
+
},
|
|
5889
|
+
"422": {
|
|
5890
|
+
"description": "A query parameter is outside its documented bounds",
|
|
5891
|
+
"content": {
|
|
5892
|
+
"application/json": {
|
|
5893
|
+
"schema": {
|
|
5894
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5895
|
+
}
|
|
5896
|
+
}
|
|
5897
|
+
}
|
|
5898
|
+
},
|
|
5899
|
+
"503": {
|
|
5900
|
+
"description": "The projection database is missing, unusable, busy, or the projection is disabled",
|
|
5901
|
+
"content": {
|
|
5902
|
+
"application/json": {
|
|
5903
|
+
"schema": {
|
|
5904
|
+
"$ref": "#/components/schemas/ErrorEnvelope"
|
|
5905
|
+
}
|
|
5906
|
+
}
|
|
5907
|
+
}
|
|
5908
|
+
}
|
|
5909
|
+
},
|
|
5910
|
+
"security": []
|
|
5911
|
+
}
|
|
5912
|
+
},
|
|
5913
|
+
"/api/v1/sync": {
|
|
5914
|
+
"post": {
|
|
5915
|
+
"tags": [
|
|
5916
|
+
"sync"
|
|
5917
|
+
],
|
|
5918
|
+
"summary": "Rescan task files (idempotent)",
|
|
5919
|
+
"description": "The only non-GET operation. It re-reads `.ai.local/team/tasks` into the database and never writes task state. A second call over an unchanged tree reports `unchanged` for every task.",
|
|
5920
|
+
"operationId": "triggerSync",
|
|
5921
|
+
"parameters": [],
|
|
5922
|
+
"requestBody": {
|
|
5923
|
+
"required": false,
|
|
5924
|
+
"description": "Absent or an empty JSON object; any other body is rejected.",
|
|
5925
|
+
"content": {
|
|
5926
|
+
"application/json": {
|
|
5927
|
+
"schema": {
|
|
5928
|
+
"type": "object",
|
|
5929
|
+
"additionalProperties": false,
|
|
5930
|
+
"properties": {}
|
|
5931
|
+
}
|
|
5932
|
+
}
|
|
5933
|
+
}
|
|
5934
|
+
},
|
|
5935
|
+
"responses": {
|
|
5936
|
+
"200": {
|
|
5937
|
+
"description": "The completed rescan",
|
|
5595
5938
|
"content": {
|
|
5596
5939
|
"application/json": {
|
|
5597
5940
|
"schema": {
|
|
@@ -8146,81 +8489,667 @@
|
|
|
8146
8489
|
"denominator"
|
|
8147
8490
|
]
|
|
8148
8491
|
},
|
|
8149
|
-
"truncated": {
|
|
8150
|
-
"type": "boolean"
|
|
8492
|
+
"truncated": {
|
|
8493
|
+
"type": "boolean"
|
|
8494
|
+
}
|
|
8495
|
+
},
|
|
8496
|
+
"required": [
|
|
8497
|
+
"metric",
|
|
8498
|
+
"bucket",
|
|
8499
|
+
"groupBy",
|
|
8500
|
+
"from",
|
|
8501
|
+
"to",
|
|
8502
|
+
"buckets",
|
|
8503
|
+
"series",
|
|
8504
|
+
"totals",
|
|
8505
|
+
"truncated"
|
|
8506
|
+
],
|
|
8507
|
+
"examples": [
|
|
8508
|
+
{
|
|
8509
|
+
"metric": "keptOutBytes",
|
|
8510
|
+
"bucket": "day",
|
|
8511
|
+
"groupBy": "none",
|
|
8512
|
+
"from": "2026-11-12T00:00:00.000Z",
|
|
8513
|
+
"to": "2026-11-14T00:00:00.000Z",
|
|
8514
|
+
"buckets": [
|
|
8515
|
+
"2026-11-12",
|
|
8516
|
+
"2026-11-13",
|
|
8517
|
+
"2026-11-14"
|
|
8518
|
+
],
|
|
8519
|
+
"series": [
|
|
8520
|
+
{
|
|
8521
|
+
"key": "",
|
|
8522
|
+
"label": "",
|
|
8523
|
+
"coverage": null,
|
|
8524
|
+
"points": [
|
|
8525
|
+
{
|
|
8526
|
+
"bucket": "2026-11-12",
|
|
8527
|
+
"value": 1200,
|
|
8528
|
+
"numerator": 1200,
|
|
8529
|
+
"denominator": null,
|
|
8530
|
+
"n": 4
|
|
8531
|
+
},
|
|
8532
|
+
{
|
|
8533
|
+
"bucket": "2026-11-13",
|
|
8534
|
+
"value": null,
|
|
8535
|
+
"numerator": null,
|
|
8536
|
+
"denominator": null,
|
|
8537
|
+
"n": 0
|
|
8538
|
+
},
|
|
8539
|
+
{
|
|
8540
|
+
"bucket": "2026-11-14",
|
|
8541
|
+
"value": 800,
|
|
8542
|
+
"numerator": 800,
|
|
8543
|
+
"denominator": null,
|
|
8544
|
+
"n": 2
|
|
8545
|
+
}
|
|
8546
|
+
]
|
|
8547
|
+
}
|
|
8548
|
+
],
|
|
8549
|
+
"totals": {
|
|
8550
|
+
"value": 2000,
|
|
8551
|
+
"numerator": 2000,
|
|
8552
|
+
"denominator": null
|
|
8553
|
+
},
|
|
8554
|
+
"truncated": false
|
|
8555
|
+
}
|
|
8556
|
+
]
|
|
8557
|
+
},
|
|
8558
|
+
"EfficiencyToolBreakdown": {
|
|
8559
|
+
"type": "object",
|
|
8560
|
+
"additionalProperties": false,
|
|
8561
|
+
"properties": {
|
|
8562
|
+
"from": {
|
|
8563
|
+
"type": "string"
|
|
8564
|
+
},
|
|
8565
|
+
"to": {
|
|
8566
|
+
"type": "string"
|
|
8567
|
+
},
|
|
8568
|
+
"items": {
|
|
8569
|
+
"type": "array",
|
|
8570
|
+
"items": {
|
|
8571
|
+
"type": "object",
|
|
8572
|
+
"additionalProperties": false,
|
|
8573
|
+
"properties": {
|
|
8574
|
+
"tool": {
|
|
8575
|
+
"type": "string"
|
|
8576
|
+
},
|
|
8577
|
+
"category": {
|
|
8578
|
+
"type": "string"
|
|
8579
|
+
},
|
|
8580
|
+
"calls": {
|
|
8581
|
+
"type": "integer",
|
|
8582
|
+
"minimum": 0
|
|
8583
|
+
},
|
|
8584
|
+
"rawBytes": {
|
|
8585
|
+
"type": "integer",
|
|
8586
|
+
"minimum": 0
|
|
8587
|
+
},
|
|
8588
|
+
"returnedBytes": {
|
|
8589
|
+
"type": "integer",
|
|
8590
|
+
"minimum": 0
|
|
8591
|
+
},
|
|
8592
|
+
"keptOutBytes": {
|
|
8593
|
+
"type": "integer",
|
|
8594
|
+
"minimum": 0
|
|
8595
|
+
},
|
|
8596
|
+
"replaced": {
|
|
8597
|
+
"type": "integer",
|
|
8598
|
+
"minimum": 0
|
|
8599
|
+
},
|
|
8600
|
+
"keptOutRatio": {
|
|
8601
|
+
"type": "number",
|
|
8602
|
+
"minimum": 0
|
|
8603
|
+
}
|
|
8604
|
+
},
|
|
8605
|
+
"required": [
|
|
8606
|
+
"tool",
|
|
8607
|
+
"category",
|
|
8608
|
+
"calls",
|
|
8609
|
+
"rawBytes",
|
|
8610
|
+
"returnedBytes",
|
|
8611
|
+
"keptOutBytes",
|
|
8612
|
+
"replaced",
|
|
8613
|
+
"keptOutRatio"
|
|
8614
|
+
]
|
|
8615
|
+
}
|
|
8616
|
+
},
|
|
8617
|
+
"totals": {
|
|
8618
|
+
"type": "object",
|
|
8619
|
+
"additionalProperties": false,
|
|
8620
|
+
"properties": {
|
|
8621
|
+
"calls": {
|
|
8622
|
+
"type": "integer",
|
|
8623
|
+
"minimum": 0
|
|
8624
|
+
},
|
|
8625
|
+
"rawBytes": {
|
|
8626
|
+
"type": "integer",
|
|
8627
|
+
"minimum": 0
|
|
8628
|
+
},
|
|
8629
|
+
"returnedBytes": {
|
|
8630
|
+
"type": "integer",
|
|
8631
|
+
"minimum": 0
|
|
8632
|
+
},
|
|
8633
|
+
"keptOutBytes": {
|
|
8634
|
+
"type": "integer",
|
|
8635
|
+
"minimum": 0
|
|
8636
|
+
},
|
|
8637
|
+
"replaced": {
|
|
8638
|
+
"type": "integer",
|
|
8639
|
+
"minimum": 0
|
|
8640
|
+
}
|
|
8641
|
+
},
|
|
8642
|
+
"required": [
|
|
8643
|
+
"calls",
|
|
8644
|
+
"rawBytes",
|
|
8645
|
+
"returnedBytes",
|
|
8646
|
+
"keptOutBytes",
|
|
8647
|
+
"replaced"
|
|
8648
|
+
]
|
|
8649
|
+
},
|
|
8650
|
+
"otherCalls": {
|
|
8651
|
+
"type": "integer",
|
|
8652
|
+
"minimum": 0
|
|
8653
|
+
}
|
|
8654
|
+
},
|
|
8655
|
+
"required": [
|
|
8656
|
+
"from",
|
|
8657
|
+
"to",
|
|
8658
|
+
"items",
|
|
8659
|
+
"totals",
|
|
8660
|
+
"otherCalls"
|
|
8661
|
+
],
|
|
8662
|
+
"examples": [
|
|
8663
|
+
{
|
|
8664
|
+
"from": "2026-11-01T00:00:00.000Z",
|
|
8665
|
+
"to": "2026-11-14T00:00:00.000Z",
|
|
8666
|
+
"items": [
|
|
8667
|
+
{
|
|
8668
|
+
"tool": "shell",
|
|
8669
|
+
"category": "command",
|
|
8670
|
+
"calls": 120,
|
|
8671
|
+
"rawBytes": 900000,
|
|
8672
|
+
"returnedBytes": 180000,
|
|
8673
|
+
"keptOutBytes": 720000,
|
|
8674
|
+
"replaced": 12,
|
|
8675
|
+
"keptOutRatio": 0.8
|
|
8676
|
+
}
|
|
8677
|
+
],
|
|
8678
|
+
"totals": {
|
|
8679
|
+
"calls": 120,
|
|
8680
|
+
"rawBytes": 900000,
|
|
8681
|
+
"returnedBytes": 180000,
|
|
8682
|
+
"keptOutBytes": 720000,
|
|
8683
|
+
"replaced": 12
|
|
8684
|
+
},
|
|
8685
|
+
"otherCalls": 0
|
|
8686
|
+
}
|
|
8687
|
+
]
|
|
8688
|
+
},
|
|
8689
|
+
"EfficiencyActionAttribution": {
|
|
8690
|
+
"type": "object",
|
|
8691
|
+
"additionalProperties": false,
|
|
8692
|
+
"properties": {
|
|
8693
|
+
"sessions": {
|
|
8694
|
+
"type": "integer",
|
|
8695
|
+
"minimum": 0
|
|
8696
|
+
},
|
|
8697
|
+
"mappedSessions": {
|
|
8698
|
+
"type": "integer",
|
|
8699
|
+
"minimum": 0
|
|
8700
|
+
},
|
|
8701
|
+
"unmappedCalls": {
|
|
8702
|
+
"type": "integer",
|
|
8703
|
+
"minimum": 0
|
|
8704
|
+
},
|
|
8705
|
+
"unmappedTurns": {
|
|
8706
|
+
"type": "integer",
|
|
8707
|
+
"minimum": 0,
|
|
8708
|
+
"description": "Unmapped turns in the window. `usage_turns` carries no intent and no agent, so this figure honours the window and the task filter only; it is the one key of this block that `intent` and `agent` cannot narrow. `/signals` accepts no `includeAbsent`, so on that route `unmappedCalls`, `byRung.unmapped` and this figure are structurally `0` and `coverage` is `1` or `null`."
|
|
8709
|
+
},
|
|
8710
|
+
"byRung": {
|
|
8711
|
+
"type": "object",
|
|
8712
|
+
"additionalProperties": false,
|
|
8713
|
+
"properties": {
|
|
8714
|
+
"lease": {
|
|
8715
|
+
"type": "integer",
|
|
8716
|
+
"minimum": 0
|
|
8717
|
+
},
|
|
8718
|
+
"window": {
|
|
8719
|
+
"type": "integer",
|
|
8720
|
+
"minimum": 0
|
|
8721
|
+
},
|
|
8722
|
+
"dir-mtime": {
|
|
8723
|
+
"type": "integer",
|
|
8724
|
+
"minimum": 0
|
|
8725
|
+
},
|
|
8726
|
+
"unmapped": {
|
|
8727
|
+
"type": "integer",
|
|
8728
|
+
"minimum": 0
|
|
8729
|
+
}
|
|
8730
|
+
},
|
|
8731
|
+
"required": [
|
|
8732
|
+
"lease",
|
|
8733
|
+
"window",
|
|
8734
|
+
"dir-mtime",
|
|
8735
|
+
"unmapped"
|
|
8736
|
+
]
|
|
8737
|
+
},
|
|
8738
|
+
"coverage": {
|
|
8739
|
+
"type": [
|
|
8740
|
+
"number",
|
|
8741
|
+
"null"
|
|
8742
|
+
],
|
|
8743
|
+
"description": "Mapped share of the rows this block counts. A per-task read is `1` by construction, because an `unmapped` row carries no task slug; only a window-wide read with `includeAbsent=1` can report less. `/signals` accepts no `includeAbsent`, so its `coverage` is `1` or, at a zero denominator, `null`."
|
|
8744
|
+
}
|
|
8745
|
+
},
|
|
8746
|
+
"required": [
|
|
8747
|
+
"sessions",
|
|
8748
|
+
"mappedSessions",
|
|
8749
|
+
"unmappedCalls",
|
|
8750
|
+
"unmappedTurns",
|
|
8751
|
+
"byRung",
|
|
8752
|
+
"coverage"
|
|
8753
|
+
]
|
|
8754
|
+
},
|
|
8755
|
+
"EfficiencyActions": {
|
|
8756
|
+
"type": "object",
|
|
8757
|
+
"additionalProperties": false,
|
|
8758
|
+
"properties": {
|
|
8759
|
+
"window": {
|
|
8760
|
+
"type": "object",
|
|
8761
|
+
"additionalProperties": false,
|
|
8762
|
+
"properties": {
|
|
8763
|
+
"from": {
|
|
8764
|
+
"type": "string"
|
|
8765
|
+
},
|
|
8766
|
+
"to": {
|
|
8767
|
+
"type": "string"
|
|
8768
|
+
}
|
|
8769
|
+
},
|
|
8770
|
+
"required": [
|
|
8771
|
+
"from",
|
|
8772
|
+
"to"
|
|
8773
|
+
]
|
|
8774
|
+
},
|
|
8775
|
+
"task": {
|
|
8776
|
+
"type": [
|
|
8777
|
+
"string",
|
|
8778
|
+
"null"
|
|
8779
|
+
]
|
|
8780
|
+
},
|
|
8781
|
+
"totals": {
|
|
8782
|
+
"type": "object",
|
|
8783
|
+
"additionalProperties": false,
|
|
8784
|
+
"properties": {
|
|
8785
|
+
"actions": {
|
|
8786
|
+
"type": "integer",
|
|
8787
|
+
"minimum": 0
|
|
8788
|
+
},
|
|
8789
|
+
"turns": {
|
|
8790
|
+
"type": "integer",
|
|
8791
|
+
"minimum": 0
|
|
8792
|
+
},
|
|
8793
|
+
"changedFiles": {
|
|
8794
|
+
"type": "integer",
|
|
8795
|
+
"minimum": 0
|
|
8796
|
+
},
|
|
8797
|
+
"errorRate": {
|
|
8798
|
+
"type": [
|
|
8799
|
+
"number",
|
|
8800
|
+
"null"
|
|
8801
|
+
]
|
|
8802
|
+
},
|
|
8803
|
+
"repeatRatio": {
|
|
8804
|
+
"type": [
|
|
8805
|
+
"number",
|
|
8806
|
+
"null"
|
|
8807
|
+
]
|
|
8808
|
+
},
|
|
8809
|
+
"guardHits": {
|
|
8810
|
+
"type": "integer",
|
|
8811
|
+
"minimum": 0
|
|
8812
|
+
},
|
|
8813
|
+
"wallMs": {
|
|
8814
|
+
"type": [
|
|
8815
|
+
"integer",
|
|
8816
|
+
"null"
|
|
8817
|
+
]
|
|
8818
|
+
},
|
|
8819
|
+
"busyMs": {
|
|
8820
|
+
"type": "integer",
|
|
8821
|
+
"minimum": 0
|
|
8822
|
+
}
|
|
8823
|
+
},
|
|
8824
|
+
"required": [
|
|
8825
|
+
"actions",
|
|
8826
|
+
"turns",
|
|
8827
|
+
"changedFiles",
|
|
8828
|
+
"errorRate",
|
|
8829
|
+
"repeatRatio",
|
|
8830
|
+
"guardHits",
|
|
8831
|
+
"wallMs",
|
|
8832
|
+
"busyMs"
|
|
8833
|
+
]
|
|
8834
|
+
},
|
|
8835
|
+
"byIntent": {
|
|
8836
|
+
"type": "array",
|
|
8837
|
+
"items": {
|
|
8838
|
+
"type": "object",
|
|
8839
|
+
"additionalProperties": false,
|
|
8840
|
+
"properties": {
|
|
8841
|
+
"intent": {
|
|
8842
|
+
"type": "string",
|
|
8843
|
+
"enum": [
|
|
8844
|
+
"explore",
|
|
8845
|
+
"mutate",
|
|
8846
|
+
"execute",
|
|
8847
|
+
"delegate",
|
|
8848
|
+
"ask",
|
|
8849
|
+
"meta",
|
|
8850
|
+
"web"
|
|
8851
|
+
]
|
|
8852
|
+
},
|
|
8853
|
+
"actions": {
|
|
8854
|
+
"type": "integer",
|
|
8855
|
+
"minimum": 0
|
|
8856
|
+
}
|
|
8857
|
+
},
|
|
8858
|
+
"required": [
|
|
8859
|
+
"intent",
|
|
8860
|
+
"actions"
|
|
8861
|
+
]
|
|
8862
|
+
}
|
|
8863
|
+
},
|
|
8864
|
+
"byAgent": {
|
|
8865
|
+
"type": "array",
|
|
8866
|
+
"items": {
|
|
8867
|
+
"type": "object",
|
|
8868
|
+
"additionalProperties": false,
|
|
8869
|
+
"properties": {
|
|
8870
|
+
"agent": {
|
|
8871
|
+
"type": [
|
|
8872
|
+
"string",
|
|
8873
|
+
"null"
|
|
8874
|
+
]
|
|
8875
|
+
},
|
|
8876
|
+
"actions": {
|
|
8877
|
+
"type": "integer",
|
|
8878
|
+
"minimum": 0
|
|
8879
|
+
}
|
|
8880
|
+
},
|
|
8881
|
+
"required": [
|
|
8882
|
+
"agent",
|
|
8883
|
+
"actions"
|
|
8884
|
+
]
|
|
8885
|
+
}
|
|
8886
|
+
},
|
|
8887
|
+
"coverage": {
|
|
8888
|
+
"type": "array",
|
|
8889
|
+
"items": {
|
|
8890
|
+
"type": "object",
|
|
8891
|
+
"additionalProperties": false,
|
|
8892
|
+
"properties": {
|
|
8893
|
+
"rung": {
|
|
8894
|
+
"type": "string",
|
|
8895
|
+
"enum": [
|
|
8896
|
+
"lease",
|
|
8897
|
+
"window",
|
|
8898
|
+
"dir-mtime",
|
|
8899
|
+
"unmapped"
|
|
8900
|
+
]
|
|
8901
|
+
},
|
|
8902
|
+
"actions": {
|
|
8903
|
+
"type": "integer",
|
|
8904
|
+
"minimum": 0
|
|
8905
|
+
}
|
|
8906
|
+
},
|
|
8907
|
+
"required": [
|
|
8908
|
+
"rung",
|
|
8909
|
+
"actions"
|
|
8910
|
+
]
|
|
8911
|
+
}
|
|
8912
|
+
},
|
|
8913
|
+
"items": {
|
|
8914
|
+
"type": "array",
|
|
8915
|
+
"items": {
|
|
8916
|
+
"type": "object",
|
|
8917
|
+
"additionalProperties": false,
|
|
8918
|
+
"properties": {
|
|
8919
|
+
"at": {
|
|
8920
|
+
"type": "string"
|
|
8921
|
+
},
|
|
8922
|
+
"task": {
|
|
8923
|
+
"type": [
|
|
8924
|
+
"string",
|
|
8925
|
+
"null"
|
|
8926
|
+
]
|
|
8927
|
+
},
|
|
8928
|
+
"tool": {
|
|
8929
|
+
"type": "string"
|
|
8930
|
+
},
|
|
8931
|
+
"intent": {
|
|
8932
|
+
"type": "string",
|
|
8933
|
+
"enum": [
|
|
8934
|
+
"explore",
|
|
8935
|
+
"mutate",
|
|
8936
|
+
"execute",
|
|
8937
|
+
"delegate",
|
|
8938
|
+
"ask",
|
|
8939
|
+
"meta",
|
|
8940
|
+
"web"
|
|
8941
|
+
]
|
|
8942
|
+
},
|
|
8943
|
+
"agent": {
|
|
8944
|
+
"type": [
|
|
8945
|
+
"string",
|
|
8946
|
+
"null"
|
|
8947
|
+
]
|
|
8948
|
+
},
|
|
8949
|
+
"errorClass": {
|
|
8950
|
+
"type": [
|
|
8951
|
+
"string",
|
|
8952
|
+
"null"
|
|
8953
|
+
],
|
|
8954
|
+
"enum": [
|
|
8955
|
+
"validation",
|
|
8956
|
+
"notfound",
|
|
8957
|
+
"permission",
|
|
8958
|
+
"timeout",
|
|
8959
|
+
"upstream",
|
|
8960
|
+
null
|
|
8961
|
+
]
|
|
8962
|
+
},
|
|
8963
|
+
"durationMs": {
|
|
8964
|
+
"type": [
|
|
8965
|
+
"integer",
|
|
8966
|
+
"null"
|
|
8967
|
+
]
|
|
8968
|
+
},
|
|
8969
|
+
"gapMs": {
|
|
8970
|
+
"type": [
|
|
8971
|
+
"integer",
|
|
8972
|
+
"null"
|
|
8973
|
+
]
|
|
8974
|
+
},
|
|
8975
|
+
"exitCode": {
|
|
8976
|
+
"type": [
|
|
8977
|
+
"integer",
|
|
8978
|
+
"null"
|
|
8979
|
+
]
|
|
8980
|
+
},
|
|
8981
|
+
"repeatIndex": {
|
|
8982
|
+
"type": [
|
|
8983
|
+
"integer",
|
|
8984
|
+
"null"
|
|
8985
|
+
]
|
|
8986
|
+
}
|
|
8987
|
+
},
|
|
8988
|
+
"required": [
|
|
8989
|
+
"at",
|
|
8990
|
+
"task",
|
|
8991
|
+
"tool",
|
|
8992
|
+
"intent",
|
|
8993
|
+
"agent",
|
|
8994
|
+
"errorClass",
|
|
8995
|
+
"durationMs",
|
|
8996
|
+
"gapMs",
|
|
8997
|
+
"exitCode",
|
|
8998
|
+
"repeatIndex"
|
|
8999
|
+
]
|
|
9000
|
+
}
|
|
9001
|
+
},
|
|
9002
|
+
"limit": {
|
|
9003
|
+
"type": "integer",
|
|
9004
|
+
"minimum": 1
|
|
9005
|
+
},
|
|
9006
|
+
"offset": {
|
|
9007
|
+
"type": "integer",
|
|
9008
|
+
"minimum": 0
|
|
9009
|
+
},
|
|
9010
|
+
"total": {
|
|
9011
|
+
"type": "integer",
|
|
9012
|
+
"minimum": 0
|
|
9013
|
+
},
|
|
9014
|
+
"nextOffset": {
|
|
9015
|
+
"type": [
|
|
9016
|
+
"integer",
|
|
9017
|
+
"null"
|
|
9018
|
+
]
|
|
9019
|
+
},
|
|
9020
|
+
"attribution": {
|
|
9021
|
+
"$ref": "#/components/schemas/EfficiencyActionAttribution"
|
|
9022
|
+
},
|
|
9023
|
+
"generatedAt": {
|
|
9024
|
+
"type": "string"
|
|
8151
9025
|
}
|
|
8152
9026
|
},
|
|
8153
9027
|
"required": [
|
|
8154
|
-
"
|
|
8155
|
-
"
|
|
8156
|
-
"groupBy",
|
|
8157
|
-
"from",
|
|
8158
|
-
"to",
|
|
8159
|
-
"buckets",
|
|
8160
|
-
"series",
|
|
9028
|
+
"window",
|
|
9029
|
+
"task",
|
|
8161
9030
|
"totals",
|
|
8162
|
-
"
|
|
9031
|
+
"byIntent",
|
|
9032
|
+
"byAgent",
|
|
9033
|
+
"coverage",
|
|
9034
|
+
"items",
|
|
9035
|
+
"limit",
|
|
9036
|
+
"offset",
|
|
9037
|
+
"total",
|
|
9038
|
+
"nextOffset",
|
|
9039
|
+
"attribution",
|
|
9040
|
+
"generatedAt"
|
|
8163
9041
|
],
|
|
8164
9042
|
"examples": [
|
|
8165
9043
|
{
|
|
8166
|
-
"
|
|
8167
|
-
|
|
8168
|
-
|
|
8169
|
-
|
|
8170
|
-
"
|
|
8171
|
-
"
|
|
8172
|
-
"
|
|
8173
|
-
"
|
|
8174
|
-
"
|
|
9044
|
+
"window": {
|
|
9045
|
+
"from": "2026-11-01T00:00:00.000Z",
|
|
9046
|
+
"to": "2026-11-17T00:00:00.000Z"
|
|
9047
|
+
},
|
|
9048
|
+
"task": "agent-action-telemetry",
|
|
9049
|
+
"totals": {
|
|
9050
|
+
"actions": 62,
|
|
9051
|
+
"turns": 40,
|
|
9052
|
+
"changedFiles": 4,
|
|
9053
|
+
"errorRate": 0.1613,
|
|
9054
|
+
"repeatRatio": 0.5,
|
|
9055
|
+
"guardHits": 3,
|
|
9056
|
+
"wallMs": 3600000,
|
|
9057
|
+
"busyMs": 1200000
|
|
9058
|
+
},
|
|
9059
|
+
"byIntent": [
|
|
9060
|
+
{
|
|
9061
|
+
"intent": "explore",
|
|
9062
|
+
"actions": 40
|
|
9063
|
+
},
|
|
9064
|
+
{
|
|
9065
|
+
"intent": "mutate",
|
|
9066
|
+
"actions": 22
|
|
9067
|
+
}
|
|
8175
9068
|
],
|
|
8176
|
-
"
|
|
9069
|
+
"byAgent": [
|
|
8177
9070
|
{
|
|
8178
|
-
"
|
|
8179
|
-
"
|
|
8180
|
-
"coverage": null,
|
|
8181
|
-
"points": [
|
|
8182
|
-
{
|
|
8183
|
-
"bucket": "2026-11-12",
|
|
8184
|
-
"value": 1200,
|
|
8185
|
-
"numerator": 1200,
|
|
8186
|
-
"denominator": null,
|
|
8187
|
-
"n": 4
|
|
8188
|
-
},
|
|
8189
|
-
{
|
|
8190
|
-
"bucket": "2026-11-13",
|
|
8191
|
-
"value": null,
|
|
8192
|
-
"numerator": null,
|
|
8193
|
-
"denominator": null,
|
|
8194
|
-
"n": 0
|
|
8195
|
-
},
|
|
8196
|
-
{
|
|
8197
|
-
"bucket": "2026-11-14",
|
|
8198
|
-
"value": 800,
|
|
8199
|
-
"numerator": 800,
|
|
8200
|
-
"denominator": null,
|
|
8201
|
-
"n": 2
|
|
8202
|
-
}
|
|
8203
|
-
]
|
|
9071
|
+
"agent": "feature-developer",
|
|
9072
|
+
"actions": 62
|
|
8204
9073
|
}
|
|
8205
9074
|
],
|
|
8206
|
-
"
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
9075
|
+
"coverage": [
|
|
9076
|
+
{
|
|
9077
|
+
"rung": "lease",
|
|
9078
|
+
"actions": 62
|
|
9079
|
+
},
|
|
9080
|
+
{
|
|
9081
|
+
"rung": "window",
|
|
9082
|
+
"actions": 0
|
|
9083
|
+
},
|
|
9084
|
+
{
|
|
9085
|
+
"rung": "dir-mtime",
|
|
9086
|
+
"actions": 0
|
|
9087
|
+
},
|
|
9088
|
+
{
|
|
9089
|
+
"rung": "unmapped",
|
|
9090
|
+
"actions": 0
|
|
9091
|
+
}
|
|
9092
|
+
],
|
|
9093
|
+
"items": [
|
|
9094
|
+
{
|
|
9095
|
+
"at": "2026-11-17T09:12:03.412Z",
|
|
9096
|
+
"task": "agent-action-telemetry",
|
|
9097
|
+
"tool": "edit",
|
|
9098
|
+
"intent": "mutate",
|
|
9099
|
+
"agent": "feature-developer",
|
|
9100
|
+
"errorClass": null,
|
|
9101
|
+
"durationMs": 412,
|
|
9102
|
+
"gapMs": 97,
|
|
9103
|
+
"exitCode": 0,
|
|
9104
|
+
"repeatIndex": null
|
|
9105
|
+
}
|
|
9106
|
+
],
|
|
9107
|
+
"limit": 50,
|
|
9108
|
+
"offset": 0,
|
|
9109
|
+
"total": 62,
|
|
9110
|
+
"nextOffset": 50,
|
|
9111
|
+
"attribution": {
|
|
9112
|
+
"sessions": 2,
|
|
9113
|
+
"mappedSessions": 2,
|
|
9114
|
+
"unmappedCalls": 0,
|
|
9115
|
+
"unmappedTurns": 0,
|
|
9116
|
+
"byRung": {
|
|
9117
|
+
"lease": 62,
|
|
9118
|
+
"window": 0,
|
|
9119
|
+
"dir-mtime": 0,
|
|
9120
|
+
"unmapped": 0
|
|
9121
|
+
},
|
|
9122
|
+
"coverage": 1
|
|
8210
9123
|
},
|
|
8211
|
-
"
|
|
9124
|
+
"generatedAt": "2026-11-17T12:00:00.000Z"
|
|
8212
9125
|
}
|
|
8213
9126
|
]
|
|
8214
9127
|
},
|
|
8215
|
-
"
|
|
9128
|
+
"EfficiencySignals": {
|
|
8216
9129
|
"type": "object",
|
|
8217
9130
|
"additionalProperties": false,
|
|
8218
9131
|
"properties": {
|
|
8219
|
-
"
|
|
8220
|
-
"type": "
|
|
9132
|
+
"window": {
|
|
9133
|
+
"type": "object",
|
|
9134
|
+
"additionalProperties": false,
|
|
9135
|
+
"properties": {
|
|
9136
|
+
"from": {
|
|
9137
|
+
"type": "string"
|
|
9138
|
+
},
|
|
9139
|
+
"to": {
|
|
9140
|
+
"type": "string"
|
|
9141
|
+
}
|
|
9142
|
+
},
|
|
9143
|
+
"required": [
|
|
9144
|
+
"from",
|
|
9145
|
+
"to"
|
|
9146
|
+
]
|
|
8221
9147
|
},
|
|
8222
|
-
"
|
|
8223
|
-
"type":
|
|
9148
|
+
"task": {
|
|
9149
|
+
"type": [
|
|
9150
|
+
"string",
|
|
9151
|
+
"null"
|
|
9152
|
+
]
|
|
8224
9153
|
},
|
|
8225
9154
|
"items": {
|
|
8226
9155
|
"type": "array",
|
|
@@ -8228,118 +9157,123 @@
|
|
|
8228
9157
|
"type": "object",
|
|
8229
9158
|
"additionalProperties": false,
|
|
8230
9159
|
"properties": {
|
|
8231
|
-
"
|
|
8232
|
-
"type": "string"
|
|
8233
|
-
},
|
|
8234
|
-
"category": {
|
|
9160
|
+
"task": {
|
|
8235
9161
|
"type": "string"
|
|
8236
9162
|
},
|
|
8237
|
-
"
|
|
8238
|
-
"type": "
|
|
8239
|
-
"
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8247
|
-
|
|
9163
|
+
"signal": {
|
|
9164
|
+
"type": "string",
|
|
9165
|
+
"enum": [
|
|
9166
|
+
"noop_actions",
|
|
9167
|
+
"explore_without_mutate",
|
|
9168
|
+
"error_rate",
|
|
9169
|
+
"repeat_churn",
|
|
9170
|
+
"guard_pressure",
|
|
9171
|
+
"context_thrash",
|
|
9172
|
+
"weak_attribution"
|
|
9173
|
+
]
|
|
8248
9174
|
},
|
|
8249
|
-
"
|
|
8250
|
-
"type": "
|
|
8251
|
-
"
|
|
9175
|
+
"severity": {
|
|
9176
|
+
"type": "string",
|
|
9177
|
+
"enum": [
|
|
9178
|
+
"critical",
|
|
9179
|
+
"warn",
|
|
9180
|
+
"info"
|
|
9181
|
+
]
|
|
8252
9182
|
},
|
|
8253
|
-
"
|
|
9183
|
+
"value": {
|
|
8254
9184
|
"type": "integer",
|
|
8255
9185
|
"minimum": 0
|
|
8256
9186
|
},
|
|
8257
|
-
"
|
|
8258
|
-
"type": "
|
|
8259
|
-
"minimum": 0
|
|
9187
|
+
"rule": {
|
|
9188
|
+
"type": "string"
|
|
8260
9189
|
}
|
|
8261
9190
|
},
|
|
8262
9191
|
"required": [
|
|
8263
|
-
"
|
|
8264
|
-
"
|
|
8265
|
-
"
|
|
8266
|
-
"
|
|
8267
|
-
"
|
|
8268
|
-
"keptOutBytes",
|
|
8269
|
-
"replaced",
|
|
8270
|
-
"keptOutRatio"
|
|
9192
|
+
"task",
|
|
9193
|
+
"signal",
|
|
9194
|
+
"severity",
|
|
9195
|
+
"value",
|
|
9196
|
+
"rule"
|
|
8271
9197
|
]
|
|
8272
9198
|
}
|
|
8273
9199
|
},
|
|
8274
|
-
"
|
|
8275
|
-
"type": "
|
|
8276
|
-
"
|
|
8277
|
-
"properties": {
|
|
8278
|
-
"calls": {
|
|
8279
|
-
"type": "integer",
|
|
8280
|
-
"minimum": 0
|
|
8281
|
-
},
|
|
8282
|
-
"rawBytes": {
|
|
8283
|
-
"type": "integer",
|
|
8284
|
-
"minimum": 0
|
|
8285
|
-
},
|
|
8286
|
-
"returnedBytes": {
|
|
8287
|
-
"type": "integer",
|
|
8288
|
-
"minimum": 0
|
|
8289
|
-
},
|
|
8290
|
-
"keptOutBytes": {
|
|
8291
|
-
"type": "integer",
|
|
8292
|
-
"minimum": 0
|
|
8293
|
-
},
|
|
8294
|
-
"replaced": {
|
|
8295
|
-
"type": "integer",
|
|
8296
|
-
"minimum": 0
|
|
8297
|
-
}
|
|
8298
|
-
},
|
|
8299
|
-
"required": [
|
|
8300
|
-
"calls",
|
|
8301
|
-
"rawBytes",
|
|
8302
|
-
"returnedBytes",
|
|
8303
|
-
"keptOutBytes",
|
|
8304
|
-
"replaced"
|
|
8305
|
-
]
|
|
9200
|
+
"limit": {
|
|
9201
|
+
"type": "integer",
|
|
9202
|
+
"minimum": 1
|
|
8306
9203
|
},
|
|
8307
|
-
"
|
|
9204
|
+
"offset": {
|
|
9205
|
+
"type": "integer",
|
|
9206
|
+
"minimum": 0
|
|
9207
|
+
},
|
|
9208
|
+
"total": {
|
|
8308
9209
|
"type": "integer",
|
|
8309
9210
|
"minimum": 0
|
|
9211
|
+
},
|
|
9212
|
+
"nextOffset": {
|
|
9213
|
+
"type": [
|
|
9214
|
+
"integer",
|
|
9215
|
+
"null"
|
|
9216
|
+
]
|
|
9217
|
+
},
|
|
9218
|
+
"attribution": {
|
|
9219
|
+
"$ref": "#/components/schemas/EfficiencyActionAttribution"
|
|
9220
|
+
},
|
|
9221
|
+
"generatedAt": {
|
|
9222
|
+
"type": "string"
|
|
8310
9223
|
}
|
|
8311
9224
|
},
|
|
8312
9225
|
"required": [
|
|
8313
|
-
"
|
|
8314
|
-
"
|
|
9226
|
+
"window",
|
|
9227
|
+
"task",
|
|
8315
9228
|
"items",
|
|
8316
|
-
"
|
|
8317
|
-
"
|
|
9229
|
+
"limit",
|
|
9230
|
+
"offset",
|
|
9231
|
+
"total",
|
|
9232
|
+
"nextOffset",
|
|
9233
|
+
"attribution",
|
|
9234
|
+
"generatedAt"
|
|
8318
9235
|
],
|
|
8319
9236
|
"examples": [
|
|
8320
9237
|
{
|
|
8321
|
-
"
|
|
8322
|
-
|
|
9238
|
+
"window": {
|
|
9239
|
+
"from": "2026-11-01T00:00:00.000Z",
|
|
9240
|
+
"to": "2026-11-17T00:00:00.000Z"
|
|
9241
|
+
},
|
|
9242
|
+
"task": "agent-action-telemetry",
|
|
8323
9243
|
"items": [
|
|
8324
9244
|
{
|
|
8325
|
-
"
|
|
8326
|
-
"
|
|
8327
|
-
"
|
|
8328
|
-
"
|
|
8329
|
-
"
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
"
|
|
9245
|
+
"task": "agent-action-telemetry",
|
|
9246
|
+
"signal": "error_rate",
|
|
9247
|
+
"severity": "warn",
|
|
9248
|
+
"value": 10,
|
|
9249
|
+
"rule": "a fifth or more of the actions failed"
|
|
9250
|
+
},
|
|
9251
|
+
{
|
|
9252
|
+
"task": "agent-action-telemetry",
|
|
9253
|
+
"signal": "guard_pressure",
|
|
9254
|
+
"severity": "info",
|
|
9255
|
+
"value": 3,
|
|
9256
|
+
"rule": "a quarter or more of the results needed the guard rewrite"
|
|
8333
9257
|
}
|
|
8334
9258
|
],
|
|
8335
|
-
"
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8340
|
-
"
|
|
9259
|
+
"limit": 50,
|
|
9260
|
+
"offset": 0,
|
|
9261
|
+
"total": 2,
|
|
9262
|
+
"nextOffset": null,
|
|
9263
|
+
"attribution": {
|
|
9264
|
+
"sessions": 2,
|
|
9265
|
+
"mappedSessions": 2,
|
|
9266
|
+
"unmappedCalls": 0,
|
|
9267
|
+
"unmappedTurns": 0,
|
|
9268
|
+
"byRung": {
|
|
9269
|
+
"lease": 62,
|
|
9270
|
+
"window": 0,
|
|
9271
|
+
"dir-mtime": 0,
|
|
9272
|
+
"unmapped": 0
|
|
9273
|
+
},
|
|
9274
|
+
"coverage": 1
|
|
8341
9275
|
},
|
|
8342
|
-
"
|
|
9276
|
+
"generatedAt": "2026-11-17T12:00:00.000Z"
|
|
8343
9277
|
}
|
|
8344
9278
|
]
|
|
8345
9279
|
},
|
|
@@ -12568,11 +13502,17 @@
|
|
|
12568
13502
|
"additionalProperties": false,
|
|
12569
13503
|
"properties": {
|
|
12570
13504
|
"entryId": {
|
|
12571
|
-
"type":
|
|
13505
|
+
"type": [
|
|
13506
|
+
"string",
|
|
13507
|
+
"null"
|
|
13508
|
+
],
|
|
12572
13509
|
"pattern": "^[0-9]{8}T[0-9]{6}Z-[0-9a-f]{8}$"
|
|
12573
13510
|
},
|
|
12574
13511
|
"itemId": {
|
|
12575
|
-
"type":
|
|
13512
|
+
"type": [
|
|
13513
|
+
"integer",
|
|
13514
|
+
"null"
|
|
13515
|
+
],
|
|
12576
13516
|
"minimum": 1
|
|
12577
13517
|
},
|
|
12578
13518
|
"taskSlug": {
|