opencode-swarm 7.139.2 → 7.139.4
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/.opencode/skills/phase-wrap/SKILL.md +2 -2
- package/README.md +2 -2
- package/dist/background/stage-b-gates.d.ts +5 -1
- package/dist/background/task-envelope.d.ts +4 -4
- package/dist/cli/{config-doctor-hrb61yqe.js → config-doctor-whxr386t.js} +6 -6
- package/dist/cli/{core-g2dfh9fq.js → core-aj5g7an6.js} +5 -5
- package/dist/cli/{curation-policy-4tp0mbcb.js → curation-policy-anym2y3v.js} +8 -8
- package/dist/cli/{curator-drift-vfh07mqy.js → curator-drift-49p3jnte.js} +7 -7
- package/dist/cli/{curator-vpcs1p1v.js → curator-e8cvb55d.js} +41 -41
- package/dist/cli/curator-llm-factory-h9xbpgmw.js +61 -0
- package/dist/cli/{dispatch-b1fge4xk.js → dispatch-2s23fbcs.js} +4 -4
- package/dist/cli/{evidence-summary-service-kzxr71yd.js → evidence-summary-service-g82bsjqa.js} +16 -16
- package/dist/cli/{gate-evidence-z2b1ymnw.js → gate-evidence-72cgrvs2.js} +6 -5
- package/dist/cli/guardrail-explain-0be7msvq.js +62 -0
- package/dist/cli/{guardrail-log-2ftew0p3.js → guardrail-log-9mm5443g.js} +9 -9
- package/dist/cli/{hive-promoter-mpf0cfkk.js → hive-promoter-nnzs5x1r.js} +41 -41
- package/dist/cli/{index-w71cq27a.js → index-0e95eck5.js} +5 -5
- package/dist/cli/{index-5zyk8qgv.js → index-0xkjhgrf.js} +5 -5
- package/dist/cli/{index-q7ezzgwq.js → index-1kyex7z2.js} +1 -1
- package/dist/cli/{index-668dpw5e.js → index-33skgk1a.js} +1 -1
- package/dist/cli/{index-vm4xw9z3.js → index-41hkt36g.js} +2 -2
- package/dist/cli/{index-y111zefa.js → index-4nt52yr9.js} +80 -31
- package/dist/cli/{index-3jcyn8g6.js → index-4wjk296r.js} +1 -1
- package/dist/cli/{index-3radty3f.js → index-5azdnaty.js} +2 -2
- package/dist/cli/{index-8p9pasnp.js → index-5s23pfsy.js} +8 -8
- package/dist/cli/{index-5w7ekpy3.js → index-5z2xps64.js} +2 -2
- package/dist/cli/{index-0wp67gqj.js → index-6nzmp937.js} +61 -111
- package/dist/cli/{index-gvhvz176.js → index-6r522srn.js} +2 -2
- package/dist/cli/{index-4xbyy6aw.js → index-6rxgb5r9.js} +10 -6
- package/dist/cli/{index-cyw81ngh.js → index-6vh6vrnk.js} +10 -10
- package/dist/cli/{index-a12906mj.js → index-6z0a940s.js} +8 -8
- package/dist/cli/{index-wsdnttf4.js → index-74hpm6sh.js} +1 -1
- package/dist/cli/{index-6w1re1qn.js → index-9cdj4020.js} +6 -6
- package/dist/cli/{index-y47dwge1.js → index-e1k9vpqn.js} +5 -5
- package/dist/cli/{index-y64jv2pe.js → index-ejbcpbzp.js} +7 -7
- package/dist/cli/{index-6c5f309q.js → index-gfmrw2f5.js} +2 -2
- package/dist/cli/{index-prmb5qfp.js → index-j77frjq8.js} +7 -7
- package/dist/cli/{index-ffpmqx30.js → index-jnfyxeap.js} +4 -4
- package/dist/cli/{index-e9tx99ds.js → index-k41dn8me.js} +3 -3
- package/dist/cli/{index-x9q4bbhd.js → index-k46me75h.js} +4 -4
- package/dist/cli/{index-s608d3hw.js → index-nrx08gcr.js} +6 -2
- package/dist/cli/{index-ktagrqxw.js → index-pg84msyc.js} +7 -7
- package/dist/cli/{index-a5eba0t8.js → index-rsrx77fg.js} +6 -6
- package/dist/cli/index-s0qc4gj6.js +298 -0
- package/dist/cli/{index-q11t5erh.js → index-s58vghgj.js} +7 -7
- package/dist/cli/{index-se8xc78k.js → index-sa15nfgg.js} +45 -45
- package/dist/cli/{index-wrt6m5ze.js → index-sd657fkp.js} +291 -75
- package/dist/cli/{index-yr6x707c.js → index-vfsqpcz6.js} +16 -16
- package/dist/cli/{index-a7nh382r.js → index-vyqd1hzm.js} +20593 -19882
- package/dist/cli/{index-8gftfvpp.js → index-xb1zq933.js} +1 -1
- package/dist/cli/{index-3eddtgxt.js → index-xmhhhjjw.js} +39 -4
- package/dist/cli/index.js +43 -43
- package/dist/cli/{knowledge-escalator-n9pmx4qr.js → knowledge-escalator-a6z30y9p.js} +10 -10
- package/dist/cli/{knowledge-events-raevm18w.js → knowledge-events-deq0ds8e.js} +7 -7
- package/dist/cli/{knowledge-link-3tq8w6gs.js → knowledge-link-bmbatt8s.js} +6 -6
- package/dist/cli/{knowledge-store-bcfqz8fr.js → knowledge-store-vdr19mnq.js} +8 -8
- package/dist/cli/{knowledge-validator-jxqj96cx.js → knowledge-validator-5hgacnrf.js} +11 -11
- package/dist/cli/{pending-delegations-tmyf18p4.js → pending-delegations-7ayryxbg.js} +8 -8
- package/dist/cli/{pr-subscriptions-hhx6yk24.js → pr-subscriptions-w5y08ebc.js} +8 -8
- package/dist/cli/{runner-w30gazew.js → runner-h7vmgkth.js} +7 -6
- package/dist/cli/{scan-cursor-ah5swtyh.js → scan-cursor-d6qcg9hr.js} +9 -9
- package/dist/cli/{schema-f7jgrtxj.js → schema-y1zekrag.js} +3 -3
- package/dist/cli/{scope-persistence-3f0d4fwv.js → scope-persistence-tj6qway9.js} +7 -7
- package/dist/cli/{skill-generator-hp7as46c.js → skill-generator-bw8xhzzn.js} +13 -13
- package/dist/cli/{task-envelope-qn0qtnh0.js → task-envelope-jp2fdsvn.js} +11 -8
- package/dist/cli/{telemetry-4tgrfhaz.js → telemetry-62cn5t24.js} +1 -1
- package/dist/cli/{workspace-snapshot-h5rzw37b.js → workspace-snapshot-w3tg4ne5.js} +2 -2
- package/dist/cli/{worktree-collision-ownership-vexb0b6r.js → worktree-collision-ownership-hs5c2qzp.js} +9 -9
- package/dist/commands/approve-plan-critic.d.ts +2 -2
- package/dist/commands/registry.d.ts +1 -1
- package/dist/config/agent-model.d.ts +35 -0
- package/dist/db/qa-gate-profile.d.ts +11 -3
- package/dist/evidence/manager.d.ts +5 -2
- package/dist/evidence/phase-participation.d.ts +44 -0
- package/dist/hooks/compaction-customizer.d.ts +30 -2
- package/dist/hooks/context-budget.d.ts +1 -1
- package/dist/hooks/delegation-gate.d.ts +3 -3
- package/dist/hooks/guardrails/index.d.ts +5 -1
- package/dist/hooks/guardrails/messages-transform.d.ts +2 -0
- package/dist/hooks/guardrails/pre-check-result.d.ts +20 -0
- package/dist/index.js +616 -609
- package/dist/prm/escalation.d.ts +34 -0
- package/dist/prm/index.d.ts +6 -2
- package/dist/prm/pattern-detector.d.ts +22 -1
- package/dist/prm/types.d.ts +12 -2
- package/dist/sast/semgrep.d.ts +15 -32
- package/dist/services/compaction-service.d.ts +3 -1
- package/dist/session/snapshot-writer.d.ts +1 -0
- package/dist/state.d.ts +119 -19
- package/dist/summaries/schema.d.ts +2 -2
- package/dist/tools/context-status.d.ts +4 -1
- package/dist/tools/convene-council.d.ts +1 -1
- package/dist/tools/lint.d.ts +48 -22
- package/dist/tools/pre-check-batch.d.ts +41 -13
- package/dist/tools/quality-budget.d.ts +3 -2
- package/dist/tools/resolve-working-directory.d.ts +4 -4
- package/dist/tools/sast-baseline.d.ts +1 -0
- package/dist/tools/sast-scan.d.ts +4 -1
- package/dist/tools/secretscan.d.ts +2 -2
- package/dist/tools/set-qa-gates.d.ts +5 -4
- package/dist/tools/submit-phase-council-verdicts.d.ts +1 -1
- package/dist/tools/write-final-council-evidence.d.ts +1 -1
- package/dist/utils/bun-compat.d.ts +20 -0
- package/dist/utils/external-tool-runner.d.ts +10 -0
- package/dist/utils/project-boundary.d.ts +34 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-hvw13hmr.js +0 -61
- package/dist/cli/guardrail-explain-k62h3c92.js +0 -62
- package/dist/cli/index-5j6chvj8.js +0 -159
- package/dist/cli/{index-z6xqpmqg.js → index-ee3x66a5.js} +3 -3
|
@@ -98,11 +98,11 @@ The tool will automatically write the retrospective to \`.swarm/evidence/retro-{
|
|
|
98
98
|
| `coder` | Always | Task implementation (coder) |
|
|
99
99
|
| `reviewer` | Always | Task review (reviewer) |
|
|
100
100
|
| `test_engineer` | When phase modifies source code/tests (unless explicitly waived) | Test verification (test_engineer) |
|
|
101
|
-
| `docs` | When `require_docs: true` in
|
|
101
|
+
| `docs` | When `phase_complete.require_docs: true` in plugin configuration | Documentation updates |
|
|
102
102
|
|
|
103
103
|
If any required agent is missing, `phase_complete` returns `{ success: false, status: 'incomplete', message: 'Phase N incomplete: missing required agents: <list>', agentsMissing: [...] }` and the phase is not closed. Dispatch each agent during normal task execution (not only inside optional Phase/Final Councils in steps 5.65/5.7) so the closeout gate is satisfied.
|
|
104
104
|
|
|
105
|
-
The `docs` agent is
|
|
105
|
+
The `docs` agent requirement is controlled by `phase_complete.require_docs` in plugin configuration, not by the QA gate profile returned by `get_qa_gate_profile`. It defaults to `true`. Set it to `false` only when the phase genuinely has no documentation obligation. A successful docs completion is persisted as plan- and phase-bound participation proof so `phase_complete` can recover it after a session restart; unrelated task-gate evidence does not count as docs participation.
|
|
106
106
|
|
|
107
107
|
The `coder` and `test_engineer` agents are required because every phase that modifies source code or tests must have at least one implementation and one test-verification delegation. For pure documentation or retrospective phases, these may be waived by the user explicitly.
|
|
108
108
|
|
package/README.md
CHANGED
|
@@ -489,10 +489,10 @@ Configure via:
|
|
|
489
489
|
"enabled": true,
|
|
490
490
|
"pattern_thresholds": {
|
|
491
491
|
"repetition_loop": 2,
|
|
492
|
-
"ping_pong":
|
|
492
|
+
"ping_pong": 2,
|
|
493
493
|
"expansion_drift": 3,
|
|
494
494
|
"stuck_on_test": 3,
|
|
495
|
-
"context_thrash":
|
|
495
|
+
"context_thrash": 10
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReviewerReceiptValidationOptions } from '../hooks/review-receipt-collector.js';
|
|
2
|
-
import type { BackgroundDelegationRecord, BackgroundDelegationResult } from './pending-delegations.js';
|
|
2
|
+
import type { BackgroundDelegationRecord, BackgroundDelegationResult, BackgroundWorkspaceSnapshot } from './pending-delegations.js';
|
|
3
3
|
export interface StageBIngestionResult {
|
|
4
4
|
ok: boolean;
|
|
5
5
|
consumed: boolean;
|
|
@@ -12,6 +12,10 @@ export declare function validateStageBWorkspace(directory: string, record: Backg
|
|
|
12
12
|
stale: boolean;
|
|
13
13
|
reason?: string;
|
|
14
14
|
};
|
|
15
|
+
export declare function compareStageBWorkspace(record: BackgroundDelegationRecord, actualWorkspace: BackgroundWorkspaceSnapshot): {
|
|
16
|
+
stale: boolean;
|
|
17
|
+
reason?: string;
|
|
18
|
+
};
|
|
15
19
|
export declare function ingestBackgroundStageBCompletion(args: {
|
|
16
20
|
directory: string;
|
|
17
21
|
record: BackgroundDelegationRecord;
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
* OpenCode background subagents (v1.16.2) render task dispatch/completion as a stable
|
|
5
5
|
* XML-ish envelope via the upstream `renderOutput`:
|
|
6
6
|
*
|
|
7
|
-
* <task id="<subagentSessionID>" state="running|completed|error">
|
|
7
|
+
* <task id="<subagentSessionID>" state="running|completed|error|cancelled">
|
|
8
8
|
* <summary>...</summary>
|
|
9
|
-
* <task_result>...</task_result> (or <task_error> for
|
|
9
|
+
* <task_result>...</task_result> (or <task_error> for terminal failure)
|
|
10
10
|
* </task>
|
|
11
11
|
*
|
|
12
12
|
* - The dispatch tool result carries `state="running"` and the subagent session id.
|
|
13
13
|
* - The deferred completion arrives as a synthetic parent message part whose text is the
|
|
14
|
-
* same envelope with `state="completed"` or `state="
|
|
14
|
+
* same envelope with `state="completed"`, `state="error"`, or `state="cancelled"`.
|
|
15
15
|
*
|
|
16
16
|
* These parsers are intentionally pure and defensive — they never throw — so they can be
|
|
17
17
|
* used both at dispatch (tool.execute.after output) and at completion observation time.
|
|
18
18
|
*/
|
|
19
|
-
export type TaskEnvelopeState = 'running' | 'completed' | 'error';
|
|
19
|
+
export type TaskEnvelopeState = 'running' | 'completed' | 'error' | 'cancelled';
|
|
20
20
|
export interface TaskEnvelope {
|
|
21
21
|
/** The subagent session id from `<task id="...">` — the cross-event correlation key. */
|
|
22
22
|
sessionId: string;
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
shouldRunOnStartup,
|
|
13
13
|
writeBackupArtifact,
|
|
14
14
|
writeDoctorArtifact
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-e1k9vpqn.js";
|
|
16
|
+
import"./index-ee3x66a5.js";
|
|
17
|
+
import"./index-zgwm4ryv.js";
|
|
18
|
+
import"./index-5s23pfsy.js";
|
|
19
|
+
import"./index-4wjk296r.js";
|
|
20
|
+
import"./index-zjygnfay.js";
|
|
17
21
|
import"./index-bk5tah7q.js";
|
|
18
|
-
import"./index-3jcyn8g6.js";
|
|
19
22
|
import"./index-bpmtbmy9.js";
|
|
20
|
-
import"./index-z6xqpmqg.js";
|
|
21
|
-
import"./index-zjygnfay.js";
|
|
22
|
-
import"./index-zgwm4ryv.js";
|
|
23
23
|
import"./index-a76rekgs.js";
|
|
24
24
|
export {
|
|
25
25
|
writeDoctorArtifact,
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
resolveWorktreeBaseDir,
|
|
15
15
|
shortenWorktreePath,
|
|
16
16
|
writeLaneProfileToDiskReal
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-6z0a940s.js";
|
|
18
|
+
import"./index-ee3x66a5.js";
|
|
19
|
+
import"./index-4nt52yr9.js";
|
|
18
20
|
import"./index-4rhhvd1a.js";
|
|
19
|
-
import"./index-3jcyn8g6.js";
|
|
20
|
-
import"./index-z6xqpmqg.js";
|
|
21
|
-
import"./index-zjygnfay.js";
|
|
22
|
-
import"./index-y111zefa.js";
|
|
23
21
|
import"./index-zgwm4ryv.js";
|
|
22
|
+
import"./index-4wjk296r.js";
|
|
23
|
+
import"./index-zjygnfay.js";
|
|
24
24
|
import"./index-a76rekgs.js";
|
|
25
25
|
export {
|
|
26
26
|
writeLaneProfileToDiskReal,
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
authorizeCuration,
|
|
5
5
|
buildConfigFingerprintInput,
|
|
6
6
|
readCohortConfigFingerprint
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-5azdnaty.js";
|
|
8
8
|
import"./index-rtry5xyf.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-k41dn8me.js";
|
|
10
10
|
import"./index-ae75rja9.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
import"./index-33skgk1a.js";
|
|
12
|
+
import"./index-6r522srn.js";
|
|
13
13
|
import"./index-ed5ykebp.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-s0qc4gj6.js";
|
|
15
15
|
import"./index-7g4c7s5r.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-bpmtbmy9.js";
|
|
18
|
-
import"./index-y111zefa.js";
|
|
16
|
+
import"./index-4nt52yr9.js";
|
|
19
17
|
import"./index-zgwm4ryv.js";
|
|
18
|
+
import"./index-rsrx77fg.js";
|
|
19
|
+
import"./index-bpmtbmy9.js";
|
|
20
20
|
import"./index-a76rekgs.js";
|
|
21
21
|
export {
|
|
22
22
|
readCohortConfigFingerprint,
|
|
@@ -5,23 +5,23 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
readEffectiveSpecSync
|
|
7
7
|
} from "./index-9ss2m4rs.js";
|
|
8
|
-
import"./index-n832052r.js";
|
|
9
|
-
import"./index-4rhhvd1a.js";
|
|
10
8
|
import {
|
|
11
9
|
readSwarmFileAsync,
|
|
12
10
|
validateSwarmPath
|
|
13
|
-
} from "./index-
|
|
11
|
+
} from "./index-k46me75h.js";
|
|
12
|
+
import"./index-ee3x66a5.js";
|
|
14
13
|
import {
|
|
15
14
|
invalidateCachedArtifact
|
|
16
15
|
} from "./index-ed5ykebp.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-y111zefa.js";
|
|
16
|
+
import"./index-4nt52yr9.js";
|
|
17
|
+
import"./index-n832052r.js";
|
|
18
|
+
import"./index-4rhhvd1a.js";
|
|
21
19
|
import {
|
|
22
20
|
init_logger,
|
|
23
21
|
warn
|
|
24
22
|
} from "./index-zgwm4ryv.js";
|
|
23
|
+
import"./index-zjygnfay.js";
|
|
24
|
+
import"./index-bpmtbmy9.js";
|
|
25
25
|
import"./index-a76rekgs.js";
|
|
26
26
|
|
|
27
27
|
// src/hooks/curator-drift.ts
|
|
@@ -14,60 +14,60 @@ import {
|
|
|
14
14
|
runCuratorInit,
|
|
15
15
|
runCuratorPhase,
|
|
16
16
|
writeCuratorSummary
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
17
|
+
} from "./index-vyqd1hzm.js";
|
|
18
|
+
import"./index-41hkt36g.js";
|
|
19
|
+
import"./index-sd657fkp.js";
|
|
20
|
+
import"./index-ejbcpbzp.js";
|
|
21
|
+
import"./index-e1k9vpqn.js";
|
|
22
|
+
import"./index-6nzmp937.js";
|
|
23
|
+
import"./index-nrx08gcr.js";
|
|
24
24
|
import"./index-y8552snf.js";
|
|
25
25
|
import"./index-4905hd2m.js";
|
|
26
26
|
import"./index-134d35c1.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
27
|
+
import"./index-pg84msyc.js";
|
|
28
|
+
import"./index-0e95eck5.js";
|
|
29
|
+
import"./index-9cdj4020.js";
|
|
30
30
|
import"./index-6mjf4vr1.js";
|
|
31
31
|
import"./index-c8s9a3zh.js";
|
|
32
32
|
import"./index-9ss2m4rs.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
33
|
+
import"./index-0xkjhgrf.js";
|
|
34
|
+
import"./index-xmhhhjjw.js";
|
|
35
|
+
import"./index-556ja8an.js";
|
|
36
|
+
import"./index-6rxgb5r9.js";
|
|
37
|
+
import"./index-1kyex7z2.js";
|
|
38
|
+
import"./index-b8zgtz81.js";
|
|
39
|
+
import"./index-6z0a940s.js";
|
|
40
|
+
import"./index-j77frjq8.js";
|
|
41
|
+
import"./index-k46me75h.js";
|
|
42
|
+
import"./index-ee3x66a5.js";
|
|
43
|
+
import"./index-74hpm6sh.js";
|
|
44
|
+
import"./index-5z2xps64.js";
|
|
45
|
+
import"./index-8fwhhayc.js";
|
|
46
|
+
import"./index-q1exe2b3.js";
|
|
47
|
+
import"./index-jnfyxeap.js";
|
|
48
|
+
import"./index-5azdnaty.js";
|
|
37
49
|
import"./index-rtry5xyf.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
50
|
+
import"./index-6vh6vrnk.js";
|
|
51
|
+
import"./index-k41dn8me.js";
|
|
40
52
|
import"./index-ae75rja9.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
53
|
+
import"./index-33skgk1a.js";
|
|
54
|
+
import"./index-6r522srn.js";
|
|
55
|
+
import"./index-ed5ykebp.js";
|
|
56
|
+
import"./index-s0qc4gj6.js";
|
|
57
|
+
import"./index-7g4c7s5r.js";
|
|
58
|
+
import"./index-4nt52yr9.js";
|
|
59
|
+
import"./index-s58vghgj.js";
|
|
44
60
|
import"./index-gprxjmm7.js";
|
|
45
61
|
import"./index-n832052r.js";
|
|
46
|
-
import"./index-8p9pasnp.js";
|
|
47
|
-
import"./index-bk5tah7q.js";
|
|
48
|
-
import"./index-8fwhhayc.js";
|
|
49
|
-
import"./index-q1exe2b3.js";
|
|
50
|
-
import"./index-5zyk8qgv.js";
|
|
51
|
-
import"./index-3eddtgxt.js";
|
|
52
|
-
import"./index-556ja8an.js";
|
|
53
|
-
import"./index-4xbyy6aw.js";
|
|
54
62
|
import"./index-1kz6da87.js";
|
|
55
|
-
import"./index-q7ezzgwq.js";
|
|
56
|
-
import"./index-b8zgtz81.js";
|
|
57
|
-
import"./index-a12906mj.js";
|
|
58
63
|
import"./index-4rhhvd1a.js";
|
|
59
|
-
import"./index-3jcyn8g6.js";
|
|
60
|
-
import"./index-prmb5qfp.js";
|
|
61
|
-
import"./index-x9q4bbhd.js";
|
|
62
|
-
import"./index-ed5ykebp.js";
|
|
63
|
-
import"./index-5j6chvj8.js";
|
|
64
|
-
import"./index-7g4c7s5r.js";
|
|
65
|
-
import"./index-a5eba0t8.js";
|
|
66
|
-
import"./index-bpmtbmy9.js";
|
|
67
|
-
import"./index-z6xqpmqg.js";
|
|
68
|
-
import"./index-zjygnfay.js";
|
|
69
|
-
import"./index-y111zefa.js";
|
|
70
64
|
import"./index-zgwm4ryv.js";
|
|
65
|
+
import"./index-5s23pfsy.js";
|
|
66
|
+
import"./index-4wjk296r.js";
|
|
67
|
+
import"./index-zjygnfay.js";
|
|
68
|
+
import"./index-bk5tah7q.js";
|
|
69
|
+
import"./index-rsrx77fg.js";
|
|
70
|
+
import"./index-bpmtbmy9.js";
|
|
71
71
|
import"./index-a76rekgs.js";
|
|
72
72
|
export {
|
|
73
73
|
writeCuratorSummary,
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
createCuratorLLMDelegate
|
|
4
|
+
} from "./index-vyqd1hzm.js";
|
|
5
|
+
import"./index-41hkt36g.js";
|
|
6
|
+
import"./index-sd657fkp.js";
|
|
7
|
+
import"./index-ejbcpbzp.js";
|
|
8
|
+
import"./index-e1k9vpqn.js";
|
|
9
|
+
import"./index-6nzmp937.js";
|
|
10
|
+
import"./index-nrx08gcr.js";
|
|
11
|
+
import"./index-y8552snf.js";
|
|
12
|
+
import"./index-4905hd2m.js";
|
|
13
|
+
import"./index-134d35c1.js";
|
|
14
|
+
import"./index-pg84msyc.js";
|
|
15
|
+
import"./index-0e95eck5.js";
|
|
16
|
+
import"./index-9cdj4020.js";
|
|
17
|
+
import"./index-6mjf4vr1.js";
|
|
18
|
+
import"./index-c8s9a3zh.js";
|
|
19
|
+
import"./index-9ss2m4rs.js";
|
|
20
|
+
import"./index-0xkjhgrf.js";
|
|
21
|
+
import"./index-xmhhhjjw.js";
|
|
22
|
+
import"./index-556ja8an.js";
|
|
23
|
+
import"./index-6rxgb5r9.js";
|
|
24
|
+
import"./index-1kyex7z2.js";
|
|
25
|
+
import"./index-b8zgtz81.js";
|
|
26
|
+
import"./index-6z0a940s.js";
|
|
27
|
+
import"./index-j77frjq8.js";
|
|
28
|
+
import"./index-k46me75h.js";
|
|
29
|
+
import"./index-ee3x66a5.js";
|
|
30
|
+
import"./index-74hpm6sh.js";
|
|
31
|
+
import"./index-5z2xps64.js";
|
|
32
|
+
import"./index-8fwhhayc.js";
|
|
33
|
+
import"./index-q1exe2b3.js";
|
|
34
|
+
import"./index-jnfyxeap.js";
|
|
35
|
+
import"./index-5azdnaty.js";
|
|
36
|
+
import"./index-rtry5xyf.js";
|
|
37
|
+
import"./index-6vh6vrnk.js";
|
|
38
|
+
import"./index-k41dn8me.js";
|
|
39
|
+
import"./index-ae75rja9.js";
|
|
40
|
+
import"./index-33skgk1a.js";
|
|
41
|
+
import"./index-6r522srn.js";
|
|
42
|
+
import"./index-ed5ykebp.js";
|
|
43
|
+
import"./index-s0qc4gj6.js";
|
|
44
|
+
import"./index-7g4c7s5r.js";
|
|
45
|
+
import"./index-4nt52yr9.js";
|
|
46
|
+
import"./index-s58vghgj.js";
|
|
47
|
+
import"./index-gprxjmm7.js";
|
|
48
|
+
import"./index-n832052r.js";
|
|
49
|
+
import"./index-1kz6da87.js";
|
|
50
|
+
import"./index-4rhhvd1a.js";
|
|
51
|
+
import"./index-zgwm4ryv.js";
|
|
52
|
+
import"./index-5s23pfsy.js";
|
|
53
|
+
import"./index-4wjk296r.js";
|
|
54
|
+
import"./index-zjygnfay.js";
|
|
55
|
+
import"./index-bk5tah7q.js";
|
|
56
|
+
import"./index-rsrx77fg.js";
|
|
57
|
+
import"./index-bpmtbmy9.js";
|
|
58
|
+
import"./index-a76rekgs.js";
|
|
59
|
+
export {
|
|
60
|
+
createCuratorLLMDelegate
|
|
61
|
+
};
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
defaultTestFilesFor,
|
|
12
12
|
detectProjectLanguages,
|
|
13
13
|
tokenizeCommand
|
|
14
|
-
} from "./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-y111zefa.js";
|
|
14
|
+
} from "./index-41hkt36g.js";
|
|
15
|
+
import"./index-ee3x66a5.js";
|
|
16
|
+
import"./index-4nt52yr9.js";
|
|
18
17
|
import"./index-zgwm4ryv.js";
|
|
18
|
+
import"./index-zjygnfay.js";
|
|
19
19
|
import"./index-a76rekgs.js";
|
|
20
20
|
|
|
21
21
|
// src/lang/dispatch.ts
|
package/dist/cli/{evidence-summary-service-kzxr71yd.js → evidence-summary-service-g82bsjqa.js}
RENAMED
|
@@ -6,31 +6,31 @@ import {
|
|
|
6
6
|
loadPlanJsonOnly,
|
|
7
7
|
mergeDurableGateEntriesFromEvidence,
|
|
8
8
|
readDurableGateEvidence
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
} from "./index-6nzmp937.js";
|
|
10
|
+
import"./index-nrx08gcr.js";
|
|
11
11
|
import"./index-y8552snf.js";
|
|
12
12
|
import"./index-9ss2m4rs.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
import"./index-6rxgb5r9.js";
|
|
14
|
+
import"./index-b8zgtz81.js";
|
|
15
|
+
import"./index-k46me75h.js";
|
|
16
|
+
import"./index-ee3x66a5.js";
|
|
17
|
+
import"./index-5z2xps64.js";
|
|
18
|
+
import"./index-q1exe2b3.js";
|
|
19
|
+
import"./index-6r522srn.js";
|
|
20
|
+
import"./index-ed5ykebp.js";
|
|
21
|
+
import"./index-s0qc4gj6.js";
|
|
22
|
+
import"./index-7g4c7s5r.js";
|
|
23
|
+
import"./index-4nt52yr9.js";
|
|
15
24
|
import"./index-gprxjmm7.js";
|
|
16
25
|
import"./index-n832052r.js";
|
|
17
|
-
import"./index-q1exe2b3.js";
|
|
18
|
-
import"./index-4xbyy6aw.js";
|
|
19
26
|
import"./index-1kz6da87.js";
|
|
20
|
-
import"./index-b8zgtz81.js";
|
|
21
27
|
import"./index-4rhhvd1a.js";
|
|
22
|
-
import"./index-x9q4bbhd.js";
|
|
23
|
-
import"./index-ed5ykebp.js";
|
|
24
|
-
import"./index-5j6chvj8.js";
|
|
25
|
-
import"./index-7g4c7s5r.js";
|
|
26
|
-
import"./index-a5eba0t8.js";
|
|
27
|
-
import"./index-bpmtbmy9.js";
|
|
28
|
-
import"./index-z6xqpmqg.js";
|
|
29
|
-
import"./index-zjygnfay.js";
|
|
30
|
-
import"./index-y111zefa.js";
|
|
31
28
|
import {
|
|
32
29
|
log
|
|
33
30
|
} from "./index-zgwm4ryv.js";
|
|
31
|
+
import"./index-zjygnfay.js";
|
|
32
|
+
import"./index-rsrx77fg.js";
|
|
33
|
+
import"./index-bpmtbmy9.js";
|
|
34
34
|
import"./index-a76rekgs.js";
|
|
35
35
|
|
|
36
36
|
// src/services/evidence-summary-service.ts
|
|
@@ -9,14 +9,15 @@ import {
|
|
|
9
9
|
readTaskEvidenceRaw,
|
|
10
10
|
recordAgentDispatch,
|
|
11
11
|
recordGateEvidence
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
} from "./index-5z2xps64.js";
|
|
13
|
+
import"./index-6r522srn.js";
|
|
14
14
|
import"./index-ed5ykebp.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-s0qc4gj6.js";
|
|
16
16
|
import"./index-7g4c7s5r.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-4nt52yr9.js";
|
|
18
|
+
import"./index-zgwm4ryv.js";
|
|
19
|
+
import"./index-rsrx77fg.js";
|
|
18
20
|
import"./index-bpmtbmy9.js";
|
|
19
|
-
import"./index-y111zefa.js";
|
|
20
21
|
import"./index-a76rekgs.js";
|
|
21
22
|
export {
|
|
22
23
|
recordGateEvidence,
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
handleGuardrailExplain
|
|
4
|
+
} from "./index-gfmrw2f5.js";
|
|
5
|
+
import"./index-vyqd1hzm.js";
|
|
6
|
+
import"./index-41hkt36g.js";
|
|
7
|
+
import"./index-sd657fkp.js";
|
|
8
|
+
import"./index-ejbcpbzp.js";
|
|
9
|
+
import"./index-e1k9vpqn.js";
|
|
10
|
+
import"./index-6nzmp937.js";
|
|
11
|
+
import"./index-nrx08gcr.js";
|
|
12
|
+
import"./index-y8552snf.js";
|
|
13
|
+
import"./index-4905hd2m.js";
|
|
14
|
+
import"./index-134d35c1.js";
|
|
15
|
+
import"./index-pg84msyc.js";
|
|
16
|
+
import"./index-0e95eck5.js";
|
|
17
|
+
import"./index-9cdj4020.js";
|
|
18
|
+
import"./index-6mjf4vr1.js";
|
|
19
|
+
import"./index-c8s9a3zh.js";
|
|
20
|
+
import"./index-9ss2m4rs.js";
|
|
21
|
+
import"./index-0xkjhgrf.js";
|
|
22
|
+
import"./index-xmhhhjjw.js";
|
|
23
|
+
import"./index-556ja8an.js";
|
|
24
|
+
import"./index-6rxgb5r9.js";
|
|
25
|
+
import"./index-1kyex7z2.js";
|
|
26
|
+
import"./index-b8zgtz81.js";
|
|
27
|
+
import"./index-6z0a940s.js";
|
|
28
|
+
import"./index-j77frjq8.js";
|
|
29
|
+
import"./index-k46me75h.js";
|
|
30
|
+
import"./index-ee3x66a5.js";
|
|
31
|
+
import"./index-74hpm6sh.js";
|
|
32
|
+
import"./index-5z2xps64.js";
|
|
33
|
+
import"./index-8fwhhayc.js";
|
|
34
|
+
import"./index-q1exe2b3.js";
|
|
35
|
+
import"./index-jnfyxeap.js";
|
|
36
|
+
import"./index-5azdnaty.js";
|
|
37
|
+
import"./index-rtry5xyf.js";
|
|
38
|
+
import"./index-6vh6vrnk.js";
|
|
39
|
+
import"./index-k41dn8me.js";
|
|
40
|
+
import"./index-ae75rja9.js";
|
|
41
|
+
import"./index-33skgk1a.js";
|
|
42
|
+
import"./index-6r522srn.js";
|
|
43
|
+
import"./index-ed5ykebp.js";
|
|
44
|
+
import"./index-s0qc4gj6.js";
|
|
45
|
+
import"./index-7g4c7s5r.js";
|
|
46
|
+
import"./index-4nt52yr9.js";
|
|
47
|
+
import"./index-s58vghgj.js";
|
|
48
|
+
import"./index-gprxjmm7.js";
|
|
49
|
+
import"./index-n832052r.js";
|
|
50
|
+
import"./index-1kz6da87.js";
|
|
51
|
+
import"./index-4rhhvd1a.js";
|
|
52
|
+
import"./index-zgwm4ryv.js";
|
|
53
|
+
import"./index-5s23pfsy.js";
|
|
54
|
+
import"./index-4wjk296r.js";
|
|
55
|
+
import"./index-zjygnfay.js";
|
|
56
|
+
import"./index-bk5tah7q.js";
|
|
57
|
+
import"./index-rsrx77fg.js";
|
|
58
|
+
import"./index-bpmtbmy9.js";
|
|
59
|
+
import"./index-a76rekgs.js";
|
|
60
|
+
export {
|
|
61
|
+
handleGuardrailExplain
|
|
62
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-8p9pasnp.js";
|
|
7
|
-
import"./index-bk5tah7q.js";
|
|
4
|
+
} from "./index-xb1zq933.js";
|
|
5
|
+
import"./index-ejbcpbzp.js";
|
|
8
6
|
import"./index-556ja8an.js";
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-z6xqpmqg.js";
|
|
12
|
-
import"./index-zjygnfay.js";
|
|
13
|
-
import"./index-y111zefa.js";
|
|
7
|
+
import"./index-ee3x66a5.js";
|
|
8
|
+
import"./index-4nt52yr9.js";
|
|
14
9
|
import"./index-zgwm4ryv.js";
|
|
10
|
+
import"./index-5s23pfsy.js";
|
|
11
|
+
import"./index-4wjk296r.js";
|
|
12
|
+
import"./index-zjygnfay.js";
|
|
13
|
+
import"./index-bk5tah7q.js";
|
|
14
|
+
import"./index-bpmtbmy9.js";
|
|
15
15
|
import"./index-a76rekgs.js";
|
|
16
16
|
export {
|
|
17
17
|
handleGuardrailLog
|
|
@@ -7,62 +7,62 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
10
|
+
} from "./index-vyqd1hzm.js";
|
|
11
|
+
import"./index-41hkt36g.js";
|
|
12
|
+
import"./index-sd657fkp.js";
|
|
13
|
+
import"./index-ejbcpbzp.js";
|
|
14
|
+
import"./index-e1k9vpqn.js";
|
|
15
|
+
import"./index-6nzmp937.js";
|
|
16
|
+
import"./index-nrx08gcr.js";
|
|
17
17
|
import"./index-y8552snf.js";
|
|
18
18
|
import"./index-4905hd2m.js";
|
|
19
19
|
import"./index-134d35c1.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
20
|
+
import"./index-pg84msyc.js";
|
|
21
|
+
import"./index-0e95eck5.js";
|
|
22
|
+
import"./index-9cdj4020.js";
|
|
23
23
|
import"./index-6mjf4vr1.js";
|
|
24
24
|
import"./index-c8s9a3zh.js";
|
|
25
25
|
import"./index-9ss2m4rs.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
26
|
+
import"./index-0xkjhgrf.js";
|
|
27
|
+
import"./index-xmhhhjjw.js";
|
|
28
|
+
import"./index-556ja8an.js";
|
|
29
|
+
import"./index-6rxgb5r9.js";
|
|
30
|
+
import"./index-1kyex7z2.js";
|
|
31
|
+
import"./index-b8zgtz81.js";
|
|
32
|
+
import"./index-6z0a940s.js";
|
|
33
|
+
import"./index-j77frjq8.js";
|
|
34
|
+
import"./index-k46me75h.js";
|
|
35
|
+
import"./index-ee3x66a5.js";
|
|
36
|
+
import"./index-74hpm6sh.js";
|
|
37
|
+
import"./index-5z2xps64.js";
|
|
38
|
+
import"./index-8fwhhayc.js";
|
|
39
|
+
import"./index-q1exe2b3.js";
|
|
40
|
+
import"./index-jnfyxeap.js";
|
|
41
|
+
import"./index-5azdnaty.js";
|
|
30
42
|
import"./index-rtry5xyf.js";
|
|
31
43
|
import {
|
|
32
44
|
resolveHiveKnowledgePath
|
|
33
|
-
} from "./index-
|
|
34
|
-
import"./index-
|
|
45
|
+
} from "./index-6vh6vrnk.js";
|
|
46
|
+
import"./index-k41dn8me.js";
|
|
35
47
|
import"./index-ae75rja9.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
48
|
+
import"./index-33skgk1a.js";
|
|
49
|
+
import"./index-6r522srn.js";
|
|
50
|
+
import"./index-ed5ykebp.js";
|
|
51
|
+
import"./index-s0qc4gj6.js";
|
|
52
|
+
import"./index-7g4c7s5r.js";
|
|
53
|
+
import"./index-4nt52yr9.js";
|
|
54
|
+
import"./index-s58vghgj.js";
|
|
39
55
|
import"./index-gprxjmm7.js";
|
|
40
56
|
import"./index-n832052r.js";
|
|
41
|
-
import"./index-8p9pasnp.js";
|
|
42
|
-
import"./index-bk5tah7q.js";
|
|
43
|
-
import"./index-8fwhhayc.js";
|
|
44
|
-
import"./index-q1exe2b3.js";
|
|
45
|
-
import"./index-5zyk8qgv.js";
|
|
46
|
-
import"./index-3eddtgxt.js";
|
|
47
|
-
import"./index-556ja8an.js";
|
|
48
|
-
import"./index-4xbyy6aw.js";
|
|
49
57
|
import"./index-1kz6da87.js";
|
|
50
|
-
import"./index-q7ezzgwq.js";
|
|
51
|
-
import"./index-b8zgtz81.js";
|
|
52
|
-
import"./index-a12906mj.js";
|
|
53
58
|
import"./index-4rhhvd1a.js";
|
|
54
|
-
import"./index-3jcyn8g6.js";
|
|
55
|
-
import"./index-prmb5qfp.js";
|
|
56
|
-
import"./index-x9q4bbhd.js";
|
|
57
|
-
import"./index-ed5ykebp.js";
|
|
58
|
-
import"./index-5j6chvj8.js";
|
|
59
|
-
import"./index-7g4c7s5r.js";
|
|
60
|
-
import"./index-a5eba0t8.js";
|
|
61
|
-
import"./index-bpmtbmy9.js";
|
|
62
|
-
import"./index-z6xqpmqg.js";
|
|
63
|
-
import"./index-zjygnfay.js";
|
|
64
|
-
import"./index-y111zefa.js";
|
|
65
59
|
import"./index-zgwm4ryv.js";
|
|
60
|
+
import"./index-5s23pfsy.js";
|
|
61
|
+
import"./index-4wjk296r.js";
|
|
62
|
+
import"./index-zjygnfay.js";
|
|
63
|
+
import"./index-bk5tah7q.js";
|
|
64
|
+
import"./index-rsrx77fg.js";
|
|
65
|
+
import"./index-bpmtbmy9.js";
|
|
66
66
|
import"./index-a76rekgs.js";
|
|
67
67
|
export {
|
|
68
68
|
resolveHiveKnowledgePath,
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-6vh6vrnk.js";
|
|
10
10
|
import {
|
|
11
11
|
countEntryContradictionsInWindow,
|
|
12
12
|
countEntryViolationsInWindow,
|
|
13
13
|
readKnowledgeEvents,
|
|
14
14
|
recordKnowledgeEvent
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-k41dn8me.js";
|
|
16
16
|
import {
|
|
17
17
|
init_knowledge_types,
|
|
18
18
|
isActiveStatus
|
|
@@ -190,11 +190,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
190
190
|
alreadyInactive: true
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
193
|
+
const { quarantineEntry } = await import("./knowledge-validator-5hgacnrf.js");
|
|
194
194
|
let policyConfig;
|
|
195
195
|
try {
|
|
196
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
197
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
196
|
+
const { KnowledgeConfigSchema } = await import("./schema-y1zekrag.js");
|
|
197
|
+
const { loadPluginConfigWithMeta } = await import("./index-vfsqpcz6.js");
|
|
198
198
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
199
199
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
200
200
|
} catch {
|