@manehorizons/cadence-types 1.1.1 → 1.4.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.
@@ -1 +1 @@
1
- {"version":3,"file":"intelligence.d.ts","sourceRoot":"","sources":["../src/intelligence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qBAAqB,wEAMhC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,qBAAqB,2EAMhC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,wBAAwB,yHAOnC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE/E,eAAO,MAAM,uBAAuB,kDAAgD,CAAC;AACrF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE7E,eAAO,MAAM,yBAAyB,4FAOpC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAEjF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB1B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE7D,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;EAQpB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAEjD,eAAO,MAAM,WAAW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;iBA8CzB,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAU3D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,IAAI,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAC1B;IAAE,QAAQ,EAAE,oBAAoB,CAAC;IAAC,KAAK,CAAC,EAAE,IAAI,CAAA;CAAE,GAChD;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1B,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,WAAW,EAAE,kBAAkB,EAAE,CAAC;CACnC,CAAC"}
package/dist/plan.d.ts CHANGED
@@ -5,56 +5,40 @@ export declare const AcceptanceCriterionZ: z.ZodObject<{
5
5
  given: z.ZodString;
6
6
  when: z.ZodString;
7
7
  then: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- id: string;
10
- name: string;
11
- given: string;
12
- when: string;
13
- then: string;
14
- }, {
15
- id: string;
16
- given: string;
17
- when: string;
18
- then: string;
19
- name?: string | undefined;
20
- }>;
8
+ }, z.core.$strip>;
21
9
  export type AcceptanceCriterion = z.infer<typeof AcceptanceCriterionZ>;
22
10
  export declare const TaskZ: z.ZodObject<{
23
11
  id: z.ZodString;
24
12
  name: z.ZodString;
25
- files: z.ZodArray<z.ZodString, "many">;
13
+ files: z.ZodArray<z.ZodString>;
26
14
  action: z.ZodString;
27
15
  verify: z.ZodString;
28
16
  done: z.ZodString;
29
- status: z.ZodOptional<z.ZodEnum<["PENDING", "IN_PROGRESS", "DONE", "DONE_WITH_CONCERNS", "NEEDS_CONTEXT", "BLOCKED"]>>;
30
- touchedFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
31
- }, "strip", z.ZodTypeAny, {
32
- id: string;
33
- name: string;
34
- files: string[];
35
- action: string;
36
- verify: string;
37
- done: string;
38
- status?: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED" | undefined;
39
- touchedFiles?: string[] | undefined;
40
- }, {
41
- id: string;
42
- name: string;
43
- files: string[];
44
- action: string;
45
- verify: string;
46
- done: string;
47
- status?: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED" | undefined;
48
- touchedFiles?: string[] | undefined;
49
- }>;
17
+ status: z.ZodOptional<z.ZodEnum<{
18
+ PENDING: "PENDING";
19
+ IN_PROGRESS: "IN_PROGRESS";
20
+ DONE: "DONE";
21
+ DONE_WITH_CONCERNS: "DONE_WITH_CONCERNS";
22
+ NEEDS_CONTEXT: "NEEDS_CONTEXT";
23
+ BLOCKED: "BLOCKED";
24
+ }>>;
25
+ touchedFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
26
+ }, z.core.$strip>;
50
27
  export type Task = z.infer<typeof TaskZ>;
51
28
  export declare const DraftZ: z.ZodObject<{
52
29
  schemaVersion: z.ZodLiteral<1>;
53
30
  id: z.ZodString;
54
31
  phase: z.ZodString;
55
- tier: z.ZodEnum<["quick-fix", "standard", "complex"]>;
56
- /** Optional per-phase profile override. When set, wins over the project default in config. */
57
- profile: z.ZodOptional<z.ZodEnum<["strict", "standard", "auto"]>>;
32
+ tier: z.ZodEnum<{
33
+ standard: "standard";
34
+ complex: "complex";
35
+ "quick-fix": "quick-fix";
36
+ }>;
37
+ profile: z.ZodOptional<z.ZodEnum<{
38
+ strict: "strict";
39
+ standard: "standard";
40
+ auto: "auto";
41
+ }>>;
58
42
  title: z.ZodString;
59
43
  objective: z.ZodString;
60
44
  acceptanceCriteria: z.ZodArray<z.ZodObject<{
@@ -63,106 +47,32 @@ export declare const DraftZ: z.ZodObject<{
63
47
  given: z.ZodString;
64
48
  when: z.ZodString;
65
49
  then: z.ZodString;
66
- }, "strip", z.ZodTypeAny, {
67
- id: string;
68
- name: string;
69
- given: string;
70
- when: string;
71
- then: string;
72
- }, {
73
- id: string;
74
- given: string;
75
- when: string;
76
- then: string;
77
- name?: string | undefined;
78
- }>, "many">;
50
+ }, z.core.$strip>>;
79
51
  tasks: z.ZodArray<z.ZodObject<{
80
52
  id: z.ZodString;
81
53
  name: z.ZodString;
82
- files: z.ZodArray<z.ZodString, "many">;
54
+ files: z.ZodArray<z.ZodString>;
83
55
  action: z.ZodString;
84
56
  verify: z.ZodString;
85
57
  done: z.ZodString;
86
- status: z.ZodOptional<z.ZodEnum<["PENDING", "IN_PROGRESS", "DONE", "DONE_WITH_CONCERNS", "NEEDS_CONTEXT", "BLOCKED"]>>;
87
- touchedFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
88
- }, "strip", z.ZodTypeAny, {
89
- id: string;
90
- name: string;
91
- files: string[];
92
- action: string;
93
- verify: string;
94
- done: string;
95
- status?: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED" | undefined;
96
- touchedFiles?: string[] | undefined;
97
- }, {
98
- id: string;
99
- name: string;
100
- files: string[];
101
- action: string;
102
- verify: string;
103
- done: string;
104
- status?: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED" | undefined;
105
- touchedFiles?: string[] | undefined;
106
- }>, "many">;
107
- boundaries: z.ZodArray<z.ZodString, "many">;
108
- requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
109
- status: z.ZodEnum<["PENDING", "APPROVED", "IN_PROGRESS", "SETTLED"]>;
110
- }, "strip", z.ZodTypeAny, {
111
- status: "PENDING" | "IN_PROGRESS" | "APPROVED" | "SETTLED";
112
- schemaVersion: 1;
113
- tier: "standard" | "complex" | "quick-fix";
114
- id: string;
115
- phase: string;
116
- title: string;
117
- objective: string;
118
- acceptanceCriteria: {
119
- id: string;
120
- name: string;
121
- given: string;
122
- when: string;
123
- then: string;
124
- }[];
125
- tasks: {
126
- id: string;
127
- name: string;
128
- files: string[];
129
- action: string;
130
- verify: string;
131
- done: string;
132
- status?: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED" | undefined;
133
- touchedFiles?: string[] | undefined;
134
- }[];
135
- boundaries: string[];
136
- profile?: "strict" | "standard" | "auto" | undefined;
137
- requiredSkills?: string[] | undefined;
138
- }, {
139
- status: "PENDING" | "IN_PROGRESS" | "APPROVED" | "SETTLED";
140
- schemaVersion: 1;
141
- tier: "standard" | "complex" | "quick-fix";
142
- id: string;
143
- phase: string;
144
- title: string;
145
- objective: string;
146
- acceptanceCriteria: {
147
- id: string;
148
- given: string;
149
- when: string;
150
- then: string;
151
- name?: string | undefined;
152
- }[];
153
- tasks: {
154
- id: string;
155
- name: string;
156
- files: string[];
157
- action: string;
158
- verify: string;
159
- done: string;
160
- status?: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED" | undefined;
161
- touchedFiles?: string[] | undefined;
162
- }[];
163
- boundaries: string[];
164
- profile?: "strict" | "standard" | "auto" | undefined;
165
- requiredSkills?: string[] | undefined;
166
- }>;
58
+ status: z.ZodOptional<z.ZodEnum<{
59
+ PENDING: "PENDING";
60
+ IN_PROGRESS: "IN_PROGRESS";
61
+ DONE: "DONE";
62
+ DONE_WITH_CONCERNS: "DONE_WITH_CONCERNS";
63
+ NEEDS_CONTEXT: "NEEDS_CONTEXT";
64
+ BLOCKED: "BLOCKED";
65
+ }>>;
66
+ touchedFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
67
+ }, z.core.$strip>>;
68
+ boundaries: z.ZodArray<z.ZodString>;
69
+ requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
+ status: z.ZodEnum<{
71
+ PENDING: "PENDING";
72
+ IN_PROGRESS: "IN_PROGRESS";
73
+ APPROVED: "APPROVED";
74
+ SETTLED: "SETTLED";
75
+ }>;
76
+ }, z.core.$strip>;
167
77
  export type Draft = z.infer<typeof DraftZ>;
168
78
  //# sourceMappingURL=plan.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../src/plan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;EAShB,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzC,eAAO,MAAM,MAAM;;;;;IAKjB,8FAA8F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9F,CAAC;AACH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../src/plan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;iBAM/B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;iBAShB,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcjB,CAAC;AACH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC"}
package/dist/profile.d.ts CHANGED
@@ -1,23 +1,48 @@
1
1
  import { z } from 'zod';
2
- export declare const ProfileZ: z.ZodEnum<["strict", "standard", "auto"]>;
2
+ export declare const ProfileZ: z.ZodEnum<{
3
+ strict: "strict";
4
+ standard: "standard";
5
+ auto: "auto";
6
+ }>;
3
7
  export type Profile = z.infer<typeof ProfileZ>;
4
8
  /**
5
9
  * Universe of gate names CADENCE understands. The matrix in
6
10
  * DESIGN.md Section 4.1 enumerates each gate's cost class; the engine in
7
11
  * `@manehorizons/cadence-core/gates/engine.ts` decides which fire per (tier × profile).
8
12
  */
9
- export declare const GateZ: z.ZodEnum<["coherence-check", "structural-verifier", "build-test-must-pass", "draft-read", "test-coverage", "anomaly-notify", "approve", "per-task-verify", "code-review", "deep-verify", "interactive-verdict", "plan-review", "security-audit"]>;
13
+ export declare const GateZ: z.ZodEnum<{
14
+ "coherence-check": "coherence-check";
15
+ "structural-verifier": "structural-verifier";
16
+ "build-test-must-pass": "build-test-must-pass";
17
+ "draft-read": "draft-read";
18
+ "test-coverage": "test-coverage";
19
+ "anomaly-notify": "anomaly-notify";
20
+ approve: "approve";
21
+ "per-task-verify": "per-task-verify";
22
+ "code-review": "code-review";
23
+ "deep-verify": "deep-verify";
24
+ "interactive-verdict": "interactive-verdict";
25
+ "plan-review": "plan-review";
26
+ "security-audit": "security-audit";
27
+ }>;
10
28
  export type Gate = z.infer<typeof GateZ>;
11
29
  export declare const GateSetZ: z.ZodObject<{
12
- gates: z.ZodArray<z.ZodEnum<["coherence-check", "structural-verifier", "build-test-must-pass", "draft-read", "test-coverage", "anomaly-notify", "approve", "per-task-verify", "code-review", "deep-verify", "interactive-verdict", "plan-review", "security-audit"]>, "many">;
13
- /** Soft cap on auto×complex per DESIGN.md M2 — gate impls refuse without `--allow-auto-complex`. */
30
+ gates: z.ZodArray<z.ZodEnum<{
31
+ "coherence-check": "coherence-check";
32
+ "structural-verifier": "structural-verifier";
33
+ "build-test-must-pass": "build-test-must-pass";
34
+ "draft-read": "draft-read";
35
+ "test-coverage": "test-coverage";
36
+ "anomaly-notify": "anomaly-notify";
37
+ approve: "approve";
38
+ "per-task-verify": "per-task-verify";
39
+ "code-review": "code-review";
40
+ "deep-verify": "deep-verify";
41
+ "interactive-verdict": "interactive-verdict";
42
+ "plan-review": "plan-review";
43
+ "security-audit": "security-audit";
44
+ }>>;
14
45
  softCap: z.ZodBoolean;
15
- }, "strip", z.ZodTypeAny, {
16
- gates: ("coherence-check" | "structural-verifier" | "build-test-must-pass" | "draft-read" | "test-coverage" | "anomaly-notify" | "approve" | "per-task-verify" | "code-review" | "deep-verify" | "interactive-verdict" | "plan-review" | "security-audit")[];
17
- softCap: boolean;
18
- }, {
19
- gates: ("coherence-check" | "structural-verifier" | "build-test-must-pass" | "draft-read" | "test-coverage" | "anomaly-notify" | "approve" | "per-task-verify" | "code-review" | "deep-verify" | "interactive-verdict" | "plan-review" | "security-audit")[];
20
- softCap: boolean;
21
- }>;
46
+ }, z.core.$strip>;
22
47
  export type GateSet = z.infer<typeof GateSetZ>;
23
48
  //# sourceMappingURL=profile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../src/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,QAAQ,2CAAyC,CAAC;AAC/D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,KAAK,oPAkBhB,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzC,eAAO,MAAM,QAAQ;;IAEnB,oGAAoG;;;;;;;;EAEpG,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../src/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,QAAQ;;;;EAAyC,CAAC;AAC/D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;EAkBhB,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;iBAInB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
package/dist/spec.d.ts CHANGED
@@ -16,52 +16,13 @@ export declare const SpecZ: z.ZodObject<{
16
16
  given: z.ZodString;
17
17
  when: z.ZodString;
18
18
  then: z.ZodString;
19
- }, "strip", z.ZodTypeAny, {
20
- id: string;
21
- name: string;
22
- given: string;
23
- when: string;
24
- then: string;
25
- }, {
26
- id: string;
27
- given: string;
28
- when: string;
29
- then: string;
30
- name?: string | undefined;
31
- }>, "many">;
32
- constraints: z.ZodArray<z.ZodString, "many">;
33
- openQuestions: z.ZodArray<z.ZodString, "many">;
34
- status: z.ZodEnum<["PENDING", "APPROVED"]>;
35
- }, "strip", z.ZodTypeAny, {
36
- status: "PENDING" | "APPROVED";
37
- schemaVersion: 1;
38
- id: string;
39
- phase: string;
40
- objective: string;
41
- acceptanceCriteria: {
42
- id: string;
43
- name: string;
44
- given: string;
45
- when: string;
46
- then: string;
47
- }[];
48
- constraints: string[];
49
- openQuestions: string[];
50
- }, {
51
- status: "PENDING" | "APPROVED";
52
- schemaVersion: 1;
53
- id: string;
54
- phase: string;
55
- objective: string;
56
- acceptanceCriteria: {
57
- id: string;
58
- given: string;
59
- when: string;
60
- then: string;
61
- name?: string | undefined;
62
- }[];
63
- constraints: string[];
64
- openQuestions: string[];
65
- }>;
19
+ }, z.core.$strip>>;
20
+ constraints: z.ZodArray<z.ZodString>;
21
+ openQuestions: z.ZodArray<z.ZodString>;
22
+ status: z.ZodEnum<{
23
+ PENDING: "PENDING";
24
+ APPROVED: "APPROVED";
25
+ }>;
26
+ }, z.core.$strip>;
66
27
  export type Spec = z.infer<typeof SpecZ>;
67
28
  //# sourceMappingURL=spec.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spec.d.ts","sourceRoot":"","sources":["../src/spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAShB,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"spec.d.ts","sourceRoot":"","sources":["../src/spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;iBAShB,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC"}