@chrono-meta/fh-gate 3.36.1 → 3.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/.claude-plugin/marketplace.json +4 -4
  2. package/knowledge/shared/harness-core/builtin_capability_map.md +23 -2
  3. package/knowledge/shared/harness-core/claude_md_full_reference.md +7 -0
  4. package/knowledge/shared/harness-core/self_evolution_routine.md +22 -0
  5. package/knowledge/shared/learnings/subagent_invocations_log.yaml +84 -0
  6. package/package.json +9 -1
  7. package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
  8. package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
  9. package/plugins/fh-meta/CHANGELOG.md +30 -0
  10. package/plugins/fh-meta/skills/frontier-digest/SKILL.md +2 -0
  11. package/plugins/fh-meta/skills/frontier-digest/SKILL_detail.md +7 -3
  12. package/plugins/fh-meta/skills/harness-doctor/SKILL.md +1 -0
  13. package/plugins/fh-meta/skills/harvest-loop/SKILL.md +1 -0
  14. package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
  15. package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
  16. package/scripts/adapters/gstack_content_safety.sh +1 -1
  17. package/scripts/capability_effect_probe.sh +2 -2
  18. package/scripts/card_status_tags.sh +47 -0
  19. package/scripts/chamber_run.sh +2 -2
  20. package/scripts/compaction_probe.sh +14 -14
  21. package/scripts/correction_moments.py +116 -0
  22. package/scripts/destructive_pre_gate.sh +25 -2
  23. package/scripts/env_layer_fingerprint.sh +44 -3
  24. package/scripts/fh_session_load.sh +2 -2
  25. package/scripts/frontier_digest_autopilot.sh +10 -0
  26. package/scripts/gate_shape_scan.sh +1 -1
  27. package/scripts/governor_board.sh +2 -2
  28. package/scripts/outbound_pr_gate.sh +1 -1
  29. package/scripts/package_coverage_check.sh +10 -0
  30. package/scripts/pr_merge_verified.sh +8 -1
  31. package/scripts/probe_live_eval.sh +9 -0
  32. package/scripts/probe_live_eval_lib.py +89 -2
  33. package/scripts/residency_admission_check.sh +1 -1
  34. package/scripts/selfcheck.sh +8 -0
  35. package/scripts/selfcheck_shard_weights.txt +184 -0
  36. package/scripts/session_close_check.sh +13 -2
  37. package/scripts/sim_isolated_run.sh +2 -2
  38. package/scripts/test_card_status_tags_lanes.sh +58 -0
  39. package/scripts/test_correction_moments_lanes.sh +42 -0
  40. package/scripts/test_count_check_decl_lanes.sh +1 -1
  41. package/scripts/test_degrade_scan_shell_probes.sh +1 -1
  42. package/scripts/test_destructive_pre_gate_lanes.sh +36 -0
  43. package/scripts/test_dispatch_log_lanes.sh +3 -3
  44. package/scripts/test_env_layer_fingerprint_lanes.sh +6 -1
  45. package/scripts/test_fh_detach_lanes.sh +27 -4
  46. package/scripts/test_fh_qp_lanes.sh +1 -1
  47. package/scripts/test_fh_run_resolver_lanes.sh +4 -4
  48. package/scripts/test_finding_pipeline_lanes.sh +7 -7
  49. package/scripts/test_gate_two_verdicts_lanes.sh +1 -1
  50. package/scripts/test_lane_runner_lanes.sh +1 -1
  51. package/scripts/test_lane_stub_env_lanes.sh +2 -2
  52. package/scripts/test_live_eval_transitions_lanes.sh +32 -0
  53. package/scripts/test_map_postprocess_lanes.sh +1 -1
  54. package/scripts/test_marker_address_lanes.sh +1 -1
  55. package/scripts/test_marker_defense_lanes.sh +1 -1
  56. package/scripts/test_marker_oracle_lanes.sh +1 -1
  57. package/scripts/test_outbound_pr_gate_lanes.sh +1 -1
  58. package/scripts/test_peer_worktree_detect_lanes.sh +1 -1
  59. package/scripts/test_pr_merge_verified_lanes.sh +8 -0
  60. package/scripts/test_precommit_staged_drift_lanes.sh +1 -1
  61. package/scripts/test_preprep_adjacent_dup_lanes.sh +1 -1
  62. package/scripts/test_prepush_destructive_lanes.sh +1 -1
  63. package/scripts/test_probe_live_eval_lanes.sh +68 -1
  64. package/scripts/test_regression_guard_ci_lanes.sh +8 -8
  65. package/scripts/test_regression_guard_codecomment_lanes.sh +140 -0
  66. package/scripts/test_revert_probe_lanes.sh +1 -1
  67. package/scripts/test_selfcheck_shard_lanes.sh +44 -0
  68. package/scripts/test_selfcheck_state_lanes.sh +1 -1
  69. package/scripts/test_stale_ref_close_lanes.sh +1 -1
  70. package/scripts/test_temper_check_lanes.sh +1 -1
  71. package/scripts/test_utterance_intake_lanes.sh +9 -9
  72. package/scripts/test_verdict_watermark_lanes.sh +3 -3
  73. package/scripts/test_worktree_reclaim_lanes.sh +1 -1
  74. package/templates/.git-hooks/pre-commit +2 -2
  75. package/templates/fh_audit_check.zsh +140 -0
  76. package/templates/regression_guard.sh +32 -2
  77. package/templates/settings.PreToolUse.snippet.json +2 -1
@@ -11,25 +11,25 @@
11
11
  "plugins": [
12
12
  {
13
13
  "name": "fh-meta",
14
- "version": "3.36.1",
14
+ "version": "3.38.0",
15
15
  "description": "New in 2.2.0: BREAKING (gate): chamber step 6 now reads ACTUAL.md, not BUDGET.md — an in-flight chamber run whose actual cost sits in BUDGET.md blocks until the ACTUAL: line moves to tracks/_chamber/<slug>/ACTUAL.md (the runner prints the path). Why: BUDGET.md's pre-verdict hash IS the ordering witness, and step 6 hard-blocked until that same file changed, so every run that reached COMPLETE necessarily mutated a witnessed artifact and verify returned TAMPERED — the chamber's promotion condition was unsatisfiable by construction, not by strictness. Two roles (immutable witness / post-verdict calibration sink) had collided in one file; each was correct alone, so neither side's code showed the conflict. Also: ko-tech-writer Step 2/4-b scans are now calibration-backed (known-pair fixtures + reproducible command, shipped) — discrimination is proven, 'zero residue' is explicitly NOT; chamber lane suite 12 -> 33 including the runner x witness seam no test covered; chamber_run.sh now teaches the two-commit discipline (gate hashes and verdict hash must land in separate commits/PRs — it previously advised the opposite). New in 2.1.0: BREAKING (gate): `crossfamily: declined` in an Axes 2-3 marker now requires grounds naming a record path that RESOLVES on disk — bare `declined`, and `declined` justified by author judgment, are blocked at commit. Remedy: cite where the operator decision lives (e.g. `.. — operator declined sidecars, per knowledge/shared/rules/operational_adaptation.md`), or use `DEGRADED_PANEL_UNUSED` if a panel was reachable and you chose not to recruit it — which is what author judgment actually is. `declined` was the only enum value with no grounds requirement; a cross-family review then broke the first (vocabulary-grep) fix three ways — self-validating on the value's own token, vacuous keyword passes, and over-blocking real declinations in natural prose — so the check asserts a resolvable record instead of words. Also: standpoint axis gains `tier1b` (a STATIC read of a target repo, executed nothing) plus a decide-in-order procedure, after blind floor-tier sims graded pure cold-reads as `tier2` three rounds running; steel-quench Wave 1's sixth angle (gate-locality) gains the output-template row it never had, so a mandatory angle stops being structurally unreportable; verify-bidirectional gains category 5 (prescriptive doctrine statement); Sister Asset Protocol gains an active-adoption trigger; new resident doctrine — Mechanization Boundary, Local Execution First, Skeleton-not-Muscle, Expedition track, and this package's versioning policy. Hub meta-operations toolkit — 35 skills + 7 agents. New in 2.0.1: harness-doctor cadence hook, portability lint wired into pre-commit, branch_claim.sh claim-count-vs-tree-count warning, louder confidentiality-scan fail-open notice, fh-gate.sh missing-package.json survival, identity ① reclassified 🟢 (cross-harness adapters + relay argument channel). New in 1.4.53: `fh-codex-doctor` (npm bin) — Codex adapter drift scanner; reads the documented M1/M2/M3 skill tier map + skill/agent source and reports codex-native/adapter-required/claude-native/unclassified per unit, wired into `npm test`/`prepublishOnly` (fail-closed on unclassified Claude-native primitives). New in 1.4.49: steel-quench gains Step 0.6 Verdict-Invariance Probe (groundedness axis — a load-bearing judged gate's verdict must track behavior, not rubric phrasing; measured flip-count over cross-family paraphrases; arXiv:2605.06161 Policy Invariance anchor); multi_model_sidecar_strategy §Vendor-native harness (a model is strongest in its own vendor CLI — Claude/CC, GPT/codex, Gemini/Antigravity; a universal router degrades all of them, so it stays an autocomplete/QA sidecar, never orchestration); predelete_check.sh fail-closed rewrite; memory-hygiene A-TMA anchor. New in 1.4.48: phantom-quench + steel-quench gain external frontier anchors (arXiv:2607.02052 package-hallucination; arXiv:2607.02057 prompt-coverage-adequacy); README model-flat claim reframed from a per-release point-curve to structural invariants (operation flattens across tiers; depth tier-order fixed within a generation). New in 1.4.47: onboarding step ① surfaces the Mode D companion-store session-start load in the auto-read salience anchor (previously only in the local binding + rules, so a greeting could skip the load). New in 1.4.46: context-doctor command-output axis (route to rtk/proxy for verbose CLI stdout, complementing .claudeignore; risk-gated to token-scarce envs). New in 1.4.41: context-doctor 2026 trigger vocab (context engineering/rot/collapse) + phantom-citation hardening; hub measurement-integrity-checklist (cross-model measurement pre-flight: display-name pin/reps≥3/discriminating probe). New in 1.4.40: install-wizard queryable-wiki scaffold (INDEX + session-start read + R/W/C ingest). New in 1.4.39: auto-decorrelation (cross-family verifier sidecar recruitment) + video-ingest (capability-routed video ingestion). New in 1.4.x: verify-axis check-class taxonomy (mandatory-pass/measured/judged), no-reinvention Tier-0 inventory, 7-class failure taxonomy, Destructive-Op Gate, Wave-T (Temper), tier-floor governance, Mode D Model Notice, FC consent lane, default-Sonnet guidance. New in 1.3.0: public-surface-audit, field-harvest Mode B auto-trigger, 4-axis gate scope ext. Validated cross-CLI: Claude Code, Codex, Gemini.",
16
16
  "source": "./plugins/fh-meta"
17
17
  },
18
18
  {
19
19
  "name": "fh-commons",
20
- "version": "3.36.1",
20
+ "version": "3.38.0",
21
21
  "description": "Project-agnostic utility skills — 7 skills (convergence-loop · deliberation · mcp-circuit-breaker · token-budget-gate · ko-tech-writer · persona-cast · standpoint-review) + 7 agents (quench-challenger + the web-review cast: designer · ux-writer · fe-dev · be-dev · qa · a11y). Domain-independent utilities transplantable into any project.",
22
22
  "source": "./plugins/fh-commons"
23
23
  },
24
24
  {
25
25
  "name": "fh-qp",
26
- "version": "3.36.1",
26
+ "version": "3.38.0",
27
27
  "description": "QP (Quality Platform) — the generic edition of a field QA harness's Prepare→Automation→Regression loop as an FH plugin: 4 skills (qp router · qp-plan · qp-run · qp-regress) + qp_tools.sh (target-class · adapter-probe · mask · surface-reach · mtm-check · run-verbs, typed exit codes) + a zero-domain-constant profile slot + 29 known-pair lanes. Drives web targets through the session's Playwright MCP and desktop targets through computer-use MCP (mobile deferred); calls a registered qasp typed capability when one exists (strictest-wins) — none is registered today, so the MCP fallback is the first edition. Verdict contract: a MACHINE closure requires a recorded assertion; a failed first step is attributed BLOCKED, not FAIL; surface_reach counts every TC in the denominator. Born as chamber run #18 (EMIT, 2026-09-05).",
28
28
  "source": "./plugins/fh-qp"
29
29
  },
30
30
  {
31
31
  "name": "fh-preprep",
32
- "version": "3.36.1",
32
+ "version": "3.38.0",
33
33
  "description": "preprep — a presentation-preparation harness. 1 skill. One CLI over 17 lanes (7 built-in + 10 module) that reads a declared surface manifest and checks a talk's assets against each other: canonical terms, jargon glosses, retired vocabulary, inter-slide dependencies, pacing, get/put round-trips, adjacent duplication, slide relations, geometry, attribute consistency, fonts, diagrams, slide refs, and screen-parity between manuscript and deck. Verdict contract: exit 0 pass / 1 findings / 2 cannot-judge — a surface that could not be read is UNMEASURED, never 0. Promoted out of fh-commons 2026-09-13 after the skill grew past one role (routing / lane modules / fixtures).",
34
34
  "source": "./plugins/fh-preprep"
35
35
  }
@@ -66,6 +66,26 @@ to MP4 · a session-rail context card with per-category usage. (`/btw` opening a
66
66
  keyboard shortcut, and nested sessions, are also described by third-party write-ups of the 2026-10-14
67
67
  desktop update; a web search the same day found no source at all for the advisor.)
68
68
 
69
+ ### Desktop surfaces exercised — 2026-11-02 (one Code-tab session, CC 2.1.316, auto mode unless noted)
70
+
71
+ The rows above were names only. These were run end to end, once each unless a count is given; read them as
72
+ observations from one machine, not as documented behaviour.
73
+
74
+ | Situation | What happened | So, in FH |
75
+ |---|---|---|
76
+ | a Bash `cd` that ends somewhere else | four paths tried, one call each: the repo's `scripts/` and a folder added to the session **persisted** into the next call and the app reported the session's primary working directory moved; the session scratchpad and the repo's parent folder were reset after the call | give later `git` commands an explicit directory (`git -C <repo>`, absolute paths) rather than relying on where the last call ended. In the same session the SubagentStop hook still wrote to the starting repo while the primary directory was moved, so hooks did not follow the `cd` there |
77
+ | wait for a PR's CI, then merge | the app bound a PR opened from the session without being asked. Its tool description says the monitor wakes the session on CI failure, merge conflict or review comment; success is not in that list, and none arrived on success here. Turning the monitor on was refused twice by the auto-mode classifier; the operator turned it on in the PR bar. The app's cached check counts lagged `gh pr checks` once (13 passing + 1 pending vs 15/15) | «merge when green» waits for a person to continue the session or for another notification; then run one current-status check (`gh pr checks`) before the merge verdict. The app's instructions forbid polling CI from the session |
78
+ | change this session's permission mode | lowering (bypass → auto) applied at once with no card (observed). Raising was not exercised; the tool description says it shows an approval card in every mode and is unavailable in unattended sessions | in this app a session can lower its own mode without a person; raising is documented as a person's step. That is an app behaviour to rely on only as far as its description, not a boundary FH has tested |
79
+ | plan limits from inside a session | `get_usage` returned the 5-hour and weekly windows with percent and reset time | a pacing input for long runs. No status-line run was observed from these desktop sessions: a desktop pet fed only by the status line kept a Claude value last written by a terminal session ~20 h earlier, and took a new one only when the status-line program was fed by hand |
80
+ | run a cross-family check from a desktop session | `codex` and `agy` resolved and ran from the desktop shell: one reader-doc review on each, one two-round code review on `codex` | those invocations work; the full `auto-decorrelation` skill (panel discovery, consent) was not exercised from a desktop session |
81
+ | a nested session in its own worktree writing a report into the main checkout | a Write hook refused the main-checkout path; the session wrote inside its worktree and the governor copied the file across | brief side sessions to write in their own tree and say so, or have the governor collect — FH's rule against committing FH assets from a worktree already assumes this |
82
+ | deny rules and PreToolUse hooks under `bypassPermissions` | in a scratch folder, headless, Bash tool only, 3 runs: a `permissions.deny` match, a hook exiting 2 and a hook returning `ask` each left the command unrun (marker files 0/3 each); an unmatched control ran 3/3 | in those runs, rules and exit-2 hooks stopped commands with no classifier in the loop — a result for that configuration, not a guarantee for other tools or setups. `destructive_pre_gate.sh` exited 2 only with `FH_DESTRUCTIVE_BLOCK=1`; unset, a forced branch delete went through in bypass headless runs (3 of 3). Since 2026-11-03 it reads the payload's `permission_mode` and blocks by default under `bypassPermissions` (`FH_DESTRUCTIVE_BLOCK=0` keeps it advisory); other modes are unchanged. The hook wiring lives in the gitignored project settings, so a fresh clone has none until it is installed |
83
+
84
+ Also relevant from the [CLI changelog](https://code.claude.com/docs/en/changelog) (2.1.314, dated October 30, 2026, read
85
+ 2026-11-02): it added `permissions.blockWritesOutsideWorkingDirectories`, under which the Write, Edit and NotebookEdit tools
86
+ reject paths outside the working directories in any permission mode. The scope is those three tools: it does not cover shell
87
+ writes, and whether it is on by default was not checked.
88
+
69
89
  ## Skill frontmatter `context: fork` — what it is NOT
70
90
 
71
91
  `context: fork` runs a skill body as a prompt in a new subagent (general-purpose unless `agent:` says
@@ -93,7 +113,8 @@ summary, before concluding a fork did or did not happen.
93
113
  2026-10-15; the docs' skills and model-config pages were read up to 100,000 characters (their last
94
114
  ~9k / ~17k characters unread).
95
115
  - The exact text `ultrathink` injects is not documented.
96
- - The desktop rows rest on tool and skill *names* seen in one session, not on docs or on running them;
97
- the app's surfaces roll out per account, so another install may show fewer.
116
+ - The first desktop table rests on tool and skill *names* seen in one session, not on docs or on running them;
117
+ the app's surfaces roll out per account, so another install may show fewer. The «exercised — 2026-11-02»
118
+ table was run once on one machine (counts given where more); none of it was repeated on a second install.
98
119
  - This map routes; it does not prove a session follows it. Whether a floor-tier session reaches for the
99
120
  built-in first is a separate measurement (blind sim, isolated clone, with and without this map).
@@ -702,6 +702,11 @@ not marketplace-gate alone:
702
702
  covers that class on that code — a scanner rule set that includes it, or a second review without
703
703
  that policy pointed at those call sites — and name which one ran. If no such check can run, this is
704
704
  the same applicable-but-tooling-down case as above: manual pass or explicit override, not a silent pass.
705
+ **Point it at what ships, not at the release PR.** A release PR's diff is usually the version bump
706
+ and the changelog, so a review of "the pending changes" there reads almost no shipped code and still
707
+ comes back clean. The surface for a registry publish is the shipped code between the previous release
708
+ tag and the commit being tagged — `git diff <previous-tag>..<release-commit> -- <the files[] paths>`
709
+ — and the record names that range. A clean pass over the release PR alone is not this step.
705
710
 
706
711
  > Routing vs the rows below: `/marketplace-gate` alone = "is this ready to **list on a marketplace**?";
707
712
  > `/public-surface-audit` alone = reactive "did I leak a token?"; **this gate** = the *act of going
@@ -1266,6 +1271,8 @@ Card update is NOT a sub-step of harvest-loop — even if harvest-loop is skippe
1266
1271
  **Agent View pre-read (mandatory when session ran in Agent View / worktree / background job)**: Before writing the card, read your companion store's handoff files (if you keep one) to recover sub-agent completions that may not be in main session context. Skipping this step in Agent View is the root cause of "card created with stale content" bugs — the main context does not automatically see worktree-completed items.
1267
1272
 
1268
1273
  **Card update obligation** (independent obligation — regardless of harvest-loop completion): Update `reference_next_session_starter.md`.
1274
+ **Status tag per item (2026-11-03)**: every «🌅 다음에 볼 것» item in the new block opens with exactly one tag — `N. [merged|open-pr|in-flight|uncommitted|reverted|planned|operator|held] text`. The tag says what state the item is in, so the next session reads it instead of re-deriving it (merged read as open, a verified-but-uncommitted fix read as done). `session_close_check.sh` ⑤-S lists untagged items (advisory — the tag being *true* stays judgment). The tag does not change step ③ below: `merged` / `reverted` items still move to «↩️ 닫힌 것» unless the next session must act on them. Borrowed from pstack recall tags (`tracks/_meta/research_2026-11-03_pstack_video.md`).
1275
+
1269
1276
  ① **Agent View pre-read** (see above) → ② Step 0-b cross-check generates removal list → ③ Remove completed items → ④ Add new priorities → ⑤ Fix stale paths/versions → ⑥ Overwrite → ⑦ Output "BEFORE N items → AFTER M items" diff.
1270
1277
  "Delta update" not "snapshot" — completed items remaining in next session card is a bug.
1271
1278
  🟥 **그리고 그 역방향도 버그다 — «안 닫힌 것이 사라지는 것».** 재작성은 줄이는 일이 아니라 «완료를 덜어내는」 일이다: 카드에서 빠진 항목은 ⓐ `fh_completed_{date}.md` 에 완료로 적혔거나 ⓑ 카드에 «왜 뺐는지」가 적혀 있어야 하고, 둘 다 아니면 유실이다. (2026-08-24 실사고: `knowledge/shared/harness-core/claude_md_gate_details.md §CM-Card-Loss-Evidence`) 기계 앵커는 `session_close_check.sh` ⑤-C(이전 카드의 **미래 날짜**가 카드나 오늘 완료 로그에 살아 있나) — 🟥 **날짜 토큰만 보므로 날짜 없는 미완은 구조적으로 못 잡는다**(앵커지 floor 아님). 외부 근거: arXiv 2607.26637(같은 절). 같은 규율을 카드·메모리·상주 문서를 **줄이는 모든 패스**(마감 ⑤ · `/memory-hygiene` · `/salience-splitter`)에 적용한다 — «줄여라」만 있는 지시는 조용히 사실을 지운다. ⚠️ 그 연구는 반대 방향도 함께 보고한다(작은 코퍼스에서는 응축이 56.2% → 68.8% 로 **도움**) — 그래서 이 규칙은 «줄이지 마라」가 아니라 «빠진 것은 완료이거나 명시된 것이어야 한다」다.
@@ -56,6 +56,28 @@ cheap signal accumulation; weekly = one considered proposal.
56
56
  - **`claude/` branch prefix only.** Do not enable "unrestricted branch pushes" for this routine.
57
57
  - **Methodology mirror stays clean.** Daily digests live on the GitHub Issue, never in `tracks/**`
58
58
  (gitignored) and never committed to the methodology tree.
59
+
60
+ ### 3b. The operator's own machine — a narrower auto-merge (2026-11-04)
61
+
62
+ The remote routine above is unchanged. **On the hub operator's machine only**, a RECORDED standing
63
+ request (quoted words · dated lease · scope — `CLAUDE.local.md`, never a session's own initiative)
64
+ lets `scripts/selfdev_loop.sh` merge a self-dev PR unattended when **all** of these hold, each
65
+ checked mechanically after the builder has finished (the builder never grades its own merge):
66
+
67
+ 1. **Direction was human** — the PR's `request: «…»` equals, character for character, an open
68
+ operator request from a session checklist (`seed=human` in `scripts/selfdev_queue.py`).
69
+ Machine-proposed candidates (digest, absorption queue, correction moments, card `[planned]`)
70
+ open a PR and wait. This keeps goal-quench §Autonomy Ladder's «direction is always human».
71
+ 2. **Reversible by path** — every changed file is on `scripts/selfdev_merge_tier.sh`'s allow-list
72
+ (docs, knowledge outside rules/gate docs, skill docs, CATALOG, an *added* lane), ≤ 300 lines.
73
+ 3. **CI green**, and the branch's 4-axis marker carries `crossfamily: panel(…)`.
74
+ 4. **Not demoted** — an operator `Revert "selfdev: …"` on main in the last 30 days holds everything
75
+ (goal-quench §Autonomy Ladder (d), rollback feeds demotion).
76
+
77
+ What this gives up, by the operator's choice: goal-quench Path 2's «review before consumption» for
78
+ that narrow class — the review moves to the morning report (`tracks/_meta/selfdev/report_<date>.md`)
79
+ and to revert. Publish · delete · tag · history rewrite stay human on every path. A plugin user's
80
+ install does not ship this behaviour: for them the same records become an issue or PR *proposal*.
59
81
  - **Cost ceiling.** Both arms run `WebSearch`/`WebFetch`. Daily draws subscription usage and counts
60
82
  against the per-account routine daily cap; keep the daily prompt to collection-only.
61
83
  - **Cite-verify (PR #112 lesson, 2026-06-22) — do not weaken.** Any citation / source / version claim
@@ -5291,3 +5291,87 @@
5291
5291
  outcome: "3/3 as predicted — both risky scenarios not complete and named the class check; control complete with no extra check"
5292
5292
  evidence: "tracks/_meta/.axes_23_passed_docs_prepublish-security-review-policy-gap_2026-11-02.marker"
5293
5293
  tokens: "134765 + 111534 + 134559"
5294
+ - date: 2026-11-02
5295
+ agent: "general-purpose (sonnet) ×6 — blind A/B sims of the Pre-Publish 'point it at what ships' line, new text vs main text (purpose: independence)"
5296
+ task: "S1 leading scenario (14 PRs since tag named) 1+1; S2 unleading scenario (release branch, /security-review defaults to the branch diff) 2+2"
5297
+ outcome: "S1 both arms named the tag range — scenario leaked the answer, no discrimination. S2 tag..release-commit range named: new 2/2, old 0/2 (old arms said 'point it at bin/ scripts/ or the release tree'). 'Clean on the release PR completes step 3?': no in 4/4, no difference — the line adds range and record shape, not the refusal"
5298
+ evidence: "PR body of docs/prepublish-security-review-target · scratchpad sim/new.md, old.md, scenario2.txt"
5299
+ tokens: "113122 + 113710 + 113297 + 113283 + 113162 + 113163"
5300
+ - date: 2026-11-02
5301
+ agent: "general-purpose (sonnet) ×2 + web-fetch (sonnet) ×1 — builtin map desktop rows: blind A/B sim and changelog check (purpose: independence)"
5302
+ task: "sim: «merge when CI is green while the user is away» + a stray in-repo cd, routing note = main's desktop section vs main + the new exercised table; web-fetch: verify the 2.1.314 changelog line"
5303
+ outcome: "new arm: one-off gh check, monitor does not wake on success, no polling; main arm: «poll or monitor the PR's checks». cd risk named by both (no difference). Changelog 2.1.314 (Oct 30, 2026) line found verbatim"
5304
+ evidence: "PR body of docs/builtin-map-desktop-measured"
5305
+ tokens: "115132 + 113795 + 22074"
5306
+ - date: 2026-11-03
5307
+ agent: "general-purpose (sonnet) ×2 — FoD audits on a frozen export of 96d66a9: autopilot «safer bypass» promise, and full mode «FH plugged in» (purpose: independence)"
5308
+ task: "A: map autopilot/gate paths, check irreversible classes, fail direction, ledger counts. B: what full mode injects vs FH, prior P-series evidence, cheapest decisive next measurement"
5309
+ outcome: "A: Bash-path git/publish holds; MCP outside hook matchers; gate is a no-op when the app is not running; launcher-form publish (npx … npm publish) and local data-loss git commands not flagged. B: full mode carries a few FH lines + a diff-only second opinion; capability SUGGESTIVE (+8–12pp, no pre-registered threshold met), thinking style NOT MEASURED. Three claims source-grounded by the governor (matcher list, _app_running return 0, publish head match)"
5310
+ evidence: "tracks/_meta/fod_audit_2026-11-03.md"
5311
+ tokens: "244195 + 225116"
5312
+ - date: 2026-11-03
5313
+ agent: "general-purpose (sonnet) ×8 — blind A/B sims of the frontier-digest prior-art line, new SKILL vs main SKILL (purpose: independence)"
5314
+ task: "S1 .worktreeinclude item, no identifier given (2+2); S2 leakcheck item with HN id, existing asset = public-surface-audit + prepublishOnly scan (2+2)"
5315
+ outcome: "S1: no discrimination — the answer was in today's git log, all 4 checked the repo (one old arm also dropped the item for the missing identifier, a scenario defect). S2: new 2/2 grepped and closed it as already covered (prepublishOnly blocks); old 0/2 opened the repo, both left «check whether our scan blocks publish» as the candidate"
5316
+ evidence: "PR body of docs/frontier-digest-prior-art-line"
5317
+ tokens: "122609 + 122589 + 124646 + 122885 + 125135 + 125191 + 123237 + 123368"
5318
+ - date: 2026-11-03
5319
+ agent: "general-purpose (sonnet) ×4 — blind A/B sims of the card status-tag rule, excerpt with vs without the line (purpose: independence)"
5320
+ task: "write the newest card block's «🌅 다음에 볼 것» section from an 8-fact scenario (merged · open PR · uncommitted · planned · operator · reverted · held)"
5321
+ outcome: "new 2/2 tagged all 7 items with the right state; old 0/2 tagged (0/6 each). Side effect: new arms kept merged/reverted facts in 🌅 where old arms moved them to a removed-items note — folded back into the rule"
5322
+ evidence: "PR #1010 body"
5323
+ tokens: "117295 + 117327 + 118690 + 118423"
5324
+ - date: 2026-11-03
5325
+ agent: "general-purpose (sonnet) ×3 — blind A/B sims of the harvest-loop correction_moments line, new excerpt ×2 vs main excerpt ×1 (purpose: independence)"
5326
+ task: "plan a weekly harvest-loop retro (10-27..11-03) up to Step 2: commands in order and what to do with each output; nothing run"
5327
+ outcome: "new 2/2 planned correction_moments.py --since 2026-10-27, read the header limits, kept the output local, and stated «0 pairs = none found by cue words»; old 0/1 had no correction step. Contamination: arms ran git status and saw the branch and the untracked script (the old arm named «correction-moments work» from the branch) — still did not plan the step"
5328
+ evidence: "PR body of feat/correction-moments"
5329
+ tokens: "119563 + 119731 + 121067"
5330
+ - date: 2026-11-03
5331
+ agent: "general-purpose (sonnet) ×1 — today's frontier digest application candidates, read-only (purpose: context)"
5332
+ task: "read frontier_digest_2026_11_03.md, check each Immediate Application Candidate against the repo with grep, rank uncovered ones"
5333
+ outcome: "3 uncovered: live-eval transition list on by default (extend split_by_target) · harness-doctor «called but content-blind» row · Gemini 2.5 Pro re-route sweep (0 hits, doc only)"
5334
+ evidence: "tracks/_meta/morning_report_2026-11-04.md"
5335
+ tokens: "128752"
5336
+ - date: 2026-11-03
5337
+ agent: "general-purpose (sonnet) ×3 — blind A/B sims of the harness-doctor «called but content-blind» row, new excerpt ×2 vs main ×1 (purpose: independence)"
5338
+ task: "audit a toy project with two registered PreToolUse hooks (one always allows despite its comment, one really blocks force push) against the checklist excerpt"
5339
+ outcome: "new 2/2 fired the row at S-tier for the always-allow hook after feeding a known-positive and known-negative input, and passed the real guard; old 0/1 fired no row (it noticed the no-op in prose but had no row to grade it)"
5340
+ evidence: "PR body of docs/harness-doctor-content-blind"
5341
+ tokens: "118926 + 119003 + 119166"
5342
+ - date: 2026-11-03
5343
+ agent: "general-purpose (sonnet) ×2 — blind reader A/B of the live-eval «moved since previous» section (purpose: independence)"
5344
+ task: "read one nightly report (pass rate flat at 0.70, one probe regressed and one recovered) and say whether anything regressed since last night"
5345
+ outcome: "with the section: named G-TRIG-05 PASS->FAIL and G-TRIG-02 FAIL->PASS and said the flat rate hides it; without: «can't tell from this file»"
5346
+ evidence: "PR body of feat/live-eval-moved-since-previous"
5347
+ tokens: "115131 + 115035"
5348
+ - date: 2026-11-04
5349
+ agent: "general-purpose (sonnet) ×1 — consumer-side measurement of the published 3.37.0 destructive-op hook (purpose: independence)"
5350
+ task: "npm pack the published package into an empty /private/tmp dir (no install scripts, no ~/.claude), feed the hook synthetic PreToolUse JSON for bypass/default modes and FH_DESTRUCTIVE_BLOCK=0, compare its sha with main"
5351
+ outcome: "5/5 as designed — bypass force-push exit 2 · FH_DESTRUCTIVE_BLOCK=0 advisory · default advisory · git status allowed · rm -rf on an arbitrary absolute path allowed (documented residual); hook sha equals main. Caught the governor's wrong package name in the card (forge-harness → @chrono-meta/fh-gate)"
5352
+ evidence: "fh_completed_2026-11-04.md «세션 bebe7abb» · /private/tmp/fh-3370-consumer.LG6V"
5353
+ tokens: "134376"
5354
+ - date: 2026-11-04
5355
+ agent: "general-purpose (sonnet) ×1 — diagnosis of a suspected double count in .subagent_dispatch_tally.detail (purpose: context)"
5356
+ task: "find every writer of the tally/detail rows, reproduce one SubagentStop on a scratch copy, compare live counts"
5357
+ outcome: "suspicion refuted — one writer, one row per event; 2026-11-03 tally 37 = detail count 37 (governor re-checked); the «two rows» were internal-agent rows mixed into detail"
5358
+ evidence: "fh_completed_2026-11-04.md «세션 bebe7abb»"
5359
+ tokens: "129495"
5360
+ - date: 2026-11-04
5361
+ agent: "general-purpose (sonnet) ×1 — blind run of the edited frontier-digest GeekNews section (purpose: independence, floor-tier first use)"
5362
+ task: "follow only the edited section (curl -sL …/rss/news) and report bytes, entries, items and the progress fragment"
5363
+ outcome: "28,635 B · 20 entries · «GeekNews 5 items» — matched the governor's same-minute measurement; old command (no -L) was 0 B"
5364
+ evidence: "PR #1015 body · marker .axes_23_passed_fix_digest-geeknews-redirect_2026-11-04"
5365
+ tokens: "122365"
5366
+ - date: 2026-11-04
5367
+ agent: "fh-meta:beginner (sonnet) ×1 — blind cold-read of a public FoD guide draft as a non-developer and a skeptical developer (purpose: independence)"
5368
+ task: "read only docs/WHY_GATE.md (cross-refs GUIDE/README allowed) and report where a non-developer stops, claims stronger than their own evidence, open developer questions, top 3 edits"
5369
+ outcome: "flagged undefined terms (hook/MCP/PR/corpus/p) and 9 over-strong claims (unqualified 100%, «won't happen», unmeasured «continues the work») — all applied: glossary, limits beside summary numbers, «미측정» marks, softened wording"
5370
+ evidence: "FoD PR #214 body (Review section)"
5371
+ tokens: "77735"
5372
+ - date: 2026-11-05
5373
+ agent: "fh-commons:quench-challenger (opus) ×1 — Axis 2 adversarial pass on the live-eval Instrument line (purpose: independence)"
5374
+ task: "attack the staged diff of probe_live_eval_lib.py + test_probe_live_eval_lanes.sh: verdict/rc movement, previous-report reader, false claims, lane discrimination, npm-install behaviour"
5375
+ outcome: "1 MED (sim runner not fingerprinted — fixed, IF4 added) · 3 LOW (wording, IF1 skip reason, IF3 fixture path — fixed; reader negative fixture left out of scope) · verdict path confirmed untouched"
5376
+ evidence: "selfdev PR auto/selfdev-2026-11-05-1 body · marker .axes_23_passed_auto_selfdev-2026-11-05-1_2026-11-05"
5377
+ tokens: "47401"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrono-meta/fh-gate",
3
- "version": "3.36.1",
3
+ "version": "3.38.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": {
@@ -134,6 +134,11 @@
134
134
  "scripts/fixtures/frontier_digest_recall.tsv",
135
135
  "scripts/pr_merge_verified.sh",
136
136
  "scripts/test_pr_merge_verified_lanes.sh",
137
+ "scripts/test_live_eval_transitions_lanes.sh",
138
+ "scripts/correction_moments.py",
139
+ "scripts/test_correction_moments_lanes.sh",
140
+ "scripts/card_status_tags.sh",
141
+ "scripts/test_card_status_tags_lanes.sh",
137
142
  "scripts/adapters/fixtures/mate_agent_boundary_known_negative.md",
138
143
  "scripts/adapters/fixtures/mate_agent_boundary_known_positive.md",
139
144
  "scripts/adapters/fixtures/qasp_web_rules_known_negative.json",
@@ -250,6 +255,7 @@
250
255
  "scripts/rtk_gross_ablation.sh",
251
256
  "scripts/section_ref_check.py",
252
257
  "scripts/selfcheck.sh",
258
+ "scripts/selfcheck_shard_weights.txt",
253
259
  "scripts/session_checklist.py",
254
260
  "scripts/checklist_unblocked_hook.sh",
255
261
  "scripts/session_close_check.sh",
@@ -363,6 +369,7 @@
363
369
  "scripts/test_push_zone_lanes.sh",
364
370
  "scripts/test_regression_guard_ci_lanes.sh",
365
371
  "scripts/test_regression_guard_sibling_lanes.sh",
372
+ "scripts/test_regression_guard_codecomment_lanes.sh",
366
373
  "scripts/test_relay_channel_lanes.sh",
367
374
  "scripts/test_remote_marker_gate_lanes.sh",
368
375
  "scripts/test_residency_admission_lanes.sh",
@@ -417,6 +424,7 @@
417
424
  "templates/consent_classes.yaml.example",
418
425
  "templates/contrib_session.md",
419
426
  "templates/degrade_direction_scan.sh",
427
+ "templates/fh_audit_check.zsh",
420
428
  "templates/goal-quench-hook-setup.md",
421
429
  "templates/goal-quench-settings-merged.json",
422
430
  "templates/local_fh_context.md",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-commons",
3
- "version": "3.36.1",
3
+ "version": "3.38.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-meta",
3
- "version": "3.36.1",
3
+ "version": "3.38.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -2,6 +2,36 @@
2
2
 
3
3
  ### [Unreleased]
4
4
 
5
+ ### [3.38.0] — 2026-11-05
6
+
7
+ ### Added
8
+ - Self-dev loop (`scripts/selfdev_loop.sh`): an unattended loop in its own clone, with a path-tier auto-merge (#1016). `SELFDEV_NO_MERGE` opens PRs but never merges; its parsing is fail-closed, and the template plist ships it set (#1024). A builder that is not logged in is reported as a HARNESS-ERROR, and the template plist sets `USER` (#1024).
9
+ - Queue builder (`scripts/selfdev_queue.py`): a row open only in an older checklist is `seed=recheck` and cannot authorize an auto-merge. If today's frontier digest is not yet written, yesterday's is used and labelled (#1023).
10
+ - live-eval reports carry an Instrument line: git blob ids of the runner, scorer, probes and sim runner (#1025).
11
+
12
+ ### Fixed
13
+ - Regression guard F4 no longer counts Python comments as operational tokens. Only the comment text is removed, after its position is verified; any mismatch or parse failure counts unfiltered. Shell is not filtered (#1022).
14
+ - pipefail early-exit pipelines across 100+ lines (#1019, #1020) and a SIGPIPE race in a regression-guard CI lane (#1021).
15
+ - frontier-digest follows the GeekNews feedburner redirect (#1015).
16
+
17
+ ## [3.37.0] — 2026-11-04 — 권한 무시 모드에서 파괴 명령 기본 차단 · 카드 상태 태그 · 정정 순간 마이닝 · live-eval 직전 밤 대비 변화 · «측정 못 함» 을 판정으로 내던 채널 여섯
18
+
19
+ 새 스크립트와 새 레인이 들어가고 게이트 하나의 기본 동작이 조여져서 버전 정책상 minor 다.
20
+
21
+ **BREAKING (gate): `destructive_pre_gate.sh` 가 `permission_mode=bypassPermissions` 에서 `FH_DESTRUCTIVE_BLOCK` 이 비어 있으면 파괴 명령(`git branch -D` 등)을 경고가 아니라 차단한다 — 권한 무시 모드로 무인 실행하면서 그 명령을 의도한 경우 `FH_DESTRUCTIVE_BLOCK=0` 으로 종전 경고 동작을 고른다.** 다른 권한 모드와 `--stdin-raw`(페이로드 없음) 경로는 바뀌지 않았다.
22
+
23
+ In English: under `bypassPermissions` the destructive-op hook now blocks by default (set `FH_DESTRUCTIVE_BLOCK=0` to keep the old advisory behaviour); session cards get a per-item status tag with an advisory close check; a period retrospective can mine operator correction moments from the utterance ledgers; the nightly live-eval report records which probes flipped since the previous night; harness-doctor gains a «called but content-blind» row; six channels that rendered an unmeasured result as a verdict now say what they measured.
24
+
25
+ 소비자에게 닿는 변화:
26
+ - `destructive_pre_gate.sh`(#1008): 위 BREAKING 줄. 근거 실측 — 헤드리스 `--dangerously-skip-permissions` Sonnet 에 버릴 브랜치 `git branch -D` 를 시켰을 때 옛 훅(스위치 비움)은 0/3 보존(삭제됨), 새 훅은 3/3 보존이고 차단 사유가 `permission_mode=bypassPermissions` 를 말한다. 권한 무시 모드에선 경고를 읽는 사람이 실행 전에 없다는 게 이유다. `templates/settings.PreToolUse.snippet.json` 은 설명 문구만 바뀌었다.
27
+ - `card_status_tags.sh` · `session_close_check.sh ⑤-S`(#1010): 다음 세션 카드의 «다음에 볼 것» 항목마다 상태 태그 하나(`merged|open-pr|in-flight|uncommitted|reverted|planned|operator|held`)를 붙이는 규칙과, 태그 없는 항목을 나열하는 마감 점검(권고 — 막지 않는다). 태그가 참인지는 판단으로 남긴다.
28
+ - `correction_moments.py` + harvest-loop Step 1 한 줄(#1011): 발화 원장에서 운영자의 정정 낱말이 든 발화를 추리고, 다른 날 다시 나온 정정을 «아직 못 배운 규칙» 후보로 짝짓는다. 로컬 전용이며 원장 내용을 다른 모델에 보내지 않는다. 짝 0 은 «재발 없음» 이 아니다 — 정정 낱말 없는 정정은 못 잡는다(재현율 미보정, 머리말에 적음).
29
+ - `probe_live_eval.sh` · `probe_live_eval_lib.py`(#1013): 밤마다 내는 live-eval 보고서에 «Moved since previous» 절 — 직전 보고서 대비 판정이 바뀐 프로브를 적는다(통과율이 그대로여도 회귀 하나와 회복 하나가 상쇄되는 경우를 드러낸다). 직전 보고서가 없으면 «not supplied», 프로브 집합이 다르면 «not comparable» 로 적고 변화 없음과 섞지 않는다. `--prev` 와 `FH_LIVE_EVAL_PREV_DIR` 로 지정할 수 있다.
30
+ - `harness-doctor` SKILL(#1012): «호출은 되지만 입력과 무관하게 같은 판정을 내는» 게이트를 S등급 장식으로 판정하는 줄. 판정은 코드 읽기가 아니라 known-positive / known-negative 입력 두 개로 낸다.
31
+ - `frontier-digest` SKILL(#1009): 대화형 실행에서 «FH 적용 후보» 마다 레포를 grep 해 «이미 있나» 줄로 끝낸다.
32
+ - `claude_md_full_reference.md`(#1005 · #1010): Pre-Publish 3단계 보안 점검은 릴리스 PR 이 아니라 «지난 태그 → 릴리스 커밋» 출하 범위를 대상으로 한다는 문단 · 카드 상태 태그 규칙. `builtin_capability_map.md`(#1007): 데스크톱 Code 탭에서 실제로 써 본 표면 기록.
33
+ - 측정 채널 여섯(#1001): `selfcheck --shard` 의 인라인 검사 39개를 지키는 레인(S8) · `env_layer_fingerprint.sh` 의 마커 판정이 훅이 실제로 읽는 이름 하나만 본다 · detach 레인이 `chmod 000` 이 안 먹는 환경(root)에서 통과가 아니라 UNMEASURED · npm 설치본에 빠져 있던 `templates/fh_audit_check.zsh`(install-wizard 의 zshrc 단계가 늘 거절되던 원인)와 `scripts/selfcheck_shard_weights.txt` 를 `files[]` 에 넣었다.
34
+
5
35
  ### [3.36.1] — 2026-11-02 — 발화 기록 훅이 행을 조용히 잃던 것 · package-coverage 가 쓰이는 예외를 «안 쓰임» 으로 읽던 것 · Pre-Publish 보안 단계 한 문단 · 기능 지도 데스크톱 줄
6
36
 
7
37
  새 스킬 · 새 게이트 레인 · 새 행동 규칙은 없다. 수정과 문서라 버전 정책상 patch 다. 훅 설정은 바뀌지 않았고, 훅이 부르는 스크립트 한 개의 대기 동작이 바뀌었다.
@@ -102,6 +102,8 @@ Report progress: `📡 HN 15 items · arxiv 5 items · TLDR 5 items · Batch 5 i
102
102
 
103
103
  Print the synthesis result in the conversation (format in §Output-Formats): engine line + Highlights + Immediate Application Candidates + Warning Signals + collection stats.
104
104
 
105
+ **Prior-art line (interactive session only — the API-mode synthesis has no repo access, so it cannot write this).** Before an Immediate Application Candidate is printed or queued, grep the repo for its own token (backticked span / script name / rule name) and end the candidate with `이미 있나: <hit path:line | 0 hits in <dirs searched>>`. A hit is opened, not counted. A 0 with no named scope is not «absent» (not searched ≠ not there). Measured 2026-11-02: candidate «증거 빈 완료 행 세기» already existed as `session_checklist.py check`; the grep before building caught it.
106
+
105
107
  **With `--save` flag**: save to **`{FH}/tracks/_meta/frontier_digest_{YYYY_MM_DD}.md`** — underscores in
106
108
  the date, matching `date +%Y_%m_%d`. Fallback when no FH install is resolvable:
107
109
  `~/.claude/forge-harness/tracks/_meta/` → cwd `tracks/_meta/`, same filename either way. After saving:
@@ -179,10 +179,14 @@ row today; known-negative = an empty body yields the UNMEASURED line, not `0`.
179
179
  ### GeekNews — news.hada.io (RSS)
180
180
 
181
181
  ```bash
182
- curl -s --max-time 8 "https://news.hada.io/rss/news"
182
+ curl -sL --max-time 8 "https://news.hada.io/rss/news"
183
183
  ```
184
184
 
185
- Korean dev-news aggregator (HN-equivalent), AI-heavy. **The `/rss/news` path serves an Atom feed** (`<feed>`/`<entry>`, NOT RSS `<item>` — verified 2026-06-20: 50 `<entry>` elements, 0 `<item>`). Parse `<entry>` → `<title>` + `<link href>`; keep AI/agent/LLM/harness-relevant items only. `/rss/news` is a *general* dev-news feed, so if 0 AI-relevant items remain after filtering, **drop GeekNews from this run's progress line rather than padding to 5**. Endpoint verified HTTP 200 (2026-06-20); `/rss/new` and `/rss/topics` 404 — use `/rss/news`. Max 5 items.
185
+ 🟥 **`-L` is load-bearing (2026-11-04).** `/rss/news` now answers `302 → feeds.feedburner.com/geeknews-feed`;
186
+ without `-L` the body is **0 bytes**, with `-L` it was 28,635 B / 20 `<entry>` (same run). A 0-byte body is
187
+ `UNMEASURED (empty body)`, never `0 items`.
188
+
189
+ Korean dev-news aggregator (HN-equivalent), AI-heavy. **The `/rss/news` path serves an Atom feed** (`<feed>`/`<entry>`, NOT RSS `<item>` — verified 2026-06-20: 50 `<entry>` elements, 0 `<item>`; 2026-11-04 after the redirect: 20 `<entry>`, 0 `<item>`). Parse `<entry>` → `<title>` + `<link href>`; keep AI/agent/LLM/harness-relevant items only. `/rss/news` is a *general* dev-news feed, so if 0 AI-relevant items remain after filtering, **drop GeekNews from this run's progress line rather than padding to 5**. Endpoint verified HTTP 200 (2026-06-20); `/rss/new` and `/rss/topics` 404 — use `/rss/news`. Max 5 items.
186
190
 
187
191
  ### Launch channels and vendor feeds (added 2026-10-17; ids match SKILL.md Step 1)
188
192
 
@@ -196,7 +200,7 @@ were live-checked once on 2026-10-17 (HTTP status · entries counted by `<entry`
196
200
  - **Product Hunt (`product-hunt`)**: official Atom feed `https://www.producthunt.com/feed` (2026-10-17: 200, 50 `<entry>`). ⚠️ the `?category=` parameter returned a byte-near-identical feed, so it is not shown to filter — filter by keyword yourself. Parse `<entry>` title + link.
197
201
  - **Show HN (`show-hn`)**: `'https://hn.algolia.com/api/v1/search_by_date?tags=show_hn&query=<KW>&hitsPerPage=8&numericFilters=points%3E10'` (quoted; 2026-10-17: 200, 8 hits for «agent») for the same keywords as the HN leg. Cite the HN item id.
198
202
  - **GeekNews (`geeknews`)**: unchanged section above (still wired).
199
- - **Vendor changelogs/blogs (`vendor-changelogs`)**: Feeds: OpenAI `https://openai.com/news/rss.xml` (200, RSS) · Google DeepMind `https://deepmind.google/blog/rss.xml` (200, RSS). HTML pages, no feed found (200, parse with WebFetch): Anthropic `https://www.anthropic.com/news` · Gemini API changelog `https://ai.google.dev/gemini-api/docs/changelog` · Meta AI `https://ai.meta.com/blog/` · Cursor `https://cursor.com/changelog`. Keep entries newer than the previous digest; cite the entry URL.
203
+ - **Vendor changelogs/blogs (`vendor-changelogs`)**: Feeds: OpenAI `https://openai.com/news/rss.xml` (200, RSS) · Google DeepMind `https://deepmind.google/blog/rss.xml` (200, RSS). HTML pages, no feed found (200, parse with WebFetch): Anthropic `https://www.anthropic.com/news` · Gemini API changelog `https://ai.google.dev/gemini-api/docs/changelog` (⚠️ 2026-11-04: `301 → https://aistudio.google.com/docs/changelog`, a JS shell to curl — read it with WebFetch or report `UNMEASURED (js shell)`) · Meta AI `https://ai.meta.com/blog/` · Cursor `https://cursor.com/changelog`. Keep entries newer than the previous digest; cite the entry URL.
200
204
 
201
205
  Recall regression: `scripts/test_frontier_digest_recall.sh` against `scripts/fixtures/frontier_digest_recall.tsv` (structural only: each known item must have a channel in the Step 1 list; the channel assignments are expectations, not announcement evidence — do not cite the lane as measured recall).
202
206
 
@@ -115,6 +115,7 @@ size instrument* is read. The footprint rows below apply to **both** scopes and
115
115
  | **Meta-harness** growth since last run: decompose into *new sections* vs *existing-section growth* (mechanical — diff `##` section names + line counts vs the prior run's commit; **first run / no prior commit → report both as n/a, no tier**) | **Tier is decided by the two counts alone**: **S-tier iff existing-section growth > new-section growth** (the file is thickening faster than it is gaining capability); otherwise advisory, no tier. Report both numbers **and** the new sections' names — the names are *reporting output for the human*, never an input to the tier. Do not judge "was this growth capability-bearing?" per line |
116
116
  | SKILL.md > 300 lines AND no `SKILL_detail.md` | S-tier — propose `/salience-splitter` (governance-semantic split, not compression) |
117
117
  | Rules files unreferenced in CLAUDE.md | R-tier |
118
+ | **Called but content-blind** — a gate · check · lane that IS invoked (has callers) but returns the same verdict whatever its input (the third «decorative» shape, after «no caller» and «caller ignores the result»; arXiv:2610.41604) | S-tier. Detector is the existing revert/mutation probe, not a new scanner: feed one known-positive and one known-negative input and confirm the verdict differs. Same verdict for both → decorative. Reading the code is not the test — a check that greps for its own hook reference passes this row while its verdict never moves |
118
119
  | Always-loaded footprint > 40k chars (see scan below for what counts) | S-tier — **lever depends on where the chars live**: rules/detail still auto-loading → relocate to a non-loaded dir (e.g. `knowledge/shared/rules/`), pointers stay in CLAUDE.md · narrative inside CLAUDE.md → `/salience-splitter` · **behavioral content only, nothing left to relocate** → capability-level (merge/retire a governance unit) |
119
120
  | **Memory-index footprint** — the session's auto-loaded memory index (`~/.claude/projects/<slug>/memory/MEMORY.md`), reported as **its own line, never summed into the row above** | S-tier > 10k chars — **different residency, different lever**: this one is `/memory-hygiene` (archive closed items to `MEMORY_archive.md`, tighten hooks to one line), NOT `/salience-splitter`. Summing it into the CLAUDE.md row would mis-route the lever, which is exactly what the row above ties to "where the chars live". **Blind spot this closes (2026-07-20, measured)**: a fresh top-level `/context` showed **Memory files = 41.7k of 68.8k resident tokens (61%)**, of which `MEMORY.md` alone was **14.1k — 55% the size of CLAUDE.md (25.5k)** — and the footprint scan below counted **none of it**. The instrument was optimising the smaller half of the surface it claimed to measure |
120
121
  | Always-loaded footprint > 80k chars | M-tier — same lever selection, mandatory, **and never self-discharged** (see below) |
@@ -124,6 +124,7 @@ Output final proposal list → Y: PR creation / N: persist to tracks/_meta/fh_si
124
124
 
125
125
  ### Step 1 — field-harvest
126
126
  `/field-harvest --since 1d` — Fewer than 3 patterns → auto-skip + output "no session harvest targets".
127
+ **Weekly / period runs also read the operator's corrections**: `python3 scripts/correction_moments.py --since <period start>` lists correction moments from the utterance ledgers and pairs the ones that came back on a different day — a returning correction is a rule the harness has not learned yet, so each pair goes to Step 2 as a pattern. Its header prints what it excluded and its recall limit (cue words only); «0 pairs» means none found by cue words, not that none recurred. The ledgers can hold in-house context — read the output yourself, never hand it to another model.
127
128
 
128
129
  ### Step 2 — contention-layer
129
130
  `/contention-layer [field-harvest output patterns]`
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-preprep",
3
- "version": "3.36.1",
3
+ "version": "3.38.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-qp",
3
- "version": "3.36.1",
3
+ "version": "3.38.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -155,7 +155,7 @@ while IFS= read -r f; do
155
155
  [ -n "$f" ] || continue
156
156
  [ -f "$f" ] && [ -r "$f" ] || continue
157
157
  LC_ALL=C grep -Iq . "$f" 2>/dev/null || continue # 바이너리는 대상이 아니다
158
- [ -n "$(tr -d '[:space:]' < "$f" 2>/dev/null | head -c 1)" ] || continue # 공백뿐 = 내용 없음
158
+ [ -n "$(tr -d '[:space:]' < "$f" 2>/dev/null | cut -c1-1)" ] || continue # 공백뿐 = 내용 없음
159
159
 
160
160
  # 판정은 파이프를 통과시키지 않는다(PIPE-VERDICT).
161
161
  out=$(cd "$PEER_ROOT" && bun "$CLI" --from-file "$f" 2>&1); rc=$?
@@ -80,7 +80,7 @@ ORDER_writes="read-only write-local write-remote"
80
80
  _idx() { local v="$1" i=0 x; for x in $ORDER_writes; do [ "$x" = "$v" ] && { printf '%d' "$i"; return; }; i=$((i+1)); done; printf '%d' -1; }
81
81
 
82
82
  _key() { # $1=capfile $2=key
83
- sed -n "s/^[[:space:]]*$2:[[:space:]]*//p" "$1" 2>/dev/null | head -1 \
83
+ sed -n "s/^[[:space:]]*$2:[[:space:]]*//p" "$1" 2>/dev/null | sed -n 1p \
84
84
  | sed 's/[[:space:]]*$//'
85
85
  }
86
86
 
@@ -416,7 +416,7 @@ $out2"
416
416
  # 조용히 실패한다. 그 실패를 「안 썼다」로 렌더하면 [S] 를 고치면서 같은 얼굴의 결함을
417
417
  # 새로 만드는 것이다 — 실측: `core.pager` 를 심으려던 capability 가 수리 직후
418
418
  # **VERIFIED** 를 받았다(실물 레포는 깨끗해졌지만 판정이 거짓). 미측정은 미측정으로 낸다.
419
- if [ "$rc" -ge 10 ] || printf '%s' "$out" | grep -qiE 'command not found|no such file|not a git repository'; then
419
+ if [ "$rc" -ge 10 ] || printf '%s' "$out" | grep -ciE 'command not found|no such file|not a git repository' >/dev/null; then
420
420
  printf '⚠️ UNVERIFIABLE %s — 진입점이 이 샌드박스에서 못 돌았다(rc=%s). 미측정이지 통과 아님\n' "$cap" "$rc"
421
421
  return "$RC_UNVERIFIABLE"
422
422
  fi
@@ -0,0 +1,47 @@
1
+ #!/usr/bin/env bash
2
+ # card_status_tags.sh — ⑤-S: does every «다음에 볼 것» item in the newest session-card block carry
3
+ # exactly one status tag? ADVISORY: never blocks, never changes a close verdict.
4
+ #
5
+ # Why (2026-11-03, borrowed from pstack's recall tags): card items are free prose, and the next
6
+ # session has to re-derive each item's state — «merged» read as «open PR», a verified-but-uncommitted
7
+ # fix read as done. A one-word tag makes the state a typed property of the record (present · from a
8
+ # closed set), which is what a check may assert; whether the tag is TRUE stays judgment.
9
+ #
10
+ # Tag set (closed): merged · open-pr · in-flight · uncommitted · reverted · planned · operator · held
11
+ # Item form: "N. [tag] text" (the tag is the first thing after "N. ")
12
+ #
13
+ # usage: card_status_tags.sh [card] (default: tracks/_meta/reference_next_session_starter.md)
14
+ # exit: 0 = measured (tagged or not — advisory) · 3 = NOT MEASURED (no card / no section)
15
+ set -u
16
+ FH="$(cd "$(dirname "$0")/.." && pwd)"
17
+ CARD="${1:-$FH/tracks/_meta/reference_next_session_starter.md}"
18
+ TAGS='merged|open-pr|in-flight|uncommitted|reverted|planned|operator|held'
19
+
20
+ if [ ! -f "$CARD" ]; then
21
+ echo "⬜ ⑤-S status tags NOT MEASURED — card not found"
22
+ exit 3
23
+ fi
24
+
25
+ # Newest block = from line 1 to the first «---» line; the section = «## 🌅» up to the next «## ».
26
+ section=$(awk '/^---[[:space:]]*$/ {exit} /^## / {insec = ($0 ~ /^## 🌅/); next} insec' "$CARD")
27
+ if ! awk '/^---[[:space:]]*$/ {exit} /^## 🌅/ {f=1} END {exit !f}' "$CARD"; then
28
+ echo "⬜ ⑤-S status tags NOT MEASURED — newest card block has no «## 🌅» section"
29
+ exit 3
30
+ fi
31
+
32
+ items=$(printf '%s\n' "$section" | grep -E '^[0-9]+\. ' || true)
33
+ total=$(printf '%s\n' "$items" | grep -c -E '^[0-9]+\. ' || true)
34
+ if [ "$total" -eq 0 ]; then
35
+ # An empty set is not «all tagged» — say it is empty.
36
+ echo "⬜ ⑤-S status tags: 0 items in «🌅» — nothing to check (not a pass)"
37
+ exit 0
38
+ fi
39
+ good=$(printf '%s\n' "$items" | grep -c -E "^[0-9]+\. \[($TAGS)\] " || true)
40
+ bad=$((total - good))
41
+ if [ "$bad" -eq 0 ]; then
42
+ echo "✅ ⑤-S status tags: $good/$total «🌅» items tagged"
43
+ else
44
+ echo "⚠️ ⑤-S status tags: $bad/$total «🌅» items lack a tag from [$TAGS] (advisory)"
45
+ printf '%s\n' "$items" | grep -v -E "^[0-9]+\. \[($TAGS)\] " | cut -c1-90 | sed 's/^/ ↳ /'
46
+ fi
47
+ exit 0
@@ -111,7 +111,7 @@ if grep -q '<one line: the capability' "$WS/INTENT.md"; then
111
111
  fi
112
112
  # gate (a) is "artifact exists WITH real content", not just "placeholder removed" (Axis-2 LOW-6): require
113
113
  # at least one non-empty numbered success condition so a gutted INTENT.md doesn't pass.
114
- if ! awk '/^## Success conditions/{f=1;next} /^## /{f=0} f && /^[0-9]+\.[[:space:]]*[^[:space:]]/{print; exit}' "$WS/INTENT.md" | grep -q .; then
114
+ if ! awk '/^## Success conditions/{f=1;next} /^## /{f=0} f && /^[0-9]+\.[[:space:]]*[^[:space:]]/{print; exit}' "$WS/INTENT.md" | grep -c . >/dev/null; then
115
115
  # 계약을 **에러 메시지가 가르친다.** 이 형식은 CHAMBER_RUN_SKELETON.md 에 한 글자도 없어서,
116
116
  # 스켈레톤만 읽고 쓴 INTENT 가 반려됐다 — gate-locality(계약이 게이트 구현에만 산다).
117
117
  # 같은 런에서 step 6 도 같은 이유로 막혔다(N=2). 문서는 드리프트하지만 에러는 코드와 같이 산다.
@@ -190,7 +190,7 @@ fi
190
190
  # PARTIAL-EMIT listed FIRST in every alternation so it is never mis-extracted as its EMIT substring.
191
191
  VERDICT=$(grep -ioE '^VERDICT:[[:space:]]*(PARTIAL-EMIT|EMIT|KILL|CURATED|NOT-APPLICABLE)' "$WS/EMISSION_VERDICT.md" 2>/dev/null | head -1 | grep -ioE 'PARTIAL-EMIT|EMIT|KILL|CURATED|NOT-APPLICABLE' | head -1 | tr 'a-z' 'A-Z')
192
192
  # a bare "## Verdict:" prose line (run #3 style) also counts if it names KILL/EMIT
193
- [ -z "$VERDICT" ] && VERDICT=$(grep -ioE 'VERDICT[: *]+\**(PARTIAL-EMIT|EMIT|KILL|CURATED|NOT-APPLICABLE)' "$WS/EMISSION_VERDICT.md" 2>/dev/null | grep -ioE 'PARTIAL-EMIT|EMIT|KILL|CURATED|NOT-APPLICABLE' | head -1 | tr 'a-z' 'A-Z')
193
+ [ -z "$VERDICT" ] && VERDICT=$(grep -ioE 'VERDICT[: *]+\**(PARTIAL-EMIT|EMIT|KILL|CURATED|NOT-APPLICABLE)' "$WS/EMISSION_VERDICT.md" 2>/dev/null | grep -ioE 'PARTIAL-EMIT|EMIT|KILL|CURATED|NOT-APPLICABLE' | sed -n 1p | tr 'a-z' 'A-Z')
194
194
  if [ -z "$VERDICT" ]; then
195
195
  echo " ⛔ step 5 BLOCKED: no VERDICT (EMIT|PARTIAL-EMIT|KILL|CURATED|NOT-APPLICABLE) found in $WS/EMISSION_VERDICT.md, re-run."; exit 1
196
196
  fi