@chrono-meta/fh-gate 2.10.0 → 2.12.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-plugin/marketplace.json +2 -2
- package/README.ja.md +58 -28
- package/README.ko.md +201 -184
- package/README.md +59 -43
- package/README.zh.md +74 -47
- package/docs/USER_GUIDE.md +6 -6
- package/knowledge/shared/learnings/subagent_invocations_log.yaml +179 -0
- package/package.json +2 -1
- package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/CHANGELOG.md +32 -0
- package/plugins/fh-meta/skills/phantom-quench/SKILL.md +8 -0
- package/plugins/fh-meta/skills/phantom-quench/SKILL_detail.md +1 -0
- package/plugins/fh-meta/skills/salience-splitter/SKILL.md +26 -0
- package/plugins/fh-meta/skills/steel-quench/SKILL.md +10 -0
- package/scripts/degrade_direction_scan.sh +118 -0
- package/scripts/fh-goal.sh +22 -2
- package/scripts/fh_session_load.sh +14 -1
- package/scripts/package_coverage_check.sh +7 -4
- package/scripts/selfcheck.sh +3 -1
- package/scripts/session_close_check.sh +124 -3
- package/scripts/test_card_drift_probe.sh +27 -0
- package/scripts/test_degrade_scan_shell_probes.sh +130 -1
- package/scripts/test_dispatch_log_lanes.sh +54 -2
- package/scripts/test_fh_goal_change_detection_lanes.sh +89 -0
- package/scripts/test_session_close_chain_lanes.sh +27 -0
- package/scripts/test_session_close_lanes.sh +128 -1
- package/templates/.git-hooks/pre-commit +19 -3
- package/templates/degrade_direction_scan.sh +118 -0
|
@@ -2579,3 +2579,182 @@
|
|
|
2579
2579
|
`notify_when_idle` + 발주 카드 보고 의무 3줄로 대응(일회성·세션 수명 한정, 미해결)."
|
|
2580
2580
|
cost: "서브에이전트 토큰(완료 알림 기준): 워크플로 796,649 + 개별 합 약 2.3M · 거버너 = UNMEASURED.
|
|
2581
2581
|
🟥 합계 안 적는다 — 거버너 칸이 미측정이라 총액은 만들 수 없다."
|
|
2582
|
+
|
|
2583
|
+
- date: 2026-08-24
|
|
2584
|
+
session: governor
|
|
2585
|
+
agents: "격리 레인 6(harvest 0-b/0-c · harvest 1/2 · digest 후속 · curator · qasp Ⓐ · D-5)
|
|
2586
|
+
+ 워크플로 1(에이전트 10, §미정-둘 처방 판정) + 적대검증 4(challenger ×3, cross-family codex ×4)
|
|
2587
|
+
+ 플로어 sim 6런(ETHOS ablation, 레포 밖 cwd 헤드리스). 훅 집계 205 dispatch."
|
|
2588
|
+
purpose: "harvest-loop · frontier-digest 후속 · §미정-둘 처방 판정 · qasp Ⓐ 시맨틱 발화조건 이식
|
|
2589
|
+
· D-5 러너 표면 index 전환 · 릴리스 2.10.0"
|
|
2590
|
+
outcome: accepted
|
|
2591
|
+
evidence: "PR #530·#531·#532·#533 머지 · npm 2.10.0 발행(npx + clean-install 실행 검증) ·
|
|
2592
|
+
qasp-dev PR #199 생성(restricted-env 판단 대기) · §미정-둘 PROSE-ONLY 로 닫힘(신규 자산 0건)"
|
|
2593
|
+
note: "🟥 **자력 적발 2 / 타력 11.** 값을 낸 축은 전부 「받는 것이 다른 축」이었다 —
|
|
2594
|
+
적대검증 5(selfcheck 배선이 필수체크 적색 · qasp kwargs 로 restricted-env adapter 사망 · findings 채널
|
|
2595
|
+
오배치 · ⓑ 실효 0 · 계열≠축을 내가 접은 것) · cross-family 4(rc≠0 fail-open · 반쪽 index ·
|
|
2596
|
+
isfile 누수 · -z 무름) · 계측 1(ETHOS ablation 이 「넣지 마라」) · **운영자 1**(카드 재작성이
|
|
2597
|
+
미완 항목을 통째로 날린 것).
|
|
2598
|
+
🟥 **수렴 벡터를 세었고 뒤집히는 것을 봤다** — FH D-5 `3→1→0→2→0`, qasp `S2→축소→12`.
|
|
2599
|
+
축소가 「덜 나오게」를 보장하지 않았고, 옳은 수는 또 줄이는 게 아니라 **되돌리는 것**이었다
|
|
2600
|
+
(finish_reason 수리: 앵커 0 · 소비처 0 · 새 결함 2건 → 철회).
|
|
2601
|
+
🟥 **계열≠축을 내가 한 번 접었다** — 외부 계열이 residency 로 막히자 축까지 포기했는데,
|
|
2602
|
+
같은 계열이되 다른 축(코드 직독 + 소비처 grep + 더블/실물 대조)이 S-tier 2건을 냈다.
|
|
2603
|
+
접힌 방향이 내게 편한 쪽이었다는 것까지 같은 계열이다.
|
|
2604
|
+
🟥 **마지막에 내 산출물에는 되돌림을 안 돌렸다** — 카드 재작성이 미완 항목을 날렸고
|
|
2605
|
+
이전 버전이 companion store 에 커밋돼 있었는데도 대조하지 않았다. 계기를 남에게만 쓰고
|
|
2606
|
+
자기에겐 안 쓴 형태. ⇒ ⑤-C 프로브로 기계화(PR #533)."
|
|
2607
|
+
cost: "서브에이전트 토큰(완료 알림 기준): 워크플로 1,605,708 + 개별 레인 합 약 1.9M ·
|
|
2608
|
+
거버너 = UNMEASURED. 🟥 합계 안 적는다 — 거버너 칸이 미측정이라 총액은 만들 수 없다."
|
|
2609
|
+
|
|
2610
|
+
- date: 2026-08-25
|
|
2611
|
+
session: governor (m3max)
|
|
2612
|
+
agents: "GeekNews 제목·도입부 패턴 실측 레인 1(코퍼스 354건 전수 크롤) + ko-tech-writer
|
|
2613
|
+
강격리 콜드리드 5라운드(레포 밖 cwd 헤드리스, ARM/CONTROL 각 1) + 컨트롤 arm 1.
|
|
2614
|
+
훅 집계 99 dispatch."
|
|
2615
|
+
purpose: "GeekNews Show GN 게시 본문 작성·검증 · 외부 기여 전수 실측 · 기록 정정"
|
|
2616
|
+
outcome: accepted
|
|
2617
|
+
evidence: "게시 완료 news.hada.io/topic?id=32868 (T0 13:11 KST) · ko-tech-writer 5라운드
|
|
2618
|
+
수렴(신규 0·변경 0) · 번역투 판정이 «있음»→«없음» 으로 뒤집힘 · 외부 기여 4건 gh 실측"
|
|
2619
|
+
note: "🟥 **레인이 낸 값은 「우리 근거가 이식 안 된다」였다.** 레딧 코퍼스에서 제목 숫자가
|
|
2620
|
+
+124% 였는데 GeekNews 도입부 숫자는 0.69x 로 역방향이다. 같은 「숫자」인데 코퍼스가 다르면
|
|
2621
|
+
방향이 바뀐다 — 잰 범위와 주장 범위 문제의 또 다른 얼굴.
|
|
2622
|
+
🟥 **콜드리드 컨트롤이 판별력을 증명했다** — 심은 결함(소유 직역)을 정확히 잡았고,
|
|
2623
|
+
그래서 ARM 의 지적도 신뢰할 수 있었다. 컨트롤 없이 돌렸으면 「지적 없음」을 못 믿었다.
|
|
2624
|
+
🟥 **수리가 새 결함을 두 번 만들었다**(전칭 단정 · 122자 문장). 둘 다 재스캔에서 잡혔다 —
|
|
2625
|
+
ko-tech-writer 가 「수리본 기준 재스캔」을 의무로 박아둔 것이 값을 했다.
|
|
2626
|
+
⚠️ 자력 3 / 타력 1 — 운영자가 `revfactory` 라는 GitHub 계정명을 대기 전까지 내 grep 이
|
|
2627
|
+
그 자산(감사 3건 + 메모리)에 도달하지 못했다. 질의어가 색인 어휘와 안 겹쳤다."
|
|
2628
|
+
cost: "서브에이전트 토큰: 크롤 레인 163,332 · 콜드리드 6런은 헤드리스라 미집계 ·
|
|
2629
|
+
거버너 = UNMEASURED. 🟥 합계 안 적는다."
|
|
2630
|
+
- date: 2026-08-26
|
|
2631
|
+
session: governor (m3max)
|
|
2632
|
+
agents: "qasp P1 이슈 초안 소넷 레인 3(#207·#208·#206) + persona-innovator 1(#206 명명) +
|
|
2633
|
+
블라인드 실행 sim 1(러너 §1.0, 소넷) + codex 사이드카 1(#208 적대리뷰, read-only) +
|
|
2634
|
+
S1 손분류 레인 1(FH §미정-둘 ⓑ)"
|
|
2635
|
+
purpose: "qasp Protocol #1 이슈 3건 완주(거버너 적용·레인 초안) · FH §미정-둘 후속"
|
|
2636
|
+
outcome: accepted
|
|
2637
|
+
evidence: "qasp PR #209·#210·#211 MERGED · codex 발견 3건 전부 실수리(파이프라인 배선 ·
|
|
2638
|
+
문자열 정규화 · 표 감사성) · innovator 가 레인 후보 2개(국면·유형)를 반증하고 「범주」 채택 ·
|
|
2639
|
+
블라인드 sim 이 갱신 §1.0 정확 실행 확인"
|
|
2640
|
+
note: "🟥 레인 초안을 거버너가 그대로 적용 안 한 것이 값을 냈다 — #206 은 innovator 반증으로
|
|
2641
|
+
이름이 바뀌었고, #208 은 운영자 개입(PFD 재접지 + 기기 축)으로 「철회」가 「근거 교체」로
|
|
2642
|
+
뒤집혔다. 이슈 서술을 믿고 철회 문안까지 갔던 건 거버너 결함(운영자 적발).
|
|
2643
|
+
🟥 뮤턴트 복원에 git checkout -- 을 써 미커밋 수정 전량 삭제(자력 적발, 손실 0 재적용) —
|
|
2644
|
+
이후 「테스트 통과 즉시 커밋」으로 전환."
|
|
2645
|
+
cost: "서브에이전트 토큰: 207레인 150,442 · 208레인 232,080 · 206레인 194,869 ·
|
|
2646
|
+
innovator 124,490 · 블라인드 sim 131,421 · codex 80,827 · S1 레인 진행중 · 거버너 = UNMEASURED.
|
|
2647
|
+
🟥 합계 안 적는다."
|
|
2648
|
+
- date: 2026-08-26
|
|
2649
|
+
session: governor-overnight (ifkakao deck, fable)
|
|
2650
|
+
agents: "persona-innovator 1(디자이너 리뷰 프랙티스 WebSearch 조사) + 디자이너 렌즈 claude 5
|
|
2651
|
+
(구간 4: pg1-18/19-36/37-52/53-69 이미지 콜드리드 + A4 전장 일관성 1) + challenger 1(33건 적대검증)"
|
|
2652
|
+
purpose: "발표덱 디자이너 페르소나 렌즈 신설·실행 — 운영자 지시(청중이 아니라 직업 디자이너,
|
|
2653
|
+
세계의 검증된 프랙티스 접목) 하 야간 자율주행"
|
|
2654
|
+
outcome: accepted
|
|
2655
|
+
evidence: "조사가 초안 5축의 갭 2개를 적발(측정형 WCAG 축 · 다크모드 결함군) → 7축 확정.
|
|
2656
|
+
렌즈 33건 → challenger 채택15·수정3·보류7·기각5. 표지 제목·부제 물리 겹침(판독불가급)을
|
|
2657
|
+
렌즈가 적발 — 기존 5렌즈 체제가 못 잡던 것. 렌즈 독립 수렴 2건(pg-01, pg-28/58).
|
|
2658
|
+
기각 5건 전부 의도 자리 방어(낭독 리빌·deixis·상수 주체) = 관측·처방 분리 규율 재실증"
|
|
2659
|
+
note: "A6(대비)은 에이전트에 안 맡기고 기계 실측(known-pair 캘리브레이션)해 렌즈 입력으로 줌 —
|
|
2660
|
+
판정형 렌즈와 측정형 계기의 분업. 자산화 = presentation_checklist.md E8 + DESIGNER_LENS_SPEC"
|
|
2661
|
+
cost: "서브에이전트 토큰: innovator 106,633 · 렌즈 5기 142,822+144,393+153,394+143,104+141,564 ·
|
|
2662
|
+
challenger 140,657 · 거버너 = UNMEASURED. 🟥 합계 안 적는다."
|
|
2663
|
+
- date: 2026-08-26
|
|
2664
|
+
session: governor (air, 연장분)
|
|
2665
|
+
agents: "qasp 잔여 정리 레인 6 — P3·P5 정렬 초안 1 · 블라인드 sim 3(러너 P3절 · 게이트 선언 ·
|
|
2666
|
+
통합 §1.5) · 전 프로토콜 괴리 전수조사 1 · 잔여 이슈 3건 조사 3(#213 원인이분 · #212 팬텀
|
|
2667
|
+
8건 · #220 배선처분) + codex 사이드카 2(#217·c9d15b4 적대리뷰)"
|
|
2668
|
+
purpose: "qasp 이슈 #218·#219·#221·#212·#213·#220 전량 정리 + 전 프로토콜 괴리 전수조사"
|
|
2669
|
+
outcome: accepted
|
|
2670
|
+
evidence: "PR #222·#223 MERGED, 등재 8건 중 7건 CLOSED. codex 적발 16건 전수 수리.
|
|
2671
|
+
블라인드 sim 3회 전부 통과(콜드 세션이 갱신 규격을 정확히 실행). 전체 스위트 3554 passed,
|
|
2672
|
+
실패 11→10. #214 는 접근 범위 밖 데이터가 필요해 미해결로 명시"
|
|
2673
|
+
note: "🟥 레인 판정을 그대로 안 쓴 것이 값을 냈다 — #213 은 레인이 「테스트 stale」로 판정했고
|
|
2674
|
+
내가 원 테스트의 하중(실효율 vs base 판별)을 직접 읽고 그 판별력을 지키는 형태로 다시 짰다.
|
|
2675
|
+
#220 은 레인의 「배선 금지」 근거(WaveRT 가 픽스처 어휘 하드코딩 → 거짓 clean)가 결정적이라
|
|
2676
|
+
그대로 채택. 🟥 자력 적발 4건 중 셋이 **실사용 출력을 눈으로 본 것**에서 나왔다 —
|
|
2677
|
+
테스트는 전부 초록이었다."
|
|
2678
|
+
cost: "서브에이전트 토큰: 정렬초안 189,861 · sim 3(132,548+132,210+142,732) · 전수조사 180,002 ·
|
|
2679
|
+
#213 150,431 · #212 176,653 · #220 179,647 · codex 250,198+94,793 · 거버너 = UNMEASURED.
|
|
2680
|
+
🟥 합계 안 적는다."
|
|
2681
|
+
- date: 2026-08-26
|
|
2682
|
+
session: ifkakao 덱 마감 (air)
|
|
2683
|
+
agents: "deck lens batch ×4 (general-purpose) — 한국 청중×UI디자이너 겹렌즈, 82장 20장씩 분담"
|
|
2684
|
+
purpose: "if(kakao)26 발표자료 v9.10 페이지별 결함 스캔(정렬·겹침·색문법·자기설명)"
|
|
2685
|
+
outcome: accepted
|
|
2686
|
+
evidence: "26건 보고 · 24건 채택 반영(비공개 컴패니언 스토어 커밋) · 1건 기 반영 · 1건 처방 조정"
|
|
2687
|
+
note: "이날 앞선 디자이너 렌즈/키워드 스윕 배치는 컴팩션 전 세션 기록분"
|
|
2688
|
+
- date: 2026-08-26
|
|
2689
|
+
session: governor (forge-harness-ba, 병렬 2세션 중 FH 자체개발 축)
|
|
2690
|
+
agents: "서브에이전트 6 — harness-doctor 진단 1 · frontier 대조 2(외부 앵커 추출 · 내부 교리
|
|
2691
|
+
인벤토리) · key-amnesia sister 심사 1 · S1 정규식 확장 초안 1 · 챔버 사인 블라인드 재귀속 1
|
|
2692
|
+
+ 사이드카 3(codex 챔버 교차채점 · codex S1b 리뷰 · agy S1b 리뷰[실패])"
|
|
2693
|
+
purpose: "정체성 ② 인큐베이터 겨냥 — 봉인 known-pair 최초 채점 + 오늘자 digest 즉시적용 2건
|
|
2694
|
+
+ 카드 ② S1 확장 + 75일 초과 harness-doctor"
|
|
2695
|
+
outcome: accepted
|
|
2696
|
+
evidence: "챔버 known-pair 최초 채점 완료(known-positive 2/2 KILL 유지 = 새 taxonomy 과소차단
|
|
2697
|
+
아님 · 상한컨트롤 #9 EMIT 양쪽 계열 통과 · known-negative 5 중 과차단 3 확인, #10 은 옛 계기가
|
|
2698
|
+
옳았음). 교차계열 7건 중 6 일치, 갈린 #10 을 기계 앵커(doctrine:187·485)로 소스-클로즈.
|
|
2699
|
+
harness-doctor FAIL(M 2건) — M-2 는 consent_classes.yaml 부재로 승인된 capability 가 실제
|
|
2700
|
+
미동작, exit 3/exit 0 known-pair 로 증명. S1b 프로브 초안 + 뮤턴트 RED/GREEN + 레인 4개."
|
|
2701
|
+
note: "🟥 사이드카 판정을 동의로 받았으면 옳은 답을 틀린 쪽으로 고칠 뻔했다 — codex 가 근거로
|
|
2702
|
+
든 문장이 doctrine 이 명시적으로 철회한 초판이었다. 「기계 앵커로 소스-클로즈」 규칙이 실제로
|
|
2703
|
+
값을 낸 날. 🟥 자력 적발 2건: ⓐ 봉인 코퍼스 경로가 낡았다는 것을 「소실」로 발행하기 전에
|
|
2704
|
+
확인 ⓑ 허브/미러 347건 차이를 「소실」로 발행하려다 날짜 패턴이 prune 가설을 반증(6월 있고
|
|
2705
|
+
7월 없음)해서 다중노드 추정으로 하향. 🟥 타력 2건: peer 세션이 공유 원장 YAML 파손을
|
|
2706
|
+
고쳤고(내가 진단), 훅이 경고한 PIPE-VERDICT R2 를 내가 그대로 밟았다(rc 를 표시필터 뒤에서
|
|
2707
|
+
읽음). 🟥 레인 정직도가 높았다 — S1b 레인이 「0 오탐」 바를 못 맞췄다고(82%) 스스로 적고
|
|
2708
|
+
자기가 제일 공격받을 자리까지 지목했다."
|
|
2709
|
+
cost: "서브에이전트 토큰: harness-doctor 189,987 · 외부앵커 120,450 · 내부인벤토리 173,720 ·
|
|
2710
|
+
key-amnesia 160,121 · S1b 207,745 · 챔버블라인드 142,096 · 사이드카(codex·agy) = 각 CLI
|
|
2711
|
+
미출력 · 거버너 = UNMEASURED. 🟥 합계 안 적는다."
|
|
2712
|
+
- date: 2026-08-27
|
|
2713
|
+
session: governor (forge-harness-ba, 에어 노드 · 08-26 에서 자정 넘어 이어짐)
|
|
2714
|
+
agents: "서브에이전트 2 — claude-code-guide(Skill 훅 matcher 유효성 조회) ·
|
|
2715
|
+
플로어 티어 블라인드 sim 1(salience-splitter 소비자 분기, model=sonnet)
|
|
2716
|
+
+ 사이드카 2(codex S1b 4문항 적대검증 · agy S1b[권한 자동거부로 무산])
|
|
2717
|
+
+ ablation 러너 9 호출(claude -p --model sonnet, arm A/B/A′ × reps 3)"
|
|
2718
|
+
purpose: "④ 계측 채널 신설 · ② 상주층 ablation 최초 실행 · PR #538 CI 적색 수리"
|
|
2719
|
+
outcome: accepted
|
|
2720
|
+
evidence: "codex 4문항 중 3건 소스 앵커 확인 → npm 출하물 fail-open 실적발(자력 0, 내 레인은
|
|
2721
|
+
「안전한 오탐」 분류). Skill matcher 유효성은 조회가 「확신도 낮음」이라 **프로브로 직접 실측**
|
|
2722
|
+
(POS=Bash 4회 살아있는 상태에서 TEST-skill 1회). ablation: arm A 5/5 · arm B 5/5
|
|
2723
|
+
NOT IN MY CONTEXT · A′ 정확히 Q1만 뒤집힘 → KEEP + 계기 이동 확인 최초 행사.
|
|
2724
|
+
sim 통과(소비자 분기 결론 + degrade 방향 정확 도출, 미해결 2건 지목)."
|
|
2725
|
+
note: "🟥 조회 레인의 「확신도 낮음」을 그대로 받지 않고 프로브로 재측정한 것이 값을 냈다 —
|
|
2726
|
+
Skill matcher 는 실제로 유효했고, 조회만 믿었으면 설계를 접었을 것이다. 반대로 codex 의
|
|
2727
|
+
챔버 divergence 는 **기각하려다 내가 틀렸음을 발견**했다(근거가 살아있는 규칙이었다).
|
|
2728
|
+
사이드카는 양방향으로 못 믿는다 — 근거를 열어야 갈린다. 🟥 agy 는 헤드리스 권한 자동거부 시
|
|
2729
|
+
**rc=0 + 출력 0줄** 을 낸다(사이드카 fail-open, reference_sidecar_calibration 갱신 대상).
|
|
2730
|
+
🟥 sim 이 내 글의 구멍 3개를 지목했고 1개는 즉시 메웠다 — 저자가 못 보는 자리를 정확히 짚었다."
|
|
2731
|
+
cost: "서브에이전트 토큰: claude-code-guide 121,734 · sim 141,503 · codex/agy = CLI 미출력 ·
|
|
2732
|
+
ablation 9 호출 = CLI 미출력 · 거버너 = UNMEASURED. 🟥 합계 안 적는다."
|
|
2733
|
+
- date: 2026-08-27
|
|
2734
|
+
session: governor (forge-harness-4b, 프로 노드 · 발표 덱 마감 + 공개 문서 축)
|
|
2735
|
+
agents: "서브에이전트 9 — 디자이너 렌즈 4(타이포/레이아웃/색·대비/정보밀도, 각자 다른 축으로
|
|
2736
|
+
프런티어 그라운딩 후 덱 4분할) · persona-innovator 1(design-critic 페르소나 신설) ·
|
|
2737
|
+
fh-meta:beginner 3(덱 콜드리드, 대본 없이 화면만 · 1~34 / 35~68 / 69~101) ·
|
|
2738
|
+
general-purpose 1(README.ko.md 번역투 전수조사)"
|
|
2739
|
+
purpose: "덱 v9.59→v9.86 마감(방향성 구간 신설 포함) · 공개 리드미 네 판 두 문 구조 ·
|
|
2740
|
+
한국어/중국어 번역투·인용부호 정리 · 데모 GIF 페이싱"
|
|
2741
|
+
outcome: accepted
|
|
2742
|
+
evidence: "콜드리드 3장이 구조 결함 1건에 독립 수렴 — 「셋」이 네 벌(방법론 (a)(b)(c) ·
|
|
2743
|
+
반박담당/되돌림/입장 · 일반검토/+고장기우는쪽/+모델교차 · 규율 ①②③)인데 매핑 장이 없다.
|
|
2744
|
+
실제 대응을 확인하니 (b)↔되돌림이 성립 안 해 **통합 표를 만들면 거짓 대응이 된다** — 표 대신
|
|
2745
|
+
각 셋의 «축»을 그 자리에 명시하는 쪽으로 바꿨다. 번역투 조사는 em dash 153회/143줄 ·
|
|
2746
|
+
낫표 9 · 「당신」 24 · 「그것」 17 을 분류별로 반환, 산문 149건을 0 으로 닫았다.
|
|
2747
|
+
디자이너 렌즈가 지목한 「빌드 프레임 흔들림」을 기계 계기로 옮겨(연속 두 장을 이름으로 대조)
|
|
2748
|
+
36건 중 12건 교정."
|
|
2749
|
+
note: "🟥 렌즈 오탐 실측 — 75~77p 「켜진 카드가 꺼진 카드보다 어둡다(명도 역전)」를 3장이
|
|
2750
|
+
확실도 «확실»로 냈는데, 픽셀을 재니 세 카드 전부 #141414 동일이었다. 밝기 대비 착시다.
|
|
2751
|
+
적용 전 실측이 막았다. 🟥 그리고 내 계기도 반대로 틀렸다 — 프레임 대조가 「강조 이동」과
|
|
2752
|
+
「실수로 흔들림」을 구분 못 하는데, 44p 격리 막대(2.7배 굵어짐)를 흔들림으로 읽고 지웠다.
|
|
2753
|
+
운영자가 되돌리라고 지적. **계기는 «무엇이 변했나»를 잡지 «변해야 했나»를 못 잡는다** —
|
|
2754
|
+
후자는 그 장이 무엇을 주장하는지 읽어야 나온다. 🟥 렌즈의 절대 기준도 틀렸다: 웹에서 찾은
|
|
2755
|
+
「대강당 24pt 하한」으로 「본문 전량 미달」을 냈는데, 행사 측 슬라이드 가이드 템플릿을 같은 좌표계에서
|
|
2756
|
+
직접 재니 내지 본문 3800 · 다이어그램 라벨 2800 이었다(모바일 재생 전제). 방향은 맞고
|
|
2757
|
+
절대선은 틀렸다. 🟥 자력 적발 0 — 위 셋 다 실측이나 운영자가 잡았다."
|
|
2758
|
+
cost: "서브에이전트 토큰: 디자이너 렌즈 191,680 / 192,372 / 171,087 / 144,730 ·
|
|
2759
|
+
persona-innovator 145,552 · 콜드리드 118,612 / 118,659 / 117,732 · 번역투조사 170,562 ·
|
|
2760
|
+
거버너 = UNMEASURED. 🟥 합계 안 적는다."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrono-meta/fh-gate",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"description": "FH runtime adapters — run FH governance, skills, and agents via Claude or Codex with machine-parseable gates.",
|
|
5
5
|
"homepage": "https://github.com/chrono-meta/forge-harness#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -181,6 +181,7 @@
|
|
|
181
181
|
"scripts/test_peer_worktree_detect_lanes.sh",
|
|
182
182
|
"scripts/utterance_landing_check.sh",
|
|
183
183
|
"scripts/test_dispatch_log_lanes.sh",
|
|
184
|
+
"scripts/test_fh_goal_change_detection_lanes.sh",
|
|
184
185
|
"scripts/memory_link_check.py",
|
|
185
186
|
"scripts/test_memory_link_check.sh",
|
|
186
187
|
"scripts/memory_nearcheck.py",
|
|
@@ -8,6 +8,38 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
### [2.12.0] — 2026-08-27
|
|
12
|
+
|
|
13
|
+
**BREAKING (gate)**: `fh-goal` 이 `git status`/`git diff` 조회 실패를 더 이상 「변경 없음」으로
|
|
14
|
+
접지 않는다. 종전에는 조용히 통과(exit 0)하며 `fh-gate` 호출 자체를 생략했다 — 조회가 실패한
|
|
15
|
+
것과 변경이 없는 것을 같은 값으로 접은 fail-open 이다. 이제 **exit 10** 으로 막는다.
|
|
16
|
+
**처방**: `--files` 로 대상을 명시하거나, git 조회가 실패하는 원인을 고친다.
|
|
17
|
+
|
|
18
|
+
#### Fixed
|
|
19
|
+
- **게이트 인접 fail-open 3경로 차단** — ⓐ `fh-goal`(출하물) 의 git 조회 실패 → 위 BREAKING
|
|
20
|
+
ⓑ `degrade_direction_scan.sh` 의 S1b 주석 억제 ⓒ `session_close_check.sh` 의 읽기 실패 → 0.
|
|
21
|
+
셋 다 «못 읽었다」를 «없다」로 접던 자리다. 각각 되돌림 앵커가 붙은 레인으로 증명한다.
|
|
22
|
+
|
|
23
|
+
#### Added
|
|
24
|
+
- 새 게이트 레인 4종 — S1b 프로브 · ENV-ISO(레인 환경 격리) · utterance-probe · fh-goal 변경 탐지
|
|
25
|
+
- `scripts/utterance_skill_probe.sh` — 정체성 ④ 발화-유도 스킬 계측 채널 (주입 0 / 차단 0)
|
|
26
|
+
- SessionStart 배너에 노드 명 표시 — 다중 노드에서 어느 머신의 판정인지 구분
|
|
27
|
+
|
|
28
|
+
#### Changed
|
|
29
|
+
- **공개 리드미 네 판(en·ko·zh·ja) 도입부를 두 문 구조로** — ① 게이트만(`npx`/`brew`,
|
|
30
|
+
Claude Code 불요) / ② 하네스 전체. 진입 경로 안내가 네 곳에 흩어져 겹치던 것을 하나의
|
|
31
|
+
결정으로 접고 나머지를 상세로 내렸다. 「두 문 다 아닌 것」 절을 새로 두어, 이 도구가 **뒷단의
|
|
32
|
+
검토를 대신하지 않는다**는 것과 **diff 로 볼 수 없는 것은 사람의 몫**이라는 것을 명시한다.
|
|
33
|
+
- 한국어판 번역투 정리 — 산문 em dash 149건 → 0 · 낫표 → 작은따옴표 · 「당신」은 표어 한 줄만
|
|
34
|
+
- **중국어판 인용부호 수정** — 간체 문서인데 번체 관행 「」 를 쓰고 있었다(27건 → `“ ”`).
|
|
35
|
+
ASCII 도식 안 7건은 East Asian Width 차이로 표 정렬이 깨져 의도적으로 남김.
|
|
36
|
+
일본어판은 「」 가 표준 부호라 **제외**
|
|
37
|
+
- `salience-splitter` Floor ① 에 소비자 분기 문서화 — 측정 불가 = KEEP 기본, CUT 없음
|
|
38
|
+
- 데모 GIF 페이싱 — `36.0초 → 23.0초`(899→575 프레임 · 592→550KB). 정지 화면이 53%였고
|
|
39
|
+
끝 8초가 통째로 죽어 있었다(GitHub 은 GIF 를 루프한다). BLOCK→수정→PASS 마지막 프레임은 동일
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
11
43
|
### [2.10.0] — 2026-08-24
|
|
12
44
|
|
|
13
45
|
**BREAKING (gate)**: `lane_runner_check` 가 러너 표면을 워킹트리가 아니라 **git index** 로
|
|
@@ -379,6 +379,14 @@ Re-run back-trace for S-grade blocker claims after fixes are complete. Activate
|
|
|
379
379
|
|
|
380
380
|
> **Template**: See `SKILL_detail.md §Report-Template` — full completion declaration format — read when producing the final audit summary.
|
|
381
381
|
|
|
382
|
+
**Zero-finding declaration names its axes (2026-08-26).** A pass reporting **0 phantoms** must state
|
|
383
|
+
*which claim classes were traced* (e.g. `0건 (추적 축: 경로 참조 · 인용 · 버전 주장 — 외부 fetch 미실행)`),
|
|
384
|
+
never a bare `0건`. «Looked and found nothing» and «looked along one axis» are different claims, and
|
|
385
|
+
a bare zero collapses them — the same discipline the 4-axis marker's `axes-run:` imposes («silence
|
|
386
|
+
is not zero — write `none`»). External replication that motivated the field: the 2026-08-25 frontier
|
|
387
|
+
digest's edgelog measurement (a "no findings" round still yielded new issues from a different
|
|
388
|
+
perspective). One field, existing vocabulary, no new gate.
|
|
389
|
+
|
|
382
390
|
---
|
|
383
391
|
|
|
384
392
|
## Connected Skills
|
|
@@ -318,6 +318,7 @@ Process prescription:
|
|
|
318
318
|
## phantom-quench Complete
|
|
319
319
|
|
|
320
320
|
Audit scope: {artifact file} / source {N files}
|
|
321
|
+
Axes traced: {claim classes actually traced — e.g. 경로 참조 · 인용 · 버전 주장} / not run: {e.g. 외부 fetch(Step 2-E)}
|
|
321
322
|
{N} total claims audited
|
|
322
323
|
|
|
323
324
|
Result summary:
|
|
@@ -57,6 +57,32 @@ measurement); they differ in cost because the surfaces differ:
|
|
|
57
57
|
| **Resident layer** — CLAUDE.md, a memory index (loaded every session, for every task) | **Ablation harness**: pre-registered question set · **isolated arm B** · `reps>=3` · runner precondition `bash scripts/ablation_calibrate.sh` exits 0 (canon = `scripts/probe_scope_check.sh` header) · verdict line → `.claude/regression/ablation_verdicts.md` | A wrong cut here degrades *every* session silently, and the cost is unattributable after the fact |
|
|
58
58
|
| **SKILL.md → SKILL_detail.md** (loaded only when the skill is invoked) | **Cold-start sim**: `sim-conductor` Area D-skill on SKILL.md alone must reach grade F (see Done When) | The failure is scoped to one skill's invocation and the sim reproduces exactly that condition |
|
|
59
59
|
|
|
60
|
+
🟥 **ON A CONSUMER INSTALL THE RESIDENT ROW CANNOT BE RUN — say so rather than let a reader
|
|
61
|
+
discover it.** `ablation_calibrate.sh` and `probe_scope_check.sh` are **deliberately not shipped**
|
|
62
|
+
(`package_coverage_check.sh` ACCEPTED_ABSENT): the procedure ablates *this hub's* resident
|
|
63
|
+
`CLAUDE.md`, so an installer has nothing to point it at, and every run spends `claude` CLI calls on
|
|
64
|
+
their account. So on an install:
|
|
65
|
+
|
|
66
|
+
| | |
|
|
67
|
+
|---|---|
|
|
68
|
+
| **Hub (this repo)** | Run the ablation. Verdict → `.claude/regression/ablation_verdicts.md`. |
|
|
69
|
+
| **Consumer install** | The harness is absent, so the measurement is **unavailable — not waived**. The floor holds in its degraded form: **KEEP is the default and a CUT is not available.** Record `UNMEASURED — no ablation runner on this install`; do not record a PASS. |
|
|
70
|
+
|
|
71
|
+
**The degrade direction is the whole point**: an unavailable measurement makes cutting *harder*,
|
|
72
|
+
never easier. A consumer who wants the resident row runs it against their own resident asset by
|
|
73
|
+
copying the two scripts out of the hub — that is a deliberate act, not a default. Concretely, that
|
|
74
|
+
means taking `scripts/ablation_calibrate.sh` and `scripts/probe_scope_check.sh` from the hub repo,
|
|
75
|
+
running the calibrator until it exits 0 **on your machine** (it is a known-pair, not a formality —
|
|
76
|
+
it is what proves the runner discriminates at all), and pointing the arms at YOUR resident file
|
|
77
|
+
rather than the hub's. The verdict lands in your own `.claude/regression/ablation_verdicts.md`.
|
|
78
|
+
🟡 **Named gap, surfaced by a blind floor-tier read of this very section (2026-08-27)**: two
|
|
79
|
+
questions this skill does not answer, and pretending otherwise would be worse than saying so —
|
|
80
|
+
(i) whether a section may ever be deleted OUTRIGHT rather than trimmed-with-a-pointer (every path
|
|
81
|
+
here assumes the pointer), and (ii) whether *verified* duplication — two files grep-confirmed to
|
|
82
|
+
carry the same text — is still subject to the full ablation, or whether that is the one case where
|
|
83
|
+
"redundant" is a measurement rather than an impression. Both are open; treat them as KEEP until
|
|
84
|
+
decided.
|
|
85
|
+
|
|
60
86
|
**Arm B answering confidently wrong is a KEEP, not a pass** — fluency is not recall, and that is the
|
|
61
87
|
whole reason the arm is isolated. The same reading applies to the sim: a consumer that improvises
|
|
62
88
|
plausibly without the moved rule is grade P, not F.
|
|
@@ -54,6 +54,16 @@ A designer's anxiety is most dangerous when vague. steel-quench breaks that anxi
|
|
|
54
54
|
|
|
55
55
|
> **Detail**: See `SKILL_detail.md §Phase0` — counterexample calibration full spec (pattern extraction from an external bad case, merge rules into Wave 1) — read when an external bad case is supplied.
|
|
56
56
|
|
|
57
|
+
**Zero-finding wave names its angles (2026-08-26).** A wave reported as clean (0 new findings) must
|
|
58
|
+
state *which attack angles actually ran and which did not* (e.g. `clean (돌린 각: #1 단순대안 · #3
|
|
59
|
+
실사용 — #5 미실행)`), never a bare "clean". A clean round means «these angles found nothing», not
|
|
60
|
+
«nothing is there» — a different perspective can still find new issues (externally replicated:
|
|
61
|
+
edgelog ~400-call measurement, 2026-08-25 digest, finding ⓔ). Same discipline as the marker's
|
|
62
|
+
`axes-run:` — silence is not zero. **This is a record requirement, not a new termination rule**: the
|
|
63
|
+
§Convergence Criteria verdict (zero new S/A + no repairs) is unchanged — what changes is that an
|
|
64
|
+
unnamed clean round is an *incomplete record*, so a reader auditing convergence can see which angles
|
|
65
|
+
each clean round actually covered instead of assuming all of them ran.
|
|
66
|
+
|
|
57
67
|
---
|
|
58
68
|
|
|
59
69
|
## Step 0.3 — Artifact Vulnerability Profile
|
|
@@ -83,6 +83,13 @@ if ! command -v find >/dev/null 2>&1; then
|
|
|
83
83
|
echo "This is not 'clean' and not 'no targets'; nothing was measured. Fix PATH and re-run."
|
|
84
84
|
exit 2
|
|
85
85
|
fi
|
|
86
|
+
# `awk` is the S1b probe's only engine (line-continuation joining + bounded lookahead are not
|
|
87
|
+
# expressible in a line-oriented grep). Its absence must not render as clean — the same rule the
|
|
88
|
+
# `find` gate above states. Guarded rather than hard-exit: unlike `find`, a missing awk blinds ONE
|
|
89
|
+
# probe, not the whole discovery pass, so the honest degrade is "S1b NOT MEASURED" + non-clean rc.
|
|
90
|
+
_S1B_OK=1
|
|
91
|
+
command -v awk >/dev/null 2>&1 || { _S1B_OK=0; _FORCE_NONCLEAN=2; }
|
|
92
|
+
|
|
86
93
|
# cksum 도 미선언 의존성이다 — 첫 수리는 python3 만 가드하고 cksum 은 rc 미검사로 도입했다.
|
|
87
94
|
# 부재 시 유일성 토큰이 **빈 문자열**이 돼 shadow 이름 충돌(A-1)이 그대로 부활한다(실증).
|
|
88
95
|
# mktemp 실패 시 예측 가능한 경로(/tmp/degradescan.$$)로 폴백하던 것을 제거했다: 그 경로를 mkdir
|
|
@@ -318,6 +325,116 @@ for f in "${FILES[@]}"; do
|
|
|
318
325
|
| grep -vE '^[0-9]+:[[:space:]]*(if[[:space:]]+)?\[\[?[[:space:]]*(-[dznN][[:space:]]|[^]]*=~)' \
|
|
319
326
|
| grep -E '(\$\(|`|\[[[:space:]]*-[fx][[:space:]]|\b(scan|check|verify|validate|audit|grep|gate|assert|lint|test_)[A-Za-z_]*[[:space:](])')
|
|
320
327
|
|
|
328
|
+
# S1b — `|| true` INSIDE a command substitution: `V=$(git … 2>/dev/null | … || true)`.
|
|
329
|
+
# S1 above cannot see this shape at all: its regex closes on `(#|;|$)` after the permissive
|
|
330
|
+
# value, and here the next character is `)`. Measured 2026-08-26 by a full hand-census of the
|
|
331
|
+
# 132 `|| true)` sites in this repo (tracks/_meta/s1_true_paren_census_2026-08-26.md): 11 sit
|
|
332
|
+
# on a verdict path, and S1 saw 0 of them.
|
|
333
|
+
#
|
|
334
|
+
# WHY THIS SHAPE IS DIFFERENT FROM `|| true` AT END OF LINE. `|| true` on its own is NOT the
|
|
335
|
+
# defect — under `set -e` it is the prescribed way to let a legitimately-empty result through,
|
|
336
|
+
# and flagging it would push an author to delete the remedy (the same trap S3 and S5 already
|
|
337
|
+
# name). The measured defect is the CONJUNCTION the census isolated: the command's stderr is
|
|
338
|
+
# discarded (`2>/dev/null`) AND its non-zero exit is swallowed (`|| true`), so "git failed"
|
|
339
|
+
# and "git ran and matched nothing" arrive at the consumer as the same empty string. Every
|
|
340
|
+
# downstream `[ -n "$V" ]` then reads a broken repo as "nothing to check" and the gate skips
|
|
341
|
+
# itself in silence. Both halves are required by the rule below; either alone is not a smell.
|
|
342
|
+
#
|
|
343
|
+
# SCOPE — ORIGIN sites only, deliberately. The census's dominant pattern is that ONE git read
|
|
344
|
+
# feeds a dozen derived filters (`HEAVY=$(echo "$STAGED" | grep … || true)`). The derived
|
|
345
|
+
# filters inherit the origin's risk and add none of their own: their only failure mode is
|
|
346
|
+
# grep-no-match, which is what `|| true` is there for. Flagging them would turn 11 findings
|
|
347
|
+
# into 122 and bury the origin — this file already paid that price once (S5 shipped at 9/9 FP)
|
|
348
|
+
# and its own rule is that a probe which is mostly noise trains authors to dismiss it. So the
|
|
349
|
+
# substitution's LEADING command must be a real state read, never `echo`/`printf` on a value
|
|
350
|
+
# that is already in a shell variable.
|
|
351
|
+
#
|
|
352
|
+
# TWO RULES, because the two A-shapes have different tells:
|
|
353
|
+
# (1) git index/worktree read — `$(git … diff|log|ls-files|status|show …)`. Restricted to
|
|
354
|
+
# those five subcommands on purpose: `rev-parse`/`config`/`describe`/`merge-base` read
|
|
355
|
+
# identity or configuration, and in this corpus they are either fail-closed on the next
|
|
356
|
+
# line or feed a display string.
|
|
357
|
+
# (2) a substitution that FEEDS A LOOP — `done < <(cmd … || true)`, `done <<< "$(cmd …)"`.
|
|
358
|
+
# There is no variable to test here, so no `[ -z ]` can ever exist: an errored command
|
|
359
|
+
# yields zero iterations and the detector reports "found nothing". Any leading command
|
|
360
|
+
# counts except `echo`/`printf` (see SCOPE above).
|
|
361
|
+
#
|
|
362
|
+
# COUNTER DECONFLICTION: a pipeline ending in `grep -c` / `wc` is NOT flagged here — a counter
|
|
363
|
+
# always emits ("0") and exits 1 on no-match, so `|| true` there is the no-match idiom, and
|
|
364
|
+
# 🟥 RETRACTED 2026-08-26 — the sentence below said counters "belong to S5". MEASURED FALSE:
|
|
365
|
+
# S5's regex requires `|| echo 0` literally; `session_close_check.sh:395`/`:411` use
|
|
366
|
+
# `|| true`, so S5 never sees them. They are not "another probe's business" — they fall
|
|
367
|
+
# BETWEEN the two probes. Found by cross-family review (codex), confirmed by reading S5's
|
|
368
|
+
# own pattern at the S5 block below. The exclusion here stays (a counter genuinely is not
|
|
369
|
+
# S1b's shape and flagging it re-noises this probe to 74%); what changes is the CLAIM about
|
|
370
|
+
# where they land. Open, named, not silently carried: see §S5-COUNTER-GAP below.
|
|
371
|
+
# that class belongs to S5 (`|| echo 0` pipefail-fallback). Not flagging it twice is why S5's
|
|
372
|
+
# narrowing survives. Named cost: census A#10/A#11 (session_close_check.sh ④-e DISPATCHED /
|
|
373
|
+
# LOGGED) are counter-shaped and therefore NOT covered by S1b. They are not silently dropped —
|
|
374
|
+
# they are named here.
|
|
375
|
+
#
|
|
376
|
+
# SUPPRESSION (fail-closed handler): if the assigned variable is tested with `[ -z ]` within
|
|
377
|
+
# 14 lines and that branch exits non-zero / sets FAIL / reports ERROR|UNMEASURED, the emptiness
|
|
378
|
+
# IS distinguished and the site is clean. Note the direction matters: `[ -n "$V" ] && run the
|
|
379
|
+
# check` is NOT suppression — that is precisely the "empty ⇒ skip in silence" shape (census
|
|
380
|
+
# A#5, pre-commit SKILL_CHANGE), and it stays flagged.
|
|
381
|
+
#
|
|
382
|
+
# MEASURED PRECISION on this repo, hand-checked against the census, 2026-08-26: 11 hits,
|
|
383
|
+
# 9 true (census A), 2 false (scripts/fh-goal.sh:209,214 — a three-stage TARGET_FILES fallback
|
|
384
|
+
# whose terminal empty branch is `exit 0` "skipping fh-gate", which the census read as C).
|
|
385
|
+
# RECALL 9/11 of the census A set; the two misses are the counter-shaped pair named above.
|
|
386
|
+
# awk is the only new dependency and it is GUARDED (_S1B_OK) — a missing awk makes this probe
|
|
387
|
+
# blind, and blind must not render as clean (same rule as the `find` gate at the top).
|
|
388
|
+
if [ "${_S1B_OK:-1}" = 1 ]; then
|
|
389
|
+
while IFS= read -r ln; do
|
|
390
|
+
[ -n "$ln" ] || continue
|
|
391
|
+
emit "$f" "$ln" "S1b:||true-in-\$()" "a state-reading command has BOTH its stderr discarded (2>/dev/null) and its failure swallowed (|| true) inside a command substitution — 'the command failed' and 'the command matched nothing' become the same empty value, and the gate downstream skips itself in silence. Capture the status separately (out=\$(cmd 2>&1); rc=\$?) and branch on rc, or make the empty case fail closed"
|
|
392
|
+
done < <(awk '
|
|
393
|
+
{ raw[NR]=$0 }
|
|
394
|
+
END{
|
|
395
|
+
n=NR
|
|
396
|
+
for(i=1;i<=n;i++){
|
|
397
|
+
if(i<=skipto) continue
|
|
398
|
+
L=raw[i]; last=i
|
|
399
|
+
while(L ~ /\\[ \t]*$/ && last<n){ sub(/\\[ \t]*$/,"",L); last++; L=L " " raw[last] }
|
|
400
|
+
skipto=last # a continuation line is not its own finding
|
|
401
|
+
if(L ~ /^[ \t]*#/) continue
|
|
402
|
+
if(L ~ /#[ \t]*noqa[: \t]*degrade/) continue
|
|
403
|
+
if(L !~ /\|\|[ \t]*true[ \t]*\)/) continue
|
|
404
|
+
if(L !~ /2>\/dev\/null/) continue # stderr must actually be discarded
|
|
405
|
+
if(L ~ /\|[ \t]*(grep[ \t]+-[A-Za-z]*c|grep[ \t]+--count|wc[ \t])/) continue # counter: see §S5-COUNTER-GAP
|
|
406
|
+
r1 = (L ~ /[$<]\([ \t]*git[ \t]+(-[^ \t]+[ \t]+([^ \t]+[ \t]+)?)*(diff|log|ls-files|status|show)[ \t]/)
|
|
407
|
+
r2 = ((L ~ /<[ \t]*<\(/ || L ~ /<<<[ \t]*"?\$\(/) && L !~ /[$<]\([ \t]*(echo|printf)[ \t]/)
|
|
408
|
+
if(!r1 && !r2) continue
|
|
409
|
+
v=""
|
|
410
|
+
if(match(L,/^[ \t]*(local[ \t]+)?[A-Za-z_][A-Za-z0-9_]*=/)){
|
|
411
|
+
v=substr(L,RSTART,RLENGTH); sub(/^[ \t]*(local[ \t]+)?/,"",v); sub(/=$/,"",v)
|
|
412
|
+
}
|
|
413
|
+
supp=0
|
|
414
|
+
if(v!=""){
|
|
415
|
+
for(j=last+1;j<=last+14 && j<=n;j++){
|
|
416
|
+
if(raw[j] ~ ("-z[ \t]*\"?\\$\\{?" v "[\"}]")){
|
|
417
|
+
# 🟥 2026-08-26 (cross-family/codex): proximity alone suppressed on a COMMENT
|
|
418
|
+
# or on an unrelated later branch that merely sat within 6 lines. That is a
|
|
419
|
+
# false NEGATIVE — it hides a real fail-open — which is strictly worse than the
|
|
420
|
+
# distance constant being unmeasured. Two guards: comments are not remedies,
|
|
421
|
+
# and the search stops at the end of the `-z` branch.
|
|
422
|
+
for(k=j;k<=j+6 && k<=n;k++){
|
|
423
|
+
C=raw[k]
|
|
424
|
+
if(C ~ /^[ \t]*#/) continue
|
|
425
|
+
sub(/[ \t]#.*$/,"",C) # trailing comment is not code
|
|
426
|
+
if(k>j && C ~ /^[ \t]*(fi|else|elif|esac|;;|})([ \t]|$)/) break
|
|
427
|
+
if(C ~ /exit[ \t]+[1-9]|return[ \t]+[1-9]|FAIL|UNMEASURED|ERROR|die /){ supp=1; break }
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
if(supp) break
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
if(!supp) print i
|
|
434
|
+
}
|
|
435
|
+
}' "$f" 2>/dev/null)
|
|
436
|
+
fi
|
|
437
|
+
|
|
321
438
|
# S2 — `else` fall-through to a permissive exit/return within 2 lines (unenumerated case → allow).
|
|
322
439
|
while IFS= read -r ln; do
|
|
323
440
|
emit "$f" "$ln" "S2:else→PASS(sh)" "else/fall-through branch exits permissively — the unenumerated case should fail closed"
|
|
@@ -535,6 +652,7 @@ for f in "${FILES[@]}"; do
|
|
|
535
652
|
done
|
|
536
653
|
|
|
537
654
|
echo "----"
|
|
655
|
+
[ "${_S1B_OK:-1}" = 1 ] || echo "note: probe S1b NOT MEASURED (awk unavailable) — this run is not clean on that axis."
|
|
538
656
|
[ ${#UNSCANNABLE[@]} -gt 0 ] && printf 'note: %s changed file(s) outside py/sh — NOT covered by this scan (send to cross-family directly).\n' "${#UNSCANNABLE[@]}"
|
|
539
657
|
if [ "$hits" -gt 0 ]; then
|
|
540
658
|
echo "degrade-scan: $hits smell(s) — ADVISORY. Each = 'prove this is not default-toward-PASS'."
|
package/scripts/fh-goal.sh
CHANGED
|
@@ -205,13 +205,33 @@ if [[ -z "$TARGET_FILES" ]]; then
|
|
|
205
205
|
echo " The backend may well have changed code; fh-gate never ran. Pass --files explicitly." >&2
|
|
206
206
|
exit 10
|
|
207
207
|
fi
|
|
208
|
+
# 🟥 The GIT_OK branch above closed "no git at all"; these two closed NOTHING until
|
|
209
|
+
# 2026-08-26. `git` present + a real repo does not mean `diff`/`status` SUCCEEDS — a corrupt
|
|
210
|
+
# index, an unreadable object, a lock contention or an interrupted command all fail HERE, and
|
|
211
|
+
# `2>/dev/null … || true` folded that failure into an empty string indistinguishable from
|
|
212
|
+
# "nothing changed" → the `exit 0` below → **fh-gate never ran and the caller read it as a
|
|
213
|
+
# clean run**. Exactly the class the comment at the top of this block names; it was fixed in
|
|
214
|
+
# one branch and left open in the other two. Cross-family review (codex) found it; the same
|
|
215
|
+
# session's own lane had classified it "safe" (`C`).
|
|
216
|
+
# Capture the git rc SEPARATELY from the transform — `|| true` on the whole pipeline is what
|
|
217
|
+
# ate it, and `pipefail` had been faithfully propagating it right up to that point.
|
|
208
218
|
if [[ -n "$START_COMMIT" ]]; then
|
|
209
|
-
|
|
219
|
+
if ! _fg_raw=$(git -C "$WORK_ROOT" diff "$START_COMMIT"..HEAD --name-only 2>/dev/null); then
|
|
220
|
+
echo "ERROR: cannot detect changed files (git diff failed in ${WORK_ROOT})." >&2
|
|
221
|
+
echo " The backend may well have changed code; fh-gate never ran. Pass --files explicitly." >&2
|
|
222
|
+
exit 10
|
|
223
|
+
fi
|
|
224
|
+
TARGET_FILES=$(printf '%s\n' "$_fg_raw" | tr '\n' ' ' | xargs || true)
|
|
210
225
|
fi
|
|
211
226
|
if [[ -z "$TARGET_FILES" ]]; then
|
|
212
227
|
# `--porcelain` + strip the 2-char status field. `awk '{print $2}'` used to take the OLD
|
|
213
228
|
# path of a rename ("R old -> new") and split names containing spaces.
|
|
214
|
-
|
|
229
|
+
if ! _fg_raw=$(git -C "$WORK_ROOT" status --porcelain 2>/dev/null); then
|
|
230
|
+
echo "ERROR: cannot detect changed files (git status failed in ${WORK_ROOT})." >&2
|
|
231
|
+
echo " The backend may well have changed code; fh-gate never ran. Pass --files explicitly." >&2
|
|
232
|
+
exit 10
|
|
233
|
+
fi
|
|
234
|
+
TARGET_FILES=$(printf '%s\n' "$_fg_raw" \
|
|
215
235
|
| sed -e 's/^.\{3\}//' -e 's/^.* -> //' -e 's/^"\(.*\)"$/\1/' \
|
|
216
236
|
| tr '\n' ' ' | xargs || true)
|
|
217
237
|
fi
|
|
@@ -487,7 +487,20 @@ fi
|
|
|
487
487
|
|
|
488
488
|
# 5) Emit the freshness block (short + imperative). Only speak if there is something to say.
|
|
489
489
|
{
|
|
490
|
-
|
|
490
|
+
# 🟥 NODE NAME rides this line on purpose (2026-08-27, measured N=2). fh_node_check.sh computes
|
|
491
|
+
# NODE_ID and prints it — but only when something is WRONG or on the once-per-node identity event
|
|
492
|
+
# (its `[ -n "$MISS$...$IDENTITY$..." ] || exit 0` guard). That silence is the right call for a
|
|
493
|
+
# nag; the cost is that in the STEADY state the session cannot see which machine it is on.
|
|
494
|
+
# What that cost actually bought, same day: a session on the air node read three air-local
|
|
495
|
+
# absences and nearly published them as global — a "sealed corpus lost" (it is intact on pro), an
|
|
496
|
+
# M-tier "granted capability never fires" (all three files are on pro), and a 347-file hub/mirror
|
|
497
|
+
# gap. Recurrence 2 (2026-07-31 was the same shape, same node, already in memory as
|
|
498
|
+
# [[feedback_frontier_digest_auto_catch]]) — the rule was recorded and did not fire, because the
|
|
499
|
+
# trigger is "I observed an absence" and what a session checks at that moment is whether its
|
|
500
|
+
# INSTRUMENT is alive, not which NODE it is standing on. Those are different checks.
|
|
501
|
+
# So: no new hook, no new line, no nag — the node name is appended to a banner that already
|
|
502
|
+
# prints every single session. `hostname -s`, the same source fh_node_check.sh uses.
|
|
503
|
+
echo "🔄 [FH SessionStart] companion-store freshness — $PULL_NOTE. · node: $(hostname -s 2>/dev/null || echo unknown)"
|
|
491
504
|
if [ -n "$NEWER" ]; then
|
|
492
505
|
echo "⚠️ NEWER THAN SESSION CARD — READ THESE BEFORE ACTING (card may be stale):"
|
|
493
506
|
printf "%b" "$NEWER"
|
|
@@ -48,10 +48,6 @@ ACCEPTED_ABSENT=(
|
|
|
48
48
|
"scripts/outbound_query_guard.sh"
|
|
49
49
|
"scripts/test_outbound_query_lanes.sh"
|
|
50
50
|
".claude/registry/LOCAL_SKILL_REGISTRY.md"
|
|
51
|
-
# An INSTALL DESTINATION the user creates (`cp templates/local_fh_context.md
|
|
52
|
-
# .claude/rules/local_fh_context.md`), not a file FH ships. Shipping it would overwrite the
|
|
53
|
-
# user's own cross-context wiring — the template it is copied FROM is what ships.
|
|
54
|
-
".claude/rules/local_fh_context.md"
|
|
55
51
|
".claude/regression/probes.md"
|
|
56
52
|
# Its sibling, and absent for the same reason one layer up: this file records which sections of
|
|
57
53
|
# THIS repo's resident CLAUDE.md were measured load-bearing. A consumer's CLAUDE.md is their
|
|
@@ -203,6 +199,13 @@ ACCEPTED_ABSENT=(
|
|
|
203
199
|
# Its only input is `.claude/regression/probes.md`, itself ACCEPTED_ABSENT above (a consumer's
|
|
204
200
|
# regression run must not compare against this harness's probe set). Shipping the reader without
|
|
205
201
|
# its corpus would put a script in the package that can only ever report "instrument error".
|
|
202
|
+
# ④ 계측 채널(발화-유도 스킬 로깅). 배선이 **로컬 `.claude/settings.json`** 에 있고 그 파일은
|
|
203
|
+
# 출하물이 아니다 — 스크립트만 실으면 소비자 머신에서 아무것도 안 하는 죽은 파일이 된다.
|
|
204
|
+
# 게다가 이건 이 허브의 정체성 ④ 계측이라 소비자가 잴 대상 자체가 다르다.
|
|
205
|
+
"scripts/utterance_skill_probe.sh"
|
|
206
|
+
# 바로 위의 앵커. 주어가 안 실리는데 앵커만 싣는 것은 이 체커가 스스로 defect 라 부르는 형태다
|
|
207
|
+
# ("shipping an anchor whose subject is not in the package").
|
|
208
|
+
"scripts/test_utterance_skill_probe_lanes.sh"
|
|
206
209
|
"scripts/probe_scope_check.sh"
|
|
207
210
|
# The known-pair precondition for `probe_scope_check.sh`'s ablation procedure. Absent for the same
|
|
208
211
|
# reason as its subject — the procedure ablates THIS repo's resident CLAUDE.md, so a consumer has
|
package/scripts/selfcheck.sh
CHANGED
|
@@ -593,7 +593,9 @@ for _pair in \
|
|
|
593
593
|
"plugins/fh-commons/skills/ko-tech-writer/SKILL.md|scripts/test_ko_tech_writer_lanes.sh" \
|
|
594
594
|
"scripts/script_caller_ratchet.sh|scripts/test_script_caller_ratchet_lanes.sh" \
|
|
595
595
|
"scripts/script_caller_ratchet.sh|scripts/test_runner_surface_index_lanes.sh" \
|
|
596
|
-
"scripts/mapped_tracks.sh|scripts/test_mapped_tracks_lanes.sh"
|
|
596
|
+
"scripts/mapped_tracks.sh|scripts/test_mapped_tracks_lanes.sh" \
|
|
597
|
+
"scripts/fh-goal.sh|scripts/test_fh_goal_change_detection_lanes.sh" \
|
|
598
|
+
"scripts/utterance_skill_probe.sh|scripts/test_utterance_skill_probe_lanes.sh"
|
|
597
599
|
do
|
|
598
600
|
_subj="${_pair%%|*}"; _anc="${_pair##*|}"; _lbl="${_anc##*/}"
|
|
599
601
|
if [ ! -f "$_subj" ]; then
|