@joshuafolkken/kit 1.1136.0 → 1.1178.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 (200) hide show
  1. package/.claude/settings.json +4 -4
  2. package/.claude/skills/epic-commands/SKILL.md +27 -239
  3. package/.claude/skills/epic-commands/epic-bundle.md +115 -0
  4. package/.claude/skills/epic-commands/execution-waves.md +126 -0
  5. package/.claude/skills/workflow-commands/SKILL.md +48 -194
  6. package/.claude/skills/workflow-commands/background-commands.md +1 -1
  7. package/.claude/skills/workflow-commands/backlogrun-child.md +12 -123
  8. package/.claude/skills/workflow-commands/backlogrun-lanes.md +14 -63
  9. package/.claude/skills/workflow-commands/backlogrun-park.md +16 -15
  10. package/.claude/skills/workflow-commands/backlogrun-progress.md +17 -173
  11. package/.claude/skills/workflow-commands/backlogrun-recovery.md +155 -0
  12. package/.claude/skills/workflow-commands/backlogrun-steps.md +65 -144
  13. package/.claude/skills/workflow-commands/backlogrun.md +5 -4
  14. package/.claude/skills/workflow-commands/chain-rule.md +3 -2
  15. package/.claude/skills/workflow-commands/delegation.md +2 -2
  16. package/.claude/skills/workflow-commands/entry-sequence.md +62 -0
  17. package/.claude/skills/workflow-commands/followup.md +104 -181
  18. package/.claude/skills/workflow-commands/fullrun-steps.md +8 -9
  19. package/.claude/skills/workflow-commands/fullrun.md +16 -73
  20. package/.claude/skills/workflow-commands/halfrun.md +10 -36
  21. package/.claude/skills/workflow-commands/into-target.md +4 -4
  22. package/.claude/skills/workflow-commands/issue-comments.md +7 -8
  23. package/.claude/skills/workflow-commands/issue-scout.md +6 -6
  24. package/.claude/skills/workflow-commands/kickoff.md +6 -6
  25. package/.claude/skills/workflow-commands/needs-human-review.md +6 -6
  26. package/.claude/skills/workflow-commands/observation-filing.md +21 -172
  27. package/.claude/skills/workflow-commands/observation-ledger.md +150 -0
  28. package/.claude/skills/workflow-commands/pre-gate-cut.md +35 -95
  29. package/.claude/skills/workflow-commands/prerequisite.md +6 -6
  30. package/.claude/skills/workflow-commands/progress-watcher.md +90 -0
  31. package/.claude/skills/workflow-commands/prrun.md +5 -5
  32. package/.claude/skills/workflow-commands/retrospective.md +9 -9
  33. package/.claude/skills/workflow-commands/split-assessment.md +2 -2
  34. package/.claude/skills/workflow-commands/target-repository.md +2 -2
  35. package/.claude/skills/workflow-commands/working-tree-hold.md +7 -5
  36. package/.codex/hooks.json +4 -4
  37. package/.github/workflows/ci.yml +15 -2
  38. package/AGENTS.md +1 -6
  39. package/CLAUDE.md +58 -120
  40. package/GEMINI.md +1 -6
  41. package/dist/CLAUDE.md +58 -120
  42. package/dist/hooks/batch-guard.js +4 -4
  43. package/dist/hooks/{chunk-NFZGFGOR.js → chunk-32GQTL4F.js} +14 -1
  44. package/dist/hooks/{chunk-HBKZLITF.js → chunk-DO6NWWHU.js} +4 -4
  45. package/dist/hooks/{chunk-KBXZLMRH.js → chunk-G6KRCKEC.js} +216 -76
  46. package/dist/hooks/{chunk-JKKTVDAG.js → chunk-GDS5N2KB.js} +186 -309
  47. package/dist/hooks/chunk-I4XSL4TT.js +56 -0
  48. package/dist/hooks/{chunk-GDU26K3J.js → chunk-S6X6WYKR.js} +886 -174
  49. package/dist/hooks/{chunk-FO2I7UT7.js → chunk-UAGLLIGZ.js} +1 -1
  50. package/dist/hooks/{chunk-RFWWUI5F.js → chunk-VESKRQOF.js} +3 -3
  51. package/dist/hooks/{chunk-KOKOAV6D.js → chunk-VQLLNFNT.js} +6 -4
  52. package/dist/hooks/{chunk-LJBLGHEH.js → chunk-ZAL3NRGL.js} +4 -6
  53. package/dist/hooks/codex-hook-adapter.js +10 -10
  54. package/dist/hooks/duplicate-read-guard.js +5 -5
  55. package/dist/hooks/format-edited.js +2 -2
  56. package/dist/hooks/inputs.json +178 -177
  57. package/dist/hooks/investigation-guard.js +5 -5
  58. package/dist/hooks/pretool-guard.js +11 -10
  59. package/dist/hooks/stop-guard.js +20 -6
  60. package/dist/josh.js +29 -3
  61. package/dist/version/index.js +5 -1
  62. package/package.json +2 -1
  63. package/prompts/collaboration-workflow/file-edits.md +11 -10
  64. package/prompts/collaboration-workflow/gh-rest.md +2 -4
  65. package/prompts/collaboration-workflow/glossary.md +1 -1
  66. package/prompts/collaboration-workflow/issue-citation.md +5 -9
  67. package/prompts/collaboration-workflow/issue-template.md +40 -115
  68. package/prompts/collaboration-workflow/operating-rules.md +4 -5
  69. package/prompts/collaboration-workflow/output-bounds.md +12 -78
  70. package/prompts/collaboration-workflow/overview.md +7 -13
  71. package/prompts/collaboration-workflow/plan-comment.md +11 -39
  72. package/prompts/collaboration-workflow/principles.md +3 -4
  73. package/prompts/collaboration-workflow/report-format.md +28 -74
  74. package/prompts/collaboration-workflow/residency.md +12 -109
  75. package/prompts/collaboration-workflow/rule-delivery.md +98 -97
  76. package/prompts/collaboration-workflow/shell-body.md +3 -13
  77. package/prompts/collaboration-workflow/turn-batching.md +14 -88
  78. package/prompts/collaboration-workflow/upstream-interrupt.md +12 -14
  79. package/prompts/collaboration-workflow/wip-cap.md +6 -45
  80. package/prompts/collaboration-workflow.md +1 -13
  81. package/prompts/review-rubric.md +8 -71
  82. package/prompts/review.md +25 -55
  83. package/prompts/testing-guide.md +18 -67
  84. package/scripts/agent/agent-role-profile.ts +1 -1
  85. package/scripts/agent/codex-hooks.ts +3 -12
  86. package/scripts/backlog/backlog-budget.ts +1 -1
  87. package/scripts/backlog/backlog-drive-cli.ts +4 -3
  88. package/scripts/backlog/backlog-drive-offer-argv.ts +10 -1
  89. package/scripts/backlog/backlog-next.ts +15 -4
  90. package/scripts/backlog/backlog-offer.ts +6 -6
  91. package/scripts/backlog/backlog-plan-cli.ts +6 -5
  92. package/scripts/backlog/backlog-rank.ts +18 -9
  93. package/scripts/backlog/backlog-restructure.ts +152 -0
  94. package/scripts/backlog/backlog-waves.ts +15 -17
  95. package/scripts/behavior/behavior-rules.ts +11 -4
  96. package/scripts/cost-runtime/context-cut-threshold.ts +1 -9
  97. package/scripts/cost-runtime/cost-verdict.ts +15 -28
  98. package/scripts/delegation/investigation-reads.ts +5 -5
  99. package/scripts/discovery/repo-discovery.ts +21 -7
  100. package/scripts/discovery/repo-origin.ts +26 -0
  101. package/scripts/discovery/repo-party.ts +42 -1
  102. package/scripts/document/backlogrun-parent-read-set.ts +14 -15
  103. package/scripts/document/document-byte-budget.ts +34 -20
  104. package/scripts/document/entry-read-budget.ts +21 -9
  105. package/scripts/document/lane-child-read-set.ts +12 -14
  106. package/scripts/document/read-set-cli.ts +4 -4
  107. package/scripts/document/read-set-point-of-use.ts +10 -2
  108. package/scripts/document/resident-budget.ts +47 -0
  109. package/scripts/epic/epic-shape.ts +10 -13
  110. package/scripts/epic/epic-solo.ts +1 -1
  111. package/scripts/exports/unused-members-cli.ts +7 -3
  112. package/scripts/followup/git-followup-stages.ts +9 -0
  113. package/scripts/followup/git-pr-followup.ts +1 -1
  114. package/scripts/gh/git-gh-api-path.ts +7 -0
  115. package/scripts/gh/git-gh-issue.ts +5 -3
  116. package/scripts/gh/git-gh-pr-read.ts +4 -0
  117. package/scripts/gh/git-pr-checks-eval.ts +8 -0
  118. package/scripts/gh/git-pr-checks.ts +11 -1
  119. package/scripts/git/constants.ts +10 -0
  120. package/scripts/git/main-merge.ts +57 -21
  121. package/scripts/git/schemas.ts +2 -0
  122. package/scripts/hooks/pretool-guard-cli.ts +2 -2
  123. package/scripts/hooks/pretool-guard.ts +45 -2
  124. package/scripts/hooks/run-hook.sh +41 -0
  125. package/scripts/init/hook-command-rewrite.ts +18 -35
  126. package/scripts/init/hook-launch.ts +21 -32
  127. package/scripts/issue/issue-auto-ok.ts +95 -0
  128. package/scripts/issue/issue-file-cli.ts +53 -7
  129. package/scripts/issue/issue-file.ts +28 -5
  130. package/scripts/issue/issue-labels.ts +12 -12
  131. package/scripts/issue/issue-rank.ts +1 -1
  132. package/scripts/issue/issue-read-cli.ts +3 -3
  133. package/scripts/issue/issue-read.ts +2 -2
  134. package/scripts/issue/issue-scout-cli.ts +2 -2
  135. package/scripts/issue/issue-state-cli.ts +1 -1
  136. package/scripts/issue/issue-state.ts +2 -2
  137. package/scripts/issue/issue-wip.ts +70 -0
  138. package/scripts/josh/hook-decision.ts +17 -0
  139. package/scripts/josh/josh-commands-development.ts +11 -1
  140. package/scripts/josh/josh-commands-issue.ts +2 -2
  141. package/scripts/lane/lane-launch-cli.ts +21 -3
  142. package/scripts/lines/bytes-command.ts +29 -6
  143. package/scripts/notify/telegram-notify.ts +26 -1
  144. package/scripts/observations/observation-ledger-line.ts +1 -1
  145. package/scripts/release/release-progress.ts +167 -0
  146. package/scripts/release/release-publish.ts +19 -8
  147. package/scripts/release/release-tag.ts +22 -8
  148. package/scripts/rules/decision-oracle-stage.ts +1 -1
  149. package/scripts/rules/decision-oracle.ts +6 -6
  150. package/scripts/rules/delivered-rules.ts +11 -11
  151. package/scripts/rules/direct-pr-create.ts +110 -0
  152. package/scripts/rules/file-body.ts +98 -42
  153. package/scripts/rules/filing-cap.ts +2 -2
  154. package/scripts/rules/filing-offer.ts +1 -1
  155. package/scripts/rules/gh-api.ts +18 -1
  156. package/scripts/rules/implementation-cut.ts +3 -1
  157. package/scripts/rules/lane-background.ts +67 -10
  158. package/scripts/rules/permission-guards.ts +10 -2
  159. package/scripts/rules/pre-gate-cut.ts +2 -2
  160. package/scripts/rules/stop-rules.ts +4 -4
  161. package/scripts/rules/test-declared-commit.ts +1 -1
  162. package/scripts/rules/third-party-write.ts +56 -12
  163. package/scripts/run/run-carry.ts +11 -5
  164. package/scripts/run/run-cut-cli.ts +1 -1
  165. package/scripts/run/run-cut-handoff.ts +21 -1
  166. package/scripts/run/run-cut-report.ts +2 -2
  167. package/scripts/run/run-entry-cli.ts +11 -3
  168. package/scripts/run/run-hold-cli.ts +16 -2
  169. package/scripts/run/run-label.ts +50 -0
  170. package/scripts/run/run-merge-steps.ts +8 -3
  171. package/scripts/run/run-merge.ts +1 -1
  172. package/scripts/run/run-prep-cli.ts +6 -2
  173. package/scripts/run/run-prep.ts +17 -0
  174. package/scripts/run/run-ship-cli.ts +27 -6
  175. package/scripts/run/run-ship-next.ts +13 -0
  176. package/scripts/run/run-ship-pre-detach.ts +66 -0
  177. package/scripts/run/run-ship-preflight.ts +34 -3
  178. package/scripts/run/run-ship-return.ts +7 -4
  179. package/scripts/run/run-ship-review-steps.ts +1 -1
  180. package/scripts/run/run-ship-review.ts +26 -5
  181. package/scripts/run/run-ship-stage.ts +13 -0
  182. package/scripts/run/run-ship-steps.ts +10 -2
  183. package/scripts/run/run-ship-sync.ts +114 -0
  184. package/scripts/run/run-ship.ts +6 -0
  185. package/scripts/run/run-step-cli.ts +20 -7
  186. package/scripts/run/run-wake-cli.ts +8 -1
  187. package/scripts/run/run-wake-driver.ts +62 -8
  188. package/scripts/run/run-wake-session.ts +2 -1
  189. package/scripts/test/test-declared-logic.ts +1 -1
  190. package/scripts/test/test-red-logic.ts +17 -2
  191. package/scripts/test/test-red.ts +8 -7
  192. package/scripts/time-runtime/time-batch-guard.ts +52 -16
  193. package/scripts/time-runtime/time-density-hook.ts +20 -2
  194. package/scripts/time-runtime/time-density.ts +4 -3
  195. package/scripts/time-runtime/time-markers.ts +15 -4
  196. package/scripts/time-runtime/time-transcript-line.ts +27 -1
  197. package/scripts/version/npm-registry.ts +11 -1
  198. package/templates/workflows/ci.yml +9 -1
  199. package/.claude/skills/workflow-commands/followup-reference.md +0 -118
  200. package/dist/hooks/chunk-HANSKHES.js +0 -464
@@ -6,7 +6,7 @@ import {
6
6
  ESLINT_EDIT_CACHE_FLAGS,
7
7
  file_reader,
8
8
  time_density_hook
9
- } from "./chunk-GDU26K3J.js";
9
+ } from "./chunk-S6X6WYKR.js";
10
10
 
11
11
  // scripts/hooks/format-edited-file.ts
12
12
  import { existsSync as existsSync2 } from "node:fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  investigation_reads
3
- } from "./chunk-LJBLGHEH.js";
3
+ } from "./chunk-ZAL3NRGL.js";
4
4
  import {
5
5
  lane_guard_policy
6
- } from "./chunk-HANSKHES.js";
6
+ } from "./chunk-I4XSL4TT.js";
7
7
  import {
8
8
  hook_decision
9
- } from "./chunk-NFZGFGOR.js";
9
+ } from "./chunk-32GQTL4F.js";
10
10
 
11
11
  // scripts/delegation/investigation-guard.ts
12
12
  import { text } from "node:stream/consumers";
@@ -1,10 +1,12 @@
1
1
  import {
2
- lane_guard_policy,
3
- time_batch_guard
4
- } from "./chunk-HANSKHES.js";
2
+ lane_guard_policy
3
+ } from "./chunk-I4XSL4TT.js";
5
4
  import {
6
5
  hook_decision
7
- } from "./chunk-NFZGFGOR.js";
6
+ } from "./chunk-32GQTL4F.js";
7
+ import {
8
+ time_batch_guard
9
+ } from "./chunk-S6X6WYKR.js";
8
10
 
9
11
  // scripts/hooks/batch-guard.ts
10
12
  import { text } from "node:stream/consumers";
@@ -1,16 +1,14 @@
1
- import {
2
- time_batch_guard
3
- } from "./chunk-HANSKHES.js";
4
1
  import {
5
2
  hook_decision
6
- } from "./chunk-NFZGFGOR.js";
3
+ } from "./chunk-32GQTL4F.js";
7
4
  import {
8
5
  cost_blocks,
9
6
  cost_transcript,
7
+ time_batch_guard,
10
8
  time_bundle_call,
11
9
  time_shell,
12
10
  time_spans
13
- } from "./chunk-GDU26K3J.js";
11
+ } from "./chunk-S6X6WYKR.js";
14
12
 
15
13
  // scripts/delegation/investigation-reads.ts
16
14
  import path from "node:path";
@@ -162,7 +160,7 @@ var SEARCH_LABELS = new Set(
162
160
  SEARCH_COMMANDS.map((command) => time_shell.bash_label(command))
163
161
  );
164
162
  var INVESTIGATOR_AGENT = "investigator";
165
- var REASON = `\u26D4 investigation: ${String(delegation_policy.INVESTIGATION_FILE_THRESHOLD)} files read and not edited, or ${String(delegation_policy.INVESTIGATION_SEARCH_TURN_THRESHOLD)} search turns, since the last delegated unit, so the reading from here goes to a unit of its own (a successful write also starts the search count over). Ask \`pnpm josh delegate investigation\`, then dispatch the \`${INVESTIGATOR_AGENT}\` agent (\`kit:${INVESTIGATOR_AGENT}\` in a consumer) with a brief of what the main line has already concluded and what is left to find out; it returns the conclusion plus its \`file:line\` citations, never the file text. Keep a read in the main line only where this run will edit that file \u2014 an \`Edit\` cannot be issued against text you do not hold. This run's own instructions and the harness's own session files \u2014 a backgrounded call's output, a persisted tool result, this session's scratchpad \u2014 never count toward the files, so they are not what took the file count here; every read-only search turn counts, whatever it names. The rule is \`.claude/skills/workflow-commands/SKILL.md\` \u2192 \xA72b, "The pre-implementation reading".`;
163
+ var REASON = `\u26D4 investigation: ${String(delegation_policy.INVESTIGATION_FILE_THRESHOLD)} files read and not edited, or ${String(delegation_policy.INVESTIGATION_SEARCH_TURN_THRESHOLD)} search turns, since the last delegated unit, so the reading from here goes to a unit of its own (a successful write also starts the search count over). Ask \`pnpm josh delegate investigation\`, then dispatch the \`${INVESTIGATOR_AGENT}\` agent (\`kit:${INVESTIGATOR_AGENT}\` in a consumer) with a brief of what the main line has already concluded and what is left to find out; it returns the conclusion plus its \`file:line\` citations, never the file text. Keep a read in the main line only where this run will edit that file \u2014 an \`Edit\` cannot be issued against text you do not hold. This run's own instructions and the harness's own session files \u2014 a backgrounded call's output, a persisted tool result, this session's scratchpad \u2014 never count toward the files, so they are not what took the file count here; every read-only search turn counts, whatever it names. The rule is \`.claude/skills/workflow-commands/delegation.md\` \u2192 "The pre-implementation reading".`;
166
164
  var INSTRUCTION_PATHS = ["prompts", ".claude/skills"];
167
165
  var INSTRUCTION_FILES = /* @__PURE__ */ new Set(["CLAUDE.md", "AGENTS.md", "GEMINI.md"]);
168
166
  var REPOSITORY_ROOT = process.cwd();
@@ -1,27 +1,27 @@
1
1
  #!/usr/bin/env tsx
2
2
  import {
3
3
  pretool_guard
4
- } from "./chunk-KBXZLMRH.js";
4
+ } from "./chunk-G6KRCKEC.js";
5
5
  import {
6
6
  bounded_pool
7
- } from "./chunk-JKKTVDAG.js";
7
+ } from "./chunk-GDS5N2KB.js";
8
8
  import {
9
9
  build_envelope,
10
10
  compose_context,
11
11
  format_edited_payload
12
- } from "./chunk-FO2I7UT7.js";
12
+ } from "./chunk-UAGLLIGZ.js";
13
13
  import "./chunk-3V37IID6.js";
14
- import "./chunk-KOKOAV6D.js";
15
- import "./chunk-RFWWUI5F.js";
16
- import "./chunk-HBKZLITF.js";
17
- import "./chunk-LJBLGHEH.js";
18
- import "./chunk-HANSKHES.js";
14
+ import "./chunk-VQLLNFNT.js";
15
+ import "./chunk-VESKRQOF.js";
16
+ import "./chunk-DO6NWWHU.js";
17
+ import "./chunk-ZAL3NRGL.js";
18
+ import "./chunk-I4XSL4TT.js";
19
19
  import {
20
20
  hook_decision
21
- } from "./chunk-NFZGFGOR.js";
21
+ } from "./chunk-32GQTL4F.js";
22
22
  import {
23
23
  time_density_hook
24
- } from "./chunk-GDU26K3J.js";
24
+ } from "./chunk-S6X6WYKR.js";
25
25
  import "./chunk-WPALEIRX.js";
26
26
  import "./chunk-RKUAD3I6.js";
27
27
 
@@ -9,11 +9,11 @@ import {
9
9
  is_enabled,
10
10
  notice_refusal_path,
11
11
  refusal_path
12
- } from "./chunk-HBKZLITF.js";
13
- import "./chunk-LJBLGHEH.js";
14
- import "./chunk-HANSKHES.js";
15
- import "./chunk-NFZGFGOR.js";
16
- import "./chunk-GDU26K3J.js";
12
+ } from "./chunk-DO6NWWHU.js";
13
+ import "./chunk-ZAL3NRGL.js";
14
+ import "./chunk-I4XSL4TT.js";
15
+ import "./chunk-32GQTL4F.js";
16
+ import "./chunk-S6X6WYKR.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-FO2I7UT7.js";
5
+ } from "./chunk-UAGLLIGZ.js";
6
6
  import "./chunk-3V37IID6.js";
7
- import "./chunk-GDU26K3J.js";
7
+ import "./chunk-S6X6WYKR.js";
8
8
  import "./chunk-RKUAD3I6.js";
9
9
 
10
10
  // scripts/hooks/format-edited-cli.ts
@@ -1,280 +1,281 @@
1
1
  {
2
- "digest": "2aa705da071bf2ccebf4540d62b8b4a97e6c0f8e1d9b75074461739e307936bd",
2
+ "digest": "453b32f9c45e751dfb3614a3b10fe11182791e9a065c2c239e7580cd30e0884c",
3
3
  "inputs": [
4
- "scripts/josh/session-language-cli.ts",
5
- "scripts/hooks/format-edited-cli.ts",
6
4
  "scripts/hooks/codex-hook-adapter.ts",
5
+ "scripts/hooks/pretool-guard-cli.ts",
6
+ "scripts/hooks/stop-guard.ts",
7
+ "scripts/hooks/format-edited-cli.ts",
7
8
  "scripts/hooks/batch-guard.ts",
9
+ "scripts/josh/session-language-cli.ts",
8
10
  "scripts/delegation/investigation-guard.ts",
9
11
  "scripts/delegation/duplicate-read-guard.ts",
10
- "scripts/hooks/pretool-guard-cli.ts",
11
- "scripts/hooks/stop-guard.ts",
12
+ "scripts/josh/hook-decision.ts",
13
+ "scripts/hooks/pretool-guard.ts",
12
14
  "scripts/hooks/format-edited-file.ts",
13
15
  "scripts/josh/session-language.ts",
14
16
  "scripts/josh/josh-environment-file.ts",
15
- "scripts/delegation/investigation-reads.ts",
16
- "scripts/josh/hook-decision.ts",
17
17
  "scripts/lane/lane-guard-policy.ts",
18
- "ports/index.js",
19
- "scripts/time-runtime/time-batch-guard.ts",
20
- "scripts/hooks/pretool-guard.ts",
21
- "scripts/lib/bounded-pool.ts",
22
- "scripts/time-runtime/time-density-hook.ts",
23
- "scripts/time-runtime/time-hook-transcript.ts",
24
- "scripts/time-runtime/time-spans.ts",
25
- "scripts/time-runtime/time-transcript-line.ts",
26
- "scripts/hooks/step-zero-notice.ts",
27
18
  "scripts/backlog/backlog-ready.ts",
28
19
  "scripts/backlog/backlog-stalled-detect.ts",
29
20
  "scripts/discovery/repo-party.ts",
21
+ "scripts/lane/lane-child-marker.ts",
30
22
  "scripts/lane/lane-handoff.ts",
31
23
  "scripts/rules/filing-cap.ts",
32
- "scripts/run/run-stranded-detect.ts",
33
24
  "scripts/rules/lane-background.ts",
34
25
  "scripts/rules/lane-park.ts",
35
26
  "scripts/rules/last-prompt.ts",
36
27
  "scripts/rules/stop-rules.ts",
37
28
  "scripts/run/run-carry.ts",
38
- "scripts/run/run-cut.ts",
39
- "scripts/run/run-halfrun-resume.ts",
40
- "scripts/hooks/format-rewrite-notice.ts",
29
+ "ports/index.js",
41
30
  "scripts/lib/json-value.ts",
42
- "scripts/run/run-headless.ts",
43
- "scripts/run/run-hold.ts",
44
- "scripts/josh/stamp-file.ts",
45
- "scripts/time-runtime/time-bundle-call.ts",
46
- "scripts/run/run-watcher-hook.ts",
31
+ "scripts/time-runtime/time-spans.ts",
32
+ "scripts/delegation/investigation-reads.ts",
33
+ "scripts/rules/delivered-rules.ts",
47
34
  "scripts/run/run-parent-cut-hook.ts",
48
- "scripts/build/local-bin.ts",
49
- "scripts/time-runtime/time-bundles.ts",
35
+ "scripts/run/run-watcher-hook.ts",
36
+ "scripts/hooks/step-zero-notice.ts",
50
37
  "scripts/josh/josh-command-types.ts",
51
- "scripts/time-runtime/time-call-identity.ts",
38
+ "scripts/lib/bounded-pool.ts",
39
+ "scripts/build/local-bin.ts",
40
+ "scripts/run/run-stranded-detect.ts",
41
+ "scripts/run/run-halfrun-resume.ts",
42
+ "scripts/run/run-headless.ts",
43
+ "scripts/run/run-hold.ts",
44
+ "scripts/time-runtime/time-hook-transcript.ts",
45
+ "scripts/time-runtime/time-density-hook.ts",
52
46
  "scripts/hooks/edited-cspell.ts",
53
- "scripts/rules/delivered-rules.ts",
54
- "scripts/delegation/delegation-policy.ts",
55
- "scripts/cost-runtime/cost-blocks.ts",
56
- "scripts/cost-runtime/cost-transcript.ts",
57
- "scripts/time-runtime/time-shell.ts",
58
- "scripts/time-runtime/time-density.ts",
59
- "scripts/lane/lane-child-marker.ts",
60
- "scripts/test/test-declared-logic.ts",
61
- "scripts/backlog/backlog-stalled.ts",
62
- "scripts/time-runtime/time-writes.ts",
63
- "scripts/run/run-event-stream-emit.ts",
64
- "scripts/run/run-wake.ts",
65
- "scripts/time-runtime/time-background.ts",
66
- "scripts/time-runtime/time-followup-stage.ts",
67
- "scripts/time-runtime/time-markers.ts",
68
- "scripts/run/run-ship-detach.ts",
69
- "scripts/git/git-common-directory.ts",
70
- "scripts/time-runtime/time-instant.ts",
47
+ "scripts/hooks/format-rewrite-notice.ts",
48
+ "scripts/time-runtime/time-batch-guard.ts",
49
+ "scripts/josh/stamp-file.ts",
50
+ "scripts/run/run-cut.ts",
71
51
  "scripts/gh/git-gh-command.ts",
72
- "scripts/lane/lane-registry.ts",
73
- "scripts/issue/issue-cite.ts",
74
- "scripts/notify/telegram-notify.ts",
75
- "scripts/time-runtime/time-reported-failure.ts",
76
52
  "scripts/josh/josh-run.ts",
77
- "scripts/discovery/repo-origin.ts",
78
- "scripts/run/run-stranded.ts",
79
- "scripts/run/run-event-stream.ts",
53
+ "scripts/issue/issue-cite.ts",
54
+ "scripts/lane/lane-registry.ts",
55
+ "scripts/lane/lane-capacity.ts",
80
56
  "scripts/run/run-invocation.ts",
57
+ "scripts/backlog/backlog-stalled.ts",
58
+ "scripts/discovery/repo-origin.ts",
81
59
  "scripts/discovery/repo-discovery.ts",
82
- "scripts/time-runtime/time-single-check.ts",
83
- "scripts/rules/shell-segments.ts",
84
- "scripts/rules/tail-commands.ts",
60
+ "scripts/notify/telegram-notify.ts",
61
+ "scripts/time-runtime/time-shell.ts",
85
62
  "scripts/issue/issue-labels.ts",
63
+ "scripts/delegation/delegation-policy.ts",
64
+ "scripts/cost-runtime/cost-transcript.ts",
65
+ "scripts/time-runtime/time-bundle-call.ts",
66
+ "scripts/rules/shell-segments.ts",
67
+ "scripts/run/run-event-stream.ts",
68
+ "scripts/run/run-event-stream-emit.ts",
86
69
  "scripts/rules/bash-triggers.ts",
70
+ "scripts/rules/tail-commands.ts",
71
+ "scripts/cost-runtime/cost-blocks.ts",
87
72
  "scripts/rules/run-tail.ts",
88
- "scripts/rules/reply-language.ts",
89
- "scripts/run/run-cut-handoff.ts",
90
- "scripts/rules/filing-offer.ts",
91
- "scripts/agent/agent-role-profile.ts",
92
- "scripts/backlog/backlog-budget.ts",
93
- "scripts/cost-runtime/context-cut-threshold.ts",
94
- "scripts/git/git-command.ts",
95
- "scripts/lane/lane-child-invocation.ts",
96
- "scripts/rules/issue-citation.ts",
97
- "scripts/josh/platform-temporary.ts",
98
- "scripts/lane/lane-capacity.ts",
99
- "scripts/init/init-paths.ts",
100
- "scripts/lane/lane-reap.ts",
101
- "scripts/rules/file-body.ts",
73
+ "scripts/run/run-issue-number.ts",
74
+ "scripts/lane/lane-paths.ts",
75
+ "scripts/git/git-common-directory.ts",
76
+ "scripts/run/run-ship-detach.ts",
77
+ "scripts/time-runtime/time-reported-failure.ts",
78
+ "scripts/time-runtime/time-transcript-line.ts",
79
+ "scripts/rules/worktree-guard.ts",
102
80
  "scripts/rules/direct-filing.ts",
103
81
  "scripts/rules/early-heartbeat.ts",
104
- "scripts/rules/git-force.ts",
82
+ "scripts/rules/file-body.ts",
105
83
  "scripts/rules/gh-api.ts",
84
+ "scripts/rules/git-force.ts",
106
85
  "scripts/rules/implementation-cut.ts",
107
86
  "scripts/rules/issue-fold.ts",
108
- "scripts/rules/permission-guards.ts",
109
87
  "scripts/rules/josh-git-bare.ts",
110
88
  "scripts/rules/lane-carry-conflict.ts",
111
89
  "scripts/rules/lane-interactive-ask.ts",
112
90
  "scripts/rules/lane-switch-main.ts",
113
91
  "scripts/rules/oracle-consulted.ts",
114
- "scripts/rules/pre-gate-cut.ts",
92
+ "scripts/rules/permission-guards.ts",
115
93
  "scripts/rules/piped-verification.ts",
116
94
  "scripts/rules/poll-loop.ts",
117
- "scripts/rules/raw-field-body.ts",
95
+ "scripts/rules/pre-gate-cut.ts",
118
96
  "scripts/rules/prior-comment-read.ts",
97
+ "scripts/rules/raw-field-body.ts",
119
98
  "scripts/rules/rule-body-guard.ts",
120
99
  "scripts/rules/shell-body-trigger.ts",
121
100
  "scripts/rules/test-declared-commit.ts",
122
- "scripts/josh/process-identity.ts",
123
- "scripts/run/run-carry-change.ts",
124
101
  "scripts/rules/third-party-write.ts",
125
- "scripts/run/run-carry-conversation.ts",
126
- "scripts/rules/worktree-guard.ts",
127
- "scripts/run/run-progress-read.ts",
128
- "scripts/lib/error-message.ts",
129
- "scripts/run/run-watcher-guard.ts",
130
- "scripts/lib/schemas.ts",
131
- "scripts/josh/josh-command-map.ts",
132
- "scripts/lane/lane-paths.ts",
133
102
  "scripts/lib/read-file.ts",
134
- "scripts/cost-runtime/cost-cli.ts",
135
- "scripts/time-runtime/time-round-trips.ts",
136
103
  "scripts/rules/implementation-cut-verdict.ts",
104
+ "scripts/rules/reply-language.ts",
105
+ "scripts/lib/schemas.ts",
106
+ "scripts/rules/filing-offer.ts",
107
+ "scripts/rules/issue-citation.ts",
108
+ "scripts/run/run-wake.ts",
109
+ "scripts/lane/lane-reap.ts",
110
+ "scripts/time-runtime/time-writes.ts",
111
+ "scripts/cost-runtime/context-cut-threshold.ts",
112
+ "scripts/lane/lane-seed.ts",
113
+ "scripts/time-runtime/time-background.ts",
114
+ "scripts/time-runtime/time-followup-stage.ts",
115
+ "scripts/time-runtime/time-markers.ts",
116
+ "scripts/time-runtime/time-single-check.ts",
117
+ "scripts/cost-runtime/cost-cli.ts",
137
118
  "scripts/cost-runtime/cost-format.ts",
138
119
  "scripts/cost-runtime/cost-verdict.ts",
139
- "scripts/cost-runtime/cost-usage.ts",
140
- "scripts/cost-runtime/cost-attribute.ts",
141
- "scripts/run/detached-launch.ts",
142
- "scripts/git/git-location-environment.ts",
143
- "scripts/git/constants.ts",
144
- "scripts/run/run-issue-number.ts",
145
- "scripts/lane/lane-environment.ts",
146
- "scripts/rules/protected-files.ts",
147
- "scripts/git/git-worktree.ts",
148
- "scripts/lane/lane-seed.ts",
149
- "scripts/gh/git-gh-helpers.ts",
150
- "scripts/lib/timed-fetch.ts",
151
- "scripts/lib/status-icons.ts",
120
+ "scripts/lib/error-message.ts",
121
+ "scripts/run/run-stranded.ts",
122
+ "scripts/josh/process-owner.ts",
123
+ "scripts/run/run-carry-conversation.ts",
152
124
  "scripts/backlog/backlog-budget-cli.ts",
125
+ "scripts/run/run-cut-handoff.ts",
126
+ "scripts/epic/epic-triage.ts",
127
+ "scripts/time-runtime/time-call-identity.ts",
153
128
  "scripts/discovery/repo-map-logic.ts",
154
- "scripts/cost-runtime/context-cut-payback.ts",
129
+ "scripts/gh/git-gh-helpers.ts",
130
+ "scripts/time-runtime/time-density.ts",
131
+ "scripts/git/git-location-environment.ts",
132
+ "scripts/lib/timed-fetch.ts",
133
+ "scripts/run/detached-launch.ts",
134
+ "scripts/run/run-watcher-guard.ts",
135
+ "scripts/run/run-carry-change.ts",
136
+ "scripts/agent/agent-role-profile.ts",
137
+ "scripts/backlog/backlog-budget.ts",
138
+ "scripts/josh/process-identity.ts",
139
+ "scripts/git/git-command.ts",
140
+ "scripts/gh/git-gh-pr-auto-merge.ts",
141
+ "scripts/lane/lane-child-invocation.ts",
142
+ "scripts/time-runtime/time-bundles.ts",
155
143
  "scripts/gh/git-gh-issue.ts",
156
144
  "scripts/gh/git-gh-pr.ts",
157
- "scripts/gh/git-gh-pr-auto-merge.ts",
145
+ "scripts/git/constants.ts",
158
146
  "scripts/gh/git-gh-repo.ts",
159
- "scripts/rules/git-argv.ts",
160
147
  "scripts/gh/git-pr-checks-watch.ts",
161
148
  "scripts/gh/gh-spawn.ts",
149
+ "scripts/run/run-progress-read.ts",
150
+ "scripts/test/test-declared-logic.ts",
151
+ "scripts/josh/josh-command-map.ts",
152
+ "scripts/git/git-worktree.ts",
153
+ "scripts/lane/lane-environment.ts",
154
+ "scripts/agent/interactive-ask.ts",
155
+ "scripts/josh/platform-temporary.ts",
156
+ "scripts/init/init-paths.ts",
157
+ "scripts/test/test-declared-changed.ts",
158
+ "scripts/run/run-event-scope.ts",
159
+ "scripts/cost-runtime/cost-usage.ts",
160
+ "scripts/lib/status-icons.ts",
162
161
  "scripts/josh/josh-verdict.ts",
163
- "scripts/josh/agent-session-environment.ts",
162
+ "scripts/time-runtime/time-instant.ts",
163
+ "scripts/rules/git-argv.ts",
164
+ "scripts/rules/oracle-firing.ts",
165
+ "scripts/rules/decision-oracle.ts",
164
166
  "scripts/run/run-progress-config.ts",
165
167
  "scripts/run/run-progress.ts",
166
168
  "scripts/run/run-progress-clock.ts",
167
- "scripts/test/test-declared-changed.ts",
168
- "scripts/git/git-spawn-sync.ts",
169
- "scripts/run/run-ship-next.ts",
170
- "scripts/git/git-execa-error.ts",
171
- "scripts/git/git-push-transport.ts",
172
- "scripts/git/git-spawn.ts",
173
- "scripts/rules/oracle-firing.ts",
174
- "scripts/rules/decision-oracle.ts",
175
- "scripts/agent/interactive-ask.ts",
169
+ "scripts/cost-runtime/context-cut-payback.ts",
170
+ "scripts/rules/protected-files.ts",
171
+ "scripts/lib/cli-flags.ts",
176
172
  "scripts/rules/destructive-command.ts",
173
+ "scripts/rules/direct-pr-create.ts",
177
174
  "scripts/rules/index-guard.ts",
178
- "scripts/git/repository-lock.ts",
179
- "scripts/git/git-ls-remote.ts",
180
- "scripts/gh/git-gh-exec.ts",
181
- "scripts/lib/timeouts.ts",
182
- "scripts/run/run-event-scope.ts",
183
- "scripts/followup/git-followup-stages.ts",
184
- "scripts/epic/epic-triage.ts",
185
- "scripts/lib/cli-flags.ts",
186
- "scripts/run/run-carry-streak.ts",
187
175
  "scripts/josh/path-decision.ts",
188
- "scripts/cost-runtime/cost-pricing.ts",
189
- "scripts/gh/git-gh-pr-rest.ts",
190
- "scripts/gh/git-gh-api-path.ts",
191
- "scripts/gh/git-gh-pr-read.ts",
192
- "scripts/gh/git-gh-issue-write.ts",
193
- "scripts/gh/git-gh-issue-list.ts",
194
- "scripts/gh/git-gh-issue-read.ts",
195
- "scripts/gh/git-gh-issue-rest.ts",
196
- "scripts/cost-runtime/own-session.ts",
176
+ "scripts/time-runtime/time-phase-names.ts",
177
+ "scripts/followup/git-followup-stages.ts",
178
+ "scripts/cost-runtime/cost-attribute.ts",
197
179
  "scripts/cost-runtime/transcript-cwd.ts",
180
+ "scripts/cost-runtime/codex-usage.ts",
198
181
  "scripts/cost-runtime/cost-corpus.ts",
199
- "scripts/run/run-ship-stage.ts",
182
+ "scripts/cost-runtime/own-session.ts",
200
183
  "scripts/time-runtime/time-command-key.ts",
201
- "scripts/rules/decision-oracle-stage.ts",
202
- "scripts/agent/agent-launch-environment.ts",
203
- "scripts/time-runtime/time-format.ts",
204
- "scripts/josh/process-owner.ts",
205
- "scripts/gh/git-gh-failure.ts",
206
- "scripts/git/changed-paths.ts",
207
- "scripts/gate/project-checks.ts",
208
- "scripts/gh/git-gh-check.ts",
209
- "scripts/gh/git-gh-pr-snapshot.ts",
184
+ "scripts/gh/git-gh-exec.ts",
185
+ "scripts/time-runtime/time-round-trips.ts",
186
+ "scripts/gh/git-pr-checks-parse.ts",
187
+ "scripts/gh/git-gh-api-path.ts",
188
+ "scripts/run/run-ship-next.ts",
189
+ "scripts/lib/timeouts.ts",
190
+ "scripts/run/run-preflight.ts",
191
+ "scripts/gh/git-gh-issue-write.ts",
210
192
  "scripts/lane/lane-report.ts",
211
- "scripts/ci/pr-classification.ts",
212
- "scripts/lib/poll.ts",
213
- "scripts/cost-runtime/codex-usage.ts",
214
193
  "scripts/run/run-liveness.ts",
215
- "scripts/run/run-preflight.ts",
216
- "scripts/josh/josh-commands-ai.ts",
217
- "scripts/josh/josh-commands-workflow.ts",
194
+ "scripts/gh/git-gh-pr-rest.ts",
218
195
  "scripts/epic/epic-busy.ts",
196
+ "scripts/gh/git-gh-pr-read.ts",
197
+ "scripts/josh/agent-session-environment.ts",
198
+ "scripts/run/run-carry-streak.ts",
199
+ "scripts/git/git-spawn-sync.ts",
200
+ "scripts/agent/agent-launch-environment.ts",
201
+ "scripts/josh/josh-commands-workflow.ts",
202
+ "scripts/gate/project-checks.ts",
203
+ "scripts/git/repository-lock.ts",
204
+ "scripts/josh/josh-commands-ai.ts",
205
+ "scripts/time-runtime/time-format.ts",
219
206
  "scripts/josh/josh-commands-clone.ts",
207
+ "scripts/time-runtime/time-agent-bundles.ts",
220
208
  "scripts/josh/josh-commands-development.ts",
221
209
  "scripts/josh/josh-commands-hooks.ts",
222
210
  "scripts/josh/josh-commands-lint.ts",
223
211
  "scripts/josh/josh-commands-maintenance.ts",
212
+ "scripts/git/git-ls-remote.ts",
213
+ "scripts/rules/decision-oracle-stage.ts",
224
214
  "scripts/josh/josh-commands-project.ts",
225
215
  "scripts/josh/josh-commands-versioning.ts",
226
- "scripts/git/git-ssh-keepalive.ts",
227
- "scripts/gh/git-pr-checks.ts",
216
+ "scripts/git/git-spawn.ts",
217
+ "scripts/git/git-push-transport.ts",
228
218
  "scripts/gh/git-pr-checks-eval.ts",
229
- "scripts/gh/git-pr-checks-parse.ts",
230
- "scripts/doctor/doctor-consumer.ts",
231
- "scripts/time-runtime/time-agent-bundles.ts",
232
- "scripts/time-runtime/time-phase-names.ts",
233
- "scripts/lib/spawn-exit.ts",
234
- "scripts/run/run-stage.ts",
235
- "scripts/gh/git-gh-reachability.ts",
236
- "scripts/gh/git-gh-rest-state.ts",
237
- "scripts/git/parse-json-array.ts",
219
+ "scripts/gh/git-gh-pr-snapshot.ts",
220
+ "scripts/gh/git-gh-issue-read.ts",
221
+ "scripts/gh/git-gh-issue-list.ts",
222
+ "scripts/ci/pr-classification.ts",
223
+ "scripts/lib/poll.ts",
224
+ "scripts/git/git-execa-error.ts",
225
+ "scripts/gh/git-gh-failure.ts",
238
226
  "scripts/git/schemas.ts",
239
- "scripts/agent/codex-home-source.ts",
240
- "scripts/test/skip-marker.ts",
241
- "scripts/gh/git-gh-pr-rollup.ts",
242
- "scripts/version/kit-descriptor.ts",
227
+ "scripts/run/run-ship-stage.ts",
228
+ "scripts/git/changed-paths.ts",
243
229
  "scripts/issue/issue-state.ts",
230
+ "scripts/gh/git-gh-check.ts",
231
+ "scripts/doctor/doctor-consumer.ts",
232
+ "scripts/gh/git-gh-issue-rest.ts",
233
+ "scripts/gh/git-pr-checks.ts",
234
+ "scripts/git/parse-json-array.ts",
235
+ "scripts/gh/git-gh-rest-state.ts",
244
236
  "scripts/agent/agent-event.ts",
245
- "scripts/gh/gh-cli-token.ts",
246
- "scripts/init/project-profile.ts",
247
- "scripts/gh/git-gh-pr-review.ts",
237
+ "scripts/git/git-ssh-keepalive.ts",
238
+ "scripts/cost-runtime/cost-pricing.ts",
239
+ "scripts/test/skip-marker.ts",
240
+ "scripts/josh/josh-commands-split.ts",
241
+ "scripts/josh/josh-commands-guard.ts",
248
242
  "scripts/josh/josh-commands-backlog.ts",
249
243
  "scripts/josh/josh-commands-document.ts",
250
- "scripts/josh/josh-commands-guard.ts",
251
- "scripts/josh/josh-commands-issue.ts",
252
244
  "scripts/josh/josh-commands-lane.ts",
245
+ "scripts/josh/josh-commands-issue.ts",
246
+ "scripts/run/run-stage.ts",
253
247
  "scripts/josh/josh-commands-run.ts",
254
- "scripts/josh/josh-commands-split.ts",
248
+ "scripts/lib/spawn-exit.ts",
249
+ "scripts/agent/codex-home-source.ts",
250
+ "scripts/gh/git-gh-reachability.ts",
251
+ "scripts/gh/gh-cli-token.ts",
252
+ "scripts/gh/git-gh-pr-rollup.ts",
253
+ "scripts/gh/git-gh-pr-review.ts",
254
+ "scripts/init/project-profile.ts",
255
+ "scripts/version/kit-descriptor.ts",
255
256
  "scripts/agent/claude-result-event.ts"
256
257
  ],
257
258
  "outputs": [
258
259
  "codex-hook-adapter.js",
259
260
  "pretool-guard.js",
260
- "chunk-KBXZLMRH.js",
261
+ "chunk-G6KRCKEC.js",
261
262
  "stop-guard.js",
262
- "chunk-JKKTVDAG.js",
263
+ "chunk-GDS5N2KB.js",
263
264
  "format-edited.js",
264
- "chunk-FO2I7UT7.js",
265
+ "chunk-UAGLLIGZ.js",
265
266
  "chunk-3V37IID6.js",
266
267
  "session-lang.js",
267
268
  "chunk-6V5OPIUU.js",
268
269
  "batch-guard.js",
269
- "chunk-KOKOAV6D.js",
270
+ "chunk-VQLLNFNT.js",
270
271
  "investigation-guard.js",
271
- "chunk-RFWWUI5F.js",
272
+ "chunk-VESKRQOF.js",
272
273
  "duplicate-read-guard.js",
273
- "chunk-HBKZLITF.js",
274
- "chunk-LJBLGHEH.js",
275
- "chunk-HANSKHES.js",
276
- "chunk-NFZGFGOR.js",
277
- "chunk-GDU26K3J.js",
274
+ "chunk-DO6NWWHU.js",
275
+ "chunk-ZAL3NRGL.js",
276
+ "chunk-I4XSL4TT.js",
277
+ "chunk-32GQTL4F.js",
278
+ "chunk-S6X6WYKR.js",
278
279
  "chunk-WPALEIRX.js",
279
280
  "chunk-RKUAD3I6.js"
280
281
  ]
@@ -10,11 +10,11 @@ import {
10
10
  is_enabled,
11
11
  load_environment_file,
12
12
  refusal_path
13
- } from "./chunk-RFWWUI5F.js";
14
- import "./chunk-LJBLGHEH.js";
15
- import "./chunk-HANSKHES.js";
16
- import "./chunk-NFZGFGOR.js";
17
- import "./chunk-GDU26K3J.js";
13
+ } from "./chunk-VESKRQOF.js";
14
+ import "./chunk-ZAL3NRGL.js";
15
+ import "./chunk-I4XSL4TT.js";
16
+ import "./chunk-32GQTL4F.js";
17
+ import "./chunk-S6X6WYKR.js";
18
18
  import "./chunk-WPALEIRX.js";
19
19
  import "./chunk-RKUAD3I6.js";
20
20
  export {