@bonesofspring/ai-rules 0.2.80 → 0.2.84
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 +50 -0
- package/bin/lib/merged-config.js +49 -0
- package/bin/lib/seed-ai-local-team.js +2 -0
- package/bin/mavis-install.js +53 -3
- package/docs/MAVIS-COMPATIBILITY.md +136 -8
- package/docs/PRESET-CONTRIBUTION.md +9 -0
- package/package.json +4 -1
- package/presets/_shared/ai-local/scripts/check-task-repositories.mjs +20 -2
- package/presets/_shared/ai-local/scripts/check-verification.mjs +13 -6
- package/presets/_shared/ai-local/scripts/rr-migrate-repositories.mjs +66 -16
- package/presets/_shared/ai-local/scripts/run-compact.mjs +38 -10
- package/presets/_shared/core/agent-team/agent-team-orchestrator.md +1 -0
- package/presets/_shared/core/review/code-review-mr.md +19 -4
- package/presets/_shared/hooks/chain-team-phases.sh.tmpl +40 -0
- package/presets/_shared/hooks/compact-shell-output.mjs +16 -1
- package/presets/claude/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/claude/android-kotlin/commands/update.md +1 -0
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/android-kotlin/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/android-kotlin/skills/code-review/SKILL.md +2 -1
- package/presets/claude/go/agents/code-reviewer.md +5 -1
- package/presets/claude/go/commands/update.md +1 -0
- package/presets/claude/go/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/go/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/go/skills/code-review/SKILL.md +2 -1
- package/presets/claude/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/claude/ios-swift/commands/update.md +1 -0
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/ios-swift/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/ios-swift/skills/code-review/SKILL.md +2 -1
- package/presets/claude/java/agents/code-reviewer.md +5 -1
- package/presets/claude/java/commands/update.md +1 -0
- package/presets/claude/java/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/java/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/java/skills/code-review/SKILL.md +2 -1
- package/presets/claude/mcp-ts/commands/update.md +1 -0
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/mcp-ts/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/mol/REPO_AGENTS.md +1 -1
- package/presets/claude/mol/agents/code-reviewer.md +5 -1
- package/presets/claude/mol/agents/task-router.md +1 -1
- package/presets/claude/mol/commands/update.md +1 -0
- package/presets/claude/mol/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/mol/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/mol/rules/tooling-and-review/code-review-mr.md +19 -4
- package/presets/claude/mol/skills/code-review/SKILL.md +2 -1
- package/presets/claude/next/REPO_AGENTS.md +1 -1
- package/presets/claude/next/agents/code-reviewer.md +5 -1
- package/presets/claude/next/agents/task-router.md +1 -1
- package/presets/claude/next/commands/update.md +1 -0
- package/presets/claude/next/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/next/rules/tooling-and-review/code-review-mr.md +19 -4
- package/presets/claude/next/skills/code-review/SKILL.md +2 -1
- package/presets/claude/nuxt/agents/code-reviewer.md +5 -1
- package/presets/claude/nuxt/agents/task-router.md +1 -1
- package/presets/claude/nuxt/commands/update.md +1 -0
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/nuxt/rules/tooling-and-review/code-review-mr.md +19 -4
- package/presets/claude/nuxt/skills/code-review/SKILL.md +2 -1
- package/presets/claude/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/claude/php-hexagonal/commands/update.md +1 -0
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/php-hexagonal/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/php-hexagonal/skills/code-review/SKILL.md +2 -1
- package/presets/claude/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/claude/php-laravel/commands/update.md +1 -0
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/php-laravel/skills/code-review/SKILL.md +2 -1
- package/presets/claude/svelte/agents/code-reviewer.md +5 -1
- package/presets/claude/svelte/agents/task-router.md +1 -1
- package/presets/claude/svelte/commands/update.md +1 -0
- package/presets/claude/svelte/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/svelte/rules/tooling-and-review/code-review-mr.md +19 -4
- package/presets/claude/svelte/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/cursor/android-kotlin/commands/update.md +1 -0
- package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/android-kotlin/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/android-kotlin/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/android-kotlin/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/go/agents/code-reviewer.md +5 -1
- package/presets/cursor/go/commands/update.md +1 -0
- package/presets/cursor/go/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/go/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/go/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/go/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/cursor/ios-swift/commands/update.md +1 -0
- package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/ios-swift/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/ios-swift/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/ios-swift/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/java/agents/code-reviewer.md +5 -1
- package/presets/cursor/java/commands/update.md +1 -0
- package/presets/cursor/java/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/java/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/java/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/java/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/mcp-ts/commands/update.md +1 -0
- package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/mcp-ts/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/mcp-ts/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/mol/REPO_AGENTS.md +1 -1
- package/presets/cursor/mol/agents/code-reviewer.md +5 -1
- package/presets/cursor/mol/agents/task-router.md +1 -1
- package/presets/cursor/mol/commands/update.md +1 -0
- package/presets/cursor/mol/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/mol/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/mol/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/mol/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/next/REPO_AGENTS.md +1 -1
- package/presets/cursor/next/agents/code-reviewer.md +5 -1
- package/presets/cursor/next/agents/task-router.md +1 -1
- package/presets/cursor/next/commands/update.md +1 -0
- package/presets/cursor/next/hooks/README.md +2 -0
- package/presets/cursor/next/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/next/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/next/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/next/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/nuxt/agents/code-reviewer.md +5 -1
- package/presets/cursor/nuxt/agents/task-router.md +1 -1
- package/presets/cursor/nuxt/commands/update.md +1 -0
- package/presets/cursor/nuxt/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/nuxt/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/nuxt/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/nuxt/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/cursor/php-hexagonal/commands/update.md +1 -0
- package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/php-hexagonal/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/php-hexagonal/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/php-hexagonal/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/cursor/php-laravel/commands/update.md +1 -0
- package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/php-laravel/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/php-laravel/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/php-laravel/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/svelte/agents/code-reviewer.md +5 -1
- package/presets/cursor/svelte/agents/task-router.md +1 -1
- package/presets/cursor/svelte/commands/update.md +1 -0
- package/presets/cursor/svelte/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/svelte/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/svelte/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/svelte/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/android-kotlin/MAVIS.md +9 -3
- package/presets/mavis/android-kotlin/README.md +3 -1
- package/presets/mavis/android-kotlin/adapter-map.json +104 -44
- package/presets/mavis/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/mavis/android-kotlin/commands/update.md +1 -0
- package/presets/mavis/android-kotlin/hooks/README.md +29 -7
- package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/android-kotlin/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/android-kotlin/hooks/run-hook.mjs +103 -0
- package/presets/mavis/android-kotlin/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/android-kotlin/native-skills/README.md +15 -0
- package/presets/mavis/android-kotlin/native-skills/ci-investigation/SKILL.md +53 -0
- package/presets/mavis/android-kotlin/native-skills/code-review/SKILL.md +62 -0
- package/presets/mavis/android-kotlin/native-skills/debug-investigation/SKILL.md +72 -0
- package/presets/mavis/android-kotlin/native-skills/feature-delivery/SKILL.md +51 -0
- package/presets/mavis/android-kotlin/native-skills/instrumentation-ui-e2e/SKILL.md +23 -0
- package/presets/mavis/android-kotlin/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/android-kotlin/native-skills/mockup-review/SKILL.md +34 -0
- package/presets/mavis/android-kotlin/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/android-kotlin/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/android-kotlin/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/android-kotlin/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/android-kotlin/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/android-kotlin/native-skills/task/SKILL.md +79 -0
- package/presets/mavis/android-kotlin/native-skills/task-continue/SKILL.md +74 -0
- package/presets/mavis/android-kotlin/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/android-kotlin/native-skills/unit-testing/SKILL.md +38 -0
- package/presets/mavis/android-kotlin/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/android-kotlin/native-skills/ux-design/SKILL.md +41 -0
- package/presets/mavis/android-kotlin/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/android-kotlin/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/android-kotlin/rules/code-review-mr.md +19 -4
- package/presets/mavis/android-kotlin/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/go/MAVIS.md +9 -3
- package/presets/mavis/go/README.md +3 -1
- package/presets/mavis/go/adapter-map.json +94 -40
- package/presets/mavis/go/agents/code-reviewer.md +5 -1
- package/presets/mavis/go/commands/update.md +1 -0
- package/presets/mavis/go/hooks/README.md +29 -7
- package/presets/mavis/go/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/go/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/go/hooks/run-hook.mjs +103 -0
- package/presets/mavis/go/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/go/native-skills/README.md +15 -0
- package/presets/mavis/go/native-skills/ci-investigation/SKILL.md +24 -0
- package/presets/mavis/go/native-skills/code-review/SKILL.md +48 -0
- package/presets/mavis/go/native-skills/debug-investigation/SKILL.md +55 -0
- package/presets/mavis/go/native-skills/feature-delivery/SKILL.md +43 -0
- package/presets/mavis/go/native-skills/integration-testing/SKILL.md +21 -0
- package/presets/mavis/go/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/go/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/go/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/go/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/go/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/go/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/go/native-skills/task/SKILL.md +77 -0
- package/presets/mavis/go/native-skills/task-continue/SKILL.md +72 -0
- package/presets/mavis/go/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/go/native-skills/unit-testing/SKILL.md +20 -0
- package/presets/mavis/go/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/go/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/go/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/go/rules/code-review-mr.md +19 -4
- package/presets/mavis/go/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/ios-swift/MAVIS.md +9 -3
- package/presets/mavis/ios-swift/README.md +3 -1
- package/presets/mavis/ios-swift/adapter-map.json +104 -44
- package/presets/mavis/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/mavis/ios-swift/commands/update.md +1 -0
- package/presets/mavis/ios-swift/hooks/README.md +29 -7
- package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/ios-swift/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/ios-swift/hooks/run-hook.mjs +103 -0
- package/presets/mavis/ios-swift/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/ios-swift/native-skills/README.md +15 -0
- package/presets/mavis/ios-swift/native-skills/ci-investigation/SKILL.md +53 -0
- package/presets/mavis/ios-swift/native-skills/code-review/SKILL.md +62 -0
- package/presets/mavis/ios-swift/native-skills/debug-investigation/SKILL.md +72 -0
- package/presets/mavis/ios-swift/native-skills/feature-delivery/SKILL.md +51 -0
- package/presets/mavis/ios-swift/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/ios-swift/native-skills/mockup-review/SKILL.md +34 -0
- package/presets/mavis/ios-swift/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/ios-swift/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/ios-swift/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/ios-swift/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/ios-swift/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/ios-swift/native-skills/task/SKILL.md +79 -0
- package/presets/mavis/ios-swift/native-skills/task-continue/SKILL.md +74 -0
- package/presets/mavis/ios-swift/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/ios-swift/native-skills/unit-testing/SKILL.md +38 -0
- package/presets/mavis/ios-swift/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/ios-swift/native-skills/ux-design/SKILL.md +41 -0
- package/presets/mavis/ios-swift/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/ios-swift/native-skills/xcuitest-e2e/SKILL.md +39 -0
- package/presets/mavis/ios-swift/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/ios-swift/rules/code-review-mr.md +19 -4
- package/presets/mavis/ios-swift/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/java/MAVIS.md +9 -3
- package/presets/mavis/java/README.md +3 -1
- package/presets/mavis/java/adapter-map.json +94 -40
- package/presets/mavis/java/agents/code-reviewer.md +5 -1
- package/presets/mavis/java/commands/update.md +1 -0
- package/presets/mavis/java/hooks/README.md +29 -7
- package/presets/mavis/java/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/java/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/java/hooks/run-hook.mjs +103 -0
- package/presets/mavis/java/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/java/native-skills/README.md +15 -0
- package/presets/mavis/java/native-skills/ci-investigation/SKILL.md +24 -0
- package/presets/mavis/java/native-skills/code-review/SKILL.md +48 -0
- package/presets/mavis/java/native-skills/debug-investigation/SKILL.md +55 -0
- package/presets/mavis/java/native-skills/feature-delivery/SKILL.md +43 -0
- package/presets/mavis/java/native-skills/integration-testing/SKILL.md +21 -0
- package/presets/mavis/java/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/java/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/java/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/java/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/java/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/java/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/java/native-skills/task/SKILL.md +77 -0
- package/presets/mavis/java/native-skills/task-continue/SKILL.md +72 -0
- package/presets/mavis/java/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/java/native-skills/unit-testing/SKILL.md +20 -0
- package/presets/mavis/java/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/java/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/java/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/java/rules/code-review-mr.md +19 -4
- package/presets/mavis/java/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/mcp-ts/MAVIS.md +9 -3
- package/presets/mavis/mcp-ts/README.md +3 -1
- package/presets/mavis/mcp-ts/adapter-map.json +77 -32
- package/presets/mavis/mcp-ts/commands/update.md +1 -0
- package/presets/mavis/mcp-ts/hooks/README.md +29 -7
- package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/mcp-ts/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/mcp-ts/hooks/run-hook.mjs +103 -0
- package/presets/mavis/mcp-ts/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/mcp-ts/native-skills/README.md +15 -0
- package/presets/mavis/mcp-ts/native-skills/code-review/SKILL.md +31 -0
- package/presets/mavis/mcp-ts/native-skills/debug-investigation/SKILL.md +51 -0
- package/presets/mavis/mcp-ts/native-skills/feature-delivery/SKILL.md +42 -0
- package/presets/mavis/mcp-ts/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/mcp-ts/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/mcp-ts/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/mcp-ts/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/mcp-ts/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/mcp-ts/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/mcp-ts/native-skills/task/SKILL.md +77 -0
- package/presets/mavis/mcp-ts/native-skills/task-continue/SKILL.md +72 -0
- package/presets/mavis/mcp-ts/native-skills/technical-retro/SKILL.md +95 -0
- package/presets/mavis/mcp-ts/native-skills/unit-testing/SKILL.md +22 -0
- package/presets/mavis/mcp-ts/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/mcp-ts/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/mcp-ts/rules/code-review-mr.md +19 -4
- package/presets/mavis/mol/MAVIS.md +9 -3
- package/presets/mavis/mol/README.md +3 -1
- package/presets/mavis/mol/REPO_AGENTS.md +1 -1
- package/presets/mavis/mol/adapter-map.json +94 -40
- package/presets/mavis/mol/agents/code-reviewer.md +5 -1
- package/presets/mavis/mol/agents/task-router.md +1 -1
- package/presets/mavis/mol/commands/update.md +1 -0
- package/presets/mavis/mol/hooks/README.md +29 -7
- package/presets/mavis/mol/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/mol/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/mol/hooks/run-hook.mjs +103 -0
- package/presets/mavis/mol/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/mol/native-skills/README.md +15 -0
- package/presets/mavis/mol/native-skills/ci-investigation/SKILL.md +49 -0
- package/presets/mavis/mol/native-skills/code-review/SKILL.md +61 -0
- package/presets/mavis/mol/native-skills/debug-investigation/SKILL.md +63 -0
- package/presets/mavis/mol/native-skills/feature-delivery/SKILL.md +44 -0
- package/presets/mavis/mol/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/mol/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/mol/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/mol/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/mol/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/mol/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/mol/native-skills/task/SKILL.md +82 -0
- package/presets/mavis/mol/native-skills/task-continue/SKILL.md +74 -0
- package/presets/mavis/mol/native-skills/task-evil/SKILL.md +89 -0
- package/presets/mavis/mol/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/mol/native-skills/unit-testing/SKILL.md +38 -0
- package/presets/mavis/mol/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/mol/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/mol/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/mol/rules/code-review-mr.md +19 -4
- package/presets/mavis/mol/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/next/MAVIS.md +9 -3
- package/presets/mavis/next/README.md +3 -1
- package/presets/mavis/next/REPO_AGENTS.md +1 -1
- package/presets/mavis/next/adapter-map.json +128 -53
- package/presets/mavis/next/agents/code-reviewer.md +5 -1
- package/presets/mavis/next/agents/task-router.md +1 -1
- package/presets/mavis/next/commands/update.md +1 -0
- package/presets/mavis/next/hooks/README.md +29 -7
- package/presets/mavis/next/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/next/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/next/hooks/run-hook.mjs +103 -0
- package/presets/mavis/next/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/next/native-skills/README.md +15 -0
- package/presets/mavis/next/native-skills/ci-investigation/SKILL.md +50 -0
- package/presets/mavis/next/native-skills/code-review/SKILL.md +62 -0
- package/presets/mavis/next/native-skills/debug-investigation/SKILL.md +64 -0
- package/presets/mavis/next/native-skills/feature-delivery/SKILL.md +45 -0
- package/presets/mavis/next/native-skills/figma-fidelity/SKILL.md +131 -0
- package/presets/mavis/next/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/next/native-skills/mockup-review/SKILL.md +44 -0
- package/presets/mavis/next/native-skills/playwright-e2e/SKILL.md +39 -0
- package/presets/mavis/next/native-skills/react-performance/SKILL.md +49 -0
- package/presets/mavis/next/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/next/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/next/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/next/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/next/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/next/native-skills/task/SKILL.md +88 -0
- package/presets/mavis/next/native-skills/task-continue/SKILL.md +87 -0
- package/presets/mavis/next/native-skills/task-evil/SKILL.md +89 -0
- package/presets/mavis/next/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/next/native-skills/ui-start/SKILL.md +64 -0
- package/presets/mavis/next/native-skills/ui-stop/SKILL.md +48 -0
- package/presets/mavis/next/native-skills/unit-testing/SKILL.md +40 -0
- package/presets/mavis/next/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/next/native-skills/ux-design/SKILL.md +41 -0
- package/presets/mavis/next/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/next/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/next/rules/code-review-mr.md +19 -4
- package/presets/mavis/next/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/nuxt/MAVIS.md +9 -3
- package/presets/mavis/nuxt/README.md +3 -1
- package/presets/mavis/nuxt/adapter-map.json +109 -46
- package/presets/mavis/nuxt/agents/code-reviewer.md +5 -1
- package/presets/mavis/nuxt/agents/task-router.md +1 -1
- package/presets/mavis/nuxt/commands/update.md +1 -0
- package/presets/mavis/nuxt/hooks/README.md +29 -7
- package/presets/mavis/nuxt/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/nuxt/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/nuxt/hooks/run-hook.mjs +103 -0
- package/presets/mavis/nuxt/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/nuxt/native-skills/README.md +15 -0
- package/presets/mavis/nuxt/native-skills/ci-investigation/SKILL.md +50 -0
- package/presets/mavis/nuxt/native-skills/code-review/SKILL.md +61 -0
- package/presets/mavis/nuxt/native-skills/debug-investigation/SKILL.md +64 -0
- package/presets/mavis/nuxt/native-skills/feature-delivery/SKILL.md +52 -0
- package/presets/mavis/nuxt/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/nuxt/native-skills/mockup-review/SKILL.md +34 -0
- package/presets/mavis/nuxt/native-skills/playwright-e2e/SKILL.md +43 -0
- package/presets/mavis/nuxt/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/nuxt/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/nuxt/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/nuxt/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/nuxt/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/nuxt/native-skills/task/SKILL.md +79 -0
- package/presets/mavis/nuxt/native-skills/task-continue/SKILL.md +74 -0
- package/presets/mavis/nuxt/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/nuxt/native-skills/unit-testing/SKILL.md +38 -0
- package/presets/mavis/nuxt/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/nuxt/native-skills/ux-design/SKILL.md +41 -0
- package/presets/mavis/nuxt/native-skills/vue-performance/SKILL.md +58 -0
- package/presets/mavis/nuxt/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/nuxt/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/nuxt/rules/code-review-mr.md +19 -4
- package/presets/mavis/nuxt/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/php-hexagonal/MAVIS.md +9 -3
- package/presets/mavis/php-hexagonal/README.md +3 -1
- package/presets/mavis/php-hexagonal/adapter-map.json +94 -40
- package/presets/mavis/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/mavis/php-hexagonal/commands/update.md +1 -0
- package/presets/mavis/php-hexagonal/hooks/README.md +29 -7
- package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/php-hexagonal/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/php-hexagonal/hooks/run-hook.mjs +103 -0
- package/presets/mavis/php-hexagonal/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/php-hexagonal/native-skills/README.md +15 -0
- package/presets/mavis/php-hexagonal/native-skills/ci-investigation/SKILL.md +24 -0
- package/presets/mavis/php-hexagonal/native-skills/code-review/SKILL.md +48 -0
- package/presets/mavis/php-hexagonal/native-skills/debug-investigation/SKILL.md +55 -0
- package/presets/mavis/php-hexagonal/native-skills/feature-delivery/SKILL.md +43 -0
- package/presets/mavis/php-hexagonal/native-skills/integration-testing/SKILL.md +21 -0
- package/presets/mavis/php-hexagonal/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/php-hexagonal/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/php-hexagonal/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/php-hexagonal/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/php-hexagonal/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/php-hexagonal/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/php-hexagonal/native-skills/task/SKILL.md +77 -0
- package/presets/mavis/php-hexagonal/native-skills/task-continue/SKILL.md +72 -0
- package/presets/mavis/php-hexagonal/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/php-hexagonal/native-skills/unit-testing/SKILL.md +20 -0
- package/presets/mavis/php-hexagonal/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/php-hexagonal/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/php-hexagonal/rules/code-review-mr.md +19 -4
- package/presets/mavis/php-hexagonal/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/php-laravel/MAVIS.md +9 -3
- package/presets/mavis/php-laravel/README.md +3 -1
- package/presets/mavis/php-laravel/adapter-map.json +94 -40
- package/presets/mavis/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/mavis/php-laravel/commands/update.md +1 -0
- package/presets/mavis/php-laravel/hooks/README.md +29 -7
- package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/php-laravel/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/php-laravel/hooks/run-hook.mjs +103 -0
- package/presets/mavis/php-laravel/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/php-laravel/native-skills/README.md +15 -0
- package/presets/mavis/php-laravel/native-skills/ci-investigation/SKILL.md +24 -0
- package/presets/mavis/php-laravel/native-skills/code-review/SKILL.md +48 -0
- package/presets/mavis/php-laravel/native-skills/debug-investigation/SKILL.md +55 -0
- package/presets/mavis/php-laravel/native-skills/feature-delivery/SKILL.md +43 -0
- package/presets/mavis/php-laravel/native-skills/integration-testing/SKILL.md +21 -0
- package/presets/mavis/php-laravel/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/php-laravel/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/php-laravel/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/php-laravel/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/php-laravel/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/php-laravel/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/php-laravel/native-skills/task/SKILL.md +77 -0
- package/presets/mavis/php-laravel/native-skills/task-continue/SKILL.md +72 -0
- package/presets/mavis/php-laravel/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/php-laravel/native-skills/unit-testing/SKILL.md +20 -0
- package/presets/mavis/php-laravel/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/php-laravel/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/php-laravel/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/php-laravel/rules/code-review-mr.md +19 -4
- package/presets/mavis/php-laravel/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/platform-contract.json +18 -5
- package/presets/mavis/svelte/MAVIS.md +9 -3
- package/presets/mavis/svelte/README.md +3 -1
- package/presets/mavis/svelte/adapter-map.json +109 -46
- package/presets/mavis/svelte/agents/code-reviewer.md +5 -1
- package/presets/mavis/svelte/agents/task-router.md +1 -1
- package/presets/mavis/svelte/commands/update.md +1 -0
- package/presets/mavis/svelte/hooks/README.md +29 -7
- package/presets/mavis/svelte/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/svelte/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/svelte/hooks/run-hook.mjs +103 -0
- package/presets/mavis/svelte/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/svelte/native-skills/README.md +15 -0
- package/presets/mavis/svelte/native-skills/ci-investigation/SKILL.md +50 -0
- package/presets/mavis/svelte/native-skills/code-review/SKILL.md +61 -0
- package/presets/mavis/svelte/native-skills/debug-investigation/SKILL.md +64 -0
- package/presets/mavis/svelte/native-skills/feature-delivery/SKILL.md +52 -0
- package/presets/mavis/svelte/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/svelte/native-skills/mockup-review/SKILL.md +34 -0
- package/presets/mavis/svelte/native-skills/playwright-e2e/SKILL.md +43 -0
- package/presets/mavis/svelte/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/svelte/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/svelte/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/svelte/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/svelte/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/svelte/native-skills/svelte-performance/SKILL.md +57 -0
- package/presets/mavis/svelte/native-skills/task/SKILL.md +79 -0
- package/presets/mavis/svelte/native-skills/task-continue/SKILL.md +74 -0
- package/presets/mavis/svelte/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/svelte/native-skills/unit-testing/SKILL.md +38 -0
- package/presets/mavis/svelte/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/svelte/native-skills/ux-design/SKILL.md +41 -0
- package/presets/mavis/svelte/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/svelte/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/svelte/rules/code-review-mr.md +19 -4
- package/presets/mavis/svelte/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/android-kotlin/adapter-map.json +1 -1
- package/presets/opencode/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/opencode/android-kotlin/commands/update.md +1 -0
- package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/android-kotlin/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/android-kotlin/rules/code-review-mr.md +19 -4
- package/presets/opencode/android-kotlin/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/go/adapter-map.json +1 -1
- package/presets/opencode/go/agents/code-reviewer.md +5 -1
- package/presets/opencode/go/commands/update.md +1 -0
- package/presets/opencode/go/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/go/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/go/rules/code-review-mr.md +19 -4
- package/presets/opencode/go/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/ios-swift/adapter-map.json +1 -1
- package/presets/opencode/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/opencode/ios-swift/commands/update.md +1 -0
- package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/ios-swift/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/ios-swift/rules/code-review-mr.md +19 -4
- package/presets/opencode/ios-swift/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/java/adapter-map.json +1 -1
- package/presets/opencode/java/agents/code-reviewer.md +5 -1
- package/presets/opencode/java/commands/update.md +1 -0
- package/presets/opencode/java/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/java/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/java/rules/code-review-mr.md +19 -4
- package/presets/opencode/java/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/mcp-ts/adapter-map.json +1 -1
- package/presets/opencode/mcp-ts/commands/update.md +1 -0
- package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/mcp-ts/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/mcp-ts/rules/code-review-mr.md +19 -4
- package/presets/opencode/mol/REPO_AGENTS.md +1 -1
- package/presets/opencode/mol/adapter-map.json +1 -1
- package/presets/opencode/mol/agents/code-reviewer.md +5 -1
- package/presets/opencode/mol/agents/task-router.md +1 -1
- package/presets/opencode/mol/commands/update.md +1 -0
- package/presets/opencode/mol/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/mol/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/mol/rules/code-review-mr.md +19 -4
- package/presets/opencode/mol/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/next/REPO_AGENTS.md +1 -1
- package/presets/opencode/next/adapter-map.json +1 -1
- package/presets/opencode/next/agents/code-reviewer.md +5 -1
- package/presets/opencode/next/agents/task-router.md +1 -1
- package/presets/opencode/next/commands/update.md +1 -0
- package/presets/opencode/next/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/next/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/next/rules/code-review-mr.md +19 -4
- package/presets/opencode/next/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/nuxt/adapter-map.json +1 -1
- package/presets/opencode/nuxt/agents/code-reviewer.md +5 -1
- package/presets/opencode/nuxt/agents/task-router.md +1 -1
- package/presets/opencode/nuxt/commands/update.md +1 -0
- package/presets/opencode/nuxt/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/nuxt/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/nuxt/rules/code-review-mr.md +19 -4
- package/presets/opencode/nuxt/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/php-hexagonal/adapter-map.json +1 -1
- package/presets/opencode/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/opencode/php-hexagonal/commands/update.md +1 -0
- package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/php-hexagonal/rules/code-review-mr.md +19 -4
- package/presets/opencode/php-hexagonal/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/php-laravel/adapter-map.json +1 -1
- package/presets/opencode/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/opencode/php-laravel/commands/update.md +1 -0
- package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/php-laravel/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/php-laravel/rules/code-review-mr.md +19 -4
- package/presets/opencode/php-laravel/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/plugins/task-status/README.md +3 -2
- package/presets/opencode/plugins/task-status/deepseek.ts +58 -34
- package/presets/opencode/plugins/task-status/tui.tsx +17 -17
- package/presets/opencode/svelte/adapter-map.json +1 -1
- package/presets/opencode/svelte/agents/code-reviewer.md +5 -1
- package/presets/opencode/svelte/agents/task-router.md +1 -1
- package/presets/opencode/svelte/commands/update.md +1 -0
- package/presets/opencode/svelte/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/svelte/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/svelte/rules/code-review-mr.md +19 -4
- package/presets/opencode/svelte/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/android-kotlin/adapter-map.json +1 -1
- package/presets/zcode/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/zcode/android-kotlin/commands/update.md +1 -0
- package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/android-kotlin/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/android-kotlin/rules/code-review-mr.md +19 -4
- package/presets/zcode/android-kotlin/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/go/adapter-map.json +1 -1
- package/presets/zcode/go/agents/code-reviewer.md +5 -1
- package/presets/zcode/go/commands/update.md +1 -0
- package/presets/zcode/go/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/go/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/go/rules/code-review-mr.md +19 -4
- package/presets/zcode/go/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/ios-swift/adapter-map.json +1 -1
- package/presets/zcode/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/zcode/ios-swift/commands/update.md +1 -0
- package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/ios-swift/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/ios-swift/rules/code-review-mr.md +19 -4
- package/presets/zcode/ios-swift/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/java/adapter-map.json +1 -1
- package/presets/zcode/java/agents/code-reviewer.md +5 -1
- package/presets/zcode/java/commands/update.md +1 -0
- package/presets/zcode/java/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/java/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/java/rules/code-review-mr.md +19 -4
- package/presets/zcode/java/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/mcp-ts/adapter-map.json +1 -1
- package/presets/zcode/mcp-ts/commands/update.md +1 -0
- package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/mcp-ts/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/mcp-ts/rules/code-review-mr.md +19 -4
- package/presets/zcode/mol/REPO_AGENTS.md +1 -1
- package/presets/zcode/mol/adapter-map.json +1 -1
- package/presets/zcode/mol/agents/code-reviewer.md +5 -1
- package/presets/zcode/mol/agents/task-router.md +1 -1
- package/presets/zcode/mol/commands/update.md +1 -0
- package/presets/zcode/mol/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/mol/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/mol/rules/code-review-mr.md +19 -4
- package/presets/zcode/mol/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/next/REPO_AGENTS.md +1 -1
- package/presets/zcode/next/adapter-map.json +1 -1
- package/presets/zcode/next/agents/code-reviewer.md +5 -1
- package/presets/zcode/next/agents/task-router.md +1 -1
- package/presets/zcode/next/commands/update.md +1 -0
- package/presets/zcode/next/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/next/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/next/rules/code-review-mr.md +19 -4
- package/presets/zcode/next/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/nuxt/adapter-map.json +1 -1
- package/presets/zcode/nuxt/agents/code-reviewer.md +5 -1
- package/presets/zcode/nuxt/agents/task-router.md +1 -1
- package/presets/zcode/nuxt/commands/update.md +1 -0
- package/presets/zcode/nuxt/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/nuxt/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/nuxt/rules/code-review-mr.md +19 -4
- package/presets/zcode/nuxt/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/php-hexagonal/adapter-map.json +1 -1
- package/presets/zcode/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/zcode/php-hexagonal/commands/update.md +1 -0
- package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/php-hexagonal/rules/code-review-mr.md +19 -4
- package/presets/zcode/php-hexagonal/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/php-laravel/adapter-map.json +1 -1
- package/presets/zcode/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/zcode/php-laravel/commands/update.md +1 -0
- package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/php-laravel/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/php-laravel/rules/code-review-mr.md +19 -4
- package/presets/zcode/php-laravel/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/svelte/adapter-map.json +1 -1
- package/presets/zcode/svelte/agents/code-reviewer.md +5 -1
- package/presets/zcode/svelte/agents/task-router.md +1 -1
- package/presets/zcode/svelte/commands/update.md +1 -0
- package/presets/zcode/svelte/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/svelte/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/svelte/rules/code-review-mr.md +19 -4
- package/presets/zcode/svelte/skills/code-review/SKILL.md +2 -1
|
@@ -74,7 +74,7 @@ Set optional top-level `"profile": "full" | "standard" | "light"` in `pipeline.j
|
|
|
74
74
|
|
|
75
75
|
**Closure order:** the last authoring step (`feature-developer`, `qa-tester`, a test generator) is always followed by exactly one `build-verifier`; `code-reviewer` reviews the validated tree. A review fix re-enters the delta verifier before the reviewer sees it again.
|
|
76
76
|
|
|
77
|
-
**Light signals:** one file, one layer, explicit AC in prompt, no architectural risk. **Never skip `build-verifier`** after developer when `app/**` changed. **Skip `code-reviewer`**
|
|
77
|
+
**Light signals:** one file, one layer, explicit AC in prompt, no architectural risk. **Never skip `build-verifier`** after developer when `app/**` changed. **Skip `code-reviewer`** only when every changed path is prose (`*.md`, docs, snapshots); a diff that touches scripts, hooks, CI, or source runs it at every profile, `light` included.
|
|
78
78
|
|
|
79
79
|
## Task class (spike / bounded / architectural)
|
|
80
80
|
|
|
@@ -21,6 +21,7 @@ npx @bonesofspring/ai-rules update
|
|
|
21
21
|
2. Report the CLI summary to the user in their native language. It names each tool and the preset it kept.
|
|
22
22
|
3. State the outcome in plain words. Exit code 0 means the update finished successfully. Any other exit means it did not finish successfully: quote stderr and stop.
|
|
23
23
|
4. Do not report the numeric exit code.
|
|
24
|
+
5. Commit the update on its own. Managed trees (`.cursor/`, `.claude/`, `.mavis/`, `.opencode/`, `.zcode/`, `.ai.local/scripts/`) and app work never share a commit or a merge request.
|
|
24
25
|
|
|
25
26
|
## Record
|
|
26
27
|
|
|
@@ -1394,6 +1394,40 @@ function missingConsumerArtifacts() {
|
|
|
1394
1394
|
);
|
|
1395
1395
|
return ids.filter((id) => !done.has(id));
|
|
1396
1396
|
}
|
|
1397
|
+
// A step that names a gate agent is a promise the plan made to the diff. The
|
|
1398
|
+
// consumer config is optional, but a declared gate is not: an unreviewed diff
|
|
1399
|
+
// completed while the plan said "code-reviewer" reads as a passed review.
|
|
1400
|
+
// A step the run skipped (status.skippedSteps) or skipIf-matched never promised
|
|
1401
|
+
// anything, so it is not required here.
|
|
1402
|
+
const GATE_AGENTS = new Set([
|
|
1403
|
+
'build-verifier',
|
|
1404
|
+
'code-reviewer',
|
|
1405
|
+
'mockup-reviewer',
|
|
1406
|
+
'security-reviewer',
|
|
1407
|
+
'accessibility-reviewer',
|
|
1408
|
+
'api-contract-reviewer',
|
|
1409
|
+
'performance-auditor',
|
|
1410
|
+
]);
|
|
1411
|
+
function missingDeclaredGateArtifacts() {
|
|
1412
|
+
if (steps.length === 0) return [];
|
|
1413
|
+
let manifest = { artifacts: [] };
|
|
1414
|
+
try { manifest = JSON.parse(fs.readFileSync(path.join(taskDir, 'artifact-manifest.json'), 'utf8')); } catch {}
|
|
1415
|
+
const done = new Set(
|
|
1416
|
+
(manifest.artifacts || [])
|
|
1417
|
+
.filter((artifact) => artifact && artifact.status === 'completed')
|
|
1418
|
+
.map((artifact) => artifact.id),
|
|
1419
|
+
);
|
|
1420
|
+
const missing = [];
|
|
1421
|
+
steps.forEach((step, index) => {
|
|
1422
|
+
if (!step || isStepSkipped(index)) return;
|
|
1423
|
+
for (const agent of getStepAgents(step)) {
|
|
1424
|
+
if (!GATE_AGENTS.has(agent)) continue;
|
|
1425
|
+
const id = artifactOutputIdFor(step, agent);
|
|
1426
|
+
if (!done.has(id)) missing.push(`${id} (${agent}${step.id ? `, step ${step.id}` : ''})`);
|
|
1427
|
+
}
|
|
1428
|
+
});
|
|
1429
|
+
return [...new Set(missing)];
|
|
1430
|
+
}
|
|
1397
1431
|
function completePipeline(statusPatch) {
|
|
1398
1432
|
const missing = missingConsumerArtifacts();
|
|
1399
1433
|
if (missing.length > 0) {
|
|
@@ -1401,6 +1435,12 @@ function completePipeline(statusPatch) {
|
|
|
1401
1435
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
1402
1436
|
process.exit(0);
|
|
1403
1437
|
}
|
|
1438
|
+
const missingGates = missingDeclaredGateArtifacts();
|
|
1439
|
+
if (missingGates.length > 0) {
|
|
1440
|
+
writeStatus({ ...statusPatch, phase: 'blocked', state: 'blocked', currentAgent: null, awaitingHumanGate: false });
|
|
1441
|
+
out(`Pipeline blocked for "${slug}": pipeline.json declares gate step(s) with no completed receipt: ${missingGates.join(', ')}. Run the step, or record it under status.skippedSteps with its reason, then resume with /task-continue ${slug}.`);
|
|
1442
|
+
process.exit(0);
|
|
1443
|
+
}
|
|
1404
1444
|
// task_completed is written only on this branch. A missing receipt blocks
|
|
1405
1445
|
// above and must not be counted as a finished task.
|
|
1406
1446
|
status.state = 'completed';
|
|
@@ -132,6 +132,7 @@ Each slug has one `artifact-manifest.json` at `.ai.local/team/tasks/<slug>/`. Th
|
|
|
132
132
|
- Agents upsert only the items they own in `manifest.artifacts[]` and preserve all foreign items in that array. Parallel agents use distinct IDs. Every write is a whole-file merge through `node .ai.local/scripts/manifest.mjs upsert …` under `.manifest.lock` (see the installed `team/README.md` § artifact-manifest.json — write protocol); the parent does not need to serialize merges, and a fragment/replace edit of the JSON is forbidden. The top-level array key is `artifacts` — not `entries`; see `agent-artifact-contracts.md` for the schema callout.
|
|
133
133
|
- The orchestration runtime/hook is the single writer for `status.json` lifecycle fields and `metrics.json`. Agents read status for eligibility but never rewrite unrelated state, gate, retry, attempt, timestamp, or metrics fields.
|
|
134
134
|
- Missing/stale manifests are reported as a handoff gap; fall back to `brief.md`, `decomposition.md`, and `pipeline.json` rather than inventing authority.
|
|
135
|
+
- A step that names a gate agent (`build-verifier`, `code-reviewer`, `mockup-reviewer`, `security-reviewer`, `accessibility-reviewer`, `api-contract-reviewer`, `performance-auditor`) is a promise the plan made to the diff: the hook blocks `completed` while its receipt is missing, with or without `.ai.local/pipeline-gates.json`. An intentional skip is recorded in `status.skippedSteps` with its reason — never by dropping the step quietly.
|
|
135
136
|
|
|
136
137
|
## Out-of-band producer passes
|
|
137
138
|
|
|
@@ -27,7 +27,7 @@ Concrete rule stems — in **Stack notes**.
|
|
|
27
27
|
|
|
28
28
|
## Depth passes
|
|
29
29
|
|
|
30
|
-
A diff-shaped read is a floor, not a review. Run these
|
|
30
|
+
A diff-shaped read is a floor, not a review. Run these six passes on every non-trivial review and record each one under `## Depth passes` in the review artifact as exactly one of:
|
|
31
31
|
|
|
32
32
|
- **`finding`** — reported like any other finding, with `path:line`.
|
|
33
33
|
- **`no finding`** — with one line of evidence: what was searched or read.
|
|
@@ -41,10 +41,11 @@ An outcome word alone is not a record: `no finding` without its evidence line, o
|
|
|
41
41
|
3. **Trust boundary** — which data crosses a trust boundary in this change, and where is it validated. Data reaching storage, logs, HTML, SQL, shell, or an outbound request without an edge check is a finding.
|
|
42
42
|
4. **Test gap** — not "is there a test" but "which behaviour change would still pass every existing test". That gap is the finding.
|
|
43
43
|
5. **Half-life** — what breaks in six months: hidden coupling, implicit contract, missing migration, an unowned copy of the same rule.
|
|
44
|
+
6. **Executable surface** — when the diff touches anything that runs outside app code (`*.mjs`, hooks, `scripts/`, CI steps): state the working directory the code assumes, quote every path spliced into a shell string, and check that a spawn cannot kill or truncate the command it wraps. A config-derived value written into storage carries no credential, and a migration or scan re-runs with a stable id.
|
|
44
45
|
|
|
45
46
|
## Review breadth budget
|
|
46
47
|
|
|
47
|
-
- Bound **breadth**, not depth: the call-site sweep and the one-hop consumer read stop at this budget. The
|
|
48
|
+
- Bound **breadth**, not depth: the call-site sweep and the one-hop consumer read stop at this budget. The six depth passes still run on what was read.
|
|
48
49
|
- Budget: the changed exports, types, routes, and events in the diff, plus one hop of their consumers. Read no consumer that neither the diff nor a recorded finding names.
|
|
49
50
|
- Stop when either limit is reached: 40 changed-symbol call sites, or 15 minutes of breadth reads on one review.
|
|
50
51
|
- When the budget is exhausted, stop the sweep and record `partial` in `## Depth passes` for the call-site sweep, with every unread path or glob named inline.
|
|
@@ -67,8 +68,22 @@ Procedure details live in skill `code-review`. Required shape:
|
|
|
67
68
|
- Confidence is not a second severity: the verdict and the receipt still map from severity alone. A `blocker` at `low` confidence stands only with that confirming check named.
|
|
68
69
|
- Rank by severity: **`blocker` | `important` | `nit`** (list blocker → nit).
|
|
69
70
|
- Vague («looks risky») is not a finding — cite evidence or ask for surrounding file context.
|
|
70
|
-
-
|
|
71
|
-
-
|
|
71
|
+
- A behaviour you cannot settle by reading is a **question, not silence**. Put it under `## Open questions` as `- <question> — check: <the one check that would settle it> — blocker-candidate: yes | no`. A question needs no `path:line` and no `confidence`; leaving it out because it is unproven is the failure this section exists to prevent.
|
|
72
|
+
- End with a verdict on its own line: **`Safe to merge | safe to merge with questions | needs changes | reject`**. `safe to merge with questions` is allowed only with no `blocker`/`important` finding and at least one open question; the terminal receipt stays `completed`. A silent `Safe to merge` over an open question is not a verdict.
|
|
73
|
+
- Close with `## Not verified` — what was read shallowly, which pass could not run, which assumption went unchecked. An empty section reads `none`; never omit it. A depth pass recorded `unable to run` or `partial` over an executable surface (scripts, hooks, CI, migrations) forbids `Safe to merge` until the check runs or a human accepts it in writing.
|
|
74
|
+
|
|
75
|
+
## Review without an acceptance criterion
|
|
76
|
+
|
|
77
|
+
A change-set that no brief, decomposition, or plan names is still reviewable: the diff is the scope, and the verdict rests on it alone. State in `## Not verified` that no AC existed; absence of an AC is a scope fact, never a review exemption. When the plan is missing, review against these classes; a class you cannot settle by reading becomes an `## Open question`:
|
|
78
|
+
|
|
79
|
+
- null/undefined after `JSON.parse`, a missing key, or a shape the producer never promised;
|
|
80
|
+
- empty, boundary, repeated, and concurrent inputs;
|
|
81
|
+
- resource limits: buffers, timeouts, retries, exit codes, stdio;
|
|
82
|
+
- secrets and credentials reaching logs, files, URLs, or an outbound request;
|
|
83
|
+
- path resolution that assumes a cwd; quoting of argv and of interpolated shell;
|
|
84
|
+
- idempotency of migrations, re-runs, and partial failures;
|
|
85
|
+
- machine-local runtime state that a commit would carry;
|
|
86
|
+
- a second unowned copy of a rule that already exists elsewhere.
|
|
72
87
|
|
|
73
88
|
## Verdict and terminal receipt
|
|
74
89
|
|
|
@@ -36,7 +36,8 @@ Lead with findings ordered by severity. Required shape (also in `code-review-mr`
|
|
|
36
36
|
- Each finding: **`path:line`** — problem — impact — concrete fix direction.
|
|
37
37
|
- Severity: **`blocker` | `important` | `nit`** (list blocker → nit).
|
|
38
38
|
- Vague («looks risky») is not a finding — cite evidence or ask for surrounding context.
|
|
39
|
-
-
|
|
39
|
+
- A behaviour you cannot settle by reading is a question, not silence: list it under `## Open questions` as `- <question> — check: <what would settle it> — blocker-candidate: yes | no`. A question needs no `path:line` and no `confidence`.
|
|
40
|
+
- End with a verdict line: **`Safe to merge | safe to merge with questions | needs changes | reject`**. `safe to merge with questions` requires no `blocker`/`important` finding and at least one open question.
|
|
40
41
|
- If there are no findings, say so and call out remaining test or validation risk.
|
|
41
42
|
- Carry `confidence` on every finding and close with `## Not verified` (see `code-review-mr` § Output contract).
|
|
42
43
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "php-hexagonal",
|
|
5
5
|
"semanticSource": "cursor/php-hexagonal",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "63aa4348b0f20f6d9102778f63ded14af5af37b4d92ea925288ce1c5533e2a68",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -86,8 +86,9 @@ Write `.ai.local/team/tasks/<slug>/review.md` with this format:
|
|
|
86
86
|
# Code review: <slug>
|
|
87
87
|
|
|
88
88
|
## Verdict
|
|
89
|
-
APPROVE | APPROVE_WITH_NOTES | REQUEST_CHANGES
|
|
89
|
+
APPROVE | APPROVE_WITH_QUESTIONS | APPROVE_WITH_NOTES | REQUEST_CHANGES
|
|
90
90
|
Findings carry `path:line`, severity, `confidence`, and a fix direction — rules in `code-review-mr` § Output contract.
|
|
91
|
+
`APPROVE_WITH_QUESTIONS` needs no `blocker`/`important` finding and at least one open question below.
|
|
91
92
|
|
|
92
93
|
## Critical (must fix)
|
|
93
94
|
- ...
|
|
@@ -98,6 +99,9 @@ Findings carry `path:line`, severity, `confidence`, and a fix direction — rule
|
|
|
98
99
|
## Suggestions (nice to have)
|
|
99
100
|
- ...
|
|
100
101
|
|
|
102
|
+
## Open questions
|
|
103
|
+
- <question> — check: <what would settle it> — blocker-candidate: yes | no
|
|
104
|
+
|
|
101
105
|
## Depth passes
|
|
102
106
|
| Pass | Outcome | Evidence or reason |
|
|
103
107
|
|------|---------|--------------------|
|
|
@@ -21,6 +21,7 @@ npx @bonesofspring/ai-rules update
|
|
|
21
21
|
2. Report the CLI summary to the user in their native language. It names each tool and the preset it kept.
|
|
22
22
|
3. State the outcome in plain words. Exit code 0 means the update finished successfully. Any other exit means it did not finish successfully: quote stderr and stop.
|
|
23
23
|
4. Do not report the numeric exit code.
|
|
24
|
+
5. Commit the update on its own. Managed trees (`.cursor/`, `.claude/`, `.mavis/`, `.opencode/`, `.zcode/`, `.ai.local/scripts/`) and app work never share a commit or a merge request.
|
|
24
25
|
|
|
25
26
|
## Record
|
|
26
27
|
|
|
@@ -1394,6 +1394,40 @@ function missingConsumerArtifacts() {
|
|
|
1394
1394
|
);
|
|
1395
1395
|
return ids.filter((id) => !done.has(id));
|
|
1396
1396
|
}
|
|
1397
|
+
// A step that names a gate agent is a promise the plan made to the diff. The
|
|
1398
|
+
// consumer config is optional, but a declared gate is not: an unreviewed diff
|
|
1399
|
+
// completed while the plan said "code-reviewer" reads as a passed review.
|
|
1400
|
+
// A step the run skipped (status.skippedSteps) or skipIf-matched never promised
|
|
1401
|
+
// anything, so it is not required here.
|
|
1402
|
+
const GATE_AGENTS = new Set([
|
|
1403
|
+
'build-verifier',
|
|
1404
|
+
'code-reviewer',
|
|
1405
|
+
'mockup-reviewer',
|
|
1406
|
+
'security-reviewer',
|
|
1407
|
+
'accessibility-reviewer',
|
|
1408
|
+
'api-contract-reviewer',
|
|
1409
|
+
'performance-auditor',
|
|
1410
|
+
]);
|
|
1411
|
+
function missingDeclaredGateArtifacts() {
|
|
1412
|
+
if (steps.length === 0) return [];
|
|
1413
|
+
let manifest = { artifacts: [] };
|
|
1414
|
+
try { manifest = JSON.parse(fs.readFileSync(path.join(taskDir, 'artifact-manifest.json'), 'utf8')); } catch {}
|
|
1415
|
+
const done = new Set(
|
|
1416
|
+
(manifest.artifacts || [])
|
|
1417
|
+
.filter((artifact) => artifact && artifact.status === 'completed')
|
|
1418
|
+
.map((artifact) => artifact.id),
|
|
1419
|
+
);
|
|
1420
|
+
const missing = [];
|
|
1421
|
+
steps.forEach((step, index) => {
|
|
1422
|
+
if (!step || isStepSkipped(index)) return;
|
|
1423
|
+
for (const agent of getStepAgents(step)) {
|
|
1424
|
+
if (!GATE_AGENTS.has(agent)) continue;
|
|
1425
|
+
const id = artifactOutputIdFor(step, agent);
|
|
1426
|
+
if (!done.has(id)) missing.push(`${id} (${agent}${step.id ? `, step ${step.id}` : ''})`);
|
|
1427
|
+
}
|
|
1428
|
+
});
|
|
1429
|
+
return [...new Set(missing)];
|
|
1430
|
+
}
|
|
1397
1431
|
function completePipeline(statusPatch) {
|
|
1398
1432
|
const missing = missingConsumerArtifacts();
|
|
1399
1433
|
if (missing.length > 0) {
|
|
@@ -1401,6 +1435,12 @@ function completePipeline(statusPatch) {
|
|
|
1401
1435
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
1402
1436
|
process.exit(0);
|
|
1403
1437
|
}
|
|
1438
|
+
const missingGates = missingDeclaredGateArtifacts();
|
|
1439
|
+
if (missingGates.length > 0) {
|
|
1440
|
+
writeStatus({ ...statusPatch, phase: 'blocked', state: 'blocked', currentAgent: null, awaitingHumanGate: false });
|
|
1441
|
+
out(`Pipeline blocked for "${slug}": pipeline.json declares gate step(s) with no completed receipt: ${missingGates.join(', ')}. Run the step, or record it under status.skippedSteps with its reason, then resume with /task-continue ${slug}.`);
|
|
1442
|
+
process.exit(0);
|
|
1443
|
+
}
|
|
1404
1444
|
// task_completed is written only on this branch. A missing receipt blocks
|
|
1405
1445
|
// above and must not be counted as a finished task.
|
|
1406
1446
|
status.state = 'completed';
|
|
@@ -132,6 +132,7 @@ Each slug has one `artifact-manifest.json` at `.ai.local/team/tasks/<slug>/`. Th
|
|
|
132
132
|
- Agents upsert only the items they own in `manifest.artifacts[]` and preserve all foreign items in that array. Parallel agents use distinct IDs. Every write is a whole-file merge through `node .ai.local/scripts/manifest.mjs upsert …` under `.manifest.lock` (see the installed `team/README.md` § artifact-manifest.json — write protocol); the parent does not need to serialize merges, and a fragment/replace edit of the JSON is forbidden. The top-level array key is `artifacts` — not `entries`; see `agent-artifact-contracts.md` for the schema callout.
|
|
133
133
|
- The orchestration runtime/hook is the single writer for `status.json` lifecycle fields and `metrics.json`. Agents read status for eligibility but never rewrite unrelated state, gate, retry, attempt, timestamp, or metrics fields.
|
|
134
134
|
- Missing/stale manifests are reported as a handoff gap; fall back to `brief.md`, `decomposition.md`, and `pipeline.json` rather than inventing authority.
|
|
135
|
+
- A step that names a gate agent (`build-verifier`, `code-reviewer`, `mockup-reviewer`, `security-reviewer`, `accessibility-reviewer`, `api-contract-reviewer`, `performance-auditor`) is a promise the plan made to the diff: the hook blocks `completed` while its receipt is missing, with or without `.ai.local/pipeline-gates.json`. An intentional skip is recorded in `status.skippedSteps` with its reason — never by dropping the step quietly.
|
|
135
136
|
|
|
136
137
|
## Out-of-band producer passes
|
|
137
138
|
|
|
@@ -27,7 +27,7 @@ Concrete rule stems — in **Stack notes**.
|
|
|
27
27
|
|
|
28
28
|
## Depth passes
|
|
29
29
|
|
|
30
|
-
A diff-shaped read is a floor, not a review. Run these
|
|
30
|
+
A diff-shaped read is a floor, not a review. Run these six passes on every non-trivial review and record each one under `## Depth passes` in the review artifact as exactly one of:
|
|
31
31
|
|
|
32
32
|
- **`finding`** — reported like any other finding, with `path:line`.
|
|
33
33
|
- **`no finding`** — with one line of evidence: what was searched or read.
|
|
@@ -41,10 +41,11 @@ An outcome word alone is not a record: `no finding` without its evidence line, o
|
|
|
41
41
|
3. **Trust boundary** — which data crosses a trust boundary in this change, and where is it validated. Data reaching storage, logs, HTML, SQL, shell, or an outbound request without an edge check is a finding.
|
|
42
42
|
4. **Test gap** — not "is there a test" but "which behaviour change would still pass every existing test". That gap is the finding.
|
|
43
43
|
5. **Half-life** — what breaks in six months: hidden coupling, implicit contract, missing migration, an unowned copy of the same rule.
|
|
44
|
+
6. **Executable surface** — when the diff touches anything that runs outside app code (`*.mjs`, hooks, `scripts/`, CI steps): state the working directory the code assumes, quote every path spliced into a shell string, and check that a spawn cannot kill or truncate the command it wraps. A config-derived value written into storage carries no credential, and a migration or scan re-runs with a stable id.
|
|
44
45
|
|
|
45
46
|
## Review breadth budget
|
|
46
47
|
|
|
47
|
-
- Bound **breadth**, not depth: the call-site sweep and the one-hop consumer read stop at this budget. The
|
|
48
|
+
- Bound **breadth**, not depth: the call-site sweep and the one-hop consumer read stop at this budget. The six depth passes still run on what was read.
|
|
48
49
|
- Budget: the changed exports, types, routes, and events in the diff, plus one hop of their consumers. Read no consumer that neither the diff nor a recorded finding names.
|
|
49
50
|
- Stop when either limit is reached: 40 changed-symbol call sites, or 15 minutes of breadth reads on one review.
|
|
50
51
|
- When the budget is exhausted, stop the sweep and record `partial` in `## Depth passes` for the call-site sweep, with every unread path or glob named inline.
|
|
@@ -67,8 +68,22 @@ Procedure details live in skill `code-review`. Required shape:
|
|
|
67
68
|
- Confidence is not a second severity: the verdict and the receipt still map from severity alone. A `blocker` at `low` confidence stands only with that confirming check named.
|
|
68
69
|
- Rank by severity: **`blocker` | `important` | `nit`** (list blocker → nit).
|
|
69
70
|
- Vague («looks risky») is not a finding — cite evidence or ask for surrounding file context.
|
|
70
|
-
-
|
|
71
|
-
-
|
|
71
|
+
- A behaviour you cannot settle by reading is a **question, not silence**. Put it under `## Open questions` as `- <question> — check: <the one check that would settle it> — blocker-candidate: yes | no`. A question needs no `path:line` and no `confidence`; leaving it out because it is unproven is the failure this section exists to prevent.
|
|
72
|
+
- End with a verdict on its own line: **`Safe to merge | safe to merge with questions | needs changes | reject`**. `safe to merge with questions` is allowed only with no `blocker`/`important` finding and at least one open question; the terminal receipt stays `completed`. A silent `Safe to merge` over an open question is not a verdict.
|
|
73
|
+
- Close with `## Not verified` — what was read shallowly, which pass could not run, which assumption went unchecked. An empty section reads `none`; never omit it. A depth pass recorded `unable to run` or `partial` over an executable surface (scripts, hooks, CI, migrations) forbids `Safe to merge` until the check runs or a human accepts it in writing.
|
|
74
|
+
|
|
75
|
+
## Review without an acceptance criterion
|
|
76
|
+
|
|
77
|
+
A change-set that no brief, decomposition, or plan names is still reviewable: the diff is the scope, and the verdict rests on it alone. State in `## Not verified` that no AC existed; absence of an AC is a scope fact, never a review exemption. When the plan is missing, review against these classes; a class you cannot settle by reading becomes an `## Open question`:
|
|
78
|
+
|
|
79
|
+
- null/undefined after `JSON.parse`, a missing key, or a shape the producer never promised;
|
|
80
|
+
- empty, boundary, repeated, and concurrent inputs;
|
|
81
|
+
- resource limits: buffers, timeouts, retries, exit codes, stdio;
|
|
82
|
+
- secrets and credentials reaching logs, files, URLs, or an outbound request;
|
|
83
|
+
- path resolution that assumes a cwd; quoting of argv and of interpolated shell;
|
|
84
|
+
- idempotency of migrations, re-runs, and partial failures;
|
|
85
|
+
- machine-local runtime state that a commit would carry;
|
|
86
|
+
- a second unowned copy of a rule that already exists elsewhere.
|
|
72
87
|
|
|
73
88
|
## Verdict and terminal receipt
|
|
74
89
|
|
|
@@ -22,7 +22,8 @@ Load `php-hexagonal-anti-hallucination` before writing or patching code or tests
|
|
|
22
22
|
|
|
23
23
|
- Each finding: **`path:line`** — problem — impact — concrete fix direction.
|
|
24
24
|
- Severity: **`blocker` | `important` | `nit`** (list blocker → nit).
|
|
25
|
-
-
|
|
25
|
+
- A behaviour you cannot settle by reading is a question, not silence: list it under `## Open questions` as `- <question> — check: <what would settle it> — blocker-candidate: yes | no`. A question needs no `path:line` and no `confidence`.
|
|
26
|
+
- End with a verdict line: **`Safe to merge | safe to merge with questions | needs changes | reject`**. `safe to merge with questions` requires no `blocker`/`important` finding and at least one open question.
|
|
26
27
|
- Map agent status: Safe to merge → `completed`; needs changes / reject → `changes_requested`.
|
|
27
28
|
- Carry `confidence` on every finding and close with `## Not verified` (see `code-review-mr` § Output contract).
|
|
28
29
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "php-laravel",
|
|
5
5
|
"semanticSource": "cursor/php-laravel",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "02d8493702194783ae0cb3f26e78190a7a11a436de232f218cec0cddfd207a45",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -86,8 +86,9 @@ Write `.ai.local/team/tasks/<slug>/review.md` with this format:
|
|
|
86
86
|
# Code review: <slug>
|
|
87
87
|
|
|
88
88
|
## Verdict
|
|
89
|
-
APPROVE | APPROVE_WITH_NOTES | REQUEST_CHANGES
|
|
89
|
+
APPROVE | APPROVE_WITH_QUESTIONS | APPROVE_WITH_NOTES | REQUEST_CHANGES
|
|
90
90
|
Findings carry `path:line`, severity, `confidence`, and a fix direction — rules in `code-review-mr` § Output contract.
|
|
91
|
+
`APPROVE_WITH_QUESTIONS` needs no `blocker`/`important` finding and at least one open question below.
|
|
91
92
|
|
|
92
93
|
## Critical (must fix)
|
|
93
94
|
- ...
|
|
@@ -98,6 +99,9 @@ Findings carry `path:line`, severity, `confidence`, and a fix direction — rule
|
|
|
98
99
|
## Suggestions (nice to have)
|
|
99
100
|
- ...
|
|
100
101
|
|
|
102
|
+
## Open questions
|
|
103
|
+
- <question> — check: <what would settle it> — blocker-candidate: yes | no
|
|
104
|
+
|
|
101
105
|
## Depth passes
|
|
102
106
|
| Pass | Outcome | Evidence or reason |
|
|
103
107
|
|------|---------|--------------------|
|
|
@@ -21,6 +21,7 @@ npx @bonesofspring/ai-rules update
|
|
|
21
21
|
2. Report the CLI summary to the user in their native language. It names each tool and the preset it kept.
|
|
22
22
|
3. State the outcome in plain words. Exit code 0 means the update finished successfully. Any other exit means it did not finish successfully: quote stderr and stop.
|
|
23
23
|
4. Do not report the numeric exit code.
|
|
24
|
+
5. Commit the update on its own. Managed trees (`.cursor/`, `.claude/`, `.mavis/`, `.opencode/`, `.zcode/`, `.ai.local/scripts/`) and app work never share a commit or a merge request.
|
|
24
25
|
|
|
25
26
|
## Record
|
|
26
27
|
|
|
@@ -1394,6 +1394,40 @@ function missingConsumerArtifacts() {
|
|
|
1394
1394
|
);
|
|
1395
1395
|
return ids.filter((id) => !done.has(id));
|
|
1396
1396
|
}
|
|
1397
|
+
// A step that names a gate agent is a promise the plan made to the diff. The
|
|
1398
|
+
// consumer config is optional, but a declared gate is not: an unreviewed diff
|
|
1399
|
+
// completed while the plan said "code-reviewer" reads as a passed review.
|
|
1400
|
+
// A step the run skipped (status.skippedSteps) or skipIf-matched never promised
|
|
1401
|
+
// anything, so it is not required here.
|
|
1402
|
+
const GATE_AGENTS = new Set([
|
|
1403
|
+
'build-verifier',
|
|
1404
|
+
'code-reviewer',
|
|
1405
|
+
'mockup-reviewer',
|
|
1406
|
+
'security-reviewer',
|
|
1407
|
+
'accessibility-reviewer',
|
|
1408
|
+
'api-contract-reviewer',
|
|
1409
|
+
'performance-auditor',
|
|
1410
|
+
]);
|
|
1411
|
+
function missingDeclaredGateArtifacts() {
|
|
1412
|
+
if (steps.length === 0) return [];
|
|
1413
|
+
let manifest = { artifacts: [] };
|
|
1414
|
+
try { manifest = JSON.parse(fs.readFileSync(path.join(taskDir, 'artifact-manifest.json'), 'utf8')); } catch {}
|
|
1415
|
+
const done = new Set(
|
|
1416
|
+
(manifest.artifacts || [])
|
|
1417
|
+
.filter((artifact) => artifact && artifact.status === 'completed')
|
|
1418
|
+
.map((artifact) => artifact.id),
|
|
1419
|
+
);
|
|
1420
|
+
const missing = [];
|
|
1421
|
+
steps.forEach((step, index) => {
|
|
1422
|
+
if (!step || isStepSkipped(index)) return;
|
|
1423
|
+
for (const agent of getStepAgents(step)) {
|
|
1424
|
+
if (!GATE_AGENTS.has(agent)) continue;
|
|
1425
|
+
const id = artifactOutputIdFor(step, agent);
|
|
1426
|
+
if (!done.has(id)) missing.push(`${id} (${agent}${step.id ? `, step ${step.id}` : ''})`);
|
|
1427
|
+
}
|
|
1428
|
+
});
|
|
1429
|
+
return [...new Set(missing)];
|
|
1430
|
+
}
|
|
1397
1431
|
function completePipeline(statusPatch) {
|
|
1398
1432
|
const missing = missingConsumerArtifacts();
|
|
1399
1433
|
if (missing.length > 0) {
|
|
@@ -1401,6 +1435,12 @@ function completePipeline(statusPatch) {
|
|
|
1401
1435
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
1402
1436
|
process.exit(0);
|
|
1403
1437
|
}
|
|
1438
|
+
const missingGates = missingDeclaredGateArtifacts();
|
|
1439
|
+
if (missingGates.length > 0) {
|
|
1440
|
+
writeStatus({ ...statusPatch, phase: 'blocked', state: 'blocked', currentAgent: null, awaitingHumanGate: false });
|
|
1441
|
+
out(`Pipeline blocked for "${slug}": pipeline.json declares gate step(s) with no completed receipt: ${missingGates.join(', ')}. Run the step, or record it under status.skippedSteps with its reason, then resume with /task-continue ${slug}.`);
|
|
1442
|
+
process.exit(0);
|
|
1443
|
+
}
|
|
1404
1444
|
// task_completed is written only on this branch. A missing receipt blocks
|
|
1405
1445
|
// above and must not be counted as a finished task.
|
|
1406
1446
|
status.state = 'completed';
|
|
@@ -132,6 +132,7 @@ Each slug has one `artifact-manifest.json` at `.ai.local/team/tasks/<slug>/`. Th
|
|
|
132
132
|
- Agents upsert only the items they own in `manifest.artifacts[]` and preserve all foreign items in that array. Parallel agents use distinct IDs. Every write is a whole-file merge through `node .ai.local/scripts/manifest.mjs upsert …` under `.manifest.lock` (see the installed `team/README.md` § artifact-manifest.json — write protocol); the parent does not need to serialize merges, and a fragment/replace edit of the JSON is forbidden. The top-level array key is `artifacts` — not `entries`; see `agent-artifact-contracts.md` for the schema callout.
|
|
133
133
|
- The orchestration runtime/hook is the single writer for `status.json` lifecycle fields and `metrics.json`. Agents read status for eligibility but never rewrite unrelated state, gate, retry, attempt, timestamp, or metrics fields.
|
|
134
134
|
- Missing/stale manifests are reported as a handoff gap; fall back to `brief.md`, `decomposition.md`, and `pipeline.json` rather than inventing authority.
|
|
135
|
+
- A step that names a gate agent (`build-verifier`, `code-reviewer`, `mockup-reviewer`, `security-reviewer`, `accessibility-reviewer`, `api-contract-reviewer`, `performance-auditor`) is a promise the plan made to the diff: the hook blocks `completed` while its receipt is missing, with or without `.ai.local/pipeline-gates.json`. An intentional skip is recorded in `status.skippedSteps` with its reason — never by dropping the step quietly.
|
|
135
136
|
|
|
136
137
|
## Out-of-band producer passes
|
|
137
138
|
|
|
@@ -27,7 +27,7 @@ Concrete rule stems — in **Stack notes**.
|
|
|
27
27
|
|
|
28
28
|
## Depth passes
|
|
29
29
|
|
|
30
|
-
A diff-shaped read is a floor, not a review. Run these
|
|
30
|
+
A diff-shaped read is a floor, not a review. Run these six passes on every non-trivial review and record each one under `## Depth passes` in the review artifact as exactly one of:
|
|
31
31
|
|
|
32
32
|
- **`finding`** — reported like any other finding, with `path:line`.
|
|
33
33
|
- **`no finding`** — with one line of evidence: what was searched or read.
|
|
@@ -41,10 +41,11 @@ An outcome word alone is not a record: `no finding` without its evidence line, o
|
|
|
41
41
|
3. **Trust boundary** — which data crosses a trust boundary in this change, and where is it validated. Data reaching storage, logs, HTML, SQL, shell, or an outbound request without an edge check is a finding.
|
|
42
42
|
4. **Test gap** — not "is there a test" but "which behaviour change would still pass every existing test". That gap is the finding.
|
|
43
43
|
5. **Half-life** — what breaks in six months: hidden coupling, implicit contract, missing migration, an unowned copy of the same rule.
|
|
44
|
+
6. **Executable surface** — when the diff touches anything that runs outside app code (`*.mjs`, hooks, `scripts/`, CI steps): state the working directory the code assumes, quote every path spliced into a shell string, and check that a spawn cannot kill or truncate the command it wraps. A config-derived value written into storage carries no credential, and a migration or scan re-runs with a stable id.
|
|
44
45
|
|
|
45
46
|
## Review breadth budget
|
|
46
47
|
|
|
47
|
-
- Bound **breadth**, not depth: the call-site sweep and the one-hop consumer read stop at this budget. The
|
|
48
|
+
- Bound **breadth**, not depth: the call-site sweep and the one-hop consumer read stop at this budget. The six depth passes still run on what was read.
|
|
48
49
|
- Budget: the changed exports, types, routes, and events in the diff, plus one hop of their consumers. Read no consumer that neither the diff nor a recorded finding names.
|
|
49
50
|
- Stop when either limit is reached: 40 changed-symbol call sites, or 15 minutes of breadth reads on one review.
|
|
50
51
|
- When the budget is exhausted, stop the sweep and record `partial` in `## Depth passes` for the call-site sweep, with every unread path or glob named inline.
|
|
@@ -67,8 +68,22 @@ Procedure details live in skill `code-review`. Required shape:
|
|
|
67
68
|
- Confidence is not a second severity: the verdict and the receipt still map from severity alone. A `blocker` at `low` confidence stands only with that confirming check named.
|
|
68
69
|
- Rank by severity: **`blocker` | `important` | `nit`** (list blocker → nit).
|
|
69
70
|
- Vague («looks risky») is not a finding — cite evidence or ask for surrounding file context.
|
|
70
|
-
-
|
|
71
|
-
-
|
|
71
|
+
- A behaviour you cannot settle by reading is a **question, not silence**. Put it under `## Open questions` as `- <question> — check: <the one check that would settle it> — blocker-candidate: yes | no`. A question needs no `path:line` and no `confidence`; leaving it out because it is unproven is the failure this section exists to prevent.
|
|
72
|
+
- End with a verdict on its own line: **`Safe to merge | safe to merge with questions | needs changes | reject`**. `safe to merge with questions` is allowed only with no `blocker`/`important` finding and at least one open question; the terminal receipt stays `completed`. A silent `Safe to merge` over an open question is not a verdict.
|
|
73
|
+
- Close with `## Not verified` — what was read shallowly, which pass could not run, which assumption went unchecked. An empty section reads `none`; never omit it. A depth pass recorded `unable to run` or `partial` over an executable surface (scripts, hooks, CI, migrations) forbids `Safe to merge` until the check runs or a human accepts it in writing.
|
|
74
|
+
|
|
75
|
+
## Review without an acceptance criterion
|
|
76
|
+
|
|
77
|
+
A change-set that no brief, decomposition, or plan names is still reviewable: the diff is the scope, and the verdict rests on it alone. State in `## Not verified` that no AC existed; absence of an AC is a scope fact, never a review exemption. When the plan is missing, review against these classes; a class you cannot settle by reading becomes an `## Open question`:
|
|
78
|
+
|
|
79
|
+
- null/undefined after `JSON.parse`, a missing key, or a shape the producer never promised;
|
|
80
|
+
- empty, boundary, repeated, and concurrent inputs;
|
|
81
|
+
- resource limits: buffers, timeouts, retries, exit codes, stdio;
|
|
82
|
+
- secrets and credentials reaching logs, files, URLs, or an outbound request;
|
|
83
|
+
- path resolution that assumes a cwd; quoting of argv and of interpolated shell;
|
|
84
|
+
- idempotency of migrations, re-runs, and partial failures;
|
|
85
|
+
- machine-local runtime state that a commit would carry;
|
|
86
|
+
- a second unowned copy of a rule that already exists elsewhere.
|
|
72
87
|
|
|
73
88
|
## Verdict and terminal receipt
|
|
74
89
|
|
|
@@ -22,7 +22,8 @@ Load `laravel-anti-hallucination` before writing or patching code or tests.
|
|
|
22
22
|
|
|
23
23
|
- Each finding: **`path:line`** — problem — impact — concrete fix direction.
|
|
24
24
|
- Severity: **`blocker` | `important` | `nit`** (list blocker → nit).
|
|
25
|
-
-
|
|
25
|
+
- A behaviour you cannot settle by reading is a question, not silence: list it under `## Open questions` as `- <question> — check: <what would settle it> — blocker-candidate: yes | no`. A question needs no `path:line` and no `confidence`.
|
|
26
|
+
- End with a verdict line: **`Safe to merge | safe to merge with questions | needs changes | reject`**. `safe to merge with questions` requires no `blocker`/`important` finding and at least one open question.
|
|
26
27
|
- Map agent status: Safe to merge → `completed`; needs changes / reject → `changes_requested`.
|
|
27
28
|
- Carry `confidence` on every finding and close with `## Not verified` (see `code-review-mr` § Output contract).
|
|
28
29
|
|
|
@@ -12,14 +12,15 @@ Modelled on the built-in MCP sidebar plugin (`packages/tui/src/feature-plugins/s
|
|
|
12
12
|
- the `eta` row reads `~52m · p90 3h 32m`: estimated time to finish the remaining plan steps. It hides while the run waits on a human gate, is paused, blocked, waiting for a receipt, or is done. A stale run keeps it — the estimate is historical, not live — and with fewer than 3 ledgers the row reads `—` instead of disappearing
|
|
13
13
|
- clicking any row opens a details dialog with 3-cell side padding: `goal.md`, pipeline steps with the current one marked, artifacts from `artifact-manifest.json`, the last manifest entries, the prompt, the last update age and the ETA with its ledger count. The body scrolls with ↑/↓, PgUp/PgDn, Home/End or the mouse wheel; `esc` closes it.
|
|
14
14
|
- a live task shows `■ stop` in the header; click → confirm → writes the task-scoped `.ai.local/team/tasks/<slug>/STOP` (the repo-wide `.ai.local/STOP` only when the task directory is gone). The in-flight attempt finishes, no next step starts. A task with a stop sentinel shows `▶ resume` instead: confirm clears it. Saying `/task-continue <slug>` (or `продолжай` / `continue`) in a matched session is the keyboard path. <!-- i18n-keep: E4 -->
|
|
15
|
-
- a `DeepSeek` row under the fields reads `[peak]` in red or `[off-peak]` in green: the current DeepSeek billing window, read from the same
|
|
15
|
+
- a `DeepSeek` row under the fields reads `[peak]` in red or `[off-peak]` in green: the current DeepSeek billing window, read from the same models store as the team-tasks UI — the peak `windows` linked to the `DeepSeek` provider under the nearest `.ai.local/models` above the project directory. Window semantics are shared with the UI: a weekly window covers `[startHour, endHour)` — the end hour is exclusive — and `startHour > endHour` wraps across midnight. Without a store the row falls back to the published schedule shipped with the plugin: 09:00–12:00 and 14:00–18:00 Asia/Shanghai, Monday–Friday. Chinese public holidays are off-peak all day but are not tracked, so a holiday weekday still reads `peak` inside a window
|
|
16
|
+
- a `Z.AI` row reads the same `[peak]`/`[off-peak]` for the GLM Coding Plan: the peak `windows` linked to the `Z.AI` provider in the same store (Monday–Friday 14:00–18:00 Asia/Singapore; weekends deduct at off-peak rates all day). Without a store it falls back to that published schedule. Quota consumption percentages and reset times are intentionally not shown: the plan quota is server-side and no usage API is documented
|
|
16
17
|
- a stale task reads `◌ stale · 8d 17h ago` with a muted tone instead of pretending to run
|
|
17
18
|
- the open flag lives in `context.storage.store("panel", { initial: { open: true } })`, so it survives restarts; the live view stays in `context.storage.memory`
|
|
18
19
|
- values use `wrapMode="none" truncate` and `minWidth={0}`, so a narrow sidebar truncates instead of wrapping
|
|
19
20
|
|
|
20
21
|
## Data
|
|
21
22
|
|
|
22
|
-
Reads the nearest `.ai.local/team/` above the session directory, and the
|
|
23
|
+
Reads the nearest `.ai.local/team/` above the session directory, and the provider peak windows (DeepSeek, Z.AI) from the nearest `.ai.local/models/` — the same `providers`/`links`/`windows` records `apps/team-tasks-ui` reads (`MODELS_ROOT` points at the models directory; the deprecated `CATALOG_ROOT` still works for one release):
|
|
23
24
|
|
|
24
25
|
- `tasks/<slug>/prompt.md` — the original prompt, the session-matching anchor
|
|
25
26
|
- `tasks/<slug>/prompt-log.md` — the follow-up log, shown in the details dialog only
|