cc-codeconductor 1.4.1 → 1.5.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 +61 -13
- package/dist/core/verification/rdd-receipt.d.ts +39 -0
- package/dist/core/verification/verification-runner.d.ts +8 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1257 -330
- package/dist/library.js +267 -26
- package/dist/validation/schemas.d.ts +521 -26
- package/docs/generated/cli.md +20 -0
- package/package.json +1 -1
- package/presets/agy/AGENTS.md +6 -0
- 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-handoff.md +2 -1
- package/presets/agy/workflows/cc-odd.md +15 -0
- package/presets/agy/workflows/cc-pagespeed.md +2 -3
- package/presets/agy/workflows/cc-review.md +31 -0
- package/presets/agy/workflows/cc-security.md +1 -1
- package/presets/claude/CLAUDE.md +6 -0
- package/presets/claude/commands/cc/handoff.md +2 -1
- package/presets/claude/commands/cc/odd.md +15 -0
- package/presets/claude/commands/cc/review.md +33 -0
- package/presets/claude/settings.json +2 -2
- 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/AGENTS.md +6 -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-handoff/SKILL.md +3 -1
- package/presets/codex/skills/cc-odd/SKILL.md +25 -0
- package/presets/codex/skills/cc-openspec/SKILL.md +5 -1
- package/presets/codex/skills/cc-pagespeed/SKILL.md +2 -3
- package/presets/codex/skills/cc-review/SKILL.md +31 -0
- package/presets/codex/skills/cc-security/SKILL.md +1 -1
- package/presets/codex/skills/cc-spec-mutation/SKILL.md +5 -0
- package/presets/codex/skills/cc-tdd-cycle/SKILL.md +8 -0
- 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/AGENTS.md +6 -0
- package/presets/cursor/commands/cc/handoff.md +3 -1
- package/presets/cursor/commands/cc/odd.md +20 -0
- package/presets/cursor/commands/cc/openspec.md +5 -1
- package/presets/cursor/commands/cc/pagespeed.md +2 -3
- package/presets/cursor/commands/cc/review.md +31 -0
- package/presets/cursor/commands/cc/security.md +1 -1
- package/presets/cursor/commands/cc/spec-mutation.md +5 -0
- package/presets/cursor/commands/cc/tdd-cycle.md +8 -0
- 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/GEMINI.md +6 -0
- package/presets/gemini/commands/cc/handoff.toml +3 -1
- package/presets/gemini/commands/cc/odd.toml +20 -0
- package/presets/gemini/commands/cc/openspec.toml +5 -1
- package/presets/gemini/commands/cc/pagespeed.toml +2 -3
- package/presets/gemini/commands/cc/review.toml +31 -0
- package/presets/gemini/commands/cc/security.toml +1 -1
- package/presets/gemini/commands/cc/spec-mutation.toml +5 -0
- package/presets/gemini/commands/cc/tdd-cycle.toml +8 -0
- package/presets/opencode/README.md +45 -52
- package/presets/opencode/agents/implementer.md +2 -0
- package/presets/opencode/agents/reviewer.md +2 -0
- package/presets/opencode/agents/tester.md +2 -0
- package/presets/opencode/commands/cc-handoff.md +2 -1
- package/presets/opencode/commands/cc-odd.md +15 -0
- package/presets/opencode/commands/cc-pagespeed.md +2 -3
- package/presets/opencode/commands/cc-review.md +31 -0
- package/presets/opencode/commands/cc-security.md +1 -1
- 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/pi/AGENTS.md +6 -0
- 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/models/roles.yml +28 -28
- package/src/presets/shared-skills.yml +58 -22
- package/src/presets/targets/pi.yml +1 -0
|
@@ -831,6 +831,7 @@ export declare const CouncilVerdictInputSchema: z.ZodObject<{
|
|
|
831
831
|
agentId: string;
|
|
832
832
|
}>, "many">;
|
|
833
833
|
summary: z.ZodString;
|
|
834
|
+
candidateHash: z.ZodOptional<z.ZodString>;
|
|
834
835
|
}, "strip", z.ZodTypeAny, {
|
|
835
836
|
status: "APPROVED" | "REJECTED" | "ABSTAIN";
|
|
836
837
|
confidence: number;
|
|
@@ -845,6 +846,7 @@ export declare const CouncilVerdictInputSchema: z.ZodObject<{
|
|
|
845
846
|
}[];
|
|
846
847
|
summary: string;
|
|
847
848
|
complianceVeto?: boolean | undefined;
|
|
849
|
+
candidateHash?: string | undefined;
|
|
848
850
|
}, {
|
|
849
851
|
status: "APPROVED" | "REJECTED" | "ABSTAIN";
|
|
850
852
|
confidence: number;
|
|
@@ -859,6 +861,7 @@ export declare const CouncilVerdictInputSchema: z.ZodObject<{
|
|
|
859
861
|
}[];
|
|
860
862
|
summary: string;
|
|
861
863
|
complianceVeto?: boolean | undefined;
|
|
864
|
+
candidateHash?: string | undefined;
|
|
862
865
|
}>;
|
|
863
866
|
/**
|
|
864
867
|
* Consensus config schema
|
|
@@ -870,9 +873,11 @@ export declare const ConsensusConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
870
873
|
expectedAgentIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>>;
|
|
871
874
|
quorum: z.ZodOptional<z.ZodNumber>;
|
|
872
875
|
criticalFindingsPolicy: z.ZodOptional<z.ZodEnum<["escalate", "reject", "ignore"]>>;
|
|
876
|
+
candidateHash: z.ZodOptional<z.ZodString>;
|
|
873
877
|
}, "strip", z.ZodTypeAny, {
|
|
874
878
|
algorithm: "majority" | "unanimous";
|
|
875
879
|
allowSecurityVeto: boolean;
|
|
880
|
+
candidateHash?: string | undefined;
|
|
876
881
|
allowComplianceVeto?: boolean | undefined;
|
|
877
882
|
expectedAgentIds?: string[] | undefined;
|
|
878
883
|
quorum?: number | undefined;
|
|
@@ -880,6 +885,7 @@ export declare const ConsensusConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
880
885
|
}, {
|
|
881
886
|
algorithm: "majority" | "unanimous";
|
|
882
887
|
allowSecurityVeto: boolean;
|
|
888
|
+
candidateHash?: string | undefined;
|
|
883
889
|
allowComplianceVeto?: boolean | undefined;
|
|
884
890
|
expectedAgentIds?: string[] | undefined;
|
|
885
891
|
quorum?: number | undefined;
|
|
@@ -887,6 +893,7 @@ export declare const ConsensusConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
887
893
|
}>, {
|
|
888
894
|
algorithm: "majority" | "unanimous";
|
|
889
895
|
allowSecurityVeto: boolean;
|
|
896
|
+
candidateHash?: string | undefined;
|
|
890
897
|
allowComplianceVeto?: boolean | undefined;
|
|
891
898
|
expectedAgentIds?: string[] | undefined;
|
|
892
899
|
quorum?: number | undefined;
|
|
@@ -894,6 +901,7 @@ export declare const ConsensusConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
894
901
|
}, {
|
|
895
902
|
algorithm: "majority" | "unanimous";
|
|
896
903
|
allowSecurityVeto: boolean;
|
|
904
|
+
candidateHash?: string | undefined;
|
|
897
905
|
allowComplianceVeto?: boolean | undefined;
|
|
898
906
|
expectedAgentIds?: string[] | undefined;
|
|
899
907
|
quorum?: number | undefined;
|
|
@@ -901,6 +909,7 @@ export declare const ConsensusConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
901
909
|
}>, {
|
|
902
910
|
algorithm: "majority" | "unanimous";
|
|
903
911
|
allowSecurityVeto: boolean;
|
|
912
|
+
candidateHash?: string | undefined;
|
|
904
913
|
allowComplianceVeto?: boolean | undefined;
|
|
905
914
|
expectedAgentIds?: string[] | undefined;
|
|
906
915
|
quorum?: number | undefined;
|
|
@@ -908,6 +917,7 @@ export declare const ConsensusConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
908
917
|
}, {
|
|
909
918
|
algorithm: "majority" | "unanimous";
|
|
910
919
|
allowSecurityVeto: boolean;
|
|
920
|
+
candidateHash?: string | undefined;
|
|
911
921
|
allowComplianceVeto?: boolean | undefined;
|
|
912
922
|
expectedAgentIds?: string[] | undefined;
|
|
913
923
|
quorum?: number | undefined;
|
|
@@ -967,6 +977,7 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
967
977
|
agentId: string;
|
|
968
978
|
}>, "many">;
|
|
969
979
|
summary: z.ZodString;
|
|
980
|
+
candidateHash: z.ZodOptional<z.ZodString>;
|
|
970
981
|
}, "strip", z.ZodTypeAny, {
|
|
971
982
|
status: "APPROVED" | "REJECTED" | "ABSTAIN";
|
|
972
983
|
confidence: number;
|
|
@@ -981,6 +992,7 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
981
992
|
}[];
|
|
982
993
|
summary: string;
|
|
983
994
|
complianceVeto?: boolean | undefined;
|
|
995
|
+
candidateHash?: string | undefined;
|
|
984
996
|
}, {
|
|
985
997
|
status: "APPROVED" | "REJECTED" | "ABSTAIN";
|
|
986
998
|
confidence: number;
|
|
@@ -995,6 +1007,7 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
995
1007
|
}[];
|
|
996
1008
|
summary: string;
|
|
997
1009
|
complianceVeto?: boolean | undefined;
|
|
1010
|
+
candidateHash?: string | undefined;
|
|
998
1011
|
}>, "many">;
|
|
999
1012
|
}, "strip", z.ZodTypeAny, {
|
|
1000
1013
|
status: "APPROVED" | "REJECTED" | "ESCALATED";
|
|
@@ -1024,6 +1037,7 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
1024
1037
|
}[];
|
|
1025
1038
|
summary: string;
|
|
1026
1039
|
complianceVeto?: boolean | undefined;
|
|
1040
|
+
candidateHash?: string | undefined;
|
|
1027
1041
|
}[];
|
|
1028
1042
|
complianceVetoApplied?: boolean | undefined;
|
|
1029
1043
|
vetoByAgentId?: string | undefined;
|
|
@@ -1056,6 +1070,7 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
1056
1070
|
}[];
|
|
1057
1071
|
summary: string;
|
|
1058
1072
|
complianceVeto?: boolean | undefined;
|
|
1073
|
+
candidateHash?: string | undefined;
|
|
1059
1074
|
}[];
|
|
1060
1075
|
complianceVetoApplied?: boolean | undefined;
|
|
1061
1076
|
vetoByAgentId?: string | undefined;
|
|
@@ -2349,11 +2364,11 @@ export declare const SpecAnalyzeReportSchema: z.ZodObject<{
|
|
|
2349
2364
|
testCoveragePct: number;
|
|
2350
2365
|
stop: boolean;
|
|
2351
2366
|
}>;
|
|
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"]>;
|
|
2367
|
+
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", "odd"]>;
|
|
2353
2368
|
export declare const CcepOutputFormatSchema: z.ZodEnum<["taskcard", "plan", "verdict"]>;
|
|
2354
2369
|
export declare const CommandEnvelopeSchema: z.ZodObject<{
|
|
2355
2370
|
protocolVersion: z.ZodLiteral<"ccep-1">;
|
|
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"]>;
|
|
2371
|
+
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", "odd"]>;
|
|
2357
2372
|
userRequest: z.ZodString;
|
|
2358
2373
|
projectId: z.ZodString;
|
|
2359
2374
|
repoContext: z.ZodObject<{
|
|
@@ -2396,7 +2411,7 @@ export declare const CommandEnvelopeSchema: z.ZodObject<{
|
|
|
2396
2411
|
maxVariance: "low";
|
|
2397
2412
|
}>;
|
|
2398
2413
|
}, "strip", z.ZodTypeAny, {
|
|
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";
|
|
2414
|
+
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" | "odd";
|
|
2400
2415
|
constraints: {
|
|
2401
2416
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2402
2417
|
needConfirmation: boolean;
|
|
@@ -2416,7 +2431,7 @@ export declare const CommandEnvelopeSchema: z.ZodObject<{
|
|
|
2416
2431
|
maxVariance: "low";
|
|
2417
2432
|
};
|
|
2418
2433
|
}, {
|
|
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";
|
|
2434
|
+
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" | "odd";
|
|
2420
2435
|
constraints: {
|
|
2421
2436
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2422
2437
|
needConfirmation: boolean;
|
|
@@ -2493,7 +2508,7 @@ export declare const WorkflowRiskRuleSchema: z.ZodObject<{
|
|
|
2493
2508
|
export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
2494
2509
|
id: z.ZodString;
|
|
2495
2510
|
version: z.ZodNumber;
|
|
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"]>;
|
|
2511
|
+
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", "odd"]>;
|
|
2497
2512
|
taskCard: z.ZodOptional<z.ZodObject<{
|
|
2498
2513
|
type: z.ZodString;
|
|
2499
2514
|
requiredFields: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2594,7 +2609,7 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2594
2609
|
}, "strip", z.ZodTypeAny, {
|
|
2595
2610
|
id: string;
|
|
2596
2611
|
version: number;
|
|
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";
|
|
2612
|
+
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" | "odd";
|
|
2598
2613
|
phases: {
|
|
2599
2614
|
id: string;
|
|
2600
2615
|
type?: string | undefined;
|
|
@@ -2629,7 +2644,7 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2629
2644
|
}, {
|
|
2630
2645
|
id: string;
|
|
2631
2646
|
version: number;
|
|
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";
|
|
2647
|
+
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" | "odd";
|
|
2633
2648
|
phases: {
|
|
2634
2649
|
id: string;
|
|
2635
2650
|
type?: string | undefined;
|
|
@@ -2664,7 +2679,7 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2664
2679
|
}>, {
|
|
2665
2680
|
id: string;
|
|
2666
2681
|
version: number;
|
|
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";
|
|
2682
|
+
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" | "odd";
|
|
2668
2683
|
phases: {
|
|
2669
2684
|
id: string;
|
|
2670
2685
|
type?: string | undefined;
|
|
@@ -2699,7 +2714,7 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2699
2714
|
}, {
|
|
2700
2715
|
id: string;
|
|
2701
2716
|
version: number;
|
|
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";
|
|
2717
|
+
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" | "odd";
|
|
2703
2718
|
phases: {
|
|
2704
2719
|
id: string;
|
|
2705
2720
|
type?: string | undefined;
|
|
@@ -2735,7 +2750,7 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2735
2750
|
export declare const ExecutionContextSchema: z.ZodObject<{
|
|
2736
2751
|
envelope: z.ZodObject<{
|
|
2737
2752
|
protocolVersion: z.ZodLiteral<"ccep-1">;
|
|
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"]>;
|
|
2753
|
+
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", "odd"]>;
|
|
2739
2754
|
userRequest: z.ZodString;
|
|
2740
2755
|
projectId: z.ZodString;
|
|
2741
2756
|
repoContext: z.ZodObject<{
|
|
@@ -2778,7 +2793,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2778
2793
|
maxVariance: "low";
|
|
2779
2794
|
}>;
|
|
2780
2795
|
}, "strip", z.ZodTypeAny, {
|
|
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";
|
|
2796
|
+
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" | "odd";
|
|
2782
2797
|
constraints: {
|
|
2783
2798
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2784
2799
|
needConfirmation: boolean;
|
|
@@ -2798,7 +2813,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2798
2813
|
maxVariance: "low";
|
|
2799
2814
|
};
|
|
2800
2815
|
}, {
|
|
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";
|
|
2816
|
+
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" | "odd";
|
|
2802
2817
|
constraints: {
|
|
2803
2818
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2804
2819
|
needConfirmation: boolean;
|
|
@@ -2821,7 +2836,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2821
2836
|
profile: z.ZodEffects<z.ZodObject<{
|
|
2822
2837
|
id: z.ZodString;
|
|
2823
2838
|
version: z.ZodNumber;
|
|
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"]>;
|
|
2839
|
+
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", "odd"]>;
|
|
2825
2840
|
taskCard: z.ZodOptional<z.ZodObject<{
|
|
2826
2841
|
type: z.ZodString;
|
|
2827
2842
|
requiredFields: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2922,7 +2937,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2922
2937
|
}, "strip", z.ZodTypeAny, {
|
|
2923
2938
|
id: string;
|
|
2924
2939
|
version: number;
|
|
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";
|
|
2940
|
+
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" | "odd";
|
|
2926
2941
|
phases: {
|
|
2927
2942
|
id: string;
|
|
2928
2943
|
type?: string | undefined;
|
|
@@ -2957,7 +2972,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2957
2972
|
}, {
|
|
2958
2973
|
id: string;
|
|
2959
2974
|
version: number;
|
|
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";
|
|
2975
|
+
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" | "odd";
|
|
2961
2976
|
phases: {
|
|
2962
2977
|
id: string;
|
|
2963
2978
|
type?: string | undefined;
|
|
@@ -2992,7 +3007,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2992
3007
|
}>, {
|
|
2993
3008
|
id: string;
|
|
2994
3009
|
version: number;
|
|
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";
|
|
3010
|
+
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" | "odd";
|
|
2996
3011
|
phases: {
|
|
2997
3012
|
id: string;
|
|
2998
3013
|
type?: string | undefined;
|
|
@@ -3027,7 +3042,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
3027
3042
|
}, {
|
|
3028
3043
|
id: string;
|
|
3029
3044
|
version: number;
|
|
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";
|
|
3045
|
+
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" | "odd";
|
|
3031
3046
|
phases: {
|
|
3032
3047
|
id: string;
|
|
3033
3048
|
type?: string | undefined;
|
|
@@ -3061,19 +3076,19 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
3061
3076
|
intakeSchema?: string | undefined;
|
|
3062
3077
|
}>;
|
|
3063
3078
|
intent: z.ZodObject<{
|
|
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"]>;
|
|
3079
|
+
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", "odd"]>;
|
|
3065
3080
|
goal: z.ZodString;
|
|
3066
3081
|
domain: z.ZodOptional<z.ZodString>;
|
|
3067
3082
|
entity: z.ZodOptional<z.ZodString>;
|
|
3068
3083
|
operation: z.ZodOptional<z.ZodString>;
|
|
3069
3084
|
}, "strip", z.ZodTypeAny, {
|
|
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";
|
|
3085
|
+
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" | "odd";
|
|
3071
3086
|
goal: string;
|
|
3072
3087
|
domain?: string | undefined;
|
|
3073
3088
|
entity?: string | undefined;
|
|
3074
3089
|
operation?: string | undefined;
|
|
3075
3090
|
}, {
|
|
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";
|
|
3091
|
+
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" | "odd";
|
|
3077
3092
|
goal: string;
|
|
3078
3093
|
domain?: string | undefined;
|
|
3079
3094
|
entity?: string | undefined;
|
|
@@ -3136,7 +3151,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
3136
3151
|
profile: {
|
|
3137
3152
|
id: string;
|
|
3138
3153
|
version: number;
|
|
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";
|
|
3154
|
+
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" | "odd";
|
|
3140
3155
|
phases: {
|
|
3141
3156
|
id: string;
|
|
3142
3157
|
type?: string | undefined;
|
|
@@ -3171,7 +3186,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
3171
3186
|
};
|
|
3172
3187
|
outputSchema: string;
|
|
3173
3188
|
envelope: {
|
|
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";
|
|
3189
|
+
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" | "odd";
|
|
3175
3190
|
constraints: {
|
|
3176
3191
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
3177
3192
|
needConfirmation: boolean;
|
|
@@ -3192,7 +3207,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
3192
3207
|
};
|
|
3193
3208
|
};
|
|
3194
3209
|
intent: {
|
|
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";
|
|
3210
|
+
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" | "odd";
|
|
3196
3211
|
goal: string;
|
|
3197
3212
|
domain?: string | undefined;
|
|
3198
3213
|
entity?: string | undefined;
|
|
@@ -3221,7 +3236,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
3221
3236
|
profile: {
|
|
3222
3237
|
id: string;
|
|
3223
3238
|
version: number;
|
|
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";
|
|
3239
|
+
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" | "odd";
|
|
3225
3240
|
phases: {
|
|
3226
3241
|
id: string;
|
|
3227
3242
|
type?: string | undefined;
|
|
@@ -3256,7 +3271,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
3256
3271
|
};
|
|
3257
3272
|
outputSchema: string;
|
|
3258
3273
|
envelope: {
|
|
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";
|
|
3274
|
+
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" | "odd";
|
|
3260
3275
|
constraints: {
|
|
3261
3276
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
3262
3277
|
needConfirmation: boolean;
|
|
@@ -3277,7 +3292,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
3277
3292
|
};
|
|
3278
3293
|
};
|
|
3279
3294
|
intent: {
|
|
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";
|
|
3295
|
+
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" | "odd";
|
|
3281
3296
|
goal: string;
|
|
3282
3297
|
domain?: string | undefined;
|
|
3283
3298
|
entity?: string | undefined;
|
|
@@ -3737,6 +3752,416 @@ export declare const ScorecardRecordSchema: z.ZodObject<{
|
|
|
3737
3752
|
}>;
|
|
3738
3753
|
export declare const TaskOutcomeSourceSchema: z.ZodEnum<["openspec", "review", "manual", "pipeline"]>;
|
|
3739
3754
|
export declare const TaskOutcomeStatusSchema: z.ZodEnum<["phase_done", "phase_failed", "pass", "revise", "reject"]>;
|
|
3755
|
+
export declare const DeliveryRouteSchema: z.ZodEnum<["read-only", "small", "tracked", "openspec"]>;
|
|
3756
|
+
export declare const TokenUsageSchema: z.ZodUnion<[z.ZodObject<{
|
|
3757
|
+
status: z.ZodLiteral<"known">;
|
|
3758
|
+
total: z.ZodNumber;
|
|
3759
|
+
}, "strip", z.ZodTypeAny, {
|
|
3760
|
+
status: "known";
|
|
3761
|
+
total: number;
|
|
3762
|
+
}, {
|
|
3763
|
+
status: "known";
|
|
3764
|
+
total: number;
|
|
3765
|
+
}>, z.ZodObject<{
|
|
3766
|
+
status: z.ZodLiteral<"unknown">;
|
|
3767
|
+
}, "strip", z.ZodTypeAny, {
|
|
3768
|
+
status: "unknown";
|
|
3769
|
+
}, {
|
|
3770
|
+
status: "unknown";
|
|
3771
|
+
}>]>;
|
|
3772
|
+
export declare const DeliveryTelemetrySchema: z.ZodObject<{
|
|
3773
|
+
route: z.ZodEnum<["read-only", "small", "tracked", "openspec"]>;
|
|
3774
|
+
contextBytes: z.ZodOptional<z.ZodNumber>;
|
|
3775
|
+
handoffs: z.ZodOptional<z.ZodNumber>;
|
|
3776
|
+
checks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3777
|
+
tokenUsage: z.ZodUnion<[z.ZodObject<{
|
|
3778
|
+
status: z.ZodLiteral<"known">;
|
|
3779
|
+
total: z.ZodNumber;
|
|
3780
|
+
}, "strip", z.ZodTypeAny, {
|
|
3781
|
+
status: "known";
|
|
3782
|
+
total: number;
|
|
3783
|
+
}, {
|
|
3784
|
+
status: "known";
|
|
3785
|
+
total: number;
|
|
3786
|
+
}>, z.ZodObject<{
|
|
3787
|
+
status: z.ZodLiteral<"unknown">;
|
|
3788
|
+
}, "strip", z.ZodTypeAny, {
|
|
3789
|
+
status: "unknown";
|
|
3790
|
+
}, {
|
|
3791
|
+
status: "unknown";
|
|
3792
|
+
}>]>;
|
|
3793
|
+
}, "strip", z.ZodTypeAny, {
|
|
3794
|
+
route: "openspec" | "read-only" | "small" | "tracked";
|
|
3795
|
+
tokenUsage: {
|
|
3796
|
+
status: "known";
|
|
3797
|
+
total: number;
|
|
3798
|
+
} | {
|
|
3799
|
+
status: "unknown";
|
|
3800
|
+
};
|
|
3801
|
+
checks?: string[] | undefined;
|
|
3802
|
+
contextBytes?: number | undefined;
|
|
3803
|
+
handoffs?: number | undefined;
|
|
3804
|
+
}, {
|
|
3805
|
+
route: "openspec" | "read-only" | "small" | "tracked";
|
|
3806
|
+
tokenUsage: {
|
|
3807
|
+
status: "known";
|
|
3808
|
+
total: number;
|
|
3809
|
+
} | {
|
|
3810
|
+
status: "unknown";
|
|
3811
|
+
};
|
|
3812
|
+
checks?: string[] | undefined;
|
|
3813
|
+
contextBytes?: number | undefined;
|
|
3814
|
+
handoffs?: number | undefined;
|
|
3815
|
+
}>;
|
|
3816
|
+
export declare const DeliveryLedgerTaskSchema: z.ZodObject<{
|
|
3817
|
+
id: z.ZodString;
|
|
3818
|
+
title: z.ZodString;
|
|
3819
|
+
status: z.ZodEnum<["pending", "done", "blocked"]>;
|
|
3820
|
+
}, "strip", z.ZodTypeAny, {
|
|
3821
|
+
id: string;
|
|
3822
|
+
status: "pending" | "done" | "blocked";
|
|
3823
|
+
title: string;
|
|
3824
|
+
}, {
|
|
3825
|
+
id: string;
|
|
3826
|
+
status: "pending" | "done" | "blocked";
|
|
3827
|
+
title: string;
|
|
3828
|
+
}>;
|
|
3829
|
+
export declare const DeliveryLedgerSchema: z.ZodObject<{
|
|
3830
|
+
version: z.ZodLiteral<1>;
|
|
3831
|
+
id: z.ZodString;
|
|
3832
|
+
taskCard: z.ZodObject<{
|
|
3833
|
+
id: z.ZodString;
|
|
3834
|
+
title: z.ZodString;
|
|
3835
|
+
objective: z.ZodString;
|
|
3836
|
+
context: z.ZodString;
|
|
3837
|
+
acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
|
|
3838
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3839
|
+
constraints: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3840
|
+
risk: z.ZodEnum<["low", "medium", "high"]>;
|
|
3841
|
+
targetFiles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3842
|
+
agentType: z.ZodString;
|
|
3843
|
+
evidenceRequired: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3844
|
+
status: z.ZodEnum<["draft", "ready", "in-progress", "review", "done", "blocked"]>;
|
|
3845
|
+
type: z.ZodEnum<["feature", "fix", "refactor", "review", "docs", "test"]>;
|
|
3846
|
+
linkedCapabilities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3847
|
+
boundaries: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3848
|
+
requiresHumanReview: z.ZodOptional<z.ZodBoolean>;
|
|
3849
|
+
requiresTests: z.ZodOptional<z.ZodBoolean>;
|
|
3850
|
+
contextScope: z.ZodOptional<z.ZodEnum<["isolated", "continuation", "full"]>>;
|
|
3851
|
+
actualBehavior: z.ZodOptional<z.ZodString>;
|
|
3852
|
+
expectedBehavior: z.ZodOptional<z.ZodString>;
|
|
3853
|
+
reproductionSteps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3854
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
3855
|
+
authorization: z.ZodOptional<z.ZodString>;
|
|
3856
|
+
}, "strip", z.ZodTypeAny, {
|
|
3857
|
+
id: string;
|
|
3858
|
+
context: string;
|
|
3859
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
3860
|
+
type: "feature" | "fix" | "refactor" | "test" | "docs" | "review";
|
|
3861
|
+
title: string;
|
|
3862
|
+
risk: "low" | "medium" | "high";
|
|
3863
|
+
objective: string;
|
|
3864
|
+
acceptanceCriteria: string[];
|
|
3865
|
+
dependencies: string[];
|
|
3866
|
+
constraints: string[];
|
|
3867
|
+
targetFiles: string[];
|
|
3868
|
+
agentType: string;
|
|
3869
|
+
evidenceRequired: string[];
|
|
3870
|
+
linkedCapabilities: string[];
|
|
3871
|
+
boundaries: string[];
|
|
3872
|
+
domain?: string | undefined;
|
|
3873
|
+
requiresHumanReview?: boolean | undefined;
|
|
3874
|
+
requiresTests?: boolean | undefined;
|
|
3875
|
+
contextScope?: "isolated" | "continuation" | "full" | undefined;
|
|
3876
|
+
actualBehavior?: string | undefined;
|
|
3877
|
+
expectedBehavior?: string | undefined;
|
|
3878
|
+
reproductionSteps?: string[] | undefined;
|
|
3879
|
+
authorization?: string | undefined;
|
|
3880
|
+
}, {
|
|
3881
|
+
id: string;
|
|
3882
|
+
context: string;
|
|
3883
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
3884
|
+
type: "feature" | "fix" | "refactor" | "test" | "docs" | "review";
|
|
3885
|
+
title: string;
|
|
3886
|
+
risk: "low" | "medium" | "high";
|
|
3887
|
+
objective: string;
|
|
3888
|
+
acceptanceCriteria: string[];
|
|
3889
|
+
agentType: string;
|
|
3890
|
+
domain?: string | undefined;
|
|
3891
|
+
dependencies?: string[] | undefined;
|
|
3892
|
+
constraints?: string[] | undefined;
|
|
3893
|
+
targetFiles?: string[] | undefined;
|
|
3894
|
+
evidenceRequired?: string[] | undefined;
|
|
3895
|
+
linkedCapabilities?: string[] | undefined;
|
|
3896
|
+
boundaries?: string[] | undefined;
|
|
3897
|
+
requiresHumanReview?: boolean | undefined;
|
|
3898
|
+
requiresTests?: boolean | undefined;
|
|
3899
|
+
contextScope?: "isolated" | "continuation" | "full" | undefined;
|
|
3900
|
+
actualBehavior?: string | undefined;
|
|
3901
|
+
expectedBehavior?: string | undefined;
|
|
3902
|
+
reproductionSteps?: string[] | undefined;
|
|
3903
|
+
authorization?: string | undefined;
|
|
3904
|
+
}>;
|
|
3905
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
3906
|
+
id: z.ZodString;
|
|
3907
|
+
title: z.ZodString;
|
|
3908
|
+
status: z.ZodEnum<["pending", "done", "blocked"]>;
|
|
3909
|
+
}, "strip", z.ZodTypeAny, {
|
|
3910
|
+
id: string;
|
|
3911
|
+
status: "pending" | "done" | "blocked";
|
|
3912
|
+
title: string;
|
|
3913
|
+
}, {
|
|
3914
|
+
id: string;
|
|
3915
|
+
status: "pending" | "done" | "blocked";
|
|
3916
|
+
title: string;
|
|
3917
|
+
}>, "many">;
|
|
3918
|
+
evidence: z.ZodArray<z.ZodString, "many">;
|
|
3919
|
+
nextStep: z.ZodString;
|
|
3920
|
+
memoryTopicKey: z.ZodString;
|
|
3921
|
+
workspace: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3922
|
+
createdAt: z.ZodString;
|
|
3923
|
+
updatedAt: z.ZodString;
|
|
3924
|
+
}, "strip", z.ZodTypeAny, {
|
|
3925
|
+
id: string;
|
|
3926
|
+
version: 1;
|
|
3927
|
+
tasks: {
|
|
3928
|
+
id: string;
|
|
3929
|
+
status: "pending" | "done" | "blocked";
|
|
3930
|
+
title: string;
|
|
3931
|
+
}[];
|
|
3932
|
+
evidence: string[];
|
|
3933
|
+
updatedAt: string;
|
|
3934
|
+
taskCard: {
|
|
3935
|
+
id: string;
|
|
3936
|
+
context: string;
|
|
3937
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
3938
|
+
type: "feature" | "fix" | "refactor" | "test" | "docs" | "review";
|
|
3939
|
+
title: string;
|
|
3940
|
+
risk: "low" | "medium" | "high";
|
|
3941
|
+
objective: string;
|
|
3942
|
+
acceptanceCriteria: string[];
|
|
3943
|
+
dependencies: string[];
|
|
3944
|
+
constraints: string[];
|
|
3945
|
+
targetFiles: string[];
|
|
3946
|
+
agentType: string;
|
|
3947
|
+
evidenceRequired: string[];
|
|
3948
|
+
linkedCapabilities: string[];
|
|
3949
|
+
boundaries: string[];
|
|
3950
|
+
domain?: string | undefined;
|
|
3951
|
+
requiresHumanReview?: boolean | undefined;
|
|
3952
|
+
requiresTests?: boolean | undefined;
|
|
3953
|
+
contextScope?: "isolated" | "continuation" | "full" | undefined;
|
|
3954
|
+
actualBehavior?: string | undefined;
|
|
3955
|
+
expectedBehavior?: string | undefined;
|
|
3956
|
+
reproductionSteps?: string[] | undefined;
|
|
3957
|
+
authorization?: string | undefined;
|
|
3958
|
+
};
|
|
3959
|
+
createdAt: string;
|
|
3960
|
+
nextStep: string;
|
|
3961
|
+
memoryTopicKey: string;
|
|
3962
|
+
workspace: Record<string, string>;
|
|
3963
|
+
}, {
|
|
3964
|
+
id: string;
|
|
3965
|
+
version: 1;
|
|
3966
|
+
tasks: {
|
|
3967
|
+
id: string;
|
|
3968
|
+
status: "pending" | "done" | "blocked";
|
|
3969
|
+
title: string;
|
|
3970
|
+
}[];
|
|
3971
|
+
evidence: string[];
|
|
3972
|
+
updatedAt: string;
|
|
3973
|
+
taskCard: {
|
|
3974
|
+
id: string;
|
|
3975
|
+
context: string;
|
|
3976
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
3977
|
+
type: "feature" | "fix" | "refactor" | "test" | "docs" | "review";
|
|
3978
|
+
title: string;
|
|
3979
|
+
risk: "low" | "medium" | "high";
|
|
3980
|
+
objective: string;
|
|
3981
|
+
acceptanceCriteria: string[];
|
|
3982
|
+
agentType: string;
|
|
3983
|
+
domain?: string | undefined;
|
|
3984
|
+
dependencies?: string[] | undefined;
|
|
3985
|
+
constraints?: string[] | undefined;
|
|
3986
|
+
targetFiles?: string[] | undefined;
|
|
3987
|
+
evidenceRequired?: string[] | undefined;
|
|
3988
|
+
linkedCapabilities?: string[] | undefined;
|
|
3989
|
+
boundaries?: string[] | undefined;
|
|
3990
|
+
requiresHumanReview?: boolean | undefined;
|
|
3991
|
+
requiresTests?: boolean | undefined;
|
|
3992
|
+
contextScope?: "isolated" | "continuation" | "full" | undefined;
|
|
3993
|
+
actualBehavior?: string | undefined;
|
|
3994
|
+
expectedBehavior?: string | undefined;
|
|
3995
|
+
reproductionSteps?: string[] | undefined;
|
|
3996
|
+
authorization?: string | undefined;
|
|
3997
|
+
};
|
|
3998
|
+
createdAt: string;
|
|
3999
|
+
nextStep: string;
|
|
4000
|
+
memoryTopicKey: string;
|
|
4001
|
+
workspace: Record<string, string>;
|
|
4002
|
+
}>;
|
|
4003
|
+
export declare const DeliveryLedgerRequestSchema: z.ZodObject<{
|
|
4004
|
+
id: z.ZodString;
|
|
4005
|
+
authorized: z.ZodBoolean;
|
|
4006
|
+
route: z.ZodEnum<["read-only", "small", "tracked", "openspec"]>;
|
|
4007
|
+
taskCard: z.ZodObject<{
|
|
4008
|
+
id: z.ZodString;
|
|
4009
|
+
title: z.ZodString;
|
|
4010
|
+
objective: z.ZodString;
|
|
4011
|
+
context: z.ZodString;
|
|
4012
|
+
acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
|
|
4013
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4014
|
+
constraints: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4015
|
+
risk: z.ZodEnum<["low", "medium", "high"]>;
|
|
4016
|
+
targetFiles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4017
|
+
agentType: z.ZodString;
|
|
4018
|
+
evidenceRequired: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4019
|
+
status: z.ZodEnum<["draft", "ready", "in-progress", "review", "done", "blocked"]>;
|
|
4020
|
+
type: z.ZodEnum<["feature", "fix", "refactor", "review", "docs", "test"]>;
|
|
4021
|
+
linkedCapabilities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4022
|
+
boundaries: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4023
|
+
requiresHumanReview: z.ZodOptional<z.ZodBoolean>;
|
|
4024
|
+
requiresTests: z.ZodOptional<z.ZodBoolean>;
|
|
4025
|
+
contextScope: z.ZodOptional<z.ZodEnum<["isolated", "continuation", "full"]>>;
|
|
4026
|
+
actualBehavior: z.ZodOptional<z.ZodString>;
|
|
4027
|
+
expectedBehavior: z.ZodOptional<z.ZodString>;
|
|
4028
|
+
reproductionSteps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4029
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
4030
|
+
authorization: z.ZodOptional<z.ZodString>;
|
|
4031
|
+
}, "strip", z.ZodTypeAny, {
|
|
4032
|
+
id: string;
|
|
4033
|
+
context: string;
|
|
4034
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4035
|
+
type: "feature" | "fix" | "refactor" | "test" | "docs" | "review";
|
|
4036
|
+
title: string;
|
|
4037
|
+
risk: "low" | "medium" | "high";
|
|
4038
|
+
objective: string;
|
|
4039
|
+
acceptanceCriteria: string[];
|
|
4040
|
+
dependencies: string[];
|
|
4041
|
+
constraints: string[];
|
|
4042
|
+
targetFiles: string[];
|
|
4043
|
+
agentType: string;
|
|
4044
|
+
evidenceRequired: string[];
|
|
4045
|
+
linkedCapabilities: string[];
|
|
4046
|
+
boundaries: string[];
|
|
4047
|
+
domain?: string | undefined;
|
|
4048
|
+
requiresHumanReview?: boolean | undefined;
|
|
4049
|
+
requiresTests?: boolean | undefined;
|
|
4050
|
+
contextScope?: "isolated" | "continuation" | "full" | undefined;
|
|
4051
|
+
actualBehavior?: string | undefined;
|
|
4052
|
+
expectedBehavior?: string | undefined;
|
|
4053
|
+
reproductionSteps?: string[] | undefined;
|
|
4054
|
+
authorization?: string | undefined;
|
|
4055
|
+
}, {
|
|
4056
|
+
id: string;
|
|
4057
|
+
context: string;
|
|
4058
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4059
|
+
type: "feature" | "fix" | "refactor" | "test" | "docs" | "review";
|
|
4060
|
+
title: string;
|
|
4061
|
+
risk: "low" | "medium" | "high";
|
|
4062
|
+
objective: string;
|
|
4063
|
+
acceptanceCriteria: string[];
|
|
4064
|
+
agentType: string;
|
|
4065
|
+
domain?: string | undefined;
|
|
4066
|
+
dependencies?: string[] | undefined;
|
|
4067
|
+
constraints?: string[] | undefined;
|
|
4068
|
+
targetFiles?: string[] | undefined;
|
|
4069
|
+
evidenceRequired?: string[] | undefined;
|
|
4070
|
+
linkedCapabilities?: string[] | undefined;
|
|
4071
|
+
boundaries?: string[] | undefined;
|
|
4072
|
+
requiresHumanReview?: boolean | undefined;
|
|
4073
|
+
requiresTests?: boolean | undefined;
|
|
4074
|
+
contextScope?: "isolated" | "continuation" | "full" | undefined;
|
|
4075
|
+
actualBehavior?: string | undefined;
|
|
4076
|
+
expectedBehavior?: string | undefined;
|
|
4077
|
+
reproductionSteps?: string[] | undefined;
|
|
4078
|
+
authorization?: string | undefined;
|
|
4079
|
+
}>;
|
|
4080
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
4081
|
+
id: z.ZodString;
|
|
4082
|
+
title: z.ZodString;
|
|
4083
|
+
status: z.ZodEnum<["pending", "done", "blocked"]>;
|
|
4084
|
+
}, "strip", z.ZodTypeAny, {
|
|
4085
|
+
id: string;
|
|
4086
|
+
status: "pending" | "done" | "blocked";
|
|
4087
|
+
title: string;
|
|
4088
|
+
}, {
|
|
4089
|
+
id: string;
|
|
4090
|
+
status: "pending" | "done" | "blocked";
|
|
4091
|
+
title: string;
|
|
4092
|
+
}>, "many">;
|
|
4093
|
+
nextStep: z.ZodString;
|
|
4094
|
+
}, "strip", z.ZodTypeAny, {
|
|
4095
|
+
id: string;
|
|
4096
|
+
tasks: {
|
|
4097
|
+
id: string;
|
|
4098
|
+
status: "pending" | "done" | "blocked";
|
|
4099
|
+
title: string;
|
|
4100
|
+
}[];
|
|
4101
|
+
taskCard: {
|
|
4102
|
+
id: string;
|
|
4103
|
+
context: string;
|
|
4104
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4105
|
+
type: "feature" | "fix" | "refactor" | "test" | "docs" | "review";
|
|
4106
|
+
title: string;
|
|
4107
|
+
risk: "low" | "medium" | "high";
|
|
4108
|
+
objective: string;
|
|
4109
|
+
acceptanceCriteria: string[];
|
|
4110
|
+
dependencies: string[];
|
|
4111
|
+
constraints: string[];
|
|
4112
|
+
targetFiles: string[];
|
|
4113
|
+
agentType: string;
|
|
4114
|
+
evidenceRequired: string[];
|
|
4115
|
+
linkedCapabilities: string[];
|
|
4116
|
+
boundaries: string[];
|
|
4117
|
+
domain?: string | undefined;
|
|
4118
|
+
requiresHumanReview?: boolean | undefined;
|
|
4119
|
+
requiresTests?: boolean | undefined;
|
|
4120
|
+
contextScope?: "isolated" | "continuation" | "full" | undefined;
|
|
4121
|
+
actualBehavior?: string | undefined;
|
|
4122
|
+
expectedBehavior?: string | undefined;
|
|
4123
|
+
reproductionSteps?: string[] | undefined;
|
|
4124
|
+
authorization?: string | undefined;
|
|
4125
|
+
};
|
|
4126
|
+
route: "openspec" | "read-only" | "small" | "tracked";
|
|
4127
|
+
nextStep: string;
|
|
4128
|
+
authorized: boolean;
|
|
4129
|
+
}, {
|
|
4130
|
+
id: string;
|
|
4131
|
+
tasks: {
|
|
4132
|
+
id: string;
|
|
4133
|
+
status: "pending" | "done" | "blocked";
|
|
4134
|
+
title: string;
|
|
4135
|
+
}[];
|
|
4136
|
+
taskCard: {
|
|
4137
|
+
id: string;
|
|
4138
|
+
context: string;
|
|
4139
|
+
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
4140
|
+
type: "feature" | "fix" | "refactor" | "test" | "docs" | "review";
|
|
4141
|
+
title: string;
|
|
4142
|
+
risk: "low" | "medium" | "high";
|
|
4143
|
+
objective: string;
|
|
4144
|
+
acceptanceCriteria: string[];
|
|
4145
|
+
agentType: string;
|
|
4146
|
+
domain?: string | undefined;
|
|
4147
|
+
dependencies?: string[] | undefined;
|
|
4148
|
+
constraints?: string[] | undefined;
|
|
4149
|
+
targetFiles?: string[] | undefined;
|
|
4150
|
+
evidenceRequired?: string[] | undefined;
|
|
4151
|
+
linkedCapabilities?: string[] | undefined;
|
|
4152
|
+
boundaries?: string[] | undefined;
|
|
4153
|
+
requiresHumanReview?: boolean | undefined;
|
|
4154
|
+
requiresTests?: boolean | undefined;
|
|
4155
|
+
contextScope?: "isolated" | "continuation" | "full" | undefined;
|
|
4156
|
+
actualBehavior?: string | undefined;
|
|
4157
|
+
expectedBehavior?: string | undefined;
|
|
4158
|
+
reproductionSteps?: string[] | undefined;
|
|
4159
|
+
authorization?: string | undefined;
|
|
4160
|
+
};
|
|
4161
|
+
route: "openspec" | "read-only" | "small" | "tracked";
|
|
4162
|
+
nextStep: string;
|
|
4163
|
+
authorized: boolean;
|
|
4164
|
+
}>;
|
|
3740
4165
|
export declare const TaskOutcomeSchema: z.ZodObject<{
|
|
3741
4166
|
id: z.ZodString;
|
|
3742
4167
|
taskId: z.ZodString;
|
|
@@ -3761,6 +4186,50 @@ export declare const TaskOutcomeSchema: z.ZodObject<{
|
|
|
3761
4186
|
suiteTaskId: z.ZodOptional<z.ZodString>;
|
|
3762
4187
|
harnessFingerprint: z.ZodOptional<z.ZodString>;
|
|
3763
4188
|
disabledComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4189
|
+
delivery: z.ZodOptional<z.ZodObject<{
|
|
4190
|
+
route: z.ZodEnum<["read-only", "small", "tracked", "openspec"]>;
|
|
4191
|
+
contextBytes: z.ZodOptional<z.ZodNumber>;
|
|
4192
|
+
handoffs: z.ZodOptional<z.ZodNumber>;
|
|
4193
|
+
checks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4194
|
+
tokenUsage: z.ZodUnion<[z.ZodObject<{
|
|
4195
|
+
status: z.ZodLiteral<"known">;
|
|
4196
|
+
total: z.ZodNumber;
|
|
4197
|
+
}, "strip", z.ZodTypeAny, {
|
|
4198
|
+
status: "known";
|
|
4199
|
+
total: number;
|
|
4200
|
+
}, {
|
|
4201
|
+
status: "known";
|
|
4202
|
+
total: number;
|
|
4203
|
+
}>, z.ZodObject<{
|
|
4204
|
+
status: z.ZodLiteral<"unknown">;
|
|
4205
|
+
}, "strip", z.ZodTypeAny, {
|
|
4206
|
+
status: "unknown";
|
|
4207
|
+
}, {
|
|
4208
|
+
status: "unknown";
|
|
4209
|
+
}>]>;
|
|
4210
|
+
}, "strip", z.ZodTypeAny, {
|
|
4211
|
+
route: "openspec" | "read-only" | "small" | "tracked";
|
|
4212
|
+
tokenUsage: {
|
|
4213
|
+
status: "known";
|
|
4214
|
+
total: number;
|
|
4215
|
+
} | {
|
|
4216
|
+
status: "unknown";
|
|
4217
|
+
};
|
|
4218
|
+
checks?: string[] | undefined;
|
|
4219
|
+
contextBytes?: number | undefined;
|
|
4220
|
+
handoffs?: number | undefined;
|
|
4221
|
+
}, {
|
|
4222
|
+
route: "openspec" | "read-only" | "small" | "tracked";
|
|
4223
|
+
tokenUsage: {
|
|
4224
|
+
status: "known";
|
|
4225
|
+
total: number;
|
|
4226
|
+
} | {
|
|
4227
|
+
status: "unknown";
|
|
4228
|
+
};
|
|
4229
|
+
checks?: string[] | undefined;
|
|
4230
|
+
contextBytes?: number | undefined;
|
|
4231
|
+
handoffs?: number | undefined;
|
|
4232
|
+
}>>;
|
|
3764
4233
|
}, "strip", z.ZodTypeAny, {
|
|
3765
4234
|
id: string;
|
|
3766
4235
|
model: string;
|
|
@@ -3785,6 +4254,18 @@ export declare const TaskOutcomeSchema: z.ZodObject<{
|
|
|
3785
4254
|
suiteTaskId?: string | undefined;
|
|
3786
4255
|
harnessFingerprint?: string | undefined;
|
|
3787
4256
|
disabledComponents?: string[] | undefined;
|
|
4257
|
+
delivery?: {
|
|
4258
|
+
route: "openspec" | "read-only" | "small" | "tracked";
|
|
4259
|
+
tokenUsage: {
|
|
4260
|
+
status: "known";
|
|
4261
|
+
total: number;
|
|
4262
|
+
} | {
|
|
4263
|
+
status: "unknown";
|
|
4264
|
+
};
|
|
4265
|
+
checks?: string[] | undefined;
|
|
4266
|
+
contextBytes?: number | undefined;
|
|
4267
|
+
handoffs?: number | undefined;
|
|
4268
|
+
} | undefined;
|
|
3788
4269
|
}, {
|
|
3789
4270
|
id: string;
|
|
3790
4271
|
model: string;
|
|
@@ -3809,6 +4290,18 @@ export declare const TaskOutcomeSchema: z.ZodObject<{
|
|
|
3809
4290
|
suiteTaskId?: string | undefined;
|
|
3810
4291
|
harnessFingerprint?: string | undefined;
|
|
3811
4292
|
disabledComponents?: string[] | undefined;
|
|
4293
|
+
delivery?: {
|
|
4294
|
+
route: "openspec" | "read-only" | "small" | "tracked";
|
|
4295
|
+
tokenUsage: {
|
|
4296
|
+
status: "known";
|
|
4297
|
+
total: number;
|
|
4298
|
+
} | {
|
|
4299
|
+
status: "unknown";
|
|
4300
|
+
};
|
|
4301
|
+
checks?: string[] | undefined;
|
|
4302
|
+
contextBytes?: number | undefined;
|
|
4303
|
+
handoffs?: number | undefined;
|
|
4304
|
+
} | undefined;
|
|
3812
4305
|
}>;
|
|
3813
4306
|
export declare const HarnessComponentIdSchema: z.ZodEnum<["wayfinding", "intake", "design", "test_first", "review", "docs", "confirmation_gates", "compile_loop", "council", "product_graph"]>;
|
|
3814
4307
|
export declare const HarnessComponentLayerSchema: z.ZodEnum<["phase", "gate", "loop", "knowledge", "council"]>;
|
|
@@ -4139,6 +4632,8 @@ export type HarnessExperimentInput = z.infer<typeof HarnessExperimentSchema>;
|
|
|
4139
4632
|
export type HarnessSuiteTaskInput = z.infer<typeof HarnessSuiteTaskSchema>;
|
|
4140
4633
|
export type HarnessSuiteInput = z.infer<typeof HarnessSuiteSchema>;
|
|
4141
4634
|
export type WorkflowCommandInput = z.infer<typeof WorkflowCommandSchema>;
|
|
4635
|
+
export type DeliveryLedgerInput = z.infer<typeof DeliveryLedgerSchema>;
|
|
4636
|
+
export type DeliveryLedgerRequestInput = z.infer<typeof DeliveryLedgerRequestSchema>;
|
|
4142
4637
|
export type CommandEnvelopeInput = z.infer<typeof CommandEnvelopeSchema>;
|
|
4143
4638
|
export type WorkflowProfileInput = z.infer<typeof WorkflowProfileSchema>;
|
|
4144
4639
|
export type ExecutionContextInput = z.infer<typeof ExecutionContextSchema>;
|