cc-codeconductor 1.0.0 → 1.1.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 +324 -87
- package/dist/core/compilation/compile-checker.d.ts +2 -0
- package/dist/core/loop/loop-engine.d.ts +3 -0
- package/dist/index.js +2701 -577
- package/dist/library.js +167 -18
- package/dist/validation/schemas.d.ts +390 -44
- package/package.json +4 -1
- package/presets/agy/AGENTS.md +3 -0
- package/presets/agy/gates/pre-commit/GATE.md +5 -4
- package/presets/agy/skills/backlog/SKILL.md +91 -0
- package/presets/agy/skills/openspec/SKILL.md +5 -1
- package/presets/agy/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/agy/skills/security-blue-team/SKILL.md +43 -0
- package/presets/agy/skills/security-cloud/SKILL.md +43 -0
- package/presets/agy/skills/security-crypto/SKILL.md +43 -0
- package/presets/agy/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/agy/skills/security-grc/SKILL.md +43 -0
- package/presets/agy/skills/security-incident-response/SKILL.md +45 -0
- package/presets/agy/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/agy/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/agy/skills/security-mobile/SKILL.md +43 -0
- package/presets/agy/skills/security-network/SKILL.md +43 -0
- package/presets/agy/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/agy/skills/security-recon/SKILL.md +45 -0
- package/presets/agy/skills/security-red-team/SKILL.md +44 -0
- package/presets/agy/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/agy/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/agy/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/agy/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/agy/skills/security-web/SKILL.md +44 -0
- package/presets/agy/workflows/cc-ask.md +2 -1
- package/presets/agy/workflows/cc-backlog.md +69 -0
- package/presets/agy/workflows/cc-explore.md +1 -1
- package/presets/agy/workflows/cc-openspec.md +3 -1
- package/presets/agy/workflows/cc-security.md +180 -0
- package/presets/claude/CLAUDE.md +4 -0
- package/presets/claude/commands/cc/ask.md +2 -1
- package/presets/claude/commands/cc/backlog.md +104 -0
- package/presets/claude/commands/cc/explore.md +1 -1
- package/presets/claude/commands/cc/openspec.md +16 -1
- package/presets/claude/commands/cc/security.md +179 -0
- package/presets/claude/gates/pre-commit/GATE.md +5 -4
- package/presets/claude/skills/backlog/SKILL.md +91 -0
- package/presets/claude/skills/openspec/SKILL.md +5 -1
- package/presets/claude/skills/security/SKILL.md +382 -0
- package/presets/claude/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/claude/skills/security-blue-team/SKILL.md +43 -0
- package/presets/claude/skills/security-cloud/SKILL.md +43 -0
- package/presets/claude/skills/security-crypto/SKILL.md +43 -0
- package/presets/claude/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/claude/skills/security-grc/SKILL.md +43 -0
- package/presets/claude/skills/security-incident-response/SKILL.md +45 -0
- package/presets/claude/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/claude/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/claude/skills/security-mobile/SKILL.md +43 -0
- package/presets/claude/skills/security-network/SKILL.md +43 -0
- package/presets/claude/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/claude/skills/security-recon/SKILL.md +45 -0
- package/presets/claude/skills/security-red-team/SKILL.md +44 -0
- package/presets/claude/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/claude/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/claude/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/claude/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/claude/skills/security-web/SKILL.md +44 -0
- package/presets/codex/commands/cc-ask.md +2 -1
- package/presets/codex/gates/pre-commit/GATE.md +5 -4
- package/presets/cursor/AGENTS.md +2 -2
- package/presets/cursor/commands/cc/ask.md +2 -1
- package/presets/cursor/commands/cc/backlog.md +105 -0
- package/presets/cursor/commands/cc/explore.md +1 -1
- package/presets/cursor/commands/cc/openspec.md +16 -1
- package/presets/cursor/commands/cc/security.md +179 -0
- package/presets/cursor/gates/pre-commit/GATE.md +5 -4
- package/presets/cursor/skills/backlog/SKILL.md +91 -0
- package/presets/cursor/skills/openspec/SKILL.md +5 -1
- package/presets/cursor/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/cursor/skills/security-blue-team/SKILL.md +43 -0
- package/presets/cursor/skills/security-cloud/SKILL.md +43 -0
- package/presets/cursor/skills/security-crypto/SKILL.md +43 -0
- package/presets/cursor/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/cursor/skills/security-grc/SKILL.md +43 -0
- package/presets/cursor/skills/security-incident-response/SKILL.md +45 -0
- package/presets/cursor/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/cursor/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/cursor/skills/security-mobile/SKILL.md +43 -0
- package/presets/cursor/skills/security-network/SKILL.md +43 -0
- package/presets/cursor/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/cursor/skills/security-recon/SKILL.md +45 -0
- package/presets/cursor/skills/security-red-team/SKILL.md +44 -0
- package/presets/cursor/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/cursor/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/cursor/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/cursor/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/cursor/skills/security-web/SKILL.md +44 -0
- package/presets/opencode/commands/cc-ask.md +2 -1
- package/presets/opencode/commands/cc-backlog.md +68 -0
- package/presets/opencode/commands/cc-explore.md +1 -1
- package/presets/opencode/commands/cc-openspec.md +3 -1
- package/presets/opencode/commands/cc-security.md +179 -0
- package/presets/opencode/gates/pre-commit/GATE.md +5 -4
- package/presets/opencode/skills/backlog/SKILL.md +91 -0
- package/presets/opencode/skills/openspec/SKILL.md +5 -1
- package/presets/opencode/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/opencode/skills/security-blue-team/SKILL.md +43 -0
- package/presets/opencode/skills/security-cloud/SKILL.md +43 -0
- package/presets/opencode/skills/security-crypto/SKILL.md +43 -0
- package/presets/opencode/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/opencode/skills/security-grc/SKILL.md +43 -0
- package/presets/opencode/skills/security-incident-response/SKILL.md +45 -0
- package/presets/opencode/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/opencode/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/opencode/skills/security-mobile/SKILL.md +43 -0
- package/presets/opencode/skills/security-network/SKILL.md +43 -0
- package/presets/opencode/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/opencode/skills/security-recon/SKILL.md +45 -0
- package/presets/opencode/skills/security-red-team/SKILL.md +44 -0
- package/presets/opencode/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/opencode/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/opencode/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/opencode/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/opencode/skills/security-web/SKILL.md +44 -0
- package/src/presets/council/council.yml +12 -0
|
@@ -29,7 +29,7 @@ export declare const CouncilSpecSchema: z.ZodObject<{
|
|
|
29
29
|
version: z.ZodString;
|
|
30
30
|
description: z.ZodString;
|
|
31
31
|
outputContract: z.ZodString;
|
|
32
|
-
agents: z.ZodArray<z.ZodObject<{
|
|
32
|
+
agents: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
33
33
|
id: z.ZodString;
|
|
34
34
|
role: z.ZodString;
|
|
35
35
|
context: z.ZodEnum<["repo-readonly", "prompt-only"]>;
|
|
@@ -47,7 +47,19 @@ export declare const CouncilSpecSchema: z.ZodObject<{
|
|
|
47
47
|
context: "repo-readonly" | "prompt-only";
|
|
48
48
|
modelHint: "strong-reasoning" | "security-reasoning" | "balanced" | "practical-coding" | "analytical" | "adversarial";
|
|
49
49
|
focus: string[];
|
|
50
|
-
}>, "many"
|
|
50
|
+
}>, "many">, {
|
|
51
|
+
id: string;
|
|
52
|
+
role: string;
|
|
53
|
+
context: "repo-readonly" | "prompt-only";
|
|
54
|
+
modelHint: "strong-reasoning" | "security-reasoning" | "balanced" | "practical-coding" | "analytical" | "adversarial";
|
|
55
|
+
focus: string[];
|
|
56
|
+
}[], {
|
|
57
|
+
id: string;
|
|
58
|
+
role: string;
|
|
59
|
+
context: "repo-readonly" | "prompt-only";
|
|
60
|
+
modelHint: "strong-reasoning" | "security-reasoning" | "balanced" | "practical-coding" | "analytical" | "adversarial";
|
|
61
|
+
focus: string[];
|
|
62
|
+
}[]>;
|
|
51
63
|
}, "strip", z.ZodTypeAny, {
|
|
52
64
|
name: string;
|
|
53
65
|
version: string;
|
|
@@ -530,7 +542,7 @@ export declare const AgentContractSchema: z.ZodObject<{
|
|
|
530
542
|
version: z.ZodString;
|
|
531
543
|
description: z.ZodString;
|
|
532
544
|
outputContract: z.ZodString;
|
|
533
|
-
agents: z.ZodArray<z.ZodObject<{
|
|
545
|
+
agents: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
534
546
|
id: z.ZodString;
|
|
535
547
|
role: z.ZodString;
|
|
536
548
|
context: z.ZodEnum<["repo-readonly", "prompt-only"]>;
|
|
@@ -548,7 +560,19 @@ export declare const AgentContractSchema: z.ZodObject<{
|
|
|
548
560
|
context: "repo-readonly" | "prompt-only";
|
|
549
561
|
modelHint: "strong-reasoning" | "security-reasoning" | "balanced" | "practical-coding" | "analytical" | "adversarial";
|
|
550
562
|
focus: string[];
|
|
551
|
-
}>, "many"
|
|
563
|
+
}>, "many">, {
|
|
564
|
+
id: string;
|
|
565
|
+
role: string;
|
|
566
|
+
context: "repo-readonly" | "prompt-only";
|
|
567
|
+
modelHint: "strong-reasoning" | "security-reasoning" | "balanced" | "practical-coding" | "analytical" | "adversarial";
|
|
568
|
+
focus: string[];
|
|
569
|
+
}[], {
|
|
570
|
+
id: string;
|
|
571
|
+
role: string;
|
|
572
|
+
context: "repo-readonly" | "prompt-only";
|
|
573
|
+
modelHint: "strong-reasoning" | "security-reasoning" | "balanced" | "practical-coding" | "analytical" | "adversarial";
|
|
574
|
+
focus: string[];
|
|
575
|
+
}[]>;
|
|
552
576
|
}, "strip", z.ZodTypeAny, {
|
|
553
577
|
name: string;
|
|
554
578
|
version: string;
|
|
@@ -655,7 +679,7 @@ export declare const CouncilVerdictInputSchema: z.ZodObject<{
|
|
|
655
679
|
status: z.ZodEnum<["APPROVED", "REJECTED", "ABSTAIN"]>;
|
|
656
680
|
securityVeto: z.ZodBoolean;
|
|
657
681
|
complianceVeto: z.ZodOptional<z.ZodBoolean>;
|
|
658
|
-
confidence: z.
|
|
682
|
+
confidence: z.ZodNumber;
|
|
659
683
|
findings: z.ZodArray<z.ZodObject<{
|
|
660
684
|
category: z.ZodString;
|
|
661
685
|
severity: z.ZodEnum<["info", "warning", "critical"]>;
|
|
@@ -675,6 +699,7 @@ export declare const CouncilVerdictInputSchema: z.ZodObject<{
|
|
|
675
699
|
summary: z.ZodString;
|
|
676
700
|
}, "strip", z.ZodTypeAny, {
|
|
677
701
|
status: "APPROVED" | "REJECTED" | "ABSTAIN";
|
|
702
|
+
confidence: number;
|
|
678
703
|
agentId: string;
|
|
679
704
|
agentRole: string;
|
|
680
705
|
securityVeto: boolean;
|
|
@@ -685,10 +710,10 @@ export declare const CouncilVerdictInputSchema: z.ZodObject<{
|
|
|
685
710
|
agentId: string;
|
|
686
711
|
}[];
|
|
687
712
|
summary: string;
|
|
688
|
-
confidence?: number | undefined;
|
|
689
713
|
complianceVeto?: boolean | undefined;
|
|
690
714
|
}, {
|
|
691
715
|
status: "APPROVED" | "REJECTED" | "ABSTAIN";
|
|
716
|
+
confidence: number;
|
|
692
717
|
agentId: string;
|
|
693
718
|
agentRole: string;
|
|
694
719
|
securityVeto: boolean;
|
|
@@ -699,37 +724,60 @@ export declare const CouncilVerdictInputSchema: z.ZodObject<{
|
|
|
699
724
|
agentId: string;
|
|
700
725
|
}[];
|
|
701
726
|
summary: string;
|
|
702
|
-
confidence?: number | undefined;
|
|
703
727
|
complianceVeto?: boolean | undefined;
|
|
704
728
|
}>;
|
|
705
729
|
/**
|
|
706
730
|
* Consensus config schema
|
|
707
731
|
*/
|
|
708
|
-
export declare const ConsensusConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
732
|
+
export declare const ConsensusConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
709
733
|
algorithm: z.ZodEnum<["majority", "unanimous"]>;
|
|
710
734
|
allowSecurityVeto: z.ZodBoolean;
|
|
711
735
|
allowComplianceVeto: z.ZodOptional<z.ZodBoolean>;
|
|
712
736
|
expectedAgentIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>>;
|
|
737
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
738
|
+
criticalFindingsPolicy: z.ZodOptional<z.ZodEnum<["escalate", "reject", "ignore"]>>;
|
|
713
739
|
}, "strip", z.ZodTypeAny, {
|
|
714
740
|
algorithm: "majority" | "unanimous";
|
|
715
741
|
allowSecurityVeto: boolean;
|
|
716
742
|
allowComplianceVeto?: boolean | undefined;
|
|
717
743
|
expectedAgentIds?: string[] | undefined;
|
|
744
|
+
quorum?: number | undefined;
|
|
745
|
+
criticalFindingsPolicy?: "escalate" | "reject" | "ignore" | undefined;
|
|
746
|
+
}, {
|
|
747
|
+
algorithm: "majority" | "unanimous";
|
|
748
|
+
allowSecurityVeto: boolean;
|
|
749
|
+
allowComplianceVeto?: boolean | undefined;
|
|
750
|
+
expectedAgentIds?: string[] | undefined;
|
|
751
|
+
quorum?: number | undefined;
|
|
752
|
+
criticalFindingsPolicy?: "escalate" | "reject" | "ignore" | undefined;
|
|
753
|
+
}>, {
|
|
754
|
+
algorithm: "majority" | "unanimous";
|
|
755
|
+
allowSecurityVeto: boolean;
|
|
756
|
+
allowComplianceVeto?: boolean | undefined;
|
|
757
|
+
expectedAgentIds?: string[] | undefined;
|
|
758
|
+
quorum?: number | undefined;
|
|
759
|
+
criticalFindingsPolicy?: "escalate" | "reject" | "ignore" | undefined;
|
|
718
760
|
}, {
|
|
719
761
|
algorithm: "majority" | "unanimous";
|
|
720
762
|
allowSecurityVeto: boolean;
|
|
721
763
|
allowComplianceVeto?: boolean | undefined;
|
|
722
764
|
expectedAgentIds?: string[] | undefined;
|
|
765
|
+
quorum?: number | undefined;
|
|
766
|
+
criticalFindingsPolicy?: "escalate" | "reject" | "ignore" | undefined;
|
|
723
767
|
}>, {
|
|
724
768
|
algorithm: "majority" | "unanimous";
|
|
725
769
|
allowSecurityVeto: boolean;
|
|
726
770
|
allowComplianceVeto?: boolean | undefined;
|
|
727
771
|
expectedAgentIds?: string[] | undefined;
|
|
772
|
+
quorum?: number | undefined;
|
|
773
|
+
criticalFindingsPolicy?: "escalate" | "reject" | "ignore" | undefined;
|
|
728
774
|
}, {
|
|
729
775
|
algorithm: "majority" | "unanimous";
|
|
730
776
|
allowSecurityVeto: boolean;
|
|
731
777
|
allowComplianceVeto?: boolean | undefined;
|
|
732
778
|
expectedAgentIds?: string[] | undefined;
|
|
779
|
+
quorum?: number | undefined;
|
|
780
|
+
criticalFindingsPolicy?: "escalate" | "reject" | "ignore" | undefined;
|
|
733
781
|
}>;
|
|
734
782
|
/**
|
|
735
783
|
* Council verdict schema — the final output of the consensus engine
|
|
@@ -767,7 +815,7 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
767
815
|
status: z.ZodEnum<["APPROVED", "REJECTED", "ABSTAIN"]>;
|
|
768
816
|
securityVeto: z.ZodBoolean;
|
|
769
817
|
complianceVeto: z.ZodOptional<z.ZodBoolean>;
|
|
770
|
-
confidence: z.
|
|
818
|
+
confidence: z.ZodNumber;
|
|
771
819
|
findings: z.ZodArray<z.ZodObject<{
|
|
772
820
|
category: z.ZodString;
|
|
773
821
|
severity: z.ZodEnum<["info", "warning", "critical"]>;
|
|
@@ -787,6 +835,7 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
787
835
|
summary: z.ZodString;
|
|
788
836
|
}, "strip", z.ZodTypeAny, {
|
|
789
837
|
status: "APPROVED" | "REJECTED" | "ABSTAIN";
|
|
838
|
+
confidence: number;
|
|
790
839
|
agentId: string;
|
|
791
840
|
agentRole: string;
|
|
792
841
|
securityVeto: boolean;
|
|
@@ -797,10 +846,10 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
797
846
|
agentId: string;
|
|
798
847
|
}[];
|
|
799
848
|
summary: string;
|
|
800
|
-
confidence?: number | undefined;
|
|
801
849
|
complianceVeto?: boolean | undefined;
|
|
802
850
|
}, {
|
|
803
851
|
status: "APPROVED" | "REJECTED" | "ABSTAIN";
|
|
852
|
+
confidence: number;
|
|
804
853
|
agentId: string;
|
|
805
854
|
agentRole: string;
|
|
806
855
|
securityVeto: boolean;
|
|
@@ -811,7 +860,6 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
811
860
|
agentId: string;
|
|
812
861
|
}[];
|
|
813
862
|
summary: string;
|
|
814
|
-
confidence?: number | undefined;
|
|
815
863
|
complianceVeto?: boolean | undefined;
|
|
816
864
|
}>, "many">;
|
|
817
865
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -830,6 +878,7 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
830
878
|
vetoApplied: boolean;
|
|
831
879
|
individualVerdicts: {
|
|
832
880
|
status: "APPROVED" | "REJECTED" | "ABSTAIN";
|
|
881
|
+
confidence: number;
|
|
833
882
|
agentId: string;
|
|
834
883
|
agentRole: string;
|
|
835
884
|
securityVeto: boolean;
|
|
@@ -840,7 +889,6 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
840
889
|
agentId: string;
|
|
841
890
|
}[];
|
|
842
891
|
summary: string;
|
|
843
|
-
confidence?: number | undefined;
|
|
844
892
|
complianceVeto?: boolean | undefined;
|
|
845
893
|
}[];
|
|
846
894
|
complianceVetoApplied?: boolean | undefined;
|
|
@@ -862,6 +910,7 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
862
910
|
vetoApplied: boolean;
|
|
863
911
|
individualVerdicts: {
|
|
864
912
|
status: "APPROVED" | "REJECTED" | "ABSTAIN";
|
|
913
|
+
confidence: number;
|
|
865
914
|
agentId: string;
|
|
866
915
|
agentRole: string;
|
|
867
916
|
securityVeto: boolean;
|
|
@@ -872,7 +921,6 @@ export declare const CouncilVerdictSchema: z.ZodObject<{
|
|
|
872
921
|
agentId: string;
|
|
873
922
|
}[];
|
|
874
923
|
summary: string;
|
|
875
|
-
confidence?: number | undefined;
|
|
876
924
|
complianceVeto?: boolean | undefined;
|
|
877
925
|
}[];
|
|
878
926
|
complianceVetoApplied?: boolean | undefined;
|
|
@@ -1293,12 +1341,22 @@ export declare const CanonicalTaskCardSchema: z.ZodObject<{
|
|
|
1293
1341
|
agentType: z.ZodString;
|
|
1294
1342
|
evidenceRequired: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1295
1343
|
status: z.ZodEnum<["draft", "ready", "in-progress", "review", "done", "blocked"]>;
|
|
1296
|
-
type: z.
|
|
1344
|
+
type: z.ZodEnum<["feature", "fix", "refactor", "review", "docs", "test"]>;
|
|
1297
1345
|
linkedCapabilities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1346
|
+
boundaries: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1347
|
+
requiresHumanReview: z.ZodOptional<z.ZodBoolean>;
|
|
1348
|
+
requiresTests: z.ZodOptional<z.ZodBoolean>;
|
|
1349
|
+
contextScope: z.ZodOptional<z.ZodEnum<["isolated", "continuation", "full"]>>;
|
|
1350
|
+
actualBehavior: z.ZodOptional<z.ZodString>;
|
|
1351
|
+
expectedBehavior: z.ZodOptional<z.ZodString>;
|
|
1352
|
+
reproductionSteps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1353
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
authorization: z.ZodOptional<z.ZodString>;
|
|
1298
1355
|
}, "strip", z.ZodTypeAny, {
|
|
1299
1356
|
id: string;
|
|
1300
1357
|
context: string;
|
|
1301
1358
|
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
1359
|
+
type: "feature" | "fix" | "refactor" | "test" | "docs" | "review";
|
|
1302
1360
|
title: string;
|
|
1303
1361
|
risk: "low" | "medium" | "high";
|
|
1304
1362
|
objective: string;
|
|
@@ -1309,22 +1367,39 @@ export declare const CanonicalTaskCardSchema: z.ZodObject<{
|
|
|
1309
1367
|
agentType: string;
|
|
1310
1368
|
evidenceRequired: string[];
|
|
1311
1369
|
linkedCapabilities: string[];
|
|
1312
|
-
|
|
1370
|
+
boundaries: string[];
|
|
1371
|
+
domain?: string | undefined;
|
|
1372
|
+
requiresHumanReview?: boolean | undefined;
|
|
1373
|
+
requiresTests?: boolean | undefined;
|
|
1374
|
+
contextScope?: "isolated" | "continuation" | "full" | undefined;
|
|
1375
|
+
actualBehavior?: string | undefined;
|
|
1376
|
+
expectedBehavior?: string | undefined;
|
|
1377
|
+
reproductionSteps?: string[] | undefined;
|
|
1378
|
+
authorization?: string | undefined;
|
|
1313
1379
|
}, {
|
|
1314
1380
|
id: string;
|
|
1315
1381
|
context: string;
|
|
1316
1382
|
status: "in-progress" | "done" | "blocked" | "draft" | "ready" | "review";
|
|
1383
|
+
type: "feature" | "fix" | "refactor" | "test" | "docs" | "review";
|
|
1317
1384
|
title: string;
|
|
1318
1385
|
risk: "low" | "medium" | "high";
|
|
1319
1386
|
objective: string;
|
|
1320
1387
|
acceptanceCriteria: string[];
|
|
1321
1388
|
agentType: string;
|
|
1322
|
-
|
|
1389
|
+
domain?: string | undefined;
|
|
1323
1390
|
dependencies?: string[] | undefined;
|
|
1324
1391
|
constraints?: string[] | undefined;
|
|
1325
1392
|
targetFiles?: string[] | undefined;
|
|
1326
1393
|
evidenceRequired?: string[] | undefined;
|
|
1327
1394
|
linkedCapabilities?: string[] | undefined;
|
|
1395
|
+
boundaries?: string[] | undefined;
|
|
1396
|
+
requiresHumanReview?: boolean | undefined;
|
|
1397
|
+
requiresTests?: boolean | undefined;
|
|
1398
|
+
contextScope?: "isolated" | "continuation" | "full" | undefined;
|
|
1399
|
+
actualBehavior?: string | undefined;
|
|
1400
|
+
expectedBehavior?: string | undefined;
|
|
1401
|
+
reproductionSteps?: string[] | undefined;
|
|
1402
|
+
authorization?: string | undefined;
|
|
1328
1403
|
}>;
|
|
1329
1404
|
export declare const ProductGraphNodeSchema: z.ZodObject<{
|
|
1330
1405
|
id: z.ZodString;
|
|
@@ -1593,14 +1668,14 @@ export declare const BusinessReviewOutputSchema: z.ZodObject<{
|
|
|
1593
1668
|
questions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1594
1669
|
confidence: z.ZodNumber;
|
|
1595
1670
|
}, "strip", z.ZodTypeAny, {
|
|
1596
|
-
status: "
|
|
1671
|
+
status: "reject" | "proceed" | "defer";
|
|
1597
1672
|
confidence: number;
|
|
1598
1673
|
questions: string[];
|
|
1599
1674
|
roiEstimate?: string | undefined;
|
|
1600
1675
|
userImpact?: string | undefined;
|
|
1601
1676
|
eliminationRisk?: string | undefined;
|
|
1602
1677
|
}, {
|
|
1603
|
-
status: "
|
|
1678
|
+
status: "reject" | "proceed" | "defer";
|
|
1604
1679
|
confidence: number;
|
|
1605
1680
|
roiEstimate?: string | undefined;
|
|
1606
1681
|
userImpact?: string | undefined;
|
|
@@ -1959,6 +2034,7 @@ export declare const OpenspecTaskCardSchema: z.ZodObject<{
|
|
|
1959
2034
|
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1960
2035
|
acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
|
|
1961
2036
|
status: z.ZodEnum<["pending", "doing", "blocked", "done"]>;
|
|
2037
|
+
itemHash: z.ZodOptional<z.ZodString>;
|
|
1962
2038
|
}, "strip", z.ZodTypeAny, {
|
|
1963
2039
|
id: string;
|
|
1964
2040
|
status: "pending" | "done" | "blocked" | "doing";
|
|
@@ -1970,6 +2046,7 @@ export declare const OpenspecTaskCardSchema: z.ZodObject<{
|
|
|
1970
2046
|
agent: string;
|
|
1971
2047
|
dependsOn: string[];
|
|
1972
2048
|
modelHint?: string | undefined;
|
|
2049
|
+
itemHash?: string | undefined;
|
|
1973
2050
|
}, {
|
|
1974
2051
|
id: string;
|
|
1975
2052
|
status: "pending" | "done" | "blocked" | "doing";
|
|
@@ -1981,6 +2058,7 @@ export declare const OpenspecTaskCardSchema: z.ZodObject<{
|
|
|
1981
2058
|
agent: string;
|
|
1982
2059
|
modelHint?: string | undefined;
|
|
1983
2060
|
dependsOn?: string[] | undefined;
|
|
2061
|
+
itemHash?: string | undefined;
|
|
1984
2062
|
}>;
|
|
1985
2063
|
export declare const OpenspecStateSchema: z.ZodObject<{
|
|
1986
2064
|
version: z.ZodLiteral<1>;
|
|
@@ -1996,6 +2074,7 @@ export declare const OpenspecStateSchema: z.ZodObject<{
|
|
|
1996
2074
|
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1997
2075
|
acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
|
|
1998
2076
|
status: z.ZodEnum<["pending", "doing", "blocked", "done"]>;
|
|
2077
|
+
itemHash: z.ZodOptional<z.ZodString>;
|
|
1999
2078
|
}, "strip", z.ZodTypeAny, {
|
|
2000
2079
|
id: string;
|
|
2001
2080
|
status: "pending" | "done" | "blocked" | "doing";
|
|
@@ -2007,6 +2086,7 @@ export declare const OpenspecStateSchema: z.ZodObject<{
|
|
|
2007
2086
|
agent: string;
|
|
2008
2087
|
dependsOn: string[];
|
|
2009
2088
|
modelHint?: string | undefined;
|
|
2089
|
+
itemHash?: string | undefined;
|
|
2010
2090
|
}, {
|
|
2011
2091
|
id: string;
|
|
2012
2092
|
status: "pending" | "done" | "blocked" | "doing";
|
|
@@ -2018,6 +2098,7 @@ export declare const OpenspecStateSchema: z.ZodObject<{
|
|
|
2018
2098
|
agent: string;
|
|
2019
2099
|
modelHint?: string | undefined;
|
|
2020
2100
|
dependsOn?: string[] | undefined;
|
|
2101
|
+
itemHash?: string | undefined;
|
|
2021
2102
|
}>, "many">>;
|
|
2022
2103
|
lastScanHash: z.ZodOptional<z.ZodString>;
|
|
2023
2104
|
lastScanAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2036,6 +2117,7 @@ export declare const OpenspecStateSchema: z.ZodObject<{
|
|
|
2036
2117
|
agent: string;
|
|
2037
2118
|
dependsOn: string[];
|
|
2038
2119
|
modelHint?: string | undefined;
|
|
2120
|
+
itemHash?: string | undefined;
|
|
2039
2121
|
}[];
|
|
2040
2122
|
changePaths: Record<string, string>;
|
|
2041
2123
|
itemSnapshots: Record<string, string>;
|
|
@@ -2056,17 +2138,18 @@ export declare const OpenspecStateSchema: z.ZodObject<{
|
|
|
2056
2138
|
agent: string;
|
|
2057
2139
|
modelHint?: string | undefined;
|
|
2058
2140
|
dependsOn?: string[] | undefined;
|
|
2141
|
+
itemHash?: string | undefined;
|
|
2059
2142
|
}[] | undefined;
|
|
2060
2143
|
lastScanHash?: string | undefined;
|
|
2061
2144
|
lastScanAt?: string | undefined;
|
|
2062
2145
|
changePaths?: Record<string, string> | undefined;
|
|
2063
2146
|
itemSnapshots?: Record<string, string> | undefined;
|
|
2064
2147
|
}>;
|
|
2065
|
-
export declare const WorkflowCommandSchema: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify"]>;
|
|
2148
|
+
export declare const WorkflowCommandSchema: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2066
2149
|
export declare const CcepOutputFormatSchema: z.ZodEnum<["taskcard", "plan", "verdict"]>;
|
|
2067
2150
|
export declare const CommandEnvelopeSchema: z.ZodObject<{
|
|
2068
2151
|
protocolVersion: z.ZodLiteral<"ccep-1">;
|
|
2069
|
-
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify"]>;
|
|
2152
|
+
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2070
2153
|
userRequest: z.ZodString;
|
|
2071
2154
|
projectId: z.ZodString;
|
|
2072
2155
|
repoContext: z.ZodObject<{
|
|
@@ -2109,7 +2192,7 @@ export declare const CommandEnvelopeSchema: z.ZodObject<{
|
|
|
2109
2192
|
maxVariance: "low";
|
|
2110
2193
|
}>;
|
|
2111
2194
|
}, "strip", z.ZodTypeAny, {
|
|
2112
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2195
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2113
2196
|
constraints: {
|
|
2114
2197
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2115
2198
|
needConfirmation: boolean;
|
|
@@ -2129,7 +2212,7 @@ export declare const CommandEnvelopeSchema: z.ZodObject<{
|
|
|
2129
2212
|
maxVariance: "low";
|
|
2130
2213
|
};
|
|
2131
2214
|
}, {
|
|
2132
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2215
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2133
2216
|
constraints: {
|
|
2134
2217
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2135
2218
|
needConfirmation: boolean;
|
|
@@ -2206,7 +2289,7 @@ export declare const WorkflowRiskRuleSchema: z.ZodObject<{
|
|
|
2206
2289
|
export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
2207
2290
|
id: z.ZodString;
|
|
2208
2291
|
version: z.ZodNumber;
|
|
2209
|
-
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify"]>;
|
|
2292
|
+
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2210
2293
|
taskCard: z.ZodOptional<z.ZodObject<{
|
|
2211
2294
|
type: z.ZodString;
|
|
2212
2295
|
requiredFields: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2307,7 +2390,7 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2307
2390
|
}, "strip", z.ZodTypeAny, {
|
|
2308
2391
|
id: string;
|
|
2309
2392
|
version: number;
|
|
2310
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2393
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2311
2394
|
phases: {
|
|
2312
2395
|
id: string;
|
|
2313
2396
|
type?: string | undefined;
|
|
@@ -2342,7 +2425,7 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2342
2425
|
}, {
|
|
2343
2426
|
id: string;
|
|
2344
2427
|
version: number;
|
|
2345
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2428
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2346
2429
|
phases: {
|
|
2347
2430
|
id: string;
|
|
2348
2431
|
type?: string | undefined;
|
|
@@ -2377,7 +2460,7 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2377
2460
|
}>, {
|
|
2378
2461
|
id: string;
|
|
2379
2462
|
version: number;
|
|
2380
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2463
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2381
2464
|
phases: {
|
|
2382
2465
|
id: string;
|
|
2383
2466
|
type?: string | undefined;
|
|
@@ -2412,7 +2495,7 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2412
2495
|
}, {
|
|
2413
2496
|
id: string;
|
|
2414
2497
|
version: number;
|
|
2415
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2498
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2416
2499
|
phases: {
|
|
2417
2500
|
id: string;
|
|
2418
2501
|
type?: string | undefined;
|
|
@@ -2448,7 +2531,7 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2448
2531
|
export declare const ExecutionContextSchema: z.ZodObject<{
|
|
2449
2532
|
envelope: z.ZodObject<{
|
|
2450
2533
|
protocolVersion: z.ZodLiteral<"ccep-1">;
|
|
2451
|
-
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify"]>;
|
|
2534
|
+
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2452
2535
|
userRequest: z.ZodString;
|
|
2453
2536
|
projectId: z.ZodString;
|
|
2454
2537
|
repoContext: z.ZodObject<{
|
|
@@ -2491,7 +2574,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2491
2574
|
maxVariance: "low";
|
|
2492
2575
|
}>;
|
|
2493
2576
|
}, "strip", z.ZodTypeAny, {
|
|
2494
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2577
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2495
2578
|
constraints: {
|
|
2496
2579
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2497
2580
|
needConfirmation: boolean;
|
|
@@ -2511,7 +2594,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2511
2594
|
maxVariance: "low";
|
|
2512
2595
|
};
|
|
2513
2596
|
}, {
|
|
2514
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2597
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2515
2598
|
constraints: {
|
|
2516
2599
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2517
2600
|
needConfirmation: boolean;
|
|
@@ -2534,7 +2617,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2534
2617
|
profile: z.ZodEffects<z.ZodObject<{
|
|
2535
2618
|
id: z.ZodString;
|
|
2536
2619
|
version: z.ZodNumber;
|
|
2537
|
-
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify"]>;
|
|
2620
|
+
command: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2538
2621
|
taskCard: z.ZodOptional<z.ZodObject<{
|
|
2539
2622
|
type: z.ZodString;
|
|
2540
2623
|
requiredFields: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2635,7 +2718,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2635
2718
|
}, "strip", z.ZodTypeAny, {
|
|
2636
2719
|
id: string;
|
|
2637
2720
|
version: number;
|
|
2638
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2721
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2639
2722
|
phases: {
|
|
2640
2723
|
id: string;
|
|
2641
2724
|
type?: string | undefined;
|
|
@@ -2670,7 +2753,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2670
2753
|
}, {
|
|
2671
2754
|
id: string;
|
|
2672
2755
|
version: number;
|
|
2673
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2756
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2674
2757
|
phases: {
|
|
2675
2758
|
id: string;
|
|
2676
2759
|
type?: string | undefined;
|
|
@@ -2705,7 +2788,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2705
2788
|
}>, {
|
|
2706
2789
|
id: string;
|
|
2707
2790
|
version: number;
|
|
2708
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2791
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2709
2792
|
phases: {
|
|
2710
2793
|
id: string;
|
|
2711
2794
|
type?: string | undefined;
|
|
@@ -2740,7 +2823,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2740
2823
|
}, {
|
|
2741
2824
|
id: string;
|
|
2742
2825
|
version: number;
|
|
2743
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2826
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2744
2827
|
phases: {
|
|
2745
2828
|
id: string;
|
|
2746
2829
|
type?: string | undefined;
|
|
@@ -2774,19 +2857,19 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2774
2857
|
intakeSchema?: string | undefined;
|
|
2775
2858
|
}>;
|
|
2776
2859
|
intent: z.ZodObject<{
|
|
2777
|
-
type: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify"]>;
|
|
2860
|
+
type: z.ZodEnum<["feature", "fix", "refactor", "review", "test-plan", "tdd-cycle", "api-contract", "db-migration", "pagespeed", "openspec", "backlog", "scorecard", "council", "iterative", "explore", "triage", "prototype", "handoff", "clarify", "security"]>;
|
|
2778
2861
|
goal: z.ZodString;
|
|
2779
2862
|
domain: z.ZodOptional<z.ZodString>;
|
|
2780
2863
|
entity: z.ZodOptional<z.ZodString>;
|
|
2781
2864
|
operation: z.ZodOptional<z.ZodString>;
|
|
2782
2865
|
}, "strip", z.ZodTypeAny, {
|
|
2783
|
-
type: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2866
|
+
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2784
2867
|
goal: string;
|
|
2785
2868
|
domain?: string | undefined;
|
|
2786
2869
|
entity?: string | undefined;
|
|
2787
2870
|
operation?: string | undefined;
|
|
2788
2871
|
}, {
|
|
2789
|
-
type: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2872
|
+
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2790
2873
|
goal: string;
|
|
2791
2874
|
domain?: string | undefined;
|
|
2792
2875
|
entity?: string | undefined;
|
|
@@ -2849,7 +2932,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2849
2932
|
profile: {
|
|
2850
2933
|
id: string;
|
|
2851
2934
|
version: number;
|
|
2852
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2935
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2853
2936
|
phases: {
|
|
2854
2937
|
id: string;
|
|
2855
2938
|
type?: string | undefined;
|
|
@@ -2884,7 +2967,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2884
2967
|
};
|
|
2885
2968
|
outputSchema: string;
|
|
2886
2969
|
envelope: {
|
|
2887
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2970
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2888
2971
|
constraints: {
|
|
2889
2972
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2890
2973
|
needConfirmation: boolean;
|
|
@@ -2905,7 +2988,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2905
2988
|
};
|
|
2906
2989
|
};
|
|
2907
2990
|
intent: {
|
|
2908
|
-
type: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2991
|
+
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2909
2992
|
goal: string;
|
|
2910
2993
|
domain?: string | undefined;
|
|
2911
2994
|
entity?: string | undefined;
|
|
@@ -2934,7 +3017,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2934
3017
|
profile: {
|
|
2935
3018
|
id: string;
|
|
2936
3019
|
version: number;
|
|
2937
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3020
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2938
3021
|
phases: {
|
|
2939
3022
|
id: string;
|
|
2940
3023
|
type?: string | undefined;
|
|
@@ -2969,7 +3052,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2969
3052
|
};
|
|
2970
3053
|
outputSchema: string;
|
|
2971
3054
|
envelope: {
|
|
2972
|
-
command: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3055
|
+
command: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2973
3056
|
constraints: {
|
|
2974
3057
|
outputFormat: "taskcard" | "plan" | "verdict";
|
|
2975
3058
|
needConfirmation: boolean;
|
|
@@ -2990,7 +3073,7 @@ export declare const ExecutionContextSchema: z.ZodObject<{
|
|
|
2990
3073
|
};
|
|
2991
3074
|
};
|
|
2992
3075
|
intent: {
|
|
2993
|
-
type: "council" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
3076
|
+
type: "council" | "security" | "feature" | "fix" | "refactor" | "review" | "test-plan" | "tdd-cycle" | "api-contract" | "db-migration" | "pagespeed" | "openspec" | "backlog" | "scorecard" | "iterative" | "explore" | "triage" | "prototype" | "handoff" | "clarify";
|
|
2994
3077
|
goal: string;
|
|
2995
3078
|
domain?: string | undefined;
|
|
2996
3079
|
entity?: string | undefined;
|
|
@@ -3469,6 +3552,11 @@ export declare const TaskOutcomeSchema: z.ZodObject<{
|
|
|
3469
3552
|
tokensOut: z.ZodOptional<z.ZodNumber>;
|
|
3470
3553
|
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
3471
3554
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
3555
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
3556
|
+
variantId: z.ZodOptional<z.ZodString>;
|
|
3557
|
+
suiteTaskId: z.ZodOptional<z.ZodString>;
|
|
3558
|
+
harnessFingerprint: z.ZodOptional<z.ZodString>;
|
|
3559
|
+
disabledComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3472
3560
|
}, "strip", z.ZodTypeAny, {
|
|
3473
3561
|
id: string;
|
|
3474
3562
|
contractVersion: string;
|
|
@@ -3488,6 +3576,11 @@ export declare const TaskOutcomeSchema: z.ZodObject<{
|
|
|
3488
3576
|
tokensOut?: number | undefined;
|
|
3489
3577
|
costUsd?: number | undefined;
|
|
3490
3578
|
durationMs?: number | undefined;
|
|
3579
|
+
experimentId?: string | undefined;
|
|
3580
|
+
variantId?: string | undefined;
|
|
3581
|
+
suiteTaskId?: string | undefined;
|
|
3582
|
+
harnessFingerprint?: string | undefined;
|
|
3583
|
+
disabledComponents?: string[] | undefined;
|
|
3491
3584
|
}, {
|
|
3492
3585
|
id: string;
|
|
3493
3586
|
contractVersion: string;
|
|
@@ -3507,6 +3600,248 @@ export declare const TaskOutcomeSchema: z.ZodObject<{
|
|
|
3507
3600
|
tokensOut?: number | undefined;
|
|
3508
3601
|
costUsd?: number | undefined;
|
|
3509
3602
|
durationMs?: number | undefined;
|
|
3603
|
+
experimentId?: string | undefined;
|
|
3604
|
+
variantId?: string | undefined;
|
|
3605
|
+
suiteTaskId?: string | undefined;
|
|
3606
|
+
harnessFingerprint?: string | undefined;
|
|
3607
|
+
disabledComponents?: string[] | undefined;
|
|
3608
|
+
}>;
|
|
3609
|
+
export declare const HarnessComponentIdSchema: z.ZodEnum<["wayfinding", "intake", "design", "test_first", "review", "docs", "confirmation_gates", "compile_loop", "council", "product_graph"]>;
|
|
3610
|
+
export declare const HarnessComponentLayerSchema: z.ZodEnum<["phase", "gate", "loop", "knowledge", "council"]>;
|
|
3611
|
+
export declare const HarnessToggleKindSchema: z.ZodEnum<["ccep_phase", "ccep_gates", "config_loop", "config_council", "product_graph"]>;
|
|
3612
|
+
export declare const HarnessCatalogEntrySchema: z.ZodObject<{
|
|
3613
|
+
id: z.ZodEnum<["wayfinding", "intake", "design", "test_first", "review", "docs", "confirmation_gates", "compile_loop", "council", "product_graph"]>;
|
|
3614
|
+
layer: z.ZodEnum<["phase", "gate", "loop", "knowledge", "council"]>;
|
|
3615
|
+
label: z.ZodString;
|
|
3616
|
+
defaultOn: z.ZodDefault<z.ZodBoolean>;
|
|
3617
|
+
toggle: z.ZodObject<{
|
|
3618
|
+
kind: z.ZodEnum<["ccep_phase", "ccep_gates", "config_loop", "config_council", "product_graph"]>;
|
|
3619
|
+
phaseId: z.ZodOptional<z.ZodString>;
|
|
3620
|
+
}, "strip", z.ZodTypeAny, {
|
|
3621
|
+
kind: "product_graph" | "ccep_phase" | "ccep_gates" | "config_loop" | "config_council";
|
|
3622
|
+
phaseId?: string | undefined;
|
|
3623
|
+
}, {
|
|
3624
|
+
kind: "product_graph" | "ccep_phase" | "ccep_gates" | "config_loop" | "config_council";
|
|
3625
|
+
phaseId?: string | undefined;
|
|
3626
|
+
}>;
|
|
3627
|
+
}, "strip", z.ZodTypeAny, {
|
|
3628
|
+
id: "council" | "docs" | "review" | "design" | "wayfinding" | "intake" | "test_first" | "confirmation_gates" | "compile_loop" | "product_graph";
|
|
3629
|
+
label: string;
|
|
3630
|
+
layer: "council" | "loop" | "phase" | "knowledge" | "gate";
|
|
3631
|
+
defaultOn: boolean;
|
|
3632
|
+
toggle: {
|
|
3633
|
+
kind: "product_graph" | "ccep_phase" | "ccep_gates" | "config_loop" | "config_council";
|
|
3634
|
+
phaseId?: string | undefined;
|
|
3635
|
+
};
|
|
3636
|
+
}, {
|
|
3637
|
+
id: "council" | "docs" | "review" | "design" | "wayfinding" | "intake" | "test_first" | "confirmation_gates" | "compile_loop" | "product_graph";
|
|
3638
|
+
label: string;
|
|
3639
|
+
layer: "council" | "loop" | "phase" | "knowledge" | "gate";
|
|
3640
|
+
toggle: {
|
|
3641
|
+
kind: "product_graph" | "ccep_phase" | "ccep_gates" | "config_loop" | "config_council";
|
|
3642
|
+
phaseId?: string | undefined;
|
|
3643
|
+
};
|
|
3644
|
+
defaultOn?: boolean | undefined;
|
|
3645
|
+
}>;
|
|
3646
|
+
export declare const HarnessCatalogSchema: z.ZodObject<{
|
|
3647
|
+
version: z.ZodLiteral<1>;
|
|
3648
|
+
components: z.ZodArray<z.ZodObject<{
|
|
3649
|
+
id: z.ZodEnum<["wayfinding", "intake", "design", "test_first", "review", "docs", "confirmation_gates", "compile_loop", "council", "product_graph"]>;
|
|
3650
|
+
layer: z.ZodEnum<["phase", "gate", "loop", "knowledge", "council"]>;
|
|
3651
|
+
label: z.ZodString;
|
|
3652
|
+
defaultOn: z.ZodDefault<z.ZodBoolean>;
|
|
3653
|
+
toggle: z.ZodObject<{
|
|
3654
|
+
kind: z.ZodEnum<["ccep_phase", "ccep_gates", "config_loop", "config_council", "product_graph"]>;
|
|
3655
|
+
phaseId: z.ZodOptional<z.ZodString>;
|
|
3656
|
+
}, "strip", z.ZodTypeAny, {
|
|
3657
|
+
kind: "product_graph" | "ccep_phase" | "ccep_gates" | "config_loop" | "config_council";
|
|
3658
|
+
phaseId?: string | undefined;
|
|
3659
|
+
}, {
|
|
3660
|
+
kind: "product_graph" | "ccep_phase" | "ccep_gates" | "config_loop" | "config_council";
|
|
3661
|
+
phaseId?: string | undefined;
|
|
3662
|
+
}>;
|
|
3663
|
+
}, "strip", z.ZodTypeAny, {
|
|
3664
|
+
id: "council" | "docs" | "review" | "design" | "wayfinding" | "intake" | "test_first" | "confirmation_gates" | "compile_loop" | "product_graph";
|
|
3665
|
+
label: string;
|
|
3666
|
+
layer: "council" | "loop" | "phase" | "knowledge" | "gate";
|
|
3667
|
+
defaultOn: boolean;
|
|
3668
|
+
toggle: {
|
|
3669
|
+
kind: "product_graph" | "ccep_phase" | "ccep_gates" | "config_loop" | "config_council";
|
|
3670
|
+
phaseId?: string | undefined;
|
|
3671
|
+
};
|
|
3672
|
+
}, {
|
|
3673
|
+
id: "council" | "docs" | "review" | "design" | "wayfinding" | "intake" | "test_first" | "confirmation_gates" | "compile_loop" | "product_graph";
|
|
3674
|
+
label: string;
|
|
3675
|
+
layer: "council" | "loop" | "phase" | "knowledge" | "gate";
|
|
3676
|
+
toggle: {
|
|
3677
|
+
kind: "product_graph" | "ccep_phase" | "ccep_gates" | "config_loop" | "config_council";
|
|
3678
|
+
phaseId?: string | undefined;
|
|
3679
|
+
};
|
|
3680
|
+
defaultOn?: boolean | undefined;
|
|
3681
|
+
}>, "many">;
|
|
3682
|
+
}, "strip", z.ZodTypeAny, {
|
|
3683
|
+
version: 1;
|
|
3684
|
+
components: {
|
|
3685
|
+
id: "council" | "docs" | "review" | "design" | "wayfinding" | "intake" | "test_first" | "confirmation_gates" | "compile_loop" | "product_graph";
|
|
3686
|
+
label: string;
|
|
3687
|
+
layer: "council" | "loop" | "phase" | "knowledge" | "gate";
|
|
3688
|
+
defaultOn: boolean;
|
|
3689
|
+
toggle: {
|
|
3690
|
+
kind: "product_graph" | "ccep_phase" | "ccep_gates" | "config_loop" | "config_council";
|
|
3691
|
+
phaseId?: string | undefined;
|
|
3692
|
+
};
|
|
3693
|
+
}[];
|
|
3694
|
+
}, {
|
|
3695
|
+
version: 1;
|
|
3696
|
+
components: {
|
|
3697
|
+
id: "council" | "docs" | "review" | "design" | "wayfinding" | "intake" | "test_first" | "confirmation_gates" | "compile_loop" | "product_graph";
|
|
3698
|
+
label: string;
|
|
3699
|
+
layer: "council" | "loop" | "phase" | "knowledge" | "gate";
|
|
3700
|
+
toggle: {
|
|
3701
|
+
kind: "product_graph" | "ccep_phase" | "ccep_gates" | "config_loop" | "config_council";
|
|
3702
|
+
phaseId?: string | undefined;
|
|
3703
|
+
};
|
|
3704
|
+
defaultOn?: boolean | undefined;
|
|
3705
|
+
}[];
|
|
3706
|
+
}>;
|
|
3707
|
+
export declare const HarnessOverlaySchema: z.ZodObject<{
|
|
3708
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
3709
|
+
variantId: z.ZodString;
|
|
3710
|
+
disabledComponents: z.ZodArray<z.ZodEnum<["wayfinding", "intake", "design", "test_first", "review", "docs", "confirmation_gates", "compile_loop", "council", "product_graph"]>, "many">;
|
|
3711
|
+
disableProductGraph: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3712
|
+
contractVersion: z.ZodOptional<z.ZodString>;
|
|
3713
|
+
ccepProfile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3714
|
+
}, "strip", z.ZodTypeAny, {
|
|
3715
|
+
variantId: string;
|
|
3716
|
+
disabledComponents: ("council" | "docs" | "review" | "design" | "wayfinding" | "intake" | "test_first" | "confirmation_gates" | "compile_loop" | "product_graph")[];
|
|
3717
|
+
disableProductGraph: boolean;
|
|
3718
|
+
ccepProfile: string;
|
|
3719
|
+
contractVersion?: string | undefined;
|
|
3720
|
+
experimentId?: string | undefined;
|
|
3721
|
+
}, {
|
|
3722
|
+
variantId: string;
|
|
3723
|
+
disabledComponents: ("council" | "docs" | "review" | "design" | "wayfinding" | "intake" | "test_first" | "confirmation_gates" | "compile_loop" | "product_graph")[];
|
|
3724
|
+
contractVersion?: string | undefined;
|
|
3725
|
+
experimentId?: string | undefined;
|
|
3726
|
+
disableProductGraph?: boolean | undefined;
|
|
3727
|
+
ccepProfile?: string | undefined;
|
|
3728
|
+
}>;
|
|
3729
|
+
export declare const HarnessExperimentSchema: z.ZodObject<{
|
|
3730
|
+
id: z.ZodString;
|
|
3731
|
+
suiteId: z.ZodString;
|
|
3732
|
+
createdAt: z.ZodString;
|
|
3733
|
+
contractVersion: z.ZodString;
|
|
3734
|
+
components: z.ZodArray<z.ZodEnum<["wayfinding", "intake", "design", "test_first", "review", "docs", "confirmation_gates", "compile_loop", "council", "product_graph"]>, "many">;
|
|
3735
|
+
variants: z.ZodArray<z.ZodString, "many">;
|
|
3736
|
+
suiteTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
3737
|
+
suitePath: z.ZodOptional<z.ZodString>;
|
|
3738
|
+
}, "strip", z.ZodTypeAny, {
|
|
3739
|
+
id: string;
|
|
3740
|
+
contractVersion: string;
|
|
3741
|
+
createdAt: string;
|
|
3742
|
+
components: ("council" | "docs" | "review" | "design" | "wayfinding" | "intake" | "test_first" | "confirmation_gates" | "compile_loop" | "product_graph")[];
|
|
3743
|
+
suiteId: string;
|
|
3744
|
+
variants: string[];
|
|
3745
|
+
suiteTaskIds: string[];
|
|
3746
|
+
suitePath?: string | undefined;
|
|
3747
|
+
}, {
|
|
3748
|
+
id: string;
|
|
3749
|
+
contractVersion: string;
|
|
3750
|
+
createdAt: string;
|
|
3751
|
+
components: ("council" | "docs" | "review" | "design" | "wayfinding" | "intake" | "test_first" | "confirmation_gates" | "compile_loop" | "product_graph")[];
|
|
3752
|
+
suiteId: string;
|
|
3753
|
+
variants: string[];
|
|
3754
|
+
suiteTaskIds: string[];
|
|
3755
|
+
suitePath?: string | undefined;
|
|
3756
|
+
}>;
|
|
3757
|
+
export declare const HarnessSuiteTaskSchema: z.ZodObject<{
|
|
3758
|
+
id: z.ZodString;
|
|
3759
|
+
title: z.ZodString;
|
|
3760
|
+
type: z.ZodEnum<["feature", "fix", "refactor"]>;
|
|
3761
|
+
risk: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3762
|
+
prompt: z.ZodString;
|
|
3763
|
+
scope: z.ZodString;
|
|
3764
|
+
acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
|
|
3765
|
+
testCommand: z.ZodOptional<z.ZodString>;
|
|
3766
|
+
}, "strip", z.ZodTypeAny, {
|
|
3767
|
+
id: string;
|
|
3768
|
+
type: "feature" | "fix" | "refactor";
|
|
3769
|
+
title: string;
|
|
3770
|
+
risk: "low" | "medium" | "high";
|
|
3771
|
+
acceptanceCriteria: string[];
|
|
3772
|
+
scope: string;
|
|
3773
|
+
prompt: string;
|
|
3774
|
+
testCommand?: string | undefined;
|
|
3775
|
+
}, {
|
|
3776
|
+
id: string;
|
|
3777
|
+
type: "feature" | "fix" | "refactor";
|
|
3778
|
+
title: string;
|
|
3779
|
+
acceptanceCriteria: string[];
|
|
3780
|
+
scope: string;
|
|
3781
|
+
prompt: string;
|
|
3782
|
+
risk?: "low" | "medium" | "high" | undefined;
|
|
3783
|
+
testCommand?: string | undefined;
|
|
3784
|
+
}>;
|
|
3785
|
+
export declare const HarnessSuiteSchema: z.ZodObject<{
|
|
3786
|
+
id: z.ZodString;
|
|
3787
|
+
version: z.ZodNumber;
|
|
3788
|
+
fixtureDir: z.ZodOptional<z.ZodString>;
|
|
3789
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
3790
|
+
id: z.ZodString;
|
|
3791
|
+
title: z.ZodString;
|
|
3792
|
+
type: z.ZodEnum<["feature", "fix", "refactor"]>;
|
|
3793
|
+
risk: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3794
|
+
prompt: z.ZodString;
|
|
3795
|
+
scope: z.ZodString;
|
|
3796
|
+
acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
|
|
3797
|
+
testCommand: z.ZodOptional<z.ZodString>;
|
|
3798
|
+
}, "strip", z.ZodTypeAny, {
|
|
3799
|
+
id: string;
|
|
3800
|
+
type: "feature" | "fix" | "refactor";
|
|
3801
|
+
title: string;
|
|
3802
|
+
risk: "low" | "medium" | "high";
|
|
3803
|
+
acceptanceCriteria: string[];
|
|
3804
|
+
scope: string;
|
|
3805
|
+
prompt: string;
|
|
3806
|
+
testCommand?: string | undefined;
|
|
3807
|
+
}, {
|
|
3808
|
+
id: string;
|
|
3809
|
+
type: "feature" | "fix" | "refactor";
|
|
3810
|
+
title: string;
|
|
3811
|
+
acceptanceCriteria: string[];
|
|
3812
|
+
scope: string;
|
|
3813
|
+
prompt: string;
|
|
3814
|
+
risk?: "low" | "medium" | "high" | undefined;
|
|
3815
|
+
testCommand?: string | undefined;
|
|
3816
|
+
}>, "many">;
|
|
3817
|
+
}, "strip", z.ZodTypeAny, {
|
|
3818
|
+
id: string;
|
|
3819
|
+
version: number;
|
|
3820
|
+
tasks: {
|
|
3821
|
+
id: string;
|
|
3822
|
+
type: "feature" | "fix" | "refactor";
|
|
3823
|
+
title: string;
|
|
3824
|
+
risk: "low" | "medium" | "high";
|
|
3825
|
+
acceptanceCriteria: string[];
|
|
3826
|
+
scope: string;
|
|
3827
|
+
prompt: string;
|
|
3828
|
+
testCommand?: string | undefined;
|
|
3829
|
+
}[];
|
|
3830
|
+
fixtureDir?: string | undefined;
|
|
3831
|
+
}, {
|
|
3832
|
+
id: string;
|
|
3833
|
+
version: number;
|
|
3834
|
+
tasks: {
|
|
3835
|
+
id: string;
|
|
3836
|
+
type: "feature" | "fix" | "refactor";
|
|
3837
|
+
title: string;
|
|
3838
|
+
acceptanceCriteria: string[];
|
|
3839
|
+
scope: string;
|
|
3840
|
+
prompt: string;
|
|
3841
|
+
risk?: "low" | "medium" | "high" | undefined;
|
|
3842
|
+
testCommand?: string | undefined;
|
|
3843
|
+
}[];
|
|
3844
|
+
fixtureDir?: string | undefined;
|
|
3510
3845
|
}>;
|
|
3511
3846
|
export declare const EvaluationIndexSchema: z.ZodObject<{
|
|
3512
3847
|
version: z.ZodLiteral<1>;
|
|
@@ -3591,6 +3926,13 @@ export type ScorecardRecordInput = z.infer<typeof ScorecardRecordSchema>;
|
|
|
3591
3926
|
export type TaskOutcomeInput = z.infer<typeof TaskOutcomeSchema>;
|
|
3592
3927
|
export type EvaluationIndexInput = z.infer<typeof EvaluationIndexSchema>;
|
|
3593
3928
|
export type ExecutionProfileInput = z.infer<typeof ExecutionProfileSchema>;
|
|
3929
|
+
export type HarnessComponentIdInput = z.infer<typeof HarnessComponentIdSchema>;
|
|
3930
|
+
export type HarnessCatalogEntryInput = z.infer<typeof HarnessCatalogEntrySchema>;
|
|
3931
|
+
export type HarnessCatalogInput = z.infer<typeof HarnessCatalogSchema>;
|
|
3932
|
+
export type HarnessOverlayInput = z.infer<typeof HarnessOverlaySchema>;
|
|
3933
|
+
export type HarnessExperimentInput = z.infer<typeof HarnessExperimentSchema>;
|
|
3934
|
+
export type HarnessSuiteTaskInput = z.infer<typeof HarnessSuiteTaskSchema>;
|
|
3935
|
+
export type HarnessSuiteInput = z.infer<typeof HarnessSuiteSchema>;
|
|
3594
3936
|
export type WorkflowCommandInput = z.infer<typeof WorkflowCommandSchema>;
|
|
3595
3937
|
export type CommandEnvelopeInput = z.infer<typeof CommandEnvelopeSchema>;
|
|
3596
3938
|
export type WorkflowProfileInput = z.infer<typeof WorkflowProfileSchema>;
|
|
@@ -3645,6 +3987,10 @@ export declare function validateBacklogDocument(data: unknown): BacklogDocumentI
|
|
|
3645
3987
|
export declare function validateOpenspecState(data: unknown): OpenspecStateInput;
|
|
3646
3988
|
export declare function validateScorecardRecord(data: unknown): ScorecardRecordInput;
|
|
3647
3989
|
export declare function validateTaskOutcome(data: unknown): TaskOutcomeInput;
|
|
3990
|
+
export declare function validateHarnessCatalog(data: unknown): HarnessCatalogInput;
|
|
3991
|
+
export declare function validateHarnessOverlay(data: unknown): HarnessOverlayInput;
|
|
3992
|
+
export declare function validateHarnessExperiment(data: unknown): HarnessExperimentInput;
|
|
3993
|
+
export declare function validateHarnessSuite(data: unknown): HarnessSuiteInput;
|
|
3648
3994
|
export declare function validateCommandEnvelope(data: unknown): CommandEnvelopeInput;
|
|
3649
3995
|
export declare function validateWorkflowProfile(data: unknown): WorkflowProfileInput;
|
|
3650
3996
|
export declare function validateExecutionContext(data: unknown): ExecutionContextInput;
|