cc-codeconductor 1.1.0 → 1.3.0
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/README.md +34 -12
- package/dist/core/config/codeconductor-config.d.ts +2 -1
- package/dist/core/presets/package-paths.d.ts +1 -0
- package/dist/core/runner/runner-target.d.ts +32 -0
- package/dist/core/verification/verification-runner.d.ts +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2934 -761
- package/dist/library.js +103 -14
- package/dist/validation/schemas.d.ts +294 -61
- package/package.json +4 -1
- package/presets/agy/AGENTS.md +11 -10
- package/presets/agy/hooks.json +3 -3
- package/presets/agy/scripts/invoke-hook.cjs +119 -0
- package/presets/agy/skills/backlog/SKILL.md +40 -70
- package/presets/agy/skills/cc-spec-mutation/SKILL.md +165 -0
- package/presets/agy/skills/cc-tdd-cycle/SKILL.md +3 -0
- package/presets/agy/skills/evaluation/SKILL.md +61 -2
- package/presets/agy/skills/openspec/SKILL.md +49 -19
- package/presets/agy/skills/testing-tdd/SKILL.md +53 -0
- package/presets/agy/skills/using-cc-skills/SKILL.md +48 -0
- package/presets/agy/workflows/cc-api-contract.md +18 -0
- package/presets/agy/workflows/cc-ask.md +10 -10
- package/presets/agy/workflows/cc-council.md +4 -0
- package/presets/agy/workflows/cc-db-migration.md +18 -0
- package/presets/agy/workflows/cc-explore.md +2 -2
- package/presets/agy/workflows/cc-feature.md +22 -0
- package/presets/agy/workflows/cc-fix.md +18 -0
- package/presets/agy/workflows/cc-handoff.md +1 -1
- package/presets/agy/workflows/cc-iterative.md +14 -0
- package/presets/agy/workflows/cc-openspec.md +14 -0
- package/presets/agy/workflows/cc-prototype.md +1 -1
- package/presets/agy/workflows/cc-refactor.md +5 -1
- package/presets/agy/workflows/cc-review.md +5 -1
- package/presets/agy/workflows/cc-scorecard.md +2 -0
- package/presets/agy/workflows/cc-security.md +4 -0
- package/presets/agy/workflows/cc-spec-mutation.md +195 -0
- package/presets/agy/workflows/cc-tdd-cycle.md +15 -1
- package/presets/agy/workflows/cc-test-plan.md +5 -1
- package/presets/claude/commands/cc/api-contract.md +19 -1
- package/presets/claude/commands/cc/ask.md +1 -1
- package/presets/claude/commands/cc/backlog.md +1 -1
- package/presets/claude/commands/cc/clarify.md +1 -1
- package/presets/claude/commands/cc/council.md +4 -0
- package/presets/claude/commands/cc/db-migration.md +19 -1
- package/presets/claude/commands/cc/explore.md +1 -1
- package/presets/claude/commands/cc/feature.md +23 -1
- package/presets/claude/commands/cc/fix.md +22 -1
- package/presets/claude/commands/cc/handoff.md +1 -1
- package/presets/claude/commands/cc/iterative.md +15 -1
- package/presets/claude/commands/cc/openspec.md +15 -1
- package/presets/claude/commands/cc/prototype.md +1 -1
- package/presets/claude/commands/cc/refactor.md +5 -1
- package/presets/claude/commands/cc/review.md +8 -1
- package/presets/claude/commands/cc/scorecard.md +3 -1
- package/presets/claude/commands/cc/security.md +5 -1
- package/presets/claude/commands/cc/spec-mutation.md +194 -0
- package/presets/claude/commands/cc/tdd-cycle.md +18 -1
- package/presets/claude/commands/cc/test-plan.md +5 -1
- package/presets/claude/commands/cc/triage.md +1 -1
- package/presets/claude/settings.json +13 -11
- package/presets/claude/skills/android/SKILL.md +0 -1
- package/presets/claude/skills/api-versioning/SKILL.md +0 -1
- package/presets/claude/skills/backlog/SKILL.md +40 -70
- package/presets/claude/skills/django-orm/SKILL.md +0 -1
- package/presets/claude/skills/django-testing/SKILL.md +0 -1
- package/presets/claude/skills/evaluation/SKILL.md +47 -24
- package/presets/claude/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/claude/skills/openspec/SKILL.md +46 -38
- package/presets/claude/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/claude/skills/python/SKILL.md +0 -1
- package/presets/claude/skills/python-django-stack/SKILL.md +0 -1
- package/presets/claude/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/claude/skills/security/SKILL.md +0 -1
- package/presets/claude/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/claude/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/claude/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/claude/skills/testing-strategy/SKILL.md +0 -1
- package/presets/claude/skills/testing-tdd/SKILL.md +53 -0
- package/presets/claude/skills/using-cc-skills/SKILL.md +48 -0
- package/presets/codex/AGENTS.md +19 -14
- package/presets/codex/commands/cc-ask.md +10 -10
- package/presets/codex/skills/android/SKILL.md +0 -1
- package/presets/codex/skills/api-versioning/SKILL.md +0 -1
- package/presets/codex/skills/backlog/SKILL.md +61 -0
- package/presets/codex/skills/cc-api-contract/SKILL.md +91 -0
- package/presets/codex/skills/cc-backlog/SKILL.md +108 -0
- package/presets/codex/skills/cc-clarify/SKILL.md +36 -0
- package/presets/codex/skills/cc-council/SKILL.md +96 -0
- package/presets/codex/skills/cc-db-migration/SKILL.md +92 -0
- package/presets/codex/skills/cc-explore/SKILL.md +40 -0
- package/presets/codex/skills/cc-feature/SKILL.md +162 -0
- package/presets/codex/skills/cc-fix/SKILL.md +172 -0
- package/presets/codex/skills/cc-handoff/SKILL.md +45 -0
- package/presets/codex/skills/cc-iterative/SKILL.md +150 -0
- package/presets/codex/skills/cc-openspec/SKILL.md +191 -0
- package/presets/codex/skills/cc-pagespeed/SKILL.md +124 -0
- package/presets/codex/skills/cc-prototype/SKILL.md +42 -0
- package/presets/codex/skills/cc-refactor/SKILL.md +167 -0
- package/presets/codex/skills/cc-review/SKILL.md +156 -0
- package/presets/codex/skills/cc-scorecard/SKILL.md +82 -0
- package/presets/codex/skills/cc-security/SKILL.md +186 -0
- package/presets/codex/skills/cc-spec-mutation/SKILL.md +196 -0
- package/presets/codex/skills/cc-tdd-cycle/SKILL.md +266 -0
- package/presets/codex/skills/cc-test-plan/SKILL.md +157 -0
- package/presets/codex/skills/cc-triage/SKILL.md +38 -0
- package/presets/codex/skills/django-orm/SKILL.md +0 -1
- package/presets/codex/skills/django-testing/SKILL.md +0 -1
- package/presets/codex/skills/evaluation/SKILL.md +65 -0
- package/presets/codex/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/codex/skills/openspec/SKILL.md +66 -0
- package/presets/codex/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/codex/skills/python/SKILL.md +0 -1
- package/presets/codex/skills/python-django-stack/SKILL.md +0 -1
- package/presets/codex/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/codex/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/codex/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/codex/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/codex/skills/testing-strategy/SKILL.md +0 -1
- package/presets/codex/skills/testing-tdd/SKILL.md +53 -0
- package/presets/codex/skills/using-cc-skills/SKILL.md +48 -0
- package/presets/cursor/agents/architect.md +1 -1
- package/presets/cursor/agents/complexity-auditor.md +1 -1
- package/presets/cursor/agents/contract-builder.md +1 -1
- package/presets/cursor/agents/docs.md +1 -1
- package/presets/cursor/agents/goal-planner.md +1 -1
- package/presets/cursor/agents/implementer.md +2 -2
- package/presets/cursor/agents/orchestrator.md +3 -3
- package/presets/cursor/agents/reviewer.md +4 -4
- package/presets/cursor/agents/security-reviewer.md +1 -1
- package/presets/cursor/agents/task-coach.md +1 -1
- package/presets/cursor/agents/tester.md +1 -1
- package/presets/cursor/commands/cc/api-contract.md +19 -1
- package/presets/cursor/commands/cc/ask.md +1 -1
- package/presets/cursor/commands/cc/backlog.md +1 -1
- package/presets/cursor/commands/cc/clarify.md +1 -1
- package/presets/cursor/commands/cc/council.md +4 -0
- package/presets/cursor/commands/cc/db-migration.md +19 -1
- package/presets/cursor/commands/cc/explore.md +1 -1
- package/presets/cursor/commands/cc/feature.md +23 -1
- package/presets/cursor/commands/cc/fix.md +22 -1
- package/presets/cursor/commands/cc/handoff.md +1 -1
- package/presets/cursor/commands/cc/iterative.md +15 -1
- package/presets/cursor/commands/cc/openspec.md +15 -1
- package/presets/cursor/commands/cc/prototype.md +1 -1
- package/presets/cursor/commands/cc/refactor.md +5 -1
- package/presets/cursor/commands/cc/review.md +5 -1
- package/presets/cursor/commands/cc/scorecard.md +3 -1
- package/presets/cursor/commands/cc/security.md +5 -1
- package/presets/cursor/commands/cc/spec-mutation.md +194 -0
- package/presets/cursor/commands/cc/tdd-cycle.md +15 -1
- package/presets/cursor/commands/cc/test-plan.md +5 -1
- package/presets/cursor/commands/cc/triage.md +1 -1
- package/presets/cursor/skills/android/SKILL.md +0 -1
- package/presets/cursor/skills/api-versioning/SKILL.md +0 -1
- package/presets/cursor/skills/astro/SKILL.md +0 -1
- package/presets/cursor/skills/auth-token-inspector/SKILL.md +0 -1
- package/presets/cursor/skills/backlog/SKILL.md +40 -70
- package/presets/cursor/skills/code-review/SKILL.md +0 -1
- package/presets/cursor/skills/django-orm/SKILL.md +0 -1
- package/presets/cursor/skills/django-testing/SKILL.md +0 -1
- package/presets/cursor/skills/django-uv/SKILL.md +0 -1
- package/presets/cursor/skills/drizzle-schema-architect/SKILL.md +0 -1
- package/presets/cursor/skills/evaluation/SKILL.md +61 -4
- package/presets/cursor/skills/fastapi-pydantic-strict/SKILL.md +0 -1
- package/presets/cursor/skills/jpa-nplusone-detector/SKILL.md +0 -1
- package/presets/cursor/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/cursor/skills/livewire-alpine-bridge/SKILL.md +0 -1
- package/presets/cursor/skills/nextjs-typescript/SKILL.md +0 -1
- package/presets/cursor/skills/openspec/SKILL.md +46 -36
- package/presets/cursor/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/cursor/skills/python/SKILL.md +0 -1
- package/presets/cursor/skills/python-django-stack/SKILL.md +0 -1
- package/presets/cursor/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/cursor/skills/security/SKILL.md +0 -1
- package/presets/cursor/skills/seo-analytics-injector/SKILL.md +0 -1
- package/presets/cursor/skills/spring-auth-auditor/SKILL.md +0 -1
- package/presets/cursor/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/cursor/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/cursor/skills/spring-boot-testing-strategy/SKILL.md +0 -1
- package/presets/cursor/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/cursor/skills/tailwind-responsive-auditor/SKILL.md +0 -1
- package/presets/cursor/skills/tdd-mutation-tester/SKILL.md +0 -1
- package/presets/cursor/skills/testing-tdd/SKILL.md +35 -574
- package/presets/cursor/skills/using-cc-skills/SKILL.md +48 -0
- package/presets/gemini/GEMINI.md +38 -0
- package/presets/gemini/commands/cc/api-contract.toml +86 -0
- package/presets/gemini/commands/cc/ask.toml +54 -0
- package/presets/gemini/commands/cc/backlog.toml +103 -0
- package/presets/gemini/commands/cc/clarify.toml +31 -0
- package/presets/gemini/commands/cc/council.toml +91 -0
- package/presets/gemini/commands/cc/db-migration.toml +87 -0
- package/presets/gemini/commands/cc/explore.toml +35 -0
- package/presets/gemini/commands/cc/feature.toml +157 -0
- package/presets/gemini/commands/cc/fix.toml +167 -0
- package/presets/gemini/commands/cc/handoff.toml +40 -0
- package/presets/gemini/commands/cc/iterative.toml +145 -0
- package/presets/gemini/commands/cc/openspec.toml +186 -0
- package/presets/gemini/commands/cc/pagespeed.toml +119 -0
- package/presets/gemini/commands/cc/prototype.toml +37 -0
- package/presets/gemini/commands/cc/refactor.toml +162 -0
- package/presets/gemini/commands/cc/review.toml +151 -0
- package/presets/gemini/commands/cc/scorecard.toml +77 -0
- package/presets/gemini/commands/cc/security.toml +181 -0
- package/presets/gemini/commands/cc/spec-mutation.toml +191 -0
- package/presets/gemini/commands/cc/tdd-cycle.toml +261 -0
- package/presets/gemini/commands/cc/test-plan.toml +152 -0
- package/presets/gemini/commands/cc/triage.toml +33 -0
- package/presets/gemini/settings.json +3 -0
- package/presets/opencode/README.md +24 -21
- package/presets/opencode/agents/architect.md +6 -0
- package/presets/opencode/agents/docs.md +1 -1
- package/presets/opencode/agents/implementer.md +7 -0
- package/presets/opencode/agents/reviewer.md +7 -1
- package/presets/opencode/agents/tester.md +6 -0
- package/presets/opencode/commands/cc-api-contract.md +18 -0
- package/presets/opencode/commands/cc-ask.md +10 -10
- package/presets/opencode/commands/cc-council.md +4 -0
- package/presets/opencode/commands/cc-db-migration.md +18 -0
- package/presets/opencode/commands/cc-explore.md +2 -2
- package/presets/opencode/commands/cc-feature.md +22 -0
- package/presets/opencode/commands/cc-fix.md +21 -0
- package/presets/opencode/commands/cc-handoff.md +1 -1
- package/presets/opencode/commands/cc-iterative.md +14 -0
- package/presets/opencode/commands/cc-openspec.md +14 -0
- package/presets/opencode/commands/cc-prototype.md +1 -1
- package/presets/opencode/commands/cc-refactor.md +5 -1
- package/presets/opencode/commands/cc-review.md +5 -1
- package/presets/opencode/commands/cc-scorecard.md +2 -0
- package/presets/opencode/commands/cc-security.md +4 -0
- package/presets/opencode/commands/cc-spec-mutation.md +194 -0
- package/presets/opencode/commands/cc-tdd-cycle.md +15 -1
- package/presets/opencode/commands/cc-test-plan.md +5 -1
- package/presets/opencode/opencode.jsonc +1 -1
- package/presets/opencode/prompts/v1.0.0/README.md +1 -1
- package/presets/opencode/prompts/v1.0.0/architect.md +6 -0
- package/presets/opencode/prompts/v1.0.0/docs.md +1 -1
- package/presets/opencode/prompts/v1.0.0/implementer.md +7 -0
- package/presets/opencode/prompts/v1.0.0/reviewer.md +7 -1
- package/presets/opencode/prompts/v1.0.0/tester.md +6 -0
- package/presets/opencode/skills/android/SKILL.md +0 -1
- package/presets/opencode/skills/api-versioning/SKILL.md +0 -1
- package/presets/opencode/skills/astro/SKILL.md +0 -1
- package/presets/opencode/skills/auth-token-inspector/SKILL.md +0 -1
- package/presets/opencode/skills/backlog/SKILL.md +40 -70
- package/presets/opencode/skills/code-review/SKILL.md +0 -1
- package/presets/opencode/skills/django-orm/SKILL.md +0 -1
- package/presets/opencode/skills/django-testing/SKILL.md +0 -1
- package/presets/opencode/skills/django-uv/SKILL.md +0 -1
- package/presets/opencode/skills/drizzle-schema-architect/SKILL.md +0 -1
- package/presets/opencode/skills/evaluation/SKILL.md +61 -2
- package/presets/opencode/skills/fastapi-pydantic-strict/SKILL.md +0 -1
- package/presets/opencode/skills/jpa-nplusone-detector/SKILL.md +0 -1
- package/presets/opencode/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/opencode/skills/livewire-alpine-bridge/SKILL.md +0 -1
- package/presets/opencode/skills/nextjs-typescript/SKILL.md +0 -1
- package/presets/opencode/skills/openspec/SKILL.md +46 -34
- package/presets/opencode/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/opencode/skills/python/SKILL.md +0 -1
- package/presets/opencode/skills/python-django-stack/SKILL.md +0 -1
- package/presets/opencode/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/opencode/skills/security/SKILL.md +0 -1
- package/presets/opencode/skills/seo-analytics-injector/SKILL.md +0 -1
- package/presets/opencode/skills/spring-auth-auditor/SKILL.md +0 -1
- package/presets/opencode/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/opencode/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/opencode/skills/spring-boot-testing-strategy/SKILL.md +0 -1
- package/presets/opencode/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/opencode/skills/tailwind-responsive-auditor/SKILL.md +0 -1
- package/presets/opencode/skills/tdd-mutation-tester/SKILL.md +0 -1
- package/presets/opencode/skills/testing-tdd/SKILL.md +35 -574
- package/presets/opencode/skills/using-cc-skills/SKILL.md +48 -0
- package/presets/pi/AGENTS.md +43 -0
- package/presets/pi/settings.json +3 -0
- package/presets/seo-hotel/skills/astro-seo/SKILL.md +0 -1
- package/presets/seo-hotel/skills/geo-readiness/SKILL.md +0 -1
- package/presets/seo-hotel/skills/off-page/SKILL.md +0 -1
- package/presets/seo-hotel/skills/schema-validator/SKILL.md +0 -1
- package/presets/seo-hotel/skills/seo-audit/SKILL.md +0 -1
- package/presets/shared/invoke-hook.cjs +119 -0
- package/presets/shared/mutation_runner.py +273 -0
- package/src/presets/council/council.yml +12 -9
- package/src/presets/manifests/agy.yml +3 -1
- package/src/presets/manifests/claude.yml +3 -0
- package/src/presets/manifests/gemini.yml +15 -0
- package/src/presets/manifests/pi.yml +25 -0
- package/src/presets/models/agy.yml +2 -128
- package/src/presets/models/claude.yml +2 -144
- package/src/presets/models/codex.yml +2 -144
- package/src/presets/models/cursor.yml +2 -144
- package/src/presets/models/gemini.yml +2 -144
- package/src/presets/models/opencode.yml +3 -101
- package/src/presets/models/pi.yml +5 -0
- package/src/presets/models/roles.yml +193 -0
- package/src/presets/shared-skills.yml +64 -0
- package/src/presets/targets/agy.yml +11 -0
- package/src/presets/targets/claude.yml +12 -0
- package/src/presets/targets/codex.yml +14 -0
- package/src/presets/targets/cursor.yml +11 -0
- package/src/presets/targets/gemini.yml +15 -0
- package/src/presets/targets/opencode.yml +13 -0
- package/src/presets/targets/pi.yml +12 -0
- package/presets/agy/scripts/post-tool.sh +0 -25
- package/presets/agy/scripts/pre-tool.sh +0 -56
- package/presets/opencode/prompts/v0.1.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.1.0/architect.md +0 -213
- package/presets/opencode/prompts/v0.1.0/docs.md +0 -181
- package/presets/opencode/prompts/v0.1.0/implementer.md +0 -154
- package/presets/opencode/prompts/v0.1.0/orchestrator.md +0 -169
- package/presets/opencode/prompts/v0.1.0/repo-explorer.md +0 -102
- package/presets/opencode/prompts/v0.1.0/reviewer.md +0 -183
- package/presets/opencode/prompts/v0.1.0/task-coach.md +0 -142
- package/presets/opencode/prompts/v0.1.0/tester.md +0 -160
- package/presets/opencode/prompts/v0.2.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.2.0/architect.md +0 -219
- package/presets/opencode/prompts/v0.2.0/docs.md +0 -187
- package/presets/opencode/prompts/v0.2.0/implementer.md +0 -160
- package/presets/opencode/prompts/v0.2.0/orchestrator.md +0 -238
- package/presets/opencode/prompts/v0.2.0/repo-explorer.md +0 -108
- package/presets/opencode/prompts/v0.2.0/reviewer.md +0 -190
- package/presets/opencode/prompts/v0.2.0/task-coach.md +0 -153
- package/presets/opencode/prompts/v0.2.0/tester.md +0 -249
- package/presets/opencode/prompts/v0.3.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.3.0/architect.md +0 -221
- package/presets/opencode/prompts/v0.3.0/docs.md +0 -189
- package/presets/opencode/prompts/v0.3.0/implementer.md +0 -162
- package/presets/opencode/prompts/v0.3.0/orchestrator.md +0 -360
- package/presets/opencode/prompts/v0.3.0/repo-explorer.md +0 -110
- package/presets/opencode/prompts/v0.3.0/reviewer.md +0 -225
- package/presets/opencode/prompts/v0.3.0/task-coach.md +0 -155
- package/presets/opencode/prompts/v0.3.0/tester.md +0 -251
- package/presets/opencode/prompts/v0.4.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.4.0/architect.md +0 -221
- package/presets/opencode/prompts/v0.4.0/complexity-auditor.md +0 -89
- package/presets/opencode/prompts/v0.4.0/docs.md +0 -189
- package/presets/opencode/prompts/v0.4.0/implementer.md +0 -162
- package/presets/opencode/prompts/v0.4.0/orchestrator.md +0 -348
- package/presets/opencode/prompts/v0.4.0/repo-explorer.md +0 -110
- package/presets/opencode/prompts/v0.4.0/reviewer.md +0 -225
- package/presets/opencode/prompts/v0.4.0/task-coach.md +0 -155
- package/presets/opencode/prompts/v0.4.0/tester.md +0 -251
- package/presets/opencode/prompts/v0.5.0/architect.md +0 -222
- package/presets/opencode/prompts/v0.5.0/complexity-auditor.md +0 -91
- package/presets/opencode/prompts/v0.5.0/contract-builder.md +0 -84
- package/presets/opencode/prompts/v0.5.0/docs.md +0 -190
- package/presets/opencode/prompts/v0.5.0/goal-planner.md +0 -80
- package/presets/opencode/prompts/v0.5.0/implementer.md +0 -171
- package/presets/opencode/prompts/v0.5.0/orchestrator.md +0 -388
- package/presets/opencode/prompts/v0.5.0/repo-explorer.md +0 -111
- package/presets/opencode/prompts/v0.5.0/reviewer.md +0 -248
- package/presets/opencode/prompts/v0.5.0/security-reviewer.md +0 -123
- package/presets/opencode/prompts/v0.5.0/task-coach.md +0 -156
- package/presets/opencode/prompts/v0.5.0/tester.md +0 -252
- package/presets/opencode/prompts/v0.6.0/implementer.md +0 -35
- package/presets/opencode/prompts/v0.6.0/planner.md +0 -36
- package/presets/opencode/prompts/v0.6.0/reviewer.md +0 -40
|
@@ -182,15 +182,15 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
|
|
|
182
182
|
profile?: string | undefined;
|
|
183
183
|
}>;
|
|
184
184
|
defaults: z.ZodObject<{
|
|
185
|
-
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy"]>;
|
|
185
|
+
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
|
|
186
186
|
overwrite: z.ZodBoolean;
|
|
187
187
|
locale: z.ZodDefault<z.ZodOptional<z.ZodEnum<["en", "es"]>>>;
|
|
188
188
|
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
|
|
189
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
190
190
|
overwrite: boolean;
|
|
191
191
|
locale: "en" | "es";
|
|
192
192
|
}, {
|
|
193
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
|
|
193
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
194
194
|
overwrite: boolean;
|
|
195
195
|
locale?: "en" | "es" | undefined;
|
|
196
196
|
}>;
|
|
@@ -287,7 +287,7 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
|
|
|
287
287
|
profile?: string | undefined;
|
|
288
288
|
};
|
|
289
289
|
defaults: {
|
|
290
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
|
|
290
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
291
291
|
overwrite: boolean;
|
|
292
292
|
locale: "en" | "es";
|
|
293
293
|
};
|
|
@@ -322,7 +322,7 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
|
|
|
322
322
|
profile?: string | undefined;
|
|
323
323
|
};
|
|
324
324
|
defaults: {
|
|
325
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
|
|
325
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
326
326
|
overwrite: boolean;
|
|
327
327
|
locale?: "en" | "es" | undefined;
|
|
328
328
|
};
|
|
@@ -354,7 +354,7 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
|
|
|
354
354
|
/**
|
|
355
355
|
* Runner target schema
|
|
356
356
|
*/
|
|
357
|
-
export declare const RunnerTargetSchema: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "all"]>;
|
|
357
|
+
export declare const RunnerTargetSchema: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "all"]>;
|
|
358
358
|
/**
|
|
359
359
|
* Install manifest schemas
|
|
360
360
|
*/
|
|
@@ -379,7 +379,7 @@ export declare const ManifestEntrySchema: z.ZodObject<{
|
|
|
379
379
|
template?: boolean | undefined;
|
|
380
380
|
}>;
|
|
381
381
|
export declare const InstallManifestSchema: z.ZodObject<{
|
|
382
|
-
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy"]>;
|
|
382
|
+
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
|
|
383
383
|
entries: z.ZodArray<z.ZodObject<{
|
|
384
384
|
src: z.ZodString;
|
|
385
385
|
dest: z.ZodString;
|
|
@@ -407,7 +407,7 @@ export declare const InstallManifestSchema: z.ZodObject<{
|
|
|
407
407
|
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
408
408
|
template?: boolean | undefined;
|
|
409
409
|
}[];
|
|
410
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
|
|
410
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
411
411
|
}, {
|
|
412
412
|
entries: {
|
|
413
413
|
src: string;
|
|
@@ -416,7 +416,7 @@ export declare const InstallManifestSchema: z.ZodObject<{
|
|
|
416
416
|
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
417
417
|
template?: boolean | undefined;
|
|
418
418
|
}[];
|
|
419
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
|
|
419
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
420
420
|
}>;
|
|
421
421
|
/**
|
|
422
422
|
* Tool provider names schema — maps base tool names to provider-specific names
|
|
@@ -427,7 +427,7 @@ export declare const PermissionProviderNamesSchema: z.ZodRecord<z.ZodString, z.Z
|
|
|
427
427
|
* Model config schema — defines model names per provider per agent role
|
|
428
428
|
*/
|
|
429
429
|
export declare const ModelConfigSchema: z.ZodObject<{
|
|
430
|
-
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy"]>;
|
|
430
|
+
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
|
|
431
431
|
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
432
432
|
claude: z.ZodOptional<z.ZodString>;
|
|
433
433
|
opencode: z.ZodOptional<z.ZodString>;
|
|
@@ -435,6 +435,7 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
435
435
|
gemini: z.ZodOptional<z.ZodString>;
|
|
436
436
|
cursor: z.ZodOptional<z.ZodString>;
|
|
437
437
|
agy: z.ZodOptional<z.ZodString>;
|
|
438
|
+
pi: z.ZodOptional<z.ZodString>;
|
|
438
439
|
grok: z.ZodOptional<z.ZodString>;
|
|
439
440
|
}, "strip", z.ZodTypeAny, {
|
|
440
441
|
opencode?: string | undefined;
|
|
@@ -443,6 +444,7 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
443
444
|
gemini?: string | undefined;
|
|
444
445
|
cursor?: string | undefined;
|
|
445
446
|
agy?: string | undefined;
|
|
447
|
+
pi?: string | undefined;
|
|
446
448
|
grok?: string | undefined;
|
|
447
449
|
}, {
|
|
448
450
|
opencode?: string | undefined;
|
|
@@ -451,6 +453,7 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
451
453
|
gemini?: string | undefined;
|
|
452
454
|
cursor?: string | undefined;
|
|
453
455
|
agy?: string | undefined;
|
|
456
|
+
pi?: string | undefined;
|
|
454
457
|
grok?: string | undefined;
|
|
455
458
|
}>>;
|
|
456
459
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -463,9 +466,10 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
463
466
|
gemini?: string | undefined;
|
|
464
467
|
cursor?: string | undefined;
|
|
465
468
|
agy?: string | undefined;
|
|
469
|
+
pi?: string | undefined;
|
|
466
470
|
grok?: string | undefined;
|
|
467
471
|
}>;
|
|
468
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
|
|
472
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
469
473
|
tools?: Record<string, Record<string, string>> | undefined;
|
|
470
474
|
permissions?: Record<string, string> | undefined;
|
|
471
475
|
}, {
|
|
@@ -476,13 +480,131 @@ export declare const ModelConfigSchema: z.ZodObject<{
|
|
|
476
480
|
gemini?: string | undefined;
|
|
477
481
|
cursor?: string | undefined;
|
|
478
482
|
agy?: string | undefined;
|
|
483
|
+
pi?: string | undefined;
|
|
479
484
|
grok?: string | undefined;
|
|
480
485
|
}>;
|
|
481
|
-
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
|
|
486
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
482
487
|
tools?: Record<string, Record<string, string>> | undefined;
|
|
483
488
|
permissions?: Record<string, string> | undefined;
|
|
484
489
|
}>;
|
|
485
490
|
export type ModelConfig = z.infer<typeof ModelConfigSchema>;
|
|
491
|
+
/**
|
|
492
|
+
* Skill frontmatter — the minimal invariant every SKILL.md must satisfy
|
|
493
|
+
* regardless of which frontmatter convention it otherwise follows: the bare
|
|
494
|
+
* `{name, description}` form used by most `cc-*` and `security-*` skills, or
|
|
495
|
+
* the extended `{id, name, description, version, license, metadata, ...}`
|
|
496
|
+
* form used by language/stack skills (where `name` is a human-readable title
|
|
497
|
+
* and `id` is the kebab-case identifier). Extra fields are accepted but not
|
|
498
|
+
* required here — normalizing every skill onto one shape is a separate,
|
|
499
|
+
* larger migration than this schema exists to gate.
|
|
500
|
+
*/
|
|
501
|
+
export declare const SkillFrontmatterSchema: z.ZodObject<{
|
|
502
|
+
name: z.ZodString;
|
|
503
|
+
description: z.ZodString;
|
|
504
|
+
id: z.ZodOptional<z.ZodString>;
|
|
505
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
506
|
+
name: z.ZodString;
|
|
507
|
+
description: z.ZodString;
|
|
508
|
+
id: z.ZodOptional<z.ZodString>;
|
|
509
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
510
|
+
name: z.ZodString;
|
|
511
|
+
description: z.ZodString;
|
|
512
|
+
id: z.ZodOptional<z.ZodString>;
|
|
513
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
514
|
+
export type SkillFrontmatter = z.infer<typeof SkillFrontmatterSchema>;
|
|
515
|
+
/**
|
|
516
|
+
* Command frontmatter — every shipped `.md` command currently carries only
|
|
517
|
+
* `description`. The other fields are part of the CCHS v1 standard
|
|
518
|
+
* (docs/harness-spec.md) and are optional here on purpose: Claude Code,
|
|
519
|
+
* Cursor, and Pi already read `argument-hint`/`allowed-tools`/`model` when
|
|
520
|
+
* present, but adding them to the 126 existing command files is a separate,
|
|
521
|
+
* opt-in migration this schema does not force.
|
|
522
|
+
*/
|
|
523
|
+
export declare const CommandFrontmatterSchema: z.ZodObject<{
|
|
524
|
+
description: z.ZodString;
|
|
525
|
+
'argument-hint': z.ZodOptional<z.ZodString>;
|
|
526
|
+
'allowed-tools': z.ZodOptional<z.ZodString>;
|
|
527
|
+
model: z.ZodOptional<z.ZodString>;
|
|
528
|
+
'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
|
|
529
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
530
|
+
description: z.ZodString;
|
|
531
|
+
'argument-hint': z.ZodOptional<z.ZodString>;
|
|
532
|
+
'allowed-tools': z.ZodOptional<z.ZodString>;
|
|
533
|
+
model: z.ZodOptional<z.ZodString>;
|
|
534
|
+
'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
|
|
535
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
536
|
+
description: z.ZodString;
|
|
537
|
+
'argument-hint': z.ZodOptional<z.ZodString>;
|
|
538
|
+
'allowed-tools': z.ZodOptional<z.ZodString>;
|
|
539
|
+
model: z.ZodOptional<z.ZodString>;
|
|
540
|
+
'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
|
|
541
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
542
|
+
export type CommandFrontmatter = z.infer<typeof CommandFrontmatterSchema>;
|
|
543
|
+
/**
|
|
544
|
+
* Target capability matrix (CCHS v1, docs/harness-spec.md) — one
|
|
545
|
+
* `src/presets/targets/<target>.yml` per target, declaring facts a
|
|
546
|
+
* generator can act on mechanically instead of hand-editing prose per
|
|
547
|
+
* target. `capabilities` are scoped to what CodeConductor's own preset
|
|
548
|
+
* installs/manages for that target, not the underlying tool's full native
|
|
549
|
+
* feature set (e.g. Cursor supports MCP natively; CodeConductor's cursor
|
|
550
|
+
* preset doesn't ship an MCP config, so `mcp: false` here).
|
|
551
|
+
*/
|
|
552
|
+
export declare const TargetCapabilitiesSchema: z.ZodObject<{
|
|
553
|
+
target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
|
|
554
|
+
invocation: z.ZodEnum<["colon", "hyphen", "dollar"]>;
|
|
555
|
+
commandFormat: z.ZodEnum<["markdown", "toml", "skill"]>;
|
|
556
|
+
contextFile: z.ZodString;
|
|
557
|
+
/**
|
|
558
|
+
* How this target's rendered commands phrase "run this role now":
|
|
559
|
+
* - task-tool: "Invoke the `X` subagent via the Task tool." (has one)
|
|
560
|
+
* - adopt-role: "Adopt the `X` role as defined in `<contextFile>`." (roles
|
|
561
|
+
* live in one bundled file, not separately invocable subagents)
|
|
562
|
+
* - invoke-with-context: "Invoke `X` with <step-specific context>." (no
|
|
563
|
+
* Task tool; agents are called directly with whatever the step needs)
|
|
564
|
+
*/
|
|
565
|
+
subagentInvocationStyle: z.ZodOptional<z.ZodEnum<["task-tool", "adopt-role", "invoke-with-context"]>>;
|
|
566
|
+
capabilities: z.ZodObject<{
|
|
567
|
+
subagents: z.ZodBoolean;
|
|
568
|
+
hooks: z.ZodBoolean;
|
|
569
|
+
mcp: z.ZodBoolean;
|
|
570
|
+
council: z.ZodBoolean;
|
|
571
|
+
}, "strip", z.ZodTypeAny, {
|
|
572
|
+
council: boolean;
|
|
573
|
+
subagents: boolean;
|
|
574
|
+
hooks: boolean;
|
|
575
|
+
mcp: boolean;
|
|
576
|
+
}, {
|
|
577
|
+
council: boolean;
|
|
578
|
+
subagents: boolean;
|
|
579
|
+
hooks: boolean;
|
|
580
|
+
mcp: boolean;
|
|
581
|
+
}>;
|
|
582
|
+
}, "strip", z.ZodTypeAny, {
|
|
583
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
584
|
+
invocation: "colon" | "hyphen" | "dollar";
|
|
585
|
+
commandFormat: "markdown" | "toml" | "skill";
|
|
586
|
+
contextFile: string;
|
|
587
|
+
capabilities: {
|
|
588
|
+
council: boolean;
|
|
589
|
+
subagents: boolean;
|
|
590
|
+
hooks: boolean;
|
|
591
|
+
mcp: boolean;
|
|
592
|
+
};
|
|
593
|
+
subagentInvocationStyle?: "task-tool" | "adopt-role" | "invoke-with-context" | undefined;
|
|
594
|
+
}, {
|
|
595
|
+
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
596
|
+
invocation: "colon" | "hyphen" | "dollar";
|
|
597
|
+
commandFormat: "markdown" | "toml" | "skill";
|
|
598
|
+
contextFile: string;
|
|
599
|
+
capabilities: {
|
|
600
|
+
council: boolean;
|
|
601
|
+
subagents: boolean;
|
|
602
|
+
hooks: boolean;
|
|
603
|
+
mcp: boolean;
|
|
604
|
+
};
|
|
605
|
+
subagentInvocationStyle?: "task-tool" | "adopt-role" | "invoke-with-context" | undefined;
|
|
606
|
+
}>;
|
|
607
|
+
export type TargetCapabilities = z.infer<typeof TargetCapabilitiesSchema>;
|
|
486
608
|
/**
|
|
487
609
|
* Type exports
|
|
488
610
|
*/
|
|
@@ -504,6 +626,18 @@ export declare function validateCouncilSpec(data: unknown): CouncilSpecInput;
|
|
|
504
626
|
* Validate project profile
|
|
505
627
|
*/
|
|
506
628
|
export declare function validateProjectProfile(data: unknown): ProjectProfileInput;
|
|
629
|
+
/**
|
|
630
|
+
* Validate skill frontmatter
|
|
631
|
+
*/
|
|
632
|
+
export declare function validateSkillFrontmatter(data: unknown): SkillFrontmatter;
|
|
633
|
+
/**
|
|
634
|
+
* Validate command frontmatter
|
|
635
|
+
*/
|
|
636
|
+
export declare function validateCommandFrontmatter(data: unknown): CommandFrontmatter;
|
|
637
|
+
/**
|
|
638
|
+
* Validate a target capability matrix entry
|
|
639
|
+
*/
|
|
640
|
+
export declare function validateTargetCapabilities(data: unknown): TargetCapabilities;
|
|
507
641
|
/**
|
|
508
642
|
* Validate config
|
|
509
643
|
*/
|
|
@@ -2145,11 +2279,81 @@ export declare const OpenspecStateSchema: z.ZodObject<{
|
|
|
2145
2279
|
changePaths?: Record<string, string> | undefined;
|
|
2146
2280
|
itemSnapshots?: Record<string, string> | undefined;
|
|
2147
2281
|
}>;
|
|
2148
|
-
export declare const
|
|
2282
|
+
export declare const SpecAnalyzeFindingSchema: z.ZodObject<{
|
|
2283
|
+
severity: z.ZodEnum<["CRITICAL", "HIGH", "MEDIUM", "LOW"]>;
|
|
2284
|
+
code: z.ZodString;
|
|
2285
|
+
message: z.ZodString;
|
|
2286
|
+
}, "strip", z.ZodTypeAny, {
|
|
2287
|
+
code: string;
|
|
2288
|
+
message: string;
|
|
2289
|
+
severity: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW";
|
|
2290
|
+
}, {
|
|
2291
|
+
code: string;
|
|
2292
|
+
message: string;
|
|
2293
|
+
severity: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW";
|
|
2294
|
+
}>;
|
|
2295
|
+
export declare const SpecAnalyzeReportSchema: z.ZodObject<{
|
|
2296
|
+
changePath: z.ZodString;
|
|
2297
|
+
frIds: z.ZodArray<z.ZodString, "many">;
|
|
2298
|
+
scIds: z.ZodArray<z.ZodString, "many">;
|
|
2299
|
+
mappedFr: z.ZodArray<z.ZodString, "many">;
|
|
2300
|
+
mappedSc: z.ZodArray<z.ZodString, "many">;
|
|
2301
|
+
mappedToTests: z.ZodArray<z.ZodString, "many">;
|
|
2302
|
+
frCoveragePct: z.ZodNumber;
|
|
2303
|
+
scCoveragePct: z.ZodNumber;
|
|
2304
|
+
testCoveragePct: z.ZodNumber;
|
|
2305
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2306
|
+
severity: z.ZodEnum<["CRITICAL", "HIGH", "MEDIUM", "LOW"]>;
|
|
2307
|
+
code: z.ZodString;
|
|
2308
|
+
message: z.ZodString;
|
|
2309
|
+
}, "strip", z.ZodTypeAny, {
|
|
2310
|
+
code: string;
|
|
2311
|
+
message: string;
|
|
2312
|
+
severity: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW";
|
|
2313
|
+
}, {
|
|
2314
|
+
code: string;
|
|
2315
|
+
message: string;
|
|
2316
|
+
severity: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW";
|
|
2317
|
+
}>, "many">;
|
|
2318
|
+
stop: z.ZodBoolean;
|
|
2319
|
+
}, "strip", z.ZodTypeAny, {
|
|
2320
|
+
findings: {
|
|
2321
|
+
code: string;
|
|
2322
|
+
message: string;
|
|
2323
|
+
severity: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW";
|
|
2324
|
+
}[];
|
|
2325
|
+
changePath: string;
|
|
2326
|
+
frIds: string[];
|
|
2327
|
+
scIds: string[];
|
|
2328
|
+
mappedFr: string[];
|
|
2329
|
+
mappedSc: string[];
|
|
2330
|
+
mappedToTests: string[];
|
|
2331
|
+
frCoveragePct: number;
|
|
2332
|
+
scCoveragePct: number;
|
|
2333
|
+
testCoveragePct: number;
|
|
2334
|
+
stop: boolean;
|
|
2335
|
+
}, {
|
|
2336
|
+
findings: {
|
|
2337
|
+
code: string;
|
|
2338
|
+
message: string;
|
|
2339
|
+
severity: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW";
|
|
2340
|
+
}[];
|
|
2341
|
+
changePath: string;
|
|
2342
|
+
frIds: string[];
|
|
2343
|
+
scIds: string[];
|
|
2344
|
+
mappedFr: string[];
|
|
2345
|
+
mappedSc: string[];
|
|
2346
|
+
mappedToTests: string[];
|
|
2347
|
+
frCoveragePct: number;
|
|
2348
|
+
scCoveragePct: number;
|
|
2349
|
+
testCoveragePct: number;
|
|
2350
|
+
stop: boolean;
|
|
2351
|
+
}>;
|
|
2352
|
+
export declare const WorkflowCommandSchema: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "spec-mutation", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2149
2353
|
export declare const CcepOutputFormatSchema: z.ZodEnum<["taskcard", "plan", "verdict"]>;
|
|
2150
2354
|
export declare const CommandEnvelopeSchema: z.ZodObject<{
|
|
2151
2355
|
protocolVersion: z.ZodLiteral<"ccep-1">;
|
|
2152
|
-
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2356
|
+
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "spec-mutation", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2153
2357
|
userRequest: z.ZodString;
|
|
2154
2358
|
projectId: z.ZodString;
|
|
2155
2359
|
repoContext: z.ZodObject<{
|
|
@@ -2192,7 +2396,7 @@ export declare const CommandEnvelopeSchema: z.ZodObject<{
|
|
|
2192
2396
|
maxVariance: "low";
|
|
2193
2397
|
}>;
|
|
2194
2398
|
}, "strip", z.ZodTypeAny, {
|
|
2195
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2399
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2196
2400
|
constraints: {
|
|
2197
2401
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2198
2402
|
needConfirmation: boolean;
|
|
@@ -2212,7 +2416,7 @@ export declare const CommandEnvelopeSchema: z.ZodObject<{
|
|
|
2212
2416
|
maxVariance: "low";
|
|
2213
2417
|
};
|
|
2214
2418
|
}, {
|
|
2215
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2419
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2216
2420
|
constraints: {
|
|
2217
2421
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2218
2422
|
needConfirmation: boolean;
|
|
@@ -2247,9 +2451,9 @@ export declare const WorkflowPhaseSchema: z.ZodObject<{
|
|
|
2247
2451
|
id: string;
|
|
2248
2452
|
type?: string | undefined;
|
|
2249
2453
|
agents?: string[] | undefined;
|
|
2454
|
+
skill?: string | undefined;
|
|
2250
2455
|
agent?: string | undefined;
|
|
2251
2456
|
dependsOn?: string[] | undefined;
|
|
2252
|
-
skill?: string | undefined;
|
|
2253
2457
|
outputSchema?: string | undefined;
|
|
2254
2458
|
stopGate?: string | undefined;
|
|
2255
2459
|
requires?: string | undefined;
|
|
@@ -2258,9 +2462,9 @@ export declare const WorkflowPhaseSchema: z.ZodObject<{
|
|
|
2258
2462
|
id: string;
|
|
2259
2463
|
type?: string | undefined;
|
|
2260
2464
|
agents?: string[] | undefined;
|
|
2465
|
+
skill?: string | undefined;
|
|
2261
2466
|
agent?: string | undefined;
|
|
2262
2467
|
dependsOn?: string[] | undefined;
|
|
2263
|
-
skill?: string | undefined;
|
|
2264
2468
|
outputSchema?: string | undefined;
|
|
2265
2469
|
stopGate?: string | undefined;
|
|
2266
2470
|
requires?: string | undefined;
|
|
@@ -2289,7 +2493,7 @@ export declare const WorkflowRiskRuleSchema: z.ZodObject<{
|
|
|
2289
2493
|
export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
2290
2494
|
id: z.ZodString;
|
|
2291
2495
|
version: z.ZodNumber;
|
|
2292
|
-
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2496
|
+
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "spec-mutation", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2293
2497
|
taskCard: z.ZodOptional<z.ZodObject<{
|
|
2294
2498
|
type: z.ZodString;
|
|
2295
2499
|
requiredFields: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2319,9 +2523,9 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2319
2523
|
id: string;
|
|
2320
2524
|
type?: string | undefined;
|
|
2321
2525
|
agents?: string[] | undefined;
|
|
2526
|
+
skill?: string | undefined;
|
|
2322
2527
|
agent?: string | undefined;
|
|
2323
2528
|
dependsOn?: string[] | undefined;
|
|
2324
|
-
skill?: string | undefined;
|
|
2325
2529
|
outputSchema?: string | undefined;
|
|
2326
2530
|
stopGate?: string | undefined;
|
|
2327
2531
|
requires?: string | undefined;
|
|
@@ -2330,9 +2534,9 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2330
2534
|
id: string;
|
|
2331
2535
|
type?: string | undefined;
|
|
2332
2536
|
agents?: string[] | undefined;
|
|
2537
|
+
skill?: string | undefined;
|
|
2333
2538
|
agent?: string | undefined;
|
|
2334
2539
|
dependsOn?: string[] | undefined;
|
|
2335
|
-
skill?: string | undefined;
|
|
2336
2540
|
outputSchema?: string | undefined;
|
|
2337
2541
|
stopGate?: string | undefined;
|
|
2338
2542
|
requires?: string | undefined;
|
|
@@ -2390,14 +2594,14 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2390
2594
|
}, "strip", z.ZodTypeAny, {
|
|
2391
2595
|
id: string;
|
|
2392
2596
|
version: number;
|
|
2393
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2597
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2394
2598
|
phases: {
|
|
2395
2599
|
id: string;
|
|
2396
2600
|
type?: string | undefined;
|
|
2397
2601
|
agents?: string[] | undefined;
|
|
2602
|
+
skill?: string | undefined;
|
|
2398
2603
|
agent?: string | undefined;
|
|
2399
2604
|
dependsOn?: string[] | undefined;
|
|
2400
|
-
skill?: string | undefined;
|
|
2401
2605
|
outputSchema?: string | undefined;
|
|
2402
2606
|
stopGate?: string | undefined;
|
|
2403
2607
|
requires?: string | undefined;
|
|
@@ -2425,14 +2629,14 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2425
2629
|
}, {
|
|
2426
2630
|
id: string;
|
|
2427
2631
|
version: number;
|
|
2428
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2632
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2429
2633
|
phases: {
|
|
2430
2634
|
id: string;
|
|
2431
2635
|
type?: string | undefined;
|
|
2432
2636
|
agents?: string[] | undefined;
|
|
2637
|
+
skill?: string | undefined;
|
|
2433
2638
|
agent?: string | undefined;
|
|
2434
2639
|
dependsOn?: string[] | undefined;
|
|
2435
|
-
skill?: string | undefined;
|
|
2436
2640
|
outputSchema?: string | undefined;
|
|
2437
2641
|
stopGate?: string | undefined;
|
|
2438
2642
|
requires?: string | undefined;
|
|
@@ -2460,14 +2664,14 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2460
2664
|
}>, {
|
|
2461
2665
|
id: string;
|
|
2462
2666
|
version: number;
|
|
2463
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2667
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2464
2668
|
phases: {
|
|
2465
2669
|
id: string;
|
|
2466
2670
|
type?: string | undefined;
|
|
2467
2671
|
agents?: string[] | undefined;
|
|
2672
|
+
skill?: string | undefined;
|
|
2468
2673
|
agent?: string | undefined;
|
|
2469
2674
|
dependsOn?: string[] | undefined;
|
|
2470
|
-
skill?: string | undefined;
|
|
2471
2675
|
outputSchema?: string | undefined;
|
|
2472
2676
|
stopGate?: string | undefined;
|
|
2473
2677
|
requires?: string | undefined;
|
|
@@ -2495,14 +2699,14 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2495
2699
|
}, {
|
|
2496
2700
|
id: string;
|
|
2497
2701
|
version: number;
|
|
2498
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2702
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2499
2703
|
phases: {
|
|
2500
2704
|
id: string;
|
|
2501
2705
|
type?: string | undefined;
|
|
2502
2706
|
agents?: string[] | undefined;
|
|
2707
|
+
skill?: string | undefined;
|
|
2503
2708
|
agent?: string | undefined;
|
|
2504
2709
|
dependsOn?: string[] | undefined;
|
|
2505
|
-
skill?: string | undefined;
|
|
2506
2710
|
outputSchema?: string | undefined;
|
|
2507
2711
|
stopGate?: string | undefined;
|
|
2508
2712
|
requires?: string | undefined;
|
|
@@ -2531,7 +2735,7 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2531
2735
|
export declare const ExecutionContextSchema: z.ZodObject<{
|
|
2532
2736
|
envelope: z.ZodObject<{
|
|
2533
2737
|
protocolVersion: z.ZodLiteral<"ccep-1">;
|
|
2534
|
-
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2738
|
+
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "spec-mutation", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2535
2739
|
userRequest: z.ZodString;
|
|
2536
2740
|
projectId: z.ZodString;
|
|
2537
2741
|
repoContext: z.ZodObject<{
|
|
@@ -2574,7 +2778,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2574
2778
|
maxVariance: "low";
|
|
2575
2779
|
}>;
|
|
2576
2780
|
}, "strip", z.ZodTypeAny, {
|
|
2577
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2781
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2578
2782
|
constraints: {
|
|
2579
2783
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2580
2784
|
needConfirmation: boolean;
|
|
@@ -2594,7 +2798,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2594
2798
|
maxVariance: "low";
|
|
2595
2799
|
};
|
|
2596
2800
|
}, {
|
|
2597
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2801
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2598
2802
|
constraints: {
|
|
2599
2803
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2600
2804
|
needConfirmation: boolean;
|
|
@@ -2617,7 +2821,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2617
2821
|
profile: z.ZodEffects<z.ZodObject<{
|
|
2618
2822
|
id: z.ZodString;
|
|
2619
2823
|
version: z.ZodNumber;
|
|
2620
|
-
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2824
|
+
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "spec-mutation", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2621
2825
|
taskCard: z.ZodOptional<z.ZodObject<{
|
|
2622
2826
|
type: z.ZodString;
|
|
2623
2827
|
requiredFields: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2647,9 +2851,9 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2647
2851
|
id: string;
|
|
2648
2852
|
type?: string | undefined;
|
|
2649
2853
|
agents?: string[] | undefined;
|
|
2854
|
+
skill?: string | undefined;
|
|
2650
2855
|
agent?: string | undefined;
|
|
2651
2856
|
dependsOn?: string[] | undefined;
|
|
2652
|
-
skill?: string | undefined;
|
|
2653
2857
|
outputSchema?: string | undefined;
|
|
2654
2858
|
stopGate?: string | undefined;
|
|
2655
2859
|
requires?: string | undefined;
|
|
@@ -2658,9 +2862,9 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2658
2862
|
id: string;
|
|
2659
2863
|
type?: string | undefined;
|
|
2660
2864
|
agents?: string[] | undefined;
|
|
2865
|
+
skill?: string | undefined;
|
|
2661
2866
|
agent?: string | undefined;
|
|
2662
2867
|
dependsOn?: string[] | undefined;
|
|
2663
|
-
skill?: string | undefined;
|
|
2664
2868
|
outputSchema?: string | undefined;
|
|
2665
2869
|
stopGate?: string | undefined;
|
|
2666
2870
|
requires?: string | undefined;
|
|
@@ -2718,14 +2922,14 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2718
2922
|
}, "strip", z.ZodTypeAny, {
|
|
2719
2923
|
id: string;
|
|
2720
2924
|
version: number;
|
|
2721
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2925
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2722
2926
|
phases: {
|
|
2723
2927
|
id: string;
|
|
2724
2928
|
type?: string | undefined;
|
|
2725
2929
|
agents?: string[] | undefined;
|
|
2930
|
+
skill?: string | undefined;
|
|
2726
2931
|
agent?: string | undefined;
|
|
2727
2932
|
dependsOn?: string[] | undefined;
|
|
2728
|
-
skill?: string | undefined;
|
|
2729
2933
|
outputSchema?: string | undefined;
|
|
2730
2934
|
stopGate?: string | undefined;
|
|
2731
2935
|
requires?: string | undefined;
|
|
@@ -2753,14 +2957,14 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2753
2957
|
}, {
|
|
2754
2958
|
id: string;
|
|
2755
2959
|
version: number;
|
|
2756
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2960
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2757
2961
|
phases: {
|
|
2758
2962
|
id: string;
|
|
2759
2963
|
type?: string | undefined;
|
|
2760
2964
|
agents?: string[] | undefined;
|
|
2965
|
+
skill?: string | undefined;
|
|
2761
2966
|
agent?: string | undefined;
|
|
2762
2967
|
dependsOn?: string[] | undefined;
|
|
2763
|
-
skill?: string | undefined;
|
|
2764
2968
|
outputSchema?: string | undefined;
|
|
2765
2969
|
stopGate?: string | undefined;
|
|
2766
2970
|
requires?: string | undefined;
|
|
@@ -2788,14 +2992,14 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2788
2992
|
}>, {
|
|
2789
2993
|
id: string;
|
|
2790
2994
|
version: number;
|
|
2791
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2995
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2792
2996
|
phases: {
|
|
2793
2997
|
id: string;
|
|
2794
2998
|
type?: string | undefined;
|
|
2795
2999
|
agents?: string[] | undefined;
|
|
3000
|
+
skill?: string | undefined;
|
|
2796
3001
|
agent?: string | undefined;
|
|
2797
3002
|
dependsOn?: string[] | undefined;
|
|
2798
|
-
skill?: string | undefined;
|
|
2799
3003
|
outputSchema?: string | undefined;
|
|
2800
3004
|
stopGate?: string | undefined;
|
|
2801
3005
|
requires?: string | undefined;
|
|
@@ -2823,14 +3027,14 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2823
3027
|
}, {
|
|
2824
3028
|
id: string;
|
|
2825
3029
|
version: number;
|
|
2826
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3030
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2827
3031
|
phases: {
|
|
2828
3032
|
id: string;
|
|
2829
3033
|
type?: string | undefined;
|
|
2830
3034
|
agents?: string[] | undefined;
|
|
3035
|
+
skill?: string | undefined;
|
|
2831
3036
|
agent?: string | undefined;
|
|
2832
3037
|
dependsOn?: string[] | undefined;
|
|
2833
|
-
skill?: string | undefined;
|
|
2834
3038
|
outputSchema?: string | undefined;
|
|
2835
3039
|
stopGate?: string | undefined;
|
|
2836
3040
|
requires?: string | undefined;
|
|
@@ -2857,19 +3061,19 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2857
3061
|
intakeSchema?: string | undefined;
|
|
2858
3062
|
}>;
|
|
2859
3063
|
intent: z.ZodObject<{
|
|
2860
|
-
type: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
3064
|
+
type: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "spec-mutation", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2861
3065
|
goal: z.ZodString;
|
|
2862
3066
|
domain: z.ZodOptional<z.ZodString>;
|
|
2863
3067
|
entity: z.ZodOptional<z.ZodString>;
|
|
2864
3068
|
operation: z.ZodOptional<z.ZodString>;
|
|
2865
3069
|
}, "strip", z.ZodTypeAny, {
|
|
2866
|
-
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3070
|
+
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2867
3071
|
goal: string;
|
|
2868
3072
|
domain?: string | undefined;
|
|
2869
3073
|
entity?: string | undefined;
|
|
2870
3074
|
operation?: string | undefined;
|
|
2871
3075
|
}, {
|
|
2872
|
-
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3076
|
+
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2873
3077
|
goal: string;
|
|
2874
3078
|
domain?: string | undefined;
|
|
2875
3079
|
entity?: string | undefined;
|
|
@@ -2932,14 +3136,14 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2932
3136
|
profile: {
|
|
2933
3137
|
id: string;
|
|
2934
3138
|
version: number;
|
|
2935
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3139
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2936
3140
|
phases: {
|
|
2937
3141
|
id: string;
|
|
2938
3142
|
type?: string | undefined;
|
|
2939
3143
|
agents?: string[] | undefined;
|
|
3144
|
+
skill?: string | undefined;
|
|
2940
3145
|
agent?: string | undefined;
|
|
2941
3146
|
dependsOn?: string[] | undefined;
|
|
2942
|
-
skill?: string | undefined;
|
|
2943
3147
|
outputSchema?: string | undefined;
|
|
2944
3148
|
stopGate?: string | undefined;
|
|
2945
3149
|
requires?: string | undefined;
|
|
@@ -2967,7 +3171,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2967
3171
|
};
|
|
2968
3172
|
outputSchema: string;
|
|
2969
3173
|
envelope: {
|
|
2970
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3174
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2971
3175
|
constraints: {
|
|
2972
3176
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2973
3177
|
needConfirmation: boolean;
|
|
@@ -2988,7 +3192,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2988
3192
|
};
|
|
2989
3193
|
};
|
|
2990
3194
|
intent: {
|
|
2991
|
-
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3195
|
+
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2992
3196
|
goal: string;
|
|
2993
3197
|
domain?: string | undefined;
|
|
2994
3198
|
entity?: string | undefined;
|
|
@@ -3017,14 +3221,14 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
3017
3221
|
profile: {
|
|
3018
3222
|
id: string;
|
|
3019
3223
|
version: number;
|
|
3020
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3224
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3021
3225
|
phases: {
|
|
3022
3226
|
id: string;
|
|
3023
3227
|
type?: string | undefined;
|
|
3024
3228
|
agents?: string[] | undefined;
|
|
3229
|
+
skill?: string | undefined;
|
|
3025
3230
|
agent?: string | undefined;
|
|
3026
3231
|
dependsOn?: string[] | undefined;
|
|
3027
|
-
skill?: string | undefined;
|
|
3028
3232
|
outputSchema?: string | undefined;
|
|
3029
3233
|
stopGate?: string | undefined;
|
|
3030
3234
|
requires?: string | undefined;
|
|
@@ -3052,7 +3256,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
3052
3256
|
};
|
|
3053
3257
|
outputSchema: string;
|
|
3054
3258
|
envelope: {
|
|
3055
|
-
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3259
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3056
3260
|
constraints: {
|
|
3057
3261
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
3058
3262
|
needConfirmation: boolean;
|
|
@@ -3073,7 +3277,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
3073
3277
|
};
|
|
3074
3278
|
};
|
|
3075
3279
|
intent: {
|
|
3076
|
-
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3280
|
+
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "spec-mutation" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3077
3281
|
goal: string;
|
|
3078
3282
|
domain?: string | undefined;
|
|
3079
3283
|
entity?: string | undefined;
|
|
@@ -3505,9 +3709,9 @@ export declare const ScorecardRecordSchema: z.ZodObject<{
|
|
|
3505
3709
|
}[];
|
|
3506
3710
|
weightedScore: number;
|
|
3507
3711
|
createdAt: string;
|
|
3712
|
+
model?: string | undefined;
|
|
3508
3713
|
source?: "review" | "openspec" | "manual" | "pipeline" | undefined;
|
|
3509
3714
|
backlogId?: string | undefined;
|
|
3510
|
-
model?: string | undefined;
|
|
3511
3715
|
evaluator?: string | undefined;
|
|
3512
3716
|
}, {
|
|
3513
3717
|
id: string;
|
|
@@ -3525,10 +3729,10 @@ export declare const ScorecardRecordSchema: z.ZodObject<{
|
|
|
3525
3729
|
}[];
|
|
3526
3730
|
weightedScore: number;
|
|
3527
3731
|
createdAt: string;
|
|
3732
|
+
model?: string | undefined;
|
|
3528
3733
|
findings?: string[] | undefined;
|
|
3529
3734
|
source?: "review" | "openspec" | "manual" | "pipeline" | undefined;
|
|
3530
3735
|
backlogId?: string | undefined;
|
|
3531
|
-
model?: string | undefined;
|
|
3532
3736
|
evaluator?: string | undefined;
|
|
3533
3737
|
}>;
|
|
3534
3738
|
export declare const TaskOutcomeSourceSchema: z.ZodEnum<["openspec", "review", "manual", "pipeline"]>;
|
|
@@ -3559,12 +3763,12 @@ export declare const TaskOutcomeSchema: z.ZodObject<{
|
|
|
3559
3763
|
disabledComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3560
3764
|
}, "strip", z.ZodTypeAny, {
|
|
3561
3765
|
id: string;
|
|
3766
|
+
model: string;
|
|
3562
3767
|
contractVersion: string;
|
|
3563
3768
|
timestamp: string;
|
|
3564
3769
|
source: "review" | "openspec" | "manual" | "pipeline";
|
|
3565
3770
|
taskId: string;
|
|
3566
3771
|
agent: string;
|
|
3567
|
-
model: string;
|
|
3568
3772
|
status?: "reject" | "pass" | "phase_done" | "phase_failed" | "revise" | undefined;
|
|
3569
3773
|
backlogId?: string | undefined;
|
|
3570
3774
|
phase?: string | undefined;
|
|
@@ -3583,12 +3787,12 @@ export declare const TaskOutcomeSchema: z.ZodObject<{
|
|
|
3583
3787
|
disabledComponents?: string[] | undefined;
|
|
3584
3788
|
}, {
|
|
3585
3789
|
id: string;
|
|
3790
|
+
model: string;
|
|
3586
3791
|
contractVersion: string;
|
|
3587
3792
|
timestamp: string;
|
|
3588
3793
|
source: "review" | "openspec" | "manual" | "pipeline";
|
|
3589
3794
|
taskId: string;
|
|
3590
3795
|
agent: string;
|
|
3591
|
-
model: string;
|
|
3592
3796
|
status?: "reject" | "pass" | "phase_done" | "phase_failed" | "revise" | undefined;
|
|
3593
3797
|
backlogId?: string | undefined;
|
|
3594
3798
|
phase?: string | undefined;
|
|
@@ -3856,7 +4060,7 @@ export declare const EvaluationIndexSchema: z.ZodObject<{
|
|
|
3856
4060
|
export declare const ExecutionProfileNameSchema: z.ZodEnum<["balanced", "quality", "economical"]>;
|
|
3857
4061
|
export declare const ExecutionProfileSchema: z.ZodObject<{
|
|
3858
4062
|
profile: z.ZodDefault<z.ZodEnum<["balanced", "quality", "economical"]>>;
|
|
3859
|
-
target: z.ZodOptional<z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy"]>>;
|
|
4063
|
+
target: z.ZodOptional<z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>>;
|
|
3860
4064
|
overrides: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3861
4065
|
subagentPolicy: z.ZodOptional<z.ZodObject<{
|
|
3862
4066
|
orchestrator: z.ZodOptional<z.ZodEnum<["primary", "delegate"]>>;
|
|
@@ -3871,14 +4075,14 @@ export declare const ExecutionProfileSchema: z.ZodObject<{
|
|
|
3871
4075
|
}, "strip", z.ZodTypeAny, {
|
|
3872
4076
|
profile: "balanced" | "quality" | "economical";
|
|
3873
4077
|
overrides: Record<string, string>;
|
|
3874
|
-
target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | undefined;
|
|
4078
|
+
target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | undefined;
|
|
3875
4079
|
subagentPolicy?: {
|
|
3876
4080
|
orchestrator?: "primary" | "delegate" | undefined;
|
|
3877
4081
|
testerReviewer?: "primary" | "delegate" | undefined;
|
|
3878
4082
|
} | undefined;
|
|
3879
4083
|
}, {
|
|
3880
4084
|
profile?: "balanced" | "quality" | "economical" | undefined;
|
|
3881
|
-
target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | undefined;
|
|
4085
|
+
target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | undefined;
|
|
3882
4086
|
overrides?: Record<string, string> | undefined;
|
|
3883
4087
|
subagentPolicy?: {
|
|
3884
4088
|
orchestrator?: "primary" | "delegate" | undefined;
|
|
@@ -3920,6 +4124,7 @@ export type OpenspecTaskCardPhaseInput = z.infer<typeof OpenspecTaskCardPhaseSch
|
|
|
3920
4124
|
export type OpenspecTaskCardStatusInput = z.infer<typeof OpenspecTaskCardStatusSchema>;
|
|
3921
4125
|
export type OpenspecTaskCardInput = z.infer<typeof OpenspecTaskCardSchema>;
|
|
3922
4126
|
export type OpenspecStateInput = z.infer<typeof OpenspecStateSchema>;
|
|
4127
|
+
export type SpecAnalyzeReportInput = z.infer<typeof SpecAnalyzeReportSchema>;
|
|
3923
4128
|
export type ScorecardVerdictInput = z.infer<typeof ScorecardVerdictSchema>;
|
|
3924
4129
|
export type ScorecardCriterionInput = z.infer<typeof ScorecardCriterionSchema>;
|
|
3925
4130
|
export type ScorecardRecordInput = z.infer<typeof ScorecardRecordSchema>;
|
|
@@ -4004,3 +4209,31 @@ export declare function validateDecision(data: unknown): DecisionInput;
|
|
|
4004
4209
|
export declare function validateEvidence(data: unknown): EvidenceInput;
|
|
4005
4210
|
export declare function validateCanonicalTaskCard(data: unknown): CanonicalTaskCardInput;
|
|
4006
4211
|
export declare function validateProductEvent(data: unknown): ProductEventInput;
|
|
4212
|
+
/**
|
|
4213
|
+
* Skills registry schema — the bundled registry mapping skill IDs to their versions
|
|
4214
|
+
*/
|
|
4215
|
+
export declare const SkillsRegistrySchema: z.ZodObject<{
|
|
4216
|
+
version: z.ZodLiteral<1>;
|
|
4217
|
+
skills: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4218
|
+
version: z.ZodString;
|
|
4219
|
+
}, "strip", z.ZodTypeAny, {
|
|
4220
|
+
version: string;
|
|
4221
|
+
}, {
|
|
4222
|
+
version: string;
|
|
4223
|
+
}>>;
|
|
4224
|
+
}, "strip", z.ZodTypeAny, {
|
|
4225
|
+
version: 1;
|
|
4226
|
+
skills: Record<string, {
|
|
4227
|
+
version: string;
|
|
4228
|
+
}>;
|
|
4229
|
+
}, {
|
|
4230
|
+
version: 1;
|
|
4231
|
+
skills: Record<string, {
|
|
4232
|
+
version: string;
|
|
4233
|
+
}>;
|
|
4234
|
+
}>;
|
|
4235
|
+
export type SkillsRegistry = z.infer<typeof SkillsRegistrySchema>;
|
|
4236
|
+
/**
|
|
4237
|
+
* Validate skills registry
|
|
4238
|
+
*/
|
|
4239
|
+
export declare function validateSkillsRegistry(data: unknown): SkillsRegistry;
|