@bonesofspring/ai-rules 0.2.67 → 0.2.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/README.md +4 -4
- package/bin/lib/engine-scripts.js +3 -6
- package/bin/lib/seed-ai-local-team.js +1 -1
- package/docs/PRESET-CONTRIBUTION.md +15 -8
- package/docs/TEAM-DB.md +105 -105
- package/docs/TOKEN-ECONOMY.md +4 -2
- package/docs/openapi/team-db.v1.json +3905 -1466
- package/package.json +4 -4
- package/presets/_shared/ai-local/scripts/processes.mjs +467 -55
- package/presets/_shared/ai-local/scripts/team-db-api.mjs +564 -10
- package/presets/_shared/ai-local/scripts/team-db-openapi.mjs +816 -47
- package/presets/_shared/ai-local/scripts/team-db-project.mjs +659 -5
- package/presets/_shared/ai-local/scripts/team-db-schema.mjs +135 -0
- package/presets/_shared/ai-local/scripts/team-db-task-runner.mjs +11 -6
- package/presets/_shared/ai-local/scripts/team-db.mjs +16 -54
- package/presets/_shared/core/agent-team/agent-team-orchestrator.md +5 -5
- package/presets/_shared/core/architecture/feature-delivery-workflow.md +3 -7
- package/presets/_shared/core/meta/preset-pr-checklist.md +2 -2
- package/presets/_shared/core/quality/code-quality-and-refactoring.md +2 -6
- package/presets/_shared/core/quality/verification-before-completion.md +20 -3
- package/presets/_shared/hooks/chain-team-phases.sh.tmpl +12 -3
- package/presets/claude/android-kotlin/REPO_AGENTS.md +7 -47
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +12 -3
- package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/android-kotlin/rules/tooling-and-review/code-quality.md +2 -6
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/go/REPO_AGENTS.md +7 -47
- package/presets/claude/go/hooks/chain-team-phases.sh +12 -3
- package/presets/claude/go/rules/architecture/feature-delivery.md +3 -7
- package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/go/rules/tooling-and-review/code-quality.md +2 -6
- package/presets/claude/go/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/ios-swift/REPO_AGENTS.md +7 -47
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +12 -3
- package/presets/claude/ios-swift/rules/architecture/feature-delivery.md +3 -7
- package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/ios-swift/rules/tooling-and-review/code-quality.md +2 -6
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/java/REPO_AGENTS.md +7 -47
- package/presets/claude/java/hooks/chain-team-phases.sh +12 -3
- package/presets/claude/java/rules/architecture/feature-delivery.md +3 -7
- package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/java/rules/tooling-and-review/code-quality.md +2 -6
- package/presets/claude/java/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/mcp-ts/REPO_AGENTS.md +7 -47
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +12 -3
- package/presets/claude/mcp-ts/rules/architecture/feature-delivery.md +3 -7
- package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/mcp-ts/rules/tooling-and-review/code-quality.md +2 -6
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/mol/REPO_AGENTS.md +9 -49
- package/presets/claude/mol/hooks/chain-team-phases.sh +12 -3
- package/presets/claude/mol/rules/architecture/feature-delivery-workflow.md +3 -7
- package/presets/claude/mol/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/mol/rules/tooling-and-review/code-quality.md +2 -6
- package/presets/claude/mol/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/next/REPO_AGENTS.md +10 -50
- package/presets/claude/next/agents/accessibility-reviewer.md +0 -1
- package/presets/claude/next/agents/api-contract-reviewer.md +0 -1
- package/presets/claude/next/agents/build-verifier.md +12 -8
- package/presets/claude/next/agents/code-reviewer.md +1 -1
- package/presets/claude/next/agents/codebase-analyzer.md +0 -1
- package/presets/claude/next/agents/feature-developer.md +6 -6
- package/presets/claude/next/agents/migration-specialist.md +0 -1
- package/presets/claude/next/agents/mockup-reviewer.md +0 -1
- package/presets/claude/next/agents/openspec-author.md +0 -1
- package/presets/claude/next/agents/performance-auditor.md +0 -1
- package/presets/claude/next/agents/playwright-test-generator.md +0 -1
- package/presets/claude/next/agents/playwright-test-healer.md +0 -1
- package/presets/claude/next/agents/playwright-test-planner.md +0 -1
- package/presets/claude/next/agents/qa-tester.md +3 -3
- package/presets/claude/next/agents/security-reviewer.md +0 -1
- package/presets/claude/next/agents/solution-architect.md +0 -1
- package/presets/claude/next/agents/task-analyst.md +0 -1
- package/presets/claude/next/agents/task-router.md +8 -7
- package/presets/claude/next/agents/tech-writer.md +0 -1
- package/presets/claude/next/agents/unit-test-generator.md +0 -1
- package/presets/claude/next/agents/unit-test-healer.md +0 -1
- package/presets/claude/next/agents/unit-test-planner.md +0 -1
- package/presets/claude/next/commands/README.md +0 -6
- package/presets/claude/next/hooks/chain-team-phases.sh +12 -3
- package/presets/claude/next/rules/architecture/feature-delivery-workflow.md +5 -9
- package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/next/rules/tooling-and-review/code-quality.md +2 -6
- package/presets/claude/next/rules/tooling-and-review/post-change-lint.md +12 -16
- package/presets/claude/next/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/next/skills/feature-delivery/SKILL.md +1 -1
- package/presets/claude/next/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/claude/next/skills/unit-testing/SKILL.md +1 -1
- package/presets/claude/nuxt/REPO_AGENTS.md +8 -48
- package/presets/claude/nuxt/agents/accessibility-reviewer.md +0 -1
- package/presets/claude/nuxt/agents/api-contract-reviewer.md +0 -1
- package/presets/claude/nuxt/agents/build-verifier.md +5 -3
- package/presets/claude/nuxt/agents/ci-investigator.md +1 -1
- package/presets/claude/nuxt/agents/code-reviewer.md +0 -1
- package/presets/claude/nuxt/agents/codebase-analyzer.md +0 -1
- package/presets/claude/nuxt/agents/debugger.md +1 -1
- package/presets/claude/nuxt/agents/feature-developer.md +6 -6
- package/presets/claude/nuxt/agents/migration-specialist.md +0 -1
- package/presets/claude/nuxt/agents/mockup-reviewer.md +0 -1
- package/presets/claude/nuxt/agents/openspec-author.md +0 -1
- package/presets/claude/nuxt/agents/performance-auditor.md +0 -1
- package/presets/claude/nuxt/agents/playwright-test-generator.md +0 -1
- package/presets/claude/nuxt/agents/playwright-test-healer.md +0 -1
- package/presets/claude/nuxt/agents/playwright-test-planner.md +0 -1
- package/presets/claude/nuxt/agents/qa-tester.md +3 -3
- package/presets/claude/nuxt/agents/security-reviewer.md +0 -1
- package/presets/claude/nuxt/agents/solution-architect.md +0 -1
- package/presets/claude/nuxt/agents/task-analyst.md +0 -1
- package/presets/claude/nuxt/agents/task-router.md +8 -7
- package/presets/claude/nuxt/agents/tech-writer.md +0 -1
- package/presets/claude/nuxt/agents/unit-test-generator.md +0 -1
- package/presets/claude/nuxt/agents/unit-test-healer.md +0 -1
- package/presets/claude/nuxt/agents/unit-test-planner.md +0 -1
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +12 -3
- package/presets/claude/nuxt/rules/architecture/feature-delivery-workflow.md +3 -7
- package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/nuxt/rules/tooling-and-review/code-quality.md +2 -6
- package/presets/claude/nuxt/rules/tooling-and-review/post-change-lint.md +14 -14
- package/presets/claude/nuxt/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/nuxt/skills/feature-delivery/SKILL.md +1 -1
- package/presets/claude/nuxt/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/claude/nuxt/skills/unit-testing/SKILL.md +1 -1
- package/presets/claude/php-hexagonal/REPO_AGENTS.md +7 -47
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +12 -3
- package/presets/claude/php-hexagonal/rules/architecture/feature-delivery.md +3 -7
- package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/php-hexagonal/rules/tooling-and-review/code-quality.md +2 -6
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/php-laravel/REPO_AGENTS.md +7 -47
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +12 -3
- package/presets/claude/php-laravel/rules/architecture/feature-delivery.md +3 -7
- package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/php-laravel/rules/tooling-and-review/code-quality.md +2 -6
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/svelte/REPO_AGENTS.md +8 -48
- package/presets/claude/svelte/agents/accessibility-reviewer.md +0 -1
- package/presets/claude/svelte/agents/api-contract-reviewer.md +0 -1
- package/presets/claude/svelte/agents/build-verifier.md +5 -3
- package/presets/claude/svelte/agents/ci-investigator.md +1 -1
- package/presets/claude/svelte/agents/code-reviewer.md +0 -1
- package/presets/claude/svelte/agents/codebase-analyzer.md +0 -1
- package/presets/claude/svelte/agents/debugger.md +1 -1
- package/presets/claude/svelte/agents/feature-developer.md +6 -6
- package/presets/claude/svelte/agents/migration-specialist.md +0 -1
- package/presets/claude/svelte/agents/mockup-reviewer.md +0 -1
- package/presets/claude/svelte/agents/openspec-author.md +0 -1
- package/presets/claude/svelte/agents/performance-auditor.md +0 -1
- package/presets/claude/svelte/agents/playwright-test-generator.md +0 -1
- package/presets/claude/svelte/agents/playwright-test-healer.md +0 -1
- package/presets/claude/svelte/agents/playwright-test-planner.md +0 -1
- package/presets/claude/svelte/agents/qa-tester.md +3 -3
- package/presets/claude/svelte/agents/security-reviewer.md +0 -1
- package/presets/claude/svelte/agents/solution-architect.md +0 -1
- package/presets/claude/svelte/agents/task-analyst.md +0 -1
- package/presets/claude/svelte/agents/task-router.md +8 -7
- package/presets/claude/svelte/agents/tech-writer.md +0 -1
- package/presets/claude/svelte/agents/unit-test-generator.md +0 -1
- package/presets/claude/svelte/agents/unit-test-healer.md +0 -1
- package/presets/claude/svelte/agents/unit-test-planner.md +0 -1
- package/presets/claude/svelte/hooks/chain-team-phases.sh +12 -3
- package/presets/claude/svelte/rules/architecture/feature-delivery-workflow.md +3 -7
- package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
- package/presets/claude/svelte/rules/tooling-and-review/code-quality.md +2 -6
- package/presets/claude/svelte/rules/tooling-and-review/post-change-lint.md +14 -14
- package/presets/claude/svelte/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/svelte/skills/feature-delivery/SKILL.md +1 -1
- package/presets/claude/svelte/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/claude/svelte/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/android-kotlin/AGENTS.md +0 -10
- package/presets/cursor/android-kotlin/REPO_AGENTS.md +7 -47
- package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +12 -3
- package/presets/cursor/android-kotlin/rules/code-quality-and-refactoring.mdc +2 -6
- package/presets/cursor/android-kotlin/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/go/AGENTS.md +0 -8
- package/presets/cursor/go/REPO_AGENTS.md +7 -47
- package/presets/cursor/go/hooks/chain-team-phases.sh +12 -3
- package/presets/cursor/go/rules/code-quality-and-refactoring.mdc +2 -6
- package/presets/cursor/go/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/ios-swift/AGENTS.md +0 -10
- package/presets/cursor/ios-swift/REPO_AGENTS.md +7 -47
- package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +12 -3
- package/presets/cursor/ios-swift/rules/code-quality-and-refactoring.mdc +2 -6
- package/presets/cursor/ios-swift/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/java/AGENTS.md +0 -8
- package/presets/cursor/java/REPO_AGENTS.md +7 -47
- package/presets/cursor/java/hooks/chain-team-phases.sh +12 -3
- package/presets/cursor/java/rules/code-quality-and-refactoring.mdc +2 -6
- package/presets/cursor/java/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/mcp-ts/AGENTS.md +0 -6
- package/presets/cursor/mcp-ts/REPO_AGENTS.md +7 -47
- package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +12 -3
- package/presets/cursor/mcp-ts/rules/code-quality-and-refactoring.mdc +2 -6
- package/presets/cursor/mcp-ts/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/mol/AGENTS.md +0 -11
- package/presets/cursor/mol/REPO_AGENTS.md +9 -49
- package/presets/cursor/mol/hooks/chain-team-phases.sh +12 -3
- package/presets/cursor/mol/rules/code-quality-and-refactoring.mdc +2 -6
- package/presets/cursor/mol/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/next/AGENTS.md +1 -12
- package/presets/cursor/next/REPO_AGENTS.md +10 -50
- package/presets/cursor/next/agents/build-verifier.md +11 -7
- package/presets/cursor/next/agents/code-reviewer.md +1 -0
- package/presets/cursor/next/agents/feature-developer.md +6 -6
- package/presets/cursor/next/agents/qa-tester.md +3 -2
- package/presets/cursor/next/agents/task-router.md +8 -6
- package/presets/cursor/next/commands/README.md +0 -6
- package/presets/cursor/next/hooks/chain-team-phases.sh +12 -3
- package/presets/cursor/next/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/next/rules/code-quality-and-refactoring.mdc +2 -6
- package/presets/cursor/next/rules/feature-delivery-workflow.mdc +2 -2
- package/presets/cursor/next/rules/post-change-lint.mdc +12 -16
- package/presets/cursor/next/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/next/skills/feature-delivery/SKILL.md +1 -1
- package/presets/cursor/next/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/cursor/next/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/nuxt/AGENTS.md +1 -12
- package/presets/cursor/nuxt/REPO_AGENTS.md +8 -48
- package/presets/cursor/nuxt/agents/build-verifier.md +1 -1
- package/presets/cursor/nuxt/agents/feature-developer.md +2 -2
- package/presets/cursor/nuxt/agents/qa-tester.md +3 -2
- package/presets/cursor/nuxt/agents/task-router.md +8 -6
- package/presets/cursor/nuxt/hooks/chain-team-phases.sh +12 -3
- package/presets/cursor/nuxt/rules/code-quality-and-refactoring.mdc +2 -6
- package/presets/cursor/nuxt/rules/post-change-lint.mdc +14 -14
- package/presets/cursor/nuxt/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/nuxt/skills/feature-delivery/SKILL.md +1 -1
- package/presets/cursor/nuxt/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/cursor/nuxt/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/php-hexagonal/AGENTS.md +0 -8
- package/presets/cursor/php-hexagonal/REPO_AGENTS.md +7 -47
- package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +12 -3
- package/presets/cursor/php-hexagonal/rules/code-quality-and-refactoring.mdc +2 -6
- package/presets/cursor/php-hexagonal/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/php-laravel/AGENTS.md +0 -8
- package/presets/cursor/php-laravel/REPO_AGENTS.md +7 -47
- package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +12 -3
- package/presets/cursor/php-laravel/rules/code-quality-and-refactoring.mdc +2 -6
- package/presets/cursor/php-laravel/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/svelte/AGENTS.md +1 -12
- package/presets/cursor/svelte/REPO_AGENTS.md +8 -48
- package/presets/cursor/svelte/agents/build-verifier.md +1 -1
- package/presets/cursor/svelte/agents/feature-developer.md +2 -2
- package/presets/cursor/svelte/agents/qa-tester.md +3 -2
- package/presets/cursor/svelte/agents/task-router.md +8 -6
- package/presets/cursor/svelte/hooks/chain-team-phases.sh +12 -3
- package/presets/cursor/svelte/rules/code-quality-and-refactoring.mdc +2 -6
- package/presets/cursor/svelte/rules/post-change-lint.mdc +14 -14
- package/presets/cursor/svelte/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/svelte/skills/feature-delivery/SKILL.md +1 -1
- package/presets/cursor/svelte/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/cursor/svelte/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/android-kotlin/MAVIS.md +0 -2
- package/presets/mavis/android-kotlin/REPO_AGENTS.md +7 -47
- package/presets/mavis/android-kotlin/adapter-map.json +1 -1
- package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +12 -3
- package/presets/mavis/android-kotlin/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/android-kotlin/rules/code-quality-and-refactoring.md +2 -6
- package/presets/mavis/android-kotlin/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/go/MAVIS.md +8 -0
- package/presets/mavis/go/REPO_AGENTS.md +7 -47
- package/presets/mavis/go/adapter-map.json +1 -1
- package/presets/mavis/go/hooks/chain-team-phases.sh +12 -3
- package/presets/mavis/go/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/go/rules/code-quality-and-refactoring.md +2 -6
- package/presets/mavis/go/rules/feature-delivery-workflow.md +3 -7
- package/presets/mavis/go/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/ios-swift/MAVIS.md +0 -2
- package/presets/mavis/ios-swift/REPO_AGENTS.md +7 -47
- package/presets/mavis/ios-swift/adapter-map.json +1 -1
- package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +12 -3
- package/presets/mavis/ios-swift/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/ios-swift/rules/code-quality-and-refactoring.md +2 -6
- package/presets/mavis/ios-swift/rules/feature-delivery-workflow.md +3 -7
- package/presets/mavis/ios-swift/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/java/MAVIS.md +14 -0
- package/presets/mavis/java/REPO_AGENTS.md +7 -47
- package/presets/mavis/java/adapter-map.json +1 -1
- package/presets/mavis/java/hooks/chain-team-phases.sh +12 -3
- package/presets/mavis/java/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/java/rules/code-quality-and-refactoring.md +2 -6
- package/presets/mavis/java/rules/feature-delivery-workflow.md +3 -7
- package/presets/mavis/java/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/mcp-ts/MAVIS.md +6 -0
- package/presets/mavis/mcp-ts/REPO_AGENTS.md +7 -47
- package/presets/mavis/mcp-ts/adapter-map.json +1 -1
- package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +12 -3
- package/presets/mavis/mcp-ts/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/mcp-ts/rules/code-quality-and-refactoring.md +2 -6
- package/presets/mavis/mcp-ts/rules/feature-delivery-workflow.md +3 -7
- package/presets/mavis/mcp-ts/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/mol/MAVIS.md +1 -5
- package/presets/mavis/mol/REPO_AGENTS.md +9 -49
- package/presets/mavis/mol/adapter-map.json +1 -1
- package/presets/mavis/mol/hooks/chain-team-phases.sh +12 -3
- package/presets/mavis/mol/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/mol/rules/code-quality-and-refactoring.md +2 -6
- package/presets/mavis/mol/rules/feature-delivery-workflow.md +3 -7
- package/presets/mavis/mol/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/next/MAVIS.md +2 -6
- package/presets/mavis/next/REPO_AGENTS.md +10 -50
- package/presets/mavis/next/adapter-map.json +1 -17
- package/presets/mavis/next/agents/accessibility-reviewer.md +0 -1
- package/presets/mavis/next/agents/api-contract-reviewer.md +0 -1
- package/presets/mavis/next/agents/build-verifier.md +12 -8
- package/presets/mavis/next/agents/code-reviewer.md +1 -1
- package/presets/mavis/next/agents/codebase-analyzer.md +0 -1
- package/presets/mavis/next/agents/feature-developer.md +6 -6
- package/presets/mavis/next/agents/migration-specialist.md +0 -1
- package/presets/mavis/next/agents/mockup-reviewer.md +0 -1
- package/presets/mavis/next/agents/openspec-author.md +0 -1
- package/presets/mavis/next/agents/performance-auditor.md +0 -1
- package/presets/mavis/next/agents/playwright-test-generator.md +0 -1
- package/presets/mavis/next/agents/playwright-test-healer.md +0 -1
- package/presets/mavis/next/agents/playwright-test-planner.md +0 -1
- package/presets/mavis/next/agents/qa-tester.md +3 -3
- package/presets/mavis/next/agents/security-reviewer.md +0 -1
- package/presets/mavis/next/agents/solution-architect.md +0 -1
- package/presets/mavis/next/agents/task-analyst.md +0 -1
- package/presets/mavis/next/agents/task-router.md +8 -7
- package/presets/mavis/next/agents/tech-writer.md +0 -1
- package/presets/mavis/next/agents/unit-test-generator.md +0 -1
- package/presets/mavis/next/agents/unit-test-healer.md +0 -1
- package/presets/mavis/next/agents/unit-test-planner.md +0 -1
- package/presets/mavis/next/commands/README.md +0 -6
- package/presets/mavis/next/hooks/chain-team-phases.sh +12 -3
- package/presets/mavis/next/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/next/rules/code-quality-and-refactoring.md +2 -6
- package/presets/mavis/next/rules/feature-delivery-workflow.md +5 -9
- package/presets/mavis/next/rules/post-change-lint.md +11 -15
- package/presets/mavis/next/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/next/skills/feature-delivery/SKILL.md +1 -1
- package/presets/mavis/next/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/mavis/next/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/nuxt/MAVIS.md +2 -6
- package/presets/mavis/nuxt/REPO_AGENTS.md +8 -48
- package/presets/mavis/nuxt/adapter-map.json +1 -1
- package/presets/mavis/nuxt/agents/accessibility-reviewer.md +0 -1
- package/presets/mavis/nuxt/agents/api-contract-reviewer.md +0 -1
- package/presets/mavis/nuxt/agents/build-verifier.md +2 -2
- package/presets/mavis/nuxt/agents/ci-investigator.md +1 -1
- package/presets/mavis/nuxt/agents/code-reviewer.md +0 -1
- package/presets/mavis/nuxt/agents/codebase-analyzer.md +0 -1
- package/presets/mavis/nuxt/agents/debugger.md +1 -1
- package/presets/mavis/nuxt/agents/feature-developer.md +3 -3
- package/presets/mavis/nuxt/agents/migration-specialist.md +0 -1
- package/presets/mavis/nuxt/agents/mockup-reviewer.md +0 -1
- package/presets/mavis/nuxt/agents/openspec-author.md +0 -1
- package/presets/mavis/nuxt/agents/performance-auditor.md +0 -1
- package/presets/mavis/nuxt/agents/playwright-test-generator.md +0 -1
- package/presets/mavis/nuxt/agents/playwright-test-healer.md +0 -1
- package/presets/mavis/nuxt/agents/playwright-test-planner.md +0 -1
- package/presets/mavis/nuxt/agents/qa-tester.md +3 -3
- package/presets/mavis/nuxt/agents/security-reviewer.md +0 -1
- package/presets/mavis/nuxt/agents/solution-architect.md +0 -1
- package/presets/mavis/nuxt/agents/task-analyst.md +0 -1
- package/presets/mavis/nuxt/agents/task-router.md +8 -7
- package/presets/mavis/nuxt/agents/tech-writer.md +0 -1
- package/presets/mavis/nuxt/agents/unit-test-generator.md +0 -1
- package/presets/mavis/nuxt/agents/unit-test-healer.md +0 -1
- package/presets/mavis/nuxt/agents/unit-test-planner.md +0 -1
- package/presets/mavis/nuxt/hooks/chain-team-phases.sh +12 -3
- package/presets/mavis/nuxt/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/nuxt/rules/code-quality-and-refactoring.md +2 -6
- package/presets/mavis/nuxt/rules/feature-delivery-workflow.md +3 -7
- package/presets/mavis/nuxt/rules/post-change-lint.md +13 -13
- package/presets/mavis/nuxt/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/nuxt/skills/feature-delivery/SKILL.md +1 -1
- package/presets/mavis/nuxt/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/mavis/nuxt/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/php-hexagonal/MAVIS.md +16 -0
- package/presets/mavis/php-hexagonal/REPO_AGENTS.md +7 -47
- package/presets/mavis/php-hexagonal/adapter-map.json +1 -1
- package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +12 -3
- package/presets/mavis/php-hexagonal/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/php-hexagonal/rules/code-quality-and-refactoring.md +2 -6
- package/presets/mavis/php-hexagonal/rules/feature-delivery-workflow.md +3 -7
- package/presets/mavis/php-hexagonal/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/php-laravel/MAVIS.md +16 -0
- package/presets/mavis/php-laravel/REPO_AGENTS.md +7 -47
- package/presets/mavis/php-laravel/adapter-map.json +1 -1
- package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +12 -3
- package/presets/mavis/php-laravel/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/php-laravel/rules/code-quality-and-refactoring.md +2 -6
- package/presets/mavis/php-laravel/rules/feature-delivery-workflow.md +3 -7
- package/presets/mavis/php-laravel/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/svelte/MAVIS.md +2 -6
- package/presets/mavis/svelte/REPO_AGENTS.md +8 -48
- package/presets/mavis/svelte/adapter-map.json +1 -1
- package/presets/mavis/svelte/agents/accessibility-reviewer.md +0 -1
- package/presets/mavis/svelte/agents/api-contract-reviewer.md +0 -1
- package/presets/mavis/svelte/agents/build-verifier.md +2 -2
- package/presets/mavis/svelte/agents/ci-investigator.md +1 -1
- package/presets/mavis/svelte/agents/code-reviewer.md +0 -1
- package/presets/mavis/svelte/agents/codebase-analyzer.md +0 -1
- package/presets/mavis/svelte/agents/debugger.md +1 -1
- package/presets/mavis/svelte/agents/feature-developer.md +3 -3
- package/presets/mavis/svelte/agents/migration-specialist.md +0 -1
- package/presets/mavis/svelte/agents/mockup-reviewer.md +0 -1
- package/presets/mavis/svelte/agents/openspec-author.md +0 -1
- package/presets/mavis/svelte/agents/performance-auditor.md +0 -1
- package/presets/mavis/svelte/agents/playwright-test-generator.md +0 -1
- package/presets/mavis/svelte/agents/playwright-test-healer.md +0 -1
- package/presets/mavis/svelte/agents/playwright-test-planner.md +0 -1
- package/presets/mavis/svelte/agents/qa-tester.md +3 -3
- package/presets/mavis/svelte/agents/security-reviewer.md +0 -1
- package/presets/mavis/svelte/agents/solution-architect.md +0 -1
- package/presets/mavis/svelte/agents/task-analyst.md +0 -1
- package/presets/mavis/svelte/agents/task-router.md +8 -7
- package/presets/mavis/svelte/agents/tech-writer.md +0 -1
- package/presets/mavis/svelte/agents/unit-test-generator.md +0 -1
- package/presets/mavis/svelte/agents/unit-test-healer.md +0 -1
- package/presets/mavis/svelte/agents/unit-test-planner.md +0 -1
- package/presets/mavis/svelte/hooks/chain-team-phases.sh +12 -3
- package/presets/mavis/svelte/rules/agent-team-orchestrator.md +5 -5
- package/presets/mavis/svelte/rules/code-quality-and-refactoring.md +2 -6
- package/presets/mavis/svelte/rules/feature-delivery-workflow.md +3 -7
- package/presets/mavis/svelte/rules/post-change-lint.md +13 -13
- package/presets/mavis/svelte/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/svelte/skills/feature-delivery/SKILL.md +1 -1
- package/presets/mavis/svelte/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/mavis/svelte/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/android-kotlin/OPENCODE.md +1 -43
- package/presets/opencode/android-kotlin/REPO_AGENTS.md +7 -47
- package/presets/opencode/android-kotlin/adapter-map.json +1 -1
- package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +12 -3
- package/presets/opencode/android-kotlin/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/android-kotlin/rules/code-quality-and-refactoring.md +2 -6
- package/presets/opencode/android-kotlin/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/go/OPENCODE.md +7 -39
- package/presets/opencode/go/REPO_AGENTS.md +7 -47
- package/presets/opencode/go/adapter-map.json +1 -1
- package/presets/opencode/go/hooks/chain-team-phases.sh +12 -3
- package/presets/opencode/go/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/go/rules/code-quality-and-refactoring.md +2 -6
- package/presets/opencode/go/rules/feature-delivery-workflow.md +3 -7
- package/presets/opencode/go/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/ios-swift/OPENCODE.md +1 -43
- package/presets/opencode/ios-swift/REPO_AGENTS.md +7 -47
- package/presets/opencode/ios-swift/adapter-map.json +1 -1
- package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +12 -3
- package/presets/opencode/ios-swift/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/ios-swift/rules/code-quality-and-refactoring.md +2 -6
- package/presets/opencode/ios-swift/rules/feature-delivery-workflow.md +3 -7
- package/presets/opencode/ios-swift/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/java/OPENCODE.md +12 -38
- package/presets/opencode/java/REPO_AGENTS.md +7 -47
- package/presets/opencode/java/adapter-map.json +1 -1
- package/presets/opencode/java/hooks/chain-team-phases.sh +12 -3
- package/presets/opencode/java/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/java/rules/code-quality-and-refactoring.md +2 -6
- package/presets/opencode/java/rules/feature-delivery-workflow.md +3 -7
- package/presets/opencode/java/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/mcp-ts/OPENCODE.md +5 -39
- package/presets/opencode/mcp-ts/REPO_AGENTS.md +7 -47
- package/presets/opencode/mcp-ts/adapter-map.json +1 -1
- package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +12 -3
- package/presets/opencode/mcp-ts/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/mcp-ts/rules/code-quality-and-refactoring.md +2 -6
- package/presets/opencode/mcp-ts/rules/feature-delivery-workflow.md +3 -7
- package/presets/opencode/mcp-ts/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/mol/OPENCODE.md +1 -44
- package/presets/opencode/mol/REPO_AGENTS.md +9 -49
- package/presets/opencode/mol/adapter-map.json +1 -1
- package/presets/opencode/mol/hooks/chain-team-phases.sh +12 -3
- package/presets/opencode/mol/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/mol/rules/code-quality-and-refactoring.md +2 -6
- package/presets/opencode/mol/rules/feature-delivery-workflow.md +3 -7
- package/presets/opencode/mol/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/next/OPENCODE.md +2 -45
- package/presets/opencode/next/REPO_AGENTS.md +10 -50
- package/presets/opencode/next/adapter-map.json +1 -17
- package/presets/opencode/next/agents/accessibility-reviewer.md +0 -1
- package/presets/opencode/next/agents/api-contract-reviewer.md +0 -1
- package/presets/opencode/next/agents/build-verifier.md +12 -8
- package/presets/opencode/next/agents/code-reviewer.md +1 -1
- package/presets/opencode/next/agents/codebase-analyzer.md +0 -1
- package/presets/opencode/next/agents/feature-developer.md +6 -6
- package/presets/opencode/next/agents/migration-specialist.md +0 -1
- package/presets/opencode/next/agents/mockup-reviewer.md +0 -1
- package/presets/opencode/next/agents/openspec-author.md +0 -1
- package/presets/opencode/next/agents/performance-auditor.md +0 -1
- package/presets/opencode/next/agents/playwright-test-generator.md +0 -1
- package/presets/opencode/next/agents/playwright-test-healer.md +0 -1
- package/presets/opencode/next/agents/playwright-test-planner.md +0 -1
- package/presets/opencode/next/agents/qa-tester.md +3 -3
- package/presets/opencode/next/agents/security-reviewer.md +0 -1
- package/presets/opencode/next/agents/solution-architect.md +0 -1
- package/presets/opencode/next/agents/task-analyst.md +0 -1
- package/presets/opencode/next/agents/task-router.md +8 -7
- package/presets/opencode/next/agents/tech-writer.md +0 -1
- package/presets/opencode/next/agents/unit-test-generator.md +0 -1
- package/presets/opencode/next/agents/unit-test-healer.md +0 -1
- package/presets/opencode/next/agents/unit-test-planner.md +0 -1
- package/presets/opencode/next/commands/README.md +0 -6
- package/presets/opencode/next/hooks/chain-team-phases.sh +12 -3
- package/presets/opencode/next/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/next/rules/code-quality-and-refactoring.md +2 -6
- package/presets/opencode/next/rules/feature-delivery-workflow.md +5 -9
- package/presets/opencode/next/rules/post-change-lint.md +11 -15
- package/presets/opencode/next/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/next/skills/feature-delivery/SKILL.md +1 -1
- package/presets/opencode/next/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/opencode/next/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/nuxt/OPENCODE.md +2 -45
- package/presets/opencode/nuxt/REPO_AGENTS.md +8 -48
- package/presets/opencode/nuxt/adapter-map.json +1 -1
- package/presets/opencode/nuxt/agents/accessibility-reviewer.md +0 -1
- package/presets/opencode/nuxt/agents/api-contract-reviewer.md +0 -1
- package/presets/opencode/nuxt/agents/build-verifier.md +2 -2
- package/presets/opencode/nuxt/agents/ci-investigator.md +1 -1
- package/presets/opencode/nuxt/agents/code-reviewer.md +0 -1
- package/presets/opencode/nuxt/agents/codebase-analyzer.md +0 -1
- package/presets/opencode/nuxt/agents/debugger.md +1 -1
- package/presets/opencode/nuxt/agents/feature-developer.md +3 -3
- package/presets/opencode/nuxt/agents/migration-specialist.md +0 -1
- package/presets/opencode/nuxt/agents/mockup-reviewer.md +0 -1
- package/presets/opencode/nuxt/agents/openspec-author.md +0 -1
- package/presets/opencode/nuxt/agents/performance-auditor.md +0 -1
- package/presets/opencode/nuxt/agents/playwright-test-generator.md +0 -1
- package/presets/opencode/nuxt/agents/playwright-test-healer.md +0 -1
- package/presets/opencode/nuxt/agents/playwright-test-planner.md +0 -1
- package/presets/opencode/nuxt/agents/qa-tester.md +3 -3
- package/presets/opencode/nuxt/agents/security-reviewer.md +0 -1
- package/presets/opencode/nuxt/agents/solution-architect.md +0 -1
- package/presets/opencode/nuxt/agents/task-analyst.md +0 -1
- package/presets/opencode/nuxt/agents/task-router.md +8 -7
- package/presets/opencode/nuxt/agents/tech-writer.md +0 -1
- package/presets/opencode/nuxt/agents/unit-test-generator.md +0 -1
- package/presets/opencode/nuxt/agents/unit-test-healer.md +0 -1
- package/presets/opencode/nuxt/agents/unit-test-planner.md +0 -1
- package/presets/opencode/nuxt/hooks/chain-team-phases.sh +12 -3
- package/presets/opencode/nuxt/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/nuxt/rules/code-quality-and-refactoring.md +2 -6
- package/presets/opencode/nuxt/rules/feature-delivery-workflow.md +3 -7
- package/presets/opencode/nuxt/rules/post-change-lint.md +13 -13
- package/presets/opencode/nuxt/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/nuxt/skills/feature-delivery/SKILL.md +1 -1
- package/presets/opencode/nuxt/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/opencode/nuxt/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/php-hexagonal/OPENCODE.md +14 -38
- package/presets/opencode/php-hexagonal/REPO_AGENTS.md +7 -47
- package/presets/opencode/php-hexagonal/adapter-map.json +1 -1
- package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +12 -3
- package/presets/opencode/php-hexagonal/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/php-hexagonal/rules/code-quality-and-refactoring.md +2 -6
- package/presets/opencode/php-hexagonal/rules/feature-delivery-workflow.md +3 -7
- package/presets/opencode/php-hexagonal/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/php-laravel/OPENCODE.md +14 -38
- package/presets/opencode/php-laravel/REPO_AGENTS.md +7 -47
- package/presets/opencode/php-laravel/adapter-map.json +1 -1
- package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +12 -3
- package/presets/opencode/php-laravel/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/php-laravel/rules/code-quality-and-refactoring.md +2 -6
- package/presets/opencode/php-laravel/rules/feature-delivery-workflow.md +3 -7
- package/presets/opencode/php-laravel/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/plugins/output-guard/index.ts +7 -1
- package/presets/opencode/plugins/output-guard/ledger.ts +43 -0
- package/presets/opencode/plugins/task-status/economy.ts +112 -0
- package/presets/opencode/plugins/task-status/task-view.ts +28 -0
- package/presets/opencode/plugins/task-status/tui.tsx +14 -2
- package/presets/opencode/plugins/task-status/types.ts +3 -1
- package/presets/opencode/svelte/OPENCODE.md +2 -45
- package/presets/opencode/svelte/REPO_AGENTS.md +8 -48
- package/presets/opencode/svelte/adapter-map.json +1 -1
- package/presets/opencode/svelte/agents/accessibility-reviewer.md +0 -1
- package/presets/opencode/svelte/agents/api-contract-reviewer.md +0 -1
- package/presets/opencode/svelte/agents/build-verifier.md +2 -2
- package/presets/opencode/svelte/agents/ci-investigator.md +1 -1
- package/presets/opencode/svelte/agents/code-reviewer.md +0 -1
- package/presets/opencode/svelte/agents/codebase-analyzer.md +0 -1
- package/presets/opencode/svelte/agents/debugger.md +1 -1
- package/presets/opencode/svelte/agents/feature-developer.md +3 -3
- package/presets/opencode/svelte/agents/migration-specialist.md +0 -1
- package/presets/opencode/svelte/agents/mockup-reviewer.md +0 -1
- package/presets/opencode/svelte/agents/openspec-author.md +0 -1
- package/presets/opencode/svelte/agents/performance-auditor.md +0 -1
- package/presets/opencode/svelte/agents/playwright-test-generator.md +0 -1
- package/presets/opencode/svelte/agents/playwright-test-healer.md +0 -1
- package/presets/opencode/svelte/agents/playwright-test-planner.md +0 -1
- package/presets/opencode/svelte/agents/qa-tester.md +3 -3
- package/presets/opencode/svelte/agents/security-reviewer.md +0 -1
- package/presets/opencode/svelte/agents/solution-architect.md +0 -1
- package/presets/opencode/svelte/agents/task-analyst.md +0 -1
- package/presets/opencode/svelte/agents/task-router.md +8 -7
- package/presets/opencode/svelte/agents/tech-writer.md +0 -1
- package/presets/opencode/svelte/agents/unit-test-generator.md +0 -1
- package/presets/opencode/svelte/agents/unit-test-healer.md +0 -1
- package/presets/opencode/svelte/agents/unit-test-planner.md +0 -1
- package/presets/opencode/svelte/hooks/chain-team-phases.sh +12 -3
- package/presets/opencode/svelte/rules/agent-team-orchestrator.md +5 -5
- package/presets/opencode/svelte/rules/code-quality-and-refactoring.md +2 -6
- package/presets/opencode/svelte/rules/feature-delivery-workflow.md +3 -7
- package/presets/opencode/svelte/rules/post-change-lint.md +13 -13
- package/presets/opencode/svelte/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/svelte/skills/feature-delivery/SKILL.md +1 -1
- package/presets/opencode/svelte/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/opencode/svelte/skills/unit-testing/SKILL.md +1 -1
- package/presets/zcode/android-kotlin/REPO_AGENTS.md +7 -47
- package/presets/zcode/android-kotlin/adapter-map.json +1 -1
- package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +12 -3
- package/presets/zcode/android-kotlin/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/android-kotlin/rules/code-quality-and-refactoring.md +2 -6
- package/presets/zcode/android-kotlin/rules/preset-pr-checklist.md +2 -2
- package/presets/zcode/go/REPO_AGENTS.md +7 -47
- package/presets/zcode/go/adapter-map.json +1 -1
- package/presets/zcode/go/hooks/chain-team-phases.sh +12 -3
- package/presets/zcode/go/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/go/rules/code-quality-and-refactoring.md +2 -6
- package/presets/zcode/go/rules/feature-delivery-workflow.md +3 -7
- package/presets/zcode/go/rules/preset-pr-checklist.md +2 -2
- package/presets/zcode/ios-swift/REPO_AGENTS.md +7 -47
- package/presets/zcode/ios-swift/adapter-map.json +1 -1
- package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +12 -3
- package/presets/zcode/ios-swift/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/ios-swift/rules/code-quality-and-refactoring.md +2 -6
- package/presets/zcode/ios-swift/rules/feature-delivery-workflow.md +3 -7
- package/presets/zcode/ios-swift/rules/preset-pr-checklist.md +2 -2
- package/presets/zcode/java/REPO_AGENTS.md +7 -47
- package/presets/zcode/java/adapter-map.json +1 -1
- package/presets/zcode/java/hooks/chain-team-phases.sh +12 -3
- package/presets/zcode/java/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/java/rules/code-quality-and-refactoring.md +2 -6
- package/presets/zcode/java/rules/feature-delivery-workflow.md +3 -7
- package/presets/zcode/java/rules/preset-pr-checklist.md +2 -2
- package/presets/zcode/mcp-ts/REPO_AGENTS.md +7 -47
- package/presets/zcode/mcp-ts/adapter-map.json +1 -1
- package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +12 -3
- package/presets/zcode/mcp-ts/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/mcp-ts/rules/code-quality-and-refactoring.md +2 -6
- package/presets/zcode/mcp-ts/rules/feature-delivery-workflow.md +3 -7
- package/presets/zcode/mcp-ts/rules/preset-pr-checklist.md +2 -2
- package/presets/zcode/mol/REPO_AGENTS.md +9 -49
- package/presets/zcode/mol/adapter-map.json +1 -1
- package/presets/zcode/mol/hooks/chain-team-phases.sh +12 -3
- package/presets/zcode/mol/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/mol/rules/code-quality-and-refactoring.md +2 -6
- package/presets/zcode/mol/rules/feature-delivery-workflow.md +3 -7
- package/presets/zcode/mol/rules/preset-pr-checklist.md +2 -2
- package/presets/zcode/next/REPO_AGENTS.md +10 -50
- package/presets/zcode/next/adapter-map.json +1 -17
- package/presets/zcode/next/agents/accessibility-reviewer.md +0 -1
- package/presets/zcode/next/agents/api-contract-reviewer.md +0 -1
- package/presets/zcode/next/agents/build-verifier.md +12 -8
- package/presets/zcode/next/agents/code-reviewer.md +1 -1
- package/presets/zcode/next/agents/codebase-analyzer.md +0 -1
- package/presets/zcode/next/agents/feature-developer.md +6 -6
- package/presets/zcode/next/agents/migration-specialist.md +0 -1
- package/presets/zcode/next/agents/mockup-reviewer.md +0 -1
- package/presets/zcode/next/agents/openspec-author.md +0 -1
- package/presets/zcode/next/agents/performance-auditor.md +0 -1
- package/presets/zcode/next/agents/playwright-test-generator.md +0 -1
- package/presets/zcode/next/agents/playwright-test-healer.md +0 -1
- package/presets/zcode/next/agents/playwright-test-planner.md +0 -1
- package/presets/zcode/next/agents/qa-tester.md +3 -3
- package/presets/zcode/next/agents/security-reviewer.md +0 -1
- package/presets/zcode/next/agents/solution-architect.md +0 -1
- package/presets/zcode/next/agents/task-analyst.md +0 -1
- package/presets/zcode/next/agents/task-router.md +8 -7
- package/presets/zcode/next/agents/tech-writer.md +0 -1
- package/presets/zcode/next/agents/unit-test-generator.md +0 -1
- package/presets/zcode/next/agents/unit-test-healer.md +0 -1
- package/presets/zcode/next/agents/unit-test-planner.md +0 -1
- package/presets/zcode/next/commands/README.md +0 -6
- package/presets/zcode/next/hooks/chain-team-phases.sh +12 -3
- package/presets/zcode/next/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/next/rules/code-quality-and-refactoring.md +2 -6
- package/presets/zcode/next/rules/feature-delivery-workflow.md +5 -9
- package/presets/zcode/next/rules/post-change-lint.md +11 -15
- package/presets/zcode/next/rules/preset-pr-checklist.md +2 -2
- package/presets/zcode/next/skills/feature-delivery/SKILL.md +1 -1
- package/presets/zcode/next/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/zcode/next/skills/unit-testing/SKILL.md +1 -1
- package/presets/zcode/nuxt/REPO_AGENTS.md +8 -48
- package/presets/zcode/nuxt/adapter-map.json +1 -1
- package/presets/zcode/nuxt/agents/accessibility-reviewer.md +0 -1
- package/presets/zcode/nuxt/agents/api-contract-reviewer.md +0 -1
- package/presets/zcode/nuxt/agents/build-verifier.md +2 -2
- package/presets/zcode/nuxt/agents/ci-investigator.md +1 -1
- package/presets/zcode/nuxt/agents/code-reviewer.md +0 -1
- package/presets/zcode/nuxt/agents/codebase-analyzer.md +0 -1
- package/presets/zcode/nuxt/agents/debugger.md +1 -1
- package/presets/zcode/nuxt/agents/feature-developer.md +3 -3
- package/presets/zcode/nuxt/agents/migration-specialist.md +0 -1
- package/presets/zcode/nuxt/agents/mockup-reviewer.md +0 -1
- package/presets/zcode/nuxt/agents/openspec-author.md +0 -1
- package/presets/zcode/nuxt/agents/performance-auditor.md +0 -1
- package/presets/zcode/nuxt/agents/playwright-test-generator.md +0 -1
- package/presets/zcode/nuxt/agents/playwright-test-healer.md +0 -1
- package/presets/zcode/nuxt/agents/playwright-test-planner.md +0 -1
- package/presets/zcode/nuxt/agents/qa-tester.md +3 -3
- package/presets/zcode/nuxt/agents/security-reviewer.md +0 -1
- package/presets/zcode/nuxt/agents/solution-architect.md +0 -1
- package/presets/zcode/nuxt/agents/task-analyst.md +0 -1
- package/presets/zcode/nuxt/agents/task-router.md +8 -7
- package/presets/zcode/nuxt/agents/tech-writer.md +0 -1
- package/presets/zcode/nuxt/agents/unit-test-generator.md +0 -1
- package/presets/zcode/nuxt/agents/unit-test-healer.md +0 -1
- package/presets/zcode/nuxt/agents/unit-test-planner.md +0 -1
- package/presets/zcode/nuxt/hooks/chain-team-phases.sh +12 -3
- package/presets/zcode/nuxt/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/nuxt/rules/code-quality-and-refactoring.md +2 -6
- package/presets/zcode/nuxt/rules/feature-delivery-workflow.md +3 -7
- package/presets/zcode/nuxt/rules/post-change-lint.md +13 -13
- package/presets/zcode/nuxt/rules/preset-pr-checklist.md +2 -2
- package/presets/zcode/nuxt/skills/feature-delivery/SKILL.md +1 -1
- package/presets/zcode/nuxt/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/zcode/nuxt/skills/unit-testing/SKILL.md +1 -1
- package/presets/zcode/php-hexagonal/REPO_AGENTS.md +7 -47
- package/presets/zcode/php-hexagonal/adapter-map.json +1 -1
- package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +12 -3
- package/presets/zcode/php-hexagonal/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/php-hexagonal/rules/code-quality-and-refactoring.md +2 -6
- package/presets/zcode/php-hexagonal/rules/feature-delivery-workflow.md +3 -7
- package/presets/zcode/php-hexagonal/rules/preset-pr-checklist.md +2 -2
- package/presets/zcode/php-laravel/REPO_AGENTS.md +7 -47
- package/presets/zcode/php-laravel/adapter-map.json +1 -1
- package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +12 -3
- package/presets/zcode/php-laravel/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/php-laravel/rules/code-quality-and-refactoring.md +2 -6
- package/presets/zcode/php-laravel/rules/feature-delivery-workflow.md +3 -7
- package/presets/zcode/php-laravel/rules/preset-pr-checklist.md +2 -2
- package/presets/zcode/svelte/REPO_AGENTS.md +8 -48
- package/presets/zcode/svelte/adapter-map.json +1 -1
- package/presets/zcode/svelte/agents/accessibility-reviewer.md +0 -1
- package/presets/zcode/svelte/agents/api-contract-reviewer.md +0 -1
- package/presets/zcode/svelte/agents/build-verifier.md +2 -2
- package/presets/zcode/svelte/agents/ci-investigator.md +1 -1
- package/presets/zcode/svelte/agents/code-reviewer.md +0 -1
- package/presets/zcode/svelte/agents/codebase-analyzer.md +0 -1
- package/presets/zcode/svelte/agents/debugger.md +1 -1
- package/presets/zcode/svelte/agents/feature-developer.md +3 -3
- package/presets/zcode/svelte/agents/migration-specialist.md +0 -1
- package/presets/zcode/svelte/agents/mockup-reviewer.md +0 -1
- package/presets/zcode/svelte/agents/openspec-author.md +0 -1
- package/presets/zcode/svelte/agents/performance-auditor.md +0 -1
- package/presets/zcode/svelte/agents/playwright-test-generator.md +0 -1
- package/presets/zcode/svelte/agents/playwright-test-healer.md +0 -1
- package/presets/zcode/svelte/agents/playwright-test-planner.md +0 -1
- package/presets/zcode/svelte/agents/qa-tester.md +3 -3
- package/presets/zcode/svelte/agents/security-reviewer.md +0 -1
- package/presets/zcode/svelte/agents/solution-architect.md +0 -1
- package/presets/zcode/svelte/agents/task-analyst.md +0 -1
- package/presets/zcode/svelte/agents/task-router.md +8 -7
- package/presets/zcode/svelte/agents/tech-writer.md +0 -1
- package/presets/zcode/svelte/agents/unit-test-generator.md +0 -1
- package/presets/zcode/svelte/agents/unit-test-healer.md +0 -1
- package/presets/zcode/svelte/agents/unit-test-planner.md +0 -1
- package/presets/zcode/svelte/hooks/chain-team-phases.sh +12 -3
- package/presets/zcode/svelte/rules/agent-team-orchestrator.md +5 -5
- package/presets/zcode/svelte/rules/code-quality-and-refactoring.md +2 -6
- package/presets/zcode/svelte/rules/feature-delivery-workflow.md +3 -7
- package/presets/zcode/svelte/rules/post-change-lint.md +13 -13
- package/presets/zcode/svelte/rules/preset-pr-checklist.md +2 -2
- package/presets/zcode/svelte/skills/feature-delivery/SKILL.md +1 -1
- package/presets/zcode/svelte/skills/playwright-e2e/SKILL.md +1 -1
- package/presets/zcode/svelte/skills/unit-testing/SKILL.md +1 -1
- package/presets/_shared/ai-local/scripts/team-db-dashboard.mjs +0 -2103
- package/presets/_shared/ai-local/scripts/team-db-ui.mjs +0 -750
- package/presets/claude/next/commands/ui-start.md +0 -78
- package/presets/claude/next/commands/ui-stop.md +0 -71
- package/presets/cursor/next/commands/ui-start.md +0 -78
- package/presets/cursor/next/commands/ui-stop.md +0 -71
- package/presets/mavis/next/commands/ui-start.md +0 -73
- package/presets/mavis/next/commands/ui-stop.md +0 -66
- package/presets/opencode/next/commands/ui-start.md +0 -81
- package/presets/opencode/next/commands/ui-stop.md +0 -74
- package/presets/zcode/next/commands/ui-start.md +0 -81
- package/presets/zcode/next/commands/ui-stop.md +0 -74
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Plugin, usePlugin } from "@opencode/plugin/tui"
|
|
2
|
+
import { sessionEconomy } from "./economy.ts"
|
|
2
3
|
import { clearPause, createTaskWatcher, engagePause, logTaskDebug } from "./task-view.ts"
|
|
3
4
|
import { TaskDetails } from "./details.tsx"
|
|
4
5
|
import type { TaskStore, TaskTone } from "./task-view.ts"
|
|
@@ -74,6 +75,7 @@ const TaskSidebar = () => {
|
|
|
74
75
|
const content = () => {
|
|
75
76
|
const view = taskStore.view
|
|
76
77
|
if (view === undefined) return null
|
|
78
|
+
const economy = taskStore.economy ?? sessionEconomy("", [])
|
|
77
79
|
return (
|
|
78
80
|
<box flexDirection="column">
|
|
79
81
|
<box flexDirection="row" gap={1} justifyContent="space-between">
|
|
@@ -84,11 +86,11 @@ const TaskSidebar = () => {
|
|
|
84
86
|
</text>
|
|
85
87
|
{panel.open || view === null ? null : <text fg={theme.text.muted}>({view.summary})</text>}
|
|
86
88
|
</box>
|
|
87
|
-
{view.stoppable ? (
|
|
89
|
+
{view !== null && view.stoppable ? (
|
|
88
90
|
<box paddingLeft={1} onMouseUp={() => void confirmStop()}>
|
|
89
91
|
<text fg={theme.text.feedback.error.base}>■ stop</text>
|
|
90
92
|
</box>
|
|
91
|
-
) : view.resumable ? (
|
|
93
|
+
) : view !== null && view.resumable ? (
|
|
92
94
|
<box paddingLeft={1} onMouseUp={() => void confirmResume()}>
|
|
93
95
|
<text fg={theme.text.feedback.success.base}>▶ resume</text>
|
|
94
96
|
</box>
|
|
@@ -119,6 +121,16 @@ const TaskSidebar = () => {
|
|
|
119
121
|
)}
|
|
120
122
|
</box>
|
|
121
123
|
) : null}
|
|
124
|
+
<box flexDirection="column">
|
|
125
|
+
<text fg={theme.text.muted}>{economy.headline}</text>
|
|
126
|
+
<text fg={theme.text.base} wrapMode="none">
|
|
127
|
+
{economy.withoutLine}
|
|
128
|
+
</text>
|
|
129
|
+
<text fg={theme.text.base} wrapMode="none">
|
|
130
|
+
{economy.withLine}
|
|
131
|
+
</text>
|
|
132
|
+
<text fg={theme.text.muted}>{economy.tokenLine}</text>
|
|
133
|
+
</box>
|
|
122
134
|
</box>
|
|
123
135
|
)
|
|
124
136
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { SessionEconomy } from "./economy.ts"
|
|
2
|
+
|
|
1
3
|
export type TaskTone = "success" | "warning" | "error" | "muted"
|
|
2
4
|
|
|
3
5
|
export type TaskField = { label: string; value: string; tone?: TaskTone }
|
|
@@ -16,7 +18,7 @@ export type TaskView = {
|
|
|
16
18
|
offline?: boolean
|
|
17
19
|
}
|
|
18
20
|
|
|
19
|
-
export type TaskStore = { view: TaskView | null | undefined }
|
|
21
|
+
export type TaskStore = { view: TaskView | null | undefined; economy?: SessionEconomy }
|
|
20
22
|
|
|
21
23
|
export type Attempt = {
|
|
22
24
|
agent?: string
|
|
@@ -12,13 +12,7 @@ Root `AGENTS.md` is native always-on. Read it first, then this file.
|
|
|
12
12
|
- Other rules: lazy `Read` `.opencode/rules/<stem>.md` when the task matches.
|
|
13
13
|
- Agents: native `@name` / Task from `.opencode/agents/`.
|
|
14
14
|
- Commands: native `/task` from `.opencode/commands/`.
|
|
15
|
-
- After a producer receipt, run the chain by hand (`projectHooks` is `manual
|
|
16
|
-
`printf '%s\n' '{"status":"completed"}' | TEAM_TASK_SLUG=<slug> bash .opencode/hooks/chain-team-phases.sh`.
|
|
17
|
-
Slash commands are native (`/task` from `.opencode/commands/`). Do not assume `SubagentStop` auto-chain.
|
|
18
|
-
Agents must not write lifecycle fields in `status.json` / `metrics.json`.
|
|
19
|
-
- **TUI plugin.** `.opencode/plugins/task-status/` ships a TUI sidebar for the
|
|
20
|
-
active `/task` run. OpenCode auto-loads it; it does not chain phases or write
|
|
21
|
-
lifecycle files. OpenCode Desktop does not render TUI plugins.
|
|
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`.
|
|
22
16
|
|
|
23
17
|
## Essential rules (read every turn)
|
|
24
18
|
|
|
@@ -34,29 +28,6 @@ Guide: `docs/LOCAL-OVERLAY.md`. These essential rules are a prompt contract.
|
|
|
34
28
|
|
|
35
29
|
See `.opencode/rules/README.md` for the full catalog and loading strategy.
|
|
36
30
|
|
|
37
|
-
## Harness wiring
|
|
38
|
-
|
|
39
|
-
- `opencode.json` carries a compact `instructions` list (always-on rule
|
|
40
|
-
paths + `.opencode/AGENTS.md`) and a `permission.bash` map. OpenCode
|
|
41
|
-
resolves `bash` rules by pattern match, last match wins, so the
|
|
42
|
-
catch-all `"*": "allow"` stays first and the `git commit` / `git push`
|
|
43
|
-
`deny` rows after it bind. An explicit `deny` is enforced rather than
|
|
44
|
-
prompted, so `--auto` / auto-approve does not turn it into an approval.
|
|
45
|
-
**This is not a hard boundary.** An agent-level `permission` block overrides
|
|
46
|
-
the global map, a command whose parsed form does not match the pattern is not
|
|
47
|
-
covered, and a user editing their own `opencode.json` can widen it.
|
|
48
|
-
`commit-hygiene` plus the human commit step is the control; the config deny
|
|
49
|
-
is defence in depth.
|
|
50
|
-
On re-init, `mergeOpencodeConfig` unions preset instruction paths, fills
|
|
51
|
-
missing `permission.bash` keys, and re-applies the universal `git commit` /
|
|
52
|
-
`git push` `deny` rows even against a same-key consumer row. Unrelated
|
|
53
|
-
consumer keys and extra instruction paths stay.
|
|
54
|
-
- **Subagent rules** are re-declared inside every `.opencode/agents/*.md`
|
|
55
|
-
via the `## Rules to load (subagent context)` block (always-on + zone
|
|
56
|
-
rules filtered to stems that exist for this stack). `Task`-launched
|
|
57
|
-
subagents do not inherit the parent's `instructions`, so this block
|
|
58
|
-
is the authoritative mechanism.
|
|
59
|
-
|
|
60
31
|
**Platform docs:** published with the `@bonesofspring/ai-rules` package
|
|
61
32
|
(`docs/OPENCODE.md`, `docs/OPENCODE-COMPATIBILITY.md`) — **not** copied into
|
|
62
33
|
the consumer repo. Source: https://github.com/bonesofspring/ai-rules
|
|
@@ -70,13 +41,10 @@ the consumer repo. Source: https://github.com/bonesofspring/ai-rules
|
|
|
70
41
|
| Any new work task | `/task` → `commands/task.md` + `agent-team-orchestrator.md` (+ `agent-team-intake.md` on-demand) |
|
|
71
42
|
| New end-to-end feature | skill `feature-delivery` + `feature-delivery-workflow.md` |
|
|
72
43
|
| Stack and layers | `svelte-app-core.md` |
|
|
73
|
-
|
|
|
74
|
-
| After code edits | `post-change-lint.md` (**requestable**, but required after edits; full gate — `build-verifier`) |
|
|
44
|
+
| At implementation closure | `post-change-lint.md` (**requestable**; `build-verifier` owns the one full run; do not run it after each edit) |
|
|
75
45
|
| Code review MR | skill `code-review` + `code-review-mr.md` |
|
|
76
46
|
| Security (auth/forms/env) | `security-sveltekit.md` + agent `security-reviewer` |
|
|
77
|
-
| Validation before review | agent `build-verifier` |
|
|
78
47
|
| Technical retro | `/technical-retro` + skill `technical-retro` |
|
|
79
|
-
| Update installed presets | `/update` |
|
|
80
48
|
|
|
81
49
|
## When to use `/task`
|
|
82
50
|
|
|
@@ -87,14 +55,3 @@ the consumer repo. Source: https://github.com/bonesofspring/ai-rules
|
|
|
87
55
|
## Pipeline routing
|
|
88
56
|
|
|
89
57
|
Intent detection, profiles (`full` / `standard` / `light`), and default steps — **only** in `agents/task-router.md`. Schema and examples — `agents/README.md`.
|
|
90
|
-
|
|
91
|
-
## Install
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
npx @bonesofspring/ai-rules init opencode --preset svelte
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
Copies rules, commands, agents, hooks, skills, `OPENCODE.md` →
|
|
98
|
-
`.opencode/AGENTS.md`, `MCP.md`, `opencode.json` → project `opencode.json`
|
|
99
|
-
(`mcp` merge, instruction-path union, missing bash keys), plus
|
|
100
|
-
`REPO_AGENTS.md` → root `AGENTS.md`. Seeds `.ai.local/team/`.
|
|
@@ -5,33 +5,14 @@ Cross-tool repo-root guide. Tool-specific maps stay under `.cursor/AGENTS.md`, `
|
|
|
5
5
|
## Cross-tool setup
|
|
6
6
|
|
|
7
7
|
- Treat this file as the **shared** entry for any agent (Cursor, Claude Code, Mavis, OpenCode, ZCode, or other).
|
|
8
|
-
-
|
|
9
|
-
- Tool maps
|
|
10
|
-
- **Language.** On every user message,
|
|
11
|
-
- Install:
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npx @bonesofspring/ai-rules init multi --preset svelte
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Refresh tools already installed in this repository, keeping each recorded preset (`/update` runs the same command):
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
npx @bonesofspring/ai-rules update
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Per-tool: `init cursor|claude|mavis|opencode|zcode --preset svelte`. `init` overwrites this file from the preset (`REPO_AGENTS.md` → `AGENTS.md`). `clean` of one tool leaves this file if another tool install remains. Living gotchas belong in `.ai.local/conventions.md`, not here.
|
|
8
|
+
- Every installed platform ships **the same** root file; `init` overwrites it from the preset (`REPO_AGENTS.md` → `AGENTS.md`). `clean` of one tool leaves it while another install remains.
|
|
9
|
+
- Tool maps — agent team, slash commands, always-on rules — live in `.cursor/AGENTS.md`, `.claude/CLAUDE.md`, `.mavis/AGENTS.md`, `.opencode/AGENTS.md`. ZCode loads this file natively and has no per-tool map. Read the map for the tool you run in; do not read another installed tool's tree.
|
|
10
|
+
- **Language.** On every user message, resolve the dialogue language and answer in the user's **native language**: a `language:` stored for an active task, else `## Language` in the nearest `.ai.local/conventions.md`, else the prompt language, else English. Development, reasoning, and artifacts stay **English** (see `language-policy`).
|
|
11
|
+
- Install / refresh: `npx @bonesofspring/ai-rules init multi --preset svelte` (`/update` runs `init update`); MCP catalog: `init mcp`.
|
|
24
12
|
|
|
25
13
|
## Presence-based load
|
|
26
14
|
|
|
27
|
-
Read the map and the essential rules for the tool you are running in. Do not preload the full catalog. Do not read
|
|
28
|
-
|
|
29
|
-
- Cursor host: `.cursor/AGENTS.md`. Always-on rules are already injected.
|
|
30
|
-
- Claude Code host: `.claude/CLAUDE.md`. Session-start rules are already injected.
|
|
31
|
-
- Mavis host: read `.mavis/AGENTS.md`, then `.mavis/rules/svelte-app-core.md`, `.mavis/rules/package-manager.md`, `.mavis/rules/code-quality-and-refactoring.md`, `.mavis/rules/ai-local-overlay.md`.
|
|
32
|
-
- OpenCode host: read `.opencode/AGENTS.md`, then `.opencode/rules/svelte-app-core.md`, `.opencode/rules/package-manager.md`, `.opencode/rules/code-quality-and-refactoring.md`, `.opencode/rules/ai-local-overlay.md`.
|
|
33
|
-
|
|
34
|
-
Mavis has no native rule discovery without those root paths. OpenCode has no `alwaysApply` engine — those root-entry files are its always-on set.
|
|
15
|
+
Read the map and the essential rules for the tool you are running in; that map lists them. Do not preload the full catalog. Do not read another installed tool's tree — its copies of the same rules belong to that host.
|
|
35
16
|
|
|
36
17
|
## Pipelines are shared
|
|
37
18
|
|
|
@@ -53,7 +34,7 @@ Working directory for package scripts: **SvelteKit project root** (directory wit
|
|
|
53
34
|
| Unit tests | project unit script (often Vitest) at Kit root |
|
|
54
35
|
| Build | project `build` / `vite build` at Kit root |
|
|
55
36
|
|
|
56
|
-
|
|
37
|
+
Gates run **once at implementation closure**, after the last authoring step: `build-verifier` owns the full lint/typecheck/test run. Do not run project gates after each edit; the developer authors code and tests only. See `post-change-lint`.
|
|
57
38
|
|
|
58
39
|
## Preset version
|
|
59
40
|
|
|
@@ -69,33 +50,12 @@ Empty output or a failed run stays silent.
|
|
|
69
50
|
- Review destructive git (`reset --hard`, force-push) before running; respect shell hooks.
|
|
70
51
|
- Do not weaken CI or skip hooks unless the user explicitly asks.
|
|
71
52
|
|
|
72
|
-
## Tool entry points
|
|
73
|
-
|
|
74
|
-
| Tool | Map |
|
|
75
|
-
|------|-----|
|
|
76
|
-
| Cursor | `.cursor/AGENTS.md` (optional if Cursor not installed) |
|
|
77
|
-
| Claude Code | `.claude/CLAUDE.md` (optional if Claude not installed) |
|
|
78
|
-
| Mavis | `.mavis/AGENTS.md` (optional if Mavis not installed) |
|
|
79
|
-
| OpenCode | `.opencode/AGENTS.md` (optional if OpenCode not installed) |
|
|
80
|
-
| ZCode | this file — loaded natively, no per-tool copy |
|
|
81
|
-
|
|
82
|
-
Rules: `.cursor/rules/`, `.claude/rules/`, `.mavis/rules/`, `.opencode/rules/`, or `.zcode/rules/`.
|
|
83
|
-
Skills: `.cursor/skills/`, `.claude/skills/`, `.mavis/skills/`, `.opencode/skills/`, or `.zcode/skills/`.
|
|
84
|
-
|
|
85
|
-
## ZCode host
|
|
86
|
-
|
|
87
|
-
ZCode loads this file natively and has no per-tool map: this file is the entry. Read the essential rules under `.zcode/rules/` (plain Markdown) when the task scope matches their subject, and use the agents in `.zcode/agents/`, commands in `.zcode/commands/`, and skills in `.zcode/skills/` as the pipeline directs.
|
|
88
|
-
On the first reply of a session, run `node .zcode/hooks/check-preset-update.mjs` when it exists; the notice rules above apply.
|
|
89
|
-
On every turn, run `node .zcode/hooks/list-ai-local.mjs` with the paths this step will touch, apply the printed `.ai.local/rules/*.md` and `.ai.local/conventions.md`, and acknowledge `Using .ai.local: <rule-name>`. Authoring guide: `docs/LOCAL-OVERLAY.md` in the `@bonesofspring/ai-rules` package.
|
|
90
|
-
|
|
91
53
|
## Living conventions
|
|
92
54
|
|
|
93
55
|
Gotchas, local patterns, and team decisions: **`.ai.local/conventions.md`** (fill after init; `init` does not overwrite it).
|
|
94
56
|
|
|
95
57
|
## Local overlay (`.ai.local/`) — MANDATORY
|
|
96
58
|
|
|
97
|
-
A `.ai.local/` directory MAY exist at the repo root or at any nesting depth in monorepos. **
|
|
98
|
-
|
|
99
|
-
Plain markdown rules under `.ai.local/rules/*.md` are read by the agent with higher priority than preset rules. Living gotchas live in `.ai.local/conventions.md`.
|
|
59
|
+
A `.ai.local/` directory MAY exist at the repo root or at any nesting depth in monorepos. **Every agent MUST read and apply it on every turn.** Rules there override preset rules; `override: kill <preset-rule-name>` drops that preset rule from context entirely.
|
|
100
60
|
|
|
101
|
-
On every turn, run `list-ai-local.mjs` from the host hooks directory (`.cursor`, `.claude`, `.mavis`, `.opencode`, or `.zcode`) with the paths this step will touch, apply the printed `.ai.local/rules/*.md` and `.ai.local/conventions.md
|
|
61
|
+
On every turn, run `list-ai-local.mjs` from the host hooks directory (`.cursor`, `.claude`, `.mavis`, `.opencode`, or `.zcode`) with the paths this step will touch, then apply the printed `.ai.local/rules/*.md` and `.ai.local/conventions.md`. The root overlay applies to every path; a nested one applies only under its directory. Do not read `shadowed` files or `rules-library/**` as rules. Acknowledge `Using .ai.local: <rule-name>` when answering. Authoring guide: `docs/LOCAL-OVERLAY.md`.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "svelte",
|
|
5
5
|
"semanticSource": "cursor/svelte",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "5abc81e9f017c1fc9a379118d4dda448d4cde66e7fe2d088be6a0938b246a8bf",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
|
|
29
28
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
- `.opencode/rules/api-services.md`
|
|
29
28
|
- `.opencode/rules/http-client.md`
|
|
@@ -23,8 +23,8 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
27
|
+
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
28
28
|
|
|
29
29
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
30
30
|
|
|
@@ -35,7 +35,7 @@ Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool be
|
|
|
35
35
|
|
|
36
36
|
You are a build verification specialist. You **validate** implementation quality before code review — you do not edit production code or tests.
|
|
37
37
|
|
|
38
|
-
**SSOT for full validation in pipeline:** run complete **`lint:js`**, **`lint:css`**, and **`check`** from SvelteKit project root (svelte.config.*)
|
|
38
|
+
**Closure gate (SSOT for full validation in pipeline):** run complete **`lint:js`**, **`lint:css`**, and **`check`** from SvelteKit project root (svelte.config.*) **once**, after the last authoring step. The developer does not run project gates; do not expect a green baseline.
|
|
39
39
|
|
|
40
40
|
## Inputs
|
|
41
41
|
|
|
@@ -19,7 +19,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
19
19
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
20
20
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
21
21
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
22
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
23
22
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
24
23
|
- `.opencode/rules/public-imports.md` — @/types, @/api barrels
|
|
25
24
|
- `.opencode/rules/svelte-ui.md`
|
|
@@ -38,6 +37,7 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
38
37
|
- `.opencode/rules/svelte-script-conventions.md`
|
|
39
38
|
- `.opencode/rules/api-services.md`
|
|
40
39
|
- `.opencode/rules/http-client.md`
|
|
40
|
+
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
41
41
|
|
|
42
42
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
43
43
|
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
- `.opencode/rules/code-review-mr.md`
|
|
29
28
|
- `.opencode/rules/svelte-sveltekit-anti-hallucination.md` — SvelteKit phantom import banlist
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
|
|
29
28
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
@@ -19,7 +19,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
19
19
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
20
20
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
21
21
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
22
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
23
22
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
24
23
|
- `.opencode/rules/public-imports.md` — @/types, @/api barrels
|
|
25
24
|
- `.opencode/rules/svelte-ui.md`
|
|
@@ -38,6 +37,7 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
38
37
|
- `.opencode/rules/svelte-script-conventions.md`
|
|
39
38
|
- `.opencode/rules/api-services.md`
|
|
40
39
|
- `.opencode/rules/http-client.md`
|
|
40
|
+
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
41
41
|
|
|
42
42
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
43
43
|
|
|
@@ -19,7 +19,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
19
19
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
20
20
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
21
21
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
22
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
23
22
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
24
23
|
- `.opencode/rules/public-imports.md` — @/types, @/api barrels
|
|
25
24
|
- `.opencode/rules/svelte-ui.md`
|
|
@@ -38,6 +37,7 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
38
37
|
- `.opencode/rules/svelte-script-conventions.md`
|
|
39
38
|
- `.opencode/rules/api-services.md`
|
|
40
39
|
- `.opencode/rules/http-client.md`
|
|
40
|
+
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
41
41
|
|
|
42
42
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
43
43
|
|
|
@@ -60,9 +60,9 @@ You are a senior frontend developer working in a SvelteKit monorepo with strict
|
|
|
60
60
|
## Task execution rules
|
|
61
61
|
|
|
62
62
|
- Do **not** start blocked tasks or tasks with incomplete dependencies.
|
|
63
|
-
- **Unit tests must
|
|
63
|
+
- **Unit tests must be authored before handoff** for mappers, store logic, and non-trivial pure functions. Do not execute the project test suite; the closure gate runs it.
|
|
64
64
|
- Mark completed tasks in `decomposition.md`.
|
|
65
|
-
- Validation: **`post-change-lint.md
|
|
65
|
+
- Validation: **`post-change-lint.md`** is the closure gate. Do **not** run project lint/check/test/build in this step; hand off with the diff and authored specs. `build-verifier` owns the full run.
|
|
66
66
|
|
|
67
67
|
## Zero improvisation
|
|
68
68
|
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
|
|
29
28
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
|
|
29
28
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
@@ -24,7 +24,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
24
24
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
25
25
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
26
26
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
27
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
28
27
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
29
28
|
|
|
30
29
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
|
|
29
28
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
@@ -19,7 +19,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
19
19
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
20
20
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
21
21
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
22
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
23
22
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
24
23
|
- `.opencode/rules/playwright-agents.md`
|
|
25
24
|
- `.opencode/rules/tests-e2e-structure.md`
|
|
@@ -19,7 +19,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
19
19
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
20
20
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
21
21
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
22
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
23
22
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
24
23
|
- `.opencode/rules/playwright-agents.md`
|
|
25
24
|
- `.opencode/rules/tests-e2e-structure.md`
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
- `.opencode/rules/playwright-agents.md`
|
|
29
28
|
- `.opencode/rules/tests-e2e-structure.md`
|
|
@@ -19,7 +19,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
19
19
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
20
20
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
21
21
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
22
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
23
22
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
24
23
|
- `.opencode/rules/tests-unit.md`
|
|
25
24
|
- `.opencode/rules/playwright-agents.md`
|
|
@@ -62,8 +61,9 @@ When the task is mostly e2e, prefer invoking the dedicated `playwright-test-plan
|
|
|
62
61
|
|
|
63
62
|
## Execution
|
|
64
63
|
|
|
65
|
-
-
|
|
66
|
-
-
|
|
64
|
+
- Author the unit and e2e specs; do **not** run the project gate suite. `build-verifier` executes the affected specs at closure.
|
|
65
|
+
- For a `test-only`, `unit-only`, or `e2e-only` intent, run the targeted spec being authored or healed; that is the test-authoring exception, not a project gate.
|
|
66
|
+
- Do not re-run a unit suite already recorded green in `validation-report.md`; the closure step owns it.
|
|
67
67
|
|
|
68
68
|
## Artifact contract
|
|
69
69
|
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
|
|
29
28
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
|
|
29
28
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
|
|
29
28
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
|
|
29
28
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
@@ -45,12 +44,12 @@ You are a task router for a SvelteKit frontend agent team. You **do not** implem
|
|
|
45
44
|
|
|
46
45
|
| intent | Signals in prompt | Default steps |
|
|
47
46
|
|--------|-------------------|---------------|
|
|
48
|
-
| `feature` | “add”, “new”, “implement”, “build”, new UI/API/store | task-analyst → feature-developer (unit
|
|
49
|
-
| `bugfix` | “bug”, “fix”, “broken”, “crash”, “error”, regression | debugger → feature-developer (skipIf debugger.fixed) →
|
|
50
|
-
| `ci-fix` | “CI”, “pipeline failed”, “red PR”, “failing check”, “lint in CI” | ci-investigator → feature-developer (skipIf ci-investigator.resolved) → build-verifier → code-reviewer |
|
|
51
|
-
| `migration` | “migration”, “upgrade”, “update SvelteKit”, “move to”, major version | task-analyst → migration-specialist → feature-developer →
|
|
47
|
+
| `feature` | “add”, “new”, “implement”, “build”, new UI/API/store | task-analyst → feature-developer (unit authored) → qa-tester (e2e authored; skip when no e2e AC) → build-verifier (closure) → code-reviewer |
|
|
48
|
+
| `bugfix` | “bug”, “fix”, “broken”, “crash”, “error”, regression | debugger → feature-developer (skipIf debugger.fixed) → qa-tester (regression authored) → build-verifier (closure) → code-reviewer |
|
|
49
|
+
| `ci-fix` | “CI”, “pipeline failed”, “red PR”, “failing check”, “lint in CI” | ci-investigator → feature-developer (skipIf ci-investigator.resolved) → build-verifier (closure) → code-reviewer |
|
|
50
|
+
| `migration` | “migration”, “upgrade”, “update SvelteKit”, “move to”, major version | task-analyst → migration-specialist → feature-developer → qa-tester (regression authored) → build-verifier (closure) → code-reviewer |
|
|
52
51
|
| `perf-audit` | “performance”, “perf”, “bundle”, “LCP”, “slow”, “waterfall” | performance-auditor |
|
|
53
|
-
| `a11y` | “a11y”, “accessibility”, “WCAG”, “screen reader”, “keyboard” | task-analyst → feature-developer →
|
|
52
|
+
| `a11y` | “a11y”, “accessibility”, “WCAG”, “screen reader”, “keyboard” | task-analyst → feature-developer → accessibility-reviewer → qa-tester (e2e authored, if AC) → build-verifier (closure) → code-reviewer |
|
|
54
53
|
| `mockup-review` | «ревью макета» (mockup review), «mockup review», «проверь Figma» (check Figma), «figma review», «макет» (mockup) + review verb, `figma.com` + review-not-implement | mockup-reviewer | <!-- i18n-keep: E4 -->
|
|
55
54
|
| `ux-design` | «разработай UX» (design UX), «спроектируй» (design/plan) flows, «journey», «IA», «state matrix», «ревью UX» (UX review) without Figma | task-analyst | <!-- i18n-keep: E4 -->
|
|
56
55
|
| `review-only` | “review”, “review MR”, “check diff”, “code review” | code-reviewer |
|
|
@@ -69,10 +68,12 @@ Set optional top-level `"profile": "full" | "standard" | "light"` in `pipeline.j
|
|
|
69
68
|
|
|
70
69
|
| Profile | When | Typical `feature` steps |
|
|
71
70
|
|---------|------|------------------------|
|
|
72
|
-
| `full` | Multi-layer, new public API, e2e coverage needed, incomplete AC | analyst → [architect] → developer → build-verifier → reviewer
|
|
71
|
+
| `full` | Multi-layer, new public API, e2e coverage needed, incomplete AC | analyst → [architect] → developer → qa-tester → build-verifier → reviewer |
|
|
73
72
|
| `standard` | Single layer, default work | analyst → developer → build-verifier → reviewer |
|
|
74
73
|
| `light` | Trivial: one file/layer, explicit AC, “just fix it”, “typo”, user “no pipeline” | developer → build-verifier |
|
|
75
74
|
|
|
75
|
+
**Closure order:** the last authoring step (`feature-developer`, `qa-tester`, a test generator) is always followed by exactly one `build-verifier`; `code-reviewer` reviews the validated tree. A review fix re-enters the delta verifier before the reviewer sees it again.
|
|
76
|
+
|
|
76
77
|
**Light signals:** one file, one layer, explicit AC in the prompt, no architecture risk. **Never skip `build-verifier`** after developer when app sources changed. **Skip `code-reviewer`** in light only for non-prod preset/docs tasks — for `routes/components/stores` changes prefer standard.
|
|
77
78
|
|
|
78
79
|
## Task class (spike / bounded / architectural)
|
|
@@ -29,7 +29,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
29
29
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
30
30
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
31
31
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
32
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
33
32
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
34
33
|
|
|
35
34
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
@@ -19,7 +19,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
19
19
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
20
20
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
21
21
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
22
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
23
22
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
24
23
|
- `.opencode/rules/tests-unit.md`
|
|
25
24
|
- `.opencode/rules/svelte-sveltekit-anti-hallucination.md` — SvelteKit phantom import banlist
|
|
@@ -19,7 +19,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
19
19
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
20
20
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
21
21
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
22
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
23
22
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
24
23
|
- `.opencode/rules/tests-unit.md`
|
|
25
24
|
- `.opencode/rules/svelte-sveltekit-anti-hallucination.md` — SvelteKit phantom import banlist
|
|
@@ -23,7 +23,6 @@ This subagent does **not** inherit `opencode.json` `instructions`. Read these ru
|
|
|
23
23
|
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
24
|
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
25
|
- `.opencode/rules/anti-hallucination-contract.md` — do not invent signatures, imports, schemas, or evidence
|
|
26
|
-
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
27
26
|
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
28
27
|
- `.opencode/rules/tests-unit.md`
|
|
29
28
|
- `.opencode/rules/svelte-sveltekit-anti-hallucination.md` — SvelteKit phantom import banlist
|
|
@@ -2650,7 +2650,16 @@ if (status.state === 'changes_requested') {
|
|
|
2650
2650
|
process.stdout.write('{}');
|
|
2651
2651
|
process.exit(0);
|
|
2652
2652
|
}
|
|
2653
|
-
const
|
|
2653
|
+
const reviewerStepIndex = typeof status.pipelineIndex === 'number' ? status.pipelineIndex : 0;
|
|
2654
|
+
let verifierStepIndex = -1;
|
|
2655
|
+
for (let index = reviewerStepIndex - 1; index >= 0; index -= 1) {
|
|
2656
|
+
if (getStepAgents(steps[index]).includes('build-verifier')) {
|
|
2657
|
+
verifierStepIndex = index;
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
}
|
|
2661
|
+
const retryGate = verifierStepIndex >= 0 ? 'build-verifier' : reviewer;
|
|
2662
|
+
const retryAfterFixStepIndex = verifierStepIndex >= 0 ? verifierStepIndex : reviewerStepIndex;
|
|
2654
2663
|
const developerIndex = scheduleRetry('feature-developer', reviewer, finishedAttempt);
|
|
2655
2664
|
if (developerIndex < 0) {
|
|
2656
2665
|
beginHumanGate();
|
|
@@ -2663,10 +2672,10 @@ if (status.state === 'changes_requested') {
|
|
|
2663
2672
|
currentAgent: 'feature-developer',
|
|
2664
2673
|
state: 'in_progress',
|
|
2665
2674
|
phase: 'executing',
|
|
2666
|
-
retryAfterFix:
|
|
2675
|
+
retryAfterFix: retryGate,
|
|
2667
2676
|
retryAfterFixStepIndex,
|
|
2668
2677
|
});
|
|
2669
|
-
out(handoffForAgent('feature-developer', steps[developerIndex]?.scope, steps[developerIndex]) + ` After fixes, re-run ${
|
|
2678
|
+
out(handoffForAgent('feature-developer', steps[developerIndex]?.scope, steps[developerIndex]) + ` After fixes, re-run ${retryGate}.`);
|
|
2670
2679
|
process.exit(0);
|
|
2671
2680
|
}
|
|
2672
2681
|
|