opencode-swarm 7.138.1 → 7.138.3
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/swarm-pr-review/SKILL.md +5 -1
- package/dist/background/candidate-contract.d.ts +31 -0
- package/dist/background/pending-delegations.d.ts +7 -0
- package/dist/background/pr-review-trigger-contract.d.ts +38 -1
- package/dist/cli/{config-doctor-m79sx8b2.js → config-doctor-2mwgdbsn.js} +2 -2
- package/dist/cli/{curation-policy-dkx4s5va.js → curation-policy-5dqexw5j.js} +2 -2
- package/dist/cli/{curator-jjf5x6bn.js → curator-jjtp9hn2.js} +13 -13
- package/dist/cli/{curator-llm-factory-sprc6pm3.js → curator-llm-factory-wkjme59b.js} +13 -13
- package/dist/cli/{guardrail-explain-zs3hq02c.js → guardrail-explain-xppwfnxr.js} +14 -14
- package/dist/cli/{guardrail-log-90dnv508.js → guardrail-log-swet7rch.js} +3 -3
- package/dist/cli/{hive-promoter-zkay2ffy.js → hive-promoter-xvq8jzbs.js} +13 -13
- package/dist/cli/{index-8xqnp3gw.js → index-1djv5684.js} +4 -4
- package/dist/cli/{index-vmff7b40.js → index-1v89yst3.js} +2 -2
- package/dist/cli/{index-e2eedz1b.js → index-31vfewmn.js} +1 -1
- package/dist/cli/{index-kqzzdxc1.js → index-93ky909v.js} +1 -1
- package/dist/cli/{index-mnw8g9bs.js → index-99af5gvd.js} +153 -56
- package/dist/cli/{index-e78pqbkj.js → index-ab57h0yq.js} +1 -1
- package/dist/cli/{index-navw2ezf.js → index-adde7nm2.js} +5 -5
- package/dist/cli/{index-vp3mwsd1.js → index-btx8j39p.js} +1 -1
- package/dist/cli/{index-5fdztrpt.js → index-gda7cwqz.js} +2 -2
- package/dist/cli/{index-mzqgtzxq.js → index-jhb8kjc5.js} +3 -3
- package/dist/cli/{index-06zw53mf.js → index-js7th5my.js} +1 -1
- package/dist/cli/{index-0s4gr6qh.js → index-q344kj84.js} +2 -1
- package/dist/cli/{index-aeyktf9q.js → index-rjratees.js} +1 -1
- package/dist/cli/{index-d4t92fa3.js → index-tc61fybd.js} +2 -2
- package/dist/cli/{index-9vvskh03.js → index-wqg74mwj.js} +1 -1
- package/dist/cli/{index-6f6nt0c9.js → index-xgmx9had.js} +15 -15
- package/dist/cli/{index-p7fn5byt.js → index-y6dvs5tt.js} +1 -1
- package/dist/cli/index.js +13 -13
- package/dist/cli/{knowledge-escalator-6y5x8vat.js → knowledge-escalator-7n384ys1.js} +3 -3
- package/dist/cli/{knowledge-events-bnr4weyn.js → knowledge-events-yaj0yjd6.js} +1 -1
- package/dist/cli/{knowledge-store-4mcmb2rj.js → knowledge-store-d99k0z2d.js} +1 -1
- package/dist/cli/{knowledge-validator-pf377mtx.js → knowledge-validator-e5fqy9h4.js} +4 -4
- package/dist/cli/{pending-delegations-ztb67amh.js → pending-delegations-7dbc0j2a.js} +1 -1
- package/dist/cli/{scan-cursor-we0561wc.js → scan-cursor-9y9msabt.js} +2 -2
- package/dist/cli/{schema-1xtxr4d9.js → schema-xg5f11md.js} +1 -1
- package/dist/cli/{skill-generator-kns0dae2.js → skill-generator-arvwfdfh.js} +5 -5
- package/dist/cli/{worktree-collision-ownership-rc6pe17g.js → worktree-collision-ownership-hjrt5hx2.js} +1 -1
- package/dist/hooks/pr-workflow-gate.d.ts +41 -1
- package/dist/index.js +24 -11
- package/dist/tools/dispatch-lanes.d.ts +7 -0
- package/dist/tools/write-pr-review-trigger-eval.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1057,7 +1057,11 @@ the complete ledger with `write_pr_review_trigger_eval`; its rows use the stable
|
|
|
1057
1057
|
trigger IDs below. Every `MATCHED` row includes its returned `source_batch_id`
|
|
1058
1058
|
and `source_lane_id`; every `NOT_TRIGGERED` row must omit both fields. Missing,
|
|
1059
1059
|
extra, duplicate, malformed, or incorrectly provenanced rows make persistence
|
|
1060
|
-
fail and Phase 4 BLOCKED.
|
|
1060
|
+
fail and Phase 4 BLOCKED. Evidence is frozen by the first micro dispatch and is
|
|
1061
|
+
authoritative thereafter. The final writer may omit its duplicate `evidence`
|
|
1062
|
+
fields; if it includes reworded evidence, the writer ignores that copy and
|
|
1063
|
+
persists the frozen values. It still requires the exact frozen classifications,
|
|
1064
|
+
plus provenance for every `MATCHED` row. The tool atomically writes
|
|
1061
1065
|
`.swarm/pr-review/<run_id>/trigger-eval.json`, separate from `findings.jsonl`;
|
|
1062
1066
|
pass the exact reviewed merge-base as `base_sha`, the exact live base branch
|
|
1063
1067
|
tip/ref used to compute it as `base_ref`, and the same `pr_head_sha` to the
|
|
@@ -43,6 +43,37 @@ export interface CandidateHeaderSelection {
|
|
|
43
43
|
export declare function selectCandidateHeader(lines: readonly string[]): CandidateHeaderSelection | null;
|
|
44
44
|
/** Remove fenced markdown blocks before any candidate-contract inspection. */
|
|
45
45
|
export declare function removeCandidateCodeFences(text: string): string;
|
|
46
|
+
export interface NormalizedCandidateArtifact {
|
|
47
|
+
/** Fence-stripped text, with a canonical header synthesized when salvageable. */
|
|
48
|
+
text: string;
|
|
49
|
+
/** True when a canonical header was supplied by this normalizer. */
|
|
50
|
+
synthesizedHeader: boolean;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Normalize a lane artifact ONCE so every consumer parses byte-identical text.
|
|
54
|
+
*
|
|
55
|
+
* Coverage validation and candidate-id extraction previously applied the header
|
|
56
|
+
* rule in two separate places, so a repair applied to one could not be seen by
|
|
57
|
+
* the other — a lane could be judged "covered" while contributing zero findings
|
|
58
|
+
* to the inventory. Both callers now route through this function.
|
|
59
|
+
*
|
|
60
|
+
* A missing header is repaired; a *wrong* or *late* header is not, so genuine
|
|
61
|
+
* contract violations still fail closed:
|
|
62
|
+
* - a leading canonical header (either family) is left alone, preserving
|
|
63
|
+
* `expected-family-mismatch`;
|
|
64
|
+
* - a canonical header that exists but does not lead is left alone, preserving
|
|
65
|
+
* "a later valid header cannot rescue a malformed first marker";
|
|
66
|
+
* - only a total absence of any canonical header, together with at least one
|
|
67
|
+
* valid marker-bearing row, is repaired.
|
|
68
|
+
*
|
|
69
|
+
* KNOWN RESIDUAL: the two row families are both nine fields and differ only in
|
|
70
|
+
* the meaning of positions 6 and 7 (`evidence_summary`/`impact_context` versus
|
|
71
|
+
* `invariant_violated`/`evidence_summary`), neither of which is structurally
|
|
72
|
+
* distinguishable. A headerless lane that emits the other family's field order
|
|
73
|
+
* is therefore repaired into the expected family and its two prose fields are
|
|
74
|
+
* transposed. Callers surface `synthesizedHeader` so this is auditable.
|
|
75
|
+
*/
|
|
76
|
+
export declare function normalizeCandidateArtifact(rawText: string, fallbackFamily: RowFormatFamily): NormalizedCandidateArtifact;
|
|
46
77
|
export type CandidateFieldName = (typeof CANDIDATE_FIELDS)[RowFormatFamily][number];
|
|
47
78
|
export interface CandidateFieldIssue {
|
|
48
79
|
field: CandidateFieldName | 'row';
|
|
@@ -141,6 +141,13 @@ export interface BackgroundDelegationResult {
|
|
|
141
141
|
outputArtifactError?: string;
|
|
142
142
|
transcriptIncomplete?: boolean;
|
|
143
143
|
messageCount?: number;
|
|
144
|
+
/**
|
|
145
|
+
* Workflow lanes whose discovery artifact was accepted only after repair — a
|
|
146
|
+
* synthesized canonical header, or valid rows retained beside malformed ones.
|
|
147
|
+
* Recorded on the durable ledger so a repaired lane stays distinguishable from
|
|
148
|
+
* a well-formed one after the fact, which is where post-mortems actually look.
|
|
149
|
+
*/
|
|
150
|
+
salvagedWorkflowLanes?: string[];
|
|
144
151
|
}
|
|
145
152
|
export interface BackgroundTerminalResult {
|
|
146
153
|
/** Stable identity derived from trusted correlation + immutable result metadata. */
|
|
@@ -125,8 +125,44 @@ export declare const PrReviewPersistedInputRowSchema: z.ZodDiscriminatedUnion<[z
|
|
|
125
125
|
result: z.ZodLiteral<"NOT_TRIGGERED">;
|
|
126
126
|
evidence: z.ZodString;
|
|
127
127
|
}, z.core.$strict>], "result">;
|
|
128
|
+
export declare const PrReviewWriterInputRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
129
|
+
trigger_id: z.ZodEnum<{
|
|
130
|
+
"auth-identity-secrets": "auth-identity-secrets";
|
|
131
|
+
"untrusted-input-boundaries": "untrusted-input-boundaries";
|
|
132
|
+
"subprocess-platform": "subprocess-platform";
|
|
133
|
+
"concurrency-state": "concurrency-state";
|
|
134
|
+
"dependencies-build-release": "dependencies-build-release";
|
|
135
|
+
"api-schema-migrations": "api-schema-migrations";
|
|
136
|
+
"test-infrastructure": "test-infrastructure";
|
|
137
|
+
"ui-accessibility-i18n": "ui-accessibility-i18n";
|
|
138
|
+
"privacy-observability": "privacy-observability";
|
|
139
|
+
"generated-provenance": "generated-provenance";
|
|
140
|
+
"unclassified-risk": "unclassified-risk";
|
|
141
|
+
}>;
|
|
142
|
+
result: z.ZodLiteral<"MATCHED">;
|
|
143
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
144
|
+
source_batch_id: z.ZodString;
|
|
145
|
+
source_lane_id: z.ZodString;
|
|
146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
147
|
+
trigger_id: z.ZodEnum<{
|
|
148
|
+
"auth-identity-secrets": "auth-identity-secrets";
|
|
149
|
+
"untrusted-input-boundaries": "untrusted-input-boundaries";
|
|
150
|
+
"subprocess-platform": "subprocess-platform";
|
|
151
|
+
"concurrency-state": "concurrency-state";
|
|
152
|
+
"dependencies-build-release": "dependencies-build-release";
|
|
153
|
+
"api-schema-migrations": "api-schema-migrations";
|
|
154
|
+
"test-infrastructure": "test-infrastructure";
|
|
155
|
+
"ui-accessibility-i18n": "ui-accessibility-i18n";
|
|
156
|
+
"privacy-observability": "privacy-observability";
|
|
157
|
+
"generated-provenance": "generated-provenance";
|
|
158
|
+
"unclassified-risk": "unclassified-risk";
|
|
159
|
+
}>;
|
|
160
|
+
result: z.ZodLiteral<"NOT_TRIGGERED">;
|
|
161
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
162
|
+
}, z.core.$strict>], "result">;
|
|
128
163
|
export type PrReviewInlineTriggerRow = z.infer<typeof PrReviewInlineTriggerRowSchema>;
|
|
129
164
|
export type PrReviewPersistedInputRow = z.infer<typeof PrReviewPersistedInputRowSchema>;
|
|
165
|
+
export type PrReviewWriterInputRow = z.infer<typeof PrReviewWriterInputRowSchema>;
|
|
130
166
|
interface ValidatedTriggerLedger<TRow> {
|
|
131
167
|
rows: TRow[];
|
|
132
168
|
matchedIds: PrReviewTriggerId[];
|
|
@@ -134,6 +170,7 @@ interface ValidatedTriggerLedger<TRow> {
|
|
|
134
170
|
}
|
|
135
171
|
export declare function validatePrReviewInlineTriggerLedger(input: unknown): ValidatedTriggerLedger<PrReviewInlineTriggerRow>;
|
|
136
172
|
export declare function validatePrReviewPersistedInputLedger(input: unknown): ValidatedTriggerLedger<PrReviewPersistedInputRow>;
|
|
173
|
+
export declare function validatePrReviewWriterInputLedger(input: unknown): ValidatedTriggerLedger<PrReviewWriterInputRow>;
|
|
137
174
|
export interface BuildPrReviewTriggerReceiptV2Args {
|
|
138
175
|
run_id: string;
|
|
139
176
|
pr_head_sha: string;
|
|
@@ -184,7 +221,7 @@ export interface ParsedPrReviewTriggerReceipt {
|
|
|
184
221
|
}>[];
|
|
185
222
|
}
|
|
186
223
|
/**
|
|
187
|
-
* Bind every micro dispatch
|
|
224
|
+
* Bind every micro dispatch to one semantic ledger at bind time.
|
|
188
225
|
* Callers pass rows after exact-set validation; the tuple representation makes
|
|
189
226
|
* the identity stable and independent of post-dispatch provenance fields.
|
|
190
227
|
*/
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
shouldRunOnStartup,
|
|
13
13
|
writeBackupArtifact,
|
|
14
14
|
writeDoctorArtifact
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-btx8j39p.js";
|
|
16
|
+
import"./index-ab57h0yq.js";
|
|
17
17
|
import"./index-bk5tah7q.js";
|
|
18
18
|
import"./index-3jcyn8g6.js";
|
|
19
19
|
import"./index-bpmtbmy9.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
authorizeCuration,
|
|
5
5
|
buildConfigFingerprintInput,
|
|
6
6
|
readCohortConfigFingerprint
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-wqg74mwj.js";
|
|
8
8
|
import"./index-rtry5xyf.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-93ky909v.js";
|
|
10
10
|
import"./index-ae75rja9.js";
|
|
11
11
|
import"./index-en4fb04r.js";
|
|
12
12
|
import"./index-tqshdzaw.js";
|
|
@@ -14,36 +14,36 @@ import {
|
|
|
14
14
|
runCuratorInit,
|
|
15
15
|
runCuratorPhase,
|
|
16
16
|
writeCuratorSummary
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-99af5gvd.js";
|
|
18
18
|
import"./index-vm4xw9z3.js";
|
|
19
19
|
import"./index-rrxcfxrd.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
import"./index-31vfewmn.js";
|
|
21
|
+
import"./index-btx8j39p.js";
|
|
22
22
|
import"./index-y06a43sk.js";
|
|
23
23
|
import"./index-ngqxzkqm.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-jhb8kjc5.js";
|
|
28
|
+
import"./index-adde7nm2.js";
|
|
29
|
+
import"./index-rjratees.js";
|
|
30
30
|
import"./index-6mjf4vr1.js";
|
|
31
31
|
import"./index-c8s9a3zh.js";
|
|
32
32
|
import"./index-9ss2m4rs.js";
|
|
33
33
|
import"./index-wsdnttf4.js";
|
|
34
34
|
import"./index-39k6y018.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
35
|
+
import"./index-tc61fybd.js";
|
|
36
|
+
import"./index-wqg74mwj.js";
|
|
37
37
|
import"./index-rtry5xyf.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-1djv5684.js";
|
|
39
|
+
import"./index-93ky909v.js";
|
|
40
40
|
import"./index-ae75rja9.js";
|
|
41
41
|
import"./index-en4fb04r.js";
|
|
42
42
|
import"./index-tqshdzaw.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-y6dvs5tt.js";
|
|
44
44
|
import"./index-gprxjmm7.js";
|
|
45
45
|
import"./index-n832052r.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-ab57h0yq.js";
|
|
47
47
|
import"./index-bk5tah7q.js";
|
|
48
48
|
import"./index-8fwhhayc.js";
|
|
49
49
|
import"./index-q1exe2b3.js";
|
|
@@ -56,7 +56,7 @@ import"./index-b8zgtz81.js";
|
|
|
56
56
|
import"./index-j0xx9wpj.js";
|
|
57
57
|
import"./index-4rhhvd1a.js";
|
|
58
58
|
import"./index-3jcyn8g6.js";
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-q344kj84.js";
|
|
60
60
|
import"./index-4qzeef9h.js";
|
|
61
61
|
import"./index-fsrp8wp3.js";
|
|
62
62
|
import"./index-xybtaph7.js";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
createCuratorLLMDelegate
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-99af5gvd.js";
|
|
5
5
|
import"./index-vm4xw9z3.js";
|
|
6
6
|
import"./index-rrxcfxrd.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
import"./index-31vfewmn.js";
|
|
8
|
+
import"./index-btx8j39p.js";
|
|
9
9
|
import"./index-y06a43sk.js";
|
|
10
10
|
import"./index-ngqxzkqm.js";
|
|
11
11
|
import"./index-y8552snf.js";
|
|
12
12
|
import"./index-4905hd2m.js";
|
|
13
13
|
import"./index-134d35c1.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
14
|
+
import"./index-jhb8kjc5.js";
|
|
15
|
+
import"./index-adde7nm2.js";
|
|
16
|
+
import"./index-rjratees.js";
|
|
17
17
|
import"./index-6mjf4vr1.js";
|
|
18
18
|
import"./index-c8s9a3zh.js";
|
|
19
19
|
import"./index-9ss2m4rs.js";
|
|
20
20
|
import"./index-wsdnttf4.js";
|
|
21
21
|
import"./index-39k6y018.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-tc61fybd.js";
|
|
23
|
+
import"./index-wqg74mwj.js";
|
|
24
24
|
import"./index-rtry5xyf.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
25
|
+
import"./index-1djv5684.js";
|
|
26
|
+
import"./index-93ky909v.js";
|
|
27
27
|
import"./index-ae75rja9.js";
|
|
28
28
|
import"./index-en4fb04r.js";
|
|
29
29
|
import"./index-tqshdzaw.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-y6dvs5tt.js";
|
|
31
31
|
import"./index-gprxjmm7.js";
|
|
32
32
|
import"./index-n832052r.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-ab57h0yq.js";
|
|
34
34
|
import"./index-bk5tah7q.js";
|
|
35
35
|
import"./index-8fwhhayc.js";
|
|
36
36
|
import"./index-q1exe2b3.js";
|
|
@@ -43,7 +43,7 @@ import"./index-b8zgtz81.js";
|
|
|
43
43
|
import"./index-j0xx9wpj.js";
|
|
44
44
|
import"./index-4rhhvd1a.js";
|
|
45
45
|
import"./index-3jcyn8g6.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-q344kj84.js";
|
|
47
47
|
import"./index-4qzeef9h.js";
|
|
48
48
|
import"./index-fsrp8wp3.js";
|
|
49
49
|
import"./index-xybtaph7.js";
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-gda7cwqz.js";
|
|
5
|
+
import"./index-99af5gvd.js";
|
|
6
6
|
import"./index-vm4xw9z3.js";
|
|
7
7
|
import"./index-rrxcfxrd.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
import"./index-31vfewmn.js";
|
|
9
|
+
import"./index-btx8j39p.js";
|
|
10
10
|
import"./index-y06a43sk.js";
|
|
11
11
|
import"./index-ngqxzkqm.js";
|
|
12
12
|
import"./index-y8552snf.js";
|
|
13
13
|
import"./index-4905hd2m.js";
|
|
14
14
|
import"./index-134d35c1.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
import"./index-jhb8kjc5.js";
|
|
16
|
+
import"./index-adde7nm2.js";
|
|
17
|
+
import"./index-rjratees.js";
|
|
18
18
|
import"./index-6mjf4vr1.js";
|
|
19
19
|
import"./index-c8s9a3zh.js";
|
|
20
20
|
import"./index-9ss2m4rs.js";
|
|
21
21
|
import"./index-wsdnttf4.js";
|
|
22
22
|
import"./index-39k6y018.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
import"./index-tc61fybd.js";
|
|
24
|
+
import"./index-wqg74mwj.js";
|
|
25
25
|
import"./index-rtry5xyf.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
import"./index-1djv5684.js";
|
|
27
|
+
import"./index-93ky909v.js";
|
|
28
28
|
import"./index-ae75rja9.js";
|
|
29
29
|
import"./index-en4fb04r.js";
|
|
30
30
|
import"./index-tqshdzaw.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-y6dvs5tt.js";
|
|
32
32
|
import"./index-gprxjmm7.js";
|
|
33
33
|
import"./index-n832052r.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-ab57h0yq.js";
|
|
35
35
|
import"./index-bk5tah7q.js";
|
|
36
36
|
import"./index-8fwhhayc.js";
|
|
37
37
|
import"./index-q1exe2b3.js";
|
|
@@ -44,7 +44,7 @@ import"./index-b8zgtz81.js";
|
|
|
44
44
|
import"./index-j0xx9wpj.js";
|
|
45
45
|
import"./index-4rhhvd1a.js";
|
|
46
46
|
import"./index-3jcyn8g6.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-q344kj84.js";
|
|
48
48
|
import"./index-4qzeef9h.js";
|
|
49
49
|
import"./index-fsrp8wp3.js";
|
|
50
50
|
import"./index-xybtaph7.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-js7th5my.js";
|
|
5
|
+
import"./index-31vfewmn.js";
|
|
6
|
+
import"./index-ab57h0yq.js";
|
|
7
7
|
import"./index-bk5tah7q.js";
|
|
8
8
|
import"./index-3jcyn8g6.js";
|
|
9
9
|
import"./index-bpmtbmy9.js";
|
|
@@ -7,38 +7,38 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-99af5gvd.js";
|
|
11
11
|
import"./index-vm4xw9z3.js";
|
|
12
12
|
import"./index-rrxcfxrd.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
import"./index-31vfewmn.js";
|
|
14
|
+
import"./index-btx8j39p.js";
|
|
15
15
|
import"./index-y06a43sk.js";
|
|
16
16
|
import"./index-ngqxzkqm.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-jhb8kjc5.js";
|
|
21
|
+
import"./index-adde7nm2.js";
|
|
22
|
+
import"./index-rjratees.js";
|
|
23
23
|
import"./index-6mjf4vr1.js";
|
|
24
24
|
import"./index-c8s9a3zh.js";
|
|
25
25
|
import"./index-9ss2m4rs.js";
|
|
26
26
|
import"./index-wsdnttf4.js";
|
|
27
27
|
import"./index-39k6y018.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-tc61fybd.js";
|
|
29
|
+
import"./index-wqg74mwj.js";
|
|
30
30
|
import"./index-rtry5xyf.js";
|
|
31
31
|
import {
|
|
32
32
|
resolveHiveKnowledgePath
|
|
33
|
-
} from "./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
} from "./index-1djv5684.js";
|
|
34
|
+
import"./index-93ky909v.js";
|
|
35
35
|
import"./index-ae75rja9.js";
|
|
36
36
|
import"./index-en4fb04r.js";
|
|
37
37
|
import"./index-tqshdzaw.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-y6dvs5tt.js";
|
|
39
39
|
import"./index-gprxjmm7.js";
|
|
40
40
|
import"./index-n832052r.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-ab57h0yq.js";
|
|
42
42
|
import"./index-bk5tah7q.js";
|
|
43
43
|
import"./index-8fwhhayc.js";
|
|
44
44
|
import"./index-q1exe2b3.js";
|
|
@@ -51,7 +51,7 @@ import"./index-b8zgtz81.js";
|
|
|
51
51
|
import"./index-j0xx9wpj.js";
|
|
52
52
|
import"./index-4rhhvd1a.js";
|
|
53
53
|
import"./index-3jcyn8g6.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-q344kj84.js";
|
|
55
55
|
import"./index-4qzeef9h.js";
|
|
56
56
|
import"./index-fsrp8wp3.js";
|
|
57
57
|
import"./index-xybtaph7.js";
|
|
@@ -702,7 +702,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
702
702
|
const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
|
|
703
703
|
if (atFloor.length === 0 && recovered.length === 0)
|
|
704
704
|
return;
|
|
705
|
-
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-
|
|
705
|
+
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-yaj0yjd6.js");
|
|
706
706
|
const rollups = await readKnowledgeCounterRollups(directory);
|
|
707
707
|
const flagIds = new Set;
|
|
708
708
|
for (const e of atFloor) {
|
|
@@ -769,11 +769,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
769
769
|
});
|
|
770
770
|
}
|
|
771
771
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
772
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
773
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
772
|
+
const { quarantineEntry } = await import("./knowledge-validator-e5fqy9h4.js");
|
|
773
|
+
const { KnowledgeConfigSchema } = await import("./schema-xg5f11md.js");
|
|
774
774
|
let config;
|
|
775
775
|
try {
|
|
776
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
776
|
+
const { loadPluginConfigWithMeta } = await import("./index-1v89yst3.js");
|
|
777
777
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
778
778
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
779
779
|
} catch {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
loadPluginConfigWithMeta,
|
|
8
8
|
loadPluginConfigWithMetaAsync,
|
|
9
9
|
resolveWorktreeIsolationConfig
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-y6dvs5tt.js";
|
|
11
11
|
import {
|
|
12
12
|
ApprovalEvidenceSchema,
|
|
13
13
|
BaseEvidenceSchema,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
TurboConfigSchema,
|
|
55
55
|
WorktreeIsolationConfigSchema,
|
|
56
56
|
resolveAutoReviewConfig
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-ab57h0yq.js";
|
|
58
58
|
import"./index-bk5tah7q.js";
|
|
59
59
|
import {
|
|
60
60
|
MigrationStatusSchema,
|
|
@@ -625,7 +625,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
625
625
|
deltas.push({ id, delta });
|
|
626
626
|
}
|
|
627
627
|
if (deltas.length > 0) {
|
|
628
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
628
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-d99k0z2d.js");
|
|
629
629
|
await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
630
630
|
}
|
|
631
631
|
return {
|