opencode-swarm 7.144.0 → 7.144.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.
- package/dist/agents/architect.d.ts +64 -0
- package/dist/cli/{config-doctor-7gy47evn.js → config-doctor-5hj26phk.js} +2 -2
- package/dist/cli/{core-cpcspaw5.js → core-aqtegsag.js} +1 -1
- package/dist/cli/{curator-llm-factory-fyjmgxyp.js → curator-llm-factory-1rg62kzr.js} +17 -17
- package/dist/cli/{curator-v97jnwn2.js → curator-vcrcht4h.js} +17 -17
- package/dist/cli/{evidence-summary-service-79mtxzhd.js → evidence-summary-service-fsh6jfhm.js} +6 -6
- package/dist/cli/{gate-evidence-kgyqz1g1.js → gate-evidence-9w2eehnj.js} +2 -2
- package/dist/cli/{guardrail-explain-9ry66z5g.js → guardrail-explain-6mxn4bj8.js} +18 -18
- package/dist/cli/{guardrail-log-fe6smme1.js → guardrail-log-81c5b018.js} +3 -3
- package/dist/cli/{hive-promoter-vwq1dbh1.js → hive-promoter-rxkykddk.js} +17 -17
- package/dist/cli/{index-3v3dxf75.js → index-1faydhv8.js} +3 -3
- package/dist/cli/{index-tfkfyshg.js → index-2ht8c7ew.js} +1 -1
- package/dist/cli/{index-mw6p3nt6.js → index-2pmaxbvj.js} +1 -1
- package/dist/cli/{index-ewzmjm7m.js → index-315tnsve.js} +1 -1
- package/dist/cli/{index-6p09gyra.js → index-4s5htbgq.js} +1 -1
- package/dist/cli/{index-8xertnqz.js → index-8gs34d2q.js} +3 -3
- package/dist/cli/{index-1pr8x10a.js → index-8jrn4rwp.js} +2 -2
- package/dist/cli/{index-0ck3e366.js → index-bgdr1ww3.js} +1 -1
- package/dist/cli/{index-jqabjy7t.js → index-c3zag2cw.js} +4 -4
- package/dist/cli/{index-269b52r3.js → index-dq26vbfp.js} +3 -3
- package/dist/cli/{index-j1scj25g.js → index-e9w1tfmm.js} +45 -45
- package/dist/cli/{index-zv4pwyas.js → index-f79hf8dr.js} +2 -2
- package/dist/cli/{index-vb9cpaz4.js → index-g0vr2a4m.js} +5 -5
- package/dist/cli/{index-e70d3xr7.js → index-hc25qawy.js} +19 -19
- package/dist/cli/{index-d45yrzkg.js → index-j2eb0x44.js} +1 -1
- package/dist/cli/{index-3q9w6e6v.js → index-j3byg0a9.js} +1 -1
- package/dist/cli/{index-evvbmbbv.js → index-mz1zwz96.js} +1 -1
- package/dist/cli/{index-rd2082y4.js → index-n11zkp9g.js} +2 -2
- package/dist/cli/{index-d45d4zyq.js → index-rdb3nr6d.js} +1 -1
- package/dist/cli/{index-ez18gjk2.js → index-rr2fjfsd.js} +3 -3
- package/dist/cli/{index-jvbfrwt2.js → index-sqp6349j.js} +1 -1
- package/dist/cli/index.js +17 -17
- package/dist/cli/{knowledge-escalator-rmy3jcx4.js → knowledge-escalator-hg4jzbrx.js} +6 -6
- package/dist/cli/{knowledge-events-1tqpbwvj.js → knowledge-events-wgy7gbct.js} +4 -4
- package/dist/cli/{knowledge-store-389ck792.js → knowledge-store-nd0f0e86.js} +1 -1
- package/dist/cli/{knowledge-validator-kvtk6633.js → knowledge-validator-0ar015bf.js} +2 -2
- package/dist/cli/{scan-cursor-ahgm4f5p.js → scan-cursor-pqp3bsqv.js} +2 -2
- package/dist/cli/{schema-epdq7ykx.js → schema-4ew49zrv.js} +1 -1
- package/dist/cli/{scope-persistence-37s9n40v.js → scope-persistence-geth2hb1.js} +4 -4
- package/dist/cli/{skill-generator-4d2t5gem.js → skill-generator-8azm6p2y.js} +7 -7
- package/dist/cli/{worktree-isolation-4628yaka.js → worktree-isolation-cqxgdk2p.js} +17 -17
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -6,6 +6,70 @@ export interface AgentDefinition {
|
|
|
6
6
|
description?: string;
|
|
7
7
|
config: AgentConfig;
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* HARDENING BLOCK INVENTORY (v6.14)
|
|
11
|
+
*
|
|
12
|
+
* This prompt contains the following hardening sections that were added to prevent
|
|
13
|
+
* common failure modes and ensure consistent high-quality code delivery:
|
|
14
|
+
*
|
|
15
|
+
* 1. Rule 1 (lines ~64-71): DELEGATE all coding - unified canonical statement with YOUR TOOLS/CODER'S TOOLS
|
|
16
|
+
* 2. Namespace Rule (lines ~57-62): Phase vs Mode disambiguation
|
|
17
|
+
* 3. Batch/Split Rules (lines ~68-83): One agent per message, one task per call
|
|
18
|
+
* 4. ARCHITECT CODING BOUNDARIES (lines ~84-100): Self-coding after failures with 5 rationalization bullets
|
|
19
|
+
* 5. Memory Rule (line ~101): Never store swarm identity in memory blocks
|
|
20
|
+
* 6. CRITIC GATE (lines ~102-107): Plan review before implementation
|
|
21
|
+
* 7. MANDATORY QA GATE (lines ~108-165):
|
|
22
|
+
* - Stage A: Automated tool gates (diff → syntax_check → placeholder_scan → imports → lint → build_check → pre_check_batch)
|
|
23
|
+
* - Stage B: Agent review gates (reviewer → security reviewer → test_engineer)
|
|
24
|
+
* - ANTI-EXEMPTION RULES: 8 "WRONG thoughts" to ignore
|
|
25
|
+
* - PARTIAL GATE RATIONALIZATIONS: 6 "WRONG thoughts" to ignore
|
|
26
|
+
* - COVERAGE CHECK: 70% threshold for test coverage
|
|
27
|
+
* - UI/UX DESIGN GATE: Designer before coder for UI tasks
|
|
28
|
+
* - RETROSPECTIVE TRACKING: Phase metrics in context.md
|
|
29
|
+
* - CHECKPOINTS: Save/restore for multi-file refactors
|
|
30
|
+
* 8. SECURITY_KEYWORDS (line ~178): List of security-sensitive terms for auto-detection
|
|
31
|
+
*
|
|
32
|
+
* These hardening blocks work together to ensure:
|
|
33
|
+
* - All code changes go through proper review and testing
|
|
34
|
+
* - No bypass of QA gates regardless of perceived complexity
|
|
35
|
+
* - Security issues are caught automatically
|
|
36
|
+
* - Context is preserved across agent delegations
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* PROMPT BUDGET — CI regression ceiling for the rendered architect prompt
|
|
40
|
+
* (issue #1649).
|
|
41
|
+
*
|
|
42
|
+
* The built-in `ARCHITECT_PROMPT` grows with every hardening block and opt-in
|
|
43
|
+
* feature block (council, architectural supervision, design docs, skills,
|
|
44
|
+
* turbo, adversarial testing). Before this guard existed, the prompt grew from
|
|
45
|
+
* ~104K chars (measured 2026-07-02 when #1649 was filed) to ~129K default /
|
|
46
|
+
* ~149K with every opt-in feature enabled — a ~25% increase in six weeks with
|
|
47
|
+
* zero CI signal, because existing tests only assert LOWER bounds
|
|
48
|
+
* (`toBeGreaterThan(100000)` in tests/unit/agents/architect-adversarial.test.ts).
|
|
49
|
+
*
|
|
50
|
+
* `tests/unit/agents/architect-prompt-budget.test.ts` fails when any rendered
|
|
51
|
+
* built-in prompt exceeds this ceiling. At ~4 chars/token, 160K chars is
|
|
52
|
+
* ~40K tokens of system prompt — already a large share of a 128K-token
|
|
53
|
+
* context window.
|
|
54
|
+
*
|
|
55
|
+
* Baseline at introduction (2026-08): default render ≈ 129K chars; all opt-in
|
|
56
|
+
* features enabled ≈ 149K chars. The ceiling intentionally leaves only ~7%
|
|
57
|
+
* headroom above the heaviest configuration: raising it requires justifying
|
|
58
|
+
* the growth in the PR that needs it and updating the baseline above.
|
|
59
|
+
*
|
|
60
|
+
* This bound applies ONLY to the built-in prompt. User-supplied
|
|
61
|
+
* `customPrompt`/`customAppendPrompt` values are exempt (they are validated
|
|
62
|
+
* for placeholders, not size — a user may legitimately paste a large prompt).
|
|
63
|
+
*
|
|
64
|
+
* Naming: this is named `ARCHITECT_PROMPT_BUDGET_CHARS`, NOT `MAX_*`, to
|
|
65
|
+
* distinguish it from the runtime-enforced `MAX_PROMPT_CHARS` in
|
|
66
|
+
* `src/tools/dispatch-lanes.ts` (which has Zod `.max()` + runtime length
|
|
67
|
+
* checks). This constant is a TEST-TIME budget guard only — production
|
|
68
|
+
* code does not enforce it. Same role, different scope: the dispatch-lanes
|
|
69
|
+
* constant bounds a runtime-composed prompt payload; this one bounds CI
|
|
70
|
+
* regression of a built-in source string.
|
|
71
|
+
*/
|
|
72
|
+
export declare const ARCHITECT_PROMPT_BUDGET_CHARS = 160000;
|
|
9
73
|
export interface AdversarialTestingConfig {
|
|
10
74
|
enabled: boolean;
|
|
11
75
|
scope: 'all' | 'security-only';
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
shouldRunOnStartup,
|
|
13
13
|
writeBackupArtifact,
|
|
14
14
|
writeDoctorArtifact
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-mz1zwz96.js";
|
|
16
|
+
import"./index-j3byg0a9.js";
|
|
17
17
|
import"./index-jqsfsqbx.js";
|
|
18
18
|
import"./index-z6xqpmqg.js";
|
|
19
19
|
import"./index-zjygnfay.js";
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
createCuratorLLMDelegate
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
4
|
+
} from "./index-e9w1tfmm.js";
|
|
5
|
+
import"./index-j2eb0x44.js";
|
|
6
|
+
import"./index-mz1zwz96.js";
|
|
7
|
+
import"./index-1faydhv8.js";
|
|
8
8
|
import"./index-134d35c1.js";
|
|
9
9
|
import"./index-b6e016tv.js";
|
|
10
10
|
import"./index-4q9vfav6.js";
|
|
11
11
|
import"./index-k92cagmt.js";
|
|
12
12
|
import"./index-y8552snf.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-2pmaxbvj.js";
|
|
14
14
|
import"./index-xmzmeknp.js";
|
|
15
15
|
import"./index-c8s9a3zh.js";
|
|
16
16
|
import"./index-9ss2m4rs.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-sqp6349j.js";
|
|
18
18
|
import"./index-74hpm6sh.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
19
|
+
import"./index-dq26vbfp.js";
|
|
20
|
+
import"./index-g0vr2a4m.js";
|
|
21
|
+
import"./index-f79hf8dr.js";
|
|
22
|
+
import"./index-bgdr1ww3.js";
|
|
23
23
|
import"./index-556ja8an.js";
|
|
24
24
|
import"./index-gdd4jt6b.js";
|
|
25
25
|
import"./index-zsrtt42s.js";
|
|
26
26
|
import"./index-k3cxyk66.js";
|
|
27
27
|
import"./index-4fda8kkw.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-2ht8c7ew.js";
|
|
29
29
|
import"./index-8fwhhayc.js";
|
|
30
30
|
import"./index-q1exe2b3.js";
|
|
31
31
|
import"./index-7sy3aa9m.js";
|
|
32
32
|
import"./index-4905hd2m.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-rr2fjfsd.js";
|
|
34
|
+
import"./index-8jrn4rwp.js";
|
|
35
35
|
import"./index-gprxjmm7.js";
|
|
36
36
|
import"./index-n832052r.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
import"./index-rdb3nr6d.js";
|
|
38
|
+
import"./index-j3byg0a9.js";
|
|
39
39
|
import"./index-rn0eq85g.js";
|
|
40
40
|
import"./index-4rhhvd1a.js";
|
|
41
41
|
import"./index-jqsfsqbx.js";
|
|
42
42
|
import"./index-z6xqpmqg.js";
|
|
43
43
|
import"./index-zjygnfay.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-315tnsve.js";
|
|
45
45
|
import"./index-tq5s07ta.js";
|
|
46
46
|
import"./index-rtry5xyf.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-c3zag2cw.js";
|
|
48
48
|
import"./index-ae75rja9.js";
|
|
49
49
|
import"./index-w7x7qxz2.js";
|
|
50
50
|
import"./index-erfnw81g.js";
|
|
@@ -14,50 +14,50 @@ import {
|
|
|
14
14
|
runCuratorInit,
|
|
15
15
|
runCuratorPhase,
|
|
16
16
|
writeCuratorSummary
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
} from "./index-e9w1tfmm.js";
|
|
18
|
+
import"./index-j2eb0x44.js";
|
|
19
|
+
import"./index-mz1zwz96.js";
|
|
20
|
+
import"./index-1faydhv8.js";
|
|
21
21
|
import"./index-134d35c1.js";
|
|
22
22
|
import"./index-b6e016tv.js";
|
|
23
23
|
import"./index-4q9vfav6.js";
|
|
24
24
|
import"./index-k92cagmt.js";
|
|
25
25
|
import"./index-y8552snf.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-2pmaxbvj.js";
|
|
27
27
|
import"./index-xmzmeknp.js";
|
|
28
28
|
import"./index-c8s9a3zh.js";
|
|
29
29
|
import"./index-9ss2m4rs.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-sqp6349j.js";
|
|
31
31
|
import"./index-74hpm6sh.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
32
|
+
import"./index-dq26vbfp.js";
|
|
33
|
+
import"./index-g0vr2a4m.js";
|
|
34
|
+
import"./index-f79hf8dr.js";
|
|
35
|
+
import"./index-bgdr1ww3.js";
|
|
36
36
|
import"./index-556ja8an.js";
|
|
37
37
|
import"./index-gdd4jt6b.js";
|
|
38
38
|
import"./index-zsrtt42s.js";
|
|
39
39
|
import"./index-k3cxyk66.js";
|
|
40
40
|
import"./index-4fda8kkw.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-2ht8c7ew.js";
|
|
42
42
|
import"./index-8fwhhayc.js";
|
|
43
43
|
import"./index-q1exe2b3.js";
|
|
44
44
|
import"./index-7sy3aa9m.js";
|
|
45
45
|
import"./index-4905hd2m.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
46
|
+
import"./index-rr2fjfsd.js";
|
|
47
|
+
import"./index-8jrn4rwp.js";
|
|
48
48
|
import"./index-gprxjmm7.js";
|
|
49
49
|
import"./index-n832052r.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
50
|
+
import"./index-rdb3nr6d.js";
|
|
51
|
+
import"./index-j3byg0a9.js";
|
|
52
52
|
import"./index-rn0eq85g.js";
|
|
53
53
|
import"./index-4rhhvd1a.js";
|
|
54
54
|
import"./index-jqsfsqbx.js";
|
|
55
55
|
import"./index-z6xqpmqg.js";
|
|
56
56
|
import"./index-zjygnfay.js";
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-315tnsve.js";
|
|
58
58
|
import"./index-tq5s07ta.js";
|
|
59
59
|
import"./index-rtry5xyf.js";
|
|
60
|
-
import"./index-
|
|
60
|
+
import"./index-c3zag2cw.js";
|
|
61
61
|
import"./index-ae75rja9.js";
|
|
62
62
|
import"./index-w7x7qxz2.js";
|
|
63
63
|
import"./index-erfnw81g.js";
|
package/dist/cli/{evidence-summary-service-79mtxzhd.js → evidence-summary-service-fsh6jfhm.js}
RENAMED
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
loadPlanJsonOnly,
|
|
7
7
|
mergeDurableGateEntriesFromEvidence,
|
|
8
8
|
readDurableGateEvidence
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-1faydhv8.js";
|
|
10
10
|
import"./index-134d35c1.js";
|
|
11
11
|
import"./index-k92cagmt.js";
|
|
12
12
|
import"./index-y8552snf.js";
|
|
13
13
|
import"./index-9ss2m4rs.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-sqp6349j.js";
|
|
15
|
+
import"./index-bgdr1ww3.js";
|
|
16
16
|
import"./index-556ja8an.js";
|
|
17
17
|
import"./index-zsrtt42s.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-2ht8c7ew.js";
|
|
19
19
|
import"./index-q1exe2b3.js";
|
|
20
20
|
import"./index-gprxjmm7.js";
|
|
21
21
|
import"./index-n832052r.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-rdb3nr6d.js";
|
|
23
|
+
import"./index-j3byg0a9.js";
|
|
24
24
|
import"./index-rn0eq85g.js";
|
|
25
25
|
import"./index-4rhhvd1a.js";
|
|
26
26
|
import"./index-jqsfsqbx.js";
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
reduceTaskWorkflowSnapshot,
|
|
18
18
|
transitionTaskWorkflowEvidence,
|
|
19
19
|
withTaskEvidenceTransaction
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-sqp6349j.js";
|
|
21
21
|
import"./index-556ja8an.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-2ht8c7ew.js";
|
|
23
23
|
import"./index-rn0eq85g.js";
|
|
24
24
|
import"./index-4rhhvd1a.js";
|
|
25
25
|
import"./index-jqsfsqbx.js";
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
4
|
+
} from "./index-n11zkp9g.js";
|
|
5
|
+
import"./index-e9w1tfmm.js";
|
|
6
|
+
import"./index-j2eb0x44.js";
|
|
7
|
+
import"./index-mz1zwz96.js";
|
|
8
|
+
import"./index-1faydhv8.js";
|
|
9
9
|
import"./index-134d35c1.js";
|
|
10
10
|
import"./index-b6e016tv.js";
|
|
11
11
|
import"./index-4q9vfav6.js";
|
|
12
12
|
import"./index-k92cagmt.js";
|
|
13
13
|
import"./index-y8552snf.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-2pmaxbvj.js";
|
|
15
15
|
import"./index-xmzmeknp.js";
|
|
16
16
|
import"./index-c8s9a3zh.js";
|
|
17
17
|
import"./index-9ss2m4rs.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-sqp6349j.js";
|
|
19
19
|
import"./index-74hpm6sh.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
20
|
+
import"./index-dq26vbfp.js";
|
|
21
|
+
import"./index-g0vr2a4m.js";
|
|
22
|
+
import"./index-f79hf8dr.js";
|
|
23
|
+
import"./index-bgdr1ww3.js";
|
|
24
24
|
import"./index-556ja8an.js";
|
|
25
25
|
import"./index-gdd4jt6b.js";
|
|
26
26
|
import"./index-zsrtt42s.js";
|
|
27
27
|
import"./index-k3cxyk66.js";
|
|
28
28
|
import"./index-4fda8kkw.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-2ht8c7ew.js";
|
|
30
30
|
import"./index-8fwhhayc.js";
|
|
31
31
|
import"./index-q1exe2b3.js";
|
|
32
32
|
import"./index-7sy3aa9m.js";
|
|
33
33
|
import"./index-4905hd2m.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-rr2fjfsd.js";
|
|
35
|
+
import"./index-8jrn4rwp.js";
|
|
36
36
|
import"./index-gprxjmm7.js";
|
|
37
37
|
import"./index-n832052r.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-rdb3nr6d.js";
|
|
39
|
+
import"./index-j3byg0a9.js";
|
|
40
40
|
import"./index-rn0eq85g.js";
|
|
41
41
|
import"./index-4rhhvd1a.js";
|
|
42
42
|
import"./index-jqsfsqbx.js";
|
|
43
43
|
import"./index-z6xqpmqg.js";
|
|
44
44
|
import"./index-zjygnfay.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-315tnsve.js";
|
|
46
46
|
import"./index-tq5s07ta.js";
|
|
47
47
|
import"./index-rtry5xyf.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-c3zag2cw.js";
|
|
49
49
|
import"./index-ae75rja9.js";
|
|
50
50
|
import"./index-w7x7qxz2.js";
|
|
51
51
|
import"./index-erfnw81g.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-4s5htbgq.js";
|
|
5
|
+
import"./index-j2eb0x44.js";
|
|
6
6
|
import"./index-556ja8an.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-j3byg0a9.js";
|
|
8
8
|
import"./index-jqsfsqbx.js";
|
|
9
9
|
import"./index-z6xqpmqg.js";
|
|
10
10
|
import"./index-zjygnfay.js";
|
|
@@ -7,52 +7,52 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
} from "./index-e9w1tfmm.js";
|
|
11
|
+
import"./index-j2eb0x44.js";
|
|
12
|
+
import"./index-mz1zwz96.js";
|
|
13
|
+
import"./index-1faydhv8.js";
|
|
14
14
|
import"./index-134d35c1.js";
|
|
15
15
|
import"./index-b6e016tv.js";
|
|
16
16
|
import"./index-4q9vfav6.js";
|
|
17
17
|
import"./index-k92cagmt.js";
|
|
18
18
|
import"./index-y8552snf.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-2pmaxbvj.js";
|
|
20
20
|
import"./index-xmzmeknp.js";
|
|
21
21
|
import"./index-c8s9a3zh.js";
|
|
22
22
|
import"./index-9ss2m4rs.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-sqp6349j.js";
|
|
24
24
|
import"./index-74hpm6sh.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
25
|
+
import"./index-dq26vbfp.js";
|
|
26
|
+
import"./index-g0vr2a4m.js";
|
|
27
|
+
import"./index-f79hf8dr.js";
|
|
28
|
+
import"./index-bgdr1ww3.js";
|
|
29
29
|
import"./index-556ja8an.js";
|
|
30
30
|
import"./index-gdd4jt6b.js";
|
|
31
31
|
import"./index-zsrtt42s.js";
|
|
32
32
|
import"./index-k3cxyk66.js";
|
|
33
33
|
import"./index-4fda8kkw.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-2ht8c7ew.js";
|
|
35
35
|
import"./index-8fwhhayc.js";
|
|
36
36
|
import"./index-q1exe2b3.js";
|
|
37
37
|
import"./index-7sy3aa9m.js";
|
|
38
38
|
import"./index-4905hd2m.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-rr2fjfsd.js";
|
|
40
|
+
import"./index-8jrn4rwp.js";
|
|
41
41
|
import"./index-gprxjmm7.js";
|
|
42
42
|
import"./index-n832052r.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
43
|
+
import"./index-rdb3nr6d.js";
|
|
44
|
+
import"./index-j3byg0a9.js";
|
|
45
45
|
import"./index-rn0eq85g.js";
|
|
46
46
|
import"./index-4rhhvd1a.js";
|
|
47
47
|
import"./index-jqsfsqbx.js";
|
|
48
48
|
import"./index-z6xqpmqg.js";
|
|
49
49
|
import"./index-zjygnfay.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-315tnsve.js";
|
|
51
51
|
import"./index-tq5s07ta.js";
|
|
52
52
|
import"./index-rtry5xyf.js";
|
|
53
53
|
import {
|
|
54
54
|
resolveHiveKnowledgePath
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-c3zag2cw.js";
|
|
56
56
|
import"./index-ae75rja9.js";
|
|
57
57
|
import"./index-w7x7qxz2.js";
|
|
58
58
|
import"./index-erfnw81g.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
readTaskEvidence,
|
|
16
16
|
readTaskEvidenceRaw,
|
|
17
17
|
sanitizeTaskId
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-sqp6349j.js";
|
|
19
19
|
import {
|
|
20
20
|
LedgerStaleWriterError,
|
|
21
21
|
appendLedgerEvent,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
replayFromLedgerWithStatus,
|
|
36
36
|
takeSnapshotEvent,
|
|
37
37
|
takeSnapshotWithRetry
|
|
38
|
-
} from "./index-
|
|
38
|
+
} from "./index-bgdr1ww3.js";
|
|
39
39
|
import {
|
|
40
40
|
getWorktreeMergeFailure
|
|
41
41
|
} from "./index-zsrtt42s.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
} from "./index-gprxjmm7.js";
|
|
54
54
|
import {
|
|
55
55
|
PlanSchema
|
|
56
|
-
} from "./index-
|
|
56
|
+
} from "./index-rdb3nr6d.js";
|
|
57
57
|
import {
|
|
58
58
|
readSwarmFileAsync,
|
|
59
59
|
validateSwarmPath
|
|
@@ -86,7 +86,7 @@ var _internals = {
|
|
|
86
86
|
symlinkSync: fs.symlinkSync
|
|
87
87
|
},
|
|
88
88
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
89
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
89
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-geth2hb1.js");
|
|
90
90
|
return realWrite(directory, taskId, files);
|
|
91
91
|
},
|
|
92
92
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-8jrn4rwp.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
loadPluginConfig,
|
|
43
43
|
loadPluginConfigWithMeta,
|
|
44
44
|
loadPluginConfigWithMetaAsync
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-rdb3nr6d.js";
|
|
46
46
|
import {
|
|
47
47
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
48
48
|
AgentOverrideConfigSchema,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
TurboConfigSchema,
|
|
65
65
|
WorktreeIsolationConfigSchema,
|
|
66
66
|
resolveAutoReviewConfig
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-j3byg0a9.js";
|
|
68
68
|
import"./index-4rhhvd1a.js";
|
|
69
69
|
import {
|
|
70
70
|
ALL_AGENT_NAMES,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-rdb3nr6d.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-j3byg0a9.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -709,7 +709,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
709
709
|
const {
|
|
710
710
|
readAuthoritativeKnowledgeCounterRollups,
|
|
711
711
|
effectiveRetrievalOutcomes
|
|
712
|
-
} = await import("./knowledge-events-
|
|
712
|
+
} = await import("./knowledge-events-wgy7gbct.js");
|
|
713
713
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
714
714
|
const flagIds = new Set;
|
|
715
715
|
for (const e of atFloor) {
|
|
@@ -776,11 +776,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
776
776
|
});
|
|
777
777
|
}
|
|
778
778
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
779
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
780
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
779
|
+
const { quarantineEntry } = await import("./knowledge-validator-0ar015bf.js");
|
|
780
|
+
const { KnowledgeConfigSchema } = await import("./schema-4ew49zrv.js");
|
|
781
781
|
let config;
|
|
782
782
|
try {
|
|
783
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
783
|
+
const { loadPluginConfigWithMeta } = await import("./index-8gs34d2q.js");
|
|
784
784
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
785
785
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
786
786
|
} catch {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
effectiveRetrievalOutcomes,
|
|
4
4
|
readAuthoritativeKnowledgeCounterRollups
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-rr2fjfsd.js";
|
|
6
6
|
import {
|
|
7
7
|
advisoryWarn,
|
|
8
8
|
init_warning_buffer
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
12
12
|
validateSkillPath
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-315tnsve.js";
|
|
14
14
|
import {
|
|
15
15
|
computeOutcomeSignal,
|
|
16
16
|
readKnowledge,
|
|
17
17
|
resolveHiveKnowledgePath,
|
|
18
18
|
resolveSwarmKnowledgePath,
|
|
19
19
|
transactKnowledge
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-c3zag2cw.js";
|
|
21
21
|
import {
|
|
22
22
|
init_knowledge_types,
|
|
23
23
|
isActiveStatus
|