@bonesofspring/ai-rules 0.2.86 → 0.2.87
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 +10 -0
- package/bin/lib/engine-scripts.js +4 -0
- package/bin/lib/seed-ai-local-team.js +39 -2
- package/bin/opencode-install.js +3 -2
- package/docs/OPENCODE-COMPATIBILITY.md +6 -4
- package/docs/OPENCODE.md +8 -5
- package/docs/PRESET-CONTRIBUTION.md +6 -6
- package/docs/TOKEN-ECONOMY.md +20 -0
- package/package.json +1 -1
- package/presets/_shared/ai-local/scripts/report-step-cost.mjs +544 -0
- package/presets/_shared/assets/model-tiers.json +6 -0
- package/presets/_shared/core/agent-team/agent-team-orchestrator.md +3 -3
- package/presets/_shared/hooks/guard-shell-command.mjs.tmpl +125 -105
- package/presets/claude/android-kotlin/hooks/guard-shell-command.mjs +125 -105
- package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +3 -3
- package/presets/claude/go/hooks/guard-shell-command.mjs +125 -105
- package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +3 -3
- package/presets/claude/ios-swift/hooks/guard-shell-command.mjs +125 -105
- package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +3 -3
- package/presets/claude/java/hooks/guard-shell-command.mjs +125 -105
- package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +3 -3
- package/presets/claude/mcp-ts/hooks/guard-shell-command.mjs +125 -105
- package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +3 -3
- package/presets/claude/mol/hooks/guard-shell-command.mjs +125 -105
- package/presets/claude/mol/rules/tooling-and-review/agent-team-orchestrator.md +3 -3
- package/presets/claude/next/hooks/guard-shell-command.mjs +125 -105
- package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +3 -3
- package/presets/claude/nuxt/hooks/guard-shell-command.mjs +125 -105
- package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +3 -3
- package/presets/claude/php-hexagonal/hooks/guard-shell-command.mjs +125 -105
- package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +3 -3
- package/presets/claude/php-laravel/hooks/guard-shell-command.mjs +125 -105
- package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +3 -3
- package/presets/claude/svelte/hooks/guard-shell-command.mjs +125 -105
- package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +3 -3
- package/presets/cursor/android-kotlin/hooks/guard-shell-command.mjs +125 -105
- package/presets/cursor/android-kotlin/rules/agent-team-orchestrator.mdc +3 -3
- package/presets/cursor/go/hooks/guard-shell-command.mjs +125 -105
- package/presets/cursor/go/rules/agent-team-orchestrator.mdc +3 -3
- package/presets/cursor/ios-swift/hooks/guard-shell-command.mjs +125 -105
- package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +3 -3
- package/presets/cursor/java/hooks/guard-shell-command.mjs +125 -105
- package/presets/cursor/java/rules/agent-team-orchestrator.mdc +3 -3
- package/presets/cursor/mcp-ts/hooks/guard-shell-command.mjs +125 -105
- package/presets/cursor/mcp-ts/rules/agent-team-orchestrator.mdc +3 -3
- package/presets/cursor/mol/hooks/guard-shell-command.mjs +125 -105
- package/presets/cursor/mol/rules/agent-team-orchestrator.mdc +3 -3
- package/presets/cursor/next/hooks/guard-shell-command.mjs +125 -105
- package/presets/cursor/next/rules/agent-team-orchestrator.mdc +3 -3
- package/presets/cursor/nuxt/hooks/guard-shell-command.mjs +125 -105
- package/presets/cursor/nuxt/rules/agent-team-orchestrator.mdc +3 -3
- package/presets/cursor/php-hexagonal/hooks/guard-shell-command.mjs +125 -105
- package/presets/cursor/php-hexagonal/rules/agent-team-orchestrator.mdc +3 -3
- package/presets/cursor/php-laravel/hooks/guard-shell-command.mjs +125 -105
- package/presets/cursor/php-laravel/rules/agent-team-orchestrator.mdc +3 -3
- package/presets/cursor/svelte/hooks/guard-shell-command.mjs +125 -105
- package/presets/cursor/svelte/rules/agent-team-orchestrator.mdc +3 -3
- package/presets/mavis/android-kotlin/adapter-map.json +1 -1
- package/presets/mavis/android-kotlin/rules/agent-team-orchestrator.md +3 -3
- package/presets/mavis/go/adapter-map.json +1 -1
- package/presets/mavis/go/rules/agent-team-orchestrator.md +3 -3
- package/presets/mavis/ios-swift/adapter-map.json +1 -1
- package/presets/mavis/ios-swift/rules/agent-team-orchestrator.md +3 -3
- package/presets/mavis/java/adapter-map.json +1 -1
- package/presets/mavis/java/rules/agent-team-orchestrator.md +3 -3
- package/presets/mavis/mcp-ts/adapter-map.json +1 -1
- package/presets/mavis/mcp-ts/rules/agent-team-orchestrator.md +3 -3
- package/presets/mavis/mol/adapter-map.json +1 -1
- package/presets/mavis/mol/rules/agent-team-orchestrator.md +3 -3
- package/presets/mavis/next/adapter-map.json +1 -1
- package/presets/mavis/next/rules/agent-team-orchestrator.md +3 -3
- package/presets/mavis/nuxt/adapter-map.json +1 -1
- package/presets/mavis/nuxt/rules/agent-team-orchestrator.md +3 -3
- package/presets/mavis/php-hexagonal/adapter-map.json +1 -1
- package/presets/mavis/php-hexagonal/rules/agent-team-orchestrator.md +3 -3
- package/presets/mavis/php-laravel/adapter-map.json +1 -1
- package/presets/mavis/php-laravel/rules/agent-team-orchestrator.md +3 -3
- package/presets/mavis/svelte/adapter-map.json +1 -1
- package/presets/mavis/svelte/rules/agent-team-orchestrator.md +3 -3
- 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 +11 -1
- package/presets/opencode/android-kotlin/hooks/guard-shell-command.mjs +155 -0
- package/presets/opencode/android-kotlin/plugins/rule-attach/globs.json +167 -0
- package/presets/opencode/android-kotlin/rules/agent-team-orchestrator.md +5 -5
- 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 +11 -1
- package/presets/opencode/go/hooks/guard-shell-command.mjs +154 -0
- package/presets/opencode/go/plugins/rule-attach/globs.json +198 -0
- package/presets/opencode/go/rules/agent-team-orchestrator.md +5 -5
- 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 +11 -1
- package/presets/opencode/ios-swift/hooks/guard-shell-command.mjs +154 -0
- package/presets/opencode/ios-swift/plugins/rule-attach/globs.json +160 -0
- package/presets/opencode/ios-swift/rules/agent-team-orchestrator.md +5 -5
- 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 +11 -1
- package/presets/opencode/java/hooks/guard-shell-command.mjs +155 -0
- package/presets/opencode/java/plugins/rule-attach/globs.json +230 -0
- package/presets/opencode/java/rules/agent-team-orchestrator.md +5 -5
- 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 +11 -1
- package/presets/opencode/mcp-ts/hooks/guard-shell-command.mjs +154 -0
- package/presets/opencode/mcp-ts/plugins/rule-attach/globs.json +151 -0
- package/presets/opencode/mcp-ts/rules/agent-team-orchestrator.md +5 -5
- 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 +1 -1
- 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/commands/task-continue.md +1 -1
- package/presets/opencode/mol/hooks/README.md +11 -1
- package/presets/opencode/mol/hooks/guard-shell-command.mjs +153 -0
- package/presets/opencode/mol/plugins/rule-attach/globs.json +112 -0
- package/presets/opencode/mol/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/next/OPENCODE.md +5 -55
- 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 +1 -1
- 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 +1 -1
- package/presets/opencode/next/agents/task-router.md +1 -1
- 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/commands/task-continue.md +1 -1
- package/presets/opencode/next/hooks/README.md +11 -1
- package/presets/opencode/next/hooks/guard-shell-command.mjs +153 -0
- package/presets/opencode/next/plugins/rule-attach/globs.json +276 -0
- package/presets/opencode/next/rules/agent-team-orchestrator.md +5 -5
- 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 +11 -1
- package/presets/opencode/nuxt/hooks/guard-shell-command.mjs +153 -0
- package/presets/opencode/nuxt/plugins/rule-attach/globs.json +266 -0
- package/presets/opencode/nuxt/rules/agent-team-orchestrator.md +5 -5
- 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 +11 -1
- package/presets/opencode/php-hexagonal/hooks/guard-shell-command.mjs +155 -0
- package/presets/opencode/php-hexagonal/plugins/rule-attach/globs.json +242 -0
- package/presets/opencode/php-hexagonal/rules/agent-team-orchestrator.md +5 -5
- 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 +11 -1
- package/presets/opencode/php-laravel/hooks/guard-shell-command.mjs +155 -0
- package/presets/opencode/php-laravel/plugins/rule-attach/globs.json +232 -0
- package/presets/opencode/php-laravel/rules/agent-team-orchestrator.md +5 -5
- 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/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 +11 -1
- package/presets/opencode/svelte/hooks/guard-shell-command.mjs +153 -0
- package/presets/opencode/svelte/plugins/rule-attach/globs.json +245 -0
- package/presets/opencode/svelte/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/android-kotlin/adapter-map.json +1 -1
- package/presets/zcode/android-kotlin/rules/agent-team-orchestrator.md +3 -3
- package/presets/zcode/go/adapter-map.json +1 -1
- package/presets/zcode/go/rules/agent-team-orchestrator.md +3 -3
- package/presets/zcode/ios-swift/adapter-map.json +1 -1
- package/presets/zcode/ios-swift/rules/agent-team-orchestrator.md +3 -3
- package/presets/zcode/java/adapter-map.json +1 -1
- package/presets/zcode/java/rules/agent-team-orchestrator.md +3 -3
- package/presets/zcode/mcp-ts/adapter-map.json +1 -1
- package/presets/zcode/mcp-ts/rules/agent-team-orchestrator.md +3 -3
- package/presets/zcode/mol/adapter-map.json +1 -1
- package/presets/zcode/mol/rules/agent-team-orchestrator.md +3 -3
- package/presets/zcode/next/adapter-map.json +1 -1
- package/presets/zcode/next/rules/agent-team-orchestrator.md +3 -3
- package/presets/zcode/nuxt/adapter-map.json +1 -1
- package/presets/zcode/nuxt/rules/agent-team-orchestrator.md +3 -3
- package/presets/zcode/php-hexagonal/adapter-map.json +1 -1
- package/presets/zcode/php-hexagonal/rules/agent-team-orchestrator.md +3 -3
- package/presets/zcode/php-laravel/adapter-map.json +1 -1
- package/presets/zcode/php-laravel/rules/agent-team-orchestrator.md +3 -3
- package/presets/zcode/svelte/adapter-map.json +1 -1
- package/presets/zcode/svelte/rules/agent-team-orchestrator.md +3 -3
- package/scripts/report-context-cost.mjs +1 -20
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "ios-swift",
|
|
5
5
|
"semanticSource": "cursor/ios-swift",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "73a7ebf3fc21b61a03d63ef1cbb6110536e30bb6afe8b6b200b521e21ef3ff5d",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -384,11 +384,11 @@
|
|
|
384
384
|
},
|
|
385
385
|
{
|
|
386
386
|
"source": "hooks/guard-shell-command.mjs",
|
|
387
|
-
"target":
|
|
387
|
+
"target": "hooks/guard-shell-command.mjs",
|
|
388
388
|
"category": "hooks",
|
|
389
|
-
"disposition": "
|
|
390
|
-
"loadMode": "
|
|
391
|
-
"reason": "
|
|
389
|
+
"disposition": "transform",
|
|
390
|
+
"loadMode": "manual",
|
|
391
|
+
"reason": "Rendered from the shared template with a pure evaluate(event); runnable CLI, no host event dispatches it on v2.4.1"
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
"source": "hooks/list-ai-local.mjs",
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
"category": "rules",
|
|
421
421
|
"disposition": "transform",
|
|
422
422
|
"loadMode": "referenced",
|
|
423
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
423
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
424
424
|
"sharedCoreStem": "agent-team/agent-team-intake.md"
|
|
425
425
|
},
|
|
426
426
|
{
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
"category": "rules",
|
|
430
430
|
"disposition": "transform",
|
|
431
431
|
"loadMode": "referenced",
|
|
432
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
432
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
433
433
|
"sharedCoreStem": "agent-team/agent-team-orchestrator.md"
|
|
434
434
|
},
|
|
435
435
|
{
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
"category": "rules",
|
|
447
447
|
"disposition": "transform",
|
|
448
448
|
"loadMode": "referenced",
|
|
449
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
449
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
450
450
|
"sharedCoreStem": "quality/anti-hallucination-contract.md"
|
|
451
451
|
},
|
|
452
452
|
{
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
"category": "rules",
|
|
456
456
|
"disposition": "transform",
|
|
457
457
|
"loadMode": "referenced",
|
|
458
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
458
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
459
459
|
"sharedCoreStem": "quality/anti-sycophancy-discipline.md"
|
|
460
460
|
},
|
|
461
461
|
{
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
"category": "rules",
|
|
482
482
|
"disposition": "transform",
|
|
483
483
|
"loadMode": "referenced",
|
|
484
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
484
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
485
485
|
"sharedCoreStem": "review/code-review-mr.md"
|
|
486
486
|
},
|
|
487
487
|
{
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
"category": "rules",
|
|
491
491
|
"disposition": "transform",
|
|
492
492
|
"loadMode": "referenced",
|
|
493
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
493
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
494
494
|
"sharedCoreStem": "quality/design-guidance.md"
|
|
495
495
|
},
|
|
496
496
|
{
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
"category": "rules",
|
|
500
500
|
"disposition": "transform",
|
|
501
501
|
"loadMode": "referenced",
|
|
502
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
502
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
503
503
|
"sharedCoreStem": "architecture/feature-delivery-workflow.md"
|
|
504
504
|
},
|
|
505
505
|
{
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
"category": "rules",
|
|
509
509
|
"disposition": "transform",
|
|
510
510
|
"loadMode": "referenced",
|
|
511
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
511
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
512
512
|
"sharedCoreStem": "quality/interactive-questions.md"
|
|
513
513
|
},
|
|
514
514
|
{
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
"category": "rules",
|
|
526
526
|
"disposition": "transform",
|
|
527
527
|
"loadMode": "referenced",
|
|
528
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
528
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
529
529
|
"sharedCoreStem": "agent-team/language-policy.md"
|
|
530
530
|
},
|
|
531
531
|
{
|
|
@@ -534,7 +534,7 @@
|
|
|
534
534
|
"category": "rules",
|
|
535
535
|
"disposition": "transform",
|
|
536
536
|
"loadMode": "referenced",
|
|
537
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
537
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
538
538
|
"sharedCoreStem": "quality/mcp-usage.md"
|
|
539
539
|
},
|
|
540
540
|
{
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
"category": "rules",
|
|
544
544
|
"disposition": "transform",
|
|
545
545
|
"loadMode": "referenced",
|
|
546
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
546
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
547
547
|
"sharedCoreStem": "review/mockup-review.md"
|
|
548
548
|
},
|
|
549
549
|
{
|
|
@@ -552,7 +552,7 @@
|
|
|
552
552
|
"category": "rules",
|
|
553
553
|
"disposition": "transform",
|
|
554
554
|
"loadMode": "referenced",
|
|
555
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
555
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
556
556
|
},
|
|
557
557
|
{
|
|
558
558
|
"source": "rules/navigation-coordinators.mdc",
|
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
"category": "rules",
|
|
561
561
|
"disposition": "transform",
|
|
562
562
|
"loadMode": "referenced",
|
|
563
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
563
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
564
564
|
},
|
|
565
565
|
{
|
|
566
566
|
"source": "rules/networking-services.mdc",
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
"category": "rules",
|
|
569
569
|
"disposition": "transform",
|
|
570
570
|
"loadMode": "referenced",
|
|
571
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
571
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
572
572
|
},
|
|
573
573
|
{
|
|
574
574
|
"source": "rules/persistence-data.mdc",
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
"category": "rules",
|
|
577
577
|
"disposition": "transform",
|
|
578
578
|
"loadMode": "referenced",
|
|
579
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
579
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
580
580
|
},
|
|
581
581
|
{
|
|
582
582
|
"source": "rules/post-change-build.mdc",
|
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
"category": "rules",
|
|
585
585
|
"disposition": "transform",
|
|
586
586
|
"loadMode": "referenced",
|
|
587
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
587
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
588
588
|
},
|
|
589
589
|
{
|
|
590
590
|
"source": "rules/preset-goals.mdc",
|
|
@@ -592,7 +592,7 @@
|
|
|
592
592
|
"category": "rules",
|
|
593
593
|
"disposition": "transform",
|
|
594
594
|
"loadMode": "referenced",
|
|
595
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
595
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
596
596
|
"sharedCoreStem": "meta/preset-goals.md"
|
|
597
597
|
},
|
|
598
598
|
{
|
|
@@ -601,7 +601,7 @@
|
|
|
601
601
|
"category": "rules",
|
|
602
602
|
"disposition": "transform",
|
|
603
603
|
"loadMode": "referenced",
|
|
604
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
604
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
605
605
|
"sharedCoreStem": "meta/preset-layering.md"
|
|
606
606
|
},
|
|
607
607
|
{
|
|
@@ -610,7 +610,7 @@
|
|
|
610
610
|
"category": "rules",
|
|
611
611
|
"disposition": "transform",
|
|
612
612
|
"loadMode": "referenced",
|
|
613
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
613
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
614
614
|
"sharedCoreStem": "meta/preset-no-cross-stack-leakage.md"
|
|
615
615
|
},
|
|
616
616
|
{
|
|
@@ -619,7 +619,7 @@
|
|
|
619
619
|
"category": "rules",
|
|
620
620
|
"disposition": "transform",
|
|
621
621
|
"loadMode": "referenced",
|
|
622
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
622
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
623
623
|
"sharedCoreStem": "meta/preset-pr-checklist.md"
|
|
624
624
|
},
|
|
625
625
|
{
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
"category": "rules",
|
|
629
629
|
"disposition": "transform",
|
|
630
630
|
"loadMode": "referenced",
|
|
631
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
631
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
632
632
|
"sharedCoreStem": "meta/preset-token-budget.md"
|
|
633
633
|
},
|
|
634
634
|
{
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
"category": "rules",
|
|
638
638
|
"disposition": "transform",
|
|
639
639
|
"loadMode": "referenced",
|
|
640
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
640
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
641
641
|
"sharedCoreStem": "meta/preset-twin-sync.md"
|
|
642
642
|
},
|
|
643
643
|
{
|
|
@@ -646,7 +646,7 @@
|
|
|
646
646
|
"category": "rules",
|
|
647
647
|
"disposition": "transform",
|
|
648
648
|
"loadMode": "referenced",
|
|
649
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
649
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
650
650
|
"sharedCoreStem": "meta/preset-writing-style.md"
|
|
651
651
|
},
|
|
652
652
|
{
|
|
@@ -655,7 +655,7 @@
|
|
|
655
655
|
"category": "rules",
|
|
656
656
|
"disposition": "transform",
|
|
657
657
|
"loadMode": "referenced",
|
|
658
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
658
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
659
659
|
"sharedCoreStem": "architecture/product-specs-authoring.md"
|
|
660
660
|
},
|
|
661
661
|
{
|
|
@@ -664,7 +664,7 @@
|
|
|
664
664
|
"category": "rules",
|
|
665
665
|
"disposition": "transform",
|
|
666
666
|
"loadMode": "referenced",
|
|
667
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
667
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
668
668
|
"sharedCoreStem": "architecture/product-specs.md"
|
|
669
669
|
},
|
|
670
670
|
{
|
|
@@ -673,7 +673,7 @@
|
|
|
673
673
|
"category": "rules",
|
|
674
674
|
"disposition": "transform",
|
|
675
675
|
"loadMode": "referenced",
|
|
676
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
676
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
677
677
|
"sharedCoreStem": "architecture/reference-features.template.md"
|
|
678
678
|
},
|
|
679
679
|
{
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
"category": "rules",
|
|
683
683
|
"disposition": "transform",
|
|
684
684
|
"loadMode": "referenced",
|
|
685
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
685
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
686
686
|
},
|
|
687
687
|
{
|
|
688
688
|
"source": "rules/state-and-viewmodels.mdc",
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
"category": "rules",
|
|
691
691
|
"disposition": "transform",
|
|
692
692
|
"loadMode": "referenced",
|
|
693
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
693
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
694
694
|
},
|
|
695
695
|
{
|
|
696
696
|
"source": "rules/swift-anti-hallucination.mdc",
|
|
@@ -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
|
},
|
|
703
703
|
{
|
|
704
704
|
"source": "rules/swift-conventions.mdc",
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
"category": "rules",
|
|
707
707
|
"disposition": "transform",
|
|
708
708
|
"loadMode": "referenced",
|
|
709
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
709
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
710
710
|
},
|
|
711
711
|
{
|
|
712
712
|
"source": "rules/swiftui-ui.mdc",
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
"category": "rules",
|
|
715
715
|
"disposition": "transform",
|
|
716
716
|
"loadMode": "referenced",
|
|
717
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
717
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
718
718
|
},
|
|
719
719
|
{
|
|
720
720
|
"source": "rules/technical-retro.mdc",
|
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
"category": "rules",
|
|
723
723
|
"disposition": "transform",
|
|
724
724
|
"loadMode": "referenced",
|
|
725
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
725
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
726
726
|
"sharedCoreStem": "review/technical-retro.md"
|
|
727
727
|
},
|
|
728
728
|
{
|
|
@@ -731,7 +731,7 @@
|
|
|
731
731
|
"category": "rules",
|
|
732
732
|
"disposition": "transform",
|
|
733
733
|
"loadMode": "referenced",
|
|
734
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
734
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
735
735
|
},
|
|
736
736
|
{
|
|
737
737
|
"source": "rules/tests-unit.mdc",
|
|
@@ -739,7 +739,7 @@
|
|
|
739
739
|
"category": "rules",
|
|
740
740
|
"disposition": "transform",
|
|
741
741
|
"loadMode": "referenced",
|
|
742
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
742
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
743
743
|
},
|
|
744
744
|
{
|
|
745
745
|
"source": "rules/ux-design.mdc",
|
|
@@ -747,7 +747,7 @@
|
|
|
747
747
|
"category": "rules",
|
|
748
748
|
"disposition": "transform",
|
|
749
749
|
"loadMode": "referenced",
|
|
750
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
750
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
|
|
751
751
|
"sharedCoreStem": "review/ux-design.md"
|
|
752
752
|
},
|
|
753
753
|
{
|
|
@@ -756,7 +756,7 @@
|
|
|
756
756
|
"category": "rules",
|
|
757
757
|
"disposition": "transform",
|
|
758
758
|
"loadMode": "referenced",
|
|
759
|
-
"reason": "Requestable Cursor rule: lazy Read
|
|
759
|
+
"reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
|
|
760
760
|
},
|
|
761
761
|
{
|
|
762
762
|
"source": "skills/ci-investigation/SKILL.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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
14
14
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
14
14
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
14
14
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -13,7 +13,7 @@ Write team artifacts under `.ai.local/team/**` and scoped files (`openspec/**`).
|
|
|
13
13
|
|
|
14
14
|
## Rules to load (subagent context)
|
|
15
15
|
|
|
16
|
-
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
16
|
+
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:
|
|
17
17
|
|
|
18
18
|
- `.opencode/rules/ios-app-core.md`
|
|
19
19
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
14
14
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -18,7 +18,7 @@ Write team artifacts under `.ai.local/team/**` and scoped files (`docs/**`, `REA
|
|
|
18
18
|
|
|
19
19
|
## Rules to load (subagent context)
|
|
20
20
|
|
|
21
|
-
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
21
|
+
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:
|
|
22
22
|
|
|
23
23
|
- `.opencode/rules/ios-app-core.md`
|
|
24
24
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
14
14
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
14
14
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
14
14
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
14
14
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -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/ios-app-core.md`
|
|
18
18
|
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
@@ -38,7 +38,7 @@ printf '%s\n' '{"status":"completed","action":"end_human_gate","activateNext":tr
|
|
|
38
38
|
3. **Review `changes_requested`** (not a human gate): if `currentAgent` is **`mockup-reviewer`**, this is the FAIL-only mockup gate — do **not** retry `feature-developer`. Read `mockup-review.md` and resume via the human-gate path (`end_human_gate` / `activateNext`). Otherwise: set `currentAgent` to `feature-developer` (same index / find developer in steps), `state: in_progress`, then invoke developer. Do **not** call `end_human_gate` unless `activeHumanGateEventId` is set.
|
|
39
39
|
4. **`blocked` + `currentAgent: mockup-reviewer`** (`BLOCKED_MCP`): skip-forward via the same `end_human_gate`/`activateNext` path (explicit «proceed without MCP»). Do not invent DS claims.
|
|
40
40
|
5. **Other resume**: restore `pipelineIndex` / `currentAgent` from status and invoke that agent.
|
|
41
|
-
6. After the invoked agent completes, `chain-team-phases.sh`
|
|
41
|
+
6. After the invoked agent completes, run `chain-team-phases.sh` yourself — no `subagentStop` event exists on this host, so the chain continues only when that run happens and `autoChain: true`.
|
|
42
42
|
|
|
43
43
|
## Checkpoint & resume
|
|
44
44
|
|
|
@@ -22,9 +22,19 @@ When the recorded package is older than the npm latest, open the reply with a le
|
|
|
22
22
|
|
|
23
23
|
`list-ai-local.mjs` — run before reading or editing paths: `node .opencode/hooks/list-ai-local.mjs`. Pass the repo-relative paths. Not auto-registered.
|
|
24
24
|
|
|
25
|
+
`guard-shell-command.mjs` — the shared shell guard as a runnable CLI
|
|
26
|
+
(`node .opencode/hooks/guard-shell-command.mjs < event.json`) and a module
|
|
27
|
+
(`import { evaluate }`). It answers `allow` / `ask` for destructive git,
|
|
28
|
+
mass-kill, package-manager mismatch and a busy dev-server port.
|
|
29
|
+
|
|
25
30
|
## Omitted
|
|
26
31
|
|
|
27
32
|
- `hooks.json` — no native registration schema in this preset
|
|
28
|
-
- `guard-shell-command.mjs` — not wired; no native hook schema, do not describe it as enforcement
|
|
29
33
|
- `run-hook.mjs` — not wired; no native hook schema, the chain hook stays a manual runner
|
|
30
34
|
- `hooks/examples/**` — hook plugin port is a follow-up
|
|
35
|
+
|
|
36
|
+
`guard-shell-command.mjs` ships and runs, but no host event calls it: the
|
|
37
|
+
OpenCode v2.4.1 bridge registers `ctx.session.hook` for `context`, `compaction`,
|
|
38
|
+
`generate`, and `prompt` only (the probe recorded all four), so a
|
|
39
|
+
`tool.execute.after` registration is never dispatched. The enforced layer is
|
|
40
|
+
`opencode.json` `permission.bash`. Do not describe the guard as enforcement.
|