cc-codeconductor 1.4.2 → 1.5.1
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 +52 -14
- package/dist/domain/product/entities.d.ts +1 -1
- package/dist/index.js +811 -354
- package/dist/library.js +47 -3
- package/dist/validation/schemas.d.ts +183 -21
- package/docs/generated/cli.md +16 -0
- package/package.json +1 -1
- package/presets/agy/README.md +1 -1
- package/presets/agy/hooks.json +1 -1
- package/presets/agy/scripts/invoke-hook.cjs +20 -5
- package/presets/agy/settings.json +1 -1
- package/presets/agy/skills/api-versioning/SKILL.md +394 -0
- package/presets/agy/skills/astro/SKILL.md +318 -0
- package/presets/agy/skills/auth-token-inspector/SKILL.md +30 -0
- package/presets/agy/skills/cc-pagespeed/SKILL.md +2 -3
- package/presets/agy/skills/code-review/SKILL.md +207 -0
- package/presets/agy/skills/django-orm/SKILL.md +460 -0
- package/presets/agy/skills/django-uv/SKILL.md +405 -0
- package/presets/agy/skills/drizzle-schema-architect/SKILL.md +50 -0
- package/presets/agy/skills/fastapi-pydantic-strict/SKILL.md +43 -0
- package/presets/agy/skills/jpa-nplusone-detector/SKILL.md +45 -0
- package/presets/agy/skills/jpa-postgres/SKILL.md +623 -0
- package/presets/agy/skills/livewire-alpine-bridge/SKILL.md +35 -0
- package/presets/agy/skills/nextjs-typescript/SKILL.md +390 -0
- package/presets/agy/skills/python/SKILL.md +611 -0
- package/presets/agy/skills/seo-analytics-injector/SKILL.md +43 -0
- package/presets/agy/skills/spring-auth-auditor/SKILL.md +29 -0
- package/presets/agy/skills/spring-boot-feature/SKILL.md +563 -0
- package/presets/agy/skills/spring-boot-testing-strategy/SKILL.md +475 -0
- package/presets/agy/skills/tailwind-responsive-auditor/SKILL.md +29 -0
- package/presets/agy/skills/tdd-mutation-tester/SKILL.md +27 -0
- package/presets/agy/workflows/cc-api-contract.md +4 -5
- package/presets/agy/workflows/cc-backlog.md +4 -5
- package/presets/agy/workflows/cc-clarify.md +4 -5
- package/presets/agy/workflows/cc-council.md +4 -5
- package/presets/agy/workflows/cc-db-migration.md +4 -5
- package/presets/agy/workflows/cc-explore.md +4 -5
- package/presets/agy/workflows/cc-feature.md +4 -5
- package/presets/agy/workflows/cc-fix.md +4 -5
- package/presets/agy/workflows/cc-handoff.md +8 -5
- package/presets/agy/workflows/cc-iterative.md +4 -5
- package/presets/agy/workflows/cc-odd.md +4 -3
- package/presets/agy/workflows/cc-openspec.md +5 -6
- package/presets/agy/workflows/cc-pagespeed.md +6 -8
- package/presets/agy/workflows/cc-prototype.md +4 -5
- package/presets/agy/workflows/cc-refactor.md +4 -5
- package/presets/agy/workflows/cc-review.md +35 -5
- package/presets/agy/workflows/cc-scorecard.md +4 -5
- package/presets/agy/workflows/cc-security.md +5 -6
- package/presets/agy/workflows/cc-spec-mutation.md +4 -5
- package/presets/agy/workflows/cc-tdd-cycle.md +4 -5
- package/presets/agy/workflows/cc-test-plan.md +4 -5
- package/presets/agy/workflows/cc-triage.md +4 -5
- package/presets/claude/CLAUDE.md +6 -5
- package/presets/claude/commands/cc/api-contract.md +4 -5
- package/presets/claude/commands/cc/backlog.md +4 -5
- package/presets/claude/commands/cc/clarify.md +4 -5
- package/presets/claude/commands/cc/council.md +4 -5
- package/presets/claude/commands/cc/db-migration.md +4 -5
- package/presets/claude/commands/cc/explore.md +4 -5
- package/presets/claude/commands/cc/feature.md +4 -5
- package/presets/claude/commands/cc/fix.md +4 -5
- package/presets/claude/commands/cc/handoff.md +8 -5
- package/presets/claude/commands/cc/iterative.md +4 -5
- package/presets/claude/commands/cc/odd.md +4 -3
- package/presets/claude/commands/cc/openspec.md +23 -7
- package/presets/claude/commands/cc/pagespeed.md +4 -5
- package/presets/claude/commands/cc/prototype.md +4 -5
- package/presets/claude/commands/cc/refactor.md +4 -5
- package/presets/claude/commands/cc/review.md +37 -5
- package/presets/claude/commands/cc/scorecard.md +4 -5
- package/presets/claude/commands/cc/security.md +4 -5
- package/presets/claude/commands/cc/spec-mutation.md +4 -5
- package/presets/claude/commands/cc/tdd-cycle.md +4 -5
- package/presets/claude/commands/cc/test-plan.md +4 -5
- package/presets/claude/commands/cc/triage.md +4 -5
- package/presets/claude/settings.json +33 -79
- package/presets/claude/skills/android/SKILL.md +1 -1
- package/presets/claude/skills/api-versioning/SKILL.md +1 -1
- package/presets/claude/skills/astro/SKILL.md +318 -0
- package/presets/claude/skills/auth-token-inspector/SKILL.md +30 -0
- package/presets/claude/skills/code-review/SKILL.md +207 -0
- package/presets/claude/skills/django-orm/SKILL.md +1 -1
- package/presets/claude/skills/django-testing/SKILL.md +1 -1
- package/presets/claude/skills/django-uv/SKILL.md +405 -0
- package/presets/claude/skills/drizzle-schema-architect/SKILL.md +50 -0
- package/presets/claude/skills/fastapi-pydantic-strict/SKILL.md +43 -0
- package/presets/claude/skills/jpa-nplusone-detector/SKILL.md +45 -0
- package/presets/claude/skills/jpa-postgres/SKILL.md +1 -1
- package/presets/claude/skills/livewire-alpine-bridge/SKILL.md +35 -0
- package/presets/claude/skills/nextjs-typescript/SKILL.md +390 -0
- package/presets/claude/skills/pagespeed-perf/SKILL.md +1 -1
- package/presets/claude/skills/python/SKILL.md +1 -1
- package/presets/claude/skills/python-django-stack/SKILL.md +1 -1
- package/presets/claude/skills/python-fastapi-stack/SKILL.md +1 -1
- package/presets/claude/skills/security/SKILL.md +1 -1
- package/presets/claude/skills/seo-analytics-injector/SKILL.md +43 -0
- package/presets/claude/skills/spring-auth-auditor/SKILL.md +29 -0
- package/presets/claude/skills/spring-boot-feature/SKILL.md +1 -1
- package/presets/claude/skills/spring-boot-kotlin/SKILL.md +1 -1
- package/presets/claude/skills/spring-boot-testing-strategy/SKILL.md +475 -0
- package/presets/claude/skills/sqlalchemy/SKILL.md +1 -1
- package/presets/claude/skills/tailwind-responsive-auditor/SKILL.md +29 -0
- package/presets/claude/skills/tdd-mutation-tester/SKILL.md +27 -0
- package/presets/claude/skills/testing-strategy/SKILL.md +1 -1
- package/presets/codex/config.toml +2 -0
- package/presets/codex/skills/android/SKILL.md +1 -1
- package/presets/codex/skills/api-versioning/SKILL.md +1 -1
- package/presets/codex/skills/astro/SKILL.md +318 -0
- package/presets/codex/skills/auth-token-inspector/SKILL.md +30 -0
- package/presets/codex/skills/cc-api-contract/SKILL.md +4 -5
- package/presets/codex/skills/cc-backlog/SKILL.md +4 -5
- package/presets/codex/skills/cc-clarify/SKILL.md +4 -5
- package/presets/codex/skills/cc-council/SKILL.md +10 -5
- package/presets/codex/skills/cc-db-migration/SKILL.md +4 -5
- package/presets/codex/skills/cc-explore/SKILL.md +4 -5
- package/presets/codex/skills/cc-feature/SKILL.md +4 -5
- package/presets/codex/skills/cc-fix/SKILL.md +4 -5
- package/presets/codex/skills/cc-handoff/SKILL.md +8 -5
- package/presets/codex/skills/cc-iterative/SKILL.md +4 -5
- package/presets/codex/skills/cc-odd/SKILL.md +4 -3
- package/presets/codex/skills/cc-openspec/SKILL.md +12 -7
- package/presets/codex/skills/cc-pagespeed/SKILL.md +6 -8
- package/presets/codex/skills/cc-prototype/SKILL.md +4 -5
- package/presets/codex/skills/cc-refactor/SKILL.md +4 -5
- package/presets/codex/skills/cc-review/SKILL.md +35 -5
- package/presets/codex/skills/cc-scorecard/SKILL.md +4 -5
- package/presets/codex/skills/cc-security/SKILL.md +5 -6
- package/presets/codex/skills/cc-spec-mutation/SKILL.md +4 -5
- package/presets/codex/skills/cc-tdd-cycle/SKILL.md +4 -5
- package/presets/codex/skills/cc-test-plan/SKILL.md +4 -5
- package/presets/codex/skills/cc-triage/SKILL.md +4 -5
- package/presets/codex/skills/code-review/SKILL.md +207 -0
- package/presets/codex/skills/django-orm/SKILL.md +1 -1
- package/presets/codex/skills/django-testing/SKILL.md +1 -1
- package/presets/codex/skills/django-uv/SKILL.md +405 -0
- package/presets/codex/skills/drizzle-schema-architect/SKILL.md +50 -0
- package/presets/codex/skills/fastapi-pydantic-strict/SKILL.md +43 -0
- package/presets/codex/skills/jpa-nplusone-detector/SKILL.md +45 -0
- package/presets/codex/skills/jpa-postgres/SKILL.md +1 -1
- package/presets/codex/skills/livewire-alpine-bridge/SKILL.md +35 -0
- package/presets/codex/skills/nextjs-typescript/SKILL.md +390 -0
- package/presets/codex/skills/pagespeed-perf/SKILL.md +1 -1
- package/presets/codex/skills/python/SKILL.md +1 -1
- package/presets/codex/skills/python-django-stack/SKILL.md +1 -1
- package/presets/codex/skills/python-fastapi-stack/SKILL.md +1 -1
- package/presets/codex/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/codex/skills/security-blue-team/SKILL.md +43 -0
- package/presets/codex/skills/security-cloud/SKILL.md +43 -0
- package/presets/codex/skills/security-crypto/SKILL.md +43 -0
- package/presets/codex/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/codex/skills/security-grc/SKILL.md +43 -0
- package/presets/codex/skills/security-incident-response/SKILL.md +45 -0
- package/presets/codex/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/codex/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/codex/skills/security-mobile/SKILL.md +43 -0
- package/presets/codex/skills/security-network/SKILL.md +43 -0
- package/presets/codex/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/codex/skills/security-recon/SKILL.md +45 -0
- package/presets/codex/skills/security-red-team/SKILL.md +44 -0
- package/presets/codex/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/codex/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/codex/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/codex/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/codex/skills/security-web/SKILL.md +44 -0
- package/presets/codex/skills/seo-analytics-injector/SKILL.md +43 -0
- package/presets/codex/skills/spring-auth-auditor/SKILL.md +29 -0
- package/presets/codex/skills/spring-boot-feature/SKILL.md +2 -2
- package/presets/codex/skills/spring-boot-kotlin/SKILL.md +1 -1
- package/presets/codex/skills/spring-boot-testing-strategy/SKILL.md +475 -0
- package/presets/codex/skills/sqlalchemy/SKILL.md +1 -1
- package/presets/codex/skills/tailwind-responsive-auditor/SKILL.md +29 -0
- package/presets/codex/skills/tdd-mutation-tester/SKILL.md +27 -0
- package/presets/codex/skills/testing-strategy/SKILL.md +1 -1
- package/presets/cursor/commands/cc/api-contract.md +4 -5
- package/presets/cursor/commands/cc/backlog.md +4 -5
- package/presets/cursor/commands/cc/clarify.md +4 -5
- package/presets/cursor/commands/cc/council.md +4 -5
- package/presets/cursor/commands/cc/db-migration.md +4 -5
- package/presets/cursor/commands/cc/explore.md +4 -5
- package/presets/cursor/commands/cc/feature.md +4 -5
- package/presets/cursor/commands/cc/fix.md +4 -5
- package/presets/cursor/commands/cc/handoff.md +8 -5
- package/presets/cursor/commands/cc/iterative.md +4 -5
- package/presets/cursor/commands/cc/odd.md +4 -3
- package/presets/cursor/commands/cc/openspec.md +6 -7
- package/presets/cursor/commands/cc/pagespeed.md +6 -8
- package/presets/cursor/commands/cc/prototype.md +4 -5
- package/presets/cursor/commands/cc/refactor.md +4 -5
- package/presets/cursor/commands/cc/review.md +35 -5
- package/presets/cursor/commands/cc/scorecard.md +4 -5
- package/presets/cursor/commands/cc/security.md +5 -6
- package/presets/cursor/commands/cc/spec-mutation.md +4 -5
- package/presets/cursor/commands/cc/tdd-cycle.md +4 -5
- package/presets/cursor/commands/cc/test-plan.md +4 -5
- package/presets/cursor/commands/cc/triage.md +4 -5
- package/presets/cursor/skills/android/SKILL.md +1 -1
- package/presets/cursor/skills/api-versioning/SKILL.md +2 -1
- package/presets/cursor/skills/astro/SKILL.md +1 -1
- package/presets/cursor/skills/auth-token-inspector/SKILL.md +1 -1
- package/presets/cursor/skills/code-review/SKILL.md +1 -1
- package/presets/cursor/skills/django-orm/SKILL.md +3 -5
- package/presets/cursor/skills/django-testing/SKILL.md +1 -1
- package/presets/cursor/skills/django-uv/SKILL.md +1 -1
- package/presets/cursor/skills/drizzle-schema-architect/SKILL.md +1 -1
- package/presets/cursor/skills/fastapi-pydantic-strict/SKILL.md +1 -1
- package/presets/cursor/skills/jpa-nplusone-detector/SKILL.md +1 -1
- package/presets/cursor/skills/jpa-postgres/SKILL.md +2 -4
- package/presets/cursor/skills/livewire-alpine-bridge/SKILL.md +1 -1
- package/presets/cursor/skills/nextjs-typescript/SKILL.md +1 -1
- package/presets/cursor/skills/pagespeed-perf/SKILL.md +1 -1
- package/presets/cursor/skills/python/SKILL.md +6 -7
- package/presets/cursor/skills/python-django-stack/SKILL.md +1 -1
- package/presets/cursor/skills/python-fastapi-stack/SKILL.md +1 -1
- package/presets/cursor/skills/security/SKILL.md +1 -1
- package/presets/cursor/skills/seo-analytics-injector/SKILL.md +1 -1
- package/presets/cursor/skills/spring-auth-auditor/SKILL.md +1 -1
- package/presets/cursor/skills/spring-boot-feature/SKILL.md +2 -4
- package/presets/cursor/skills/spring-boot-kotlin/SKILL.md +1 -1
- package/presets/cursor/skills/spring-boot-testing-strategy/SKILL.md +1 -1
- package/presets/cursor/skills/sqlalchemy/SKILL.md +1 -1
- package/presets/cursor/skills/tailwind-responsive-auditor/SKILL.md +1 -1
- package/presets/cursor/skills/tdd-mutation-tester/SKILL.md +1 -1
- package/presets/gemini/commands/cc/api-contract.toml +4 -5
- package/presets/gemini/commands/cc/backlog.toml +4 -5
- package/presets/gemini/commands/cc/clarify.toml +4 -5
- package/presets/gemini/commands/cc/council.toml +4 -5
- package/presets/gemini/commands/cc/db-migration.toml +4 -5
- package/presets/gemini/commands/cc/explore.toml +4 -5
- package/presets/gemini/commands/cc/feature.toml +4 -5
- package/presets/gemini/commands/cc/fix.toml +4 -5
- package/presets/gemini/commands/cc/handoff.toml +8 -5
- package/presets/gemini/commands/cc/iterative.toml +4 -5
- package/presets/gemini/commands/cc/odd.toml +4 -3
- package/presets/gemini/commands/cc/openspec.toml +6 -7
- package/presets/gemini/commands/cc/pagespeed.toml +6 -8
- package/presets/gemini/commands/cc/prototype.toml +4 -5
- package/presets/gemini/commands/cc/refactor.toml +4 -5
- package/presets/gemini/commands/cc/review.toml +35 -5
- package/presets/gemini/commands/cc/scorecard.toml +4 -5
- package/presets/gemini/commands/cc/security.toml +5 -6
- package/presets/gemini/commands/cc/spec-mutation.toml +4 -5
- package/presets/gemini/commands/cc/tdd-cycle.toml +4 -5
- package/presets/gemini/commands/cc/test-plan.toml +4 -5
- package/presets/gemini/commands/cc/triage.toml +4 -5
- package/presets/opencode/README.md +45 -52
- package/presets/opencode/commands/cc-api-contract.md +4 -5
- package/presets/opencode/commands/cc-backlog.md +4 -5
- package/presets/opencode/commands/cc-clarify.md +4 -5
- package/presets/opencode/commands/cc-council.md +4 -5
- package/presets/opencode/commands/cc-db-migration.md +4 -5
- package/presets/opencode/commands/cc-explore.md +4 -5
- package/presets/opencode/commands/cc-feature.md +4 -5
- package/presets/opencode/commands/cc-fix.md +4 -5
- package/presets/opencode/commands/cc-handoff.md +8 -5
- package/presets/opencode/commands/cc-iterative.md +4 -5
- package/presets/opencode/commands/cc-odd.md +4 -3
- package/presets/opencode/commands/cc-openspec.md +6 -7
- package/presets/opencode/commands/cc-pagespeed.md +6 -8
- package/presets/opencode/commands/cc-prototype.md +4 -5
- package/presets/opencode/commands/cc-refactor.md +4 -5
- package/presets/opencode/commands/cc-review.md +35 -5
- package/presets/opencode/commands/cc-scorecard.md +4 -5
- package/presets/opencode/commands/cc-security.md +5 -6
- package/presets/opencode/commands/cc-spec-mutation.md +4 -5
- package/presets/opencode/commands/cc-tdd-cycle.md +4 -5
- package/presets/opencode/commands/cc-test-plan.md +4 -5
- package/presets/opencode/commands/cc-triage.md +4 -5
- package/presets/opencode/opencode.jsonc +1 -1
- package/presets/opencode/skills/android/SKILL.md +1 -1
- package/presets/opencode/skills/api-versioning/SKILL.md +2 -1
- package/presets/opencode/skills/astro/SKILL.md +1 -1
- package/presets/opencode/skills/auth-token-inspector/SKILL.md +1 -1
- package/presets/opencode/skills/code-review/SKILL.md +1 -1
- package/presets/opencode/skills/django-orm/SKILL.md +3 -3
- package/presets/opencode/skills/django-testing/SKILL.md +1 -1
- package/presets/opencode/skills/django-uv/SKILL.md +1 -1
- package/presets/opencode/skills/drizzle-schema-architect/SKILL.md +1 -1
- package/presets/opencode/skills/fastapi-pydantic-strict/SKILL.md +1 -1
- package/presets/opencode/skills/jpa-nplusone-detector/SKILL.md +1 -1
- package/presets/opencode/skills/jpa-postgres/SKILL.md +2 -1
- package/presets/opencode/skills/livewire-alpine-bridge/SKILL.md +1 -1
- package/presets/opencode/skills/nextjs-typescript/SKILL.md +1 -1
- package/presets/opencode/skills/pagespeed-perf/SKILL.md +1 -1
- package/presets/opencode/skills/python/SKILL.md +6 -5
- package/presets/opencode/skills/python-django-stack/SKILL.md +1 -1
- package/presets/opencode/skills/python-fastapi-stack/SKILL.md +1 -1
- package/presets/opencode/skills/security/SKILL.md +1 -1
- package/presets/opencode/skills/seo-analytics-injector/SKILL.md +1 -1
- package/presets/opencode/skills/spring-auth-auditor/SKILL.md +1 -1
- package/presets/opencode/skills/spring-boot-feature/SKILL.md +2 -1
- package/presets/opencode/skills/spring-boot-kotlin/SKILL.md +1 -1
- package/presets/opencode/skills/spring-boot-testing-strategy/SKILL.md +1 -1
- package/presets/opencode/skills/sqlalchemy/SKILL.md +1 -1
- package/presets/opencode/skills/tailwind-responsive-auditor/SKILL.md +1 -1
- package/presets/opencode/skills/tdd-mutation-tester/SKILL.md +1 -1
- package/presets/seo-hotel/skills/astro-seo/SKILL.md +1 -1
- package/presets/seo-hotel/skills/geo-readiness/SKILL.md +1 -1
- package/presets/seo-hotel/skills/off-page/SKILL.md +1 -1
- package/presets/seo-hotel/skills/schema-validator/SKILL.md +1 -1
- package/presets/seo-hotel/skills/seo-audit/SKILL.md +1 -1
- package/presets/shared/invoke-hook.cjs +20 -5
- package/src/presets/manifests/codex.yml +3 -0
- package/src/presets/models/roles.yml +54 -56
- package/src/presets/shared-skills.yml +58 -22
package/dist/library.js
CHANGED
|
@@ -149,7 +149,7 @@ function validateProductEvent(data) {
|
|
|
149
149
|
function validateSkillsRegistry(data) {
|
|
150
150
|
return SkillsRegistrySchema.parse(data);
|
|
151
151
|
}
|
|
152
|
-
var CouncilAgentSpecSchema, CouncilSpecSchema, ProjectProfileSchema, CompileCheckConfigSchema, LoopConfigSchema, CodeConductorConfigSchema, RunnerTargetSchema, InstallStrategySchema, ManifestEntrySchema, InstallManifestSchema, ToolProviderNamesSchema, PermissionProviderNamesSchema, ModelConfigSchema, SkillFrontmatterSchema, CommandFrontmatterSchema, TargetCapabilitiesSchema, ContractTargetSchema, ContractFormatSchema, AgentContractSchema, CouncilFindingSchema, CouncilVerdictInputSchema, ConsensusConfigSchema, CouncilVerdictSchema, ClaudeAgentFileSchema, OpenCodeAgentFileSchema, SentryStackFrameSchema, SentryWebhookSchema, MemoryPointerSchema, MemoryIndexSchema, GoalTaskSchema, GoalGraphSchema, ConfidenceLevelSchema, ProductNodeTypeSchema, GraphRelationSchema, KnowledgeEntitySchema, DecisionSchema, EvidenceSchema, CanonicalTaskCardStatusSchema, CanonicalTaskCardSchema, ProductGraphNodeSchema, ProductGraphEdgeSchema, ProductGraphSchema, ProductMetaSchema, ProductEventTypeSchema, ProductEventSchema, OperationalStateSchema, StrategicMemorySchema, ImpactReportSchema, BusinessReviewOutputSchema, VerificationReportSchema, BacklogStatusSchema, BacklogTypeSchema, BacklogPrioritySchema, BacklogGlobalSchema, BacklogItemSchema, BacklogDocumentSchema, OpenspecTaskCardPhaseSchema, OpenspecTaskCardStatusSchema, OpenspecTaskCardSchema, OpenspecStateSchema, SpecAnalyzeFindingSchema, SpecAnalyzeReportSchema, WorkflowCommandSchema, CcepOutputFormatSchema, CommandEnvelopeSchema, WorkflowPhaseSchema, WorkflowRiskRuleSchema, WorkflowProfileSchema, ExecutionContextSchema, PlannerOutputSchema, AgentArtifactSchema, AgentOutputSchema, ImplementerTestsSchema, ImplementerOutputSchema, ReviewAxisSchema, ReviewFindingSchema, ReviewerOutputSchema, TechnicalPlanOutputSchema, ScorecardVerdictSchema, ScorecardCriterionIdSchema, ScorecardCriterionSchema, ScorecardRecordSchema, TaskOutcomeSourceSchema, TaskOutcomeStatusSchema, DeliveryRouteSchema, TokenUsageSchema, DeliveryTelemetrySchema, DeliveryLedgerTaskSchema, DeliveryLedgerSchema, DeliveryLedgerRequestSchema, TaskOutcomeSchema, HarnessComponentIdSchema, HarnessComponentLayerSchema, HarnessToggleKindSchema, HarnessCatalogEntrySchema, HarnessCatalogSchema, HarnessOverlaySchema, HarnessExperimentSchema, HarnessSuiteTaskSchema, HarnessSuiteSchema, EvaluationIndexSchema, ExecutionProfileNameSchema, ExecutionProfileSchema, SkillsRegistrySchema;
|
|
152
|
+
var CouncilAgentSpecSchema, CouncilSpecSchema, ProjectProfileSchema, CompileCheckConfigSchema, LoopConfigSchema, CodeConductorConfigSchema, RunnerTargetSchema, InstallStrategySchema, ManifestEntrySchema, InstallManifestSchema, ToolProviderNamesSchema, PermissionProviderNamesSchema, ModelConfigSchema, SkillFrontmatterSchema, CommandFrontmatterSchema, TargetCapabilitiesSchema, ContractTargetSchema, ContractFormatSchema, AgentContractSchema, CouncilFindingSchema, CouncilVerdictInputSchema, ConsensusConfigSchema, CouncilVerdictSchema, ClaudeAgentFileSchema, OpenCodeAgentFileSchema, SentryStackFrameSchema, SentryWebhookSchema, MemoryPointerSchema, MemoryIndexSchema, GoalTaskSchema, GoalGraphSchema, ConfidenceLevelSchema, ProductNodeTypeSchema, GraphRelationSchema, KnowledgeEntitySchema, DecisionSchema, EvidenceSchema, CanonicalTaskCardStatusSchema, CanonicalTaskCardSchema, ProductGraphNodeSchema, ProductGraphEdgeSchema, ProductGraphSchema, ProductMetaSchema, ProductEventTypeSchema, ProductEventSchema, OperationalStateSchema, StrategicMemorySchema, ImpactReportSchema, BusinessReviewOutputSchema, VerificationReportSchema, BacklogStatusSchema, BacklogTypeSchema, BacklogPrioritySchema, BacklogGlobalSchema, BacklogItemSchema, BacklogDocumentSchema, OpenspecTaskCardPhaseSchema, OpenspecTaskCardStatusSchema, OpenspecTaskCardSchema, OpenspecStateSchema, SpecAnalyzeFindingSchema, SpecAnalyzeReportSchema, WorkflowCommandSchema, CcepOutputFormatSchema, CommandEnvelopeSchema, WorkflowPhaseSchema, WorkflowRiskRuleSchema, WorkflowProfileSchema, ExecutionContextSchema, PlannerOutputSchema, AgentArtifactSchema, AgentOutputSchema, ImplementerTestsSchema, ImplementerOutputSchema, ReviewAxisSchema, ReviewFindingSchema, ReviewerOutputSchema, TechnicalPlanOutputSchema, FixIntakeOutputSchema, ScorecardVerdictSchema, ScorecardCriterionIdSchema, ScorecardCriterionSchema, ScorecardRecordSchema, TaskOutcomeSourceSchema, TaskOutcomeStatusSchema, DeliveryRouteSchema, TokenUsageSchema, DeliveryTelemetrySchema, DeliveryLedgerTaskSchema, DeliveryLedgerSchema, HandoffEnvelopeSchema, RepoRelativePathSchema, DeliveryLedgerRequestSchema, TaskOutcomeSchema, HarnessComponentIdSchema, HarnessComponentLayerSchema, HarnessToggleKindSchema, HarnessCatalogEntrySchema, HarnessCatalogSchema, HarnessOverlaySchema, HarnessExperimentSchema, HarnessSuiteTaskSchema, HarnessSuiteSchema, EvaluationIndexSchema, ExecutionProfileNameSchema, ExecutionProfileSchema, SkillsRegistrySchema;
|
|
153
153
|
var init_schemas = __esm(() => {
|
|
154
154
|
init_runner_target();
|
|
155
155
|
CouncilAgentSpecSchema = z.object({
|
|
@@ -226,6 +226,7 @@ var init_schemas = __esm(() => {
|
|
|
226
226
|
"append",
|
|
227
227
|
"merge-json",
|
|
228
228
|
"merge-managed",
|
|
229
|
+
"create-only",
|
|
229
230
|
"skip"
|
|
230
231
|
]);
|
|
231
232
|
ManifestEntrySchema = z.object({
|
|
@@ -530,7 +531,8 @@ var init_schemas = __esm(() => {
|
|
|
530
531
|
"goal.updated",
|
|
531
532
|
"blocker.detected",
|
|
532
533
|
"verification.completed",
|
|
533
|
-
"feedback.processed"
|
|
534
|
+
"feedback.processed",
|
|
535
|
+
"context.compiled"
|
|
534
536
|
]);
|
|
535
537
|
ProductEventSchema = z.object({
|
|
536
538
|
id: z.string(),
|
|
@@ -875,6 +877,11 @@ var init_schemas = __esm(() => {
|
|
|
875
877
|
risks: z.array(z.string()).default([]),
|
|
876
878
|
openQuestions: z.array(z.string()).optional()
|
|
877
879
|
});
|
|
880
|
+
FixIntakeOutputSchema = z.object({
|
|
881
|
+
actualBehavior: z.string(),
|
|
882
|
+
expectedBehavior: z.string(),
|
|
883
|
+
reproductionSteps: z.array(z.string())
|
|
884
|
+
});
|
|
878
885
|
ScorecardVerdictSchema = z.enum(["PASS", "REVISE", "REJECT"]);
|
|
879
886
|
ScorecardCriterionIdSchema = z.enum([
|
|
880
887
|
"acceptance",
|
|
@@ -946,16 +953,51 @@ var init_schemas = __esm(() => {
|
|
|
946
953
|
nextStep: z.string().min(1),
|
|
947
954
|
memoryTopicKey: z.string().min(1),
|
|
948
955
|
workspace: z.record(z.string(), z.string()),
|
|
956
|
+
technicalPlanPath: z.string().min(1).optional(),
|
|
949
957
|
createdAt: z.string().datetime(),
|
|
950
958
|
updatedAt: z.string().datetime()
|
|
951
959
|
});
|
|
960
|
+
HandoffEnvelopeSchema = z.object({
|
|
961
|
+
version: z.literal(1),
|
|
962
|
+
task: z.object({
|
|
963
|
+
id: z.string().min(1),
|
|
964
|
+
objective: z.string().min(1),
|
|
965
|
+
acceptanceCriteria: z.array(z.string().min(1)),
|
|
966
|
+
status: CanonicalTaskCardStatusSchema
|
|
967
|
+
}),
|
|
968
|
+
decisions: z.object({
|
|
969
|
+
constraints: z.array(z.string()),
|
|
970
|
+
unresolved: z.array(z.string())
|
|
971
|
+
}),
|
|
972
|
+
scope: z.object({
|
|
973
|
+
relevantFiles: z.array(z.string()),
|
|
974
|
+
boundaries: z.array(z.string())
|
|
975
|
+
}),
|
|
976
|
+
verification: z.object({
|
|
977
|
+
evidence: z.array(z.string())
|
|
978
|
+
}),
|
|
979
|
+
change: z.object({
|
|
980
|
+
touchedFiles: z.array(z.string())
|
|
981
|
+
}),
|
|
982
|
+
next: z.object({
|
|
983
|
+
role: z.string().min(1),
|
|
984
|
+
objective: z.string().min(1)
|
|
985
|
+
}),
|
|
986
|
+
sources: z.object({
|
|
987
|
+
deliveryLedger: z.string().min(1),
|
|
988
|
+
memoryTopicKey: z.string().min(1),
|
|
989
|
+
technicalPlanPath: z.string().min(1).optional()
|
|
990
|
+
})
|
|
991
|
+
});
|
|
992
|
+
RepoRelativePathSchema = z.string().min(1).refine((path) => !/^([/\\]|[A-Za-z]:)/.test(path) && !path.split(/[/\\]/).includes(".."), 'Path must be relative to the repository and must not contain ".." segments');
|
|
952
993
|
DeliveryLedgerRequestSchema = z.object({
|
|
953
994
|
id: z.string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/),
|
|
954
995
|
authorized: z.boolean(),
|
|
955
996
|
route: DeliveryRouteSchema,
|
|
956
997
|
taskCard: CanonicalTaskCardSchema,
|
|
957
998
|
tasks: z.array(DeliveryLedgerTaskSchema).min(1),
|
|
958
|
-
nextStep: z.string().min(1)
|
|
999
|
+
nextStep: z.string().min(1),
|
|
1000
|
+
technicalPlanPath: RepoRelativePathSchema.optional()
|
|
959
1001
|
});
|
|
960
1002
|
TaskOutcomeSchema = z.object({
|
|
961
1003
|
id: z.string(),
|
|
@@ -2970,9 +3012,11 @@ export {
|
|
|
2970
3012
|
ExecutionContextSchema,
|
|
2971
3013
|
ExecutionProfileNameSchema,
|
|
2972
3014
|
ExecutionProfileSchema,
|
|
3015
|
+
FixIntakeOutputSchema,
|
|
2973
3016
|
GoalGraphSchema,
|
|
2974
3017
|
GoalTaskSchema,
|
|
2975
3018
|
GraphRelationSchema,
|
|
3019
|
+
HandoffEnvelopeSchema,
|
|
2976
3020
|
HarnessCatalogEntrySchema,
|
|
2977
3021
|
HarnessCatalogSchema,
|
|
2978
3022
|
HarnessComponentIdSchema,
|
|
@@ -358,24 +358,24 @@ export declare const RunnerTargetSchema: z.ZodEnum<["opencode", "claude", "codex
|
|
|
358
358
|
/**
|
|
359
359
|
* Install manifest schemas
|
|
360
360
|
*/
|
|
361
|
-
export declare const InstallStrategySchema: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "skip"]>;
|
|
361
|
+
export declare const InstallStrategySchema: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "create-only", "skip"]>;
|
|
362
362
|
export declare const ManifestEntrySchema: z.ZodObject<{
|
|
363
363
|
src: z.ZodString;
|
|
364
364
|
dest: z.ZodString;
|
|
365
|
-
strategy: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "skip"]>;
|
|
366
|
-
globalStrategy: z.ZodOptional<z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "skip"]>>;
|
|
365
|
+
strategy: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "create-only", "skip"]>;
|
|
366
|
+
globalStrategy: z.ZodOptional<z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "create-only", "skip"]>>;
|
|
367
367
|
template: z.ZodOptional<z.ZodBoolean>;
|
|
368
368
|
}, "strip", z.ZodTypeAny, {
|
|
369
369
|
src: string;
|
|
370
370
|
dest: string;
|
|
371
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
372
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
371
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
372
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
373
373
|
template?: boolean | undefined;
|
|
374
374
|
}, {
|
|
375
375
|
src: string;
|
|
376
376
|
dest: string;
|
|
377
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
378
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
377
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
378
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
379
379
|
template?: boolean | undefined;
|
|
380
380
|
}>;
|
|
381
381
|
export declare const InstallManifestSchema: z.ZodObject<{
|
|
@@ -383,28 +383,28 @@ export declare const InstallManifestSchema: z.ZodObject<{
|
|
|
383
383
|
entries: z.ZodArray<z.ZodObject<{
|
|
384
384
|
src: z.ZodString;
|
|
385
385
|
dest: z.ZodString;
|
|
386
|
-
strategy: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "skip"]>;
|
|
387
|
-
globalStrategy: z.ZodOptional<z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "skip"]>>;
|
|
386
|
+
strategy: z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "create-only", "skip"]>;
|
|
387
|
+
globalStrategy: z.ZodOptional<z.ZodEnum<["overwrite", "append", "merge-json", "merge-managed", "create-only", "skip"]>>;
|
|
388
388
|
template: z.ZodOptional<z.ZodBoolean>;
|
|
389
389
|
}, "strip", z.ZodTypeAny, {
|
|
390
390
|
src: string;
|
|
391
391
|
dest: string;
|
|
392
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
393
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
392
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
393
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
394
394
|
template?: boolean | undefined;
|
|
395
395
|
}, {
|
|
396
396
|
src: string;
|
|
397
397
|
dest: string;
|
|
398
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
399
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
398
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
399
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
400
400
|
template?: boolean | undefined;
|
|
401
401
|
}>, "many">;
|
|
402
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
403
|
entries: {
|
|
404
404
|
src: string;
|
|
405
405
|
dest: string;
|
|
406
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
407
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
406
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
407
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
408
408
|
template?: boolean | undefined;
|
|
409
409
|
}[];
|
|
410
410
|
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
@@ -412,8 +412,8 @@ export declare const InstallManifestSchema: z.ZodObject<{
|
|
|
412
412
|
entries: {
|
|
413
413
|
src: string;
|
|
414
414
|
dest: string;
|
|
415
|
-
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip";
|
|
416
|
-
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
|
|
415
|
+
strategy: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip";
|
|
416
|
+
globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "create-only" | "skip" | undefined;
|
|
417
417
|
template?: boolean | undefined;
|
|
418
418
|
}[];
|
|
419
419
|
target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
|
|
@@ -1686,20 +1686,20 @@ export declare const ProductMetaSchema: z.ZodObject<{
|
|
|
1686
1686
|
lastIngestAt?: string | undefined;
|
|
1687
1687
|
sourceHashes?: Record<string, string> | undefined;
|
|
1688
1688
|
}>;
|
|
1689
|
-
export declare const ProductEventTypeSchema: z.ZodEnum<["task.started", "task.completed", "decision.recorded", "evidence.added", "ingest.completed", "goal.updated", "blocker.detected", "verification.completed", "feedback.processed"]>;
|
|
1689
|
+
export declare const ProductEventTypeSchema: z.ZodEnum<["task.started", "task.completed", "decision.recorded", "evidence.added", "ingest.completed", "goal.updated", "blocker.detected", "verification.completed", "feedback.processed", "context.compiled"]>;
|
|
1690
1690
|
export declare const ProductEventSchema: z.ZodObject<{
|
|
1691
1691
|
id: z.ZodString;
|
|
1692
|
-
type: z.ZodEnum<["task.started", "task.completed", "decision.recorded", "evidence.added", "ingest.completed", "goal.updated", "blocker.detected", "verification.completed", "feedback.processed"]>;
|
|
1692
|
+
type: z.ZodEnum<["task.started", "task.completed", "decision.recorded", "evidence.added", "ingest.completed", "goal.updated", "blocker.detected", "verification.completed", "feedback.processed", "context.compiled"]>;
|
|
1693
1693
|
timestamp: z.ZodString;
|
|
1694
1694
|
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1695
1695
|
}, "strip", z.ZodTypeAny, {
|
|
1696
1696
|
id: string;
|
|
1697
|
-
type: "task.started" | "task.completed" | "decision.recorded" | "evidence.added" | "ingest.completed" | "goal.updated" | "blocker.detected" | "verification.completed" | "feedback.processed";
|
|
1697
|
+
type: "task.started" | "task.completed" | "decision.recorded" | "evidence.added" | "ingest.completed" | "goal.updated" | "blocker.detected" | "verification.completed" | "feedback.processed" | "context.compiled";
|
|
1698
1698
|
timestamp: string;
|
|
1699
1699
|
payload: Record<string, unknown>;
|
|
1700
1700
|
}, {
|
|
1701
1701
|
id: string;
|
|
1702
|
-
type: "task.started" | "task.completed" | "decision.recorded" | "evidence.added" | "ingest.completed" | "goal.updated" | "blocker.detected" | "verification.completed" | "feedback.processed";
|
|
1702
|
+
type: "task.started" | "task.completed" | "decision.recorded" | "evidence.added" | "ingest.completed" | "goal.updated" | "blocker.detected" | "verification.completed" | "feedback.processed" | "context.compiled";
|
|
1703
1703
|
timestamp: string;
|
|
1704
1704
|
payload?: Record<string, unknown> | undefined;
|
|
1705
1705
|
}>;
|
|
@@ -3648,6 +3648,19 @@ export declare const TechnicalPlanOutputSchema: z.ZodObject<{
|
|
|
3648
3648
|
filesAffected?: string[] | undefined;
|
|
3649
3649
|
openQuestions?: string[] | undefined;
|
|
3650
3650
|
}>;
|
|
3651
|
+
export declare const FixIntakeOutputSchema: z.ZodObject<{
|
|
3652
|
+
actualBehavior: z.ZodString;
|
|
3653
|
+
expectedBehavior: z.ZodString;
|
|
3654
|
+
reproductionSteps: z.ZodArray<z.ZodString, "many">;
|
|
3655
|
+
}, "strip", z.ZodTypeAny, {
|
|
3656
|
+
actualBehavior: string;
|
|
3657
|
+
expectedBehavior: string;
|
|
3658
|
+
reproductionSteps: string[];
|
|
3659
|
+
}, {
|
|
3660
|
+
actualBehavior: string;
|
|
3661
|
+
expectedBehavior: string;
|
|
3662
|
+
reproductionSteps: string[];
|
|
3663
|
+
}>;
|
|
3651
3664
|
export declare const ScorecardVerdictSchema: z.ZodEnum<["PASS", "REVISE", "REJECT"]>;
|
|
3652
3665
|
export declare const ScorecardCriterionIdSchema: z.ZodEnum<["acceptance", "minimal_diff", "tests", "regressions", "conventions", "documentation", "context_discipline", "cc_gain"]>;
|
|
3653
3666
|
export declare const ScorecardCriterionSchema: z.ZodObject<{
|
|
@@ -3919,6 +3932,7 @@ export declare const DeliveryLedgerSchema: z.ZodObject<{
|
|
|
3919
3932
|
nextStep: z.ZodString;
|
|
3920
3933
|
memoryTopicKey: z.ZodString;
|
|
3921
3934
|
workspace: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3935
|
+
technicalPlanPath: z.ZodOptional<z.ZodString>;
|
|
3922
3936
|
createdAt: z.ZodString;
|
|
3923
3937
|
updatedAt: z.ZodString;
|
|
3924
3938
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3960,6 +3974,7 @@ export declare const DeliveryLedgerSchema: z.ZodObject<{
|
|
|
3960
3974
|
nextStep: string;
|
|
3961
3975
|
memoryTopicKey: string;
|
|
3962
3976
|
workspace: Record<string, string>;
|
|
3977
|
+
technicalPlanPath?: string | undefined;
|
|
3963
3978
|
}, {
|
|
3964
3979
|
id: string;
|
|
3965
3980
|
version: 1;
|
|
@@ -3999,6 +4014,149 @@ export declare const DeliveryLedgerSchema: z.ZodObject<{
|
|
|
3999
4014
|
nextStep: string;
|
|
4000
4015
|
memoryTopicKey: string;
|
|
4001
4016
|
workspace: Record<string, string>;
|
|
4017
|
+
technicalPlanPath?: string | undefined;
|
|
4018
|
+
}>;
|
|
4019
|
+
/**
|
|
4020
|
+
* A compact, derived view of a Delivery Ledger for a new agent or session.
|
|
4021
|
+
* It intentionally contains references and current evidence, never a transcript.
|
|
4022
|
+
*/
|
|
4023
|
+
export declare const HandoffEnvelopeSchema: z.ZodObject<{
|
|
4024
|
+
version: z.ZodLiteral<1>;
|
|
4025
|
+
task: z.ZodObject<{
|
|
4026
|
+
id: z.ZodString;
|
|
4027
|
+
objective: z.ZodString;
|
|
4028
|
+
acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
|
|
4029
|
+
status: z.ZodEnum<["draft", "ready", "in-progress", "review", "done", "blocked"]>;
|
|
4030
|
+
}, "strip", z.ZodTypeAny, {
|
|
4031
|
+
id: string;
|
|
4032
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4033
|
+
objective: string;
|
|
4034
|
+
acceptanceCriteria: string[];
|
|
4035
|
+
}, {
|
|
4036
|
+
id: string;
|
|
4037
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4038
|
+
objective: string;
|
|
4039
|
+
acceptanceCriteria: string[];
|
|
4040
|
+
}>;
|
|
4041
|
+
decisions: z.ZodObject<{
|
|
4042
|
+
constraints: z.ZodArray<z.ZodString, "many">;
|
|
4043
|
+
unresolved: z.ZodArray<z.ZodString, "many">;
|
|
4044
|
+
}, "strip", z.ZodTypeAny, {
|
|
4045
|
+
constraints: string[];
|
|
4046
|
+
unresolved: string[];
|
|
4047
|
+
}, {
|
|
4048
|
+
constraints: string[];
|
|
4049
|
+
unresolved: string[];
|
|
4050
|
+
}>;
|
|
4051
|
+
scope: z.ZodObject<{
|
|
4052
|
+
relevantFiles: z.ZodArray<z.ZodString, "many">;
|
|
4053
|
+
boundaries: z.ZodArray<z.ZodString, "many">;
|
|
4054
|
+
}, "strip", z.ZodTypeAny, {
|
|
4055
|
+
boundaries: string[];
|
|
4056
|
+
relevantFiles: string[];
|
|
4057
|
+
}, {
|
|
4058
|
+
boundaries: string[];
|
|
4059
|
+
relevantFiles: string[];
|
|
4060
|
+
}>;
|
|
4061
|
+
verification: z.ZodObject<{
|
|
4062
|
+
evidence: z.ZodArray<z.ZodString, "many">;
|
|
4063
|
+
}, "strip", z.ZodTypeAny, {
|
|
4064
|
+
evidence: string[];
|
|
4065
|
+
}, {
|
|
4066
|
+
evidence: string[];
|
|
4067
|
+
}>;
|
|
4068
|
+
change: z.ZodObject<{
|
|
4069
|
+
touchedFiles: z.ZodArray<z.ZodString, "many">;
|
|
4070
|
+
}, "strip", z.ZodTypeAny, {
|
|
4071
|
+
touchedFiles: string[];
|
|
4072
|
+
}, {
|
|
4073
|
+
touchedFiles: string[];
|
|
4074
|
+
}>;
|
|
4075
|
+
next: z.ZodObject<{
|
|
4076
|
+
role: z.ZodString;
|
|
4077
|
+
objective: z.ZodString;
|
|
4078
|
+
}, "strip", z.ZodTypeAny, {
|
|
4079
|
+
role: string;
|
|
4080
|
+
objective: string;
|
|
4081
|
+
}, {
|
|
4082
|
+
role: string;
|
|
4083
|
+
objective: string;
|
|
4084
|
+
}>;
|
|
4085
|
+
sources: z.ZodObject<{
|
|
4086
|
+
deliveryLedger: z.ZodString;
|
|
4087
|
+
memoryTopicKey: z.ZodString;
|
|
4088
|
+
technicalPlanPath: z.ZodOptional<z.ZodString>;
|
|
4089
|
+
}, "strip", z.ZodTypeAny, {
|
|
4090
|
+
memoryTopicKey: string;
|
|
4091
|
+
deliveryLedger: string;
|
|
4092
|
+
technicalPlanPath?: string | undefined;
|
|
4093
|
+
}, {
|
|
4094
|
+
memoryTopicKey: string;
|
|
4095
|
+
deliveryLedger: string;
|
|
4096
|
+
technicalPlanPath?: string | undefined;
|
|
4097
|
+
}>;
|
|
4098
|
+
}, "strip", z.ZodTypeAny, {
|
|
4099
|
+
version: 1;
|
|
4100
|
+
task: {
|
|
4101
|
+
id: string;
|
|
4102
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4103
|
+
objective: string;
|
|
4104
|
+
acceptanceCriteria: string[];
|
|
4105
|
+
};
|
|
4106
|
+
scope: {
|
|
4107
|
+
boundaries: string[];
|
|
4108
|
+
relevantFiles: string[];
|
|
4109
|
+
};
|
|
4110
|
+
decisions: {
|
|
4111
|
+
constraints: string[];
|
|
4112
|
+
unresolved: string[];
|
|
4113
|
+
};
|
|
4114
|
+
verification: {
|
|
4115
|
+
evidence: string[];
|
|
4116
|
+
};
|
|
4117
|
+
change: {
|
|
4118
|
+
touchedFiles: string[];
|
|
4119
|
+
};
|
|
4120
|
+
next: {
|
|
4121
|
+
role: string;
|
|
4122
|
+
objective: string;
|
|
4123
|
+
};
|
|
4124
|
+
sources: {
|
|
4125
|
+
memoryTopicKey: string;
|
|
4126
|
+
deliveryLedger: string;
|
|
4127
|
+
technicalPlanPath?: string | undefined;
|
|
4128
|
+
};
|
|
4129
|
+
}, {
|
|
4130
|
+
version: 1;
|
|
4131
|
+
task: {
|
|
4132
|
+
id: string;
|
|
4133
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4134
|
+
objective: string;
|
|
4135
|
+
acceptanceCriteria: string[];
|
|
4136
|
+
};
|
|
4137
|
+
scope: {
|
|
4138
|
+
boundaries: string[];
|
|
4139
|
+
relevantFiles: string[];
|
|
4140
|
+
};
|
|
4141
|
+
decisions: {
|
|
4142
|
+
constraints: string[];
|
|
4143
|
+
unresolved: string[];
|
|
4144
|
+
};
|
|
4145
|
+
verification: {
|
|
4146
|
+
evidence: string[];
|
|
4147
|
+
};
|
|
4148
|
+
change: {
|
|
4149
|
+
touchedFiles: string[];
|
|
4150
|
+
};
|
|
4151
|
+
next: {
|
|
4152
|
+
role: string;
|
|
4153
|
+
objective: string;
|
|
4154
|
+
};
|
|
4155
|
+
sources: {
|
|
4156
|
+
memoryTopicKey: string;
|
|
4157
|
+
deliveryLedger: string;
|
|
4158
|
+
technicalPlanPath?: string | undefined;
|
|
4159
|
+
};
|
|
4002
4160
|
}>;
|
|
4003
4161
|
export declare const DeliveryLedgerRequestSchema: z.ZodObject<{
|
|
4004
4162
|
id: z.ZodString;
|
|
@@ -4091,6 +4249,7 @@ export declare const DeliveryLedgerRequestSchema: z.ZodObject<{
|
|
|
4091
4249
|
title: string;
|
|
4092
4250
|
}>, "many">;
|
|
4093
4251
|
nextStep: z.ZodString;
|
|
4252
|
+
technicalPlanPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4094
4253
|
}, "strip", z.ZodTypeAny, {
|
|
4095
4254
|
id: string;
|
|
4096
4255
|
tasks: {
|
|
@@ -4126,6 +4285,7 @@ export declare const DeliveryLedgerRequestSchema: z.ZodObject<{
|
|
|
4126
4285
|
route: "openspec" | "read-only" | "small" | "tracked";
|
|
4127
4286
|
nextStep: string;
|
|
4128
4287
|
authorized: boolean;
|
|
4288
|
+
technicalPlanPath?: string | undefined;
|
|
4129
4289
|
}, {
|
|
4130
4290
|
id: string;
|
|
4131
4291
|
tasks: {
|
|
@@ -4161,6 +4321,7 @@ export declare const DeliveryLedgerRequestSchema: z.ZodObject<{
|
|
|
4161
4321
|
route: "openspec" | "read-only" | "small" | "tracked";
|
|
4162
4322
|
nextStep: string;
|
|
4163
4323
|
authorized: boolean;
|
|
4324
|
+
technicalPlanPath?: string | undefined;
|
|
4164
4325
|
}>;
|
|
4165
4326
|
export declare const TaskOutcomeSchema: z.ZodObject<{
|
|
4166
4327
|
id: z.ZodString;
|
|
@@ -4633,6 +4794,7 @@ export type HarnessSuiteTaskInput = z.infer<typeof HarnessSuiteTaskSchema>;
|
|
|
4633
4794
|
export type HarnessSuiteInput = z.infer<typeof HarnessSuiteSchema>;
|
|
4634
4795
|
export type WorkflowCommandInput = z.infer<typeof WorkflowCommandSchema>;
|
|
4635
4796
|
export type DeliveryLedgerInput = z.infer<typeof DeliveryLedgerSchema>;
|
|
4797
|
+
export type HandoffEnvelopeInput = z.infer<typeof HandoffEnvelopeSchema>;
|
|
4636
4798
|
export type DeliveryLedgerRequestInput = z.infer<typeof DeliveryLedgerRequestSchema>;
|
|
4637
4799
|
export type CommandEnvelopeInput = z.infer<typeof CommandEnvelopeSchema>;
|
|
4638
4800
|
export type WorkflowProfileInput = z.infer<typeof WorkflowProfileSchema>;
|
package/docs/generated/cli.md
CHANGED
|
@@ -24,6 +24,14 @@ Initialize low-level CodeConductor configuration.
|
|
|
24
24
|
cc-codeconductor init [--locale en|es]
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
## usage
|
|
28
|
+
|
|
29
|
+
Show installation examples for presets, council, and LSP.
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
cc-codeconductor usage
|
|
33
|
+
```
|
|
34
|
+
|
|
27
35
|
## install
|
|
28
36
|
|
|
29
37
|
Install harness components.
|
|
@@ -144,6 +152,14 @@ Run CCEP contract workflows.
|
|
|
144
152
|
cc-codeconductor ccep <subcommand>
|
|
145
153
|
```
|
|
146
154
|
|
|
155
|
+
## odd
|
|
156
|
+
|
|
157
|
+
Create, resume, and hand off tracked delivery work.
|
|
158
|
+
|
|
159
|
+
```text
|
|
160
|
+
cc-codeconductor odd <create|read|reconcile|handoff>
|
|
161
|
+
```
|
|
162
|
+
|
|
147
163
|
## openspec
|
|
148
164
|
|
|
149
165
|
Run the OpenSpec delivery loop.
|
package/package.json
CHANGED
package/presets/agy/README.md
CHANGED
|
@@ -39,7 +39,7 @@ To configure permissions, models, and execution modes for the Antigravity CLI, u
|
|
|
39
39
|
Recommended settings:
|
|
40
40
|
```json
|
|
41
41
|
{
|
|
42
|
-
"model": "gemini-3.
|
|
42
|
+
"model": "gemini-3.8-flash-medium",
|
|
43
43
|
"toolPermission": "request-review",
|
|
44
44
|
"enableTerminalSandbox": true,
|
|
45
45
|
"allowNonWorkspaceAccess": false
|
package/presets/agy/hooks.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"enabled": true,
|
|
18
18
|
"PreToolUse": [
|
|
19
19
|
{
|
|
20
|
-
"matcher": "run_command|write_to_file|replace_file_content|multi_replace_file_content",
|
|
20
|
+
"matcher": "run_command|view_file|write_to_file|replace_file_content|multi_replace_file_content",
|
|
21
21
|
"hooks": [
|
|
22
22
|
{
|
|
23
23
|
"type": "command",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
const { spawnSync } = require('node:child_process');
|
|
5
|
-
const { existsSync } = require('node:fs');
|
|
6
|
-
const { join, resolve } = require('node:path');
|
|
5
|
+
const { existsSync, readFileSync, realpathSync } = require('node:fs');
|
|
6
|
+
const { delimiter, join, resolve } = require('node:path');
|
|
7
7
|
|
|
8
8
|
const VALID_EVENTS = ['pre-tool', 'post-tool', 'session-start'];
|
|
9
9
|
const SPAWN_TIMEOUT = 10000;
|
|
@@ -21,9 +21,10 @@ const isAgy = process.argv.some((a) => a === '--format=agy') || extra.includes('
|
|
|
21
21
|
function findProjectRoot() {
|
|
22
22
|
const candidates = [
|
|
23
23
|
process.env.PROJECT_ROOT,
|
|
24
|
+
process.env.CLAUDE_PROJECT_DIR,
|
|
24
25
|
process.env.WORKSPACE_DIR,
|
|
25
|
-
resolve(__dirname, '..', '..'),
|
|
26
26
|
process.cwd(),
|
|
27
|
+
resolve(__dirname, '..', '..'),
|
|
27
28
|
].filter(Boolean);
|
|
28
29
|
|
|
29
30
|
for (const dir of candidates) {
|
|
@@ -40,6 +41,8 @@ function findProjectRoot() {
|
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
const projectRoot = findProjectRoot();
|
|
44
|
+
// Buffer once: each fallback attempt must receive the same host payload.
|
|
45
|
+
const input = process.stdin.isTTY ? '' : readFileSync(0, 'utf8');
|
|
43
46
|
|
|
44
47
|
/**
|
|
45
48
|
* Run one candidate runner. Stdout/stderr are captured (not inherited) so a
|
|
@@ -54,7 +57,8 @@ function tryRun(bin, runArgs) {
|
|
|
54
57
|
try {
|
|
55
58
|
const result = spawnSync(bin, runArgs, {
|
|
56
59
|
cwd: projectRoot,
|
|
57
|
-
stdio: ['
|
|
60
|
+
stdio: ['pipe', 'pipe', 'pipe'],
|
|
61
|
+
input,
|
|
58
62
|
windowsHide: true,
|
|
59
63
|
env: process.env,
|
|
60
64
|
encoding: 'utf8',
|
|
@@ -111,7 +115,18 @@ try {
|
|
|
111
115
|
tryRun(process.execPath, [localDist, 'hook', event, ...extra]);
|
|
112
116
|
}
|
|
113
117
|
|
|
114
|
-
|
|
118
|
+
// Locate global npm installs without invoking npx or Windows .cmd shims.
|
|
119
|
+
for (const binDir of (process.env.PATH || '').split(delimiter).filter(Boolean)) {
|
|
120
|
+
const candidates = [
|
|
121
|
+
join(binDir, 'node_modules', 'cc-codeconductor', 'dist', 'index.js'),
|
|
122
|
+
join(binDir, '..', 'lib', 'node_modules', 'cc-codeconductor', 'dist', 'index.js'),
|
|
123
|
+
];
|
|
124
|
+
const executable = join(binDir, 'cc-codeconductor');
|
|
125
|
+
if (existsSync(executable)) candidates.push(realpathSync(executable));
|
|
126
|
+
for (const candidate of candidates) {
|
|
127
|
+
if (existsSync(candidate)) tryRun(process.execPath, [candidate, 'hook', event, ...extra]);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
115
130
|
} catch {
|
|
116
131
|
// Ignore errors in runner attempts
|
|
117
132
|
}
|