ushman-ledger 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/AGENTS.md +11 -7
  2. package/CHANGELOG.md +6 -0
  3. package/README.md +79 -8
  4. package/dist/blobs.js +3 -3
  5. package/dist/builders.d.ts +44 -2
  6. package/dist/builders.d.ts.map +1 -1
  7. package/dist/builders.js +7 -2
  8. package/dist/cli.d.ts.map +1 -1
  9. package/dist/cli.js +346 -62
  10. package/dist/doctor.d.ts.map +1 -1
  11. package/dist/doctor.js +104 -4
  12. package/dist/handle.d.ts +28 -6
  13. package/dist/handle.d.ts.map +1 -1
  14. package/dist/handle.js +105 -11
  15. package/dist/helpers.d.ts +7 -0
  16. package/dist/helpers.d.ts.map +1 -0
  17. package/dist/helpers.js +38 -0
  18. package/dist/index.d.ts +5 -3
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +5 -3
  21. package/dist/list.d.ts +44 -2
  22. package/dist/list.d.ts.map +1 -1
  23. package/dist/list.js +7 -5
  24. package/dist/note.d.ts +27 -0
  25. package/dist/note.d.ts.map +1 -1
  26. package/dist/note.js +11 -0
  27. package/dist/patch-resolver.d.ts +39 -0
  28. package/dist/patch-resolver.d.ts.map +1 -0
  29. package/dist/patch-resolver.js +196 -0
  30. package/dist/read-index.d.ts +7 -7
  31. package/dist/read-index.d.ts.map +1 -1
  32. package/dist/record.d.ts.map +1 -1
  33. package/dist/record.js +15 -40
  34. package/dist/render/migration-log.d.ts +10 -0
  35. package/dist/render/migration-log.d.ts.map +1 -0
  36. package/dist/render/migration-log.js +79 -0
  37. package/dist/render/retro.d.ts.map +1 -1
  38. package/dist/render/retro.js +34 -21
  39. package/dist/render/workspace-narrative.d.ts +12 -0
  40. package/dist/render/workspace-narrative.d.ts.map +1 -0
  41. package/dist/render/workspace-narrative.js +137 -0
  42. package/dist/schema/entry-core.d.ts +110 -0
  43. package/dist/schema/entry-core.d.ts.map +1 -0
  44. package/dist/schema/entry-core.js +143 -0
  45. package/dist/schema/entry-migrations.d.ts +3 -0
  46. package/dist/schema/entry-migrations.d.ts.map +1 -0
  47. package/dist/schema/entry-migrations.js +48 -0
  48. package/dist/schema/entry-read.d.ts +694 -0
  49. package/dist/schema/entry-read.d.ts.map +1 -0
  50. package/dist/schema/entry-read.js +92 -0
  51. package/dist/schema/entry-write.d.ts +865 -0
  52. package/dist/schema/entry-write.d.ts.map +1 -0
  53. package/dist/schema/entry-write.js +105 -0
  54. package/dist/schema/entry.d.ts +6 -1369
  55. package/dist/schema/entry.d.ts.map +1 -1
  56. package/dist/schema/entry.js +9 -286
  57. package/dist/schema/note.d.ts +1 -1
  58. package/dist/schema/note.d.ts.map +1 -1
  59. package/dist/schema/note.js +12 -1
  60. package/dist/storage/filesystem.d.ts +9 -0
  61. package/dist/storage/filesystem.d.ts.map +1 -1
  62. package/dist/storage/filesystem.js +82 -5
  63. package/dist/storage/lock-reclaimer.d.ts +2 -0
  64. package/dist/storage/lock-reclaimer.d.ts.map +1 -0
  65. package/dist/storage/lock-reclaimer.js +45 -0
  66. package/dist/version.d.ts +1 -1
  67. package/dist/version.js +1 -1
  68. package/package.json +3 -3
@@ -1,1372 +1,9 @@
1
- import * as v from 'valibot';
2
- export declare const LedgerSchemaVersion: "ushman-ledger-entry/v1";
3
- export declare const LEDGER_PHASES: readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"];
4
- export declare const LEDGER_KINDS: readonly ["tool-invocation", "agent-patch", "operator-patch", "operator-decision", "validator-result", "runtime-event", "note", "correction", "strip-decision-reverted"];
5
- export declare const OPERATOR_DECISION_ACTIONS: readonly ["bypass-doctor", "skip-check", "override-strip-decision", "override-ship-state", "manual-parity-assertion", "ledger-hand-edit", "escalation"];
6
- export declare const LedgerPhaseSchema: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
7
- export declare const OperatorDecisionActionSchema: v.PicklistSchema<readonly ["bypass-doctor", "skip-check", "override-strip-decision", "override-ship-state", "manual-parity-assertion", "ledger-hand-edit", "escalation"], undefined>;
8
- export declare const EmitterSchema: v.ObjectSchema<{
9
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
10
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
12
- }, undefined>;
13
- export declare const LedgerLinksSchema: v.ObjectWithRestSchema<{
14
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
15
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
16
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
17
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
18
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
19
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
20
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
21
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
22
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
23
- }, v.UnknownSchema, undefined>;
24
- export declare const AgentPatchDiffSchema: v.ObjectSchema<{
25
- readonly addedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
26
- readonly blobSha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Expected a lowercase SHA-256 hex digest.">]>;
27
- readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
28
- readonly removedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
29
- }, undefined>;
30
- export declare const OperatorDecisionPayloadSchema: v.ObjectSchema<{
31
- readonly action: v.PicklistSchema<readonly ["bypass-doctor", "skip-check", "override-strip-decision", "override-ship-state", "manual-parity-assertion", "ledger-hand-edit", "escalation"], undefined>;
32
- readonly checkId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
33
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "payload.rationale must not be empty">]>;
34
- }, undefined>;
35
- export declare const StripDecisionRevertedPayloadSchema: v.ObjectSchema<{
36
- readonly invalidatedStages: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["intake", "seed", "vendor-extract", "cleanup", "parity", "characterize"], undefined>, undefined>, undefined>;
37
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
38
- readonly stripDecisionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
39
- }, undefined>;
40
- export declare const ToolInvocationEntrySchema: v.ObjectSchema<{
41
- readonly args: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
42
- readonly cwd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
43
- readonly exitCode: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
44
- readonly kind: v.LiteralSchema<"tool-invocation", undefined>;
45
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
46
- readonly emitter: v.ObjectSchema<{
47
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
48
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
49
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
50
- }, undefined>;
51
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
52
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
53
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
54
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
55
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
56
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
57
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
58
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
59
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
60
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
61
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
62
- }, v.UnknownSchema, undefined>, {}>;
63
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
64
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
65
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
66
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
67
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
68
- }, undefined>;
69
- export declare const AgentPatchEntrySchema: v.ObjectSchema<{
70
- readonly agent: v.ObjectSchema<{
71
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
72
- readonly sessionId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
73
- }, undefined>;
74
- readonly kind: v.LiteralSchema<"agent-patch", undefined>;
75
- readonly diff: v.ObjectSchema<{
76
- readonly addedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
77
- readonly blobSha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Expected a lowercase SHA-256 hex digest.">]>;
78
- readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
79
- readonly removedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
80
- }, undefined>;
81
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
82
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
83
- readonly emitter: v.ObjectSchema<{
84
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
85
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
86
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
87
- }, undefined>;
88
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
89
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
90
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
91
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
92
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
93
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
94
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
95
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
96
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
97
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
98
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
99
- }, v.UnknownSchema, undefined>, {}>;
100
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
101
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
102
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
103
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
104
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
105
- }, undefined>;
106
- export declare const OperatorPatchEntrySchema: v.ObjectSchema<{
107
- readonly kind: v.LiteralSchema<"operator-patch", undefined>;
108
- readonly operator: v.ObjectSchema<{
109
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
110
- }, undefined>;
111
- readonly diff: v.ObjectSchema<{
112
- readonly addedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
113
- readonly blobSha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Expected a lowercase SHA-256 hex digest.">]>;
114
- readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
115
- readonly removedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
116
- }, undefined>;
117
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
118
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
119
- readonly emitter: v.ObjectSchema<{
120
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
121
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
122
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
123
- }, undefined>;
124
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
125
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
126
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
127
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
128
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
129
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
130
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
131
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
132
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
133
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
134
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
135
- }, v.UnknownSchema, undefined>, {}>;
136
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
137
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
138
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
139
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
140
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
141
- }, undefined>;
142
- export declare const OperatorDecisionEntrySchema: v.ObjectSchema<{
143
- readonly kind: v.LiteralSchema<"operator-decision", undefined>;
144
- readonly payload: v.ObjectSchema<{
145
- readonly action: v.PicklistSchema<readonly ["bypass-doctor", "skip-check", "override-strip-decision", "override-ship-state", "manual-parity-assertion", "ledger-hand-edit", "escalation"], undefined>;
146
- readonly checkId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
147
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "payload.rationale must not be empty">]>;
148
- }, undefined>;
149
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
150
- readonly emitter: v.ObjectSchema<{
151
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
152
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
153
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
154
- }, undefined>;
155
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
156
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
157
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
158
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
159
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
160
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
161
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
162
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
163
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
164
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
165
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
166
- }, v.UnknownSchema, undefined>, {}>;
167
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
168
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
169
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
170
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
171
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
172
- }, undefined>;
173
- export declare const ValidatorResultEntrySchema: v.ObjectSchema<{
174
- readonly kind: v.LiteralSchema<"validator-result", undefined>;
175
- readonly metrics: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
176
- readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
177
- readonly validator: v.PicklistSchema<["parity", "equiv", "characterize", "verify", "doctor"], undefined>;
178
- readonly verdict: v.PicklistSchema<["green", "yellow", "red"], undefined>;
179
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
180
- readonly emitter: v.ObjectSchema<{
181
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
182
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
183
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
184
- }, undefined>;
185
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
186
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
187
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
188
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
189
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
190
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
191
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
192
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
193
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
194
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
195
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
196
- }, v.UnknownSchema, undefined>, {}>;
197
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
198
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
199
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
200
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
201
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
202
- }, undefined>;
203
- export declare const RuntimeEventEntrySchema: v.ObjectSchema<{
204
- readonly kind: v.LiteralSchema<"runtime-event", undefined>;
205
- readonly level: v.PicklistSchema<["info", "warn", "error"], undefined>;
206
- readonly message: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
207
- readonly source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
208
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
209
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
210
- readonly emitter: v.ObjectSchema<{
211
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
212
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
213
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
214
- }, undefined>;
215
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
216
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
217
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
218
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
219
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
220
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
221
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
222
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
223
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
224
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
225
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
226
- }, v.UnknownSchema, undefined>, {}>;
227
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
228
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
229
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
230
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
231
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
232
- }, undefined>;
233
- export declare const NoteEntrySchema: v.ObjectSchema<{
234
- readonly body: v.StringSchema<undefined>;
235
- readonly kind: v.LiteralSchema<"note", undefined>;
236
- readonly subkind: v.PicklistSchema<["regression", "automation", "retro", "operator", "tooling-gap"], undefined>;
237
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
238
- readonly emitter: v.ObjectSchema<{
239
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
240
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
241
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
242
- }, undefined>;
243
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
244
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
245
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
246
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
247
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
248
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
249
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
250
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
251
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
252
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
253
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
254
- }, v.UnknownSchema, undefined>, {}>;
255
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
256
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
257
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
258
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
259
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
260
- }, undefined>;
261
- export declare const CorrectionEntrySchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
262
- readonly kind: v.LiteralSchema<"correction", undefined>;
263
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
264
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
265
- readonly emitter: v.ObjectSchema<{
266
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
267
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
268
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
269
- }, undefined>;
270
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
271
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
272
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
273
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
274
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
275
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
276
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
277
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
278
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
279
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
280
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
281
- }, v.UnknownSchema, undefined>, {}>;
282
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
283
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
284
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
285
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
286
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
287
- }, undefined>, v.CheckAction<{
288
- kind: "correction";
289
- rationale: string;
290
- details?: {
291
- [x: string]: unknown;
292
- } | undefined;
293
- emitter: {
294
- tool: string;
295
- user?: string | undefined;
296
- version: string;
297
- };
298
- id: string;
299
- links: {
300
- affectedFiles?: string[] | undefined;
301
- blobs?: string[] | undefined;
302
- briefId?: string | undefined;
303
- correctsLedgerId?: string | undefined;
304
- gitRef?: string | undefined;
305
- idempotencyKey?: string | undefined;
306
- stripDecisionId?: string | undefined;
307
- supersedesLedgerId?: string | undefined;
308
- validatorVerdictId?: string | undefined;
309
- } & {
310
- [key: string]: unknown;
311
- };
312
- phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
313
- prevEntryId: string | null;
314
- schemaVersion: "ushman-ledger-entry/v1";
315
- summary: string;
316
- ts: string;
317
- }, "correction entries require links.correctsLedgerId">]>;
318
- export declare const StripDecisionRevertedEntrySchema: v.ObjectSchema<{
319
- readonly kind: v.LiteralSchema<"strip-decision-reverted", undefined>;
320
- readonly payload: v.ObjectSchema<{
321
- readonly invalidatedStages: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["intake", "seed", "vendor-extract", "cleanup", "parity", "characterize"], undefined>, undefined>, undefined>;
322
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
323
- readonly stripDecisionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
324
- }, undefined>;
325
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
326
- readonly emitter: v.ObjectSchema<{
327
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
328
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
329
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
330
- }, undefined>;
331
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
332
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
333
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
334
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
335
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
336
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
337
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
338
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
339
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
340
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
341
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
342
- }, v.UnknownSchema, undefined>, {}>;
343
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
344
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
345
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
346
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
347
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
348
- }, undefined>;
349
- export declare const LedgerEntrySchema: v.VariantSchema<"kind", [v.ObjectSchema<{
350
- readonly args: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
351
- readonly cwd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
352
- readonly exitCode: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
353
- readonly kind: v.LiteralSchema<"tool-invocation", undefined>;
354
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
355
- readonly emitter: v.ObjectSchema<{
356
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
357
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
358
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
359
- }, undefined>;
360
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
361
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
362
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
363
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
364
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
365
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
366
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
367
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
368
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
369
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
370
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
371
- }, v.UnknownSchema, undefined>, {}>;
372
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
373
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
374
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
375
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
376
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
377
- }, undefined>, v.ObjectSchema<{
378
- readonly agent: v.ObjectSchema<{
379
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
380
- readonly sessionId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
381
- }, undefined>;
382
- readonly kind: v.LiteralSchema<"agent-patch", undefined>;
383
- readonly diff: v.ObjectSchema<{
384
- readonly addedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
385
- readonly blobSha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Expected a lowercase SHA-256 hex digest.">]>;
386
- readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
387
- readonly removedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
388
- }, undefined>;
389
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
390
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
391
- readonly emitter: v.ObjectSchema<{
392
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
393
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
394
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
395
- }, undefined>;
396
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
397
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
398
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
399
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
400
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
401
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
402
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
403
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
404
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
405
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
406
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
407
- }, v.UnknownSchema, undefined>, {}>;
408
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
409
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
410
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
411
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
412
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
413
- }, undefined>, v.ObjectSchema<{
414
- readonly kind: v.LiteralSchema<"operator-patch", undefined>;
415
- readonly operator: v.ObjectSchema<{
416
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
417
- }, undefined>;
418
- readonly diff: v.ObjectSchema<{
419
- readonly addedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
420
- readonly blobSha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Expected a lowercase SHA-256 hex digest.">]>;
421
- readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
422
- readonly removedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
423
- }, undefined>;
424
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
425
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
426
- readonly emitter: v.ObjectSchema<{
427
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
428
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
429
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
430
- }, undefined>;
431
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
432
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
433
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
434
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
435
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
436
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
437
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
438
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
439
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
440
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
441
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
442
- }, v.UnknownSchema, undefined>, {}>;
443
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
444
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
445
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
446
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
447
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
448
- }, undefined>, v.ObjectSchema<{
449
- readonly kind: v.LiteralSchema<"operator-decision", undefined>;
450
- readonly payload: v.ObjectSchema<{
451
- readonly action: v.PicklistSchema<readonly ["bypass-doctor", "skip-check", "override-strip-decision", "override-ship-state", "manual-parity-assertion", "ledger-hand-edit", "escalation"], undefined>;
452
- readonly checkId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
453
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "payload.rationale must not be empty">]>;
454
- }, undefined>;
455
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
456
- readonly emitter: v.ObjectSchema<{
457
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
458
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
459
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
460
- }, undefined>;
461
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
462
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
463
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
464
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
465
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
466
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
467
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
468
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
469
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
470
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
471
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
472
- }, v.UnknownSchema, undefined>, {}>;
473
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
474
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
475
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
476
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
477
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
478
- }, undefined>, v.ObjectSchema<{
479
- readonly kind: v.LiteralSchema<"validator-result", undefined>;
480
- readonly metrics: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
481
- readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
482
- readonly validator: v.PicklistSchema<["parity", "equiv", "characterize", "verify", "doctor"], undefined>;
483
- readonly verdict: v.PicklistSchema<["green", "yellow", "red"], undefined>;
484
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
485
- readonly emitter: v.ObjectSchema<{
486
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
487
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
488
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
489
- }, undefined>;
490
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
491
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
492
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
493
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
494
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
495
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
496
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
497
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
498
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
499
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
500
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
501
- }, v.UnknownSchema, undefined>, {}>;
502
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
503
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
504
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
505
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
506
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
507
- }, undefined>, v.ObjectSchema<{
508
- readonly kind: v.LiteralSchema<"runtime-event", undefined>;
509
- readonly level: v.PicklistSchema<["info", "warn", "error"], undefined>;
510
- readonly message: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
511
- readonly source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
512
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
513
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
514
- readonly emitter: v.ObjectSchema<{
515
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
516
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
517
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
518
- }, undefined>;
519
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
520
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
521
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
522
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
523
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
524
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
525
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
526
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
527
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
528
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
529
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
530
- }, v.UnknownSchema, undefined>, {}>;
531
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
532
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
533
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
534
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
535
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
536
- }, undefined>, v.ObjectSchema<{
537
- readonly body: v.StringSchema<undefined>;
538
- readonly kind: v.LiteralSchema<"note", undefined>;
539
- readonly subkind: v.PicklistSchema<["regression", "automation", "retro", "operator", "tooling-gap"], undefined>;
540
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
541
- readonly emitter: v.ObjectSchema<{
542
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
543
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
544
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
545
- }, undefined>;
546
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
547
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
548
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
549
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
550
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
551
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
552
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
553
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
554
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
555
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
556
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
557
- }, v.UnknownSchema, undefined>, {}>;
558
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
559
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
560
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
561
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
562
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
563
- }, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
564
- readonly kind: v.LiteralSchema<"correction", undefined>;
565
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
566
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
567
- readonly emitter: v.ObjectSchema<{
568
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
569
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
570
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
571
- }, undefined>;
572
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
573
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
574
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
575
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
576
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
577
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
578
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
579
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
580
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
581
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
582
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
583
- }, v.UnknownSchema, undefined>, {}>;
584
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
585
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
586
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
587
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
588
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
589
- }, undefined>, v.CheckAction<{
590
- kind: "correction";
591
- rationale: string;
592
- details?: {
593
- [x: string]: unknown;
594
- } | undefined;
595
- emitter: {
596
- tool: string;
597
- user?: string | undefined;
598
- version: string;
599
- };
600
- id: string;
601
- links: {
602
- affectedFiles?: string[] | undefined;
603
- blobs?: string[] | undefined;
604
- briefId?: string | undefined;
605
- correctsLedgerId?: string | undefined;
606
- gitRef?: string | undefined;
607
- idempotencyKey?: string | undefined;
608
- stripDecisionId?: string | undefined;
609
- supersedesLedgerId?: string | undefined;
610
- validatorVerdictId?: string | undefined;
611
- } & {
612
- [key: string]: unknown;
613
- };
614
- phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
615
- prevEntryId: string | null;
616
- schemaVersion: "ushman-ledger-entry/v1";
617
- summary: string;
618
- ts: string;
619
- }, "correction entries require links.correctsLedgerId">]>, v.ObjectSchema<{
620
- readonly kind: v.LiteralSchema<"strip-decision-reverted", undefined>;
621
- readonly payload: v.ObjectSchema<{
622
- readonly invalidatedStages: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["intake", "seed", "vendor-extract", "cleanup", "parity", "characterize"], undefined>, undefined>, undefined>;
623
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
624
- readonly stripDecisionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
625
- }, undefined>;
626
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
627
- readonly emitter: v.ObjectSchema<{
628
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
629
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
630
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
631
- }, undefined>;
632
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
633
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
634
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
635
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
636
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
637
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
638
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
639
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
640
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
641
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
642
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
643
- }, v.UnknownSchema, undefined>, {}>;
644
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
645
- readonly prevEntryId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
646
- readonly schemaVersion: v.LiteralSchema<"ushman-ledger-entry/v1", undefined>;
647
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
648
- readonly ts: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
649
- }, undefined>], undefined>;
650
- export declare const ToolInvocationRecordSchema: v.ObjectSchema<{
651
- readonly args: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
652
- readonly cwd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
653
- readonly exitCode: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
654
- readonly kind: v.LiteralSchema<"tool-invocation", undefined>;
655
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
656
- readonly emitter: v.ObjectSchema<{
657
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
658
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
659
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
660
- }, undefined>;
661
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
662
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
663
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
664
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
665
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
666
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
667
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
668
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
669
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
670
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
671
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
672
- }, v.UnknownSchema, undefined>, undefined>;
673
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
674
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
675
- }, undefined>;
676
- export declare const AgentPatchRecordSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
677
- readonly agent: v.ObjectSchema<{
678
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
679
- readonly sessionId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
680
- }, undefined>;
681
- readonly kind: v.LiteralSchema<"agent-patch", undefined>;
682
- readonly diff: v.OptionalSchema<v.ObjectSchema<{
683
- readonly addedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
684
- readonly blobSha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Expected a lowercase SHA-256 hex digest.">]>;
685
- readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
686
- readonly removedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
687
- }, undefined>, undefined>;
688
- readonly diffPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
689
- readonly diffText: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
690
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
691
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
692
- readonly emitter: v.ObjectSchema<{
693
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
694
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
695
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
696
- }, undefined>;
697
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
698
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
699
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
700
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
701
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
702
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
703
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
704
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
705
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
706
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
707
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
708
- }, v.UnknownSchema, undefined>, undefined>;
709
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
710
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
711
- }, undefined>, v.CheckAction<{
712
- agent: {
713
- name: string;
714
- sessionId?: string | undefined;
715
- };
716
- kind: "agent-patch";
717
- diff?: {
718
- addedLines: number;
719
- blobSha256: string;
720
- bytes: number;
721
- removedLines: number;
722
- } | undefined;
723
- diffPath?: string | undefined;
724
- diffText?: string | undefined;
725
- rationale: string;
726
- details?: {
727
- [x: string]: unknown;
728
- } | undefined;
729
- emitter: {
730
- tool: string;
731
- user?: string | undefined;
732
- version: string;
733
- };
734
- idempotencyKey?: string | undefined;
735
- links?: ({
736
- affectedFiles?: string[] | undefined;
737
- blobs?: string[] | undefined;
738
- briefId?: string | undefined;
739
- correctsLedgerId?: string | undefined;
740
- gitRef?: string | undefined;
741
- idempotencyKey?: string | undefined;
742
- stripDecisionId?: string | undefined;
743
- supersedesLedgerId?: string | undefined;
744
- validatorVerdictId?: string | undefined;
745
- } & {
746
- [key: string]: unknown;
747
- }) | undefined;
748
- phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
749
- summary: string;
750
- }, "patch records require exactly one source: diff, diffPath, or diffText (diffPath and diffText cannot be combined).">]>;
751
- export declare const OperatorPatchRecordSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
752
- readonly kind: v.LiteralSchema<"operator-patch", undefined>;
753
- readonly operator: v.ObjectSchema<{
754
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
755
- }, undefined>;
756
- readonly diff: v.OptionalSchema<v.ObjectSchema<{
757
- readonly addedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
758
- readonly blobSha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Expected a lowercase SHA-256 hex digest.">]>;
759
- readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
760
- readonly removedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
761
- }, undefined>, undefined>;
762
- readonly diffPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
763
- readonly diffText: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
764
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
765
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
766
- readonly emitter: v.ObjectSchema<{
767
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
768
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
769
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
770
- }, undefined>;
771
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
772
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
773
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
774
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
775
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
776
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
777
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
778
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
779
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
780
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
781
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
782
- }, v.UnknownSchema, undefined>, undefined>;
783
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
784
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
785
- }, undefined>, v.CheckAction<{
786
- kind: "operator-patch";
787
- operator: {
788
- name: string;
789
- };
790
- diff?: {
791
- addedLines: number;
792
- blobSha256: string;
793
- bytes: number;
794
- removedLines: number;
795
- } | undefined;
796
- diffPath?: string | undefined;
797
- diffText?: string | undefined;
798
- rationale: string;
799
- details?: {
800
- [x: string]: unknown;
801
- } | undefined;
802
- emitter: {
803
- tool: string;
804
- user?: string | undefined;
805
- version: string;
806
- };
807
- idempotencyKey?: string | undefined;
808
- links?: ({
809
- affectedFiles?: string[] | undefined;
810
- blobs?: string[] | undefined;
811
- briefId?: string | undefined;
812
- correctsLedgerId?: string | undefined;
813
- gitRef?: string | undefined;
814
- idempotencyKey?: string | undefined;
815
- stripDecisionId?: string | undefined;
816
- supersedesLedgerId?: string | undefined;
817
- validatorVerdictId?: string | undefined;
818
- } & {
819
- [key: string]: unknown;
820
- }) | undefined;
821
- phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
822
- summary: string;
823
- }, "patch records require exactly one source: diff, diffPath, or diffText (diffPath and diffText cannot be combined).">]>;
824
- export declare const OperatorDecisionRecordSchema: v.ObjectSchema<{
825
- readonly kind: v.LiteralSchema<"operator-decision", undefined>;
826
- readonly payload: v.ObjectSchema<{
827
- readonly action: v.PicklistSchema<readonly ["bypass-doctor", "skip-check", "override-strip-decision", "override-ship-state", "manual-parity-assertion", "ledger-hand-edit", "escalation"], undefined>;
828
- readonly checkId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
829
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "payload.rationale must not be empty">]>;
830
- }, undefined>;
831
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
832
- readonly emitter: v.ObjectSchema<{
833
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
834
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
835
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
836
- }, undefined>;
837
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
838
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
839
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
840
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
841
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
842
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
843
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
844
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
845
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
846
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
847
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
848
- }, v.UnknownSchema, undefined>, undefined>;
849
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
850
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
851
- }, undefined>;
852
- export declare const ValidatorResultRecordSchema: v.ObjectSchema<{
853
- readonly kind: v.LiteralSchema<"validator-result", undefined>;
854
- readonly metrics: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
855
- readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
856
- readonly validator: v.PicklistSchema<["parity", "equiv", "characterize", "verify", "doctor"], undefined>;
857
- readonly verdict: v.PicklistSchema<["green", "yellow", "red"], undefined>;
858
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
859
- readonly emitter: v.ObjectSchema<{
860
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
861
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
862
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
863
- }, undefined>;
864
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
865
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
866
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
867
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
868
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
869
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
870
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
871
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
872
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
873
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
874
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
875
- }, v.UnknownSchema, undefined>, undefined>;
876
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
877
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
878
- }, undefined>;
879
- export declare const RuntimeEventRecordSchema: v.ObjectSchema<{
880
- readonly kind: v.LiteralSchema<"runtime-event", undefined>;
881
- readonly level: v.PicklistSchema<["info", "warn", "error"], undefined>;
882
- readonly message: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
883
- readonly source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
884
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
885
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
886
- readonly emitter: v.ObjectSchema<{
887
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
888
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
889
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
890
- }, undefined>;
891
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
892
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
893
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
894
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
895
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
896
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
897
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
898
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
899
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
900
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
901
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
902
- }, v.UnknownSchema, undefined>, undefined>;
903
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
904
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
905
- }, undefined>;
906
- export declare const NoteRecordSchema: v.ObjectSchema<{
907
- readonly body: v.StringSchema<undefined>;
908
- readonly kind: v.LiteralSchema<"note", undefined>;
909
- readonly subkind: v.PicklistSchema<["regression", "automation", "retro", "operator", "tooling-gap"], undefined>;
910
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
911
- readonly emitter: v.ObjectSchema<{
912
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
913
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
914
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
915
- }, undefined>;
916
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
917
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
918
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
919
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
920
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
921
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
922
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
923
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
924
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
925
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
926
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
927
- }, v.UnknownSchema, undefined>, undefined>;
928
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
929
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
930
- }, undefined>;
931
- export declare const CorrectionRecordSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
932
- readonly kind: v.LiteralSchema<"correction", undefined>;
933
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
934
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
935
- readonly emitter: v.ObjectSchema<{
936
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
937
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
938
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
939
- }, undefined>;
940
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
941
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
942
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
943
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
944
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
945
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
946
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
947
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
948
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
949
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
950
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
951
- }, v.UnknownSchema, undefined>, undefined>;
952
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
953
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
954
- }, undefined>, v.CheckAction<{
955
- kind: "correction";
956
- rationale: string;
957
- details?: {
958
- [x: string]: unknown;
959
- } | undefined;
960
- emitter: {
961
- tool: string;
962
- user?: string | undefined;
963
- version: string;
964
- };
965
- idempotencyKey?: string | undefined;
966
- links?: ({
967
- affectedFiles?: string[] | undefined;
968
- blobs?: string[] | undefined;
969
- briefId?: string | undefined;
970
- correctsLedgerId?: string | undefined;
971
- gitRef?: string | undefined;
972
- idempotencyKey?: string | undefined;
973
- stripDecisionId?: string | undefined;
974
- supersedesLedgerId?: string | undefined;
975
- validatorVerdictId?: string | undefined;
976
- } & {
977
- [key: string]: unknown;
978
- }) | undefined;
979
- phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
980
- summary: string;
981
- }, "correction records require links.correctsLedgerId">]>;
982
- export declare const StripDecisionRevertedRecordSchema: v.ObjectSchema<{
983
- readonly kind: v.LiteralSchema<"strip-decision-reverted", undefined>;
984
- readonly payload: v.ObjectSchema<{
985
- readonly invalidatedStages: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["intake", "seed", "vendor-extract", "cleanup", "parity", "characterize"], undefined>, undefined>, undefined>;
986
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
987
- readonly stripDecisionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
988
- }, undefined>;
989
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
990
- readonly emitter: v.ObjectSchema<{
991
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
992
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
993
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
994
- }, undefined>;
995
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
996
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
997
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
998
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
999
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1000
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1001
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1002
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1003
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1004
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1005
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1006
- }, v.UnknownSchema, undefined>, undefined>;
1007
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
1008
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1009
- }, undefined>;
1010
- export declare const LedgerRecordSchema: v.VariantSchema<"kind", [v.ObjectSchema<{
1011
- readonly args: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1012
- readonly cwd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1013
- readonly exitCode: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
1014
- readonly kind: v.LiteralSchema<"tool-invocation", undefined>;
1015
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1016
- readonly emitter: v.ObjectSchema<{
1017
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1018
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1019
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1020
- }, undefined>;
1021
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1022
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
1023
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
1024
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1025
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1026
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1027
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1028
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1029
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1030
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1031
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1032
- }, v.UnknownSchema, undefined>, undefined>;
1033
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
1034
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1035
- }, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1036
- readonly agent: v.ObjectSchema<{
1037
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1038
- readonly sessionId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1039
- }, undefined>;
1040
- readonly kind: v.LiteralSchema<"agent-patch", undefined>;
1041
- readonly diff: v.OptionalSchema<v.ObjectSchema<{
1042
- readonly addedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1043
- readonly blobSha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Expected a lowercase SHA-256 hex digest.">]>;
1044
- readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1045
- readonly removedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1046
- }, undefined>, undefined>;
1047
- readonly diffPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1048
- readonly diffText: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1049
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1050
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1051
- readonly emitter: v.ObjectSchema<{
1052
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1053
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1054
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1055
- }, undefined>;
1056
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1057
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
1058
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
1059
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1060
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1061
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1062
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1063
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1064
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1065
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1066
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1067
- }, v.UnknownSchema, undefined>, undefined>;
1068
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
1069
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1070
- }, undefined>, v.CheckAction<{
1071
- agent: {
1072
- name: string;
1073
- sessionId?: string | undefined;
1074
- };
1075
- kind: "agent-patch";
1076
- diff?: {
1077
- addedLines: number;
1078
- blobSha256: string;
1079
- bytes: number;
1080
- removedLines: number;
1081
- } | undefined;
1082
- diffPath?: string | undefined;
1083
- diffText?: string | undefined;
1084
- rationale: string;
1085
- details?: {
1086
- [x: string]: unknown;
1087
- } | undefined;
1088
- emitter: {
1089
- tool: string;
1090
- user?: string | undefined;
1091
- version: string;
1092
- };
1093
- idempotencyKey?: string | undefined;
1094
- links?: ({
1095
- affectedFiles?: string[] | undefined;
1096
- blobs?: string[] | undefined;
1097
- briefId?: string | undefined;
1098
- correctsLedgerId?: string | undefined;
1099
- gitRef?: string | undefined;
1100
- idempotencyKey?: string | undefined;
1101
- stripDecisionId?: string | undefined;
1102
- supersedesLedgerId?: string | undefined;
1103
- validatorVerdictId?: string | undefined;
1104
- } & {
1105
- [key: string]: unknown;
1106
- }) | undefined;
1107
- phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
1108
- summary: string;
1109
- }, "patch records require exactly one source: diff, diffPath, or diffText (diffPath and diffText cannot be combined).">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1110
- readonly kind: v.LiteralSchema<"operator-patch", undefined>;
1111
- readonly operator: v.ObjectSchema<{
1112
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1113
- }, undefined>;
1114
- readonly diff: v.OptionalSchema<v.ObjectSchema<{
1115
- readonly addedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1116
- readonly blobSha256: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Expected a lowercase SHA-256 hex digest.">]>;
1117
- readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1118
- readonly removedLines: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1119
- }, undefined>, undefined>;
1120
- readonly diffPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1121
- readonly diffText: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1122
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1123
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1124
- readonly emitter: v.ObjectSchema<{
1125
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1126
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1127
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1128
- }, undefined>;
1129
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1130
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
1131
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
1132
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1133
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1134
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1135
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1136
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1137
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1138
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1139
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1140
- }, v.UnknownSchema, undefined>, undefined>;
1141
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
1142
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1143
- }, undefined>, v.CheckAction<{
1144
- kind: "operator-patch";
1145
- operator: {
1146
- name: string;
1147
- };
1148
- diff?: {
1149
- addedLines: number;
1150
- blobSha256: string;
1151
- bytes: number;
1152
- removedLines: number;
1153
- } | undefined;
1154
- diffPath?: string | undefined;
1155
- diffText?: string | undefined;
1156
- rationale: string;
1157
- details?: {
1158
- [x: string]: unknown;
1159
- } | undefined;
1160
- emitter: {
1161
- tool: string;
1162
- user?: string | undefined;
1163
- version: string;
1164
- };
1165
- idempotencyKey?: string | undefined;
1166
- links?: ({
1167
- affectedFiles?: string[] | undefined;
1168
- blobs?: string[] | undefined;
1169
- briefId?: string | undefined;
1170
- correctsLedgerId?: string | undefined;
1171
- gitRef?: string | undefined;
1172
- idempotencyKey?: string | undefined;
1173
- stripDecisionId?: string | undefined;
1174
- supersedesLedgerId?: string | undefined;
1175
- validatorVerdictId?: string | undefined;
1176
- } & {
1177
- [key: string]: unknown;
1178
- }) | undefined;
1179
- phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
1180
- summary: string;
1181
- }, "patch records require exactly one source: diff, diffPath, or diffText (diffPath and diffText cannot be combined).">]>, v.ObjectSchema<{
1182
- readonly kind: v.LiteralSchema<"operator-decision", undefined>;
1183
- readonly payload: v.ObjectSchema<{
1184
- readonly action: v.PicklistSchema<readonly ["bypass-doctor", "skip-check", "override-strip-decision", "override-ship-state", "manual-parity-assertion", "ledger-hand-edit", "escalation"], undefined>;
1185
- readonly checkId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1186
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "payload.rationale must not be empty">]>;
1187
- }, undefined>;
1188
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1189
- readonly emitter: v.ObjectSchema<{
1190
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1191
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1192
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1193
- }, undefined>;
1194
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1195
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
1196
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
1197
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1198
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1199
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1200
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1201
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1202
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1203
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1204
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1205
- }, v.UnknownSchema, undefined>, undefined>;
1206
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
1207
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1208
- }, undefined>, v.ObjectSchema<{
1209
- readonly kind: v.LiteralSchema<"validator-result", undefined>;
1210
- readonly metrics: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1211
- readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1212
- readonly validator: v.PicklistSchema<["parity", "equiv", "characterize", "verify", "doctor"], undefined>;
1213
- readonly verdict: v.PicklistSchema<["green", "yellow", "red"], undefined>;
1214
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1215
- readonly emitter: v.ObjectSchema<{
1216
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1217
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1218
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1219
- }, undefined>;
1220
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1221
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
1222
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
1223
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1224
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1225
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1226
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1227
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1228
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1229
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1230
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1231
- }, v.UnknownSchema, undefined>, undefined>;
1232
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
1233
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1234
- }, undefined>, v.ObjectSchema<{
1235
- readonly kind: v.LiteralSchema<"runtime-event", undefined>;
1236
- readonly level: v.PicklistSchema<["info", "warn", "error"], undefined>;
1237
- readonly message: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1238
- readonly source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1239
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1240
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1241
- readonly emitter: v.ObjectSchema<{
1242
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1243
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1244
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1245
- }, undefined>;
1246
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1247
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
1248
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
1249
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1250
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1251
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1252
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1253
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1254
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1255
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1256
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1257
- }, v.UnknownSchema, undefined>, undefined>;
1258
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
1259
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1260
- }, undefined>, v.ObjectSchema<{
1261
- readonly body: v.StringSchema<undefined>;
1262
- readonly kind: v.LiteralSchema<"note", undefined>;
1263
- readonly subkind: v.PicklistSchema<["regression", "automation", "retro", "operator", "tooling-gap"], undefined>;
1264
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1265
- readonly emitter: v.ObjectSchema<{
1266
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1267
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1268
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1269
- }, undefined>;
1270
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1271
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
1272
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
1273
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1274
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1275
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1276
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1277
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1278
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1279
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1280
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1281
- }, v.UnknownSchema, undefined>, undefined>;
1282
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
1283
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1284
- }, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1285
- readonly kind: v.LiteralSchema<"correction", undefined>;
1286
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1287
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1288
- readonly emitter: v.ObjectSchema<{
1289
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1290
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1291
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1292
- }, undefined>;
1293
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1294
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
1295
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
1296
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1297
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1298
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1299
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1300
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1301
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1302
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1303
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1304
- }, v.UnknownSchema, undefined>, undefined>;
1305
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
1306
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1307
- }, undefined>, v.CheckAction<{
1308
- kind: "correction";
1309
- rationale: string;
1310
- details?: {
1311
- [x: string]: unknown;
1312
- } | undefined;
1313
- emitter: {
1314
- tool: string;
1315
- user?: string | undefined;
1316
- version: string;
1317
- };
1318
- idempotencyKey?: string | undefined;
1319
- links?: ({
1320
- affectedFiles?: string[] | undefined;
1321
- blobs?: string[] | undefined;
1322
- briefId?: string | undefined;
1323
- correctsLedgerId?: string | undefined;
1324
- gitRef?: string | undefined;
1325
- idempotencyKey?: string | undefined;
1326
- stripDecisionId?: string | undefined;
1327
- supersedesLedgerId?: string | undefined;
1328
- validatorVerdictId?: string | undefined;
1329
- } & {
1330
- [key: string]: unknown;
1331
- }) | undefined;
1332
- phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
1333
- summary: string;
1334
- }, "correction records require links.correctsLedgerId">]>, v.ObjectSchema<{
1335
- readonly kind: v.LiteralSchema<"strip-decision-reverted", undefined>;
1336
- readonly payload: v.ObjectSchema<{
1337
- readonly invalidatedStages: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["intake", "seed", "vendor-extract", "cleanup", "parity", "characterize"], undefined>, undefined>, undefined>;
1338
- readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
1339
- readonly stripDecisionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1340
- }, undefined>;
1341
- readonly details: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1342
- readonly emitter: v.ObjectSchema<{
1343
- readonly tool: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1344
- readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1345
- readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1346
- }, undefined>;
1347
- readonly idempotencyKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1348
- readonly links: v.OptionalSchema<v.ObjectWithRestSchema<{
1349
- readonly affectedFiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.CheckAction<string, "Expected a normalized workspace-relative path.">]>, undefined>, undefined>;
1350
- readonly blobs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1351
- readonly briefId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1352
- readonly correctsLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1353
- readonly gitRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1354
- readonly idempotencyKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1355
- readonly stripDecisionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1356
- readonly supersedesLedgerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1357
- readonly validatorVerdictId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1358
- }, v.UnknownSchema, undefined>, undefined>;
1359
- readonly phase: v.PicklistSchema<readonly ["capture", "intake", "seed", "vendor-extract", "cleanup", "parity", "characterize", "equiv", "analyze", "recover", "ship", "migration"], undefined>;
1360
- readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1361
- }, undefined>], undefined>;
1
+ import { type LedgerEntry } from './entry-read.ts';
2
+ import { type LedgerRecord } from './entry-write.ts';
3
+ export * from './entry-core.ts';
4
+ export * from './entry-migrations.ts';
5
+ export * from './entry-read.ts';
6
+ export * from './entry-write.ts';
1362
7
  export declare const parseLedgerEntry: (input: unknown) => LedgerEntry;
1363
8
  export declare const parseLedgerRecord: (input: unknown) => LedgerRecord;
1364
- export type AgentPatchDiff = v.InferOutput<typeof AgentPatchDiffSchema>;
1365
- export type LedgerEntry = v.InferOutput<typeof LedgerEntrySchema>;
1366
- export type LedgerKind = LedgerEntry['kind'];
1367
- export type LedgerPhase = v.InferOutput<typeof LedgerPhaseSchema>;
1368
- export type LedgerRecord = v.InferOutput<typeof LedgerRecordSchema>;
1369
- export type OperatorDecisionAction = v.InferOutput<typeof OperatorDecisionActionSchema>;
1370
- export type OperatorDecisionPayload = v.InferOutput<typeof OperatorDecisionPayloadSchema>;
1371
- export type StripDecisionRevertedPayload = v.InferOutput<typeof StripDecisionRevertedPayloadSchema>;
1372
9
  //# sourceMappingURL=entry.d.ts.map