@joshuafolkken/kit 1.872.0 → 1.881.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/.github/workflows/publish.yml +39 -2
- package/README.md +3 -3
- package/dist/hooks/batch-guard.js +4 -4
- package/dist/hooks/{chunk-KABG6AEW.js → chunk-264QY6KS.js} +7 -0
- package/dist/hooks/{chunk-I4D3NVUD.js → chunk-36UE53LS.js} +2 -2
- package/dist/hooks/{chunk-WCYPBPJC.js → chunk-4OXFU3MK.js} +8 -8
- package/dist/hooks/{chunk-ABVEVV2M.js → chunk-6MQCXEEA.js} +1 -1
- package/dist/hooks/{chunk-46EEEHC3.js → chunk-FNFOLFFV.js} +1 -1
- package/dist/hooks/{chunk-5U5EZYG6.js → chunk-FRJKVSK3.js} +2 -2
- package/dist/hooks/{chunk-2RUPMGGV.js → chunk-PRDCNGA6.js} +4 -4
- package/dist/hooks/{chunk-WMN4TSVF.js → chunk-VGYSA2NT.js} +2 -2
- package/dist/hooks/{chunk-A5YJ3H7E.js → chunk-Y5OYCU2F.js} +3 -3
- package/dist/hooks/{chunk-4QHBNAI4.js → chunk-ZBK4XRAS.js} +3 -3
- package/dist/hooks/codex-hook-adapter.js +10 -10
- package/dist/hooks/duplicate-read-guard.js +5 -5
- package/dist/hooks/format-edited.js +2 -2
- package/dist/hooks/investigation-guard.js +5 -5
- package/dist/hooks/pretool-guard.js +9 -9
- package/dist/hooks/stop-guard.js +3 -3
- package/dist/josh.js +7 -0
- package/package.json +6 -2
- package/scripts/init/distributed-paths.ts +14 -11
- package/scripts/init/hook-command-bootstrap.ts +51 -0
- package/scripts/init/hook-command-rewrite.ts +9 -1
- package/scripts/init/init-logic.ts +2 -8
- package/scripts/josh/__snapshots__/josh-command-map.test.ts.snap +10 -0
- package/scripts/josh/josh-command-map.ts +1 -0
- package/scripts/josh/josh-commands-project.ts +6 -0
- package/scripts/registry-migration/migrate-logic.ts +229 -0
- package/scripts/registry-migration/migrate.ts +280 -0
- package/scripts/registry-migration/user-npmrc.ts +15 -0
- package/templates/workflows/ci.yml +6 -2
- package/dist/hooks/chunk-25JL6FMS.js +0 -4970
- package/dist/hooks/chunk-2ANGT3XM.js +0 -375
- package/dist/hooks/chunk-2EI5GBSW.js +0 -42
- package/dist/hooks/chunk-2OT5XE2N.js +0 -5014
- package/dist/hooks/chunk-2XIGZQMQ.js +0 -3299
- package/dist/hooks/chunk-33ELOKEV.js +0 -910
- package/dist/hooks/chunk-33YRTKM7.js +0 -230
- package/dist/hooks/chunk-36JQU5NN.js +0 -77
- package/dist/hooks/chunk-3EJBTWVS.js +0 -1769
- package/dist/hooks/chunk-3FK5SFAC.js +0 -432
- package/dist/hooks/chunk-3PWPYDD2.js +0 -240
- package/dist/hooks/chunk-3TQU7TDH.js +0 -375
- package/dist/hooks/chunk-3TVLSFZ6.js +0 -432
- package/dist/hooks/chunk-3VXYCB4E.js +0 -77
- package/dist/hooks/chunk-44M6JXGV.js +0 -3398
- package/dist/hooks/chunk-4A7UVP2P.js +0 -364
- package/dist/hooks/chunk-4LFQEZS4.js +0 -137
- package/dist/hooks/chunk-4OCX3V2T.js +0 -469
- package/dist/hooks/chunk-4OHA5DE7.js +0 -49
- package/dist/hooks/chunk-4PMDW3YD.js +0 -68
- package/dist/hooks/chunk-4SSB3FEE.js +0 -3273
- package/dist/hooks/chunk-5A2WQ2CQ.js +0 -5390
- package/dist/hooks/chunk-5EVA2JQB.js +0 -5390
- package/dist/hooks/chunk-5P7VF5VE.js +0 -3230
- package/dist/hooks/chunk-5QWJGGZP.js +0 -49
- package/dist/hooks/chunk-5VUUF3ZV.js +0 -240
- package/dist/hooks/chunk-5WA7UBT3.js +0 -374
- package/dist/hooks/chunk-6EBGRQ3Q.js +0 -301
- package/dist/hooks/chunk-6TVHWMD3.js +0 -432
- package/dist/hooks/chunk-6VAGLEMB.js +0 -68
- package/dist/hooks/chunk-75BTXKFJ.js +0 -3424
- package/dist/hooks/chunk-75RHN67S.js +0 -137
- package/dist/hooks/chunk-76KC3BDD.js +0 -3414
- package/dist/hooks/chunk-76SLS7CZ.js +0 -898
- package/dist/hooks/chunk-7DHZ4DWT.js +0 -5015
- package/dist/hooks/chunk-7INSJDGE.js +0 -458
- package/dist/hooks/chunk-7VJ4FTDX.js +0 -268
- package/dist/hooks/chunk-7XCYNHQK.js +0 -77
- package/dist/hooks/chunk-AAEXXUUL.js +0 -268
- package/dist/hooks/chunk-ACN3YXFL.js +0 -68
- package/dist/hooks/chunk-AD3XE3QZ.js +0 -397
- package/dist/hooks/chunk-AENFZPZH.js +0 -230
- package/dist/hooks/chunk-AFKRFQ6W.js +0 -68
- package/dist/hooks/chunk-AHD5IPWI.js +0 -375
- package/dist/hooks/chunk-AMK5JGV7.js +0 -77
- package/dist/hooks/chunk-ARN7NCQI.js +0 -425
- package/dist/hooks/chunk-AUFY653N.js +0 -3425
- package/dist/hooks/chunk-AXQBNFEF.js +0 -375
- package/dist/hooks/chunk-AYC7R6U4.js +0 -3316
- package/dist/hooks/chunk-AYEA2FJ7.js +0 -5015
- package/dist/hooks/chunk-B2LIXYFL.js +0 -77
- package/dist/hooks/chunk-B4HPNY2I.js +0 -375
- package/dist/hooks/chunk-B4YNCUGB.js +0 -469
- package/dist/hooks/chunk-B57S3VWT.js +0 -922
- package/dist/hooks/chunk-BINZ3PLI.js +0 -364
- package/dist/hooks/chunk-BIWLABFK.js +0 -432
- package/dist/hooks/chunk-BODUSXKK.js +0 -410
- package/dist/hooks/chunk-BQBAT2YK.js +0 -375
- package/dist/hooks/chunk-BUJEBW75.js +0 -391
- package/dist/hooks/chunk-BVNWORKA.js +0 -72
- package/dist/hooks/chunk-BWI47LQS.js +0 -5205
- package/dist/hooks/chunk-C25HRMJX.js +0 -137
- package/dist/hooks/chunk-CBFZNC74.js +0 -375
- package/dist/hooks/chunk-CECYXS4Y.js +0 -3424
- package/dist/hooks/chunk-CELGUP5F.js +0 -49
- package/dist/hooks/chunk-CMHANU3F.js +0 -3442
- package/dist/hooks/chunk-CMN372LI.js +0 -68
- package/dist/hooks/chunk-CPGZLMMK.js +0 -3299
- package/dist/hooks/chunk-CTQKXDC7.js +0 -268
- package/dist/hooks/chunk-CYAT4RIT.js +0 -68
- package/dist/hooks/chunk-CYTWYCH2.js +0 -5014
- package/dist/hooks/chunk-CZSOLRBA.js +0 -77
- package/dist/hooks/chunk-D2PIDYJR.js +0 -3438
- package/dist/hooks/chunk-DE57HI6T.js +0 -137
- package/dist/hooks/chunk-DGXDGAPG.js +0 -5306
- package/dist/hooks/chunk-DNYRSYQG.js +0 -5014
- package/dist/hooks/chunk-DTAXH2A2.js +0 -240
- package/dist/hooks/chunk-E2IZUWI5.js +0 -375
- package/dist/hooks/chunk-E4L2K2BL.js +0 -397
- package/dist/hooks/chunk-E55NKX5F.js +0 -68
- package/dist/hooks/chunk-ECXVCCVD.js +0 -3079
- package/dist/hooks/chunk-EPHO443D.js +0 -68
- package/dist/hooks/chunk-EUFK2BI2.js +0 -375
- package/dist/hooks/chunk-EYCD5ZAV.js +0 -137
- package/dist/hooks/chunk-F2SDYJU4.js +0 -240
- package/dist/hooks/chunk-F4B5D5TF.js +0 -68
- package/dist/hooks/chunk-FGEO3NDX.js +0 -432
- package/dist/hooks/chunk-FJYI52RE.js +0 -137
- package/dist/hooks/chunk-FYTZHIY4.js +0 -3085
- package/dist/hooks/chunk-G7JL2A5K.js +0 -375
- package/dist/hooks/chunk-GA3ITDBW.js +0 -42
- package/dist/hooks/chunk-GDR4H4SV.js +0 -469
- package/dist/hooks/chunk-GFKDXPSM.js +0 -2855
- package/dist/hooks/chunk-GIMRTKFU.js +0 -566
- package/dist/hooks/chunk-GOPHRLGO.js +0 -240
- package/dist/hooks/chunk-GX4HO7SJ.js +0 -230
- package/dist/hooks/chunk-GXKKK23T.js +0 -240
- package/dist/hooks/chunk-GZ6FUVIK.js +0 -566
- package/dist/hooks/chunk-H5HPY5M5.js +0 -2869
- package/dist/hooks/chunk-HCF3OGEE.js +0 -1829
- package/dist/hooks/chunk-HDEXAOUM.js +0 -469
- package/dist/hooks/chunk-HM2TY3TN.js +0 -469
- package/dist/hooks/chunk-HOA7NXA2.js +0 -55
- package/dist/hooks/chunk-HOFEWH6H.js +0 -240
- package/dist/hooks/chunk-HUUI6S5J.js +0 -2669
- package/dist/hooks/chunk-I4Q6WAJE.js +0 -68
- package/dist/hooks/chunk-IB6N4CR2.js +0 -432
- package/dist/hooks/chunk-IFLDYJMD.js +0 -469
- package/dist/hooks/chunk-IGU466YD.js +0 -77
- package/dist/hooks/chunk-IJCQUHKY.js +0 -375
- package/dist/hooks/chunk-IKUMBDJB.js +0 -230
- package/dist/hooks/chunk-IM3BDIBJ.js +0 -5005
- package/dist/hooks/chunk-IMYMAODK.js +0 -3431
- package/dist/hooks/chunk-IN2ZVGXA.js +0 -5005
- package/dist/hooks/chunk-ITVJ2MKQ.js +0 -18
- package/dist/hooks/chunk-J5RIJYTM.js +0 -2669
- package/dist/hooks/chunk-JFLMH4K5.js +0 -3460
- package/dist/hooks/chunk-JR25IFML.js +0 -77
- package/dist/hooks/chunk-JT5AUXFI.js +0 -432
- package/dist/hooks/chunk-JY5YVN6N.js +0 -3234
- package/dist/hooks/chunk-K5Q4ETVI.js +0 -391
- package/dist/hooks/chunk-K67V2F24.js +0 -137
- package/dist/hooks/chunk-KATZESEC.js +0 -3273
- package/dist/hooks/chunk-KFH4H7W7.js +0 -469
- package/dist/hooks/chunk-KMUEI6RX.js +0 -910
- package/dist/hooks/chunk-KMV4OY77.js +0 -3438
- package/dist/hooks/chunk-KQAZNWEY.js +0 -137
- package/dist/hooks/chunk-KZZR6JER.js +0 -5015
- package/dist/hooks/chunk-LAR6DREP.js +0 -77
- package/dist/hooks/chunk-LNCJWEZD.js +0 -5015
- package/dist/hooks/chunk-LRYD2GLM.js +0 -6
- package/dist/hooks/chunk-LXBKYHDV.js +0 -77
- package/dist/hooks/chunk-LYLKIUNE.js +0 -5024
- package/dist/hooks/chunk-LZKCFOVC.js +0 -432
- package/dist/hooks/chunk-M4FCIYRI.js +0 -77
- package/dist/hooks/chunk-M5M7327Q.js +0 -3425
- package/dist/hooks/chunk-MF72MHSX.js +0 -3455
- package/dist/hooks/chunk-MK56LKDO.js +0 -397
- package/dist/hooks/chunk-N3MJADY7.js +0 -240
- package/dist/hooks/chunk-NFQSUDBN.js +0 -458
- package/dist/hooks/chunk-NHREKY45.js +0 -137
- package/dist/hooks/chunk-NP5TTAAW.js +0 -375
- package/dist/hooks/chunk-NQTLTKTJ.js +0 -2993
- package/dist/hooks/chunk-NVRCZPBZ.js +0 -391
- package/dist/hooks/chunk-O46HMMLJ.js +0 -469
- package/dist/hooks/chunk-OFJGH2L4.js +0 -240
- package/dist/hooks/chunk-OLFMCZH5.js +0 -240
- package/dist/hooks/chunk-OMCZS46I.js +0 -49
- package/dist/hooks/chunk-OQZEZW5G.js +0 -469
- package/dist/hooks/chunk-P2MDAT2Y.js +0 -1897
- package/dist/hooks/chunk-P3M2JJIF.js +0 -68
- package/dist/hooks/chunk-PDVHQITQ.js +0 -3453
- package/dist/hooks/chunk-PNT2AMDH.js +0 -391
- package/dist/hooks/chunk-PR2LVSY6.js +0 -3445
- package/dist/hooks/chunk-PRR5R4JK.js +0 -137
- package/dist/hooks/chunk-PXT44QVN.js +0 -566
- package/dist/hooks/chunk-PZLWJLAP.js +0 -469
- package/dist/hooks/chunk-Q2FEAZJ2.js +0 -77
- package/dist/hooks/chunk-Q32WETDO.js +0 -3265
- package/dist/hooks/chunk-Q45DUBLE.js +0 -3600
- package/dist/hooks/chunk-Q7NZSWQ5.js +0 -240
- package/dist/hooks/chunk-QH2JNAMK.js +0 -3085
- package/dist/hooks/chunk-QNNWYQ2R.js +0 -375
- package/dist/hooks/chunk-QPU5H2OS.js +0 -68
- package/dist/hooks/chunk-QRAHZ5TO.js +0 -1829
- package/dist/hooks/chunk-QUZ5HPIE.js +0 -469
- package/dist/hooks/chunk-QVCRG34O.js +0 -2893
- package/dist/hooks/chunk-R3MY4E3S.js +0 -1675
- package/dist/hooks/chunk-R6TXJJXP.js +0 -77
- package/dist/hooks/chunk-REJU6VT7.js +0 -1829
- package/dist/hooks/chunk-REQAQLRC.js +0 -2993
- package/dist/hooks/chunk-RFCXPAHH.js +0 -391
- package/dist/hooks/chunk-RHI6Y22X.js +0 -137
- package/dist/hooks/chunk-RKZVOBBS.js +0 -469
- package/dist/hooks/chunk-RL57TT2Y.js +0 -566
- package/dist/hooks/chunk-RORDOD4S.js +0 -3321
- package/dist/hooks/chunk-RZKYW5P2.js +0 -77
- package/dist/hooks/chunk-SJPJ6VSI.js +0 -391
- package/dist/hooks/chunk-SKSIJQQQ.js +0 -432
- package/dist/hooks/chunk-SSQDZKXG.js +0 -268
- package/dist/hooks/chunk-SYHFKE4C.js +0 -77
- package/dist/hooks/chunk-TCGNI2ZY.js +0 -42
- package/dist/hooks/chunk-TG3WXJF5.js +0 -137
- package/dist/hooks/chunk-TH7IJAY5.js +0 -77
- package/dist/hooks/chunk-TLZ27PCY.js +0 -240
- package/dist/hooks/chunk-U652FXTN.js +0 -566
- package/dist/hooks/chunk-UEK47YUF.js +0 -268
- package/dist/hooks/chunk-UIO45H3O.js +0 -432
- package/dist/hooks/chunk-UNLZEEVH.js +0 -5005
- package/dist/hooks/chunk-UNRVF3SZ.js +0 -432
- package/dist/hooks/chunk-USLFAFOI.js +0 -3453
- package/dist/hooks/chunk-VAEELMLL.js +0 -442
- package/dist/hooks/chunk-VALSWLDQ.js +0 -3453
- package/dist/hooks/chunk-VC5JEPNY.js +0 -3398
- package/dist/hooks/chunk-VEZVK6C7.js +0 -230
- package/dist/hooks/chunk-VK5JKFAR.js +0 -49
- package/dist/hooks/chunk-VNF2KP7Z.js +0 -469
- package/dist/hooks/chunk-VWWCUMW6.js +0 -2669
- package/dist/hooks/chunk-W4JARUQV.js +0 -137
- package/dist/hooks/chunk-WEOBMNJG.js +0 -2993
- package/dist/hooks/chunk-WKJU3J5Y.js +0 -5390
- package/dist/hooks/chunk-WNON54PT.js +0 -3469
- package/dist/hooks/chunk-WOVKBPPX.js +0 -137
- package/dist/hooks/chunk-WRVFORYJ.js +0 -432
- package/dist/hooks/chunk-WUBVYGQZ.js +0 -240
- package/dist/hooks/chunk-WWULTUOM.js +0 -68
- package/dist/hooks/chunk-WXHKKB45.js +0 -4962
- package/dist/hooks/chunk-XAI3YTHJ.js +0 -469
- package/dist/hooks/chunk-XFZH6JZJ.js +0 -77
- package/dist/hooks/chunk-XGPWX6IA.js +0 -137
- package/dist/hooks/chunk-XIXXIVGY.js +0 -566
- package/dist/hooks/chunk-XKDOYJGA.js +0 -922
- package/dist/hooks/chunk-YALTVBHM.js +0 -432
- package/dist/hooks/chunk-YEBEPBFK.js +0 -5014
- package/dist/hooks/chunk-YI2BQ3DK.js +0 -3441
- package/dist/hooks/chunk-YVNBCFGG.js +0 -1829
- package/dist/hooks/chunk-YXBN3RGG.js +0 -432
- package/dist/hooks/chunk-Z2OOJSW3.js +0 -3163
- package/dist/hooks/chunk-ZA3HVBOY.js +0 -2644
- package/dist/hooks/chunk-ZKID46U3.js +0 -137
- package/dist/hooks/chunk-ZPMU2JV6.js +0 -49
- package/dist/hooks/chunk-ZRKY4W7O.js +0 -432
- package/dist/hooks/chunk-ZTMRB7LJ.js +0 -268
- package/dist/hooks/chunk-ZVPPBQ3L.js +0 -3413
|
@@ -1,442 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
lane_child_marker
|
|
3
|
-
} from "./chunk-AENFZPZH.js";
|
|
4
|
-
import {
|
|
5
|
-
time_bundle_call,
|
|
6
|
-
time_format,
|
|
7
|
-
time_round_trips,
|
|
8
|
-
time_spans,
|
|
9
|
-
time_transcript_line
|
|
10
|
-
} from "./chunk-Q32WETDO.js";
|
|
11
|
-
|
|
12
|
-
// scripts/lane/lane-guard-policy.ts
|
|
13
|
-
var DEFAULT_MODE = "refuse";
|
|
14
|
-
var OFF_MODE = "off";
|
|
15
|
-
var LANE_GUARD_POLICY = [
|
|
16
|
-
{
|
|
17
|
-
id: "investigation",
|
|
18
|
-
mode_in_lane_child: "off",
|
|
19
|
-
because: "the child is itself the delegated unit the refusal asks for \u2014 it cannot dispatch a sub-unit to read its own edit targets, and the remedy the reason names does not exist for it, so even a notice would carry guidance the child cannot act on"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
id: "batching",
|
|
23
|
-
mode_in_lane_child: "notice",
|
|
24
|
-
because: 'a refusal ends a child turn so it cannot fire as one (kit#2138); kit#2164 replaced it with a notice, kit#2178 took that notice off after it did not move the density (1.00 calls per turn on both sides of it, transcript f39efeb5), and kit#2276 restores it as a notice \u2014 but a different one. #2178 turned the notice fully off, so across the 2026-09-21 backlogrun 13 runs it fired zero times and the measured 1.147 is the rate with no guidance at all, not guidance that failed. #2276 re-enables it with the two things #2164 lacked: it names the concrete recent calls the run issued one-per-turn (not just "batch more"), and it recurs every single-call turn rather than every three, so the pressure arrives as often as the mistake. The density is to be re-measured on the next backlogrun; if it still does not reach 1.40 the notice is redesigned rather than kept, per the issue'
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
id: "rule",
|
|
28
|
-
mode_in_lane_child: "refuse",
|
|
29
|
-
because: "it carries the lane-only rules a child depends on (`pre-gate-cut`, `lane-park`) and the safety rules a child must still obey (`shell-body`, `piped-verification`); a blanket suppression would disarm exactly the guards written for the child. The pre-gate-cut refusal does collateral a sibling call batched in the same turn \u2014 a `PreToolUse` deny cancels the turn's other parallel calls, which is the harness behavior kit#2177 measured on #2160 (gate refused, its batched `review:brief` cancelled) \u2014 and that collateral is not avoidable at the guard level. `notice` was considered for the pre-gate-cut point and rejected: kit#1864 measured the cut taken 0 times while it was carried as prose, and a notice is prose in front of the run (kit#2178 measured a lane-child notice not moving the number), so a notice would drop enforcement without a procedural replacement. kit#2177 supplies that replacement in the procedure instead \u2014 the chain orders the cut before the gate, so the cut is issued on its own (its `cut` verdict ends the turn, batching with nothing) and the gate runs in the fresh process where the carried cut keeps this guard silent; the refusal therefore stays `refuse` as insurance and the collateral is gone from the default path rather than from the guard"
|
|
30
|
-
}
|
|
31
|
-
];
|
|
32
|
-
var KNOWN_GUARD_IDS = LANE_GUARD_POLICY.map((entry) => entry.id);
|
|
33
|
-
function entry_for(id) {
|
|
34
|
-
return LANE_GUARD_POLICY.find((entry) => entry.id === id.trim());
|
|
35
|
-
}
|
|
36
|
-
function mode_in_lane_child(id) {
|
|
37
|
-
return entry_for(id)?.mode_in_lane_child ?? DEFAULT_MODE;
|
|
38
|
-
}
|
|
39
|
-
function mode_here(id, directory = process.cwd(), source = process.env) {
|
|
40
|
-
const lane_mode = mode_in_lane_child(id);
|
|
41
|
-
if (lane_mode === DEFAULT_MODE) return DEFAULT_MODE;
|
|
42
|
-
return lane_child_marker.is_child_of(directory, source) ? lane_mode : DEFAULT_MODE;
|
|
43
|
-
}
|
|
44
|
-
function is_suppressed_here(id, directory = process.cwd(), source = process.env) {
|
|
45
|
-
return mode_here(id, directory, source) === OFF_MODE;
|
|
46
|
-
}
|
|
47
|
-
var lane_guard_policy = {
|
|
48
|
-
LANE_GUARD_POLICY,
|
|
49
|
-
KNOWN_GUARD_IDS,
|
|
50
|
-
entry_for,
|
|
51
|
-
mode_in_lane_child,
|
|
52
|
-
mode_here,
|
|
53
|
-
is_suppressed_here
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
// scripts/time-runtime/time-agent-bundles.ts
|
|
57
|
-
var NONE = 0;
|
|
58
|
-
var ONE = 1;
|
|
59
|
-
var MIN_GROUP = 2;
|
|
60
|
-
function is_launch(span) {
|
|
61
|
-
return span.category === time_spans.TOOL_CATEGORY && !span.is_continuation && time_bundle_call.is_launch_tool(span.label);
|
|
62
|
-
}
|
|
63
|
-
function new_walk() {
|
|
64
|
-
return { closed: [], open: NONE, wrote_since: false, turn_id: time_spans.NO_MESSAGE_ID };
|
|
65
|
-
}
|
|
66
|
-
function close_group(walk) {
|
|
67
|
-
if (walk.open >= MIN_GROUP) walk.closed.push(walk.open);
|
|
68
|
-
walk.open = NONE;
|
|
69
|
-
}
|
|
70
|
-
function is_same_turn(walk, span) {
|
|
71
|
-
return span.message_id !== time_spans.NO_MESSAGE_ID && span.message_id === walk.turn_id;
|
|
72
|
-
}
|
|
73
|
-
function open_turn(walk, span) {
|
|
74
|
-
if (walk.wrote_since || span.has_prior_reference) close_group(walk);
|
|
75
|
-
walk.open += ONE;
|
|
76
|
-
walk.turn_id = span.message_id;
|
|
77
|
-
walk.wrote_since = false;
|
|
78
|
-
}
|
|
79
|
-
function step(walk, span) {
|
|
80
|
-
if (span.is_writing) {
|
|
81
|
-
walk.wrote_since = true;
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
if (!is_launch(span) || is_same_turn(walk, span)) return;
|
|
85
|
-
open_turn(walk, span);
|
|
86
|
-
}
|
|
87
|
-
function agent_bundles(spans) {
|
|
88
|
-
const walk = new_walk();
|
|
89
|
-
for (const span of time_round_trips.in_time_order(spans)) step(walk, span);
|
|
90
|
-
close_group(walk);
|
|
91
|
-
return walk.closed;
|
|
92
|
-
}
|
|
93
|
-
var time_agent_bundles = { agent_bundles };
|
|
94
|
-
|
|
95
|
-
// scripts/time-runtime/time-bundles.ts
|
|
96
|
-
var { unmeasured_row } = time_format;
|
|
97
|
-
var HEADING = "Bundling:";
|
|
98
|
-
var SEQUENCE_LABEL = "bundleable sequences";
|
|
99
|
-
var RECOVERABLE_LABEL = "recoverable round trips";
|
|
100
|
-
var SAVING_LABEL = "recoverable wait";
|
|
101
|
-
var BY_TOOL_LABEL = "recoverable by tool";
|
|
102
|
-
var AGENT_ROW_LABEL = "Agent";
|
|
103
|
-
var ROW_INDENT = " ";
|
|
104
|
-
var MIN_SEQUENCE = 2;
|
|
105
|
-
var ONE_CALL = 1;
|
|
106
|
-
var NONE2 = 0;
|
|
107
|
-
var PATH_SEPARATOR = "/";
|
|
108
|
-
var FIRST_CALL = 1;
|
|
109
|
-
var NO_LABEL = "";
|
|
110
|
-
var NO_BUNDLES = {
|
|
111
|
-
sequence_count: 0,
|
|
112
|
-
longest_sequence: 0,
|
|
113
|
-
recoverable_round_trips: 0,
|
|
114
|
-
by_tool: [],
|
|
115
|
-
unattributed_round_trips: 0,
|
|
116
|
-
is_measured: false
|
|
117
|
-
};
|
|
118
|
-
function contains_segments(whole, part) {
|
|
119
|
-
if (whole.startsWith(`${part}${PATH_SEPARATOR}`)) return true;
|
|
120
|
-
return whole.endsWith(`${PATH_SEPARATOR}${part}`) || whole.includes(`${PATH_SEPARATOR}${part}${PATH_SEPARATOR}`);
|
|
121
|
-
}
|
|
122
|
-
function is_related(left, right) {
|
|
123
|
-
if (left === right) return true;
|
|
124
|
-
return contains_segments(left, right) || contains_segments(right, left);
|
|
125
|
-
}
|
|
126
|
-
function shares_target(left, right) {
|
|
127
|
-
return left.some((one) => right.some((other) => is_related(one, other)));
|
|
128
|
-
}
|
|
129
|
-
function is_dependent(earlier, later) {
|
|
130
|
-
if (earlier.is_writing && later.is_writing) return false;
|
|
131
|
-
return shares_target(earlier.targets, later.targets);
|
|
132
|
-
}
|
|
133
|
-
function conflicts(span, sequence) {
|
|
134
|
-
return sequence.some((earlier) => is_dependent(earlier, span));
|
|
135
|
-
}
|
|
136
|
-
function is_call(span) {
|
|
137
|
-
return span.category === time_spans.TOOL_CATEGORY && !span.is_continuation;
|
|
138
|
-
}
|
|
139
|
-
function is_turn_boundary(span) {
|
|
140
|
-
return span.category === time_spans.MODEL_CATEGORY;
|
|
141
|
-
}
|
|
142
|
-
function new_walk2() {
|
|
143
|
-
return { pending: [], sequence: [], closed: [] };
|
|
144
|
-
}
|
|
145
|
-
function flush(walk) {
|
|
146
|
-
if (walk.sequence.length >= MIN_SEQUENCE) walk.closed.push(walk.sequence);
|
|
147
|
-
walk.sequence = [];
|
|
148
|
-
}
|
|
149
|
-
function extend(walk, span) {
|
|
150
|
-
if (conflicts(span, walk.sequence)) flush(walk);
|
|
151
|
-
walk.sequence.push(span);
|
|
152
|
-
}
|
|
153
|
-
function close_trip(walk) {
|
|
154
|
-
const [only] = walk.pending;
|
|
155
|
-
if (walk.pending.length === ONE_CALL && only?.is_bundleable === true) extend(walk, only);
|
|
156
|
-
else if (walk.pending.length > NONE2) flush(walk);
|
|
157
|
-
walk.pending = [];
|
|
158
|
-
}
|
|
159
|
-
function is_same_turn2(span, pending) {
|
|
160
|
-
const [first] = pending;
|
|
161
|
-
if (first === void 0 || span.is_continuation || span.message_id === time_spans.NO_MESSAGE_ID) {
|
|
162
|
-
return false;
|
|
163
|
-
}
|
|
164
|
-
return span.message_id === first.message_id;
|
|
165
|
-
}
|
|
166
|
-
function step2(walk, span) {
|
|
167
|
-
if (is_call(span)) {
|
|
168
|
-
walk.pending.push(span);
|
|
169
|
-
return;
|
|
170
|
-
}
|
|
171
|
-
if (is_same_turn2(span, walk.pending)) return;
|
|
172
|
-
close_trip(walk);
|
|
173
|
-
if (!is_turn_boundary(span)) flush(walk);
|
|
174
|
-
}
|
|
175
|
-
function longest_of(sizes) {
|
|
176
|
-
return sizes.length === NONE2 ? NONE2 : Math.max(...sizes);
|
|
177
|
-
}
|
|
178
|
-
function recoverable_of(sizes) {
|
|
179
|
-
return sizes.reduce((sum, size) => sum + size - ONE_CALL, NONE2);
|
|
180
|
-
}
|
|
181
|
-
function sizes_of(closed) {
|
|
182
|
-
return closed.map((sequence) => sequence.length);
|
|
183
|
-
}
|
|
184
|
-
function tally_for(tallies, label) {
|
|
185
|
-
const found = tallies.get(label);
|
|
186
|
-
if (found !== void 0) return found;
|
|
187
|
-
const created = { sequence_count: NONE2, recoverable_round_trips: NONE2 };
|
|
188
|
-
tallies.set(label, created);
|
|
189
|
-
return created;
|
|
190
|
-
}
|
|
191
|
-
function count_trip(tallies, counted, label) {
|
|
192
|
-
const tally = tally_for(tallies, label);
|
|
193
|
-
tally.recoverable_round_trips += ONE_CALL;
|
|
194
|
-
if (!counted.has(label)) tally.sequence_count += ONE_CALL;
|
|
195
|
-
counted.add(label);
|
|
196
|
-
}
|
|
197
|
-
function tally_sequence(tallies, sequence) {
|
|
198
|
-
const counted = /* @__PURE__ */ new Set();
|
|
199
|
-
for (const span of sequence.slice(FIRST_CALL)) {
|
|
200
|
-
if (span.label !== NO_LABEL) count_trip(tallies, counted, span.label);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
function by_weight(left, right) {
|
|
204
|
-
if (left.recoverable_round_trips !== right.recoverable_round_trips) {
|
|
205
|
-
return right.recoverable_round_trips - left.recoverable_round_trips;
|
|
206
|
-
}
|
|
207
|
-
return left.label.localeCompare(right.label);
|
|
208
|
-
}
|
|
209
|
-
function tool_rows(closed) {
|
|
210
|
-
const tallies = /* @__PURE__ */ new Map();
|
|
211
|
-
for (const sequence of closed) tally_sequence(tallies, sequence);
|
|
212
|
-
return [...tallies].map(([label, tally]) => ({ label, ...tally })).toSorted(by_weight);
|
|
213
|
-
}
|
|
214
|
-
function attributed_of(rows) {
|
|
215
|
-
return rows.reduce((sum, row) => sum + row.recoverable_round_trips, NONE2);
|
|
216
|
-
}
|
|
217
|
-
function with_agent_row(rows, agent_sizes) {
|
|
218
|
-
const recoverable_round_trips = recoverable_of(agent_sizes);
|
|
219
|
-
if (recoverable_round_trips === NONE2) return [...rows];
|
|
220
|
-
const row = {
|
|
221
|
-
label: AGENT_ROW_LABEL,
|
|
222
|
-
sequence_count: agent_sizes.length,
|
|
223
|
-
recoverable_round_trips
|
|
224
|
-
};
|
|
225
|
-
return [...rows, row].toSorted(by_weight);
|
|
226
|
-
}
|
|
227
|
-
function build_bundles(spans) {
|
|
228
|
-
const walk = new_walk2();
|
|
229
|
-
for (const span of time_round_trips.in_time_order(spans)) step2(walk, span);
|
|
230
|
-
close_trip(walk);
|
|
231
|
-
flush(walk);
|
|
232
|
-
const sizes = sizes_of(walk.closed);
|
|
233
|
-
const agent_sizes = time_agent_bundles.agent_bundles(spans);
|
|
234
|
-
const by_tool = with_agent_row(tool_rows(walk.closed), agent_sizes);
|
|
235
|
-
const recoverable_round_trips = recoverable_of(sizes) + recoverable_of(agent_sizes);
|
|
236
|
-
return {
|
|
237
|
-
sequence_count: sizes.length + agent_sizes.length,
|
|
238
|
-
longest_sequence: Math.max(longest_of(sizes), longest_of(agent_sizes)),
|
|
239
|
-
recoverable_round_trips,
|
|
240
|
-
by_tool,
|
|
241
|
-
unattributed_round_trips: recoverable_round_trips - attributed_of(by_tool),
|
|
242
|
-
is_measured: time_spans.has_transcript_data(spans.length)
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
function open_sequence(spans) {
|
|
246
|
-
const walk = new_walk2();
|
|
247
|
-
for (const span of time_round_trips.in_time_order(spans)) step2(walk, span);
|
|
248
|
-
return walk.sequence;
|
|
249
|
-
}
|
|
250
|
-
function sequence_suffix(totals) {
|
|
251
|
-
return `longest ${String(totals.longest_sequence)} turn(s)`;
|
|
252
|
-
}
|
|
253
|
-
function recoverable_suffix(totals, round_trip_count) {
|
|
254
|
-
const share = time_format.format_share(totals.recoverable_round_trips, round_trip_count);
|
|
255
|
-
return `${share} of ${String(round_trip_count)} round trip(s)`;
|
|
256
|
-
}
|
|
257
|
-
function saving_line(totals, model_ms_per_round_trip) {
|
|
258
|
-
const saved_ms = totals.recoverable_round_trips * model_ms_per_round_trip;
|
|
259
|
-
const rate = `at ${time_format.format_seconds(model_ms_per_round_trip)} model time per round trip`;
|
|
260
|
-
return time_format.format_row(SAVING_LABEL, saved_ms, rate);
|
|
261
|
-
}
|
|
262
|
-
function by_tool_suffix(totals) {
|
|
263
|
-
const attributed = totals.recoverable_round_trips - totals.unattributed_round_trips;
|
|
264
|
-
return `${String(attributed)} of ${String(totals.recoverable_round_trips)} attributed`;
|
|
265
|
-
}
|
|
266
|
-
function tool_row(row) {
|
|
267
|
-
return time_format.format_columns(
|
|
268
|
-
`${ROW_INDENT}${row.label}`,
|
|
269
|
-
String(row.recoverable_round_trips),
|
|
270
|
-
`in ${String(row.sequence_count)} sequence(s)`
|
|
271
|
-
);
|
|
272
|
-
}
|
|
273
|
-
function by_tool_lines(totals) {
|
|
274
|
-
const heading = time_format.format_columns(
|
|
275
|
-
BY_TOOL_LABEL,
|
|
276
|
-
String(totals.by_tool.length),
|
|
277
|
-
by_tool_suffix(totals)
|
|
278
|
-
);
|
|
279
|
-
const rows = totals.by_tool.slice(NONE2, time_format.MAX_ROWS).map((row) => tool_row(row));
|
|
280
|
-
return [heading, ...rows, ...time_format.overflow_line(totals.by_tool.length)];
|
|
281
|
-
}
|
|
282
|
-
function measured_lines(totals, price) {
|
|
283
|
-
return [
|
|
284
|
-
time_format.format_columns(
|
|
285
|
-
SEQUENCE_LABEL,
|
|
286
|
-
String(totals.sequence_count),
|
|
287
|
-
sequence_suffix(totals)
|
|
288
|
-
),
|
|
289
|
-
time_format.format_columns(
|
|
290
|
-
RECOVERABLE_LABEL,
|
|
291
|
-
String(totals.recoverable_round_trips),
|
|
292
|
-
recoverable_suffix(totals, price.round_trip_count)
|
|
293
|
-
),
|
|
294
|
-
saving_line(totals, price.model_ms_per_round_trip),
|
|
295
|
-
...by_tool_lines(totals)
|
|
296
|
-
];
|
|
297
|
-
}
|
|
298
|
-
var LABELS = [SEQUENCE_LABEL, RECOVERABLE_LABEL, SAVING_LABEL, BY_TOOL_LABEL];
|
|
299
|
-
function no_divisor_lines() {
|
|
300
|
-
return LABELS.map((label) => time_format.format_columns(label, "", time_format.NO_CALLS));
|
|
301
|
-
}
|
|
302
|
-
function bundle_lines(totals, price) {
|
|
303
|
-
const heading = ["", HEADING];
|
|
304
|
-
if (!totals.is_measured) return [...heading, ...LABELS.map((label) => unmeasured_row(label))];
|
|
305
|
-
if (price.round_trip_count === NONE2) return [...heading, ...no_divisor_lines()];
|
|
306
|
-
return [...heading, ...measured_lines(totals, price)];
|
|
307
|
-
}
|
|
308
|
-
var time_bundles = {
|
|
309
|
-
HEADING,
|
|
310
|
-
SEQUENCE_LABEL,
|
|
311
|
-
RECOVERABLE_LABEL,
|
|
312
|
-
SAVING_LABEL,
|
|
313
|
-
BY_TOOL_LABEL,
|
|
314
|
-
MIN_SEQUENCE,
|
|
315
|
-
NO_BUNDLES,
|
|
316
|
-
build_bundles,
|
|
317
|
-
bundle_lines,
|
|
318
|
-
is_dependent,
|
|
319
|
-
open_sequence,
|
|
320
|
-
shares_target
|
|
321
|
-
};
|
|
322
|
-
|
|
323
|
-
// scripts/time-runtime/time-command-key.ts
|
|
324
|
-
var UNNAMED_KEY = "";
|
|
325
|
-
function command_key(span) {
|
|
326
|
-
if (span.label === time_spans.UNKNOWN_TOOL) return UNNAMED_KEY;
|
|
327
|
-
return span.josh_command === "" ? span.label : span.josh_command;
|
|
328
|
-
}
|
|
329
|
-
var time_command_key = { UNNAMED_KEY, command_key };
|
|
330
|
-
|
|
331
|
-
// scripts/time-runtime/time-call-identity.ts
|
|
332
|
-
var IDENTITY_SEPARATOR = "\0";
|
|
333
|
-
function identity_of(call) {
|
|
334
|
-
return [
|
|
335
|
-
time_command_key.command_key(call),
|
|
336
|
-
call.check_key,
|
|
337
|
-
[...call.targets].toSorted((left, right) => left.localeCompare(right)).join(",")
|
|
338
|
-
].join(IDENTITY_SEPARATOR);
|
|
339
|
-
}
|
|
340
|
-
var time_call_identity = { identity_of };
|
|
341
|
-
|
|
342
|
-
// scripts/time-runtime/time-batch-guard.ts
|
|
343
|
-
var CONSECUTIVE_LIMIT = 3;
|
|
344
|
-
var REFIRE_EVERY = CONSECUTIVE_LIMIT;
|
|
345
|
-
var ONE_TURN = 1;
|
|
346
|
-
var NONE3 = 0;
|
|
347
|
-
var NOTICE_REFIRE_EVERY = ONE_TURN;
|
|
348
|
-
var NAMED_CANDIDATE_COUNT = 3;
|
|
349
|
-
var SEQUENCE_BEFORE_LIMIT = CONSECUTIVE_LIMIT - ONE_TURN;
|
|
350
|
-
var REASON = `\u26D4 batching: the last ${String(SEQUENCE_BEFORE_LIMIT)} turns each issued a single tool call, so this one would make ${String(CONSECUTIVE_LIMIT)} in a row. Reissue it in one turn together with the calls meant to follow it that do not need its result. **The criterion is whether this call's input needs another call's result, not what kind of call it is** \u2014 edits are covered exactly as reads are, and it never authorizes weakening a verification gate or a review: fewer turns, never less work. The measured cost and the rejected mechanisms are in \`prompts/collaboration-workflow/turn-batching.md\`. If this turn was already batching, or the call genuinely has nothing to go beside it, reissue it as it was: this fires once per run of single-call turns and cannot repeat on the call in hand.`;
|
|
351
|
-
var NOTICE = `\u{1F4A1} batching: the last ${String(SEQUENCE_BEFORE_LIMIT)} turns each issued a single tool call, so this Write makes ${String(CONSECUTIVE_LIMIT)} in a row. This is a notice, not a refusal \u2014 the write proceeds. Where the writes meant to follow it do not need its result, issue them in one turn together. **The criterion is whether a call's input needs another call's result, not what kind of call it is** \u2014 it never authorizes weakening a verification gate or a review: fewer turns, never less work. The measured cost and the rejected mechanisms are in \`prompts/collaboration-workflow/turn-batching.md\`. If this run was already batching, or the write genuinely has nothing to go beside it, carry on: this recurs every ${String(NOTICE_REFIRE_EVERY)} further single-call turn(s).`;
|
|
352
|
-
var LANE_NOTICE = `\u{1F4A1} batching: the last ${String(SEQUENCE_BEFORE_LIMIT)} turns each issued a single tool call, so this one makes ${String(CONSECUTIVE_LIMIT)} in a row. This is a notice, not a refusal \u2014 the call proceeds, because a dispatched lane child ends its turn on a denial. Where the calls meant to follow it do not need its result, issue them in one turn together. **The criterion is whether a call's input needs another call's result, not what kind of call it is** \u2014 it never authorizes weakening a verification gate or a review: fewer turns, never less work. The measured cost and the rejected mechanisms are in \`prompts/collaboration-workflow/turn-batching.md\`. If this run was already batching, or the call genuinely has nothing to go beside it, carry on: this recurs every ${String(NOTICE_REFIRE_EVERY)} further single-call turn(s).`;
|
|
353
|
-
var WHOLE_FILE_WRITE_TOOL = "Write";
|
|
354
|
-
function is_guarded_call(call) {
|
|
355
|
-
if (call.name === WHOLE_FILE_WRITE_TOOL) return false;
|
|
356
|
-
return time_bundle_call.call_facts(call.name, call.input).is_bundleable;
|
|
357
|
-
}
|
|
358
|
-
function is_notice_call(call) {
|
|
359
|
-
return call.name === WHOLE_FILE_WRITE_TOOL;
|
|
360
|
-
}
|
|
361
|
-
function is_read_only_call(call) {
|
|
362
|
-
const facts = time_bundle_call.call_facts(call.name, call.input);
|
|
363
|
-
return facts.is_bundleable && !facts.may_write;
|
|
364
|
-
}
|
|
365
|
-
function depends_on_sequence(sequence, facts) {
|
|
366
|
-
return sequence.some((span) => time_bundles.shares_target(span.targets, facts.targets));
|
|
367
|
-
}
|
|
368
|
-
function sequence_started_ms(sequence) {
|
|
369
|
-
return sequence[0]?.ended_ms ?? NONE3;
|
|
370
|
-
}
|
|
371
|
-
function turns_since(sequence, last_fired_ms) {
|
|
372
|
-
return sequence.filter((span) => span.ended_ms > last_fired_ms).length;
|
|
373
|
-
}
|
|
374
|
-
function is_sequence_at_limit(sequence, facts, last_fired_ms, refire_every) {
|
|
375
|
-
if (sequence.length < SEQUENCE_BEFORE_LIMIT || depends_on_sequence(sequence, facts)) return false;
|
|
376
|
-
if (last_fired_ms < sequence_started_ms(sequence)) return true;
|
|
377
|
-
return turns_since(sequence, last_fired_ms) >= refire_every;
|
|
378
|
-
}
|
|
379
|
-
function is_at_limit(spans, call, last_fired_ms, refire_every) {
|
|
380
|
-
return is_sequence_at_limit(
|
|
381
|
-
time_bundles.open_sequence(spans),
|
|
382
|
-
time_bundle_call.call_facts(call.name, call.input),
|
|
383
|
-
last_fired_ms,
|
|
384
|
-
refire_every
|
|
385
|
-
);
|
|
386
|
-
}
|
|
387
|
-
var GUARD_LABEL = time_transcript_line.guard_from_refusal(REASON);
|
|
388
|
-
function is_reissued_refusal(spans, call) {
|
|
389
|
-
const identity = time_call_identity.identity_of(
|
|
390
|
-
time_spans.to_tool_call(call.name, call.input, time_spans.NO_MESSAGE_ID)
|
|
391
|
-
);
|
|
392
|
-
return spans.some(
|
|
393
|
-
(span) => span.refusal_guard === GUARD_LABEL && time_call_identity.identity_of(span) === identity
|
|
394
|
-
);
|
|
395
|
-
}
|
|
396
|
-
function should_block(text, call, refused_at_ms, refire_every = REFIRE_EVERY) {
|
|
397
|
-
if (!is_guarded_call(call)) return false;
|
|
398
|
-
const { spans } = time_spans.parse_timeline(text);
|
|
399
|
-
if (is_reissued_refusal(spans, call)) return false;
|
|
400
|
-
return is_at_limit(spans, call, refused_at_ms, refire_every);
|
|
401
|
-
}
|
|
402
|
-
function should_notify(text, call, notified_at_ms) {
|
|
403
|
-
if (!is_notice_call(call)) return false;
|
|
404
|
-
const { spans } = time_spans.parse_timeline(text);
|
|
405
|
-
return is_at_limit(spans, call, notified_at_ms, NOTICE_REFIRE_EVERY);
|
|
406
|
-
}
|
|
407
|
-
function describe_span(span) {
|
|
408
|
-
const target = span.targets[0] ?? "";
|
|
409
|
-
if (target === "" || span.label.includes(target)) return span.label;
|
|
410
|
-
return `${span.label} ${target}`;
|
|
411
|
-
}
|
|
412
|
-
function recent_candidates(tail) {
|
|
413
|
-
const named = time_bundles.open_sequence(time_spans.parse_timeline(tail).spans).slice(-NAMED_CANDIDATE_COUNT).map((span) => describe_span(span));
|
|
414
|
-
if (named.length === NONE3) return "";
|
|
415
|
-
return ` Just issued one per turn, so at least these could have shared a turn: ${named.join(", ")}.`;
|
|
416
|
-
}
|
|
417
|
-
var STAMP_PREFIX = "josh-batch-guard-";
|
|
418
|
-
var NOTICE_STAMP_PREFIX = "josh-batch-guard-notice-";
|
|
419
|
-
var time_batch_guard = {
|
|
420
|
-
CONSECUTIVE_LIMIT,
|
|
421
|
-
GUARD_LABEL,
|
|
422
|
-
LANE_NOTICE,
|
|
423
|
-
NAMED_CANDIDATE_COUNT,
|
|
424
|
-
NOTICE,
|
|
425
|
-
NOTICE_REFIRE_EVERY,
|
|
426
|
-
NOTICE_STAMP_PREFIX,
|
|
427
|
-
REASON,
|
|
428
|
-
REFIRE_EVERY,
|
|
429
|
-
SEQUENCE_BEFORE_LIMIT,
|
|
430
|
-
STAMP_PREFIX,
|
|
431
|
-
is_guarded_call,
|
|
432
|
-
is_notice_call,
|
|
433
|
-
is_read_only_call,
|
|
434
|
-
recent_candidates,
|
|
435
|
-
should_block,
|
|
436
|
-
should_notify
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
export {
|
|
440
|
-
lane_guard_policy,
|
|
441
|
-
time_batch_guard
|
|
442
|
-
};
|