@joshuafolkken/kit 1.1094.0 → 1.1128.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.
Files changed (149) hide show
  1. package/.claude/skills/workflow-commands/SKILL.md +1 -1
  2. package/.claude/skills/workflow-commands/background-commands.md +36 -85
  3. package/.claude/skills/workflow-commands/backlogrun-progress.md +29 -32
  4. package/.claude/skills/workflow-commands/backlogrun-steps.md +2 -2
  5. package/.claude/skills/workflow-commands/fullrun.md +5 -4
  6. package/.claude/skills/workflow-commands/halfrun.md +5 -4
  7. package/.claude/skills/workflow-commands/latest-gate.md +7 -15
  8. package/.claude/skills/workflow-commands/pre-gate-cut.md +4 -8
  9. package/.claude/skills/workflow-commands/split-assessment.md +4 -18
  10. package/.github/actions/setup-node/action.yml +33 -0
  11. package/.github/actions/setup-pnpm/action.yml +4 -4
  12. package/.github/workflows/auto-tag.yml +2 -3
  13. package/.github/workflows/ci.yml +7 -8
  14. package/.github/workflows/dependabot-auto-merge.yml +1 -0
  15. package/.github/workflows/pr-classification.yml +1 -3
  16. package/.github/workflows/production.yml +1 -0
  17. package/.github/workflows/publish.yml +10 -9
  18. package/.github/workflows/sonar-qube.yml +17 -13
  19. package/.pnpmfile.mjs +29 -0
  20. package/AGENTS.md +4 -11
  21. package/CLAUDE.md +24 -17
  22. package/GEMINI.md +4 -13
  23. package/README.md +8 -3
  24. package/SECURITY.md +1 -0
  25. package/cspell/index.yaml +4 -0
  26. package/dist/CLAUDE.basic.md +6 -6
  27. package/dist/CLAUDE.md +24 -17
  28. package/dist/CLAUDE.static.md +6 -6
  29. package/dist/config-merge/index.js +33 -9
  30. package/dist/hooks/batch-guard.js +4 -4
  31. package/dist/hooks/{chunk-NKOG3XAV.js → chunk-4JZDP5X5.js} +2 -2
  32. package/dist/hooks/{chunk-3C4YCCEF.js → chunk-5SD2YM7Z.js} +4 -4
  33. package/dist/hooks/{chunk-OIZUHPJI.js → chunk-77J7IEQM.js} +1 -1
  34. package/dist/hooks/{chunk-KHWHKJOM.js → chunk-7HVB7SZG.js} +3 -3
  35. package/dist/hooks/{chunk-UD24EAIL.js → chunk-AIOIOMPX.js} +1875 -104
  36. package/dist/hooks/{chunk-M2XDCUKD.js → chunk-M7QKEKWO.js} +88 -1783
  37. package/dist/hooks/{chunk-E54KGFEQ.js → chunk-MKVGBQPA.js} +1 -1
  38. package/dist/hooks/{chunk-7ZPFAVR7.js → chunk-NXYMNPUQ.js} +3 -3
  39. package/dist/hooks/{chunk-O4LL4HTI.js → chunk-QVLT52OV.js} +2 -2
  40. package/dist/hooks/{chunk-IL27YTPH.js → chunk-XYUIQOW3.js} +2 -2
  41. package/dist/hooks/codex-hook-adapter.js +12 -47
  42. package/dist/hooks/duplicate-read-guard.js +5 -5
  43. package/dist/hooks/format-edited.js +2 -2
  44. package/dist/hooks/inputs.json +180 -179
  45. package/dist/hooks/investigation-guard.js +5 -5
  46. package/dist/hooks/pretool-guard.js +9 -9
  47. package/dist/hooks/stop-guard.js +17 -12
  48. package/dist/josh.js +79 -30
  49. package/dist/version/index.js +36 -20
  50. package/eslint/rules/unicorn.js +3 -2
  51. package/package.json +18 -2
  52. package/pnpm-workspace.yaml +5 -7
  53. package/prompts/collaboration-workflow/glossary.md +17 -0
  54. package/prompts/collaboration-workflow/issue-template.md +1 -1
  55. package/prompts/collaboration-workflow/operating-rules.md +1 -1
  56. package/prompts/collaboration-workflow/principles.md +9 -0
  57. package/prompts/collaboration-workflow.md +1 -0
  58. package/scripts/backlog/backlog-arrival.ts +30 -10
  59. package/scripts/backlog/backlog-budget-cli.ts +15 -16
  60. package/scripts/backlog/backlog-offer-cli.ts +6 -14
  61. package/scripts/backlog/backlog-plan.ts +29 -18
  62. package/scripts/backlog/backlog-ready.ts +20 -7
  63. package/scripts/config-merge/parse-jsonc.ts +33 -3
  64. package/scripts/config-merge/patch-json-key.ts +13 -6
  65. package/scripts/cost-runtime/cost-cli.ts +3 -7
  66. package/scripts/doctor/doctor-consumer.ts +3 -5
  67. package/scripts/doctor/doctor-io.ts +9 -13
  68. package/scripts/document/backlogrun-parent-read-set.ts +12 -1
  69. package/scripts/document/document-byte-budget.ts +1 -0
  70. package/scripts/document/entry-read-budget.ts +13 -7
  71. package/scripts/document/entry-read-set.ts +32 -8
  72. package/scripts/document/lane-child-read-set.ts +7 -0
  73. package/scripts/document/read-set-point-of-use.ts +8 -3
  74. package/scripts/document/read-set-trim.ts +3 -1
  75. package/scripts/epic/epic-audit.ts +3 -18
  76. package/scripts/gh/git-gh-issue-list.ts +12 -11
  77. package/scripts/gh/git-gh-issue-write.ts +4 -1
  78. package/scripts/gh/git-gh-pr-auto-merge.ts +4 -1
  79. package/scripts/git/git-command.ts +6 -1
  80. package/scripts/git/git-spawn-sync.ts +65 -0
  81. package/scripts/git/git-spawn.ts +5 -4
  82. package/scripts/git/stash/stash-pop-args.ts +1 -6
  83. package/scripts/init/init-file-action.ts +54 -0
  84. package/scripts/init/init-logic-migrate.ts +35 -17
  85. package/scripts/init/init-logic-secretlint.ts +1 -1
  86. package/scripts/init/init-logic.ts +6 -22
  87. package/scripts/init/init.ts +11 -68
  88. package/scripts/init/kit-written-paths.ts +2 -0
  89. package/scripts/init/project-profile.ts +3 -6
  90. package/scripts/init/start-steps.ts +2 -1
  91. package/scripts/issue/defect-rate-cli.ts +61 -20
  92. package/scripts/issue/issue-backlinks.ts +7 -14
  93. package/scripts/issue/issue-cite.ts +12 -6
  94. package/scripts/issue/issue-file.ts +5 -12
  95. package/scripts/issue/markdown-section.ts +21 -6
  96. package/scripts/issue/measure-rerun-cli.ts +73 -14
  97. package/scripts/josh/josh-commands-project.ts +1 -1
  98. package/scripts/josh/josh-commands-workflow.ts +1 -1
  99. package/scripts/josh/run-github-prerequisite.ts +3 -6
  100. package/scripts/lane/lane-await.ts +43 -13
  101. package/scripts/lane/lane-close.ts +4 -1
  102. package/scripts/lane/lane-launch-cli.ts +10 -16
  103. package/scripts/lane/openai-review-broker.ts +4 -1
  104. package/scripts/lib/cli-flags.ts +31 -2
  105. package/scripts/lib/error-message.ts +12 -1
  106. package/scripts/lines/line-targets.ts +0 -11
  107. package/scripts/lines/lines-command.ts +5 -3
  108. package/scripts/propagate/propagate-git.ts +3 -8
  109. package/scripts/refactor/refactor-scan.ts +2 -1
  110. package/scripts/registry-migration/migrate-logic.ts +28 -19
  111. package/scripts/registry-migration/migrate.ts +6 -5
  112. package/scripts/release/github-release-cli.ts +14 -3
  113. package/scripts/release/release-publish.ts +36 -2
  114. package/scripts/release/release-worktree.ts +97 -2
  115. package/scripts/review/review-checkout.ts +3 -2
  116. package/scripts/review/review-record-cli.ts +9 -16
  117. package/scripts/rules/early-heartbeat.ts +4 -3
  118. package/scripts/rules/lane-park.ts +9 -0
  119. package/scripts/rules/stop-rules.ts +7 -4
  120. package/scripts/run/run-carry-args.ts +8 -12
  121. package/scripts/run/run-cut-args.ts +1 -6
  122. package/scripts/run/run-ending-cli.ts +1 -5
  123. package/scripts/run/run-entry-cli.ts +40 -9
  124. package/scripts/run/run-entry-stop.ts +104 -0
  125. package/scripts/run/run-event-stream-emit.ts +7 -2
  126. package/scripts/run/run-hold.ts +4 -1
  127. package/scripts/run/run-liveness-cli.ts +1 -5
  128. package/scripts/run/run-merge-cli.ts +2 -10
  129. package/scripts/run/run-parent-cut-hook.ts +4 -1
  130. package/scripts/run/run-prep-cli.ts +4 -1
  131. package/scripts/run/run-progress-args.ts +20 -4
  132. package/scripts/run/run-progress-cli.ts +31 -29
  133. package/scripts/run/run-progress-clock.ts +4 -1
  134. package/scripts/run/run-ship-cli.ts +8 -16
  135. package/scripts/run/run-ship-probe.ts +4 -1
  136. package/scripts/run/run-status-cli.ts +2 -15
  137. package/scripts/run/run-tidy-lanes.ts +4 -1
  138. package/scripts/run/run-wake-cli.ts +2 -10
  139. package/scripts/run/run-watcher-guard.ts +9 -5
  140. package/scripts/safe-chain/pack-hook.ts +92 -0
  141. package/scripts/sync/sync-ai-files.ts +4 -0
  142. package/scripts/test/test-declared-changed.ts +13 -16
  143. package/scripts/test/test-declared.ts +3 -7
  144. package/scripts/version/version-commands.ts +11 -1
  145. package/templates/CLAUDE.basic.md +6 -6
  146. package/templates/workflows/ci.yml +16 -82
  147. package/templates/workflows/dependabot-auto-merge.yml +1 -0
  148. package/templates/workflows/github-release.yml +1 -3
  149. package/tsconfig.sonar.json +4 -22
@@ -3,7 +3,7 @@ import {
3
3
  stamp_file,
4
4
  time_density_hook,
5
5
  time_hook_transcript
6
- } from "./chunk-NKOG3XAV.js";
6
+ } from "./chunk-4JZDP5X5.js";
7
7
  import {
8
8
  josh_environment_file
9
9
  } from "./chunk-WPALEIRX.js";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  time_batch_guard
3
- } from "./chunk-O4LL4HTI.js";
3
+ } from "./chunk-QVLT52OV.js";
4
4
  import {
5
5
  hook_decision
6
- } from "./chunk-E54KGFEQ.js";
6
+ } from "./chunk-MKVGBQPA.js";
7
7
  import {
8
8
  cost_blocks,
9
9
  cost_transcript,
10
10
  time_bundle_call,
11
11
  time_shell,
12
12
  time_spans
13
- } from "./chunk-NKOG3XAV.js";
13
+ } from "./chunk-4JZDP5X5.js";
14
14
 
15
15
  // scripts/delegation/investigation-reads.ts
16
16
  import path from "node:path";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  lane_child_marker
3
- } from "./chunk-E54KGFEQ.js";
3
+ } from "./chunk-MKVGBQPA.js";
4
4
  import {
5
5
  time_bundle_call,
6
6
  time_format,
7
7
  time_round_trips,
8
8
  time_spans,
9
9
  time_transcript_line
10
- } from "./chunk-NKOG3XAV.js";
10
+ } from "./chunk-4JZDP5X5.js";
11
11
 
12
12
  // scripts/lane/lane-guard-policy.ts
13
13
  var DEFAULT_MODE = "refuse";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  lane_guard_policy,
3
3
  time_batch_guard
4
- } from "./chunk-O4LL4HTI.js";
4
+ } from "./chunk-QVLT52OV.js";
5
5
  import {
6
6
  hook_decision
7
- } from "./chunk-E54KGFEQ.js";
7
+ } from "./chunk-MKVGBQPA.js";
8
8
 
9
9
  // scripts/hooks/batch-guard.ts
10
10
  import { text } from "node:stream/consumers";
@@ -1,68 +1,33 @@
1
1
  #!/usr/bin/env tsx
2
2
  import {
3
3
  pretool_guard
4
- } from "./chunk-M2XDCUKD.js";
5
- import "./chunk-UD24EAIL.js";
4
+ } from "./chunk-M7QKEKWO.js";
5
+ import {
6
+ bounded_pool
7
+ } from "./chunk-AIOIOMPX.js";
6
8
  import {
7
9
  build_envelope,
8
10
  compose_context,
9
11
  format_edited_payload
10
- } from "./chunk-OIZUHPJI.js";
12
+ } from "./chunk-77J7IEQM.js";
11
13
  import "./chunk-3V37IID6.js";
12
- import "./chunk-IL27YTPH.js";
13
- import "./chunk-KHWHKJOM.js";
14
- import "./chunk-3C4YCCEF.js";
15
- import "./chunk-7ZPFAVR7.js";
16
- import "./chunk-O4LL4HTI.js";
14
+ import "./chunk-XYUIQOW3.js";
15
+ import "./chunk-7HVB7SZG.js";
16
+ import "./chunk-5SD2YM7Z.js";
17
+ import "./chunk-NXYMNPUQ.js";
18
+ import "./chunk-QVLT52OV.js";
17
19
  import {
18
20
  hook_decision
19
- } from "./chunk-E54KGFEQ.js";
21
+ } from "./chunk-MKVGBQPA.js";
20
22
  import {
21
23
  time_density_hook
22
- } from "./chunk-NKOG3XAV.js";
24
+ } from "./chunk-4JZDP5X5.js";
23
25
  import "./chunk-WPALEIRX.js";
24
26
  import "./chunk-RKUAD3I6.js";
25
27
 
26
28
  // scripts/hooks/codex-hook-adapter.ts
27
29
  import { text } from "node:stream/consumers";
28
30
  import { fileURLToPath } from "node:url";
29
-
30
- // scripts/lib/bounded-pool.ts
31
- function pool_width(limit, total) {
32
- if (!Number.isFinite(limit)) return 1;
33
- return Math.max(1, Math.min(Math.floor(limit), total));
34
- }
35
- function throw_first_failure(failures) {
36
- if (failures.length === 0) return;
37
- const [first] = failures;
38
- throw first;
39
- }
40
- async function drain(pool, worker) {
41
- for (let entry = pool.queue.shift(); entry !== void 0 && pool.failures.length === 0; entry = pool.queue.shift()) {
42
- const [index, item] = entry;
43
- try {
44
- pool.results.push({ index, value: await worker(item, index) });
45
- } catch (error) {
46
- pool.failures.push(error);
47
- }
48
- }
49
- }
50
- async function bounded_map(items, limit, worker) {
51
- const pool = {
52
- failures: [],
53
- queue: items.map((item, index) => [index, item]),
54
- results: []
55
- };
56
- const consumers = Array.from({ length: pool_width(limit, items.length) }, async () => {
57
- await drain(pool, worker);
58
- });
59
- await Promise.all(consumers);
60
- throw_first_failure(pool.failures);
61
- return pool.results.toSorted((left, right) => left.index - right.index).map((result) => result.value);
62
- }
63
- var bounded_pool = { bounded_map, pool_width };
64
-
65
- // scripts/hooks/codex-hook-adapter.ts
66
31
  import { z } from "zod";
67
32
  var APPLY_PATCH_TOOL = "apply_patch";
68
33
  var EDIT_TOOL = "Edit";
@@ -9,11 +9,11 @@ import {
9
9
  is_enabled,
10
10
  notice_refusal_path,
11
11
  refusal_path
12
- } from "./chunk-3C4YCCEF.js";
13
- import "./chunk-7ZPFAVR7.js";
14
- import "./chunk-O4LL4HTI.js";
15
- import "./chunk-E54KGFEQ.js";
16
- import "./chunk-NKOG3XAV.js";
12
+ } from "./chunk-5SD2YM7Z.js";
13
+ import "./chunk-NXYMNPUQ.js";
14
+ import "./chunk-QVLT52OV.js";
15
+ import "./chunk-MKVGBQPA.js";
16
+ import "./chunk-4JZDP5X5.js";
17
17
  import "./chunk-WPALEIRX.js";
18
18
  import "./chunk-RKUAD3I6.js";
19
19
  export {
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  report_no_payload,
4
4
  run_hook
5
- } from "./chunk-OIZUHPJI.js";
5
+ } from "./chunk-77J7IEQM.js";
6
6
  import "./chunk-3V37IID6.js";
7
- import "./chunk-NKOG3XAV.js";
7
+ import "./chunk-4JZDP5X5.js";
8
8
  import "./chunk-RKUAD3I6.js";
9
9
 
10
10
  // scripts/hooks/format-edited-cli.ts
@@ -1,116 +1,136 @@
1
1
  {
2
- "digest": "4a1eb9a5cd5327ee41bd842c378a8860ba09c614381fc37f26a813761392c0b7",
2
+ "digest": "61d77239271912d0dec178949423107a0d61128eafa62304de63a9b32459d401",
3
3
  "inputs": [
4
4
  "scripts/hooks/codex-hook-adapter.ts",
5
5
  "scripts/hooks/pretool-guard-cli.ts",
6
6
  "scripts/hooks/stop-guard.ts",
7
7
  "scripts/hooks/format-edited-cli.ts",
8
- "scripts/josh/session-language-cli.ts",
9
- "scripts/hooks/batch-guard.ts",
10
8
  "scripts/delegation/investigation-guard.ts",
11
9
  "scripts/delegation/duplicate-read-guard.ts",
10
+ "scripts/hooks/batch-guard.ts",
11
+ "scripts/josh/session-language-cli.ts",
12
12
  "scripts/hooks/pretool-guard.ts",
13
13
  "scripts/josh/hook-decision.ts",
14
14
  "scripts/hooks/format-edited-file.ts",
15
+ "scripts/discovery/repo-party.ts",
16
+ "scripts/backlog/backlog-ready.ts",
17
+ "scripts/backlog/backlog-stalled-detect.ts",
15
18
  "scripts/lib/bounded-pool.ts",
16
- "scripts/time-runtime/time-density-hook.ts",
17
- "scripts/time-runtime/time-hook-transcript.ts",
18
19
  "scripts/josh/session-language.ts",
20
+ "scripts/time-runtime/time-density-hook.ts",
21
+ "scripts/lane/lane-child-marker.ts",
22
+ "scripts/run/run-hold.ts",
23
+ "scripts/lane/lane-handoff.ts",
24
+ "scripts/run/run-halfrun-resume.ts",
19
25
  "scripts/josh/josh-environment-file.ts",
26
+ "scripts/run/run-headless.ts",
27
+ "scripts/rules/delivered-rules.ts",
28
+ "scripts/run/run-parent-cut-hook.ts",
29
+ "scripts/run/run-watcher-hook.ts",
30
+ "scripts/hooks/step-zero-notice.ts",
20
31
  "scripts/time-runtime/time-batch-guard.ts",
21
- "scripts/lane/lane-guard-policy.ts",
22
- "scripts/time-runtime/time-density.ts",
23
32
  "scripts/josh/stamp-file.ts",
24
- "scripts/hooks/format-rewrite-notice.ts",
25
- "scripts/josh/josh-command-types.ts",
26
- "scripts/hooks/edited-cspell.ts",
27
- "scripts/build/local-bin.ts",
28
- "ports/index.js",
29
- "scripts/cost-runtime/cost-transcript.ts",
30
- "scripts/josh/platform-temporary.ts",
31
- "scripts/lane/lane-child-marker.ts",
32
- "scripts/init/init-paths.ts",
33
- "scripts/run/run-stranded-detect.ts",
34
- "scripts/backlog/backlog-ready.ts",
35
- "scripts/backlog/backlog-stalled-detect.ts",
36
- "scripts/discovery/repo-party.ts",
37
- "scripts/lane/lane-handoff.ts",
38
33
  "scripts/rules/filing-cap.ts",
39
34
  "scripts/rules/lane-background.ts",
35
+ "scripts/lane/lane-guard-policy.ts",
40
36
  "scripts/rules/lane-park.ts",
41
37
  "scripts/rules/last-prompt.ts",
42
38
  "scripts/rules/stop-rules.ts",
43
- "scripts/lib/read-file.ts",
39
+ "scripts/run/run-stranded-detect.ts",
44
40
  "scripts/run/run-carry.ts",
45
- "scripts/run/run-headless.ts",
46
- "scripts/run/run-hold.ts",
41
+ "scripts/time-runtime/time-hook-transcript.ts",
47
42
  "scripts/run/run-cut.ts",
48
- "scripts/run/run-halfrun-resume.ts",
49
43
  "scripts/delegation/investigation-reads.ts",
50
- "scripts/time-runtime/time-transcript-line.ts",
51
- "scripts/hooks/step-zero-notice.ts",
52
- "scripts/time-runtime/time-bundle-call.ts",
53
- "scripts/time-runtime/time-bundles.ts",
54
- "scripts/time-runtime/time-call-identity.ts",
55
- "scripts/time-runtime/time-spans.ts",
56
- "scripts/time-runtime/time-round-trips.ts",
57
- "scripts/rules/delivered-rules.ts",
58
- "scripts/run/run-parent-cut-hook.ts",
59
- "scripts/run/run-watcher-hook.ts",
60
- "scripts/cost-runtime/cost-blocks.ts",
61
44
  "scripts/lib/json-value.ts",
62
- "scripts/lib/schemas.ts",
63
- "scripts/cost-runtime/cost-usage.ts",
45
+ "scripts/time-runtime/time-spans.ts",
46
+ "scripts/hooks/format-rewrite-notice.ts",
47
+ "scripts/build/local-bin.ts",
48
+ "scripts/josh/josh-command-types.ts",
49
+ "scripts/hooks/edited-cspell.ts",
50
+ "scripts/run/run-watcher-guard.ts",
51
+ "ports/index.js",
64
52
  "scripts/lane/lane-paths.ts",
65
- "scripts/run/run-wake.ts",
66
- "scripts/notify/telegram-notify.ts",
67
- "scripts/run/run-event-stream.ts",
68
- "scripts/run/run-event-stream-emit.ts",
69
- "scripts/run/run-stranded.ts",
70
- "scripts/backlog/backlog-stalled.ts",
71
- "scripts/run/run-ship-detach.ts",
53
+ "scripts/git/git-command.ts",
54
+ "scripts/lane/lane-registry.ts",
55
+ "scripts/lane/lane-reap.ts",
56
+ "scripts/run/run-issue-number.ts",
57
+ "scripts/run/run-progress-read.ts",
72
58
  "scripts/discovery/repo-origin.ts",
73
59
  "scripts/git/git-common-directory.ts",
74
- "scripts/discovery/repo-discovery.ts",
75
- "scripts/run/run-issue-number.ts",
76
60
  "scripts/run/run-invocation.ts",
61
+ "scripts/gh/git-gh-command.ts",
62
+ "scripts/issue/issue-cite.ts",
77
63
  "scripts/josh/josh-run.ts",
78
64
  "scripts/lane/lane-capacity.ts",
79
- "scripts/lane/lane-registry.ts",
80
- "scripts/time-runtime/time-shell.ts",
81
- "scripts/rules/bash-triggers.ts",
65
+ "scripts/time-runtime/time-density.ts",
66
+ "scripts/backlog/backlog-stalled.ts",
67
+ "scripts/discovery/repo-discovery.ts",
68
+ "scripts/run/run-ship-detach.ts",
69
+ "scripts/run/run-event-stream-emit.ts",
70
+ "scripts/notify/telegram-notify.ts",
71
+ "scripts/run/run-event-stream.ts",
72
+ "scripts/lib/error-message.ts",
73
+ "scripts/rules/implementation-cut-verdict.ts",
74
+ "scripts/time-runtime/time-transcript-line.ts",
75
+ "scripts/cost-runtime/context-cut-threshold.ts",
76
+ "scripts/cost-runtime/cost-cli.ts",
77
+ "scripts/cost-runtime/cost-format.ts",
78
+ "scripts/cost-runtime/cost-verdict.ts",
79
+ "scripts/test/test-declared-logic.ts",
80
+ "scripts/time-runtime/time-bundle-call.ts",
81
+ "scripts/time-runtime/time-bundles.ts",
82
+ "scripts/time-runtime/time-call-identity.ts",
83
+ "scripts/epic/epic-triage.ts",
84
+ "scripts/discovery/repo-map-logic.ts",
85
+ "scripts/josh/platform-temporary.ts",
82
86
  "scripts/rules/tail-commands.ts",
87
+ "scripts/time-runtime/time-reported-failure.ts",
83
88
  "scripts/rules/run-tail.ts",
84
- "scripts/lane/lane-reap.ts",
85
- "scripts/run/run-carry-change.ts",
86
- "scripts/backlog/backlog-budget.ts",
87
- "scripts/git/git-command.ts",
89
+ "scripts/init/init-paths.ts",
90
+ "scripts/time-runtime/time-shell.ts",
91
+ "scripts/rules/bash-triggers.ts",
92
+ "scripts/cost-runtime/context-cut-payback.ts",
93
+ "scripts/cost-runtime/cost-blocks.ts",
94
+ "scripts/cost-runtime/transcript-cwd.ts",
95
+ "scripts/run/detached-launch.ts",
96
+ "scripts/time-runtime/time-round-trips.ts",
97
+ "scripts/time-runtime/time-command-key.ts",
98
+ "scripts/lane/lane-seed.ts",
99
+ "scripts/issue/issue-labels.ts",
100
+ "scripts/rules/issue-citation.ts",
101
+ "scripts/lib/status-icons.ts",
102
+ "scripts/git/git-spawn-sync.ts",
103
+ "scripts/git/constants.ts",
104
+ "scripts/git/git-execa-error.ts",
105
+ "scripts/git/git-push-transport.ts",
106
+ "scripts/git/git-spawn.ts",
107
+ "scripts/lane/lane-environment.ts",
108
+ "scripts/run/run-progress-clock.ts",
109
+ "scripts/rules/shell-segments.ts",
110
+ "scripts/lib/timed-fetch.ts",
111
+ "scripts/backlog/backlog-budget-cli.ts",
88
112
  "scripts/josh/process-identity.ts",
89
- "scripts/time-runtime/time-reported-failure.ts",
90
- "scripts/time-runtime/time-background.ts",
91
113
  "scripts/time-runtime/time-followup-stage.ts",
114
+ "scripts/rules/worktree-guard.ts",
115
+ "scripts/josh/josh-command-map.ts",
116
+ "scripts/cost-runtime/cost-pricing.ts",
117
+ "scripts/josh/agent-session-environment.ts",
118
+ "scripts/agent/agent-launch-environment.ts",
119
+ "scripts/cost-runtime/codex-usage.ts",
92
120
  "scripts/time-runtime/time-instant.ts",
93
- "scripts/run/run-cut-handoff.ts",
94
121
  "scripts/agent/agent-role-profile.ts",
95
- "scripts/cost-runtime/context-cut-threshold.ts",
96
- "scripts/lane/lane-child-invocation.ts",
97
- "scripts/rules/shell-segments.ts",
98
- "scripts/issue/issue-labels.ts",
99
- "scripts/delegation/delegation-policy.ts",
100
- "scripts/test/test-declared-logic.ts",
101
- "scripts/rules/reply-language.ts",
102
- "scripts/rules/filing-offer.ts",
103
- "scripts/rules/issue-citation.ts",
104
- "scripts/josh/josh-command-map.ts",
105
- "scripts/time-runtime/time-command-key.ts",
106
- "scripts/time-runtime/time-writes.ts",
107
- "scripts/time-runtime/time-markers.ts",
108
- "scripts/time-runtime/time-single-check.ts",
109
- "scripts/time-runtime/time-format.ts",
110
- "scripts/time-runtime/time-agent-bundles.ts",
111
- "scripts/rules/implementation-cut-verdict.ts",
112
- "scripts/run/run-progress-read.ts",
113
- "scripts/rules/worktree-guard.ts",
122
+ "scripts/lib/cli-flags.ts",
123
+ "scripts/cost-runtime/cost-corpus.ts",
124
+ "scripts/cost-runtime/cost-transcript.ts",
125
+ "scripts/time-runtime/time-background.ts",
126
+ "scripts/cost-runtime/cost-usage.ts",
127
+ "scripts/cost-runtime/own-session.ts",
128
+ "scripts/gh/git-gh-issue.ts",
129
+ "scripts/gh/git-gh-pr.ts",
130
+ "scripts/gh/git-gh-pr-auto-merge.ts",
131
+ "scripts/gh/git-gh-repo.ts",
132
+ "scripts/gh/git-pr-checks-watch.ts",
133
+ "scripts/gh/git-gh-helpers.ts",
114
134
  "scripts/rules/direct-filing.ts",
115
135
  "scripts/rules/early-heartbeat.ts",
116
136
  "scripts/rules/file-body.ts",
@@ -124,63 +144,20 @@
124
144
  "scripts/rules/lane-switch-main.ts",
125
145
  "scripts/rules/oracle-consulted.ts",
126
146
  "scripts/rules/permission-guards.ts",
147
+ "scripts/lib/spawn-exit.ts",
127
148
  "scripts/rules/piped-verification.ts",
128
149
  "scripts/rules/poll-loop.ts",
129
150
  "scripts/rules/pre-gate-cut.ts",
151
+ "scripts/rules/shell-body-trigger.ts",
130
152
  "scripts/rules/prior-comment-read.ts",
131
153
  "scripts/rules/raw-field-body.ts",
132
154
  "scripts/rules/rule-body-guard.ts",
133
- "scripts/rules/shell-body-trigger.ts",
155
+ "scripts/git/git-ssh-keepalive.ts",
134
156
  "scripts/rules/test-declared-commit.ts",
135
157
  "scripts/rules/third-party-write.ts",
136
- "scripts/run/run-watcher-guard.ts",
137
- "scripts/cost-runtime/cost-format.ts",
138
- "scripts/cost-runtime/cost-cli.ts",
139
- "scripts/cost-runtime/cost-verdict.ts",
140
- "scripts/josh/process-owner.ts",
141
- "scripts/epic/epic-triage.ts",
142
- "scripts/lib/timed-fetch.ts",
143
- "scripts/gh/gh-spawn.ts",
144
- "scripts/run/run-event-scope.ts",
145
- "scripts/run/detached-launch.ts",
146
- "scripts/git/git-location-environment.ts",
147
- "scripts/discovery/repo-map-logic.ts",
148
- "scripts/git/constants.ts",
149
- "scripts/run/run-carry-streak.ts",
150
- "scripts/backlog/backlog-budget-cli.ts",
151
- "scripts/lane/lane-seed.ts",
152
- "scripts/lane/lane-environment.ts",
153
- "scripts/git/git-worktree.ts",
154
- "scripts/lib/status-icons.ts",
155
- "scripts/josh/josh-verdict.ts",
156
- "scripts/git/git-spawn.ts",
157
- "scripts/git/git-push-transport.ts",
158
- "scripts/cost-runtime/context-cut-payback.ts",
159
- "scripts/josh/agent-session-environment.ts",
160
- "scripts/run/run-progress-clock.ts",
161
- "scripts/rules/protected-files.ts",
162
- "scripts/cost-runtime/cost-attribute.ts",
163
- "scripts/run/run-liveness.ts",
164
- "scripts/gh/git-gh-exec.ts",
165
- "scripts/git/repository-lock.ts",
166
- "scripts/lane/lane-report.ts",
167
- "scripts/epic/epic-busy.ts",
168
- "scripts/lib/timeouts.ts",
169
- "scripts/agent/interactive-ask.ts",
170
- "scripts/rules/oracle-firing.ts",
171
- "scripts/gh/git-gh-api-path.ts",
172
- "scripts/lib/cli-flags.ts",
173
- "scripts/doctor/doctor-consumer.ts",
174
- "scripts/git/git-ls-remote.ts",
175
- "scripts/issue/issue-cite.ts",
176
158
  "scripts/josh/josh-commands-workflow.ts",
177
159
  "scripts/followup/git-followup-stages.ts",
178
- "scripts/test/test-declared-changed.ts",
179
- "scripts/time-runtime/time-phase-names.ts",
180
- "scripts/cost-runtime/cost-pricing.ts",
181
- "scripts/git/git-ssh-keepalive.ts",
182
- "scripts/run/run-progress-config.ts",
183
- "scripts/rules/decision-oracle.ts",
160
+ "scripts/rules/git-argv.ts",
184
161
  "scripts/josh/josh-commands-ai.ts",
185
162
  "scripts/josh/josh-commands-clone.ts",
186
163
  "scripts/josh/josh-commands-development.ts",
@@ -189,90 +166,114 @@
189
166
  "scripts/josh/josh-commands-maintenance.ts",
190
167
  "scripts/josh/josh-commands-project.ts",
191
168
  "scripts/josh/josh-commands-versioning.ts",
192
- "scripts/git/git-execa-error.ts",
193
- "scripts/rules/git-argv.ts",
169
+ "scripts/lib/timeouts.ts",
170
+ "scripts/gh/git-gh-issue-write.ts",
171
+ "scripts/gh/git-gh-issue-list.ts",
172
+ "scripts/gh/git-gh-issue-read.ts",
173
+ "scripts/gh/git-gh-issue-rest.ts",
174
+ "scripts/backlog/backlog-budget.ts",
194
175
  "scripts/josh/path-decision.ts",
195
- "scripts/run/run-progress.ts",
196
- "scripts/run/run-ship-next.ts",
176
+ "scripts/git/git-location-environment.ts",
177
+ "scripts/rules/oracle-firing.ts",
178
+ "scripts/josh/josh-verdict.ts",
179
+ "scripts/gh/gh-spawn.ts",
180
+ "scripts/git/git-worktree.ts",
181
+ "scripts/gh/git-gh-rest-state.ts",
182
+ "scripts/agent/codex-home-source.ts",
183
+ "scripts/lib/read-file.ts",
184
+ "scripts/gh/gh-cli-token.ts",
185
+ "scripts/rules/reply-language.ts",
186
+ "scripts/time-runtime/time-format.ts",
187
+ "scripts/git/changed-paths.ts",
188
+ "scripts/time-runtime/time-agent-bundles.ts",
189
+ "scripts/run/run-event-scope.ts",
190
+ "scripts/gh/git-gh-pr-snapshot.ts",
191
+ "scripts/gh/git-pr-checks-parse.ts",
192
+ "scripts/run/run-progress-config.ts",
197
193
  "scripts/run/run-preflight.ts",
194
+ "scripts/test/test-declared-changed.ts",
195
+ "scripts/agent/interactive-ask.ts",
196
+ "scripts/delegation/delegation-policy.ts",
198
197
  "scripts/rules/destructive-command.ts",
199
198
  "scripts/rules/index-guard.ts",
200
- "scripts/gh/git-gh-failure.ts",
201
- "scripts/version/kit-descriptor.ts",
202
- "scripts/lib/spawn-exit.ts",
203
- "scripts/gate/project-checks.ts",
204
- "scripts/cost-runtime/transcript-cwd.ts",
205
- "scripts/cost-runtime/codex-usage.ts",
206
- "scripts/cost-runtime/cost-corpus.ts",
207
- "scripts/cost-runtime/own-session.ts",
208
- "scripts/git/schemas.ts",
209
- "scripts/agent/agent-launch-environment.ts",
210
- "scripts/issue/issue-state.ts",
211
- "scripts/gh/git-gh-command.ts",
199
+ "scripts/rules/protected-files.ts",
200
+ "scripts/time-runtime/time-markers.ts",
201
+ "scripts/time-runtime/time-single-check.ts",
202
+ "scripts/time-runtime/time-writes.ts",
203
+ "scripts/lib/schemas.ts",
204
+ "scripts/run/run-stranded.ts",
205
+ "scripts/run/run-wake.ts",
206
+ "scripts/lane/lane-child-invocation.ts",
207
+ "scripts/run/run-carry-change.ts",
212
208
  "scripts/git/parse-json-array.ts",
213
- "scripts/agent/agent-event.ts",
214
- "scripts/gh/git-gh-issue-read.ts",
215
- "scripts/lib/error-message.ts",
216
- "scripts/gh/git-gh-check.ts",
217
- "scripts/git/changed-paths.ts",
209
+ "scripts/git/schemas.ts",
210
+ "scripts/ci/pr-classification.ts",
211
+ "scripts/lib/poll.ts",
212
+ "scripts/gh/git-gh-api-path.ts",
213
+ "scripts/gh/git-gh-exec.ts",
214
+ "scripts/gh/git-gh-pr-read.ts",
215
+ "scripts/gh/git-gh-pr-rest.ts",
216
+ "scripts/gh/git-pr-checks.ts",
217
+ "scripts/gh/git-pr-checks-eval.ts",
218
+ "scripts/run/run-cut-handoff.ts",
219
+ "scripts/run/run-progress.ts",
220
+ "scripts/epic/epic-busy.ts",
221
+ "scripts/lane/lane-report.ts",
222
+ "scripts/run/run-liveness.ts",
223
+ "scripts/rules/decision-oracle.ts",
224
+ "scripts/rules/filing-offer.ts",
225
+ "scripts/cost-runtime/cost-attribute.ts",
226
+ "scripts/time-runtime/time-phase-names.ts",
227
+ "scripts/gh/git-gh-reachability.ts",
228
+ "scripts/gh/git-gh-failure.ts",
218
229
  "scripts/josh/josh-commands-split.ts",
219
230
  "scripts/josh/josh-commands-backlog.ts",
220
231
  "scripts/josh/josh-commands-document.ts",
221
232
  "scripts/josh/josh-commands-guard.ts",
222
233
  "scripts/josh/josh-commands-issue.ts",
223
234
  "scripts/josh/josh-commands-lane.ts",
224
- "scripts/rules/decision-oracle-stage.ts",
225
235
  "scripts/josh/josh-commands-run.ts",
236
+ "scripts/git/repository-lock.ts",
237
+ "scripts/git/git-ls-remote.ts",
238
+ "scripts/gh/git-gh-pr-rollup.ts",
239
+ "scripts/gate/project-checks.ts",
240
+ "scripts/gh/git-gh-pr-review.ts",
241
+ "scripts/issue/issue-state.ts",
242
+ "scripts/josh/process-owner.ts",
243
+ "scripts/doctor/doctor-consumer.ts",
244
+ "scripts/run/run-ship-next.ts",
245
+ "scripts/run/run-carry-streak.ts",
246
+ "scripts/gh/git-gh-check.ts",
226
247
  "scripts/test/skip-marker.ts",
227
248
  "scripts/init/project-profile.ts",
228
- "scripts/gh/git-gh-pr-read.ts",
249
+ "scripts/rules/decision-oracle-stage.ts",
250
+ "scripts/agent/agent-event.ts",
251
+ "scripts/version/kit-descriptor.ts",
229
252
  "scripts/run/run-ship-stage.ts",
230
- "scripts/gh/git-gh-helpers.ts",
231
- "scripts/agent/codex-home-source.ts",
232
- "scripts/gh/git-gh-issue.ts",
233
- "scripts/gh/git-gh-pr.ts",
234
- "scripts/gh/git-gh-pr-auto-merge.ts",
235
- "scripts/gh/git-gh-repo.ts",
236
- "scripts/gh/git-pr-checks-watch.ts",
237
- "scripts/gh/gh-cli-token.ts",
238
- "scripts/gh/git-gh-reachability.ts",
239
- "scripts/gh/git-gh-issue-rest.ts",
240
253
  "scripts/run/run-stage.ts",
241
- "scripts/gh/git-gh-issue-write.ts",
242
- "scripts/agent/claude-result-event.ts",
243
- "scripts/gh/git-pr-checks-parse.ts",
244
- "scripts/gh/git-pr-checks.ts",
245
- "scripts/gh/git-pr-checks-eval.ts",
246
- "scripts/gh/git-gh-pr-snapshot.ts",
247
- "scripts/gh/git-gh-issue-list.ts",
248
- "scripts/ci/pr-classification.ts",
249
- "scripts/lib/poll.ts",
250
- "scripts/gh/git-gh-pr-rest.ts",
251
- "scripts/gh/git-gh-rest-state.ts",
252
- "scripts/gh/git-gh-pr-rollup.ts",
253
- "scripts/gh/git-gh-pr-review.ts"
254
+ "scripts/agent/claude-result-event.ts"
254
255
  ],
255
256
  "outputs": [
256
257
  "codex-hook-adapter.js",
257
258
  "pretool-guard.js",
258
- "chunk-M2XDCUKD.js",
259
+ "chunk-M7QKEKWO.js",
259
260
  "stop-guard.js",
260
- "chunk-UD24EAIL.js",
261
+ "chunk-AIOIOMPX.js",
261
262
  "format-edited.js",
262
- "chunk-OIZUHPJI.js",
263
+ "chunk-77J7IEQM.js",
263
264
  "chunk-3V37IID6.js",
264
265
  "session-lang.js",
265
266
  "chunk-6V5OPIUU.js",
266
267
  "batch-guard.js",
267
- "chunk-IL27YTPH.js",
268
+ "chunk-XYUIQOW3.js",
268
269
  "investigation-guard.js",
269
- "chunk-KHWHKJOM.js",
270
+ "chunk-7HVB7SZG.js",
270
271
  "duplicate-read-guard.js",
271
- "chunk-3C4YCCEF.js",
272
- "chunk-7ZPFAVR7.js",
273
- "chunk-O4LL4HTI.js",
274
- "chunk-E54KGFEQ.js",
275
- "chunk-NKOG3XAV.js",
272
+ "chunk-5SD2YM7Z.js",
273
+ "chunk-NXYMNPUQ.js",
274
+ "chunk-QVLT52OV.js",
275
+ "chunk-MKVGBQPA.js",
276
+ "chunk-4JZDP5X5.js",
276
277
  "chunk-WPALEIRX.js",
277
278
  "chunk-RKUAD3I6.js"
278
279
  ]
@@ -10,11 +10,11 @@ import {
10
10
  is_enabled,
11
11
  load_environment_file,
12
12
  refusal_path
13
- } from "./chunk-KHWHKJOM.js";
14
- import "./chunk-7ZPFAVR7.js";
15
- import "./chunk-O4LL4HTI.js";
16
- import "./chunk-E54KGFEQ.js";
17
- import "./chunk-NKOG3XAV.js";
13
+ } from "./chunk-7HVB7SZG.js";
14
+ import "./chunk-NXYMNPUQ.js";
15
+ import "./chunk-QVLT52OV.js";
16
+ import "./chunk-MKVGBQPA.js";
17
+ import "./chunk-4JZDP5X5.js";
18
18
  import "./chunk-WPALEIRX.js";
19
19
  import "./chunk-RKUAD3I6.js";
20
20
  export {