@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,78 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ui-start
|
|
3
|
-
description: Start the shipped team-db dashboard in the background on loopback and print its URL.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Start the dashboard
|
|
7
|
-
|
|
8
|
-
Start the operator dashboard the `@bonesofspring/ai-rules` package already ships. There is no
|
|
9
|
-
Docker, no image, and no build step: the seeded engine serves the page from memory on loopback.
|
|
10
|
-
|
|
11
|
-
## What to do
|
|
12
|
-
|
|
13
|
-
1. From the repository root, run:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
node .ai.local/scripts/team-db.mjs ui start
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
2. Relay the printed URL and the `scheduler:` line in the user's native language. The timer is a
|
|
20
|
-
separate foreground process: `ui start` reports its state and never starts it.
|
|
21
|
-
3. `start` is probe-first and idempotent: when this repository's server already answers on the
|
|
22
|
-
target, it prints `already running` with the same pid, leaves the marker untouched, and starts
|
|
23
|
-
nothing. It writes only the ownership marker, plus at most one bounded `sync` when the
|
|
24
|
-
projection is missing — no `migrate-tasks`, no `team/runner.json`. Use `ui restart` when the
|
|
25
|
-
intent is to replace a running server.
|
|
26
|
-
4. `--open` opens the dashboard after the health probe. `--port <n>` requests a port (`0` picks a
|
|
27
|
-
free one); `--host` accepts a loopback address only.
|
|
28
|
-
5. Any non-zero exit: quote stderr and stop.
|
|
29
|
-
|
|
30
|
-
## The four verbs
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
node .ai.local/scripts/team-db.mjs ui start [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
34
|
-
node .ai.local/scripts/team-db.mjs ui status [--json]
|
|
35
|
-
node .ai.local/scripts/team-db.mjs ui stop [--json]
|
|
36
|
-
node .ai.local/scripts/team-db.mjs ui restart [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
The bind address defaults to `127.0.0.1`. A non-loopback `--host` and `--allow-remote` are usage
|
|
40
|
-
errors: this verb never exposes the dashboard to the network.
|
|
41
|
-
|
|
42
|
-
Exit codes: `0` started, or already running; `1` a refusal (`E_UI_*`, including a leader that
|
|
43
|
-
survived the stop signal and keeps its marker); `2` a start failure; `3` usage.
|
|
44
|
-
|
|
45
|
-
## Ownership
|
|
46
|
-
|
|
47
|
-
The start writes `.ai.local/.ui/api.json` with the pid, the loopback address, the `rootId`, and the
|
|
48
|
-
start time. Ownership is the live pid **and** a matching `team-db.mjs serve` command line — the
|
|
49
|
-
marker alone never authorizes a signal. `ui stop` sends `SIGTERM` to that one pid, waits at most
|
|
50
|
-
five seconds, then `SIGKILL`s it. A different `rootId` is refused with `E_UI_OTHER_ROOT`.
|
|
51
|
-
|
|
52
|
-
The verb is POSIX only: the ownership proof reads `ps`, so on Windows no signal is ever sent and a
|
|
53
|
-
foreground `serve` is the supported path. `AI_RULES_TEAM_DB_ROOT` names the team root when `--root`
|
|
54
|
-
is absent, exactly as it does for the other `team-db.mjs` verbs.
|
|
55
|
-
|
|
56
|
-
## Upgrade path
|
|
57
|
-
|
|
58
|
-
`ai-rules update --fix` is the way to get this verb into a tree that was installed before it
|
|
59
|
-
existed. A plain `update` refreshes the command files but leaves an existing engine module alone,
|
|
60
|
-
so a stale `team-db.mjs` answers `ui` with exit 3; `--fix` rewrites a module whose bytes still match
|
|
61
|
-
the recorded template base.
|
|
62
|
-
|
|
63
|
-
## Forked engine
|
|
64
|
-
|
|
65
|
-
A fork whose engine predates the verb falls back to the foreground server:
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
node .ai.local/scripts/team-db.mjs serve
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
## Do not
|
|
72
|
-
|
|
73
|
-
- Pass `--allow-remote` or a non-loopback `--host`.
|
|
74
|
-
- Start `team-db.mjs schedule` from this command. The timer has its own lease and refuses a second
|
|
75
|
-
instance.
|
|
76
|
-
- Kill a process by port or by `pkill`; use `ui stop`.
|
|
77
|
-
- Write `status.json`, `metrics.json`, or any lifecycle field. `ui` writes the marker only, plus at
|
|
78
|
-
most one bounded `sync` on the missing-projection repair.
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ui-stop
|
|
3
|
-
description: Stop the dashboard server this repository started and clear its ownership marker.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Stop the dashboard
|
|
7
|
-
|
|
8
|
-
Stop the server recorded in `.ai.local/.ui/api.json`. No Docker, no image, and no build step is
|
|
9
|
-
involved; the marker names the one process this repository started.
|
|
10
|
-
|
|
11
|
-
## What to do
|
|
12
|
-
|
|
13
|
-
1. From the repository root, run:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
node .ai.local/scripts/team-db.mjs ui stop
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
2. Report the outcome in the user's native language:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
node .ai.local/scripts/team-db.mjs ui status --json # inspect before and after
|
|
23
|
-
node .ai.local/scripts/team-db.mjs ui restart # stop, then start again
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
3. A second stop is a no-op: `nothing running` with exit 0. Do not hunt for a leftover process.
|
|
27
|
-
4. A live pid whose command line is not `team-db.mjs serve` is left running with its marker
|
|
28
|
-
intact, and the command says so. Relay that line; never kill that pid by hand.
|
|
29
|
-
5. Any non-zero exit: quote stderr and stop.
|
|
30
|
-
|
|
31
|
-
## The four verbs
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
node .ai.local/scripts/team-db.mjs ui start [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
35
|
-
node .ai.local/scripts/team-db.mjs ui status [--json]
|
|
36
|
-
node .ai.local/scripts/team-db.mjs ui stop [--json]
|
|
37
|
-
node .ai.local/scripts/team-db.mjs ui restart [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Exit codes: `0` stopped, nothing running, or a foreign pid left alone; `1` a refusal, or a leader
|
|
41
|
-
that outlived `SIGTERM` and `SIGKILL` (its marker is kept); `2` a start failure during `restart`;
|
|
42
|
-
`3` usage.
|
|
43
|
-
|
|
44
|
-
## Ownership
|
|
45
|
-
|
|
46
|
-
Ownership is the live pid **and** a `team-db.mjs serve` command line; the marker alone never
|
|
47
|
-
authorizes a signal. `stop` re-proves ownership before each signal, signals the leader pid only —
|
|
48
|
-
never the process group, because `serve` spawns bounded delete children — sends `SIGTERM`, polls
|
|
49
|
-
every 100 ms for at most five seconds, then `SIGKILL`s it and verifies the pid is gone. A process
|
|
50
|
-
that survives keeps its marker and the command exits 1. The scheduler timer is a separate process
|
|
51
|
-
and is not touched.
|
|
52
|
-
|
|
53
|
-
The verb is POSIX only: the ownership proof reads `ps`, so on Windows no signal is ever sent — use
|
|
54
|
-
the foreground `serve` there.
|
|
55
|
-
|
|
56
|
-
## Upgrade path
|
|
57
|
-
|
|
58
|
-
`ai-rules update --fix` seeds the verb into a tree installed before it existed. A plain `update`
|
|
59
|
-
refreshes the command files but leaves an existing engine module alone, so a stale `team-db.mjs`
|
|
60
|
-
answers `ui` with exit 3.
|
|
61
|
-
|
|
62
|
-
## Forked engine
|
|
63
|
-
|
|
64
|
-
Without the verb, stop the foreground server with `Ctrl-C` in the terminal that runs it, or start
|
|
65
|
-
one with `node .ai.local/scripts/team-db.mjs serve`.
|
|
66
|
-
|
|
67
|
-
## Do not
|
|
68
|
-
|
|
69
|
-
- Kill a pid by port, by `pkill`, or by pattern. `ui stop` proves ownership first.
|
|
70
|
-
- Remove `.ai.local/.ui/api.json` by hand while the server runs.
|
|
71
|
-
- Write `status.json`, `metrics.json`, or any lifecycle field.
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ui-start
|
|
3
|
-
description: Start the shipped team-db dashboard in the background on loopback and print its URL.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Start the dashboard
|
|
7
|
-
|
|
8
|
-
Start the operator dashboard the `@bonesofspring/ai-rules` package already ships. There is no
|
|
9
|
-
Docker, no image, and no build step: the seeded engine serves the page from memory on loopback.
|
|
10
|
-
|
|
11
|
-
## What to do
|
|
12
|
-
|
|
13
|
-
1. From the repository root, run:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
node .ai.local/scripts/team-db.mjs ui start
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
2. Relay the printed URL and the `scheduler:` line in the user's native language. The timer is a
|
|
20
|
-
separate foreground process: `ui start` reports its state and never starts it.
|
|
21
|
-
3. `start` is probe-first and idempotent: when this repository's server already answers on the
|
|
22
|
-
target, it prints `already running` with the same pid, leaves the marker untouched, and starts
|
|
23
|
-
nothing. It writes only the ownership marker, plus at most one bounded `sync` when the
|
|
24
|
-
projection is missing — no `migrate-tasks`, no `team/runner.json`. Use `ui restart` when the
|
|
25
|
-
intent is to replace a running server.
|
|
26
|
-
4. `--open` opens the dashboard after the health probe. `--port <n>` requests a port (`0` picks a
|
|
27
|
-
free one); `--host` accepts a loopback address only.
|
|
28
|
-
5. Any non-zero exit: quote stderr and stop.
|
|
29
|
-
|
|
30
|
-
## The four verbs
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
node .ai.local/scripts/team-db.mjs ui start [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
34
|
-
node .ai.local/scripts/team-db.mjs ui status [--json]
|
|
35
|
-
node .ai.local/scripts/team-db.mjs ui stop [--json]
|
|
36
|
-
node .ai.local/scripts/team-db.mjs ui restart [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
The bind address defaults to `127.0.0.1`. A non-loopback `--host` and `--allow-remote` are usage
|
|
40
|
-
errors: this verb never exposes the dashboard to the network.
|
|
41
|
-
|
|
42
|
-
Exit codes: `0` started, or already running; `1` a refusal (`E_UI_*`, including a leader that
|
|
43
|
-
survived the stop signal and keeps its marker); `2` a start failure; `3` usage.
|
|
44
|
-
|
|
45
|
-
## Ownership
|
|
46
|
-
|
|
47
|
-
The start writes `.ai.local/.ui/api.json` with the pid, the loopback address, the `rootId`, and the
|
|
48
|
-
start time. Ownership is the live pid **and** a matching `team-db.mjs serve` command line — the
|
|
49
|
-
marker alone never authorizes a signal. `ui stop` sends `SIGTERM` to that one pid, waits at most
|
|
50
|
-
five seconds, then `SIGKILL`s it. A different `rootId` is refused with `E_UI_OTHER_ROOT`.
|
|
51
|
-
|
|
52
|
-
The verb is POSIX only: the ownership proof reads `ps`, so on Windows no signal is ever sent and a
|
|
53
|
-
foreground `serve` is the supported path. `AI_RULES_TEAM_DB_ROOT` names the team root when `--root`
|
|
54
|
-
is absent, exactly as it does for the other `team-db.mjs` verbs.
|
|
55
|
-
|
|
56
|
-
## Upgrade path
|
|
57
|
-
|
|
58
|
-
`ai-rules update --fix` is the way to get this verb into a tree that was installed before it
|
|
59
|
-
existed. A plain `update` refreshes the command files but leaves an existing engine module alone,
|
|
60
|
-
so a stale `team-db.mjs` answers `ui` with exit 3; `--fix` rewrites a module whose bytes still match
|
|
61
|
-
the recorded template base.
|
|
62
|
-
|
|
63
|
-
## Forked engine
|
|
64
|
-
|
|
65
|
-
A fork whose engine predates the verb falls back to the foreground server:
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
node .ai.local/scripts/team-db.mjs serve
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
## Do not
|
|
72
|
-
|
|
73
|
-
- Pass `--allow-remote` or a non-loopback `--host`.
|
|
74
|
-
- Start `team-db.mjs schedule` from this command. The timer has its own lease and refuses a second
|
|
75
|
-
instance.
|
|
76
|
-
- Kill a process by port or by `pkill`; use `ui stop`.
|
|
77
|
-
- Write `status.json`, `metrics.json`, or any lifecycle field. `ui` writes the marker only, plus at
|
|
78
|
-
most one bounded `sync` on the missing-projection repair.
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ui-stop
|
|
3
|
-
description: Stop the dashboard server this repository started and clear its ownership marker.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Stop the dashboard
|
|
7
|
-
|
|
8
|
-
Stop the server recorded in `.ai.local/.ui/api.json`. No Docker, no image, and no build step is
|
|
9
|
-
involved; the marker names the one process this repository started.
|
|
10
|
-
|
|
11
|
-
## What to do
|
|
12
|
-
|
|
13
|
-
1. From the repository root, run:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
node .ai.local/scripts/team-db.mjs ui stop
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
2. Report the outcome in the user's native language:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
node .ai.local/scripts/team-db.mjs ui status --json # inspect before and after
|
|
23
|
-
node .ai.local/scripts/team-db.mjs ui restart # stop, then start again
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
3. A second stop is a no-op: `nothing running` with exit 0. Do not hunt for a leftover process.
|
|
27
|
-
4. A live pid whose command line is not `team-db.mjs serve` is left running with its marker
|
|
28
|
-
intact, and the command says so. Relay that line; never kill that pid by hand.
|
|
29
|
-
5. Any non-zero exit: quote stderr and stop.
|
|
30
|
-
|
|
31
|
-
## The four verbs
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
node .ai.local/scripts/team-db.mjs ui start [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
35
|
-
node .ai.local/scripts/team-db.mjs ui status [--json]
|
|
36
|
-
node .ai.local/scripts/team-db.mjs ui stop [--json]
|
|
37
|
-
node .ai.local/scripts/team-db.mjs ui restart [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Exit codes: `0` stopped, nothing running, or a foreign pid left alone; `1` a refusal, or a leader
|
|
41
|
-
that outlived `SIGTERM` and `SIGKILL` (its marker is kept); `2` a start failure during `restart`;
|
|
42
|
-
`3` usage.
|
|
43
|
-
|
|
44
|
-
## Ownership
|
|
45
|
-
|
|
46
|
-
Ownership is the live pid **and** a `team-db.mjs serve` command line; the marker alone never
|
|
47
|
-
authorizes a signal. `stop` re-proves ownership before each signal, signals the leader pid only —
|
|
48
|
-
never the process group, because `serve` spawns bounded delete children — sends `SIGTERM`, polls
|
|
49
|
-
every 100 ms for at most five seconds, then `SIGKILL`s it and verifies the pid is gone. A process
|
|
50
|
-
that survives keeps its marker and the command exits 1. The scheduler timer is a separate process
|
|
51
|
-
and is not touched.
|
|
52
|
-
|
|
53
|
-
The verb is POSIX only: the ownership proof reads `ps`, so on Windows no signal is ever sent — use
|
|
54
|
-
the foreground `serve` there.
|
|
55
|
-
|
|
56
|
-
## Upgrade path
|
|
57
|
-
|
|
58
|
-
`ai-rules update --fix` seeds the verb into a tree installed before it existed. A plain `update`
|
|
59
|
-
refreshes the command files but leaves an existing engine module alone, so a stale `team-db.mjs`
|
|
60
|
-
answers `ui` with exit 3.
|
|
61
|
-
|
|
62
|
-
## Forked engine
|
|
63
|
-
|
|
64
|
-
Without the verb, stop the foreground server with `Ctrl-C` in the terminal that runs it, or start
|
|
65
|
-
one with `node .ai.local/scripts/team-db.mjs serve`.
|
|
66
|
-
|
|
67
|
-
## Do not
|
|
68
|
-
|
|
69
|
-
- Kill a pid by port, by `pkill`, or by pattern. `ui stop` proves ownership first.
|
|
70
|
-
- Remove `.ai.local/.ui/api.json` by hand while the server runs.
|
|
71
|
-
- Write `status.json`, `metrics.json`, or any lifecycle field.
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# Start the dashboard
|
|
2
|
-
|
|
3
|
-
Start the operator dashboard the `@bonesofspring/ai-rules` package already ships. There is no
|
|
4
|
-
Docker, no image, and no build step: the seeded engine serves the page from memory on loopback.
|
|
5
|
-
|
|
6
|
-
## What to do
|
|
7
|
-
|
|
8
|
-
1. From the repository root, run:
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
node .ai.local/scripts/team-db.mjs ui start
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
2. Relay the printed URL and the `scheduler:` line in the user's native language. The timer is a
|
|
15
|
-
separate foreground process: `ui start` reports its state and never starts it.
|
|
16
|
-
3. `start` is probe-first and idempotent: when this repository's server already answers on the
|
|
17
|
-
target, it prints `already running` with the same pid, leaves the marker untouched, and starts
|
|
18
|
-
nothing. It writes only the ownership marker, plus at most one bounded `sync` when the
|
|
19
|
-
projection is missing — no `migrate-tasks`, no `team/runner.json`. Use `ui restart` when the
|
|
20
|
-
intent is to replace a running server.
|
|
21
|
-
4. `--open` opens the dashboard after the health probe. `--port <n>` requests a port (`0` picks a
|
|
22
|
-
free one); `--host` accepts a loopback address only.
|
|
23
|
-
5. Any non-zero exit: quote stderr and stop.
|
|
24
|
-
|
|
25
|
-
## The four verbs
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
node .ai.local/scripts/team-db.mjs ui start [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
29
|
-
node .ai.local/scripts/team-db.mjs ui status [--json]
|
|
30
|
-
node .ai.local/scripts/team-db.mjs ui stop [--json]
|
|
31
|
-
node .ai.local/scripts/team-db.mjs ui restart [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
The bind address defaults to `127.0.0.1`. A non-loopback `--host` and `--allow-remote` are usage
|
|
35
|
-
errors: this verb never exposes the dashboard to the network.
|
|
36
|
-
|
|
37
|
-
Exit codes: `0` started, or already running; `1` a refusal (`E_UI_*`, including a leader that
|
|
38
|
-
survived the stop signal and keeps its marker); `2` a start failure; `3` usage.
|
|
39
|
-
|
|
40
|
-
## Ownership
|
|
41
|
-
|
|
42
|
-
The start writes `.ai.local/.ui/api.json` with the pid, the loopback address, the `rootId`, and the
|
|
43
|
-
start time. Ownership is the live pid **and** a matching `team-db.mjs serve` command line — the
|
|
44
|
-
marker alone never authorizes a signal. `ui stop` sends `SIGTERM` to that one pid, waits at most
|
|
45
|
-
five seconds, then `SIGKILL`s it. A different `rootId` is refused with `E_UI_OTHER_ROOT`.
|
|
46
|
-
|
|
47
|
-
The verb is POSIX only: the ownership proof reads `ps`, so on Windows no signal is ever sent and a
|
|
48
|
-
foreground `serve` is the supported path. `AI_RULES_TEAM_DB_ROOT` names the team root when `--root`
|
|
49
|
-
is absent, exactly as it does for the other `team-db.mjs` verbs.
|
|
50
|
-
|
|
51
|
-
## Upgrade path
|
|
52
|
-
|
|
53
|
-
`ai-rules update --fix` is the way to get this verb into a tree that was installed before it
|
|
54
|
-
existed. A plain `update` refreshes the command files but leaves an existing engine module alone,
|
|
55
|
-
so a stale `team-db.mjs` answers `ui` with exit 3; `--fix` rewrites a module whose bytes still match
|
|
56
|
-
the recorded template base.
|
|
57
|
-
|
|
58
|
-
## Forked engine
|
|
59
|
-
|
|
60
|
-
A fork whose engine predates the verb falls back to the foreground server:
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
node .ai.local/scripts/team-db.mjs serve
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
## Do not
|
|
67
|
-
|
|
68
|
-
- Pass `--allow-remote` or a non-loopback `--host`.
|
|
69
|
-
- Start `team-db.mjs schedule` from this command. The timer has its own lease and refuses a second
|
|
70
|
-
instance.
|
|
71
|
-
- Kill a process by port or by `pkill`; use `ui stop`.
|
|
72
|
-
- Write `status.json`, `metrics.json`, or any lifecycle field. `ui` writes the marker only, plus at
|
|
73
|
-
most one bounded `sync` on the missing-projection repair.
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
# Stop the dashboard
|
|
2
|
-
|
|
3
|
-
Stop the server recorded in `.ai.local/.ui/api.json`. No Docker, no image, and no build step is
|
|
4
|
-
involved; the marker names the one process this repository started.
|
|
5
|
-
|
|
6
|
-
## What to do
|
|
7
|
-
|
|
8
|
-
1. From the repository root, run:
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
node .ai.local/scripts/team-db.mjs ui stop
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
2. Report the outcome in the user's native language:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
node .ai.local/scripts/team-db.mjs ui status --json # inspect before and after
|
|
18
|
-
node .ai.local/scripts/team-db.mjs ui restart # stop, then start again
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
3. A second stop is a no-op: `nothing running` with exit 0. Do not hunt for a leftover process.
|
|
22
|
-
4. A live pid whose command line is not `team-db.mjs serve` is left running with its marker
|
|
23
|
-
intact, and the command says so. Relay that line; never kill that pid by hand.
|
|
24
|
-
5. Any non-zero exit: quote stderr and stop.
|
|
25
|
-
|
|
26
|
-
## The four verbs
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
node .ai.local/scripts/team-db.mjs ui start [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
30
|
-
node .ai.local/scripts/team-db.mjs ui status [--json]
|
|
31
|
-
node .ai.local/scripts/team-db.mjs ui stop [--json]
|
|
32
|
-
node .ai.local/scripts/team-db.mjs ui restart [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
Exit codes: `0` stopped, nothing running, or a foreign pid left alone; `1` a refusal, or a leader
|
|
36
|
-
that outlived `SIGTERM` and `SIGKILL` (its marker is kept); `2` a start failure during `restart`;
|
|
37
|
-
`3` usage.
|
|
38
|
-
|
|
39
|
-
## Ownership
|
|
40
|
-
|
|
41
|
-
Ownership is the live pid **and** a `team-db.mjs serve` command line; the marker alone never
|
|
42
|
-
authorizes a signal. `stop` re-proves ownership before each signal, signals the leader pid only —
|
|
43
|
-
never the process group, because `serve` spawns bounded delete children — sends `SIGTERM`, polls
|
|
44
|
-
every 100 ms for at most five seconds, then `SIGKILL`s it and verifies the pid is gone. A process
|
|
45
|
-
that survives keeps its marker and the command exits 1. The scheduler timer is a separate process
|
|
46
|
-
and is not touched.
|
|
47
|
-
|
|
48
|
-
The verb is POSIX only: the ownership proof reads `ps`, so on Windows no signal is ever sent — use
|
|
49
|
-
the foreground `serve` there.
|
|
50
|
-
|
|
51
|
-
## Upgrade path
|
|
52
|
-
|
|
53
|
-
`ai-rules update --fix` seeds the verb into a tree installed before it existed. A plain `update`
|
|
54
|
-
refreshes the command files but leaves an existing engine module alone, so a stale `team-db.mjs`
|
|
55
|
-
answers `ui` with exit 3.
|
|
56
|
-
|
|
57
|
-
## Forked engine
|
|
58
|
-
|
|
59
|
-
Without the verb, stop the foreground server with `Ctrl-C` in the terminal that runs it, or start
|
|
60
|
-
one with `node .ai.local/scripts/team-db.mjs serve`.
|
|
61
|
-
|
|
62
|
-
## Do not
|
|
63
|
-
|
|
64
|
-
- Kill a pid by port, by `pkill`, or by pattern. `ui stop` proves ownership first.
|
|
65
|
-
- Remove `.ai.local/.ui/api.json` by hand while the server runs.
|
|
66
|
-
- Write `status.json`, `metrics.json`, or any lifecycle field.
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Start the shipped team-db dashboard in the background on loopback and print its URL."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
## Invocation arguments
|
|
6
|
-
|
|
7
|
-
$ARGUMENTS
|
|
8
|
-
|
|
9
|
-
# Start the dashboard
|
|
10
|
-
|
|
11
|
-
Start the operator dashboard the `@bonesofspring/ai-rules` package already ships. There is no
|
|
12
|
-
Docker, no image, and no build step: the seeded engine serves the page from memory on loopback.
|
|
13
|
-
|
|
14
|
-
## What to do
|
|
15
|
-
|
|
16
|
-
1. From the repository root, run:
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
node .ai.local/scripts/team-db.mjs ui start
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
2. Relay the printed URL and the `scheduler:` line in the user's native language. The timer is a
|
|
23
|
-
separate foreground process: `ui start` reports its state and never starts it.
|
|
24
|
-
3. `start` is probe-first and idempotent: when this repository's server already answers on the
|
|
25
|
-
target, it prints `already running` with the same pid, leaves the marker untouched, and starts
|
|
26
|
-
nothing. It writes only the ownership marker, plus at most one bounded `sync` when the
|
|
27
|
-
projection is missing — no `migrate-tasks`, no `team/runner.json`. Use `ui restart` when the
|
|
28
|
-
intent is to replace a running server.
|
|
29
|
-
4. `--open` opens the dashboard after the health probe. `--port <n>` requests a port (`0` picks a
|
|
30
|
-
free one); `--host` accepts a loopback address only.
|
|
31
|
-
5. Any non-zero exit: quote stderr and stop.
|
|
32
|
-
|
|
33
|
-
## The four verbs
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
node .ai.local/scripts/team-db.mjs ui start [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
37
|
-
node .ai.local/scripts/team-db.mjs ui status [--json]
|
|
38
|
-
node .ai.local/scripts/team-db.mjs ui stop [--json]
|
|
39
|
-
node .ai.local/scripts/team-db.mjs ui restart [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
The bind address defaults to `127.0.0.1`. A non-loopback `--host` and `--allow-remote` are usage
|
|
43
|
-
errors: this verb never exposes the dashboard to the network.
|
|
44
|
-
|
|
45
|
-
Exit codes: `0` started, or already running; `1` a refusal (`E_UI_*`, including a leader that
|
|
46
|
-
survived the stop signal and keeps its marker); `2` a start failure; `3` usage.
|
|
47
|
-
|
|
48
|
-
## Ownership
|
|
49
|
-
|
|
50
|
-
The start writes `.ai.local/.ui/api.json` with the pid, the loopback address, the `rootId`, and the
|
|
51
|
-
start time. Ownership is the live pid **and** a matching `team-db.mjs serve` command line — the
|
|
52
|
-
marker alone never authorizes a signal. `ui stop` sends `SIGTERM` to that one pid, waits at most
|
|
53
|
-
five seconds, then `SIGKILL`s it. A different `rootId` is refused with `E_UI_OTHER_ROOT`.
|
|
54
|
-
|
|
55
|
-
The verb is POSIX only: the ownership proof reads `ps`, so on Windows no signal is ever sent and a
|
|
56
|
-
foreground `serve` is the supported path. `AI_RULES_TEAM_DB_ROOT` names the team root when `--root`
|
|
57
|
-
is absent, exactly as it does for the other `team-db.mjs` verbs.
|
|
58
|
-
|
|
59
|
-
## Upgrade path
|
|
60
|
-
|
|
61
|
-
`ai-rules update --fix` is the way to get this verb into a tree that was installed before it
|
|
62
|
-
existed. A plain `update` refreshes the command files but leaves an existing engine module alone,
|
|
63
|
-
so a stale `team-db.mjs` answers `ui` with exit 3; `--fix` rewrites a module whose bytes still match
|
|
64
|
-
the recorded template base.
|
|
65
|
-
|
|
66
|
-
## Forked engine
|
|
67
|
-
|
|
68
|
-
A fork whose engine predates the verb falls back to the foreground server:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
node .ai.local/scripts/team-db.mjs serve
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## Do not
|
|
75
|
-
|
|
76
|
-
- Pass `--allow-remote` or a non-loopback `--host`.
|
|
77
|
-
- Start `team-db.mjs schedule` from this command. The timer has its own lease and refuses a second
|
|
78
|
-
instance.
|
|
79
|
-
- Kill a process by port or by `pkill`; use `ui stop`.
|
|
80
|
-
- Write `status.json`, `metrics.json`, or any lifecycle field. `ui` writes the marker only, plus at
|
|
81
|
-
most one bounded `sync` on the missing-projection repair.
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Stop the dashboard server this repository started and clear its ownership marker."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
## Invocation arguments
|
|
6
|
-
|
|
7
|
-
$ARGUMENTS
|
|
8
|
-
|
|
9
|
-
# Stop the dashboard
|
|
10
|
-
|
|
11
|
-
Stop the server recorded in `.ai.local/.ui/api.json`. No Docker, no image, and no build step is
|
|
12
|
-
involved; the marker names the one process this repository started.
|
|
13
|
-
|
|
14
|
-
## What to do
|
|
15
|
-
|
|
16
|
-
1. From the repository root, run:
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
node .ai.local/scripts/team-db.mjs ui stop
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
2. Report the outcome in the user's native language:
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
node .ai.local/scripts/team-db.mjs ui status --json # inspect before and after
|
|
26
|
-
node .ai.local/scripts/team-db.mjs ui restart # stop, then start again
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
3. A second stop is a no-op: `nothing running` with exit 0. Do not hunt for a leftover process.
|
|
30
|
-
4. A live pid whose command line is not `team-db.mjs serve` is left running with its marker
|
|
31
|
-
intact, and the command says so. Relay that line; never kill that pid by hand.
|
|
32
|
-
5. Any non-zero exit: quote stderr and stop.
|
|
33
|
-
|
|
34
|
-
## The four verbs
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
node .ai.local/scripts/team-db.mjs ui start [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
38
|
-
node .ai.local/scripts/team-db.mjs ui status [--json]
|
|
39
|
-
node .ai.local/scripts/team-db.mjs ui stop [--json]
|
|
40
|
-
node .ai.local/scripts/team-db.mjs ui restart [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
Exit codes: `0` stopped, nothing running, or a foreign pid left alone; `1` a refusal, or a leader
|
|
44
|
-
that outlived `SIGTERM` and `SIGKILL` (its marker is kept); `2` a start failure during `restart`;
|
|
45
|
-
`3` usage.
|
|
46
|
-
|
|
47
|
-
## Ownership
|
|
48
|
-
|
|
49
|
-
Ownership is the live pid **and** a `team-db.mjs serve` command line; the marker alone never
|
|
50
|
-
authorizes a signal. `stop` re-proves ownership before each signal, signals the leader pid only —
|
|
51
|
-
never the process group, because `serve` spawns bounded delete children — sends `SIGTERM`, polls
|
|
52
|
-
every 100 ms for at most five seconds, then `SIGKILL`s it and verifies the pid is gone. A process
|
|
53
|
-
that survives keeps its marker and the command exits 1. The scheduler timer is a separate process
|
|
54
|
-
and is not touched.
|
|
55
|
-
|
|
56
|
-
The verb is POSIX only: the ownership proof reads `ps`, so on Windows no signal is ever sent — use
|
|
57
|
-
the foreground `serve` there.
|
|
58
|
-
|
|
59
|
-
## Upgrade path
|
|
60
|
-
|
|
61
|
-
`ai-rules update --fix` seeds the verb into a tree installed before it existed. A plain `update`
|
|
62
|
-
refreshes the command files but leaves an existing engine module alone, so a stale `team-db.mjs`
|
|
63
|
-
answers `ui` with exit 3.
|
|
64
|
-
|
|
65
|
-
## Forked engine
|
|
66
|
-
|
|
67
|
-
Without the verb, stop the foreground server with `Ctrl-C` in the terminal that runs it, or start
|
|
68
|
-
one with `node .ai.local/scripts/team-db.mjs serve`.
|
|
69
|
-
|
|
70
|
-
## Do not
|
|
71
|
-
|
|
72
|
-
- Kill a pid by port, by `pkill`, or by pattern. `ui stop` proves ownership first.
|
|
73
|
-
- Remove `.ai.local/.ui/api.json` by hand while the server runs.
|
|
74
|
-
- Write `status.json`, `metrics.json`, or any lifecycle field.
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Start the shipped team-db dashboard in the background on loopback and print its URL."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
## Invocation arguments
|
|
6
|
-
|
|
7
|
-
$ARGUMENTS
|
|
8
|
-
|
|
9
|
-
# Start the dashboard
|
|
10
|
-
|
|
11
|
-
Start the operator dashboard the `@bonesofspring/ai-rules` package already ships. There is no
|
|
12
|
-
Docker, no image, and no build step: the seeded engine serves the page from memory on loopback.
|
|
13
|
-
|
|
14
|
-
## What to do
|
|
15
|
-
|
|
16
|
-
1. From the repository root, run:
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
node .ai.local/scripts/team-db.mjs ui start
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
2. Relay the printed URL and the `scheduler:` line in the user's native language. The timer is a
|
|
23
|
-
separate foreground process: `ui start` reports its state and never starts it.
|
|
24
|
-
3. `start` is probe-first and idempotent: when this repository's server already answers on the
|
|
25
|
-
target, it prints `already running` with the same pid, leaves the marker untouched, and starts
|
|
26
|
-
nothing. It writes only the ownership marker, plus at most one bounded `sync` when the
|
|
27
|
-
projection is missing — no `migrate-tasks`, no `team/runner.json`. Use `ui restart` when the
|
|
28
|
-
intent is to replace a running server.
|
|
29
|
-
4. `--open` opens the dashboard after the health probe. `--port <n>` requests a port (`0` picks a
|
|
30
|
-
free one); `--host` accepts a loopback address only.
|
|
31
|
-
5. Any non-zero exit: quote stderr and stop.
|
|
32
|
-
|
|
33
|
-
## The four verbs
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
node .ai.local/scripts/team-db.mjs ui start [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
37
|
-
node .ai.local/scripts/team-db.mjs ui status [--json]
|
|
38
|
-
node .ai.local/scripts/team-db.mjs ui stop [--json]
|
|
39
|
-
node .ai.local/scripts/team-db.mjs ui restart [--host <loopback>] [--port <n>] [--open] [--json] [--quiet]
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
The bind address defaults to `127.0.0.1`. A non-loopback `--host` and `--allow-remote` are usage
|
|
43
|
-
errors: this verb never exposes the dashboard to the network.
|
|
44
|
-
|
|
45
|
-
Exit codes: `0` started, or already running; `1` a refusal (`E_UI_*`, including a leader that
|
|
46
|
-
survived the stop signal and keeps its marker); `2` a start failure; `3` usage.
|
|
47
|
-
|
|
48
|
-
## Ownership
|
|
49
|
-
|
|
50
|
-
The start writes `.ai.local/.ui/api.json` with the pid, the loopback address, the `rootId`, and the
|
|
51
|
-
start time. Ownership is the live pid **and** a matching `team-db.mjs serve` command line — the
|
|
52
|
-
marker alone never authorizes a signal. `ui stop` sends `SIGTERM` to that one pid, waits at most
|
|
53
|
-
five seconds, then `SIGKILL`s it. A different `rootId` is refused with `E_UI_OTHER_ROOT`.
|
|
54
|
-
|
|
55
|
-
The verb is POSIX only: the ownership proof reads `ps`, so on Windows no signal is ever sent and a
|
|
56
|
-
foreground `serve` is the supported path. `AI_RULES_TEAM_DB_ROOT` names the team root when `--root`
|
|
57
|
-
is absent, exactly as it does for the other `team-db.mjs` verbs.
|
|
58
|
-
|
|
59
|
-
## Upgrade path
|
|
60
|
-
|
|
61
|
-
`ai-rules update --fix` is the way to get this verb into a tree that was installed before it
|
|
62
|
-
existed. A plain `update` refreshes the command files but leaves an existing engine module alone,
|
|
63
|
-
so a stale `team-db.mjs` answers `ui` with exit 3; `--fix` rewrites a module whose bytes still match
|
|
64
|
-
the recorded template base.
|
|
65
|
-
|
|
66
|
-
## Forked engine
|
|
67
|
-
|
|
68
|
-
A fork whose engine predates the verb falls back to the foreground server:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
node .ai.local/scripts/team-db.mjs serve
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## Do not
|
|
75
|
-
|
|
76
|
-
- Pass `--allow-remote` or a non-loopback `--host`.
|
|
77
|
-
- Start `team-db.mjs schedule` from this command. The timer has its own lease and refuses a second
|
|
78
|
-
instance.
|
|
79
|
-
- Kill a process by port or by `pkill`; use `ui stop`.
|
|
80
|
-
- Write `status.json`, `metrics.json`, or any lifecycle field. `ui` writes the marker only, plus at
|
|
81
|
-
most one bounded `sync` on the missing-projection repair.
|