@bonesofspring/ai-rules 0.2.86 → 0.2.90
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 +60 -0
- package/README.md +9 -1
- package/bin/lib/engine-scripts.js +11 -0
- package/bin/lib/seed-ai-local-team.js +79 -2
- package/bin/opencode-install.js +14 -12
- package/docs/OPENCODE-COMPATIBILITY.md +6 -4
- package/docs/OPENCODE.md +15 -8
- package/docs/PRESET-CONTRIBUTION.md +6 -6
- package/docs/TOKEN-ECONOMY.md +20 -0
- package/docs/openapi/team-db.v1.json +2 -2
- package/package.json +1 -1
- package/presets/_shared/ai-local/env.example +54 -0
- package/presets/_shared/ai-local/scripts/aggregate-agent-task-metrics.mjs +34 -5
- package/presets/_shared/ai-local/scripts/check-task-repositories.mjs +25 -22
- package/presets/_shared/ai-local/scripts/process-lease.mjs +3 -2
- package/presets/_shared/ai-local/scripts/processes.mjs +52 -20
- package/presets/_shared/ai-local/scripts/report-step-cost.mjs +544 -0
- package/presets/_shared/ai-local/scripts/run.mjs +38 -6
- package/presets/_shared/ai-local/scripts/settings.mjs +246 -0
- package/presets/_shared/ai-local/scripts/task-worktree.mjs +364 -0
- package/presets/_shared/ai-local/scripts/team-db-openapi.mjs +2 -2
- package/presets/_shared/ai-local/scripts/team-db-project.mjs +87 -14
- package/presets/_shared/ai-local/scripts/team-db-schema.mjs +102 -12
- package/presets/_shared/ai-local/scripts/team-db-tracker.mjs +35 -0
- package/presets/_shared/ai-local/scripts/tracker-planned-drain.mjs +10 -1
- package/presets/_shared/ai-local/scripts/verification.mjs +106 -11
- package/presets/_shared/assets/model-tiers.json +6 -0
- package/presets/_shared/core/agent-team/agent-task-metrics.md +10 -2
- package/presets/_shared/core/agent-team/agent-team-intake.md +2 -0
- package/presets/_shared/core/agent-team/agent-team-orchestrator.md +5 -5
- package/presets/_shared/core/meta/preset-writing-style.md +8 -0
- package/presets/_shared/hooks/chain-team-phases.sh.tmpl +541 -61
- package/presets/_shared/hooks/guard-shell-command.mjs.tmpl +841 -97
- package/presets/_shared/hooks/prompt-autoroute.mjs.tmpl +153 -0
- package/presets/claude/android-kotlin/CLAUDE.md +2 -4
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +541 -61
- package/presets/claude/android-kotlin/hooks/guard-shell-command.mjs +841 -97
- package/presets/claude/android-kotlin/hooks/prompt-autoroute.mjs +153 -0
- package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-intake.md +2 -0
- package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-writing-style.md +8 -0
- package/presets/claude/android-kotlin/settings.json +15 -5
- package/presets/claude/go/CLAUDE.md +2 -4
- package/presets/claude/go/hooks/chain-team-phases.sh +541 -61
- package/presets/claude/go/hooks/guard-shell-command.mjs +841 -97
- package/presets/claude/go/hooks/prompt-autoroute.mjs +153 -0
- package/presets/claude/go/rules/tooling-and-review/agent-team-intake.md +2 -0
- package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/go/rules/tooling-and-review/preset-writing-style.md +8 -0
- package/presets/claude/go/settings.json +15 -5
- package/presets/claude/ios-swift/CLAUDE.md +2 -4
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +541 -61
- package/presets/claude/ios-swift/hooks/guard-shell-command.mjs +841 -97
- package/presets/claude/ios-swift/hooks/prompt-autoroute.mjs +153 -0
- package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-intake.md +2 -0
- package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-writing-style.md +8 -0
- package/presets/claude/ios-swift/settings.json +15 -5
- package/presets/claude/java/CLAUDE.md +2 -4
- package/presets/claude/java/hooks/chain-team-phases.sh +541 -61
- package/presets/claude/java/hooks/guard-shell-command.mjs +841 -97
- package/presets/claude/java/hooks/prompt-autoroute.mjs +153 -0
- package/presets/claude/java/rules/tooling-and-review/agent-team-intake.md +2 -0
- package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/java/rules/tooling-and-review/preset-writing-style.md +8 -0
- package/presets/claude/java/settings.json +15 -5
- package/presets/claude/mcp-ts/CLAUDE.md +2 -4
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +541 -61
- package/presets/claude/mcp-ts/hooks/guard-shell-command.mjs +841 -97
- package/presets/claude/mcp-ts/hooks/prompt-autoroute.mjs +153 -0
- package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-intake.md +2 -0
- package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-writing-style.md +8 -0
- package/presets/claude/mcp-ts/settings.json +15 -5
- package/presets/claude/mol/CLAUDE.md +2 -4
- package/presets/claude/mol/agents/feature-developer.md +1 -1
- package/presets/claude/mol/ai-local/rules-library/commit-hygiene.md +1 -1
- package/presets/claude/mol/commands/task-evil.md +8 -0
- package/presets/claude/mol/hooks/chain-team-phases.sh +541 -61
- package/presets/claude/mol/hooks/guard-shell-command.mjs +841 -97
- package/presets/claude/mol/hooks/prompt-autoroute.mjs +153 -0
- package/presets/claude/mol/rules/tooling-and-review/agent-team-intake.md +2 -0
- package/presets/claude/mol/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/mol/rules/tooling-and-review/preset-writing-style.md +8 -0
- package/presets/claude/mol/settings.json +15 -4
- package/presets/claude/next/CLAUDE.md +2 -4
- package/presets/claude/next/REPO_AGENTS.md +2 -0
- package/presets/claude/next/agents/feature-developer.md +1 -1
- package/presets/claude/next/agents/task-analyst.md +1 -7
- package/presets/claude/next/agents/task-router.md +1 -1
- package/presets/claude/next/ai-local/rules-library/commit-hygiene.md +1 -1
- package/presets/claude/next/commands/spec-start.md +3 -4
- package/presets/claude/next/commands/task-continue.md +9 -8
- package/presets/claude/next/commands/task-evil.md +8 -0
- package/presets/claude/next/commands/task.md +1 -1
- package/presets/claude/next/hooks/chain-team-phases.sh +541 -61
- package/presets/claude/next/hooks/guard-shell-command.mjs +841 -97
- package/presets/claude/next/hooks/prompt-autoroute.mjs +153 -0
- package/presets/claude/next/rules/tooling-and-review/agent-team-intake.md +2 -0
- package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/next/rules/tooling-and-review/preset-writing-style.md +8 -0
- package/presets/claude/next/settings.json +15 -4
- package/presets/claude/next/team/README.md +1 -1
- package/presets/claude/nuxt/CLAUDE.md +2 -4
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +541 -61
- package/presets/claude/nuxt/hooks/guard-shell-command.mjs +841 -97
- package/presets/claude/nuxt/hooks/prompt-autoroute.mjs +153 -0
- package/presets/claude/nuxt/rules/tooling-and-review/agent-team-intake.md +2 -0
- package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/nuxt/rules/tooling-and-review/preset-writing-style.md +8 -0
- package/presets/claude/nuxt/settings.json +15 -4
- package/presets/claude/php-hexagonal/CLAUDE.md +2 -4
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +541 -61
- package/presets/claude/php-hexagonal/hooks/guard-shell-command.mjs +841 -97
- package/presets/claude/php-hexagonal/hooks/prompt-autoroute.mjs +153 -0
- package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-intake.md +2 -0
- package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-writing-style.md +8 -0
- package/presets/claude/php-hexagonal/settings.json +15 -5
- package/presets/claude/php-laravel/CLAUDE.md +2 -4
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +541 -61
- package/presets/claude/php-laravel/hooks/guard-shell-command.mjs +841 -97
- package/presets/claude/php-laravel/hooks/prompt-autoroute.mjs +153 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-intake.md +2 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-writing-style.md +8 -0
- package/presets/claude/php-laravel/settings.json +15 -5
- package/presets/claude/svelte/CLAUDE.md +2 -4
- package/presets/claude/svelte/hooks/chain-team-phases.sh +541 -61
- package/presets/claude/svelte/hooks/guard-shell-command.mjs +841 -97
- package/presets/claude/svelte/hooks/prompt-autoroute.mjs +153 -0
- package/presets/claude/svelte/rules/tooling-and-review/agent-team-intake.md +2 -0
- package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/svelte/rules/tooling-and-review/preset-writing-style.md +8 -0
- package/presets/claude/svelte/settings.json +15 -4
- package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +541 -61
- package/presets/cursor/android-kotlin/hooks/guard-shell-command.mjs +841 -97
- package/presets/cursor/android-kotlin/rules/agent-team-intake.mdc +2 -0
- package/presets/cursor/android-kotlin/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/android-kotlin/rules/preset-writing-style.mdc +8 -0
- package/presets/cursor/go/hooks/chain-team-phases.sh +541 -61
- package/presets/cursor/go/hooks/guard-shell-command.mjs +841 -97
- package/presets/cursor/go/rules/agent-team-intake.mdc +2 -0
- package/presets/cursor/go/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/go/rules/preset-writing-style.mdc +8 -0
- package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +541 -61
- package/presets/cursor/ios-swift/hooks/guard-shell-command.mjs +841 -97
- package/presets/cursor/ios-swift/rules/agent-team-intake.mdc +2 -0
- package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/ios-swift/rules/preset-writing-style.mdc +8 -0
- package/presets/cursor/java/hooks/chain-team-phases.sh +541 -61
- package/presets/cursor/java/hooks/guard-shell-command.mjs +841 -97
- package/presets/cursor/java/rules/agent-team-intake.mdc +2 -0
- package/presets/cursor/java/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/java/rules/preset-writing-style.mdc +8 -0
- package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +541 -61
- package/presets/cursor/mcp-ts/hooks/guard-shell-command.mjs +841 -97
- package/presets/cursor/mcp-ts/rules/agent-team-intake.mdc +2 -0
- package/presets/cursor/mcp-ts/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/mcp-ts/rules/preset-writing-style.mdc +8 -0
- package/presets/cursor/mol/agents/feature-developer.md +1 -1
- package/presets/cursor/mol/ai-local/rules-library/commit-hygiene.md +1 -1
- package/presets/cursor/mol/commands/task-evil.md +8 -0
- package/presets/cursor/mol/hooks/chain-team-phases.sh +541 -61
- package/presets/cursor/mol/hooks/guard-shell-command.mjs +841 -97
- package/presets/cursor/mol/rules/agent-team-intake.mdc +2 -0
- package/presets/cursor/mol/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/mol/rules/preset-writing-style.mdc +8 -0
- package/presets/cursor/next/REPO_AGENTS.md +2 -0
- package/presets/cursor/next/agents/feature-developer.md +1 -1
- package/presets/cursor/next/agents/task-analyst.md +1 -7
- package/presets/cursor/next/agents/task-router.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/commit-hygiene.md +1 -1
- package/presets/cursor/next/commands/spec-start.md +3 -4
- package/presets/cursor/next/commands/task-continue.md +9 -8
- package/presets/cursor/next/commands/task-evil.md +8 -0
- package/presets/cursor/next/commands/task.md +1 -1
- package/presets/cursor/next/hooks/chain-team-phases.sh +541 -61
- package/presets/cursor/next/hooks/guard-shell-command.mjs +841 -97
- package/presets/cursor/next/rules/agent-team-intake.mdc +2 -0
- package/presets/cursor/next/rules/agent-team-orchestrator.mdc +5 -5
- package/presets/cursor/next/rules/preset-writing-style.mdc +8 -0
- package/presets/cursor/next/team/README.md +1 -1
- package/presets/cursor/nuxt/hooks/chain-team-phases.sh +541 -61
- package/presets/cursor/nuxt/hooks/guard-shell-command.mjs +841 -97
- package/presets/cursor/nuxt/rules/agent-team-intake.mdc +2 -0
- package/presets/cursor/nuxt/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/nuxt/rules/preset-writing-style.mdc +8 -0
- package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +541 -61
- package/presets/cursor/php-hexagonal/hooks/guard-shell-command.mjs +841 -97
- package/presets/cursor/php-hexagonal/rules/agent-team-intake.mdc +2 -0
- package/presets/cursor/php-hexagonal/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/php-hexagonal/rules/preset-writing-style.mdc +8 -0
- package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +541 -61
- package/presets/cursor/php-laravel/hooks/guard-shell-command.mjs +841 -97
- package/presets/cursor/php-laravel/rules/agent-team-intake.mdc +2 -0
- package/presets/cursor/php-laravel/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/php-laravel/rules/preset-writing-style.mdc +8 -0
- package/presets/cursor/svelte/hooks/chain-team-phases.sh +541 -61
- package/presets/cursor/svelte/hooks/guard-shell-command.mjs +841 -97
- package/presets/cursor/svelte/rules/agent-team-intake.mdc +2 -0
- package/presets/cursor/svelte/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/svelte/rules/preset-writing-style.mdc +8 -0
- package/presets/mavis/android-kotlin/MAVIS.md +1 -1
- package/presets/mavis/android-kotlin/adapter-map.json +1 -1
- package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +541 -61
- package/presets/mavis/android-kotlin/rules/agent-team-intake.md +2 -0
- package/presets/mavis/android-kotlin/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/android-kotlin/rules/preset-writing-style.md +8 -0
- package/presets/mavis/go/MAVIS.md +1 -1
- package/presets/mavis/go/adapter-map.json +1 -1
- package/presets/mavis/go/hooks/chain-team-phases.sh +541 -61
- package/presets/mavis/go/rules/agent-team-intake.md +2 -0
- package/presets/mavis/go/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/go/rules/preset-writing-style.md +8 -0
- package/presets/mavis/ios-swift/MAVIS.md +1 -1
- package/presets/mavis/ios-swift/adapter-map.json +1 -1
- package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +541 -61
- package/presets/mavis/ios-swift/rules/agent-team-intake.md +2 -0
- package/presets/mavis/ios-swift/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/ios-swift/rules/preset-writing-style.md +8 -0
- package/presets/mavis/java/MAVIS.md +1 -1
- package/presets/mavis/java/adapter-map.json +1 -1
- package/presets/mavis/java/hooks/chain-team-phases.sh +541 -61
- package/presets/mavis/java/rules/agent-team-intake.md +2 -0
- package/presets/mavis/java/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/java/rules/preset-writing-style.md +8 -0
- package/presets/mavis/mcp-ts/MAVIS.md +1 -1
- package/presets/mavis/mcp-ts/adapter-map.json +1 -1
- package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +541 -61
- package/presets/mavis/mcp-ts/rules/agent-team-intake.md +2 -0
- package/presets/mavis/mcp-ts/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/mcp-ts/rules/preset-writing-style.md +8 -0
- package/presets/mavis/mol/MAVIS.md +1 -1
- package/presets/mavis/mol/adapter-map.json +1 -1
- package/presets/mavis/mol/agents/feature-developer.md +1 -1
- package/presets/mavis/mol/ai-local/rules-library/commit-hygiene.md +1 -1
- package/presets/mavis/mol/commands/task-evil.md +8 -0
- package/presets/mavis/mol/hooks/chain-team-phases.sh +541 -61
- package/presets/mavis/mol/native-skills/task-evil/SKILL.md +8 -0
- package/presets/mavis/mol/rules/agent-team-intake.md +2 -0
- package/presets/mavis/mol/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/mol/rules/preset-writing-style.md +8 -0
- package/presets/mavis/next/MAVIS.md +1 -1
- package/presets/mavis/next/REPO_AGENTS.md +2 -0
- package/presets/mavis/next/adapter-map.json +1 -1
- package/presets/mavis/next/agents/feature-developer.md +1 -1
- package/presets/mavis/next/agents/task-analyst.md +1 -7
- package/presets/mavis/next/agents/task-router.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/commit-hygiene.md +1 -1
- package/presets/mavis/next/commands/spec-start.md +3 -4
- package/presets/mavis/next/commands/task-continue.md +9 -8
- package/presets/mavis/next/commands/task-evil.md +8 -0
- package/presets/mavis/next/commands/task.md +1 -1
- package/presets/mavis/next/hooks/chain-team-phases.sh +541 -61
- package/presets/mavis/next/native-skills/spec-start/SKILL.md +3 -4
- package/presets/mavis/next/native-skills/task/SKILL.md +1 -1
- package/presets/mavis/next/native-skills/task-continue/SKILL.md +9 -8
- package/presets/mavis/next/native-skills/task-evil/SKILL.md +8 -0
- package/presets/mavis/next/rules/agent-team-intake.md +2 -0
- package/presets/mavis/next/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/next/rules/preset-writing-style.md +8 -0
- package/presets/mavis/next/team/README.md +1 -1
- package/presets/mavis/nuxt/MAVIS.md +1 -1
- package/presets/mavis/nuxt/adapter-map.json +1 -1
- package/presets/mavis/nuxt/hooks/chain-team-phases.sh +541 -61
- package/presets/mavis/nuxt/rules/agent-team-intake.md +2 -0
- package/presets/mavis/nuxt/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/nuxt/rules/preset-writing-style.md +8 -0
- package/presets/mavis/php-hexagonal/MAVIS.md +1 -1
- package/presets/mavis/php-hexagonal/adapter-map.json +1 -1
- package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +541 -61
- package/presets/mavis/php-hexagonal/rules/agent-team-intake.md +2 -0
- package/presets/mavis/php-hexagonal/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/php-hexagonal/rules/preset-writing-style.md +8 -0
- package/presets/mavis/php-laravel/MAVIS.md +1 -1
- package/presets/mavis/php-laravel/adapter-map.json +1 -1
- package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +541 -61
- package/presets/mavis/php-laravel/rules/agent-team-intake.md +2 -0
- package/presets/mavis/php-laravel/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/php-laravel/rules/preset-writing-style.md +8 -0
- package/presets/mavis/svelte/MAVIS.md +1 -1
- package/presets/mavis/svelte/adapter-map.json +1 -1
- package/presets/mavis/svelte/hooks/chain-team-phases.sh +541 -61
- package/presets/mavis/svelte/rules/agent-team-intake.md +2 -0
- package/presets/mavis/svelte/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/svelte/rules/preset-writing-style.md +8 -0
- package/presets/opencode/android-kotlin/OPENCODE.md +5 -66
- package/presets/opencode/android-kotlin/adapter-map.json +42 -42
- package/presets/opencode/android-kotlin/agents/accessibility-reviewer.md +1 -1
- package/presets/opencode/android-kotlin/agents/api-contract-reviewer.md +1 -1
- package/presets/opencode/android-kotlin/agents/build-verifier.md +1 -1
- package/presets/opencode/android-kotlin/agents/ci-investigator.md +1 -1
- package/presets/opencode/android-kotlin/agents/code-reviewer.md +1 -1
- package/presets/opencode/android-kotlin/agents/codebase-analyzer.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/instrumentation-test-generator.md +1 -1
- package/presets/opencode/android-kotlin/agents/instrumentation-test-healer.md +1 -1
- package/presets/opencode/android-kotlin/agents/instrumentation-test-planner.md +1 -1
- package/presets/opencode/android-kotlin/agents/migration-specialist.md +1 -1
- package/presets/opencode/android-kotlin/agents/mockup-reviewer.md +1 -1
- package/presets/opencode/android-kotlin/agents/openspec-author.md +1 -1
- package/presets/opencode/android-kotlin/agents/performance-auditor.md +1 -1
- package/presets/opencode/android-kotlin/agents/qa-tester.md +1 -1
- package/presets/opencode/android-kotlin/agents/security-reviewer.md +1 -1
- package/presets/opencode/android-kotlin/agents/solution-architect.md +1 -1
- package/presets/opencode/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/opencode/android-kotlin/agents/task-router.md +1 -1
- package/presets/opencode/android-kotlin/agents/tech-writer.md +1 -1
- package/presets/opencode/android-kotlin/agents/unit-test-generator.md +1 -1
- package/presets/opencode/android-kotlin/agents/unit-test-healer.md +1 -1
- package/presets/opencode/android-kotlin/agents/unit-test-planner.md +1 -1
- package/presets/opencode/android-kotlin/commands/task-continue.md +1 -1
- package/presets/opencode/android-kotlin/hooks/README.md +12 -1
- package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +541 -61
- package/presets/opencode/android-kotlin/hooks/guard-shell-command.mjs +879 -0
- package/presets/opencode/android-kotlin/opencode.json +4 -4
- package/presets/opencode/android-kotlin/plugins/rule-attach/globs.json +167 -0
- package/presets/opencode/android-kotlin/rules/agent-team-intake.md +2 -0
- package/presets/opencode/android-kotlin/rules/agent-team-orchestrator.md +7 -7
- package/presets/opencode/android-kotlin/rules/preset-writing-style.md +8 -0
- package/presets/opencode/go/OPENCODE.md +5 -51
- package/presets/opencode/go/adapter-map.json +45 -45
- package/presets/opencode/go/agents/api-contract-reviewer.md +1 -1
- package/presets/opencode/go/agents/build-verifier.md +1 -1
- package/presets/opencode/go/agents/ci-investigator.md +1 -1
- package/presets/opencode/go/agents/code-reviewer.md +1 -1
- package/presets/opencode/go/agents/codebase-analyzer.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/integration-test-generator.md +1 -1
- package/presets/opencode/go/agents/integration-test-healer.md +1 -1
- package/presets/opencode/go/agents/integration-test-planner.md +1 -1
- package/presets/opencode/go/agents/migration-specialist.md +1 -1
- package/presets/opencode/go/agents/openspec-author.md +1 -1
- package/presets/opencode/go/agents/performance-auditor.md +1 -1
- package/presets/opencode/go/agents/qa-tester.md +1 -1
- package/presets/opencode/go/agents/security-reviewer.md +1 -1
- package/presets/opencode/go/agents/solution-architect.md +1 -1
- package/presets/opencode/go/agents/task-analyst.md +1 -1
- package/presets/opencode/go/agents/task-router.md +1 -1
- package/presets/opencode/go/agents/tech-writer.md +1 -1
- package/presets/opencode/go/agents/unit-test-generator.md +1 -1
- package/presets/opencode/go/agents/unit-test-healer.md +1 -1
- package/presets/opencode/go/agents/unit-test-planner.md +1 -1
- package/presets/opencode/go/commands/task-continue.md +1 -1
- package/presets/opencode/go/hooks/README.md +12 -1
- package/presets/opencode/go/hooks/chain-team-phases.sh +541 -61
- package/presets/opencode/go/hooks/guard-shell-command.mjs +878 -0
- package/presets/opencode/go/opencode.json +4 -4
- package/presets/opencode/go/plugins/rule-attach/globs.json +198 -0
- package/presets/opencode/go/rules/agent-team-intake.md +2 -0
- package/presets/opencode/go/rules/agent-team-orchestrator.md +7 -7
- package/presets/opencode/go/rules/preset-writing-style.md +8 -0
- package/presets/opencode/ios-swift/OPENCODE.md +5 -66
- package/presets/opencode/ios-swift/adapter-map.json +41 -41
- package/presets/opencode/ios-swift/agents/accessibility-reviewer.md +1 -1
- package/presets/opencode/ios-swift/agents/api-contract-reviewer.md +1 -1
- package/presets/opencode/ios-swift/agents/build-verifier.md +1 -1
- package/presets/opencode/ios-swift/agents/ci-investigator.md +1 -1
- package/presets/opencode/ios-swift/agents/code-reviewer.md +1 -1
- package/presets/opencode/ios-swift/agents/codebase-analyzer.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/migration-specialist.md +1 -1
- package/presets/opencode/ios-swift/agents/mockup-reviewer.md +1 -1
- package/presets/opencode/ios-swift/agents/openspec-author.md +1 -1
- package/presets/opencode/ios-swift/agents/performance-auditor.md +1 -1
- package/presets/opencode/ios-swift/agents/qa-tester.md +1 -1
- package/presets/opencode/ios-swift/agents/security-reviewer.md +1 -1
- package/presets/opencode/ios-swift/agents/solution-architect.md +1 -1
- package/presets/opencode/ios-swift/agents/task-analyst.md +1 -1
- package/presets/opencode/ios-swift/agents/task-router.md +1 -1
- package/presets/opencode/ios-swift/agents/tech-writer.md +1 -1
- package/presets/opencode/ios-swift/agents/unit-test-generator.md +1 -1
- package/presets/opencode/ios-swift/agents/unit-test-healer.md +1 -1
- package/presets/opencode/ios-swift/agents/unit-test-planner.md +1 -1
- package/presets/opencode/ios-swift/agents/xcuitest-test-generator.md +1 -1
- package/presets/opencode/ios-swift/agents/xcuitest-test-healer.md +1 -1
- package/presets/opencode/ios-swift/agents/xcuitest-test-planner.md +1 -1
- package/presets/opencode/ios-swift/commands/task-continue.md +1 -1
- package/presets/opencode/ios-swift/hooks/README.md +12 -1
- package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +541 -61
- package/presets/opencode/ios-swift/hooks/guard-shell-command.mjs +878 -0
- package/presets/opencode/ios-swift/opencode.json +4 -4
- package/presets/opencode/ios-swift/plugins/rule-attach/globs.json +160 -0
- package/presets/opencode/ios-swift/rules/agent-team-intake.md +2 -0
- package/presets/opencode/ios-swift/rules/agent-team-orchestrator.md +7 -7
- package/presets/opencode/ios-swift/rules/preset-writing-style.md +8 -0
- package/presets/opencode/java/OPENCODE.md +5 -58
- package/presets/opencode/java/adapter-map.json +45 -45
- package/presets/opencode/java/agents/api-contract-reviewer.md +1 -1
- package/presets/opencode/java/agents/build-verifier.md +1 -1
- package/presets/opencode/java/agents/ci-investigator.md +1 -1
- package/presets/opencode/java/agents/code-reviewer.md +1 -1
- package/presets/opencode/java/agents/codebase-analyzer.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/integration-test-generator.md +1 -1
- package/presets/opencode/java/agents/integration-test-healer.md +1 -1
- package/presets/opencode/java/agents/integration-test-planner.md +1 -1
- package/presets/opencode/java/agents/migration-specialist.md +1 -1
- package/presets/opencode/java/agents/openspec-author.md +1 -1
- package/presets/opencode/java/agents/performance-auditor.md +1 -1
- package/presets/opencode/java/agents/qa-tester.md +1 -1
- package/presets/opencode/java/agents/security-reviewer.md +1 -1
- package/presets/opencode/java/agents/solution-architect.md +1 -1
- package/presets/opencode/java/agents/task-analyst.md +1 -1
- package/presets/opencode/java/agents/task-router.md +1 -1
- package/presets/opencode/java/agents/tech-writer.md +1 -1
- package/presets/opencode/java/agents/unit-test-generator.md +1 -1
- package/presets/opencode/java/agents/unit-test-healer.md +1 -1
- package/presets/opencode/java/agents/unit-test-planner.md +1 -1
- package/presets/opencode/java/commands/task-continue.md +1 -1
- package/presets/opencode/java/hooks/README.md +12 -1
- package/presets/opencode/java/hooks/chain-team-phases.sh +541 -61
- package/presets/opencode/java/hooks/guard-shell-command.mjs +879 -0
- package/presets/opencode/java/opencode.json +4 -4
- package/presets/opencode/java/plugins/rule-attach/globs.json +230 -0
- package/presets/opencode/java/rules/agent-team-intake.md +2 -0
- package/presets/opencode/java/rules/agent-team-orchestrator.md +7 -7
- package/presets/opencode/java/rules/preset-writing-style.md +8 -0
- package/presets/opencode/mcp-ts/OPENCODE.md +5 -48
- package/presets/opencode/mcp-ts/adapter-map.json +36 -36
- 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/security-reviewer.md +1 -1
- package/presets/opencode/mcp-ts/agents/solution-architect.md +1 -1
- package/presets/opencode/mcp-ts/agents/task-analyst.md +1 -1
- package/presets/opencode/mcp-ts/agents/task-router.md +1 -1
- package/presets/opencode/mcp-ts/commands/task-continue.md +1 -1
- package/presets/opencode/mcp-ts/hooks/README.md +12 -1
- package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +541 -61
- package/presets/opencode/mcp-ts/hooks/guard-shell-command.mjs +878 -0
- package/presets/opencode/mcp-ts/opencode.json +4 -4
- package/presets/opencode/mcp-ts/plugins/rule-attach/globs.json +151 -0
- package/presets/opencode/mcp-ts/rules/agent-team-intake.md +2 -0
- package/presets/opencode/mcp-ts/rules/agent-team-orchestrator.md +7 -7
- package/presets/opencode/mcp-ts/rules/preset-writing-style.md +8 -0
- package/presets/opencode/mol/OPENCODE.md +5 -56
- package/presets/opencode/mol/adapter-map.json +31 -31
- package/presets/opencode/mol/agents/accessibility-reviewer.md +1 -1
- package/presets/opencode/mol/agents/api-contract-reviewer.md +1 -1
- package/presets/opencode/mol/agents/build-verifier.md +1 -1
- package/presets/opencode/mol/agents/ci-investigator.md +1 -1
- package/presets/opencode/mol/agents/code-reviewer.md +1 -1
- package/presets/opencode/mol/agents/codebase-analyzer.md +1 -1
- package/presets/opencode/mol/agents/debugger.md +1 -1
- package/presets/opencode/mol/agents/feature-developer.md +2 -2
- package/presets/opencode/mol/agents/migration-specialist.md +1 -1
- package/presets/opencode/mol/agents/mockup-reviewer.md +1 -1
- package/presets/opencode/mol/agents/openspec-author.md +1 -1
- package/presets/opencode/mol/agents/performance-auditor.md +1 -1
- package/presets/opencode/mol/agents/playwright-test-generator.md +1 -1
- package/presets/opencode/mol/agents/playwright-test-healer.md +1 -1
- package/presets/opencode/mol/agents/playwright-test-planner.md +1 -1
- package/presets/opencode/mol/agents/qa-tester.md +1 -1
- package/presets/opencode/mol/agents/security-reviewer.md +1 -1
- package/presets/opencode/mol/agents/solution-architect.md +1 -1
- package/presets/opencode/mol/agents/task-analyst.md +1 -1
- package/presets/opencode/mol/agents/task-router.md +1 -1
- package/presets/opencode/mol/agents/tech-writer.md +1 -1
- package/presets/opencode/mol/agents/unit-test-generator.md +1 -1
- package/presets/opencode/mol/agents/unit-test-healer.md +1 -1
- package/presets/opencode/mol/agents/unit-test-planner.md +1 -1
- package/presets/opencode/mol/ai-local/rules-library/commit-hygiene.md +1 -1
- package/presets/opencode/mol/commands/task-continue.md +1 -1
- package/presets/opencode/mol/commands/task-evil.md +8 -0
- package/presets/opencode/mol/hooks/README.md +12 -1
- package/presets/opencode/mol/hooks/chain-team-phases.sh +541 -61
- package/presets/opencode/mol/hooks/guard-shell-command.mjs +877 -0
- package/presets/opencode/mol/opencode.json +4 -4
- package/presets/opencode/mol/plugins/rule-attach/globs.json +112 -0
- package/presets/opencode/mol/rules/agent-team-intake.md +2 -0
- package/presets/opencode/mol/rules/agent-team-orchestrator.md +7 -7
- package/presets/opencode/mol/rules/preset-writing-style.md +8 -0
- package/presets/opencode/next/OPENCODE.md +5 -55
- package/presets/opencode/next/REPO_AGENTS.md +2 -0
- package/presets/opencode/next/adapter-map.json +56 -56
- package/presets/opencode/next/agents/accessibility-reviewer.md +1 -1
- package/presets/opencode/next/agents/api-contract-reviewer.md +1 -1
- package/presets/opencode/next/agents/build-verifier.md +1 -1
- package/presets/opencode/next/agents/ci-investigator.md +1 -1
- package/presets/opencode/next/agents/code-reviewer.md +1 -1
- package/presets/opencode/next/agents/codebase-analyzer.md +1 -1
- package/presets/opencode/next/agents/debugger.md +1 -1
- package/presets/opencode/next/agents/feature-developer.md +2 -2
- package/presets/opencode/next/agents/migration-specialist.md +1 -1
- package/presets/opencode/next/agents/mockup-reviewer.md +1 -1
- package/presets/opencode/next/agents/openspec-author.md +1 -1
- package/presets/opencode/next/agents/performance-auditor.md +1 -1
- package/presets/opencode/next/agents/playwright-test-generator.md +1 -1
- package/presets/opencode/next/agents/playwright-test-healer.md +1 -1
- package/presets/opencode/next/agents/playwright-test-planner.md +1 -1
- package/presets/opencode/next/agents/qa-tester.md +1 -1
- package/presets/opencode/next/agents/security-reviewer.md +1 -1
- package/presets/opencode/next/agents/solution-architect.md +1 -1
- package/presets/opencode/next/agents/task-analyst.md +2 -8
- package/presets/opencode/next/agents/task-router.md +2 -2
- package/presets/opencode/next/agents/tech-writer.md +1 -1
- package/presets/opencode/next/agents/unit-test-generator.md +1 -1
- package/presets/opencode/next/agents/unit-test-healer.md +1 -1
- package/presets/opencode/next/agents/unit-test-planner.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/commit-hygiene.md +1 -1
- package/presets/opencode/next/commands/spec-start.md +3 -4
- package/presets/opencode/next/commands/task-continue.md +10 -9
- package/presets/opencode/next/commands/task-evil.md +8 -0
- package/presets/opencode/next/commands/task.md +1 -1
- package/presets/opencode/next/hooks/README.md +12 -1
- package/presets/opencode/next/hooks/chain-team-phases.sh +541 -61
- package/presets/opencode/next/hooks/guard-shell-command.mjs +877 -0
- package/presets/opencode/next/opencode.json +4 -4
- package/presets/opencode/next/plugins/rule-attach/globs.json +276 -0
- package/presets/opencode/next/rules/agent-team-intake.md +2 -0
- package/presets/opencode/next/rules/agent-team-orchestrator.md +7 -7
- package/presets/opencode/next/rules/preset-writing-style.md +8 -0
- package/presets/opencode/next/team/README.md +1 -1
- package/presets/opencode/nuxt/OPENCODE.md +5 -54
- package/presets/opencode/nuxt/adapter-map.json +51 -51
- package/presets/opencode/nuxt/agents/accessibility-reviewer.md +1 -1
- package/presets/opencode/nuxt/agents/api-contract-reviewer.md +1 -1
- package/presets/opencode/nuxt/agents/build-verifier.md +1 -1
- package/presets/opencode/nuxt/agents/ci-investigator.md +1 -1
- package/presets/opencode/nuxt/agents/code-reviewer.md +1 -1
- package/presets/opencode/nuxt/agents/codebase-analyzer.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/migration-specialist.md +1 -1
- package/presets/opencode/nuxt/agents/mockup-reviewer.md +1 -1
- package/presets/opencode/nuxt/agents/openspec-author.md +1 -1
- package/presets/opencode/nuxt/agents/performance-auditor.md +1 -1
- package/presets/opencode/nuxt/agents/playwright-test-generator.md +1 -1
- package/presets/opencode/nuxt/agents/playwright-test-healer.md +1 -1
- package/presets/opencode/nuxt/agents/playwright-test-planner.md +1 -1
- package/presets/opencode/nuxt/agents/qa-tester.md +1 -1
- package/presets/opencode/nuxt/agents/security-reviewer.md +1 -1
- package/presets/opencode/nuxt/agents/solution-architect.md +1 -1
- package/presets/opencode/nuxt/agents/task-analyst.md +1 -1
- package/presets/opencode/nuxt/agents/task-router.md +1 -1
- package/presets/opencode/nuxt/agents/tech-writer.md +1 -1
- package/presets/opencode/nuxt/agents/unit-test-generator.md +1 -1
- package/presets/opencode/nuxt/agents/unit-test-healer.md +1 -1
- package/presets/opencode/nuxt/agents/unit-test-planner.md +1 -1
- package/presets/opencode/nuxt/commands/task-continue.md +1 -1
- package/presets/opencode/nuxt/hooks/README.md +12 -1
- package/presets/opencode/nuxt/hooks/chain-team-phases.sh +541 -61
- package/presets/opencode/nuxt/hooks/guard-shell-command.mjs +877 -0
- package/presets/opencode/nuxt/opencode.json +4 -4
- package/presets/opencode/nuxt/plugins/rule-attach/globs.json +266 -0
- package/presets/opencode/nuxt/rules/agent-team-intake.md +2 -0
- package/presets/opencode/nuxt/rules/agent-team-orchestrator.md +7 -7
- package/presets/opencode/nuxt/rules/preset-writing-style.md +8 -0
- package/presets/opencode/php-hexagonal/OPENCODE.md +5 -60
- package/presets/opencode/php-hexagonal/adapter-map.json +45 -45
- package/presets/opencode/php-hexagonal/agents/api-contract-reviewer.md +1 -1
- package/presets/opencode/php-hexagonal/agents/build-verifier.md +1 -1
- package/presets/opencode/php-hexagonal/agents/ci-investigator.md +1 -1
- package/presets/opencode/php-hexagonal/agents/code-reviewer.md +1 -1
- package/presets/opencode/php-hexagonal/agents/codebase-analyzer.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/integration-test-generator.md +1 -1
- package/presets/opencode/php-hexagonal/agents/integration-test-healer.md +1 -1
- package/presets/opencode/php-hexagonal/agents/integration-test-planner.md +1 -1
- package/presets/opencode/php-hexagonal/agents/migration-specialist.md +1 -1
- package/presets/opencode/php-hexagonal/agents/openspec-author.md +1 -1
- package/presets/opencode/php-hexagonal/agents/performance-auditor.md +1 -1
- package/presets/opencode/php-hexagonal/agents/qa-tester.md +1 -1
- package/presets/opencode/php-hexagonal/agents/security-reviewer.md +1 -1
- package/presets/opencode/php-hexagonal/agents/solution-architect.md +1 -1
- package/presets/opencode/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/opencode/php-hexagonal/agents/task-router.md +1 -1
- package/presets/opencode/php-hexagonal/agents/tech-writer.md +1 -1
- package/presets/opencode/php-hexagonal/agents/unit-test-generator.md +1 -1
- package/presets/opencode/php-hexagonal/agents/unit-test-healer.md +1 -1
- package/presets/opencode/php-hexagonal/agents/unit-test-planner.md +1 -1
- package/presets/opencode/php-hexagonal/commands/task-continue.md +1 -1
- package/presets/opencode/php-hexagonal/hooks/README.md +12 -1
- package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +541 -61
- package/presets/opencode/php-hexagonal/hooks/guard-shell-command.mjs +879 -0
- package/presets/opencode/php-hexagonal/opencode.json +4 -4
- package/presets/opencode/php-hexagonal/plugins/rule-attach/globs.json +242 -0
- package/presets/opencode/php-hexagonal/rules/agent-team-intake.md +2 -0
- package/presets/opencode/php-hexagonal/rules/agent-team-orchestrator.md +7 -7
- package/presets/opencode/php-hexagonal/rules/preset-writing-style.md +8 -0
- package/presets/opencode/php-laravel/OPENCODE.md +5 -60
- package/presets/opencode/php-laravel/adapter-map.json +45 -45
- package/presets/opencode/php-laravel/agents/api-contract-reviewer.md +1 -1
- package/presets/opencode/php-laravel/agents/build-verifier.md +1 -1
- package/presets/opencode/php-laravel/agents/ci-investigator.md +1 -1
- package/presets/opencode/php-laravel/agents/code-reviewer.md +1 -1
- package/presets/opencode/php-laravel/agents/codebase-analyzer.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/integration-test-generator.md +1 -1
- package/presets/opencode/php-laravel/agents/integration-test-healer.md +1 -1
- package/presets/opencode/php-laravel/agents/integration-test-planner.md +1 -1
- package/presets/opencode/php-laravel/agents/migration-specialist.md +1 -1
- package/presets/opencode/php-laravel/agents/openspec-author.md +1 -1
- package/presets/opencode/php-laravel/agents/performance-auditor.md +1 -1
- package/presets/opencode/php-laravel/agents/qa-tester.md +1 -1
- package/presets/opencode/php-laravel/agents/security-reviewer.md +1 -1
- package/presets/opencode/php-laravel/agents/solution-architect.md +1 -1
- package/presets/opencode/php-laravel/agents/task-analyst.md +1 -1
- package/presets/opencode/php-laravel/agents/task-router.md +1 -1
- package/presets/opencode/php-laravel/agents/tech-writer.md +1 -1
- package/presets/opencode/php-laravel/agents/unit-test-generator.md +1 -1
- package/presets/opencode/php-laravel/agents/unit-test-healer.md +1 -1
- package/presets/opencode/php-laravel/agents/unit-test-planner.md +1 -1
- package/presets/opencode/php-laravel/commands/task-continue.md +1 -1
- package/presets/opencode/php-laravel/hooks/README.md +12 -1
- package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +541 -61
- package/presets/opencode/php-laravel/hooks/guard-shell-command.mjs +879 -0
- package/presets/opencode/php-laravel/opencode.json +4 -4
- package/presets/opencode/php-laravel/plugins/rule-attach/globs.json +232 -0
- package/presets/opencode/php-laravel/rules/agent-team-intake.md +2 -0
- package/presets/opencode/php-laravel/rules/agent-team-orchestrator.md +7 -7
- package/presets/opencode/php-laravel/rules/preset-writing-style.md +8 -0
- package/presets/opencode/platform-contract.json +4 -0
- package/presets/opencode/plugins/output-guard/README.md +1 -1
- package/presets/opencode/plugins/output-guard/index.ts +8 -2
- package/presets/opencode/plugins/output-guard/rewrite.ts +37 -0
- package/presets/opencode/plugins/rule-attach/README.md +34 -0
- package/presets/opencode/plugins/rule-attach/attach.ts +224 -0
- package/presets/opencode/plugins/rule-attach/index.ts +169 -0
- package/presets/opencode/plugins/rule-attach/package.json +9 -0
- package/presets/opencode/plugins/settings-guard/README.md +25 -0
- package/presets/opencode/plugins/settings-guard/index.ts +114 -0
- package/presets/opencode/plugins/settings-guard/package.json +9 -0
- package/presets/opencode/plugins/settings-guard/policy.mjs +85 -0
- package/presets/opencode/plugins/settings-guard/prompt-face.mjs +153 -0
- package/presets/opencode/plugins/task-status/README.md +9 -4
- package/presets/opencode/plugins/task-status/eta.ts +20 -7
- package/presets/opencode/plugins/task-status/index.ts +14 -1
- package/presets/opencode/plugins/task-status/task-view.ts +160 -5
- package/presets/opencode/plugins/task-status/timing.ts +244 -0
- package/presets/opencode/plugins/task-status/types.ts +6 -0
- package/presets/opencode/svelte/OPENCODE.md +5 -54
- package/presets/opencode/svelte/adapter-map.json +51 -51
- package/presets/opencode/svelte/agents/accessibility-reviewer.md +1 -1
- package/presets/opencode/svelte/agents/api-contract-reviewer.md +1 -1
- package/presets/opencode/svelte/agents/build-verifier.md +1 -1
- package/presets/opencode/svelte/agents/ci-investigator.md +1 -1
- package/presets/opencode/svelte/agents/code-reviewer.md +1 -1
- package/presets/opencode/svelte/agents/codebase-analyzer.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/migration-specialist.md +1 -1
- package/presets/opencode/svelte/agents/mockup-reviewer.md +1 -1
- package/presets/opencode/svelte/agents/openspec-author.md +1 -1
- package/presets/opencode/svelte/agents/performance-auditor.md +1 -1
- package/presets/opencode/svelte/agents/playwright-test-generator.md +1 -1
- package/presets/opencode/svelte/agents/playwright-test-healer.md +1 -1
- package/presets/opencode/svelte/agents/playwright-test-planner.md +1 -1
- package/presets/opencode/svelte/agents/qa-tester.md +1 -1
- package/presets/opencode/svelte/agents/security-reviewer.md +1 -1
- package/presets/opencode/svelte/agents/solution-architect.md +1 -1
- package/presets/opencode/svelte/agents/task-analyst.md +1 -1
- package/presets/opencode/svelte/agents/task-router.md +1 -1
- package/presets/opencode/svelte/agents/tech-writer.md +1 -1
- package/presets/opencode/svelte/agents/unit-test-generator.md +1 -1
- package/presets/opencode/svelte/agents/unit-test-healer.md +1 -1
- package/presets/opencode/svelte/agents/unit-test-planner.md +1 -1
- package/presets/opencode/svelte/commands/task-continue.md +1 -1
- package/presets/opencode/svelte/hooks/README.md +12 -1
- package/presets/opencode/svelte/hooks/chain-team-phases.sh +541 -61
- package/presets/opencode/svelte/hooks/guard-shell-command.mjs +877 -0
- package/presets/opencode/svelte/opencode.json +4 -4
- package/presets/opencode/svelte/plugins/rule-attach/globs.json +245 -0
- package/presets/opencode/svelte/rules/agent-team-intake.md +2 -0
- package/presets/opencode/svelte/rules/agent-team-orchestrator.md +7 -7
- package/presets/opencode/svelte/rules/preset-writing-style.md +8 -0
- package/presets/zcode/android-kotlin/adapter-map.json +1 -1
- package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +541 -61
- package/presets/zcode/android-kotlin/rules/agent-team-intake.md +2 -0
- package/presets/zcode/android-kotlin/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/android-kotlin/rules/preset-writing-style.md +8 -0
- package/presets/zcode/go/adapter-map.json +1 -1
- package/presets/zcode/go/hooks/chain-team-phases.sh +541 -61
- package/presets/zcode/go/rules/agent-team-intake.md +2 -0
- package/presets/zcode/go/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/go/rules/preset-writing-style.md +8 -0
- package/presets/zcode/ios-swift/adapter-map.json +1 -1
- package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +541 -61
- package/presets/zcode/ios-swift/rules/agent-team-intake.md +2 -0
- package/presets/zcode/ios-swift/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/ios-swift/rules/preset-writing-style.md +8 -0
- package/presets/zcode/java/adapter-map.json +1 -1
- package/presets/zcode/java/hooks/chain-team-phases.sh +541 -61
- package/presets/zcode/java/rules/agent-team-intake.md +2 -0
- package/presets/zcode/java/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/java/rules/preset-writing-style.md +8 -0
- package/presets/zcode/mcp-ts/adapter-map.json +1 -1
- package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +541 -61
- package/presets/zcode/mcp-ts/rules/agent-team-intake.md +2 -0
- package/presets/zcode/mcp-ts/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/mcp-ts/rules/preset-writing-style.md +8 -0
- package/presets/zcode/mol/adapter-map.json +1 -1
- package/presets/zcode/mol/agents/feature-developer.md +1 -1
- package/presets/zcode/mol/ai-local/rules-library/commit-hygiene.md +1 -1
- package/presets/zcode/mol/commands/task-evil.md +8 -0
- package/presets/zcode/mol/hooks/chain-team-phases.sh +541 -61
- package/presets/zcode/mol/rules/agent-team-intake.md +2 -0
- package/presets/zcode/mol/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/mol/rules/preset-writing-style.md +8 -0
- package/presets/zcode/next/REPO_AGENTS.md +2 -0
- package/presets/zcode/next/adapter-map.json +1 -1
- package/presets/zcode/next/agents/feature-developer.md +1 -1
- package/presets/zcode/next/agents/task-analyst.md +1 -7
- package/presets/zcode/next/agents/task-router.md +1 -1
- package/presets/zcode/next/ai-local/rules-library/commit-hygiene.md +1 -1
- package/presets/zcode/next/commands/spec-start.md +3 -4
- package/presets/zcode/next/commands/task-continue.md +9 -8
- package/presets/zcode/next/commands/task-evil.md +8 -0
- package/presets/zcode/next/commands/task.md +1 -1
- package/presets/zcode/next/hooks/chain-team-phases.sh +541 -61
- package/presets/zcode/next/rules/agent-team-intake.md +2 -0
- package/presets/zcode/next/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/next/rules/preset-writing-style.md +8 -0
- package/presets/zcode/next/team/README.md +1 -1
- package/presets/zcode/nuxt/adapter-map.json +1 -1
- package/presets/zcode/nuxt/hooks/chain-team-phases.sh +541 -61
- package/presets/zcode/nuxt/rules/agent-team-intake.md +2 -0
- package/presets/zcode/nuxt/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/nuxt/rules/preset-writing-style.md +8 -0
- package/presets/zcode/php-hexagonal/adapter-map.json +1 -1
- package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +541 -61
- package/presets/zcode/php-hexagonal/rules/agent-team-intake.md +2 -0
- package/presets/zcode/php-hexagonal/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/php-hexagonal/rules/preset-writing-style.md +8 -0
- package/presets/zcode/php-laravel/adapter-map.json +1 -1
- package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +541 -61
- package/presets/zcode/php-laravel/rules/agent-team-intake.md +2 -0
- package/presets/zcode/php-laravel/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/php-laravel/rules/preset-writing-style.md +8 -0
- package/presets/zcode/svelte/adapter-map.json +1 -1
- package/presets/zcode/svelte/hooks/chain-team-phases.sh +541 -61
- package/presets/zcode/svelte/rules/agent-team-intake.md +2 -0
- package/presets/zcode/svelte/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/svelte/rules/preset-writing-style.md +8 -0
- package/scripts/report-context-cost.mjs +1 -20
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"permission": {
|
|
11
11
|
"bash": {
|
|
12
12
|
"*": "allow",
|
|
13
|
-
"git commit": "
|
|
14
|
-
"git commit *": "
|
|
15
|
-
"git push": "
|
|
16
|
-
"git push *": "
|
|
13
|
+
"git commit": "ask",
|
|
14
|
+
"git commit *": "ask",
|
|
15
|
+
"git push": "ask",
|
|
16
|
+
"git push *": "ask",
|
|
17
17
|
"pkill *": "ask",
|
|
18
18
|
"killall *": "ask",
|
|
19
19
|
"xargs kill*": "ask",
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"source": "presets/cursor/mcp-ts/rules/*.mdc frontmatter (alwaysApply: true excluded)",
|
|
4
|
+
"rules": [
|
|
5
|
+
{
|
|
6
|
+
"stem": "language-policy",
|
|
7
|
+
"globs": [
|
|
8
|
+
".ai.local/**/*",
|
|
9
|
+
"AGENTS.md",
|
|
10
|
+
".cursor/**/*"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"stem": "mcp-auth-secrets",
|
|
15
|
+
"globs": [
|
|
16
|
+
"**/auth/**/*",
|
|
17
|
+
"**/config/**/*",
|
|
18
|
+
"**/.env*",
|
|
19
|
+
"**/secrets/**/*"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"stem": "mcp-contract-testing",
|
|
24
|
+
"globs": [
|
|
25
|
+
"**/*.{test,spec}.{ts,tsx,js}",
|
|
26
|
+
"**/fixtures/**/*",
|
|
27
|
+
"src/tools/**/*",
|
|
28
|
+
"src/resources/**/*",
|
|
29
|
+
"src/prompts/**/*"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"stem": "mcp-tool-design",
|
|
34
|
+
"globs": [
|
|
35
|
+
"src/tools/**/*",
|
|
36
|
+
"src/resources/**/*",
|
|
37
|
+
"src/prompts/**/*"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"stem": "mcp-transport-packaging",
|
|
42
|
+
"globs": [
|
|
43
|
+
"src/index.ts",
|
|
44
|
+
"package.json",
|
|
45
|
+
"**/Dockerfile",
|
|
46
|
+
"**/docker-compose*.yml"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"stem": "mcp-ts-conventions",
|
|
51
|
+
"globs": [
|
|
52
|
+
"src/**/*.ts",
|
|
53
|
+
"src/**/*.tsx"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"stem": "mcp-ts-tooling",
|
|
58
|
+
"globs": [
|
|
59
|
+
"package.json",
|
|
60
|
+
"tsconfig*.json",
|
|
61
|
+
"**/vitest.config.*",
|
|
62
|
+
"**/jest.config.*",
|
|
63
|
+
"**/eslint.config.*"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"stem": "preset-goals",
|
|
68
|
+
"globs": [
|
|
69
|
+
"packages/ai-rules/presets/**/*",
|
|
70
|
+
"packages/ai-rules/scripts/**/*",
|
|
71
|
+
"packages/ai-rules/docs/**/*"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"stem": "preset-layering",
|
|
76
|
+
"globs": [
|
|
77
|
+
"packages/ai-rules/presets/**/*",
|
|
78
|
+
"packages/ai-rules/scripts/**/*",
|
|
79
|
+
"packages/ai-rules/docs/**/*"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"stem": "preset-no-cross-stack-leakage",
|
|
84
|
+
"globs": [
|
|
85
|
+
"packages/ai-rules/presets/**/*",
|
|
86
|
+
"packages/ai-rules/scripts/**/*",
|
|
87
|
+
"packages/ai-rules/docs/**/*"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"stem": "preset-pr-checklist",
|
|
92
|
+
"globs": [
|
|
93
|
+
"packages/ai-rules/presets/**/*",
|
|
94
|
+
"packages/ai-rules/scripts/**/*",
|
|
95
|
+
"packages/ai-rules/docs/**/*"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"stem": "preset-token-budget",
|
|
100
|
+
"globs": [
|
|
101
|
+
"packages/ai-rules/presets/**/*",
|
|
102
|
+
"packages/ai-rules/scripts/**/*",
|
|
103
|
+
"packages/ai-rules/docs/**/*"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"stem": "preset-twin-sync",
|
|
108
|
+
"globs": [
|
|
109
|
+
"packages/ai-rules/presets/**/*",
|
|
110
|
+
"packages/ai-rules/scripts/**/*",
|
|
111
|
+
"packages/ai-rules/docs/**/*"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"stem": "preset-writing-style",
|
|
116
|
+
"globs": [
|
|
117
|
+
"packages/ai-rules/presets/**/*",
|
|
118
|
+
"packages/ai-rules/scripts/**/*",
|
|
119
|
+
"packages/ai-rules/docs/**/*"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"stem": "product-specs-authoring",
|
|
124
|
+
"globs": [
|
|
125
|
+
"docs/specs/**/*"
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"stem": "product-specs",
|
|
130
|
+
"globs": [
|
|
131
|
+
"docs/specs/**/*"
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"stem": "security-mcp",
|
|
136
|
+
"globs": [
|
|
137
|
+
"src/tools/**/*",
|
|
138
|
+
"src/resources/**/*",
|
|
139
|
+
"**/auth/**/*",
|
|
140
|
+
"**/config/**/*"
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"stem": "tests-unit",
|
|
145
|
+
"globs": [
|
|
146
|
+
"**/*.{test,spec}.{ts,tsx,js}",
|
|
147
|
+
"**/__tests__/**/*"
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
@@ -12,6 +12,8 @@ When the user message looks like a **work request** (implement, add, fix, refact
|
|
|
12
12
|
6. **Reuse the dialogue language already resolved on this turn** (always-on `ai-local-overlay` / **language-policy**). A question and a message without a slash command still resolve before you speak. When this request writes `prompt.md`, persist that tag once in the header (`language: <BCP-47>`) + a `.memlog.md` `event:` line. Development, reasoning, and artifacts stay English. The setting wins over a mid-task prompt switch (surface it once, never ask). See **language-policy**.
|
|
13
13
|
7. **Project the intake write.** After `prompt.md` is written for an inline (non-`/task`) work request, run `node .ai.local/scripts/team-db.mjs sync --slug <slug> --deadline-ms 4500` once, so the new task row and its prompt reach the database. A projection failure is reported to the user, never blocks the request; the next full sync remains the convergence path. Do not run a full sync from intake.
|
|
14
14
|
|
|
15
|
+
On Cursor, Mavis, OpenCode and ZCode — the hosts without a verified prompt hook — run a request that is not already `/task` or `/task-continue` as `/task` when `node .ai.local/scripts/settings.mjs get AI_RULES_AUTOROUTE_UNCHAINED_PROMPTS` prints `true` and the live-slug count (every `.ai.local/team/tasks/*/status.json` whose `state` is not one of `completed`, `blocked`, `changes_requested`, `validation_failed`) is below the `node .ai.local/scripts/settings.mjs get AI_RULES_MAX_PARALLEL_TASKS` cap (`4` by default; `0` = unlimited). A prompt that names an existing slug or is a resume intent (`continue` / `resume` / `продолжай` family, `.ai.local/rules/task-resume.md`) routes to `/task-continue <slug>` regardless of the cap. <!-- i18n-keep: E4 -->
|
|
16
|
+
|
|
15
17
|
Exceptions: user explicitly says “no pipeline”, “just do it”, or continues an active slug.
|
|
16
18
|
|
|
17
19
|
## Stack notes
|
|
@@ -64,7 +64,7 @@ flowchart TD
|
|
|
64
64
|
pipeline["pipeline.json"]
|
|
65
65
|
step0["steps 0..N"]
|
|
66
66
|
gate{"humanGates?"}
|
|
67
|
-
hook["
|
|
67
|
+
hook["chain hook (run by hand)"]
|
|
68
68
|
retro["/technical-retro"]
|
|
69
69
|
|
|
70
70
|
task --> router
|
|
@@ -217,7 +217,7 @@ Additional states: `blocked` — a step (or a parallel producer) cannot proceed;
|
|
|
217
217
|
- The reclaim runs only inside the hook, immediately before a new attempt is activated. Never hand-reclaim an attempt by editing `.ai.local/team/tasks/<slug>` lifecycle files.
|
|
218
218
|
- In graph mode, a stale attempt on an in-flight step of another agent is reclaimed by that step's own activation or terminal receipt, not by an unrelated step; recovery is a receipt or `/task-continue <slug>`.
|
|
219
219
|
|
|
220
|
-
|
|
220
|
+
No `subagentStop` event exists on this host: after each producer receipt the agent runs `chain-team-phases.sh`, and that run reconciles `status.state` from the completing producer's terminal `artifact-manifest.json` receipt (`completed` \| `changes_requested` \| `validation_failed`) when agents left lifecycle fields untouched. Do not invoke the next step until the run lands that handoff.
|
|
221
221
|
|
|
222
222
|
**A dispatch is not a completion.** When the host hands back a session handle, a job id, or control before the specialist's turn ends, the step is still open: do not dispatch the next step, do not report the step done, and do not run the chain hook until the specialist reports back and the hook records the receipt. A background handle is a start signal only.
|
|
223
223
|
|
|
@@ -243,7 +243,7 @@ On each `subagentStop`, the hook reconciles `status.state` from the completing p
|
|
|
243
243
|
3. One role per Task call — **except** parallel steps: multiple Task calls in one message.
|
|
244
244
|
4. **Never** skip `humanGates` without `/task-continue` or explicit user approval.
|
|
245
245
|
5. Persist handoffs to disk (`brief.md`, `decomposition.md`, `debug-report.md`, `validation-report.md`, `architecture.md`, `migration-plan.md`, `ci-report.md`, `a11y-review.md`, `perf-report.md`, `security-review.md`, `api-contract-review.md`, `unit-test-plan.md`, `documentation.md`, `review.md`, `mockup-review.md`, `ux-design.md`) and update the producer-owned terminal receipt in `artifact-manifest.json`.
|
|
246
|
-
6. On `changes_requested` from reviewers: hook sets `retryAfterFix` → developer → `build-verifier` (delta) → same reviewer when the fix touches code/tests; a docs/artifacts-only fix returns to the same reviewer without a code gate. Exception: embedded `mockup-reviewer` FAIL (`changes_requested` while the completed/current agent is `mockup-reviewer`) → `awaiting_approval` / `/task-continue` only — do **not** `retryAfterFix` to developer. A `mockup-reviewer` verdict `mockup-change-requested` (a defect whose fix belongs in the design source, not the implementation) routes the same way — `awaiting_approval`, no developer retry.
|
|
246
|
+
6. On `changes_requested` from reviewers: the first time that agent returns it, the hook sets `retryAfterFix` → developer → `build-verifier` (delta) → same reviewer when the fix touches code/tests; a docs/artifacts-only fix returns to the same reviewer without a code gate. The second `changes_requested` from the same agent is a human gate (`awaitingHumanGate`, `designEscalation`): do not dispatch the developer. Append `decision: replan rev N → N+1` to `.memlog.md` (the decision changes the model), then `/task-continue`, which the hook accepts only when that line is new. Exception: embedded `mockup-reviewer` FAIL (`changes_requested` while the completed/current agent is `mockup-reviewer`) → `awaiting_approval` / `/task-continue` only — do **not** `retryAfterFix` to developer. A `mockup-reviewer` verdict `mockup-change-requested` (a defect whose fix belongs in the design source, not the implementation) routes the same way — `awaiting_approval`, no developer retry.
|
|
247
247
|
7. On `validation_failed` from `build-verifier`: hook sets `retryAfterFix: build-verifier` → developer → build-verifier (delta).
|
|
248
248
|
8. When all steps complete, suggest `/technical-retro <slug>`.
|
|
249
249
|
9. If `autoChain: false` in pipeline, do not rely on hook — manual step only.
|
|
@@ -269,12 +269,12 @@ Use Task tool or `/agent-name`. Pass: slug, artifact paths, step `scope` if set.
|
|
|
269
269
|
### Model when invoking (Task)
|
|
270
270
|
|
|
271
271
|
1. Read `steps[i].model` if present; else use the agent’s frontmatter `model` (see `agents/README.md` matrix).
|
|
272
|
-
2. Resolve the tier through `.ai.local/team/model-tiers.json` → `tiers.<tier>` when that file
|
|
272
|
+
2. Resolve the tier through `.ai.local/team/model-tiers.json` → `tiers.<tier>` when that file is an approved map. An empty `tiers` object with an empty `approvedBy` is the unfilled template: omit the model and the session model applies. Once `approvedBy` is set or any tier value is set, the file is the map, so passing an explicit model is allowed. Pass the resolved `providerID/modelID` (or `providerID/modelID#variant`) to the Task/subagent tool.
|
|
273
273
|
- **`cheap`** → router, analyst, tech-writer, codebase-analyzer, and the review roles `code-reviewer`, `build-verifier`, `api-contract-reviewer`, `mockup-reviewer`. Resolve the provider through `.ai.local/team/model-tiers.json`. Do not write a provider id into the agent file. Pass the mapped id as written; do not append `#high`.
|
|
274
274
|
- **`standard`** → implementation and the other non-review specialists. `feature-developer` stays on this tier.
|
|
275
275
|
- **`strong`** → architecture, security, migration, performance. Never downgrade a `strong` step to the parent default, and do not put `mockup-reviewer` on `strong`.
|
|
276
|
-
- When `steps[i].model` is omitted and the agent file has no `model`, those four review roles stay `cheap` when
|
|
277
|
-
- If a tier is declared
|
|
276
|
+
- When `steps[i].model` is omitted and the agent file has no `model`, those four review roles stay `cheap` when the map has a `cheap` value. Without the file, or while the template is still empty, omit the model and the session model applies.
|
|
277
|
+
- If a tier is declared, the map is approved, and that tier has no mapping, **STOP** and report `model-tier-unmapped`; do not silently inherit the parent model.
|
|
278
278
|
3. If the tool does not accept a model (Cursor/Claude adapters), record the resolved tier in the handoff and let the platform pin apply.
|
|
279
279
|
4. Parallel steps: apply the step-level `model` to **each** agent in the array (or omit → each agent’s own frontmatter).
|
|
280
280
|
5. The tier never changes the step order, gates, receipts, or retry policy.
|
|
@@ -287,7 +287,7 @@ node .ai.local/scripts/record-usage.mjs --task <slug> --attempt <attemptId> --in
|
|
|
287
287
|
|
|
288
288
|
The chain hook also forwards a `usage` object from its input into the `attempt_finished` event. Never estimate or invent token counts; a missing usage record stays missing.
|
|
289
289
|
|
|
290
|
-
After each agent completes, verify its terminal manifest receipt, then let the orchestration runtime/hook reconcile `status.json` (`completed`, a blocking outcome, or `awaiting_approval`) from that receipt.
|
|
290
|
+
After each agent completes, verify its terminal manifest receipt, then let the orchestration runtime/hook reconcile `status.json` (`completed`, a blocking outcome, or `awaiting_approval`) from that receipt. **MUST: pass `TEAM_TASK_SLUG=<slug>` on every hook call** — `TEAM_TASK_SLUG=<slug> bash .opencode/hooks/chain-team-phases.sh` (or the host's hook path). With more than one live slug, an omitted env is a hook refusal (`active-task-pointer-ambiguous`, `ok:false`), never a silent reroute: re-run with the env set. The OpenCode task-status plugin pins each tab in `.ai.local/team/.session-leases/<session>.json` and injects `AI_RULES_SESSION_ID` on `shell.env`, so a later hook call in that tab resolves through the lease when `TEAM_TASK_SLUG` is omitted. `active-task.json` is the live-slug list, not a tab binding. Do not ask the agent to mutate shared lifecycle fields, and do not invoke the next specialist until the hook has written the handoff / updated `status.json`.
|
|
291
291
|
|
|
292
292
|
## Legacy mode
|
|
293
293
|
|
|
@@ -25,6 +25,14 @@ Write for two readers at once: an **agent** loading one file out of context, and
|
|
|
25
25
|
- No scenario storytelling, rhetorical questions, or meta-narration ("this section explains…").
|
|
26
26
|
- No duplicated rule text across stems — link instead.
|
|
27
27
|
|
|
28
|
+
## Shell guards
|
|
29
|
+
|
|
30
|
+
A write or execute guard allowlists the benign shapes and answers `ask` on anything it cannot classify. `allow` on an unknown shape is a defect.
|
|
31
|
+
|
|
32
|
+
- Name the bypass class — abbreviations, aliases, quoting, shell wrappers, config-injection options (`-c`, `--exec`, `--receive-pack`), value-consumption mismatch — not a list of spellings.
|
|
33
|
+
- Probe each shape with the flag on, the flag off, a sentinel, and an unreadable config. Quote the tool output. A green gate set is not that evidence.
|
|
34
|
+
- Compare every probed shape with the previous answer. A shape that asked before and allows now is a blocker.
|
|
35
|
+
|
|
28
36
|
## Size
|
|
29
37
|
|
|
30
38
|
- Shortest form that still changes behavior: if a bullet fits as a clause, make it a clause.
|
|
@@ -1,59 +1,8 @@
|
|
|
1
1
|
# $mol stack — OpenCode agent team
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
`.opencode/skills/`, `.opencode/commands/`. Rule files under
|
|
5
|
-
`.opencode/rules/*.md` are **not** auto-loaded.
|
|
3
|
+
Docs: `docs/OPENCODE.md`.
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
- Essential rules: Read immediately (paths below). Do not preload the catalog.
|
|
12
|
-
- Other rules: lazy `Read` `.opencode/rules/<stem>.md` when the task matches.
|
|
13
|
-
- Agents: native `@name` / Task from `.opencode/agents/`.
|
|
14
|
-
- Commands: native `/task` from `.opencode/commands/`.
|
|
15
|
-
- After a producer receipt, run the chain by hand (`projectHooks` is `manual`): `printf '%s\n' '{"status":"completed"}' | TEAM_TASK_SLUG=<slug> bash .opencode/hooks/chain-team-phases.sh`. Agents never write `status.json` / `metrics.json`.
|
|
16
|
-
|
|
17
|
-
## Essential rules (read every turn)
|
|
18
|
-
|
|
19
|
-
- `.opencode/rules/mol-app-core.md`
|
|
20
|
-
- `.opencode/rules/mol-reactivity.md`
|
|
21
|
-
- `.opencode/rules/mol-view-tree.md`
|
|
22
|
-
- `.opencode/rules/mol-components.md`
|
|
23
|
-
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
24
|
-
- `.opencode/rules/ai-local-overlay.md`
|
|
25
|
-
|
|
26
|
-
Every turn, run `list-ai-local.mjs` from the host hooks directory with the paths this step will touch, then apply the printed `.ai.local/rules/*.md` and
|
|
27
|
-
`.ai.local/conventions.md`. Acknowledge `Using .ai.local: <rule-name>`.
|
|
28
|
-
Guide: `docs/LOCAL-OVERLAY.md`. These essential rules are a prompt contract.
|
|
29
|
-
`nativeProjectRules` is `no-equivalent` — do not claim engine `alwaysApply`.
|
|
30
|
-
|
|
31
|
-
See `.opencode/rules/README.md` for the full catalog and loading strategy.
|
|
32
|
-
|
|
33
|
-
**Platform docs:** published with the `@bonesofspring/ai-rules` package
|
|
34
|
-
(`docs/OPENCODE.md`, `docs/OPENCODE-COMPATIBILITY.md`) — **not** copied into
|
|
35
|
-
the consumer repo. Source: https://github.com/bonesofspring/ai-rules
|
|
36
|
-
|
|
37
|
-
**Repo-root agents:** see [`AGENTS.md`](../../AGENTS.md) at the project root (cross-tool setup, commands, security, living conventions pointers).
|
|
38
|
-
|
|
39
|
-
## Quick start
|
|
40
|
-
|
|
41
|
-
| Task | Where to look |
|
|
42
|
-
|------|----------------|
|
|
43
|
-
| Any new work task | `/task` → `commands/task.md` + `agent-team-orchestrator.md` (+ `agent-team-intake.md` on-demand) |
|
|
44
|
-
| New end-to-end feature | skill `feature-delivery` + `feature-delivery-workflow.md` |
|
|
45
|
-
| Stack and layers | `mol-app-core.md` (+ `mol-reactivity`, `mol-view-tree`, `mol-components`) |
|
|
46
|
-
| After code edits | `mol-build.md` (**requestable**, but required after edits: build the touched module + run its tests; full gate — `build-verifier`) |
|
|
47
|
-
| Code review MR | skill `code-review` + `code-review-mr.md` |
|
|
48
|
-
| State, theming, tests | `mol-state.md`, `mol-theming.md`, `mol-testing.md` (**requestable**) + agent `security-reviewer` for secrets review |
|
|
49
|
-
| Technical retro | `/technical-retro` + skill `technical-retro` |
|
|
50
|
-
|
|
51
|
-
## When to use `/task`
|
|
52
|
-
|
|
53
|
-
- Implementation, bugfix, migration, tests, MR review, CI fix — **prefer `/task`**.
|
|
54
|
-
- Simple one-liner without architectural risk — may skip the pipeline if the user explicitly asks.
|
|
55
|
-
- Questions about how X works — agent `codebase-analyzer` (explain-as-is) or answer without `/task`.
|
|
56
|
-
|
|
57
|
-
## Pipeline routing
|
|
58
|
-
|
|
59
|
-
Intent detection, profiles (`full` / `standard` / `light`), and default steps — **only** in `agents/task-router.md`. Schema and examples — `agents/README.md`.
|
|
5
|
+
- Discovery: `.opencode/{agents,skills,commands}/` native; the engine never auto-loads `.opencode/rules/*.md` — `rule-attach` attaches a glob-matched rule once per `(sessionID, stem)` (stack globs, `bash`/`shell`).
|
|
6
|
+
- Essentials: `opencode.json` `instructions` — mol-app-core, mol-reactivity, mol-view-tree, mol-components, code-quality-and-refactoring, ai-local-overlay; `nativeProjectRules` is `no-equivalent`.
|
|
7
|
+
- Overlay: `node .opencode/hooks/list-ai-local.mjs <paths>` → `.ai.local/rules/*.md`, `.ai.local/conventions.md`, ack `Using .ai.local: <rule-name>` (`docs/LOCAL-OVERLAY.md`).
|
|
8
|
+
- Chain: `projectHooks` is `manual` — `printf '%s\n' '{"status":"completed"}' | TEAM_TASK_SLUG=<slug> bash .opencode/hooks/chain-team-phases.sh`.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "mol",
|
|
5
5
|
"semanticSource": "cursor/mol",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "d538968cd662b7c6a5765db9ac9fd0175090bb1a41f71520277b5e130d8078bc",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -609,11 +609,11 @@
|
|
|
609
609
|
},
|
|
610
610
|
{
|
|
611
611
|
"source": "hooks/guard-shell-command.mjs",
|
|
612
|
-
"target":
|
|
612
|
+
"target": "hooks/guard-shell-command.mjs",
|
|
613
613
|
"category": "hooks",
|
|
614
|
-
"disposition": "
|
|
615
|
-
"loadMode": "
|
|
616
|
-
"reason": "
|
|
614
|
+
"disposition": "transform",
|
|
615
|
+
"loadMode": "manual",
|
|
616
|
+
"reason": "Rendered from the shared template with a pure evaluate(event); runnable CLI, no host event dispatches it on v2.4.1"
|
|
617
617
|
},
|
|
618
618
|
{
|
|
619
619
|
"source": "hooks/list-ai-local.mjs",
|
|
@@ -645,7 +645,7 @@
|
|
|
645
645
|
"category": "rules",
|
|
646
646
|
"disposition": "transform",
|
|
647
647
|
"loadMode": "referenced",
|
|
648
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
648
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
649
649
|
"sharedCoreStem": "agent-team/agent-team-intake.md"
|
|
650
650
|
},
|
|
651
651
|
{
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
"category": "rules",
|
|
655
655
|
"disposition": "transform",
|
|
656
656
|
"loadMode": "referenced",
|
|
657
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
657
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
658
658
|
"sharedCoreStem": "agent-team/agent-team-orchestrator.md"
|
|
659
659
|
},
|
|
660
660
|
{
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
"category": "rules",
|
|
672
672
|
"disposition": "transform",
|
|
673
673
|
"loadMode": "referenced",
|
|
674
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
674
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
675
675
|
"sharedCoreStem": "quality/anti-hallucination-contract.md"
|
|
676
676
|
},
|
|
677
677
|
{
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
"category": "rules",
|
|
681
681
|
"disposition": "transform",
|
|
682
682
|
"loadMode": "referenced",
|
|
683
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
683
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
684
684
|
"sharedCoreStem": "quality/anti-sycophancy-discipline.md"
|
|
685
685
|
},
|
|
686
686
|
{
|
|
@@ -698,7 +698,7 @@
|
|
|
698
698
|
"category": "rules",
|
|
699
699
|
"disposition": "transform",
|
|
700
700
|
"loadMode": "referenced",
|
|
701
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
701
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
702
702
|
"sharedCoreStem": "review/code-review-mr.md"
|
|
703
703
|
},
|
|
704
704
|
{
|
|
@@ -707,7 +707,7 @@
|
|
|
707
707
|
"category": "rules",
|
|
708
708
|
"disposition": "transform",
|
|
709
709
|
"loadMode": "referenced",
|
|
710
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
710
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
711
711
|
"sharedCoreStem": "quality/design-guidance.md"
|
|
712
712
|
},
|
|
713
713
|
{
|
|
@@ -716,7 +716,7 @@
|
|
|
716
716
|
"category": "rules",
|
|
717
717
|
"disposition": "transform",
|
|
718
718
|
"loadMode": "referenced",
|
|
719
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
719
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
720
720
|
"sharedCoreStem": "architecture/feature-delivery-workflow.md"
|
|
721
721
|
},
|
|
722
722
|
{
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
"category": "rules",
|
|
726
726
|
"disposition": "transform",
|
|
727
727
|
"loadMode": "referenced",
|
|
728
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
728
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
729
729
|
"sharedCoreStem": "quality/interactive-questions.md"
|
|
730
730
|
},
|
|
731
731
|
{
|
|
@@ -734,7 +734,7 @@
|
|
|
734
734
|
"category": "rules",
|
|
735
735
|
"disposition": "transform",
|
|
736
736
|
"loadMode": "referenced",
|
|
737
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
737
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
738
738
|
"sharedCoreStem": "agent-team/language-policy.md"
|
|
739
739
|
},
|
|
740
740
|
{
|
|
@@ -743,7 +743,7 @@
|
|
|
743
743
|
"category": "rules",
|
|
744
744
|
"disposition": "transform",
|
|
745
745
|
"loadMode": "referenced",
|
|
746
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
746
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
747
747
|
"sharedCoreStem": "quality/mcp-usage.md"
|
|
748
748
|
},
|
|
749
749
|
{
|
|
@@ -760,7 +760,7 @@
|
|
|
760
760
|
"category": "rules",
|
|
761
761
|
"disposition": "transform",
|
|
762
762
|
"loadMode": "referenced",
|
|
763
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
763
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
764
764
|
},
|
|
765
765
|
{
|
|
766
766
|
"source": "rules/mol-components.mdc",
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
"category": "rules",
|
|
785
785
|
"disposition": "transform",
|
|
786
786
|
"loadMode": "referenced",
|
|
787
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
787
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
788
788
|
},
|
|
789
789
|
{
|
|
790
790
|
"source": "rules/mol-testing.mdc",
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
"category": "rules",
|
|
793
793
|
"disposition": "transform",
|
|
794
794
|
"loadMode": "referenced",
|
|
795
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
795
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
798
|
"source": "rules/mol-theming.mdc",
|
|
@@ -800,7 +800,7 @@
|
|
|
800
800
|
"category": "rules",
|
|
801
801
|
"disposition": "transform",
|
|
802
802
|
"loadMode": "referenced",
|
|
803
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
803
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
806
|
"source": "rules/mol-view-tree.mdc",
|
|
@@ -816,7 +816,7 @@
|
|
|
816
816
|
"category": "rules",
|
|
817
817
|
"disposition": "transform",
|
|
818
818
|
"loadMode": "referenced",
|
|
819
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
819
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
820
820
|
},
|
|
821
821
|
{
|
|
822
822
|
"source": "rules/preset-goals.mdc",
|
|
@@ -824,7 +824,7 @@
|
|
|
824
824
|
"category": "rules",
|
|
825
825
|
"disposition": "transform",
|
|
826
826
|
"loadMode": "referenced",
|
|
827
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
827
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
828
828
|
"sharedCoreStem": "meta/preset-goals.md"
|
|
829
829
|
},
|
|
830
830
|
{
|
|
@@ -833,7 +833,7 @@
|
|
|
833
833
|
"category": "rules",
|
|
834
834
|
"disposition": "transform",
|
|
835
835
|
"loadMode": "referenced",
|
|
836
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
836
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
837
837
|
"sharedCoreStem": "meta/preset-layering.md"
|
|
838
838
|
},
|
|
839
839
|
{
|
|
@@ -842,7 +842,7 @@
|
|
|
842
842
|
"category": "rules",
|
|
843
843
|
"disposition": "transform",
|
|
844
844
|
"loadMode": "referenced",
|
|
845
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
845
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
846
846
|
"sharedCoreStem": "meta/preset-no-cross-stack-leakage.md"
|
|
847
847
|
},
|
|
848
848
|
{
|
|
@@ -851,7 +851,7 @@
|
|
|
851
851
|
"category": "rules",
|
|
852
852
|
"disposition": "transform",
|
|
853
853
|
"loadMode": "referenced",
|
|
854
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
854
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
855
855
|
"sharedCoreStem": "meta/preset-pr-checklist.md"
|
|
856
856
|
},
|
|
857
857
|
{
|
|
@@ -860,7 +860,7 @@
|
|
|
860
860
|
"category": "rules",
|
|
861
861
|
"disposition": "transform",
|
|
862
862
|
"loadMode": "referenced",
|
|
863
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
863
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
864
864
|
"sharedCoreStem": "meta/preset-token-budget.md"
|
|
865
865
|
},
|
|
866
866
|
{
|
|
@@ -869,7 +869,7 @@
|
|
|
869
869
|
"category": "rules",
|
|
870
870
|
"disposition": "transform",
|
|
871
871
|
"loadMode": "referenced",
|
|
872
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
872
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
873
873
|
"sharedCoreStem": "meta/preset-twin-sync.md"
|
|
874
874
|
},
|
|
875
875
|
{
|
|
@@ -878,7 +878,7 @@
|
|
|
878
878
|
"category": "rules",
|
|
879
879
|
"disposition": "transform",
|
|
880
880
|
"loadMode": "referenced",
|
|
881
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
881
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
882
882
|
"sharedCoreStem": "meta/preset-writing-style.md"
|
|
883
883
|
},
|
|
884
884
|
{
|
|
@@ -887,7 +887,7 @@
|
|
|
887
887
|
"category": "rules",
|
|
888
888
|
"disposition": "transform",
|
|
889
889
|
"loadMode": "referenced",
|
|
890
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
890
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
891
891
|
"sharedCoreStem": "architecture/product-specs-authoring.md"
|
|
892
892
|
},
|
|
893
893
|
{
|
|
@@ -896,7 +896,7 @@
|
|
|
896
896
|
"category": "rules",
|
|
897
897
|
"disposition": "transform",
|
|
898
898
|
"loadMode": "referenced",
|
|
899
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
899
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
900
900
|
"sharedCoreStem": "architecture/product-specs.md"
|
|
901
901
|
},
|
|
902
902
|
{
|
|
@@ -905,7 +905,7 @@
|
|
|
905
905
|
"category": "rules",
|
|
906
906
|
"disposition": "transform",
|
|
907
907
|
"loadMode": "referenced",
|
|
908
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
908
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
909
909
|
"sharedCoreStem": "architecture/reference-features.template.md"
|
|
910
910
|
},
|
|
911
911
|
{
|
|
@@ -914,7 +914,7 @@
|
|
|
914
914
|
"category": "rules",
|
|
915
915
|
"disposition": "transform",
|
|
916
916
|
"loadMode": "referenced",
|
|
917
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
917
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
918
918
|
"sharedCoreStem": "review/technical-retro.md"
|
|
919
919
|
},
|
|
920
920
|
{
|
|
@@ -12,7 +12,7 @@ Write only team artifacts under `.ai.local/team/**`. Do not edit production code
|
|
|
12
12
|
|
|
13
13
|
## Rules to load (subagent context)
|
|
14
14
|
|
|
15
|
-
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
|
|
16
16
|
|
|
17
17
|
- `.opencode/rules/mol-app-core.md`
|
|
18
18
|
- `.opencode/rules/mol-reactivity.md`
|
|
@@ -12,7 +12,7 @@ Write only team artifacts under `.ai.local/team/**`. Do not edit production code
|
|
|
12
12
|
|
|
13
13
|
## Rules to load (subagent context)
|
|
14
14
|
|
|
15
|
-
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
|
|
16
16
|
|
|
17
17
|
- `.opencode/rules/mol-app-core.md`
|
|
18
18
|
- `.opencode/rules/mol-reactivity.md`
|
|
@@ -12,7 +12,7 @@ Write only team artifacts under `.ai.local/team/**`. Do not edit production code
|
|
|
12
12
|
|
|
13
13
|
## Rules to load (subagent context)
|
|
14
14
|
|
|
15
|
-
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
|
|
16
16
|
|
|
17
17
|
- `.opencode/rules/mol-app-core.md`
|
|
18
18
|
- `.opencode/rules/mol-reactivity.md`
|
|
@@ -8,7 +8,7 @@ permission:
|
|
|
8
8
|
|
|
9
9
|
## Rules to load (subagent context)
|
|
10
10
|
|
|
11
|
-
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
11
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
|
|
12
12
|
|
|
13
13
|
- `.opencode/rules/mol-app-core.md`
|
|
14
14
|
- `.opencode/rules/mol-reactivity.md`
|
|
@@ -12,7 +12,7 @@ Write only review artifacts under `.ai.local/team/**`. Do not edit production co
|
|
|
12
12
|
|
|
13
13
|
## Rules to load (subagent context)
|
|
14
14
|
|
|
15
|
-
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
|
|
16
16
|
|
|
17
17
|
- `.opencode/rules/mol-app-core.md`
|
|
18
18
|
- `.opencode/rules/mol-reactivity.md`
|
|
@@ -12,7 +12,7 @@ Write only team artifacts under `.ai.local/team/**`. Do not edit production code
|
|
|
12
12
|
|
|
13
13
|
## Rules to load (subagent context)
|
|
14
14
|
|
|
15
|
-
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
|
|
16
16
|
|
|
17
17
|
- `.opencode/rules/mol-app-core.md`
|
|
18
18
|
- `.opencode/rules/mol-reactivity.md`
|
|
@@ -8,7 +8,7 @@ permission:
|
|
|
8
8
|
|
|
9
9
|
## Rules to load (subagent context)
|
|
10
10
|
|
|
11
|
-
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
11
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
|
|
12
12
|
|
|
13
13
|
- `.opencode/rules/mol-app-core.md`
|
|
14
14
|
- `.opencode/rules/mol-reactivity.md`
|