ushman-ledger 0.3.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -14
- package/README.md +8 -56
- package/dist/archive-journal.d.ts +29 -18
- package/dist/archive-journal.d.ts.map +1 -1
- package/dist/archive-journal.js +17 -17
- package/dist/builders.d.ts +52 -374
- package/dist/builders.d.ts.map +1 -1
- package/dist/builders.js +10 -60
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +8 -14
- package/dist/handle.d.ts +2 -2
- package/dist/handle.d.ts.map +1 -1
- package/dist/handle.js +1 -14
- package/dist/index.d.ts +3 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -4
- package/dist/lab-min.d.ts +7 -7
- package/dist/lab-min.d.ts.map +1 -1
- package/dist/lab-min.js +7 -9
- package/dist/list.d.ts +84 -325
- package/dist/list.d.ts.map +1 -1
- package/dist/read-index.d.ts +45 -57
- package/dist/read-index.d.ts.map +1 -1
- package/dist/read-index.js +16 -34
- package/dist/record.d.ts.map +1 -1
- package/dist/record.js +27 -114
- package/dist/recovery.d.ts +19 -8
- package/dist/recovery.d.ts.map +1 -1
- package/dist/recovery.js +13 -13
- package/dist/render/retro.d.ts.map +1 -1
- package/dist/render/retro.js +1 -4
- package/dist/schema/entry.d.ts +1365 -3291
- package/dist/schema/entry.d.ts.map +1 -1
- package/dist/schema/entry.js +184 -516
- package/dist/schema/manifest.d.ts +28 -41
- package/dist/schema/manifest.d.ts.map +1 -1
- package/dist/schema/manifest.js +20 -24
- package/dist/schema/note.d.ts +3 -9
- package/dist/schema/note.d.ts.map +1 -1
- package/dist/schema/note.js +2 -2
- package/dist/storage/filesystem.d.ts +0 -1
- package/dist/storage/filesystem.d.ts.map +1 -1
- package/dist/storage/filesystem.js +4 -4
- package/package.json +3 -4
package/dist/list.d.ts
CHANGED
|
@@ -14,45 +14,18 @@ export declare const readManifestEntryBatch: ({ allowMissing, entryLocations, wo
|
|
|
14
14
|
readonly workspaceRoot: string;
|
|
15
15
|
}) => Promise<({
|
|
16
16
|
entry: {
|
|
17
|
-
emitter: {
|
|
18
|
-
tool: string;
|
|
19
|
-
version: string;
|
|
20
|
-
user?: string | undefined;
|
|
21
|
-
};
|
|
22
|
-
id: string;
|
|
23
|
-
links: {
|
|
24
|
-
[x: string]: unknown;
|
|
25
|
-
affectedFiles?: string[] | undefined;
|
|
26
|
-
blobs?: string[] | undefined;
|
|
27
|
-
briefId?: string | undefined;
|
|
28
|
-
correctsLedgerId?: string | undefined;
|
|
29
|
-
gitRef?: string | undefined;
|
|
30
|
-
idempotencyKey?: string | undefined;
|
|
31
|
-
stripDecisionId?: string | undefined;
|
|
32
|
-
supersedesLedgerId?: string | undefined;
|
|
33
|
-
validatorVerdictId?: string | undefined;
|
|
34
|
-
};
|
|
35
|
-
phase: "seed" | "capture" | "intake" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
36
|
-
prevEntryId: string | null;
|
|
37
|
-
schemaVersion: "ushman-ledger-entry/v1";
|
|
38
|
-
summary: string;
|
|
39
|
-
ts: string;
|
|
40
17
|
kind: "correction";
|
|
41
|
-
payload: {
|
|
42
|
-
correctsValidatorResultId?: string | undefined;
|
|
43
|
-
};
|
|
44
18
|
rationale: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
19
|
+
details?: {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
} | undefined;
|
|
48
22
|
emitter: {
|
|
49
23
|
tool: string;
|
|
50
|
-
version: string;
|
|
51
24
|
user?: string | undefined;
|
|
25
|
+
version: string;
|
|
52
26
|
};
|
|
53
27
|
id: string;
|
|
54
28
|
links: {
|
|
55
|
-
[x: string]: unknown;
|
|
56
29
|
affectedFiles?: string[] | undefined;
|
|
57
30
|
blobs?: string[] | undefined;
|
|
58
31
|
briefId?: string | undefined;
|
|
@@ -62,27 +35,29 @@ export declare const readManifestEntryBatch: ({ allowMissing, entryLocations, wo
|
|
|
62
35
|
stripDecisionId?: string | undefined;
|
|
63
36
|
supersedesLedgerId?: string | undefined;
|
|
64
37
|
validatorVerdictId?: string | undefined;
|
|
38
|
+
} & {
|
|
39
|
+
[key: string]: unknown;
|
|
65
40
|
};
|
|
66
|
-
phase: "
|
|
41
|
+
phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
67
42
|
prevEntryId: string | null;
|
|
68
43
|
schemaVersion: "ushman-ledger-entry/v1";
|
|
69
44
|
summary: string;
|
|
70
45
|
ts: string;
|
|
71
|
-
|
|
72
|
-
_legacy?: true | undefined;
|
|
73
|
-
details?: Record<string, unknown> | undefined;
|
|
46
|
+
} | {
|
|
74
47
|
args?: string[] | undefined;
|
|
75
48
|
cwd?: string | undefined;
|
|
76
49
|
exitCode?: number | undefined;
|
|
77
|
-
|
|
50
|
+
kind: "tool-invocation";
|
|
51
|
+
details?: {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
} | undefined;
|
|
78
54
|
emitter: {
|
|
79
55
|
tool: string;
|
|
80
|
-
version: string;
|
|
81
56
|
user?: string | undefined;
|
|
57
|
+
version: string;
|
|
82
58
|
};
|
|
83
59
|
id: string;
|
|
84
60
|
links: {
|
|
85
|
-
[x: string]: unknown;
|
|
86
61
|
affectedFiles?: string[] | undefined;
|
|
87
62
|
blobs?: string[] | undefined;
|
|
88
63
|
briefId?: string | undefined;
|
|
@@ -92,47 +67,37 @@ export declare const readManifestEntryBatch: ({ allowMissing, entryLocations, wo
|
|
|
92
67
|
stripDecisionId?: string | undefined;
|
|
93
68
|
supersedesLedgerId?: string | undefined;
|
|
94
69
|
validatorVerdictId?: string | undefined;
|
|
70
|
+
} & {
|
|
71
|
+
[key: string]: unknown;
|
|
95
72
|
};
|
|
96
|
-
phase: "
|
|
73
|
+
phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
97
74
|
prevEntryId: string | null;
|
|
98
75
|
schemaVersion: "ushman-ledger-entry/v1";
|
|
99
76
|
summary: string;
|
|
100
77
|
ts: string;
|
|
78
|
+
} | {
|
|
79
|
+
agent: {
|
|
80
|
+
name: string;
|
|
81
|
+
sessionId?: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
kind: "agent-patch";
|
|
101
84
|
diff: {
|
|
102
85
|
addedLines: number;
|
|
103
86
|
blobSha256: string;
|
|
104
87
|
bytes: number;
|
|
105
88
|
removedLines: number;
|
|
106
89
|
};
|
|
107
|
-
payload: {
|
|
108
|
-
diffSha256: string;
|
|
109
|
-
fileSha256After: Record<string, string>;
|
|
110
|
-
fileSha256Before: Record<string, string>;
|
|
111
|
-
hunks: {
|
|
112
|
-
endLine: number;
|
|
113
|
-
path: string;
|
|
114
|
-
startLine: number;
|
|
115
|
-
}[];
|
|
116
|
-
touchedPaths: string[];
|
|
117
|
-
diff?: string | undefined;
|
|
118
|
-
};
|
|
119
90
|
rationale: string;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
};
|
|
124
|
-
kind: "agent-patch";
|
|
125
|
-
_legacy?: true | undefined;
|
|
126
|
-
details?: Record<string, unknown> | undefined;
|
|
127
|
-
} | {
|
|
91
|
+
details?: {
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
} | undefined;
|
|
128
94
|
emitter: {
|
|
129
95
|
tool: string;
|
|
130
|
-
version: string;
|
|
131
96
|
user?: string | undefined;
|
|
97
|
+
version: string;
|
|
132
98
|
};
|
|
133
99
|
id: string;
|
|
134
100
|
links: {
|
|
135
|
-
[x: string]: unknown;
|
|
136
101
|
affectedFiles?: string[] | undefined;
|
|
137
102
|
blobs?: string[] | undefined;
|
|
138
103
|
briefId?: string | undefined;
|
|
@@ -142,80 +107,36 @@ export declare const readManifestEntryBatch: ({ allowMissing, entryLocations, wo
|
|
|
142
107
|
stripDecisionId?: string | undefined;
|
|
143
108
|
supersedesLedgerId?: string | undefined;
|
|
144
109
|
validatorVerdictId?: string | undefined;
|
|
110
|
+
} & {
|
|
111
|
+
[key: string]: unknown;
|
|
145
112
|
};
|
|
146
|
-
phase: "
|
|
113
|
+
phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
147
114
|
prevEntryId: string | null;
|
|
148
115
|
schemaVersion: "ushman-ledger-entry/v1";
|
|
149
116
|
summary: string;
|
|
150
117
|
ts: string;
|
|
118
|
+
} | {
|
|
119
|
+
kind: "operator-patch";
|
|
120
|
+
operator: {
|
|
121
|
+
name: string;
|
|
122
|
+
};
|
|
151
123
|
diff: {
|
|
152
124
|
addedLines: number;
|
|
153
125
|
blobSha256: string;
|
|
154
126
|
bytes: number;
|
|
155
127
|
removedLines: number;
|
|
156
128
|
};
|
|
157
|
-
payload: {
|
|
158
|
-
diffSha256: string;
|
|
159
|
-
fileSha256After: Record<string, string>;
|
|
160
|
-
fileSha256Before: Record<string, string>;
|
|
161
|
-
hunks: {
|
|
162
|
-
endLine: number;
|
|
163
|
-
path: string;
|
|
164
|
-
startLine: number;
|
|
165
|
-
}[];
|
|
166
|
-
touchedPaths: string[];
|
|
167
|
-
diff?: string | undefined;
|
|
168
|
-
};
|
|
169
129
|
rationale: string;
|
|
170
|
-
|
|
171
|
-
operator: {
|
|
172
|
-
name: string;
|
|
173
|
-
};
|
|
174
|
-
_legacy?: true | undefined;
|
|
175
|
-
details?: Record<string, unknown> | undefined;
|
|
176
|
-
} | {
|
|
177
|
-
emitter: {
|
|
178
|
-
tool: string;
|
|
179
|
-
version: string;
|
|
180
|
-
user?: string | undefined;
|
|
181
|
-
};
|
|
182
|
-
id: string;
|
|
183
|
-
links: {
|
|
130
|
+
details?: {
|
|
184
131
|
[x: string]: unknown;
|
|
185
|
-
|
|
186
|
-
blobs?: string[] | undefined;
|
|
187
|
-
briefId?: string | undefined;
|
|
188
|
-
correctsLedgerId?: string | undefined;
|
|
189
|
-
gitRef?: string | undefined;
|
|
190
|
-
idempotencyKey?: string | undefined;
|
|
191
|
-
stripDecisionId?: string | undefined;
|
|
192
|
-
supersedesLedgerId?: string | undefined;
|
|
193
|
-
validatorVerdictId?: string | undefined;
|
|
194
|
-
};
|
|
195
|
-
phase: "seed" | "capture" | "intake" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
196
|
-
prevEntryId: string | null;
|
|
197
|
-
schemaVersion: "ushman-ledger-entry/v1";
|
|
198
|
-
summary: string;
|
|
199
|
-
ts: string;
|
|
200
|
-
kind: "stage-transition";
|
|
201
|
-
payload: {
|
|
202
|
-
endedAt: string;
|
|
203
|
-
exitCode: number;
|
|
204
|
-
stage: "seed" | "intake" | "vendor-extract" | "cleanup" | "parity" | "characterize";
|
|
205
|
-
startedAt: string;
|
|
206
|
-
doctorBaselineId?: string | undefined;
|
|
207
|
-
};
|
|
208
|
-
_legacy?: true | undefined;
|
|
209
|
-
details?: Record<string, unknown> | undefined;
|
|
210
|
-
} | {
|
|
132
|
+
} | undefined;
|
|
211
133
|
emitter: {
|
|
212
134
|
tool: string;
|
|
213
|
-
version: string;
|
|
214
135
|
user?: string | undefined;
|
|
136
|
+
version: string;
|
|
215
137
|
};
|
|
216
138
|
id: string;
|
|
217
139
|
links: {
|
|
218
|
-
[x: string]: unknown;
|
|
219
140
|
affectedFiles?: string[] | undefined;
|
|
220
141
|
blobs?: string[] | undefined;
|
|
221
142
|
briefId?: string | undefined;
|
|
@@ -225,31 +146,31 @@ export declare const readManifestEntryBatch: ({ allowMissing, entryLocations, wo
|
|
|
225
146
|
stripDecisionId?: string | undefined;
|
|
226
147
|
supersedesLedgerId?: string | undefined;
|
|
227
148
|
validatorVerdictId?: string | undefined;
|
|
149
|
+
} & {
|
|
150
|
+
[key: string]: unknown;
|
|
228
151
|
};
|
|
229
|
-
phase: "
|
|
152
|
+
phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
230
153
|
prevEntryId: string | null;
|
|
231
154
|
schemaVersion: "ushman-ledger-entry/v1";
|
|
232
155
|
summary: string;
|
|
233
156
|
ts: string;
|
|
157
|
+
} | {
|
|
234
158
|
kind: "operator-decision";
|
|
235
159
|
payload: {
|
|
236
160
|
action: "bypass-doctor" | "skip-check" | "override-strip-decision" | "override-ship-state" | "manual-parity-assertion" | "ledger-hand-edit" | "escalation";
|
|
237
|
-
rationale: string;
|
|
238
161
|
checkId?: string | undefined;
|
|
162
|
+
rationale: string;
|
|
239
163
|
};
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
decisionType?: "strip-decision" | "strip-decision-revised" | "vendor-boundary" | "intent-exclusion" | "other" | undefined;
|
|
244
|
-
} | {
|
|
164
|
+
details?: {
|
|
165
|
+
[x: string]: unknown;
|
|
166
|
+
} | undefined;
|
|
245
167
|
emitter: {
|
|
246
168
|
tool: string;
|
|
247
|
-
version: string;
|
|
248
169
|
user?: string | undefined;
|
|
170
|
+
version: string;
|
|
249
171
|
};
|
|
250
172
|
id: string;
|
|
251
173
|
links: {
|
|
252
|
-
[x: string]: unknown;
|
|
253
174
|
affectedFiles?: string[] | undefined;
|
|
254
175
|
blobs?: string[] | undefined;
|
|
255
176
|
briefId?: string | undefined;
|
|
@@ -259,31 +180,32 @@ export declare const readManifestEntryBatch: ({ allowMissing, entryLocations, wo
|
|
|
259
180
|
stripDecisionId?: string | undefined;
|
|
260
181
|
supersedesLedgerId?: string | undefined;
|
|
261
182
|
validatorVerdictId?: string | undefined;
|
|
183
|
+
} & {
|
|
184
|
+
[key: string]: unknown;
|
|
262
185
|
};
|
|
263
|
-
phase: "
|
|
186
|
+
phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
264
187
|
prevEntryId: string | null;
|
|
265
188
|
schemaVersion: "ushman-ledger-entry/v1";
|
|
266
189
|
summary: string;
|
|
267
190
|
ts: string;
|
|
191
|
+
} | {
|
|
268
192
|
kind: "validator-result";
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
};
|
|
193
|
+
metrics?: {
|
|
194
|
+
[x: string]: unknown;
|
|
195
|
+
} | undefined;
|
|
196
|
+
resultPath?: string | undefined;
|
|
272
197
|
validator: "parity" | "characterize" | "equiv" | "verify" | "doctor";
|
|
273
198
|
verdict: "green" | "yellow" | "red";
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
resultPath?: string | undefined;
|
|
278
|
-
} | {
|
|
199
|
+
details?: {
|
|
200
|
+
[x: string]: unknown;
|
|
201
|
+
} | undefined;
|
|
279
202
|
emitter: {
|
|
280
203
|
tool: string;
|
|
281
|
-
version: string;
|
|
282
204
|
user?: string | undefined;
|
|
205
|
+
version: string;
|
|
283
206
|
};
|
|
284
207
|
id: string;
|
|
285
208
|
links: {
|
|
286
|
-
[x: string]: unknown;
|
|
287
209
|
affectedFiles?: string[] | undefined;
|
|
288
210
|
blobs?: string[] | undefined;
|
|
289
211
|
briefId?: string | undefined;
|
|
@@ -293,28 +215,30 @@ export declare const readManifestEntryBatch: ({ allowMissing, entryLocations, wo
|
|
|
293
215
|
stripDecisionId?: string | undefined;
|
|
294
216
|
supersedesLedgerId?: string | undefined;
|
|
295
217
|
validatorVerdictId?: string | undefined;
|
|
218
|
+
} & {
|
|
219
|
+
[key: string]: unknown;
|
|
296
220
|
};
|
|
297
|
-
phase: "
|
|
221
|
+
phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
298
222
|
prevEntryId: string | null;
|
|
299
223
|
schemaVersion: "ushman-ledger-entry/v1";
|
|
300
224
|
summary: string;
|
|
301
225
|
ts: string;
|
|
226
|
+
} | {
|
|
302
227
|
kind: "runtime-event";
|
|
303
228
|
level: "error" | "info" | "warn";
|
|
304
229
|
message: string;
|
|
305
230
|
source: string;
|
|
306
|
-
_legacy?: true | undefined;
|
|
307
|
-
details?: Record<string, unknown> | undefined;
|
|
308
231
|
stripDecisionId?: string | undefined;
|
|
309
|
-
|
|
232
|
+
details?: {
|
|
233
|
+
[x: string]: unknown;
|
|
234
|
+
} | undefined;
|
|
310
235
|
emitter: {
|
|
311
236
|
tool: string;
|
|
312
|
-
version: string;
|
|
313
237
|
user?: string | undefined;
|
|
238
|
+
version: string;
|
|
314
239
|
};
|
|
315
240
|
id: string;
|
|
316
241
|
links: {
|
|
317
|
-
[x: string]: unknown;
|
|
318
242
|
affectedFiles?: string[] | undefined;
|
|
319
243
|
blobs?: string[] | undefined;
|
|
320
244
|
briefId?: string | undefined;
|
|
@@ -324,91 +248,28 @@ export declare const readManifestEntryBatch: ({ allowMissing, entryLocations, wo
|
|
|
324
248
|
stripDecisionId?: string | undefined;
|
|
325
249
|
supersedesLedgerId?: string | undefined;
|
|
326
250
|
validatorVerdictId?: string | undefined;
|
|
251
|
+
} & {
|
|
252
|
+
[key: string]: unknown;
|
|
327
253
|
};
|
|
328
|
-
phase: "
|
|
254
|
+
phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
329
255
|
prevEntryId: string | null;
|
|
330
256
|
schemaVersion: "ushman-ledger-entry/v1";
|
|
331
257
|
summary: string;
|
|
332
258
|
ts: string;
|
|
259
|
+
} | {
|
|
333
260
|
body: string;
|
|
334
261
|
kind: "note";
|
|
335
262
|
subkind: "regression" | "automation" | "retro" | "operator" | "tooling-gap";
|
|
336
|
-
|
|
337
|
-
details?: Record<string, unknown> | undefined;
|
|
338
|
-
} | {
|
|
339
|
-
emitter: {
|
|
340
|
-
tool: string;
|
|
341
|
-
version: string;
|
|
342
|
-
user?: string | undefined;
|
|
343
|
-
};
|
|
344
|
-
id: string;
|
|
345
|
-
links: {
|
|
263
|
+
details?: {
|
|
346
264
|
[x: string]: unknown;
|
|
347
|
-
|
|
348
|
-
blobs?: string[] | undefined;
|
|
349
|
-
briefId?: string | undefined;
|
|
350
|
-
correctsLedgerId?: string | undefined;
|
|
351
|
-
gitRef?: string | undefined;
|
|
352
|
-
idempotencyKey?: string | undefined;
|
|
353
|
-
stripDecisionId?: string | undefined;
|
|
354
|
-
supersedesLedgerId?: string | undefined;
|
|
355
|
-
validatorVerdictId?: string | undefined;
|
|
356
|
-
};
|
|
357
|
-
phase: "seed" | "capture" | "intake" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
358
|
-
prevEntryId: string | null;
|
|
359
|
-
schemaVersion: "ushman-ledger-entry/v1";
|
|
360
|
-
summary: string;
|
|
361
|
-
ts: string;
|
|
362
|
-
kind: "strip-decision-reverted";
|
|
363
|
-
payload: {
|
|
364
|
-
rationale: string;
|
|
365
|
-
stripDecisionId: string;
|
|
366
|
-
invalidatedStages?: ("seed" | "intake" | "vendor-extract" | "cleanup" | "parity" | "characterize")[] | undefined;
|
|
367
|
-
};
|
|
368
|
-
_legacy?: true | undefined;
|
|
369
|
-
details?: Record<string, unknown> | undefined;
|
|
370
|
-
} | {
|
|
265
|
+
} | undefined;
|
|
371
266
|
emitter: {
|
|
372
267
|
tool: string;
|
|
373
|
-
version: string;
|
|
374
268
|
user?: string | undefined;
|
|
375
|
-
};
|
|
376
|
-
id: string;
|
|
377
|
-
links: {
|
|
378
|
-
[x: string]: unknown;
|
|
379
|
-
affectedFiles?: string[] | undefined;
|
|
380
|
-
blobs?: string[] | undefined;
|
|
381
|
-
briefId?: string | undefined;
|
|
382
|
-
correctsLedgerId?: string | undefined;
|
|
383
|
-
gitRef?: string | undefined;
|
|
384
|
-
idempotencyKey?: string | undefined;
|
|
385
|
-
stripDecisionId?: string | undefined;
|
|
386
|
-
supersedesLedgerId?: string | undefined;
|
|
387
|
-
validatorVerdictId?: string | undefined;
|
|
388
|
-
};
|
|
389
|
-
phase: "seed" | "capture" | "intake" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
390
|
-
prevEntryId: string | null;
|
|
391
|
-
schemaVersion: "ushman-ledger-entry/v1";
|
|
392
|
-
summary: string;
|
|
393
|
-
ts: string;
|
|
394
|
-
kind: "descope-brief";
|
|
395
|
-
payload: {
|
|
396
|
-
briefId: string;
|
|
397
|
-
reason?: string | undefined;
|
|
398
|
-
round?: number | undefined;
|
|
399
|
-
stripDecisionIds?: string[] | undefined;
|
|
400
|
-
};
|
|
401
|
-
_legacy?: true | undefined;
|
|
402
|
-
details?: Record<string, unknown> | undefined;
|
|
403
|
-
} | {
|
|
404
|
-
emitter: {
|
|
405
|
-
tool: string;
|
|
406
269
|
version: string;
|
|
407
|
-
user?: string | undefined;
|
|
408
270
|
};
|
|
409
271
|
id: string;
|
|
410
272
|
links: {
|
|
411
|
-
[x: string]: unknown;
|
|
412
273
|
affectedFiles?: string[] | undefined;
|
|
413
274
|
blobs?: string[] | undefined;
|
|
414
275
|
briefId?: string | undefined;
|
|
@@ -418,125 +279,31 @@ export declare const readManifestEntryBatch: ({ allowMissing, entryLocations, wo
|
|
|
418
279
|
stripDecisionId?: string | undefined;
|
|
419
280
|
supersedesLedgerId?: string | undefined;
|
|
420
281
|
validatorVerdictId?: string | undefined;
|
|
282
|
+
} & {
|
|
283
|
+
[key: string]: unknown;
|
|
421
284
|
};
|
|
422
|
-
phase: "
|
|
285
|
+
phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
423
286
|
prevEntryId: string | null;
|
|
424
287
|
schemaVersion: "ushman-ledger-entry/v1";
|
|
425
288
|
summary: string;
|
|
426
289
|
ts: string;
|
|
427
|
-
kind: "merge-return";
|
|
428
|
-
payload: {
|
|
429
|
-
returnId: string;
|
|
430
|
-
briefId?: string | undefined;
|
|
431
|
-
source?: string | undefined;
|
|
432
|
-
};
|
|
433
|
-
_legacy?: true | undefined;
|
|
434
|
-
details?: Record<string, unknown> | undefined;
|
|
435
290
|
} | {
|
|
436
|
-
|
|
437
|
-
tool: string;
|
|
438
|
-
version: string;
|
|
439
|
-
user?: string | undefined;
|
|
440
|
-
};
|
|
441
|
-
id: string;
|
|
442
|
-
links: {
|
|
443
|
-
[x: string]: unknown;
|
|
444
|
-
affectedFiles?: string[] | undefined;
|
|
445
|
-
blobs?: string[] | undefined;
|
|
446
|
-
briefId?: string | undefined;
|
|
447
|
-
correctsLedgerId?: string | undefined;
|
|
448
|
-
gitRef?: string | undefined;
|
|
449
|
-
idempotencyKey?: string | undefined;
|
|
450
|
-
stripDecisionId?: string | undefined;
|
|
451
|
-
supersedesLedgerId?: string | undefined;
|
|
452
|
-
validatorVerdictId?: string | undefined;
|
|
453
|
-
};
|
|
454
|
-
phase: "seed" | "capture" | "intake" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
455
|
-
prevEntryId: string | null;
|
|
456
|
-
schemaVersion: "ushman-ledger-entry/v1";
|
|
457
|
-
summary: string;
|
|
458
|
-
ts: string;
|
|
459
|
-
kind: "merge-return-rejected";
|
|
291
|
+
kind: "strip-decision-reverted";
|
|
460
292
|
payload: {
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
source?: string | undefined;
|
|
465
|
-
};
|
|
466
|
-
_legacy?: true | undefined;
|
|
467
|
-
details?: Record<string, unknown> | undefined;
|
|
468
|
-
} | {
|
|
469
|
-
emitter: {
|
|
470
|
-
tool: string;
|
|
471
|
-
version: string;
|
|
472
|
-
user?: string | undefined;
|
|
293
|
+
invalidatedStages?: ("intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize")[] | undefined;
|
|
294
|
+
rationale: string;
|
|
295
|
+
stripDecisionId: string;
|
|
473
296
|
};
|
|
474
|
-
|
|
475
|
-
links: {
|
|
297
|
+
details?: {
|
|
476
298
|
[x: string]: unknown;
|
|
477
|
-
|
|
478
|
-
blobs?: string[] | undefined;
|
|
479
|
-
briefId?: string | undefined;
|
|
480
|
-
correctsLedgerId?: string | undefined;
|
|
481
|
-
gitRef?: string | undefined;
|
|
482
|
-
idempotencyKey?: string | undefined;
|
|
483
|
-
stripDecisionId?: string | undefined;
|
|
484
|
-
supersedesLedgerId?: string | undefined;
|
|
485
|
-
validatorVerdictId?: string | undefined;
|
|
486
|
-
};
|
|
487
|
-
phase: "seed" | "capture" | "intake" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
488
|
-
prevEntryId: string | null;
|
|
489
|
-
schemaVersion: "ushman-ledger-entry/v1";
|
|
490
|
-
summary: string;
|
|
491
|
-
ts: string;
|
|
492
|
-
kind: "revert";
|
|
493
|
-
payload: {
|
|
494
|
-
reason: string;
|
|
495
|
-
targetEntryId?: string | undefined;
|
|
496
|
-
};
|
|
497
|
-
_legacy?: true | undefined;
|
|
498
|
-
details?: Record<string, unknown> | undefined;
|
|
499
|
-
} | {
|
|
299
|
+
} | undefined;
|
|
500
300
|
emitter: {
|
|
501
301
|
tool: string;
|
|
502
|
-
version: string;
|
|
503
302
|
user?: string | undefined;
|
|
504
|
-
};
|
|
505
|
-
id: string;
|
|
506
|
-
links: {
|
|
507
|
-
[x: string]: unknown;
|
|
508
|
-
affectedFiles?: string[] | undefined;
|
|
509
|
-
blobs?: string[] | undefined;
|
|
510
|
-
briefId?: string | undefined;
|
|
511
|
-
correctsLedgerId?: string | undefined;
|
|
512
|
-
gitRef?: string | undefined;
|
|
513
|
-
idempotencyKey?: string | undefined;
|
|
514
|
-
stripDecisionId?: string | undefined;
|
|
515
|
-
supersedesLedgerId?: string | undefined;
|
|
516
|
-
validatorVerdictId?: string | undefined;
|
|
517
|
-
};
|
|
518
|
-
phase: "seed" | "capture" | "intake" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
519
|
-
prevEntryId: string | null;
|
|
520
|
-
schemaVersion: "ushman-ledger-entry/v1";
|
|
521
|
-
summary: string;
|
|
522
|
-
ts: string;
|
|
523
|
-
kind: "rollback";
|
|
524
|
-
payload: {
|
|
525
|
-
reason: string;
|
|
526
|
-
targetEntryId?: string | undefined;
|
|
527
|
-
targetStage?: "seed" | "intake" | "vendor-extract" | "cleanup" | "parity" | "characterize" | undefined;
|
|
528
|
-
};
|
|
529
|
-
_legacy?: true | undefined;
|
|
530
|
-
details?: Record<string, unknown> | undefined;
|
|
531
|
-
} | {
|
|
532
|
-
emitter: {
|
|
533
|
-
tool: string;
|
|
534
303
|
version: string;
|
|
535
|
-
user?: string | undefined;
|
|
536
304
|
};
|
|
537
305
|
id: string;
|
|
538
306
|
links: {
|
|
539
|
-
[x: string]: unknown;
|
|
540
307
|
affectedFiles?: string[] | undefined;
|
|
541
308
|
blobs?: string[] | undefined;
|
|
542
309
|
briefId?: string | undefined;
|
|
@@ -546,22 +313,14 @@ export declare const readManifestEntryBatch: ({ allowMissing, entryLocations, wo
|
|
|
546
313
|
stripDecisionId?: string | undefined;
|
|
547
314
|
supersedesLedgerId?: string | undefined;
|
|
548
315
|
validatorVerdictId?: string | undefined;
|
|
316
|
+
} & {
|
|
317
|
+
[key: string]: unknown;
|
|
549
318
|
};
|
|
550
|
-
phase: "
|
|
319
|
+
phase: "capture" | "intake" | "seed" | "vendor-extract" | "cleanup" | "parity" | "characterize" | "equiv" | "analyze" | "recover" | "ship" | "migration";
|
|
551
320
|
prevEntryId: string | null;
|
|
552
321
|
schemaVersion: "ushman-ledger-entry/v1";
|
|
553
322
|
summary: string;
|
|
554
323
|
ts: string;
|
|
555
|
-
kind: "rework.test_retired";
|
|
556
|
-
payload: {
|
|
557
|
-
removedBy: "operator" | "descope" | "decompose";
|
|
558
|
-
removedTestPath: string;
|
|
559
|
-
removedTestSymbols: string[];
|
|
560
|
-
sourceSymbolDeletedFrom: string;
|
|
561
|
-
briefId?: string | undefined;
|
|
562
|
-
};
|
|
563
|
-
_legacy?: true | undefined;
|
|
564
|
-
details?: Record<string, unknown> | undefined;
|
|
565
324
|
};
|
|
566
325
|
entryId: string;
|
|
567
326
|
location: {
|
package/dist/list.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../src/list.ts"],"names":[],"mappings":"AACA,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAG7B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAoB,MAAM,mBAAmB,CAAC;AAC1G,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG3D,MAAM,MAAM,YAAY,GAAG;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC;IAC3B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAmDF,eAAO,MAAM,wBAAwB,GACjC,UAAU,cAAc,EACxB,WAAW,eAAe,EAC1B,QAAQ,YAAY,EACpB,YAAW,KAAK,GAAG,MAAc,4BAgBpC,CAAC;AAgCF,eAAO,MAAM,sBAAsB,GAAU,kDAI1C;IACC,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,cAAc,EAAE,SAAS,qBAAqB,EAAE,CAAC;IAC1D,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAClC
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../src/list.ts"],"names":[],"mappings":"AACA,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAG7B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAoB,MAAM,mBAAmB,CAAC;AAC1G,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG3D,MAAM,MAAM,YAAY,GAAG;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC;IAC3B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAmDF,eAAO,MAAM,wBAAwB,GACjC,UAAU,cAAc,EACxB,WAAW,eAAe,EAC1B,QAAQ,YAAY,EACpB,YAAW,KAAK,GAAG,MAAc,4BAgBpC,CAAC;AAgCF,eAAO,MAAM,sBAAsB,GAAU,kDAI1C;IACC,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,cAAc,EAAE,SAAS,qBAAqB,EAAE,CAAC;IAC1D,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAClC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAQI,CAAC;AA6CN,eAAO,MAAM,0BAA0B,GACnC,eAAe,MAAM,EACrB,UAAU,cAAc,EACxB,WAAW,eAAe,EAC1B,SAAQ,YAAiB,KAC1B,aAAa,CAAC,WAAW,CAwB3B,CAAC;AAEF,eAAO,MAAM,WAAW,GACpB,eAAe,MAAM,EACrB,SAAQ,YAAiB,KAC1B,aAAa,CAAC,WAAW,CAG3B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,eAAe,MAAM,EAAE,SAAQ,YAAiB,KAAG,OAAO,CAAC,WAAW,EAAE,CAM5G,CAAC"}
|