@chrono-meta/fh-gate 3.43.0 → 3.45.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/rules/fh_4axis_gate.md +50 -608
- package/.claude-plugin/marketplace.json +4 -4
- package/AGENTS.md +5 -1
- package/CATALOG.md +21 -0
- package/CHEATSHEET.md +7 -1
- package/docs/USER_GUIDE.md +95 -0
- package/docs/codex-compat.md +1 -1
- package/knowledge/shared/harness-core/fh_4axis_gate_detail.md +679 -0
- package/knowledge/shared/harness-core/fh_integration_contract.md +1 -1
- package/knowledge/shared/harness-core/fh_module_contract.md +106 -3
- package/knowledge/shared/harness-core/governance_engineering_definition.md +16 -0
- package/knowledge/shared/harness-core/heavy_skill_to_cartridge.md +185 -0
- package/knowledge/shared/learnings/subagent_invocations_log.yaml +221 -0
- package/knowledge/shared/plugin-catalog/recommended_plugins.md +53 -9
- package/package.json +24 -1
- package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-commons/skills/ko-tech-writer/SKILL.md +50 -14
- package/plugins/fh-commons/skills/ko-tech-writer/SKILL_detail.md +80 -0
- package/plugins/fh-commons/skills/ko-tech-writer/fixtures/sense_negative.md +30 -0
- package/plugins/fh-commons/skills/ko-tech-writer/fixtures/sense_positive.md +56 -0
- package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/CHANGELOG.md +118 -0
- package/plugins/fh-meta/skills/auto-decorrelation/SKILL.md +58 -1
- package/plugins/fh-meta/skills/install-wizard/SKILL_detail.md +4 -0
- package/plugins/fh-meta/skills/sim-conductor/SKILL_detail.md +3 -3
- package/plugins/fh-meta/skills/steel-quench/SKILL_detail.md +9 -4
- package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
- package/scripts/agy_launch_guard.sh +165 -0
- package/scripts/agy_remote_run.sh +187 -0
- package/scripts/below_floor_scan.sh +30 -0
- package/scripts/codex_launch_guard.sh +123 -0
- package/scripts/correction_moments.py +23 -2
- package/scripts/fh-gate.sh +612 -14
- package/scripts/fh-goal.sh +56 -12
- package/scripts/fh-run.sh +1 -1
- package/scripts/fh_gate_exec.sh +272 -0
- package/scripts/fh_session_load.sh +17 -0
- package/scripts/finding_fleet.sh +36 -2
- package/scripts/finding_verifier.sh +7 -2
- package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/README.md +16 -0
- package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/scripts/check_refs.py +12 -0
- package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/scripts/test_check_refs.py +24 -0
- package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/skills/tidy-notes/SKILL.md +16 -0
- package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/skills/tidy-notes/fh-module.yaml +20 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/SKILL.md +25 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/hooks/hooks.json +7 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/check_links.py +25 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/publish.sh +9 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/publish_guard.py +6 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/setup.sh +5 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/SKILL.md +25 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/hooks/hooks.json +10 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/check_refs.py +12 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/guard_push.py +9 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/install.sh +6 -0
- package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/ship.sh +9 -0
- package/scripts/heavy_skill_smell.py +311 -0
- package/scripts/job_heartbeat.py +186 -0
- package/scripts/ko_tech_writer_calibrate.py +88 -1
- package/scripts/live_eval_matrix.py +128 -0
- package/scripts/live_eval_trace.py +199 -5
- package/scripts/package_coverage_check.sh +18 -0
- package/scripts/prepush_guard_check.sh +41 -20
- package/scripts/probe_live_eval.sh +33 -1
- package/scripts/probe_live_eval_lib.py +14 -6
- package/scripts/selfcheck.sh +162 -2
- package/scripts/selfcheck_shard_weights.txt +2 -0
- package/scripts/session_checklist.py +109 -5
- package/scripts/sidecar_calibrate.sh +15 -5
- package/scripts/sidecar_wait.sh +21 -1
- package/scripts/sim_isolated_run.sh +20 -0
- package/scripts/test_agy_launch_guard_lanes.sh +347 -0
- package/scripts/test_agy_remote_run_lanes.sh +228 -0
- package/scripts/test_below_floor_scan_lanes.sh +85 -0
- package/scripts/test_codex_launch_guard_lanes.sh +183 -0
- package/scripts/test_correction_moments_lanes.sh +37 -0
- package/scripts/test_fh_gate_absorb_lanes.sh +255 -0
- package/scripts/test_fh_gate_defaults_lanes.sh +169 -0
- package/scripts/test_fh_gate_exec_lanes.sh +244 -0
- package/scripts/test_fh_gate_fusion_lanes.sh +202 -0
- package/scripts/test_fh_gate_regressions.sh +92 -1
- package/scripts/test_fh_goal_change_detection_lanes.sh +103 -3
- package/scripts/test_finding_pipeline_lanes.sh +41 -3
- package/scripts/test_guard_anchor_override_env_lanes.sh +84 -0
- package/scripts/test_heavy_skill_smell_lanes.sh +160 -0
- package/scripts/test_job_heartbeat_lanes.sh +96 -0
- package/scripts/test_live_eval_construct_lanes.sh +29 -6
- package/scripts/test_live_eval_matrix_lanes.sh +53 -0
- package/scripts/test_live_eval_trace_lanes.sh +165 -12
- package/scripts/test_name_boundary_locale_lanes.sh +36 -5
- package/scripts/test_preprep_speech_coach_lanes.sh +18 -2
- package/scripts/test_prepush_guard_failure_visibility_lanes.sh +152 -0
- package/scripts/test_prepush_marker_lookup_lanes.sh +143 -0
- package/scripts/test_probe_live_eval_lanes.sh +43 -0
- package/scripts/test_regression_guard_sibling_lanes.sh +52 -1
- package/scripts/test_session_checklist_lanes.sh +205 -0
- package/scripts/test_sidecar_calibrate_lanes.sh +5 -1
- package/scripts/test_sidecar_wait_stdin.sh +18 -0
- package/scripts/test_sim_isolated_run_lanes.sh +43 -0
- package/scripts/universal_guard_check.sh +8 -0
- package/templates/.claude/rules/mcp_tool_gating.md +27 -0
- package/templates/.git-hooks/pre-push +60 -3
- package/templates/regression_guard.sh +8 -4
- package/templates/settings.LaneGap.snippet.json +27 -0
|
@@ -160,6 +160,33 @@ not from sounding harmless.
|
|
|
160
160
|
pin for this threat, though the same config-rewrite class can still repoint a
|
|
161
161
|
`stdio` server's launch command — out of scope for this step, not out of scope
|
|
162
162
|
for config-integrity generally.
|
|
163
|
+
6. For `stdio` servers launched with `npx` / `uvx` (advisory — not a Done When item): a pinned
|
|
164
|
+
version (`pkg@1.2.3`, `uvx --from 'tool==1.2.3'`) is **not a dependency freeze**. The server's
|
|
165
|
+
transitive dependencies are still resolved fresh against their semver ranges whenever a new
|
|
166
|
+
environment is built, so a pinned server is "pinned but not frozen"
|
|
167
|
+
([CSA AI Safety Initiative, "Pinned but Not Frozen: Dependency Drift in Coding-Assistant
|
|
168
|
+
MCP Servers," 2026-11-15](https://labs.cloudsecurityalliance.org/research/csa-research-note-mcp-server-dependency-drift-20261115-csa-s/)).
|
|
169
|
+
The note recommends:
|
|
170
|
+
- **Freeze with a lockfile you control.** Run the approved server from an internal wrapper
|
|
171
|
+
package with its own committed lockfile (`package-lock.json`, `uv.lock`), or publish it
|
|
172
|
+
internally with an `npm-shrinkwrap.json`.
|
|
173
|
+
- **Add a release-age delay.** npm has `min-release-age`; the note cites npm ≥ 11.10.0 for
|
|
174
|
+
it, from a practitioner guide. uv has `exclude-newer` and pnpm has `minimumReleaseAge`.
|
|
175
|
+
The note warns that these settings are documented for install and resolution commands,
|
|
176
|
+
not for ad-hoc runners, so check that `npx` / `npm exec` / `uvx` actually honour them.
|
|
177
|
+
- **Set `ignore-scripts=true`** where the server needs no install scripts. This closes the
|
|
178
|
+
lifecycle-script channel. It does not stop malicious code in a dependency from running
|
|
179
|
+
when the server imports it.
|
|
180
|
+
|
|
181
|
+
The note also points out that a pin can freeze a known-vulnerable version (it cites
|
|
182
|
+
CVE-2025-6514 in `mcp-remote`, fixed in 0.1.16), so a pin needs revisiting, not just setting.
|
|
183
|
+
|
|
184
|
+
Headless runs need care too. The note says that in `claude -p` runs, Agent SDK sessions
|
|
185
|
+
and cloud sessions, project-scoped servers load without asking (in Claude Code, project
|
|
186
|
+
scope is the `.mcp.json` file). FH recommendation, not from the note: a headless run that
|
|
187
|
+
should use only a known server set passes `--mcp-config <file> --strict-mcp-config`. Per the
|
|
188
|
+
Claude Code CLI help, that flag uses only the servers from `--mcp-config` and ignores every
|
|
189
|
+
other MCP configuration.
|
|
163
190
|
|
|
164
191
|
Done When (per mounted server):
|
|
165
192
|
- §3 table filled, every enumerated tool name present (check class: mandatory-pass — file inspection)
|
|
@@ -44,6 +44,16 @@ set -uo pipefail
|
|
|
44
44
|
|
|
45
45
|
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || true)
|
|
46
46
|
[ -z "$REPO_ROOT" ] && { echo " ❌ pre-push: not in a git repo — fail-closed (block)"; exit 1; }
|
|
47
|
+
# Where the pre-commit hook writes markers: the main checkout (git common dir's parent), not a worktree's own
|
|
48
|
+
# folder. Same derivation as pre-commit's EVIDENCE_ROOT.
|
|
49
|
+
_gcd=$(git rev-parse --git-common-dir 2>/dev/null || echo "")
|
|
50
|
+
case "$_gcd" in
|
|
51
|
+
"") EVIDENCE_ROOT="$REPO_ROOT" ;;
|
|
52
|
+
/*) EVIDENCE_ROOT=$(dirname "$_gcd") ;;
|
|
53
|
+
*) EVIDENCE_ROOT=$(dirname "$REPO_ROOT/$_gcd") ;;
|
|
54
|
+
esac
|
|
55
|
+
[ -d "$EVIDENCE_ROOT" ] || EVIDENCE_ROOT="$REPO_ROOT"
|
|
56
|
+
PUSHED_BRANCHES="" # local branch names this push updates (the Load-Bearing gate binds its marker to these)
|
|
47
57
|
ZERO="0000000000000000000000000000000000000000"
|
|
48
58
|
PUSH_REMOTE="${1:-origin}" # git passes the remote NAME as $1; ranges are scoped to it (see below)
|
|
49
59
|
|
|
@@ -254,6 +264,14 @@ fh_stacked_branch_advisory() {
|
|
|
254
264
|
|
|
255
265
|
while read -r local_ref local_sha remote_ref remote_sha; do
|
|
256
266
|
[ -z "${remote_ref:-}" ] && continue
|
|
267
|
+
# Branch identity for the Load-Bearing marker: the local branch, or — for a commit-expression refspec such as
|
|
268
|
+
# <sha>:refs/heads/topic — the destination branch (codex R2: it used to fall back to the CURRENT branch's marker).
|
|
269
|
+
if [ "$local_sha" != "$ZERO" ]; then
|
|
270
|
+
case "$local_ref" in
|
|
271
|
+
refs/heads/*) PUSHED_BRANCHES="${PUSHED_BRANCHES}${PUSHED_BRANCHES:+$'\n'}${local_ref#refs/heads/}" ;;
|
|
272
|
+
*) case "$remote_ref" in refs/heads/*) PUSHED_BRANCHES="${PUSHED_BRANCHES}${PUSHED_BRANCHES:+$'\n'}${remote_ref#refs/heads/}" ;; esac ;;
|
|
273
|
+
esac
|
|
274
|
+
fi
|
|
257
275
|
# Advisory first — it can never alter the verdict, and it must be visible even when a guard
|
|
258
276
|
# below blocks (the two findings are independent and the operator wants both at once).
|
|
259
277
|
[ "$local_sha" = "$ZERO" ] || fh_stacked_branch_advisory "$local_ref" "$local_sha"
|
|
@@ -589,10 +607,49 @@ _LB_FILES=$(printf '%s\n' "$_LB_RAW" \
|
|
|
589
607
|
# Also FH-dev-scoped: the marker this requires lives in tracks/_meta, which only an FH checkout has.
|
|
590
608
|
# An outside contributor pushing a gate file cannot produce an FH marker, and blocking them would make
|
|
591
609
|
# the repo hostile to contribution while protecting nothing they could act on.
|
|
592
|
-
if [ -n "$PUSH_RANGES" ] && [ -n "$_LB_FILES" ] && [ -d "$
|
|
593
|
-
|
|
594
|
-
|
|
610
|
+
if [ -n "$PUSH_RANGES" ] && [ -n "$_LB_FILES" ] && [ -d "$EVIDENCE_ROOT/tracks/_meta" ]; then
|
|
611
|
+
# The marker is bound to the branch being pushed and read where pre-commit writes it (2026-11-15). It used to be
|
|
612
|
+
# «the newest marker of any branch under ${REPO_ROOT}»: a worktree push was blocked although its marker existed in
|
|
613
|
+
# the main checkout, and a main-checkout push passed on another branch's marker. Every pushed branch needs its own;
|
|
614
|
+
# a push that updates no branch (tags only) falls back to the current branch. Lane: scripts/test_prepush_marker_lookup_lanes.sh.
|
|
615
|
+
# 🟥 Named residual: the marker's owner is read from its file name, and «/» → «_» is not one-to-one. If two branches
|
|
616
|
+
# once shared a name (feature/a · feature_a) and one was deleted, the survivor reads the deleted one's marker as its own.
|
|
617
|
+
# Closing that needs the writer (pre-commit) to put an unambiguous branch identity inside the marker — not done here.
|
|
618
|
+
_cf_find_marker() { # $1 = marker dir · $2 = slug → newest «.axes_23_passed_<slug>_YYYY-MM-DD.marker», exact
|
|
619
|
+
# (a function, not inline in $( ): bash 3.2 mis-parses a `case … )` inside a command substitution)
|
|
620
|
+
local _p _s
|
|
621
|
+
ls -t "$1"/.axes_23_passed_*.marker 2>/dev/null | while IFS= read -r _p; do
|
|
622
|
+
_s="${_p##*/}"; _s="${_s#.axes_23_passed_}"
|
|
623
|
+
case "$_s" in *_[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9].marker) ;; *) continue ;; esac
|
|
624
|
+
[ "${_s%_????-??-??.marker}" = "$2" ] && { printf '%s\n' "$_p"; break; }
|
|
625
|
+
done
|
|
626
|
+
}
|
|
627
|
+
_cf_branches="$PUSHED_BRANCHES"
|
|
628
|
+
[ -n "$_cf_branches" ] || _cf_branches=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || true)
|
|
629
|
+
_cf_line=""; _cf_missing=""
|
|
630
|
+
while IFS= read -r _cf_br; do
|
|
631
|
+
[ -z "$_cf_br" ] && continue
|
|
632
|
+
_cf_slug="${_cf_br//\//_}"
|
|
633
|
+
# The marker name is <slug>_<YYYY-MM-DD>.marker exactly: a glob on «<slug>_*» also matched a longer branch's
|
|
634
|
+
# marker (lane/foo ⊂ lane_foo_bar — codex R1). And «/» → «_» is not one-to-one (feature/a = feature_a): when
|
|
635
|
+
# another local branch maps to the same slug, its marker cannot be told apart, so it does not count.
|
|
636
|
+
_cf_marker=""
|
|
637
|
+
# %(refname) with the literal prefix stripped: %(refname:short) can print «heads/x» when a tag x exists (codex R2).
|
|
638
|
+
# Any OTHER local branch with the same slug makes the marker unattributable — even when the pushed branch does not
|
|
639
|
+
# exist locally (a <sha>:refs/heads/x push next to a local x-with-underscores — codex R3).
|
|
640
|
+
if [ "$(git for-each-ref --format='%(refname)' refs/heads/ 2>/dev/null | while IFS= read -r _b; do _b="${_b#refs/heads/}"; [ "${_b//\//_}" = "$_cf_slug" ] && [ "$_b" != "$_cf_br" ] && echo "$_b"; done | grep -c .)" -eq 0 ]; then
|
|
641
|
+
_cf_marker=$(_cf_find_marker "$EVIDENCE_ROOT/tracks/_meta" "$_cf_slug")
|
|
642
|
+
else
|
|
643
|
+
echo " (branch '$_cf_br' shares its marker name with another local branch — its marker cannot be attributed)"
|
|
644
|
+
fi
|
|
645
|
+
_cf_one=$(grep -m1 -E '^[[:space:]]*crossfamily:[[:space:]]*[^[:space:]]' "$_cf_marker" 2>/dev/null || true)
|
|
646
|
+
if [ -n "$_cf_one" ]; then _cf_line="${_cf_line:-$_cf_one}"; else _cf_missing="$_cf_missing $_cf_br"; fi
|
|
647
|
+
done <<CFB
|
|
648
|
+
$_cf_branches
|
|
649
|
+
CFB
|
|
650
|
+
[ -n "$_cf_missing" ] && _cf_line=""
|
|
595
651
|
if [ -z "$_cf_line" ]; then
|
|
652
|
+
[ -n "$_cf_missing" ] && echo " (no marker with a crossfamily: line for:$_cf_missing — looked in $EVIDENCE_ROOT/tracks/_meta)"
|
|
596
653
|
echo ""
|
|
597
654
|
echo "══════════════════════════════════════════════"
|
|
598
655
|
echo " ⛔ FH Load-Bearing Change Gate (pre-push) — no cross-family leg recorded"
|
|
@@ -113,11 +113,11 @@ else
|
|
|
113
113
|
HEAD_REF="${2:-}" # empty = working tree
|
|
114
114
|
fi
|
|
115
115
|
|
|
116
|
-
# 게이트 커버 자산 = 4축 정본(.claude/rules/fh_4axis_gate.md
|
|
116
|
+
# 게이트 커버 자산 = 4축 정본(.claude/rules/fh_4axis_gate.md 첫 절 «Whenever the AI modifies FH assets» 줄)이 선언한 목록과 맞춘다.
|
|
117
117
|
# 2026-07-22 수리: AGENTS.md · knowledge/** · docs/*.md 가 여기 없어서, 정본이 "커버한다"고
|
|
118
118
|
# 선언한 자산을 Axis 1 이 **아예 보지 못했다**. 그리고 그 미검사가 호출부(pre-commit)에서
|
|
119
119
|
# `✅ PASS` 로 렌더됐다 = 검사 안 함이 통과로 보고되는 fail-open.
|
|
120
|
-
# 새 경로를 추가할 때는 반드시 fh_4axis_gate.md
|
|
120
|
+
# 새 경로를 추가할 때는 반드시 fh_4axis_gate.md 의 그 자산 목록 줄과 대조할 것 — 두 목록이 갈리면
|
|
121
121
|
# 갈린 쪽이 조용히 무검사 구간이 된다.
|
|
122
122
|
# 2026-07-26 수리 (2차 — 이름 열거에서 디렉토리 스코프로): 처음엔 `SKILL_detail.md` 를 이름으로
|
|
123
123
|
# 추가했으나, Axis-2 적대 패스가 "이름을 하나씩 막는 방식은 원리적으로 이 클래스를 못 닫는다"고
|
|
@@ -427,8 +427,8 @@ print('OK')
|
|
|
427
427
|
# salience-splitter is designed to reverse.
|
|
428
428
|
# The resident/reference pair (2026-10-16): CLAUDE.md keeps a ~95-line resident core and the full
|
|
429
429
|
# ruleset lives in claude_md_full_reference.md with section names unchanged — the same split
|
|
430
|
-
# shape as SKILL.md/SKILL_detail.md, so it gets the same symmetric lookup. Only
|
|
431
|
-
#
|
|
430
|
+
# shape as SKILL.md/SKILL_detail.md, so it gets the same symmetric lookup. Only the exact path pairs
|
|
431
|
+
# listed in the case below pair; any other file keeps an empty sibling, so this does not widen what counts as a move.
|
|
432
432
|
#
|
|
433
433
|
# 🟥 Credit only what the sibling GAINED in this change (2026-10-16, cross-family codex HIGH).
|
|
434
434
|
# The lookup used to compare against the sibling's CURRENT total, so a sibling that already held
|
|
@@ -442,6 +442,10 @@ print('OK')
|
|
|
442
442
|
*/SKILL_detail.md) sib="$(dirname "$f")/SKILL.md" ;;
|
|
443
443
|
CLAUDE.md) sib="knowledge/shared/harness-core/claude_md_full_reference.md" ;;
|
|
444
444
|
knowledge/shared/harness-core/claude_md_full_reference.md) sib="CLAUDE.md" ;;
|
|
445
|
+
# 2026-11-19: the path-scoped 4-axis rule became a thin layer (it attaches on every READ of a
|
|
446
|
+
# matching file); its body moved verbatim to the detail file. Same pair shape, same gain rule.
|
|
447
|
+
.claude/rules/fh_4axis_gate.md) sib="knowledge/shared/harness-core/fh_4axis_gate_detail.md" ;;
|
|
448
|
+
knowledge/shared/harness-core/fh_4axis_gate_detail.md) sib=".claude/rules/fh_4axis_gate.md" ;;
|
|
445
449
|
esac
|
|
446
450
|
if [ -n "$sib" ]; then detail_content=$(read_after "$sib"); detail_before=$(read_before "$sib"); fi
|
|
447
451
|
_gain() { # $1=counter fn $2=pattern -> max(0, count in sibling after − count in sibling before)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_README": [
|
|
3
|
+
"lane-gap 안내 훅 스니펫 — TRACKED 라 clone 과 함께 도착한다. .claude/settings*.json 은 gitignored 라 훅 등록은",
|
|
4
|
+
"install-wizard 가 이 스니펫을 사용자 로컬 설정에 머지할 때만 생긴다 (스크립트 출하 ≠ 배선).",
|
|
5
|
+
"",
|
|
6
|
+
"무엇을 하나 (2026-11-06, 운영자 «추천대로» — tracks/_meta/video_stophook_review_2026-11-06.md 후보 ④):",
|
|
7
|
+
"지난 턴에 코드 파일을 바꿨는데 테스트·레인 실행 기록이 0 이면 다음 프롬프트에 한 줄을 붙인다.",
|
|
8
|
+
"FH 는 Stop 에서 막지 않는다 — 막는 자리는 비가역 가장자리(pre-push · 세션 마감)뿐이고, 이건 기록이다.",
|
|
9
|
+
"끄기: FH_LANE_GAP_HINT=0. 레인: scripts/test_lane_gap_hint_lanes.sh.",
|
|
10
|
+
"스크립트가 없으면 조용히 꺼지지 않고 한 줄 경보를 낸다(field-canon 스니펫과 같은 이유)."
|
|
11
|
+
],
|
|
12
|
+
"project_settings_json": {
|
|
13
|
+
"hooks": {
|
|
14
|
+
"UserPromptSubmit": [
|
|
15
|
+
{
|
|
16
|
+
"hooks": [
|
|
17
|
+
{
|
|
18
|
+
"type": "command",
|
|
19
|
+
"command": "bash -c '[ \"${FH_LANE_GAP_HINT:-1}\" = 0 ] && exit 0; HUB=\"${CLAUDE_PROJECT_DIR:-$HOME/projects/forge-harness}\"; S=\"$HUB/scripts/lane_gap_hint.sh\"; if [ -f \"$S\" ]; then bash \"$S\"; else echo \"⚠️ [lane-gap] 안내 훅 스크립트가 없다 — 체크아웃이 옛 브랜치이거나 설치가 불완전할 수 있다(안내가 꺼져 있다).\"; fi; exit 0'",
|
|
20
|
+
"timeout": 10
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|