@chrono-meta/fh-gate 2.13.0 → 2.15.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 (90) hide show
  1. package/.claude/rules/fh_4axis_gate.md +35 -1
  2. package/.claude-plugin/marketplace.json +2 -2
  3. package/AGENTS.md +50 -0
  4. package/CLAUDE.md +14 -1
  5. package/README.ja.md +3 -3
  6. package/README.ko.md +3 -3
  7. package/README.md +4 -4
  8. package/README.zh.md +3 -3
  9. package/docs/ETHOS.md +21 -0
  10. package/docs/IDENTITIES.md +83 -0
  11. package/knowledge/shared/harness-core/fh_detail_protocols.md +77 -1
  12. package/knowledge/shared/harness-core/measurement-integrity-checklist.md +80 -0
  13. package/knowledge/shared/harness-core/ship_readiness_gate.md +199 -5
  14. package/knowledge/shared/learnings/subagent_invocations_log.yaml +173 -0
  15. package/knowledge/shared/rules/multi_session_close_protocol.md +7 -1
  16. package/package.json +23 -2
  17. package/plugins/fh-commons/.claude-plugin/plugin.json +2 -2
  18. package/plugins/fh-commons/skills/preprep/README.md +45 -0
  19. package/plugins/fh-commons/skills/preprep/SKILL.md +214 -0
  20. package/plugins/fh-commons/skills/preprep/canon_terms.example.yaml +36 -0
  21. package/plugins/fh-commons/skills/preprep/fixtures/adjdup_known_negative.md +7 -0
  22. package/plugins/fh-commons/skills/preprep/fixtures/adjdup_known_positive.md +8 -0
  23. package/plugins/fh-commons/skills/preprep/fixtures/progression_known_negative.md +13 -0
  24. package/plugins/fh-commons/skills/preprep/fixtures/progression_known_positive.md +13 -0
  25. package/plugins/fh-commons/skills/preprep/fixtures/promise_known_negative.md +9 -0
  26. package/plugins/fh-commons/skills/preprep/fixtures/promise_known_positive.md +7 -0
  27. package/plugins/fh-commons/skills/preprep/interslide_deps.py +223 -0
  28. package/plugins/fh-commons/skills/preprep/jargon_terms.example.yaml +40 -0
  29. package/plugins/fh-commons/skills/preprep/lane_adjacent_dup.py +86 -0
  30. package/plugins/fh-commons/skills/preprep/lane_progression.py +81 -0
  31. package/plugins/fh-commons/skills/preprep/lane_promise.py +121 -0
  32. package/plugins/fh-commons/skills/preprep/ooxml/c1_baseline.txt +12 -0
  33. package/plugins/fh-commons/skills/preprep/ooxml/gate.py +164 -0
  34. package/plugins/fh-commons/skills/preprep/preprep.py +789 -0
  35. package/plugins/fh-commons/skills/preprep/presentation_checklist.md +310 -0
  36. package/plugins/fh-commons/skills/preprep/surfaces.example.yaml +148 -0
  37. package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
  38. package/plugins/fh-meta/CHANGELOG.md +140 -0
  39. package/plugins/fh-meta/skills/install-wizard/SKILL.md +39 -0
  40. package/scripts/com.forge-harness.daily-report.plist +44 -0
  41. package/scripts/context_continuity_score.sh +894 -0
  42. package/scripts/daily_report.sh +208 -0
  43. package/scripts/digest_landing_check.sh +71 -0
  44. package/scripts/directional_diff_gate.sh +11 -4
  45. package/scripts/fh_session_load.sh +19 -0
  46. package/scripts/field_canon_preload.sh +44 -0
  47. package/scripts/fixture_guard_lib.sh +55 -0
  48. package/scripts/lane_runner_check.sh +34 -1
  49. package/scripts/launchd_wiring_check.sh +182 -0
  50. package/scripts/mapped_tracks.sh +69 -0
  51. package/scripts/novelty_claim_check.sh +5 -1
  52. package/scripts/package_coverage_check.sh +39 -0
  53. package/scripts/portability_lint.sh +117 -0
  54. package/scripts/prepush_guard_check.sh +2 -2
  55. package/scripts/public_surface_scan_files.sh +36 -1
  56. package/scripts/selfcheck.sh +171 -1
  57. package/scripts/session_close_check.sh +17 -0
  58. package/scripts/shell_name_boundary_scan.sh +30 -0
  59. package/scripts/sim_isolated_run.sh +484 -0
  60. package/scripts/test_branch_claim_lanes.sh +8 -3
  61. package/scripts/test_env_purity_lanes.sh +4 -1
  62. package/scripts/test_lane_runner_lanes.sh +75 -0
  63. package/scripts/test_mapped_tracks_lanes.sh +64 -2
  64. package/scripts/test_marker_address_lanes.sh +78 -0
  65. package/scripts/test_marker_soul_check_lanes.sh +36 -0
  66. package/scripts/test_memory_link_check.sh +3 -1
  67. package/scripts/test_node_check_lanes.sh +5 -2
  68. package/scripts/test_node_infra_delta_lanes.sh +3 -1
  69. package/scripts/test_peer_worktree_detect_lanes.sh +3 -1
  70. package/scripts/test_precommit_staged_drift_lanes.sh +91 -0
  71. package/scripts/test_preprep_adjacent_dup_lanes.sh +57 -0
  72. package/scripts/test_preprep_drift_anchor.sh +65 -0
  73. package/scripts/test_preprep_progression_lanes.sh +53 -0
  74. package/scripts/test_preprep_promise_lanes.sh +56 -0
  75. package/scripts/test_preprep_retired_lanes.sh +54 -0
  76. package/scripts/test_prepush_destructive_lanes.sh +5 -2
  77. package/scripts/test_prepush_stdin_integrity.sh +2 -2
  78. package/scripts/test_regression_guard_ci_lanes.sh +4 -1
  79. package/scripts/test_selfcheck_state_lanes.sh +19 -4
  80. package/scripts/test_session_close_lanes.sh +5 -5
  81. package/scripts/test_sim_isolated_run_lanes.sh +265 -0
  82. package/scripts/test_skill_canon_preload_lanes.sh +58 -0
  83. package/scripts/test_target_freeze_lanes.sh +3 -1
  84. package/scripts/test_verdict_watermark_lanes.sh +427 -0
  85. package/scripts/test_wizard_snippet_merge_lanes.sh +4 -1
  86. package/scripts/universal_guard_check.sh +1 -1
  87. package/templates/.git-hooks/pre-commit +426 -8
  88. package/templates/.git-hooks/pre-push +8 -3
  89. package/templates/predelete_check.sh +4 -2
  90. package/templates/regression_guard.sh +7 -1
@@ -199,6 +199,44 @@ intended default needs a `settings.json` edit, propose it in this step with the
199
199
  it only on approval. Do not change settings silently on the strength of the doctrine alone — the
200
200
  doctrine says dispatch is the default posture, not that the wizard may edit a user's config unasked.
201
201
 
202
+ ### Step 3-E. Sidecar Panel — measure it once, here, instead of remembering it forever
203
+
204
+ Step 3-D settles *whether you may dispatch*. This step settles **whether there is anyone of a
205
+ different model family to dispatch TO** — and until now the wizard never asked. Measured
206
+ 2026-08-29 by a cross-family audit (codex, control-paired): **zero `sidecar_calibrate` references in
207
+ either wizard file**, while the same install negotiates dispatch consent in detail. The gate that
208
+ depends on this — `CLAUDE.md §Field-Harness Load-Bearing Change Gate` — degrades **fail-closed** when
209
+ no different-family auditor is reachable, so "is one reachable?" is a question every install answers,
210
+ and today answers **from memory**. `scripts/sidecar_calibrate.sh` opens with exactly that complaint:
211
+ *"A panel you have not probed is not a panel; it is an assumption with a hostname."*
212
+
213
+ **Ask first — this costs real API calls** (3 short probes per runtime), which is why it is a
214
+ consent step and not a silent probe:
215
+
216
+ > *"크로스패밀리 사이드카(codex · agy · 로컬 ollama)가 이 머신에서 실제로 도는지 지금 한 번
217
+ > 재둘까? 짧은 프로브 3개씩이라 비용은 작고, 안 재면 나중에 게이트가 «기억으로» 답하게 돼."*
218
+
219
+ On approval:
220
+
221
+ ```bash
222
+ bash scripts/sidecar_calibrate.sh # or --only codex|agy to scope
223
+ ```
224
+
225
+ Record the final `PANEL:` line — that is the line a marker's `crossfamily:` leg quotes. Three
226
+ outcomes, and **each is a valid recorded answer**:
227
+
228
+ | Result | What to write down |
229
+ |---|---|
230
+ | `PANEL: <runtimes>` | the panel exists — markers may claim `panel(<families>)` |
231
+ | `PANEL:` empty | **no different-family auditor** — this install's load-bearing changes degrade to `DEGRADED_SINGLE_FAMILY`, and that is now a *measured* value rather than an assumed one |
232
+ | declined / not run | write **that** down, so the next session knows the panel is `UNKNOWN` — *did not look* is a distinct enum value from *could not* on purpose |
233
+
234
+ 🟥 **`REACHABLE` is not `PIN-OK`.** The calibrator separates them because a runtime can answer
235
+ happily while serving a different model than the one pinned (measured 2026-07-30: agy pinned to
236
+ `gemini-3.1-pro-high` answered as Gemini 3.6 Flash, silently). A runtime marked `UNTRUSTED-PIN`
237
+ still runs — it just cannot carry a claim about *which family* reviewed. Record the verdict, not
238
+ just the fact that something answered.
239
+
202
240
  ⚠️ **The lease is honoured by reading, not by machinery.** `scripts/consent_registry_check.sh`
203
241
  enforces leases for *registered consent classes*, and this grant is not one of those — say so when
204
242
  recording it rather than implying an expiry alarm exists.
@@ -318,6 +356,7 @@ On Claude API / MCP failure → refer to [`references/fallback-guide.md`](../../
318
356
  SUBSTITUTED values (no literal "{FH_DIR}" in the target file)
319
357
  or explicitly declined and the decline recorded (mandatory-pass)
320
358
  ☐ Step 3-D dispatch consent recorded in the three-part form
359
+ ☐ Step 3-E sidecar panel measured (or the decline recorded) — never left to memory
321
360
  (quoted words · dated lease · scope) or a recorded decline —
322
361
  a two-part record is invalid and counts as absent (mandatory-pass)
323
362
  ☐ Summary output: "N items installed, M items skipped" where
@@ -0,0 +1,44 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <!-- Replace every /path/to/... below with your own absolute paths before installing -->
6
+ <!-- 또는: bash scripts/launchd_wiring_check.sh render-daily > ~/Library/LaunchAgents/com.forge-harness.daily-report.plist -->
7
+ <key>Label</key>
8
+ <string>com.forge-harness.daily-report</string>
9
+
10
+ <key>ProgramArguments</key>
11
+ <array>
12
+ <string>/bin/bash</string>
13
+ <string>/path/to/forge-harness/scripts/daily_report.sh</string>
14
+ </array>
15
+
16
+ <!-- 매일 07:30. 잠자는 중이면 launchd 가 깨어난 뒤 한 번 돌린다(정각 보장 아님). -->
17
+ <key>StartCalendarInterval</key>
18
+ <dict>
19
+ <key>Hour</key><integer>7</integer>
20
+ <key>Minute</key><integer>30</integer>
21
+ </dict>
22
+
23
+ <key>RunAtLoad</key>
24
+ <false/>
25
+
26
+ <key>StandardOutPath</key>
27
+ <string>/path/to/forge-harness/tracks/_meta/logs/daily_report_out.log</string>
28
+ <key>StandardErrorPath</key>
29
+ <string>/path/to/forge-harness/tracks/_meta/logs/daily_report_err.log</string>
30
+
31
+ <key>EnvironmentVariables</key>
32
+ <dict>
33
+ <key>PATH</key>
34
+ <string>/path/to/home/.local/bin:/usr/local/bin:/usr/bin:/bin</string>
35
+ <key>HOME</key>
36
+ <string>/path/to/home</string>
37
+ <!-- 🟥 author 필터: 레포 로컬 user.email 이 전역과 다르면 조용히 틀린 사람으로 걸러진다.
38
+ 리포트 헤더가 불일치를 표시하지만, 여기서 못박아 두는 편이 낫다.
39
+ 비워 두면 레포 설정을 쓴다. -->
40
+ <key>DR_AUTHOR</key>
41
+ <string></string>
42
+ </dict>
43
+ </dict>
44
+ </plist>