wicked-crew 0.2.0 → 0.3.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/dist/api/evidence.d.ts +97 -0
- package/dist/api/evidence.d.ts.map +1 -0
- package/dist/api/evidence.js +144 -0
- package/dist/api/evidence.js.map +1 -0
- package/dist/api/routes.d.ts.map +1 -1
- package/dist/api/routes.js +379 -12
- package/dist/api/routes.js.map +1 -1
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +7 -2
- package/dist/api/server.js.map +1 -1
- package/dist/cli/index.js +54 -6
- package/dist/cli/index.js.map +1 -1
- package/dist/core/adapter.d.ts +76 -2
- package/dist/core/adapter.d.ts.map +1 -1
- package/dist/core/adapter.js +500 -3
- package/dist/core/adapter.js.map +1 -1
- package/dist/core/bridge-path.d.ts +34 -0
- package/dist/core/bridge-path.d.ts.map +1 -0
- package/dist/core/bridge-path.js +67 -0
- package/dist/core/bridge-path.js.map +1 -0
- package/dist/core/types.d.ts +173 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +3 -1
- package/dist/core/types.js.map +1 -1
- package/dist/studio/assets/index-CckxWxam.js +420 -0
- package/dist/studio/assets/index-CjQFuKL4.css +32 -0
- package/dist/studio/index.html +5 -2
- package/package.json +11 -6
- package/skills/wicked-crew/SKILL.md +140 -0
- package/dist/studio/assets/index-BJ07BOyt.js +0 -50
- package/dist/studio/assets/index-BptfbKLC.css +0 -32
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { AgentSession, RoutingInfo, SessionView, WorkUnit } from '../core/types.js';
|
|
2
|
+
/**
|
|
3
|
+
* The run evidence bundle — everything an operator needs to audit a finished run,
|
|
4
|
+
* in one downloadable JSON document (`GET /runs/:id/evidence`).
|
|
5
|
+
*
|
|
6
|
+
* The daemon persists no event log of its own (CoreEvent frames are fanned out
|
|
7
|
+
* over `/ws` and dropped), so the decision trail is RE-DERIVED from the run DTO,
|
|
8
|
+
* which is where core durably records it: `routing` carries the council/routing
|
|
9
|
+
* provenance and `status`/`denial_reason`/`phase_status` carry the gate outcome.
|
|
10
|
+
* Nothing here is invented — every field traces to a field on the run.
|
|
11
|
+
*/
|
|
12
|
+
export interface EvidenceBundle {
|
|
13
|
+
/** When the bundle was assembled (ISO-8601). */
|
|
14
|
+
exportedAt: string;
|
|
15
|
+
/** The run itself, verbatim from the run DTO. */
|
|
16
|
+
session: AgentSession;
|
|
17
|
+
/** The run's units in `ord` order, each with its captured transcript. */
|
|
18
|
+
units: EvidenceUnit[];
|
|
19
|
+
/** The derived decision trail, in unit order (routing before that unit's gate). */
|
|
20
|
+
events: EvidenceEvent[];
|
|
21
|
+
/**
|
|
22
|
+
* Structured assumptions re-parsed from the transcripts (the external-transform
|
|
23
|
+
* convention): third-party payload transformations agents relied on. Entries with
|
|
24
|
+
* `known: false` are needs-research placeholders awaiting human review.
|
|
25
|
+
*/
|
|
26
|
+
assumptions: EvidenceAssumption[];
|
|
27
|
+
}
|
|
28
|
+
/** One external-transform assumption parsed from a unit transcript. */
|
|
29
|
+
export interface EvidenceAssumption {
|
|
30
|
+
ord: number;
|
|
31
|
+
kind: 'external-transform';
|
|
32
|
+
library: string;
|
|
33
|
+
transform: string;
|
|
34
|
+
known: boolean;
|
|
35
|
+
detail: string;
|
|
36
|
+
}
|
|
37
|
+
/** A unit as it appears in the bundle: the run DTO's unit plus its captured transcript. */
|
|
38
|
+
export interface EvidenceUnit extends WorkUnit {
|
|
39
|
+
/** The unit's captured transcript, or `null` when core captured none. */
|
|
40
|
+
transcript: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* Why the transcript is `null` when the read itself failed — present ONLY on
|
|
43
|
+
* failure, so a missing transcript is never silently indistinguishable from a
|
|
44
|
+
* unit that legitimately produced no output.
|
|
45
|
+
*/
|
|
46
|
+
transcriptError?: string;
|
|
47
|
+
}
|
|
48
|
+
/** A gate decision, re-derived from the unit's persisted outcome. */
|
|
49
|
+
export interface GateDecisionEvent {
|
|
50
|
+
type: 'gateDecided';
|
|
51
|
+
unitId: string;
|
|
52
|
+
ord: number;
|
|
53
|
+
/** `true` when the unit passed its gate (`done`), `false` when it was `rejected`. */
|
|
54
|
+
allow: boolean;
|
|
55
|
+
denialReason: string | null;
|
|
56
|
+
phaseStatus: string | null;
|
|
57
|
+
conformanceRef: string | null;
|
|
58
|
+
}
|
|
59
|
+
/** Council / routing provenance, re-derived from the unit's `routing`. */
|
|
60
|
+
export interface RoutingDecidedEvent {
|
|
61
|
+
type: 'routingDecided';
|
|
62
|
+
unitId: string;
|
|
63
|
+
ord: number;
|
|
64
|
+
assignedCli: string | null;
|
|
65
|
+
routing: RoutingInfo;
|
|
66
|
+
}
|
|
67
|
+
export type EvidenceEvent = GateDecisionEvent | RoutingDecidedEvent;
|
|
68
|
+
/** Loads one unit's captured transcript (the adapter's `workOutput`). */
|
|
69
|
+
export type TranscriptLoader = (coreUnitId: string) => Promise<string | null>;
|
|
70
|
+
/**
|
|
71
|
+
* Re-derive the decision trail from the units. A unit contributes its routing
|
|
72
|
+
* provenance (when the council/router recorded one) and its gate decision (once
|
|
73
|
+
* the gate has actually resolved — a `pending`/`distributed` unit has no verdict
|
|
74
|
+
* yet, and an evidence bundle must not imply one).
|
|
75
|
+
*/
|
|
76
|
+
export declare function evidenceEvents(units: WorkUnit[]): EvidenceEvent[];
|
|
77
|
+
/**
|
|
78
|
+
* Assemble a run's evidence bundle. Transcripts are read per unit; a single
|
|
79
|
+
* unreadable transcript degrades that unit to `transcript: null` + a
|
|
80
|
+
* `transcriptError` rather than failing the whole export — a partial bundle that
|
|
81
|
+
* says which part is missing beats no bundle at all.
|
|
82
|
+
*/
|
|
83
|
+
export declare function buildEvidenceBundle(view: SessionView, loadTranscript: TranscriptLoader): Promise<EvidenceBundle>;
|
|
84
|
+
/**
|
|
85
|
+
* Parse external-transform markers from one transcript — mirrors wicked-core's
|
|
86
|
+
* `assumptions::parse` (same grammar, same malformed→needs-review posture) so the
|
|
87
|
+
* bundle matches what the live event stream reported.
|
|
88
|
+
*/
|
|
89
|
+
export declare function parseAssumptions(ord: number, transcript: string | null): EvidenceAssumption[];
|
|
90
|
+
/**
|
|
91
|
+
* `<run-id>-evidence.json`, safe to interpolate into a `Content-Disposition`
|
|
92
|
+
* header. Run ids are client-supplied (`sessionId` on launch), so anything
|
|
93
|
+
* outside the filename-safe set is folded to `_` — a quote or CR in a run id
|
|
94
|
+
* must never break out of the header.
|
|
95
|
+
*/
|
|
96
|
+
export declare function evidenceFilename(runId: string): string;
|
|
97
|
+
//# sourceMappingURL=evidence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evidence.d.ts","sourceRoot":"","sources":["../../src/api/evidence.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEzF;;;;;;;;;GASG;AACH,MAAM,WAAW,cAAc;IAC7B,gDAAgD;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,OAAO,EAAE,YAAY,CAAC;IACtB,yEAAyE;IACzE,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,mFAAmF;IACnF,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB;;;;OAIG;IACH,WAAW,EAAE,kBAAkB,EAAE,CAAC;CACnC;AAED,uEAAuE;AACvE,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,2FAA2F;AAC3F,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C,yEAAyE;IACzE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,eAAe,CAA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ids are already `<run>:<suffix>`;
|
|
3
|
+
* fall back to the free-text `u<ord>` form for any unit that lacks the prefix
|
|
4
|
+
* (mirrors the `/runs/:id/units/:unitKey/output` route's normalisation).
|
|
5
|
+
*/
|
|
6
|
+
function coreUnitId(runId, unit) {
|
|
7
|
+
return unit.id.startsWith(`${runId}:`) ? unit.id : `${runId}:u${unit.ord}`;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Re-derive the decision trail from the units. A unit contributes its routing
|
|
11
|
+
* provenance (when the council/router recorded one) and its gate decision (once
|
|
12
|
+
* the gate has actually resolved — a `pending`/`distributed` unit has no verdict
|
|
13
|
+
* yet, and an evidence bundle must not imply one).
|
|
14
|
+
*/
|
|
15
|
+
export function evidenceEvents(units) {
|
|
16
|
+
const events = [];
|
|
17
|
+
for (const unit of [...units].sort((a, b) => a.ord - b.ord)) {
|
|
18
|
+
if (unit.routing) {
|
|
19
|
+
events.push({
|
|
20
|
+
type: 'routingDecided',
|
|
21
|
+
unitId: unit.id,
|
|
22
|
+
ord: unit.ord,
|
|
23
|
+
assignedCli: unit.assigned_cli,
|
|
24
|
+
routing: unit.routing,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
if (unit.status === 'done' || unit.status === 'rejected') {
|
|
28
|
+
events.push({
|
|
29
|
+
type: 'gateDecided',
|
|
30
|
+
unitId: unit.id,
|
|
31
|
+
ord: unit.ord,
|
|
32
|
+
allow: unit.status === 'done',
|
|
33
|
+
denialReason: unit.denial_reason,
|
|
34
|
+
phaseStatus: unit.phase_status,
|
|
35
|
+
conformanceRef: unit.conformance_ref,
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return events;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Assemble a run's evidence bundle. Transcripts are read per unit; a single
|
|
43
|
+
* unreadable transcript degrades that unit to `transcript: null` + a
|
|
44
|
+
* `transcriptError` rather than failing the whole export — a partial bundle that
|
|
45
|
+
* says which part is missing beats no bundle at all.
|
|
46
|
+
*/
|
|
47
|
+
export async function buildEvidenceBundle(view, loadTranscript) {
|
|
48
|
+
const ordered = [...view.units].sort((a, b) => a.ord - b.ord);
|
|
49
|
+
const units = await Promise.all(ordered.map(async (unit) => {
|
|
50
|
+
try {
|
|
51
|
+
return { ...unit, transcript: await loadTranscript(coreUnitId(view.session.id, unit)) };
|
|
52
|
+
}
|
|
53
|
+
catch (err) {
|
|
54
|
+
return {
|
|
55
|
+
...unit,
|
|
56
|
+
transcript: null,
|
|
57
|
+
transcriptError: err instanceof Error ? err.message : String(err),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
}));
|
|
61
|
+
return {
|
|
62
|
+
exportedAt: new Date().toISOString(),
|
|
63
|
+
session: view.session,
|
|
64
|
+
units,
|
|
65
|
+
events: evidenceEvents(ordered),
|
|
66
|
+
assumptions: units.flatMap((u) => parseAssumptions(u.ord, u.transcript)),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
const ASSUMPTION_MARKER = 'ASSUMPTION[external-transform]';
|
|
70
|
+
const MAX_ASSUMPTIONS_PER_UNIT = 16;
|
|
71
|
+
/**
|
|
72
|
+
* Parse external-transform markers from one transcript — mirrors wicked-core's
|
|
73
|
+
* `assumptions::parse` (same grammar, same malformed→needs-review posture) so the
|
|
74
|
+
* bundle matches what the live event stream reported.
|
|
75
|
+
*/
|
|
76
|
+
export function parseAssumptions(ord, transcript) {
|
|
77
|
+
if (transcript === null)
|
|
78
|
+
return [];
|
|
79
|
+
const found = [];
|
|
80
|
+
for (const raw of transcript.split('\n')) {
|
|
81
|
+
const ix = raw.indexOf(ASSUMPTION_MARKER);
|
|
82
|
+
if (ix === -1)
|
|
83
|
+
continue;
|
|
84
|
+
const rest = raw.slice(ix + ASSUMPTION_MARKER.length).trim();
|
|
85
|
+
const sep = rest.indexOf('::');
|
|
86
|
+
const fields = (sep === -1 ? rest : rest.slice(0, sep)).trim();
|
|
87
|
+
const detail = (sep === -1 ? '' : rest.slice(sep + 2)).trim();
|
|
88
|
+
const token = (key) => {
|
|
89
|
+
const kix = fields.indexOf(key);
|
|
90
|
+
if (kix === -1)
|
|
91
|
+
return '';
|
|
92
|
+
return fields.slice(kix + key.length).split(/\s+/)[0] ?? '';
|
|
93
|
+
};
|
|
94
|
+
const span = (key, stops) => {
|
|
95
|
+
const kix = fields.indexOf(key);
|
|
96
|
+
if (kix === -1)
|
|
97
|
+
return '';
|
|
98
|
+
const after = fields.slice(kix + key.length);
|
|
99
|
+
const end = Math.min(...stops.map((st) => {
|
|
100
|
+
const i = after.indexOf(st);
|
|
101
|
+
return i === -1 ? after.length : i;
|
|
102
|
+
}), after.length);
|
|
103
|
+
return after.slice(0, end).trim();
|
|
104
|
+
};
|
|
105
|
+
const library = token('library=');
|
|
106
|
+
const confidence = token('confidence=');
|
|
107
|
+
const transform = span('transform=', ['confidence=', 'library=']);
|
|
108
|
+
const wellFormed = library !== '' && transform !== '' && (confidence === 'known' || confidence === 'needs-research');
|
|
109
|
+
found.push(wellFormed
|
|
110
|
+
? {
|
|
111
|
+
ord,
|
|
112
|
+
kind: 'external-transform',
|
|
113
|
+
library: clip(library),
|
|
114
|
+
transform: clip(transform),
|
|
115
|
+
known: confidence === 'known',
|
|
116
|
+
detail: clip(detail === '' ? '(no detail provided)' : detail),
|
|
117
|
+
}
|
|
118
|
+
: {
|
|
119
|
+
ord,
|
|
120
|
+
kind: 'external-transform',
|
|
121
|
+
library: library === '' ? '(unspecified)' : clip(library),
|
|
122
|
+
transform: transform === '' ? '(unspecified transformation)' : clip(transform),
|
|
123
|
+
known: false,
|
|
124
|
+
detail: clip(`malformed marker, review the source line: ${rest}`),
|
|
125
|
+
});
|
|
126
|
+
if (found.length >= MAX_ASSUMPTIONS_PER_UNIT)
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
return found;
|
|
130
|
+
}
|
|
131
|
+
function clip(s) {
|
|
132
|
+
return s.length > 400 ? s.slice(0, 400) : s;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* `<run-id>-evidence.json`, safe to interpolate into a `Content-Disposition`
|
|
136
|
+
* header. Run ids are client-supplied (`sessionId` on launch), so anything
|
|
137
|
+
* outside the filename-safe set is folded to `_` — a quote or CR in a run id
|
|
138
|
+
* must never break out of the header.
|
|
139
|
+
*/
|
|
140
|
+
export function evidenceFilename(runId) {
|
|
141
|
+
const safe = runId.replace(/[^A-Za-z0-9._-]/g, '_').slice(0, 128);
|
|
142
|
+
return `${safe || 'run'}-evidence.json`;
|
|
143
|
+
}
|
|
144
|
+
//# sourceMappingURL=evidence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evidence.js","sourceRoot":"","sources":["../../src/api/evidence.ts"],"names":[],"mappings":"AA6EA;;;;GAIG;AACH,SAAS,UAAU,CAAC,KAAa,EAAE,IAAc;IAC/C,OAAO,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,KAAK,IAAI,CAAC,GAAG,EAAE,CAAC;AAC7E,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAAC,KAAiB;IAC9C,MAAM,MAAM,GAAoB,EAAE,CAAC;IACnC,KAAK,MAAM,IAAI,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5D,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,gBAAgB;gBACtB,MAAM,EAAE,IAAI,CAAC,EAAE;gBACf,GAAG,EAAE,IAAI,CAAC,GAAG;gBACb,WAAW,EAAE,IAAI,CAAC,YAAY;gBAC9B,OAAO,EAAE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C;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAAa;IAC5C,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAClE,OAAO,GAAG,IAAI,IAAI,KAAK,gBAAgB,CAAC;AAC1C,CAAC"}
|
package/dist/api/routes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../src/api/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../src/api/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAS/C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAwGjD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,eAAe,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,GAAG,IAAI,CAgjBrG"}
|