@joshuafolkken/kit 1.1128.0 → 1.1166.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/.claude/agents/investigator.md +17 -0
- package/.claude/settings.json +5 -4
- package/.claude/skills/epic-commands/SKILL.md +27 -239
- package/.claude/skills/epic-commands/epic-bundle.md +115 -0
- package/.claude/skills/epic-commands/execution-waves.md +126 -0
- package/.claude/skills/workflow-commands/SKILL.md +48 -194
- package/.claude/skills/workflow-commands/background-commands.md +1 -1
- package/.claude/skills/workflow-commands/backlogrun-child.md +12 -123
- package/.claude/skills/workflow-commands/backlogrun-lanes.md +11 -60
- package/.claude/skills/workflow-commands/backlogrun-park.md +10 -8
- package/.claude/skills/workflow-commands/backlogrun-progress.md +19 -175
- package/.claude/skills/workflow-commands/backlogrun-recovery.md +155 -0
- package/.claude/skills/workflow-commands/backlogrun-steps.md +64 -144
- package/.claude/skills/workflow-commands/backlogrun.md +5 -4
- package/.claude/skills/workflow-commands/chain-rule.md +3 -2
- package/.claude/skills/workflow-commands/delegation.md +7 -3
- package/.claude/skills/workflow-commands/entry-sequence.md +62 -0
- package/.claude/skills/workflow-commands/followup.md +104 -181
- package/.claude/skills/workflow-commands/fullrun-steps.md +8 -9
- package/.claude/skills/workflow-commands/fullrun.md +16 -73
- package/.claude/skills/workflow-commands/halfrun.md +10 -36
- package/.claude/skills/workflow-commands/into-target.md +4 -4
- package/.claude/skills/workflow-commands/issue-comments.md +7 -8
- package/.claude/skills/workflow-commands/issue-scout.md +6 -6
- package/.claude/skills/workflow-commands/kickoff.md +6 -6
- package/.claude/skills/workflow-commands/needs-human-review.md +6 -6
- package/.claude/skills/workflow-commands/observation-filing.md +21 -172
- package/.claude/skills/workflow-commands/observation-ledger.md +150 -0
- package/.claude/skills/workflow-commands/pre-gate-cut.md +33 -93
- package/.claude/skills/workflow-commands/prerequisite.md +6 -6
- package/.claude/skills/workflow-commands/progress-watcher.md +90 -0
- package/.claude/skills/workflow-commands/prrun.md +5 -5
- package/.claude/skills/workflow-commands/retrospective.md +9 -9
- package/.claude/skills/workflow-commands/split-assessment.md +2 -2
- package/.claude/skills/workflow-commands/target-repository.md +2 -2
- package/.claude/skills/workflow-commands/working-tree-hold.md +7 -5
- package/.codex/hooks.json +4 -4
- package/AGENTS.md +1 -6
- package/CLAUDE.md +58 -120
- package/GEMINI.md +1 -6
- package/SECURITY.md +1 -0
- package/dist/CLAUDE.md +58 -120
- package/dist/hooks/batch-guard.js +4 -4
- package/dist/hooks/{chunk-MKVGBQPA.js → chunk-5KTCMCOT.js} +14 -1
- package/dist/hooks/{chunk-NXYMNPUQ.js → chunk-A6P7PN7P.js} +59 -21
- package/dist/hooks/{chunk-77J7IEQM.js → chunk-ANJ2WGFD.js} +1 -1
- package/dist/hooks/{chunk-4JZDP5X5.js → chunk-DYAVAM6S.js} +572 -127
- package/dist/hooks/{chunk-7HVB7SZG.js → chunk-ENA7P5FB.js} +4 -4
- package/dist/hooks/{chunk-M7QKEKWO.js → chunk-GU5MATVE.js} +214 -85
- package/dist/hooks/chunk-GYNGP7HI.js +56 -0
- package/dist/hooks/{chunk-5SD2YM7Z.js → chunk-URJA6XY4.js} +4 -4
- package/dist/hooks/{chunk-XYUIQOW3.js → chunk-V2BTOZHT.js} +6 -4
- package/dist/hooks/{chunk-AIOIOMPX.js → chunk-ZDZ555YH.js} +225 -78
- 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/inputs.json +186 -184
- package/dist/hooks/investigation-guard.js +5 -5
- package/dist/hooks/pretool-guard.js +11 -10
- package/dist/hooks/stop-guard.js +5 -5
- package/dist/josh.js +33 -3
- package/dist/version/index.js +5 -1
- package/package.json +7 -4
- package/prompts/collaboration-workflow/file-edits.md +11 -10
- package/prompts/collaboration-workflow/gh-rest.md +2 -4
- package/prompts/collaboration-workflow/glossary.md +1 -1
- package/prompts/collaboration-workflow/issue-citation.md +5 -9
- package/prompts/collaboration-workflow/issue-template.md +40 -115
- package/prompts/collaboration-workflow/operating-rules.md +4 -5
- package/prompts/collaboration-workflow/output-bounds.md +12 -78
- package/prompts/collaboration-workflow/overview.md +7 -13
- package/prompts/collaboration-workflow/plan-comment.md +11 -39
- package/prompts/collaboration-workflow/principles.md +3 -4
- package/prompts/collaboration-workflow/report-format.md +28 -74
- package/prompts/collaboration-workflow/residency.md +12 -109
- package/prompts/collaboration-workflow/rule-delivery.md +98 -97
- package/prompts/collaboration-workflow/shell-body.md +3 -13
- package/prompts/collaboration-workflow/turn-batching.md +14 -88
- package/prompts/collaboration-workflow/upstream-interrupt.md +12 -14
- package/prompts/collaboration-workflow/wip-cap.md +6 -45
- package/prompts/collaboration-workflow.md +1 -13
- package/prompts/review-rubric.md +8 -71
- package/prompts/review.md +25 -55
- package/prompts/testing-guide.md +18 -67
- package/scripts/agent/agent-role-profile.ts +1 -1
- package/scripts/agent/codex-hooks.ts +3 -12
- package/scripts/backlog/backlog-budget.ts +1 -1
- package/scripts/backlog/backlog-drive-cli.ts +4 -3
- package/scripts/backlog/backlog-drive-offer-argv.ts +10 -1
- package/scripts/backlog/backlog-offer.ts +6 -6
- package/scripts/behavior/behavior-rules.ts +11 -4
- package/scripts/delegation/delegation-policy.ts +9 -1
- package/scripts/delegation/investigation-guard.ts +1 -1
- package/scripts/delegation/investigation-reads.ts +109 -23
- package/scripts/discovery/repo-discovery.ts +21 -7
- package/scripts/discovery/repo-origin.ts +26 -0
- package/scripts/discovery/repo-party.ts +42 -1
- package/scripts/document/backlogrun-parent-read-set.ts +14 -15
- package/scripts/document/capped-print.ts +74 -0
- package/scripts/document/document-byte-budget.ts +34 -20
- package/scripts/document/document-section-cli.ts +4 -3
- package/scripts/document/entry-read-budget.ts +21 -9
- package/scripts/document/lane-child-read-set.ts +12 -14
- package/scripts/document/read-set-cli.ts +4 -4
- package/scripts/document/read-set-point-of-use.ts +10 -2
- package/scripts/document/resident-budget.ts +47 -0
- package/scripts/epic/epic-shape.ts +10 -13
- package/scripts/epic/epic-solo.ts +1 -1
- package/scripts/exports/unused-members-cli.ts +7 -3
- package/scripts/gate/scoped-green.ts +25 -14
- package/scripts/gh/git-gh-api-path.ts +7 -0
- package/scripts/hooks/pretool-guard-cli.ts +2 -2
- package/scripts/hooks/pretool-guard.ts +45 -2
- package/scripts/hooks/run-hook.sh +41 -0
- package/scripts/init/claude-kit-only-settings.ts +29 -0
- package/scripts/init/hook-command-rewrite.ts +18 -35
- package/scripts/init/hook-launch.ts +21 -32
- package/scripts/init/init-copy-content.ts +8 -2
- package/scripts/init/initial-commit.ts +24 -0
- package/scripts/init/start-exec.ts +16 -3
- package/scripts/init/start-steps.ts +8 -12
- package/scripts/issue/issue-auto-ok.ts +95 -0
- package/scripts/issue/issue-file-cli.ts +53 -7
- package/scripts/issue/issue-file.ts +28 -5
- package/scripts/issue/issue-labels.ts +12 -12
- package/scripts/issue/issue-rank.ts +1 -1
- package/scripts/issue/issue-read-cli.ts +4 -3
- package/scripts/issue/issue-read.ts +2 -2
- package/scripts/issue/issue-report-failures.ts +6 -2
- package/scripts/issue/issue-scout-cli.ts +2 -2
- package/scripts/issue/issue-state-cli.ts +2 -2
- package/scripts/issue/issue-state.ts +2 -2
- package/scripts/issue/issue-wip.ts +70 -0
- package/scripts/josh/hook-decision.ts +17 -0
- package/scripts/josh/josh-commands-development.ts +10 -0
- package/scripts/josh/josh-commands-issue.ts +2 -2
- package/scripts/josh/josh-commands-lane.ts +1 -1
- package/scripts/josh/josh-commands-project.ts +7 -0
- package/scripts/lane/lane-await.ts +46 -2
- package/scripts/lane/lane-cli.ts +11 -13
- package/scripts/lines/bytes-command.ts +29 -6
- package/scripts/observations/observation-ledger-line.ts +1 -1
- package/scripts/release/github-release-environment.ts +1 -0
- package/scripts/release/github-release.ts +103 -17
- package/scripts/release/release-progress.ts +167 -0
- package/scripts/release/release-publish.ts +19 -8
- package/scripts/release/release-tag.ts +22 -8
- package/scripts/rules/decision-oracle-stage.ts +1 -1
- package/scripts/rules/decision-oracle.ts +6 -6
- package/scripts/rules/delivered-rules.ts +11 -11
- package/scripts/rules/direct-pr-create.ts +110 -0
- package/scripts/rules/file-body.ts +98 -42
- package/scripts/rules/filing-cap.ts +2 -2
- package/scripts/rules/filing-offer.ts +1 -1
- package/scripts/rules/gh-api.ts +18 -1
- package/scripts/rules/implementation-cut.ts +3 -1
- package/scripts/rules/lane-background.ts +67 -10
- package/scripts/rules/permission-guards.ts +10 -2
- package/scripts/rules/stop-rules.ts +4 -4
- package/scripts/rules/test-declared-commit.ts +1 -1
- package/scripts/rules/third-party-write.ts +56 -12
- package/scripts/run/run-carry-cli.ts +3 -1
- package/scripts/run/run-carry-conversation.ts +94 -0
- package/scripts/run/run-carry-reclaim.ts +37 -0
- package/scripts/run/run-carry.ts +21 -5
- package/scripts/run/run-cut-handoff.ts +21 -1
- package/scripts/run/run-entry-cli.ts +11 -3
- package/scripts/run/run-hold-cli.ts +16 -2
- package/scripts/run/run-label.ts +50 -0
- package/scripts/run/run-merge-steps.ts +12 -4
- package/scripts/run/run-merge.ts +1 -1
- package/scripts/run/run-prep-cli.ts +6 -2
- package/scripts/run/run-prep.ts +17 -0
- package/scripts/run/run-ship-preflight.ts +34 -3
- package/scripts/run/run-ship-review-steps.ts +1 -1
- package/scripts/run/run-ship-review.ts +26 -5
- package/scripts/run/run-step-cli.ts +20 -7
- package/scripts/run/run-wake-driver.ts +24 -1
- package/scripts/run/run-wake-session.ts +2 -1
- package/scripts/test/test-declared-logic.ts +1 -1
- package/scripts/test/test-related.ts +1 -6
- package/scripts/test/test-unit-guard.ts +21 -7
- package/scripts/time-runtime/time-batch-guard.ts +52 -16
- package/scripts/time-runtime/time-density-hook.ts +20 -2
- package/scripts/time-runtime/time-density.ts +4 -3
- package/scripts/time-runtime/time-markers.ts +15 -4
- package/scripts/time-runtime/time-spans.ts +4 -0
- package/scripts/version/npm-registry.ts +11 -1
- package/templates/workflows/ci.yml +9 -1
- package/templates/workflows/github-release.yml +13 -25
- package/.claude/skills/workflow-commands/followup-reference.md +0 -118
- package/dist/hooks/chunk-QVLT52OV.js +0 -464
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env tsx
|
|
2
2
|
import {
|
|
3
3
|
pretool_guard
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GU5MATVE.js";
|
|
5
5
|
import {
|
|
6
6
|
bounded_pool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZDZ555YH.js";
|
|
8
8
|
import {
|
|
9
9
|
build_envelope,
|
|
10
10
|
compose_context,
|
|
11
11
|
format_edited_payload
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ANJ2WGFD.js";
|
|
13
13
|
import "./chunk-3V37IID6.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-V2BTOZHT.js";
|
|
15
|
+
import "./chunk-ENA7P5FB.js";
|
|
16
|
+
import "./chunk-URJA6XY4.js";
|
|
17
|
+
import "./chunk-A6P7PN7P.js";
|
|
18
|
+
import "./chunk-GYNGP7HI.js";
|
|
19
19
|
import {
|
|
20
20
|
hook_decision
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5KTCMCOT.js";
|
|
22
22
|
import {
|
|
23
23
|
time_density_hook
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DYAVAM6S.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-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-URJA6XY4.js";
|
|
13
|
+
import "./chunk-A6P7PN7P.js";
|
|
14
|
+
import "./chunk-GYNGP7HI.js";
|
|
15
|
+
import "./chunk-5KTCMCOT.js";
|
|
16
|
+
import "./chunk-DYAVAM6S.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-
|
|
5
|
+
} from "./chunk-ANJ2WGFD.js";
|
|
6
6
|
import "./chunk-3V37IID6.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-DYAVAM6S.js";
|
|
8
8
|
import "./chunk-RKUAD3I6.js";
|
|
9
9
|
|
|
10
10
|
// scripts/hooks/format-edited-cli.ts
|
package/dist/hooks/inputs.json
CHANGED
|
@@ -1,136 +1,147 @@
|
|
|
1
1
|
{
|
|
2
|
-
"digest": "
|
|
2
|
+
"digest": "21839bc6976455e7eedaca79fdd63c376c1462e848b7b24ce8a7bfe0a82e2407",
|
|
3
3
|
"inputs": [
|
|
4
|
-
"scripts/hooks/codex-hook-adapter.ts",
|
|
5
|
-
"scripts/hooks/pretool-guard-cli.ts",
|
|
6
4
|
"scripts/hooks/stop-guard.ts",
|
|
5
|
+
"scripts/hooks/pretool-guard-cli.ts",
|
|
6
|
+
"scripts/hooks/codex-hook-adapter.ts",
|
|
7
7
|
"scripts/hooks/format-edited-cli.ts",
|
|
8
|
+
"scripts/josh/session-language-cli.ts",
|
|
8
9
|
"scripts/delegation/investigation-guard.ts",
|
|
9
10
|
"scripts/delegation/duplicate-read-guard.ts",
|
|
10
11
|
"scripts/hooks/batch-guard.ts",
|
|
11
|
-
"scripts/
|
|
12
|
-
"scripts/
|
|
13
|
-
"scripts/
|
|
14
|
-
"scripts/hooks/format-edited-file.ts",
|
|
12
|
+
"scripts/rules/last-prompt.ts",
|
|
13
|
+
"scripts/run/run-stranded-detect.ts",
|
|
14
|
+
"scripts/run/run-hold.ts",
|
|
15
15
|
"scripts/discovery/repo-party.ts",
|
|
16
|
-
"scripts/backlog/backlog-ready.ts",
|
|
17
|
-
"scripts/backlog/backlog-stalled-detect.ts",
|
|
18
|
-
"scripts/lib/bounded-pool.ts",
|
|
19
|
-
"scripts/josh/session-language.ts",
|
|
20
16
|
"scripts/time-runtime/time-density-hook.ts",
|
|
17
|
+
"scripts/rules/stop-rules.ts",
|
|
18
|
+
"scripts/time-runtime/time-hook-transcript.ts",
|
|
19
|
+
"scripts/run/run-carry.ts",
|
|
21
20
|
"scripts/lane/lane-child-marker.ts",
|
|
22
|
-
"scripts/run/run-
|
|
23
|
-
"scripts/
|
|
21
|
+
"scripts/run/run-cut.ts",
|
|
22
|
+
"scripts/backlog/backlog-stalled-detect.ts",
|
|
24
23
|
"scripts/run/run-halfrun-resume.ts",
|
|
25
|
-
"scripts/josh/
|
|
24
|
+
"scripts/josh/session-language.ts",
|
|
26
25
|
"scripts/run/run-headless.ts",
|
|
27
|
-
"scripts/
|
|
28
|
-
"scripts/run/run-parent-cut-hook.ts",
|
|
29
|
-
"scripts/run/run-watcher-hook.ts",
|
|
30
|
-
"scripts/hooks/step-zero-notice.ts",
|
|
31
|
-
"scripts/time-runtime/time-batch-guard.ts",
|
|
32
|
-
"scripts/josh/stamp-file.ts",
|
|
33
|
-
"scripts/rules/filing-cap.ts",
|
|
26
|
+
"scripts/josh/hook-decision.ts",
|
|
34
27
|
"scripts/rules/lane-background.ts",
|
|
35
|
-
"scripts/
|
|
28
|
+
"scripts/rules/filing-cap.ts",
|
|
29
|
+
"scripts/lane/lane-handoff.ts",
|
|
36
30
|
"scripts/rules/lane-park.ts",
|
|
37
|
-
"scripts/
|
|
38
|
-
"scripts/
|
|
39
|
-
"scripts/
|
|
40
|
-
"scripts/
|
|
41
|
-
"scripts/
|
|
42
|
-
"scripts/
|
|
31
|
+
"scripts/lane/lane-guard-policy.ts",
|
|
32
|
+
"scripts/time-runtime/time-batch-guard.ts",
|
|
33
|
+
"scripts/backlog/backlog-ready.ts",
|
|
34
|
+
"scripts/hooks/pretool-guard.ts",
|
|
35
|
+
"scripts/josh/josh-environment-file.ts",
|
|
36
|
+
"scripts/lib/bounded-pool.ts",
|
|
37
|
+
"scripts/hooks/format-edited-file.ts",
|
|
43
38
|
"scripts/delegation/investigation-reads.ts",
|
|
44
|
-
"scripts/lib/json-value.ts",
|
|
45
39
|
"scripts/time-runtime/time-spans.ts",
|
|
46
|
-
"scripts/
|
|
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",
|
|
40
|
+
"scripts/lib/json-value.ts",
|
|
52
41
|
"scripts/lane/lane-paths.ts",
|
|
53
|
-
"scripts/
|
|
42
|
+
"scripts/discovery/repo-origin.ts",
|
|
43
|
+
"scripts/discovery/repo-discovery.ts",
|
|
44
|
+
"scripts/time-runtime/time-density.ts",
|
|
45
|
+
"scripts/josh/stamp-file.ts",
|
|
54
46
|
"scripts/lane/lane-registry.ts",
|
|
55
47
|
"scripts/lane/lane-reap.ts",
|
|
56
|
-
"scripts/
|
|
57
|
-
"scripts/run/run-
|
|
58
|
-
"scripts/
|
|
48
|
+
"scripts/rules/tail-commands.ts",
|
|
49
|
+
"scripts/run/run-ship-detach.ts",
|
|
50
|
+
"scripts/time-runtime/time-shell.ts",
|
|
51
|
+
"scripts/time-runtime/time-transcript-line.ts",
|
|
52
|
+
"scripts/rules/bash-triggers.ts",
|
|
53
|
+
"scripts/rules/run-tail.ts",
|
|
54
|
+
"scripts/cost-runtime/cost-blocks.ts",
|
|
59
55
|
"scripts/git/git-common-directory.ts",
|
|
60
|
-
"scripts/
|
|
61
|
-
"scripts/
|
|
62
|
-
"scripts/issue/issue-cite.ts",
|
|
63
|
-
"scripts/josh/josh-run.ts",
|
|
64
|
-
"scripts/lane/lane-capacity.ts",
|
|
65
|
-
"scripts/time-runtime/time-density.ts",
|
|
56
|
+
"scripts/rules/shell-segments.ts",
|
|
57
|
+
"scripts/issue/issue-labels.ts",
|
|
66
58
|
"scripts/backlog/backlog-stalled.ts",
|
|
67
|
-
"scripts/
|
|
68
|
-
"scripts/run/run-ship-detach.ts",
|
|
69
|
-
"scripts/run/run-event-stream-emit.ts",
|
|
70
|
-
"scripts/notify/telegram-notify.ts",
|
|
59
|
+
"scripts/run/run-cut-handoff.ts",
|
|
71
60
|
"scripts/run/run-event-stream.ts",
|
|
72
|
-
"scripts/
|
|
73
|
-
"scripts/rules/implementation-cut-verdict.ts",
|
|
74
|
-
"scripts/time-runtime/time-transcript-line.ts",
|
|
61
|
+
"scripts/notify/telegram-notify.ts",
|
|
75
62
|
"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
63
|
"scripts/time-runtime/time-call-identity.ts",
|
|
83
|
-
"scripts/
|
|
84
|
-
"scripts/
|
|
85
|
-
"scripts/
|
|
86
|
-
"scripts/
|
|
64
|
+
"scripts/agent/agent-role-profile.ts",
|
|
65
|
+
"scripts/git/git-command.ts",
|
|
66
|
+
"scripts/backlog/backlog-budget.ts",
|
|
67
|
+
"scripts/lane/lane-child-invocation.ts",
|
|
68
|
+
"scripts/cost-runtime/cost-transcript.ts",
|
|
69
|
+
"scripts/rules/reply-language.ts",
|
|
70
|
+
"scripts/rules/filing-offer.ts",
|
|
71
|
+
"scripts/rules/issue-citation.ts",
|
|
72
|
+
"scripts/run/run-event-stream-emit.ts",
|
|
73
|
+
"scripts/time-runtime/time-bundles.ts",
|
|
74
|
+
"scripts/time-runtime/time-bundle-call.ts",
|
|
75
|
+
"scripts/run/run-invocation.ts",
|
|
87
76
|
"scripts/time-runtime/time-reported-failure.ts",
|
|
88
|
-
"scripts/
|
|
89
|
-
"scripts/
|
|
90
|
-
"
|
|
91
|
-
"scripts/
|
|
92
|
-
"scripts/
|
|
93
|
-
"scripts/
|
|
94
|
-
"scripts/
|
|
77
|
+
"scripts/hooks/step-zero-notice.ts",
|
|
78
|
+
"scripts/run/run-wake.ts",
|
|
79
|
+
"ports/index.js",
|
|
80
|
+
"scripts/run/run-issue-number.ts",
|
|
81
|
+
"scripts/run/run-stranded.ts",
|
|
82
|
+
"scripts/lib/error-message.ts",
|
|
83
|
+
"scripts/gh/git-gh-command.ts",
|
|
84
|
+
"scripts/delegation/delegation-policy.ts",
|
|
85
|
+
"scripts/issue/issue-cite.ts",
|
|
86
|
+
"scripts/josh/josh-run.ts",
|
|
87
|
+
"scripts/lane/lane-capacity.ts",
|
|
88
|
+
"scripts/rules/delivered-rules.ts",
|
|
89
|
+
"scripts/run/run-parent-cut-hook.ts",
|
|
90
|
+
"scripts/run/run-watcher-hook.ts",
|
|
91
|
+
"scripts/hooks/format-rewrite-notice.ts",
|
|
92
|
+
"scripts/build/local-bin.ts",
|
|
93
|
+
"scripts/josh/josh-command-types.ts",
|
|
94
|
+
"scripts/hooks/edited-cspell.ts",
|
|
95
|
+
"scripts/cost-runtime/cost-usage.ts",
|
|
95
96
|
"scripts/run/detached-launch.ts",
|
|
96
|
-
"scripts/
|
|
97
|
-
"scripts/
|
|
98
|
-
"scripts/
|
|
99
|
-
"scripts/
|
|
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",
|
|
97
|
+
"scripts/josh/platform-temporary.ts",
|
|
98
|
+
"scripts/run/run-ship-next.ts",
|
|
99
|
+
"scripts/epic/epic-triage.ts",
|
|
100
|
+
"scripts/time-runtime/time-writes.ts",
|
|
112
101
|
"scripts/josh/process-identity.ts",
|
|
102
|
+
"scripts/init/init-paths.ts",
|
|
103
|
+
"scripts/time-runtime/time-background.ts",
|
|
113
104
|
"scripts/time-runtime/time-followup-stage.ts",
|
|
114
|
-
"scripts/
|
|
115
|
-
"scripts/
|
|
116
|
-
"scripts/
|
|
117
|
-
"scripts/
|
|
118
|
-
"scripts/
|
|
119
|
-
"scripts/cost-runtime/codex-usage.ts",
|
|
105
|
+
"scripts/time-runtime/time-markers.ts",
|
|
106
|
+
"scripts/time-runtime/time-single-check.ts",
|
|
107
|
+
"scripts/discovery/repo-map-logic.ts",
|
|
108
|
+
"scripts/test/test-declared-logic.ts",
|
|
109
|
+
"scripts/rules/implementation-cut-verdict.ts",
|
|
120
110
|
"scripts/time-runtime/time-instant.ts",
|
|
121
|
-
"scripts/
|
|
122
|
-
"scripts/lib/
|
|
123
|
-
"scripts/
|
|
124
|
-
"scripts/
|
|
125
|
-
"scripts/
|
|
126
|
-
"scripts/
|
|
127
|
-
"scripts/
|
|
111
|
+
"scripts/josh/process-owner.ts",
|
|
112
|
+
"scripts/lib/read-file.ts",
|
|
113
|
+
"scripts/lane/lane-environment.ts",
|
|
114
|
+
"scripts/gh/git-gh-helpers.ts",
|
|
115
|
+
"scripts/run/run-carry-conversation.ts",
|
|
116
|
+
"scripts/time-runtime/time-round-trips.ts",
|
|
117
|
+
"scripts/git/git-worktree.ts",
|
|
118
|
+
"scripts/run/run-event-scope.ts",
|
|
119
|
+
"scripts/lane/lane-seed.ts",
|
|
128
120
|
"scripts/gh/git-gh-issue.ts",
|
|
129
121
|
"scripts/gh/git-gh-pr.ts",
|
|
130
122
|
"scripts/gh/git-gh-pr-auto-merge.ts",
|
|
131
123
|
"scripts/gh/git-gh-repo.ts",
|
|
132
124
|
"scripts/gh/git-pr-checks-watch.ts",
|
|
133
|
-
"scripts/
|
|
125
|
+
"scripts/run/run-carry-change.ts",
|
|
126
|
+
"scripts/cost-runtime/cost-format.ts",
|
|
127
|
+
"scripts/josh/josh-command-map.ts",
|
|
128
|
+
"scripts/cost-runtime/cost-cli.ts",
|
|
129
|
+
"scripts/backlog/backlog-budget-cli.ts",
|
|
130
|
+
"scripts/lib/status-icons.ts",
|
|
131
|
+
"scripts/lib/schemas.ts",
|
|
132
|
+
"scripts/josh/josh-verdict.ts",
|
|
133
|
+
"scripts/time-runtime/time-command-key.ts",
|
|
134
|
+
"scripts/lib/timed-fetch.ts",
|
|
135
|
+
"scripts/cost-runtime/context-cut-payback.ts",
|
|
136
|
+
"scripts/gh/gh-spawn.ts",
|
|
137
|
+
"scripts/josh/agent-session-environment.ts",
|
|
138
|
+
"scripts/agent/agent-launch-environment.ts",
|
|
139
|
+
"scripts/cost-runtime/cost-verdict.ts",
|
|
140
|
+
"scripts/run/run-watcher-guard.ts",
|
|
141
|
+
"scripts/run/run-progress-read.ts",
|
|
142
|
+
"scripts/time-runtime/time-agent-bundles.ts",
|
|
143
|
+
"scripts/time-runtime/time-format.ts",
|
|
144
|
+
"scripts/rules/worktree-guard.ts",
|
|
134
145
|
"scripts/rules/direct-filing.ts",
|
|
135
146
|
"scripts/rules/early-heartbeat.ts",
|
|
136
147
|
"scripts/rules/file-body.ts",
|
|
@@ -144,136 +155,127 @@
|
|
|
144
155
|
"scripts/rules/lane-switch-main.ts",
|
|
145
156
|
"scripts/rules/oracle-consulted.ts",
|
|
146
157
|
"scripts/rules/permission-guards.ts",
|
|
147
|
-
"scripts/lib/spawn-exit.ts",
|
|
148
158
|
"scripts/rules/piped-verification.ts",
|
|
149
159
|
"scripts/rules/poll-loop.ts",
|
|
150
160
|
"scripts/rules/pre-gate-cut.ts",
|
|
151
|
-
"scripts/rules/shell-body-trigger.ts",
|
|
152
161
|
"scripts/rules/prior-comment-read.ts",
|
|
153
162
|
"scripts/rules/raw-field-body.ts",
|
|
154
163
|
"scripts/rules/rule-body-guard.ts",
|
|
155
|
-
"scripts/git/git-
|
|
156
|
-
"scripts/
|
|
164
|
+
"scripts/git/git-location-environment.ts",
|
|
165
|
+
"scripts/git/constants.ts",
|
|
157
166
|
"scripts/rules/third-party-write.ts",
|
|
158
|
-
"scripts/
|
|
167
|
+
"scripts/run/run-ship-stage.ts",
|
|
159
168
|
"scripts/followup/git-followup-stages.ts",
|
|
160
|
-
"scripts/
|
|
161
|
-
"scripts/
|
|
162
|
-
"scripts/
|
|
163
|
-
"scripts/
|
|
164
|
-
"scripts/
|
|
165
|
-
"scripts/
|
|
166
|
-
"scripts/
|
|
167
|
-
"scripts/
|
|
168
|
-
"scripts/josh/josh-commands-versioning.ts",
|
|
169
|
-
"scripts/lib/timeouts.ts",
|
|
169
|
+
"scripts/time-runtime/time-phase-names.ts",
|
|
170
|
+
"scripts/cost-runtime/cost-attribute.ts",
|
|
171
|
+
"scripts/gh/git-gh-exec.ts",
|
|
172
|
+
"scripts/cost-runtime/own-session.ts",
|
|
173
|
+
"scripts/rules/shell-body-trigger.ts",
|
|
174
|
+
"scripts/rules/test-declared-commit.ts",
|
|
175
|
+
"scripts/gh/git-gh-api-path.ts",
|
|
176
|
+
"scripts/git/repository-lock.ts",
|
|
170
177
|
"scripts/gh/git-gh-issue-write.ts",
|
|
178
|
+
"scripts/git/git-ls-remote.ts",
|
|
179
|
+
"scripts/git/git-spawn-sync.ts",
|
|
180
|
+
"scripts/git/git-execa-error.ts",
|
|
181
|
+
"scripts/git/git-push-transport.ts",
|
|
182
|
+
"scripts/git/git-spawn.ts",
|
|
171
183
|
"scripts/gh/git-gh-issue-list.ts",
|
|
172
184
|
"scripts/gh/git-gh-issue-read.ts",
|
|
173
185
|
"scripts/gh/git-gh-issue-rest.ts",
|
|
174
|
-
"scripts/
|
|
175
|
-
"scripts/
|
|
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",
|
|
186
|
+
"scripts/lib/timeouts.ts",
|
|
187
|
+
"scripts/cost-runtime/cost-pricing.ts",
|
|
182
188
|
"scripts/agent/codex-home-source.ts",
|
|
183
|
-
"scripts/
|
|
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",
|
|
193
|
-
"scripts/run/run-preflight.ts",
|
|
189
|
+
"scripts/gh/git-gh-failure.ts",
|
|
194
190
|
"scripts/test/test-declared-changed.ts",
|
|
195
|
-
"scripts/
|
|
196
|
-
"scripts/
|
|
197
|
-
"scripts/rules/
|
|
198
|
-
"scripts/
|
|
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",
|
|
208
|
-
"scripts/git/parse-json-array.ts",
|
|
209
|
-
"scripts/git/schemas.ts",
|
|
191
|
+
"scripts/rules/git-argv.ts",
|
|
192
|
+
"scripts/gh/git-gh-pr-snapshot.ts",
|
|
193
|
+
"scripts/rules/oracle-firing.ts",
|
|
194
|
+
"scripts/gh/gh-cli-token.ts",
|
|
210
195
|
"scripts/ci/pr-classification.ts",
|
|
211
196
|
"scripts/lib/poll.ts",
|
|
212
|
-
"scripts/gh/git-gh-api-path.ts",
|
|
213
|
-
"scripts/gh/git-gh-exec.ts",
|
|
214
197
|
"scripts/gh/git-gh-pr-read.ts",
|
|
215
198
|
"scripts/gh/git-gh-pr-rest.ts",
|
|
199
|
+
"scripts/gh/git-pr-checks-parse.ts",
|
|
200
|
+
"scripts/rules/decision-oracle.ts",
|
|
201
|
+
"scripts/run/run-carry-streak.ts",
|
|
202
|
+
"scripts/rules/protected-files.ts",
|
|
216
203
|
"scripts/gh/git-pr-checks.ts",
|
|
217
204
|
"scripts/gh/git-pr-checks-eval.ts",
|
|
218
|
-
"scripts/run/run-
|
|
205
|
+
"scripts/run/run-progress-config.ts",
|
|
206
|
+
"scripts/rules/destructive-command.ts",
|
|
207
|
+
"scripts/rules/direct-pr-create.ts",
|
|
208
|
+
"scripts/rules/index-guard.ts",
|
|
219
209
|
"scripts/run/run-progress.ts",
|
|
210
|
+
"scripts/run/run-progress-clock.ts",
|
|
211
|
+
"scripts/cost-runtime/transcript-cwd.ts",
|
|
212
|
+
"scripts/lib/cli-flags.ts",
|
|
213
|
+
"scripts/cost-runtime/codex-usage.ts",
|
|
214
|
+
"scripts/cost-runtime/cost-corpus.ts",
|
|
215
|
+
"scripts/josh/path-decision.ts",
|
|
216
|
+
"scripts/git/git-ssh-keepalive.ts",
|
|
217
|
+
"scripts/lib/spawn-exit.ts",
|
|
218
|
+
"scripts/gh/git-gh-check.ts",
|
|
219
|
+
"scripts/agent/interactive-ask.ts",
|
|
220
|
+
"scripts/run/run-preflight.ts",
|
|
220
221
|
"scripts/epic/epic-busy.ts",
|
|
221
222
|
"scripts/lane/lane-report.ts",
|
|
222
223
|
"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
224
|
"scripts/gh/git-gh-reachability.ts",
|
|
228
|
-
"scripts/gh/git-gh-
|
|
229
|
-
"scripts/
|
|
230
|
-
"scripts/
|
|
231
|
-
"scripts/josh/josh-commands-
|
|
232
|
-
"scripts/josh/josh-commands-
|
|
233
|
-
"scripts/josh/josh-commands-
|
|
234
|
-
"scripts/josh/josh-commands-
|
|
235
|
-
"scripts/josh/josh-commands-
|
|
236
|
-
"scripts/
|
|
237
|
-
"scripts/
|
|
238
|
-
"scripts/
|
|
225
|
+
"scripts/gh/git-gh-rest-state.ts",
|
|
226
|
+
"scripts/git/parse-json-array.ts",
|
|
227
|
+
"scripts/git/schemas.ts",
|
|
228
|
+
"scripts/josh/josh-commands-workflow.ts",
|
|
229
|
+
"scripts/josh/josh-commands-ai.ts",
|
|
230
|
+
"scripts/josh/josh-commands-clone.ts",
|
|
231
|
+
"scripts/josh/josh-commands-development.ts",
|
|
232
|
+
"scripts/josh/josh-commands-hooks.ts",
|
|
233
|
+
"scripts/josh/josh-commands-lint.ts",
|
|
234
|
+
"scripts/josh/josh-commands-maintenance.ts",
|
|
235
|
+
"scripts/josh/josh-commands-project.ts",
|
|
236
|
+
"scripts/josh/josh-commands-versioning.ts",
|
|
239
237
|
"scripts/gate/project-checks.ts",
|
|
238
|
+
"scripts/gh/git-gh-pr-rollup.ts",
|
|
240
239
|
"scripts/gh/git-gh-pr-review.ts",
|
|
241
|
-
"scripts/issue/issue-state.ts",
|
|
242
|
-
"scripts/josh/process-owner.ts",
|
|
243
240
|
"scripts/doctor/doctor-consumer.ts",
|
|
244
|
-
"scripts/
|
|
245
|
-
"scripts/run/run-carry-streak.ts",
|
|
246
|
-
"scripts/gh/git-gh-check.ts",
|
|
241
|
+
"scripts/rules/decision-oracle-stage.ts",
|
|
247
242
|
"scripts/test/skip-marker.ts",
|
|
248
243
|
"scripts/init/project-profile.ts",
|
|
249
|
-
"scripts/
|
|
244
|
+
"scripts/git/changed-paths.ts",
|
|
245
|
+
"scripts/issue/issue-state.ts",
|
|
250
246
|
"scripts/agent/agent-event.ts",
|
|
251
|
-
"scripts/version/kit-descriptor.ts",
|
|
252
|
-
"scripts/run/run-ship-stage.ts",
|
|
253
247
|
"scripts/run/run-stage.ts",
|
|
248
|
+
"scripts/josh/josh-commands-split.ts",
|
|
249
|
+
"scripts/version/kit-descriptor.ts",
|
|
250
|
+
"scripts/josh/josh-commands-backlog.ts",
|
|
251
|
+
"scripts/josh/josh-commands-document.ts",
|
|
252
|
+
"scripts/josh/josh-commands-guard.ts",
|
|
253
|
+
"scripts/josh/josh-commands-issue.ts",
|
|
254
|
+
"scripts/josh/josh-commands-lane.ts",
|
|
255
|
+
"scripts/josh/josh-commands-run.ts",
|
|
254
256
|
"scripts/agent/claude-result-event.ts"
|
|
255
257
|
],
|
|
256
258
|
"outputs": [
|
|
257
259
|
"codex-hook-adapter.js",
|
|
258
260
|
"pretool-guard.js",
|
|
259
|
-
"chunk-
|
|
261
|
+
"chunk-GU5MATVE.js",
|
|
260
262
|
"stop-guard.js",
|
|
261
|
-
"chunk-
|
|
263
|
+
"chunk-ZDZ555YH.js",
|
|
262
264
|
"format-edited.js",
|
|
263
|
-
"chunk-
|
|
265
|
+
"chunk-ANJ2WGFD.js",
|
|
264
266
|
"chunk-3V37IID6.js",
|
|
265
267
|
"session-lang.js",
|
|
266
268
|
"chunk-6V5OPIUU.js",
|
|
267
269
|
"batch-guard.js",
|
|
268
|
-
"chunk-
|
|
270
|
+
"chunk-V2BTOZHT.js",
|
|
269
271
|
"investigation-guard.js",
|
|
270
|
-
"chunk-
|
|
272
|
+
"chunk-ENA7P5FB.js",
|
|
271
273
|
"duplicate-read-guard.js",
|
|
272
|
-
"chunk-
|
|
273
|
-
"chunk-
|
|
274
|
-
"chunk-
|
|
275
|
-
"chunk-
|
|
276
|
-
"chunk-
|
|
274
|
+
"chunk-URJA6XY4.js",
|
|
275
|
+
"chunk-A6P7PN7P.js",
|
|
276
|
+
"chunk-GYNGP7HI.js",
|
|
277
|
+
"chunk-5KTCMCOT.js",
|
|
278
|
+
"chunk-DYAVAM6S.js",
|
|
277
279
|
"chunk-WPALEIRX.js",
|
|
278
280
|
"chunk-RKUAD3I6.js"
|
|
279
281
|
]
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
is_enabled,
|
|
11
11
|
load_environment_file,
|
|
12
12
|
refusal_path
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-ENA7P5FB.js";
|
|
14
|
+
import "./chunk-A6P7PN7P.js";
|
|
15
|
+
import "./chunk-GYNGP7HI.js";
|
|
16
|
+
import "./chunk-5KTCMCOT.js";
|
|
17
|
+
import "./chunk-DYAVAM6S.js";
|
|
18
18
|
import "./chunk-WPALEIRX.js";
|
|
19
19
|
import "./chunk-RKUAD3I6.js";
|
|
20
20
|
export {
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env tsx
|
|
2
2
|
import {
|
|
3
|
+
pretool_guard,
|
|
3
4
|
pretool_outcome_async
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-GU5MATVE.js";
|
|
6
|
+
import "./chunk-ZDZ555YH.js";
|
|
6
7
|
import "./chunk-3V37IID6.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-V2BTOZHT.js";
|
|
9
|
+
import "./chunk-ENA7P5FB.js";
|
|
10
|
+
import "./chunk-URJA6XY4.js";
|
|
11
|
+
import "./chunk-A6P7PN7P.js";
|
|
12
|
+
import "./chunk-GYNGP7HI.js";
|
|
12
13
|
import {
|
|
13
14
|
hook_decision
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-5KTCMCOT.js";
|
|
16
|
+
import "./chunk-DYAVAM6S.js";
|
|
16
17
|
import "./chunk-WPALEIRX.js";
|
|
17
18
|
import "./chunk-RKUAD3I6.js";
|
|
18
19
|
|
|
@@ -24,6 +25,6 @@ if (process.argv[1] === fileURLToPath(import.meta.url)) {
|
|
|
24
25
|
else {
|
|
25
26
|
const raw_payload = await text(process.stdin);
|
|
26
27
|
hook_decision.load_environment_file();
|
|
27
|
-
|
|
28
|
+
pretool_guard.emit(raw_payload, await pretool_outcome_async(raw_payload));
|
|
28
29
|
}
|
|
29
30
|
}
|
package/dist/hooks/stop-guard.js
CHANGED
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
run_headless,
|
|
26
26
|
run_hold,
|
|
27
27
|
run_invocation
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZDZ555YH.js";
|
|
29
29
|
import {
|
|
30
30
|
session_language
|
|
31
31
|
} from "./chunk-6V5OPIUU.js";
|
|
32
32
|
import {
|
|
33
33
|
hook_decision,
|
|
34
34
|
lane_child_marker
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5KTCMCOT.js";
|
|
36
36
|
import {
|
|
37
37
|
PROJECT_ROOT,
|
|
38
38
|
json_value,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
time_density_hook,
|
|
41
41
|
time_hook_transcript,
|
|
42
42
|
time_reported_failure
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DYAVAM6S.js";
|
|
44
44
|
import "./chunk-WPALEIRX.js";
|
|
45
45
|
import "./chunk-RKUAD3I6.js";
|
|
46
46
|
|
|
@@ -835,14 +835,14 @@ var stop_payload_schema = z3.object({
|
|
|
835
835
|
});
|
|
836
836
|
var NO_OUTCOME = { reason: void 0 };
|
|
837
837
|
var STOP_NOTIFY_REASON = '\u26D4 mid-workflow stop notification: this working tree is still held by a run and no `confirmation` Telegram was sent this turn, so a person is being left to wait off-screen without knowing the run paused. `CLAUDE.md` \u2192 "Mid-workflow stop notification" requires `pnpm josh notify --task-type confirmation --issue-url "<url>" --body=$\'<reason>\'` before any mid-workflow pause. Send it, then end with a one-line confirmation that it was sent \u2014 do not repeat your previous reply. This fires only while the hold is held and no notify is on the transcript, and `stop_hook_active` lets a second stop through so a run is never wedged.';
|
|
838
|
-
var HOLD_RELEASE_REASON = "\u26D4 working-tree hold not released: this working tree is clean but its `run:hold` record is still in place, so the next run here runs `git switch main && git pull` believing the tree is free while you hold it.
|
|
838
|
+
var HOLD_RELEASE_REASON = "\u26D4 working-tree hold not released: this working tree is clean but its `run:hold` record is still in place, so the next run here runs `git switch main && git pull` believing the tree is free while you hold it. The workflow-commands skill \u2192 `working-tree-hold.md`: a stop that leaves the tree clean releases the hold with `pnpm josh run:release <N>` (bare for a `new` entry). A `halfrun` pre-commit stop and a `needs-human-review` stop keep the hold because their tree is dirty, and a `prrun` stop keeps it by its stop mark \u2014 this row is silent there. Release it, then end with a one-line confirmation that it was released \u2014 do not repeat your previous reply.";
|
|
839
839
|
var ISSUE_CITATION_REASON = "Session-facing output cites an Issue as a number-link so the reader can click through and see which repository it is (`CLAUDE.md`, `prompts/collaboration-workflow/issue-citation.md`).";
|
|
840
840
|
function build_citation_reason(references) {
|
|
841
841
|
const numbers = references.join(", ");
|
|
842
842
|
const command = `pnpm josh issue:cite ${issue_citation.cite_arguments(references).join(" ")}`;
|
|
843
843
|
return `\u26D4 issue citation: your reply names an Issue as a bare \`#N\` (${numbers}). Run \`${command}\` to print the paste-ready citation lines, then print the corrected citation lines alone \u2014 do not repeat your previous reply. ${ISSUE_CITATION_REASON}`;
|
|
844
844
|
}
|
|
845
|
-
var FILING_OFFER_REASON = '\u26D4 filing offer: your reply offers to file an Issue instead of filing it. Filing into a first-party repository is Tier A \u2014 the trigger is the judgement that it is worth filing, not the run\'s progress (
|
|
845
|
+
var FILING_OFFER_REASON = '\u26D4 filing offer: your reply offers to file an Issue instead of filing it. Filing into a first-party repository is Tier A \u2014 the trigger is the judgement that it is worth filing, not the run\'s progress (the workflow-commands skill \u2192 `observation-filing.md`). Run `pnpm josh issue:file "<title>" --body-file <path> --depth <0|1|2>` \u2014 it scouts, lints, labels and runs `epic:bundle` itself \u2014 then end with the one-line citation of what was filed; do not repeat your previous reply. If it is not worth filing after all, say so in one line instead.';
|
|
846
846
|
var HEADLESS_WAIT_MARKER = "\u26D4 headless parent:";
|
|
847
847
|
var HEADLESS_REFUSAL_CAP = 3;
|
|
848
848
|
var HEADLESS_WAIT_CALLS = ['"command":"pnpm josh lane:await'];
|