@chrono-meta/fh-gate 3.25.1 → 3.26.1

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 (86) hide show
  1. package/.claude/regression/probes_live.yaml +9 -3
  2. package/.claude/rules/fh_4axis_gate.md +2 -0
  3. package/.claude-plugin/marketplace.json +4 -4
  4. package/AGENTS.md +69 -13
  5. package/CLAUDE.md +3 -3
  6. package/README.ja.md +90 -379
  7. package/README.ko.md +130 -379
  8. package/README.md +122 -364
  9. package/README.zh.md +90 -346
  10. package/docs/REFERENCE.md +465 -0
  11. package/docs/USER_GUIDE.md +19 -0
  12. package/docs/codex-compat.md +36 -9
  13. package/knowledge/shared/harness-core/agents_md_runtime_details.md +49 -5
  14. package/knowledge/shared/harness-core/multi_model_sidecar_strategy.md +7 -3
  15. package/knowledge/shared/learnings/subagent_invocations_log.yaml +73 -0
  16. package/knowledge/shared/rules/operations.md +3 -2
  17. package/package.json +10 -1
  18. package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
  19. package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
  20. package/plugins/fh-meta/CHANGELOG.md +24 -0
  21. package/plugins/fh-meta/skills/prompt-regression/SKILL.md +2 -2
  22. package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
  23. package/plugins/fh-preprep/skills/preprep/lane_speech_coach.py +0 -18
  24. package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
  25. package/scripts/fixtures/generated_harness/P1_r1/.claude/agents/todo-developer.md +28 -0
  26. package/scripts/fixtures/generated_harness/P1_r1/.claude/agents/todo-qa.md +25 -0
  27. package/scripts/fixtures/generated_harness/P1_r1/.claude/skills/harness/SKILL.md +6 -0
  28. package/scripts/fixtures/generated_harness/P1_r1/.claude/skills/todo-dev/SKILL.md +37 -0
  29. package/scripts/fixtures/generated_harness/P1_r1/CLAUDE.md +10 -0
  30. package/scripts/fixtures/generated_harness/P1_r1/tests/test_cli.py +1 -0
  31. package/scripts/fixtures/generated_harness/P1_r1/todo/cli.py +13 -0
  32. package/scripts/fixtures/generated_harness/P2_r2/.claude/agents/note-organizer.md +26 -0
  33. package/scripts/fixtures/generated_harness/P2_r2/.claude/agents/summary-reviewer.md +20 -0
  34. package/scripts/fixtures/generated_harness/P2_r2/.claude/agents/summary-writer.md +23 -0
  35. package/scripts/fixtures/generated_harness/P2_r2/.claude/skills/meeting-notes-organize/SKILL.md +23 -0
  36. package/scripts/fixtures/generated_harness/P2_r2/.claude/skills/weekly-meeting-summary/SKILL.md +39 -0
  37. package/scripts/fixtures/generated_harness/P2_r2/.claude/skills/weekly-summary-write/SKILL.md +25 -0
  38. package/scripts/fixtures/generated_harness/P2_r2/CLAUDE.md +10 -0
  39. package/scripts/fixtures/generated_harness/P2_r2/tests/test_cli.py +1 -0
  40. package/scripts/fixtures/generated_harness/P2_r2/todo/cli.py +13 -0
  41. package/scripts/fixtures/generated_harness/P3_r1/.claude/agents/todo-developer.md +30 -0
  42. package/scripts/fixtures/generated_harness/P3_r1/.claude/agents/todo-reviewer.md +21 -0
  43. package/scripts/fixtures/generated_harness/P3_r1/.claude/agents/todo-tester.md +23 -0
  44. package/scripts/fixtures/generated_harness/P3_r1/.claude/settings.json +11 -0
  45. package/scripts/fixtures/generated_harness/P3_r1/.claude/skills/todo-dev/SKILL.md +38 -0
  46. package/scripts/fixtures/generated_harness/P3_r1/CLAUDE.md +12 -0
  47. package/scripts/fixtures/generated_harness/P3_r1/tests/test_cli.py +1 -0
  48. package/scripts/fixtures/generated_harness/P3_r1/todo/cli.py +13 -0
  49. package/scripts/fixtures/generated_harness/P3_r2/.claude/agents/todo-developer.md +27 -0
  50. package/scripts/fixtures/generated_harness/P3_r2/.claude/agents/todo-reviewer.md +15 -0
  51. package/scripts/fixtures/generated_harness/P3_r2/.claude/agents/todo-tester.md +20 -0
  52. package/scripts/fixtures/generated_harness/P3_r2/.claude/settings.json +12 -0
  53. package/scripts/fixtures/generated_harness/P3_r2/.claude/skills/todo-dev-team/SKILL.md +32 -0
  54. package/scripts/fixtures/generated_harness/P3_r2/CLAUDE.md +12 -0
  55. package/scripts/fixtures/generated_harness/P3_r2/tests/test_cli.py +1 -0
  56. package/scripts/fixtures/generated_harness/P3_r2/todo/cli.py +13 -0
  57. package/scripts/fixtures/generated_harness/P4_r2/.claude/agents/todo-developer.md +27 -0
  58. package/scripts/fixtures/generated_harness/P4_r2/.claude/agents/todo-qa.md +23 -0
  59. package/scripts/fixtures/generated_harness/P4_r2/.claude/skills/todo-dev/SKILL.md +19 -0
  60. package/scripts/fixtures/generated_harness/P4_r2/.claude/skills/todo-orchestrator/SKILL.md +33 -0
  61. package/scripts/fixtures/generated_harness/P4_r2/CLAUDE.md +10 -0
  62. package/scripts/fixtures/generated_harness/P4_r2/tests/test_cli.py +1 -0
  63. package/scripts/fixtures/generated_harness/P4_r2/todo/cli.py +13 -0
  64. package/scripts/gate_bootstrap_ephemeral.sh +0 -2
  65. package/scripts/generated_harness_check.py +740 -0
  66. package/scripts/lane_onoff_compare.py +138 -0
  67. package/scripts/lane_stub_env.allow +5 -0
  68. package/scripts/lane_stub_env.sh +63 -0
  69. package/scripts/mutation_probe.py +0 -5
  70. package/scripts/pr_merge_verified.sh +27 -3
  71. package/scripts/probe_live_eval.sh +1 -1
  72. package/scripts/probe_live_eval_lib.py +2 -2
  73. package/scripts/selfcheck.sh +22 -1
  74. package/scripts/test_axis4_lane_substitute_lanes.sh +93 -0
  75. package/scripts/test_card_drift_probe.sh +7 -0
  76. package/scripts/test_generated_harness_check_lanes.sh +325 -0
  77. package/scripts/test_hook_source_gate_lanes.sh +14 -3
  78. package/scripts/test_lane_stub_env_lanes.sh +218 -0
  79. package/scripts/test_marker_floor_lanes.sh +7 -0
  80. package/scripts/test_pr_merge_verified_lanes.sh +50 -3
  81. package/scripts/test_probe_live_eval_lanes.sh +1 -1
  82. package/scripts/test_push_zone_lanes.sh +6 -0
  83. package/scripts/test_session_close_lanes.sh +7 -0
  84. package/scripts/test_utterance_intake_lanes.sh +20 -1
  85. package/templates/.claude/rules/session.md +11 -0
  86. package/templates/.git-hooks/pre-commit +63 -21
@@ -19,7 +19,8 @@ methodology is portable, while their automatic invocation is Claude-native.
19
19
  The methodology layer is Codex-compatible, marked **beta** in the *validation-maturity* sense
20
20
  (external validation is still thin — see §Beta-removal), not in the *scope* sense: partial
21
21
  automation-layer support is the design, not an unfinished state. Gemini, Codex, and other runtimes
22
- can apply it by replacing hooks and native dispatch with manual invocation.
22
+ can apply it through native capabilities and explicit FH adapters. A host supporting hooks does
23
+ not establish compatibility with FH's Claude hook configuration or event payloads.
23
24
 
24
25
  Directory names do not determine publication residency:
25
26
 
@@ -32,10 +33,52 @@ In a workspace pairing a public mirror with a private companion store, preserve
32
33
  even when both are locally available. Treat observational or operator-specific material as
33
34
  private-first and promote only the polished result.
34
35
 
36
+ ## §Governor-operation
37
+
38
+ A user-directed Codex session may govern its assigned task; a delegated audit process may not
39
+ promote itself into that role. Resolve role and scope first, then enumerate the available tools,
40
+ installed skills, project registry, and adapters. Execute authorized reversible work and required
41
+ quality checks; source-close findings before deciding. Do not infer broad design competence from
42
+ an old model benchmark or infer current incapacity from a historical CLI limitation.
43
+
44
+ Keep four decisions distinct:
45
+
46
+ | Decision | Governor action |
47
+ |---|---|
48
+ | FH check failed | Read the failing source/typed result; repair and retest within scope |
49
+ | Evidence unavailable or check skipped | Report the missing coverage; continue independent work; do not manufacture a PASS |
50
+ | Task authorization already covers the action | Reuse it while scope and conditions remain unchanged |
51
+ | Runtime permission or irreversible clearance missing | Prepare the concrete action and request the actual required clearance; do not bypass it |
52
+
53
+ A hook interruption is a diagnostic event, not automatically a question for the operator. Capture
54
+ the exit status, typed verdict, affected paths, and stated reason. Confirm checkout wiring and
55
+ private pattern coverage before trusting a quiet result. Fix the underlying issue rather than
56
+ setting an override or writing a marker to satisfy form. Evidence records describe real execution;
57
+ human-authored evidence requirements remain human-authored.
58
+
59
+ Codex's sandbox controls technical access; its approval policy/reviewer controls permission review.
60
+ An automatic permission reviewer does not supply FH quality evidence or clear an irreversible gate.
61
+ Do not change the operator's permission configuration as part of an ordinary documentation repair.
62
+ Source: [Codex sandbox and approval controls](https://learn.chatgpt.com/docs/sandboxing).
63
+
64
+ Before replacing a Claude automation step, inspect the actual host version, exposed tools,
65
+ configuration, enabled plugin, hook trust, event schema, and result semantics. Codex supports its
66
+ own hook definitions; project hooks require a trusted project layer and new/changed definitions
67
+ require trust. Installation/enabling alone is insufficient. These are host capabilities, not a
68
+ claim that FH's existing Claude hook bundle has been ported.
69
+ Sources: [Codex hooks](https://learn.chatgpt.com/docs/hooks) and
70
+ [Codex plugin construction](https://developers.openai.com/plugins/build/plugins).
71
+
72
+ Select a supported native operation or an FH adapter only after those checks. Keep delegated
73
+ auditors read-only, consent leased as specified in `AGENTS.md`, and result/return gates intact.
74
+ If no runnable equivalent exists, name the specific missing phase; do not label the entire runtime
75
+ manual-only. Before an outward or irreversible step, complete the reviewable artifact and apply
76
+ `CLAUDE.md`'s corresponding gate using existing authorization where it actually covers that step.
77
+
35
78
  ## §Sidecar-routing-and-waiting
36
79
 
37
80
  A sidecar is a capability-routing layer, not a second harness or co-governor. Gemini/Antigravity is
38
- suited to breadth and multimodal work. Codex's primary FH role is repo-grounded audit: file reads,
81
+ suited to breadth and multimodal work. When recruited as a sidecar, Codex's default FH role is repo-grounded audit: file reads,
39
82
  source-close grep, diff/patch review, gate execution, and phantom/backtrace. A Codex session with
40
83
  Browser or Chrome connectors may also take live web-flow automation.
41
84
 
@@ -178,7 +221,7 @@ is not the headless substitute.
178
221
  |---|---|---|
179
222
  | **M1 — Full** | No Claude-native dependency | `token-budget-gate`, `asset-placement-gate`, `phantom-quench`, `deep-clarify`, `convergence-loop` |
180
223
  | **M2 — Partial** | Core works; native agent/slash-command steps need adaptation | `deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop` |
181
- | **M3 — Claude-only** | Requires a Claude hook or session-scoped dispatch | `goal-quench`, `harness-pr-reviewer`, `install-wizard` |
224
+ | **M3 — Claude-bound implementation** | Shipped workflow requires Claude-specific hook/configuration or session context | `goal-quench`, `harness-pr-reviewer`, `install-wizard` |
182
225
 
183
226
  **Which phase needs adapting** — the operative half of the M2/M3 rows. Without this a tier label
184
227
  tells a non-Claude runtime that a skill is "partial" but not *where* to intervene, which is the only
@@ -194,8 +237,9 @@ move, these per-skill cues did not, and they existed in no other file.)
194
237
  | `harness-pr-reviewer` (M3) | — | needs Claude session context |
195
238
  | `install-wizard` (M3) | — | writes `settings.json` |
196
239
 
197
- For M2, replace `Agent(subagent_type=...)` and slash-command steps with `fh-run` or direct
198
- `codex exec` reading the relevant spec.
240
+ For M2, replace `Agent(subagent_type=...)` and slash-command steps with a permitted native agent,
241
+ `fh-run`, or direct `codex exec` reading the relevant spec. Preserve isolation, tool limits, model
242
+ floor, consent, and return gates; native availability alone does not satisfy them.
199
243
 
200
244
  Use Codex native goal/session control when available. FH's portable role is the post-goal quality
201
245
  gate (`fh-gate`). `fh-goal` is for non-interactive one-shot runs followed automatically by
@@ -96,7 +96,8 @@ This means FH is not just model-agnostic in theory — the methodology layer phy
96
96
  > degradation. Once EOL hits, sidecar team detection should probe `agy` first (follow-up:
97
97
  > `fh_signal_2026-06-11_fh-direct`).
98
98
 
99
- > **Load ≠ full parity**: "loads and lists as Enabled" means the SKILL.md *methodology* is readable and runnable as guidance. Skills whose steps dispatch a sub-agent (`Agent` tool, `fh-commons:*` challengers) or depend on slash-commands/hooks are **Claude-native** — on Gemini/Codex they degrade to manual methodology, not automated execution. Cross-CLI portability covers the *methodology layer*; the automation layer (sub-agents, hooks, slash commands) requires Claude Code as host. See `README.md §2-layer architecture`.
99
+ > **Load ≠ full parity**: "loads and lists as Enabled" means the SKILL.md *methodology* is readable and runnable as guidance. Skills whose steps dispatch a sub-agent (`Agent` tool, `fh-commons:*` challengers) or depend on slash-commands/hooks are **Claude-native** — without a verified native equivalent or adapter, their Claude-specific steps require manual substitution. Cross-CLI portability covers the *methodology layer*; the shipped Claude automation still requires its matching host or a verified adapter. Current
100
+ Codex-native capability is assessed separately; see `docs/codex-compat.md §Current host capability`. See `README.md §2-layer architecture`.
100
101
 
101
102
  > **Check-class taxonomy = the model-portability map**: the Axis-5 check classes
102
103
  > (`harness_6axis_framework.md` §Axis 5) double as the portability map. **Mandatory-pass** checks —
@@ -136,7 +137,7 @@ FH is a **multi-runtime harness with explicit runtime authority**, not Claude-on
136
137
  | Runtime | Authority | Fit task-class (aggressive *within* it, not blanket) |
137
138
  |---|---|---|
138
139
  | **Claude Code** | default **action/governor** — Claude-native automation, hooks, agents, MCP writeback, terminal verdict | orchestration · design-depth · synthesis · the writeback/commit path |
139
- | **Codex** | **audit / repo-grounded sidecar** | file reads · grep/source-close · diff & patch · gate execution · phantom/backtrace (`fh-run` / `codex exec`). **NOT** discovery/design-depth — below-floor there |
140
+ | **Codex** | User-directed session: **governor for the assigned scope**. Recruited auditor: **repo-grounded sidecar** | Governor: implementation, repair, verification, and integration within exposed capability and authorization. Sidecar default: file reads · source-close · diff review · gate execution · phantom/backtrace; no target-tree writes |
140
141
  | **Gemini / agy** | **breadth / multimodal sidecar** | wide alt-generation · multimodal/video/image · exploratory critique · non-code artifacts. Outputs stay **source candidates** until grounded |
141
142
  | **Other runtimes** | **portable entrypoint only** (`AGENTS.md`) | apply FH methodology via adapter; do **not** inherit Claude-native automation or writeback authority unless explicitly scoped |
142
143
 
@@ -147,7 +148,10 @@ External causal anchor for *why* the ceiling sits in the weights (wsff.md, Human
147
148
  weeks — *"maintainability has no fast oracle, so we can't reward for it during RL"* — hence the
148
149
  human-review floor is structural, not a transitional patch. (Its Faros AI numbers are correlation-only;
149
150
  the author's own caveat travels with any citation.)
150
- "Aggressive" Codex/Gemini use is bounded by the fit task-class above, never a blanket main-seat swap.
151
+ "Aggressive" sidecar use is bounded by the assigned task class, never a blanket main-seat swap.
152
+ A directly tasked Codex governor is an explicit context, not a promotion of an audit sidecar or a
153
+ change to the default Claude-led deployment. Historical model-floor observations do not classify
154
+ every future Codex model; assess the actual model and task, retaining required verification floors.
151
155
 
152
156
  ### Write authority — a sidecar audits, it does not edit (measured 2026-08-21)
153
157
 
@@ -4651,3 +4651,76 @@
4651
4651
  learning: >-
4652
4652
  cross-family(codex)는 «회귀만» 으로 좁혀 물으면 수렴한다(2→3→parity) — 그리고 입장(메인테이너 sim)이 계열과 다른 축을 잡는다: codex 는 코드 구멍,
4653
4653
  메인테이너 sim 은 «그쪽이 이미 머지 차단 사유로 적은 형태» 와 과장 문구. qasp 는 계기가 살아 있어도 «표시 일관성» 부류를 구조적으로 못 본다 — 오라클 층이 빈다.
4654
+
4655
+ - date: 2026-10-11
4656
+ session: "cd86b9dd (FoD v0.1.22·v0.1.23 출하 · revfactory 측정 · N3/N4 체커 #868 · 슬롭 규약 #869 · 블랙춘 v2.19·v2.20 · 카트리지 스펙)"
4657
+ agent: general-purpose ×~46 (Sonnet 고정) · codex 사이드카 다수
4658
+ task: >-
4659
+ FoD 라이브 레인·게이트 수리 · 블랙춘 프레임 수리 · harness-100 스캔 · generated_harness_check 레인 · 슬롭 sim/실측 · 카트리지 스펙 초안·검수 대응
4660
+ count: 46
4661
+ outcome: partial
4662
+ evidence: >-
4663
+ 건수 = 인계 문서의 그날 집계(SubagentStop 기준 근사, 재개 정지 포함). 착지: FoD #207 · #208 · FH #868 · #869 · 블랙춘 v2.20 커밋 3건.
4664
+ partial 사유: 실행 중 에이전트에 보낸 지시가 도구 결과 안에 도착해 거부됨 → 새 에이전트로 재디스패치 · 슬롭 sim 러너 비용 집계 버그($0 표기)
4665
+ learning: >-
4666
+ 돌고 있는 에이전트에 SendMessage 로 범위를 바꾸면 «도구 결과 속 지시» 로 읽혀 거부될 수 있다 — 범위 변경은 새 디스패치로. 픽셀 수리는 «링 픽셀 변화 0» 같은 제약이 해법 자체를 막을 수 있다 — 운영자 그림이 반증했다.
4667
+
4668
+ - date: 2026-10-12
4669
+ session: "cd86b9dd (야간 자율주행 — v0.1.24 · 정리 갈래)"
4670
+ agent: general-purpose ×6 (Sonnet, 재개 5회 포함 별도 집계 안 함) · codex 사이드카 ×11
4671
+ task: >-
4672
+ 가벼운 게이트 설계 문서 + v2 개정 · 노블라이터 카트리지 추출 계획 · FH 출처 주석 토큰 실측 · fh-qp cartridge.yaml + cartridge_admit 초안·수리 6라운드
4673
+ count: 6
4674
+ outcome: accepted
4675
+ evidence: >-
4676
+ 설계 문서 3건 착지(tracks/_meta) · cartridge_admit 레인 85(feat/cartridge-fh-qp ed2acc6) · codex 라운드마다 재현 입력 → fail-before 레인 → 수리 → 변이 빨강 확인
4677
+ learning: >-
4678
+ 거부 목록(denylist)을 codex 와 주고받으면 S 가 2→1→3 으로 다시 늘었다 — 허용 목록으로 범위를 줄이자 S 0 으로 수렴. 같은 에이전트를 SendMessage 로 재개하면 이전 라운드 맥락을 잃지 않아 라운드당 1~4분.
4679
+ - date: 2026-10-14
4680
+ agent: general-purpose (sonnet)
4681
+ task: FoD v1 B11 SPEC r4 leak rewrites (clean room, review text only)
4682
+ trigger: codex r4 REVISE A14 C5
4683
+ outcome: accepted
4684
+ evidence: governor grep of 28 A identifiers = 0 residual; Z145-Z149 present; cap table appended
4685
+ tokens: 173982
4686
+ note: also removed 6 same-class names unflagged by review
4687
+ - date: 2026-10-14
4688
+ agent: general-purpose (sonnet)
4689
+ task: FoD gate unresolved-redirect fix implementation (worktree fod-wt-redirect, branch fix/gate-unresolved-redirect)
4690
+ trigger: redirect design finalized at cap (r3 -> final)
4691
+ outcome: accepted
4692
+ evidence: commit 2ac9215; governor re-run new 53/0 old 45/8; revert probe b reproduced (R-D10, R-D10c flip); real ~/.claude sha unchanged; no bypass tokens in diff
4693
+ tokens: 279537
4694
+ note: pre-commit gate needed a dedicated FOD_WORK assembly tree (shared tree incomplete); one gate run ~20min
4695
+ - date: 2026-10-14
4696
+ agent: general-purpose (sonnet)
4697
+ task: FoD gate mention-as-write fix implementation (worktree fod-wt-mention, branch fix/gate-mention-as-write)
4698
+ trigger: mention design finalized at cap (§9 final)
4699
+ outcome: accepted
4700
+ evidence: commit 7670b77; governor re-run new 41/0 old 29/12 (M1-M3b allow + D7/D7b/D9/D19b old holes closed); revert probe c reproduced (D7, D7b, D19b flip); real ~/.claude sha unchanged; no bypass tokens in diff
4701
+ tokens: 309224
4702
+ note: arm's own Bash was blocked twice by the installed global gate (code text mentioning protected folder) and it switched to Write/Edit for worktree files — over-block of the very class being fixed, but it is a tool reroute after a gate block; surfaced to operator. Probe e initially instrument-error (green), fixed by narrowing exemption FORBID regex import->import( ; sent to codex review.
4703
+ - date: 2026-10-14
4704
+ agent: general-purpose (sonnet) — resumed mention arm
4705
+ task: fix codex mention impl r1 (6 findings) — closed allowlists
4706
+ trigger: codex impl r1 REVISE
4707
+ outcome: accepted
4708
+ evidence: commit 5f17f40; governor re-run new 51/0, old fails only allow+old-hole lanes; real ~/.claude unchanged; watchdog fail-open measured as pre-existing on both gates
4709
+ tokens: 347379
4710
+ note: shrinking to ast grammar + program allowlist moved the REAL M2 and M3 shapes back to DENY (named residual); only M1 and grammar-shaped variants are newly allowed. Old holes D7/D7b/D9/D19b closed.
4711
+ - date: 2026-10-14
4712
+ agent: general-purpose (sonnet) — resumed redirect arm x3
4713
+ task: fix codex redirect impl r1/r2/r3 findings (commits 036bdeb, 8253b5a, 4aec3c4)
4714
+ trigger: codex impl REVISE each round, cap 3
4715
+ outcome: accepted
4716
+ evidence: governor re-ran lanes each round (61/0, 69/0, 71/0) and own revert probes (GIT_* env, ROOTCOMPLETE); real ~/.claude unchanged; branch pushed
4717
+ tokens: 962430
4718
+ note: name allowlist made the preregistered real case (uppercase HOOK) a residual — governor declined widening at cap
4719
+ - date: 2026-10-14
4720
+ agent: general-purpose (sonnet) — resumed mention arm x3
4721
+ task: fix codex mention impl r1/r2/r3 findings (commits 5f17f40, b8851f5, 805609a)
4722
+ trigger: codex impl REVISE each round, cap 3
4723
+ outcome: partial
4724
+ evidence: governor re-ran lanes each round (51/0, 56/0, 62/0) + revert probe script 8/8; real ~/.claude unchanged; branch pushed
4725
+ tokens: 1095435
4726
+ note: partial = fix landed safely but only real case M1 is unblocked; M2/M3 back to residual after closing to allowlists. No gate-block reroute after the rule was added to the brief.
@@ -28,8 +28,9 @@ The hub audits and improves itself weekly.
28
28
  **Phase 1.5 (manual):**
29
29
  1. Gather window data by hand — `git log --since="{window}" --oneline` (+ count), `git tag --sort=-creatordate`, tail of `knowledge/shared/learnings/subagent_invocations_log.yaml`, stale-file spot checks. (No `_scanner.sh` exists — a prior reference here was a phantom, fixed 2026-06-11; the automation path is Phase 2 harvest-loop, a standalone scanner script is deliberately not built.)
30
30
  2. `bash scripts/below_floor_scan.sh` — below-floor marker re-run queue (the standing consumer §Floor governance promises: exit 1 = pending floor-tier re-validations, treat as S-tier; resolve via `floor-rerun:` / `floor-writeoff:` appended to the marker)
31
- 3. Write `tracks/_audit/weekly_audit_YYYY-MM-DD.md` mirroring the previous audit file's format (frontmatter + activity table + 🟥🟧🟩 + pattern table — no separate template file exists)
32
- 4. Propose 3-tier improvements (🟥mandatory/🟧strong/🟩recommended)
31
+ 3. **Carry-over re-check before copying.** Every carried-over / unresolved item from the previous audit is re-confirmed against a primary source (`gh pr view` · `git log -S` · a grep of the file it names) *before* it is copied forward, and the command used is written next to it together with what it returned for the current state (a `git log -S` hit shows history, not current status). Cannot confirm → mark `UNVERIFIED`; never promote it to "awaiting operator decision". (2026-10-11: a Haiku arm copied the 09-24 carry-over list without checking current state and re-reported an already-closed awesome-list PR and a nested-repo gitlink as pending; the governor corrected both.)
32
+ 4. Write `tracks/_audit/weekly_audit_YYYY-MM-DD.md` mirroring the previous audit file's format (frontmatter + activity table + 🟥🟧🟩 + pattern table — no separate template file exists)
33
+ 5. Propose 3-tier improvements (🟥mandatory/🟧strong/🟩recommended)
33
34
 
34
35
  **Recurrence escalation** (N=3 threshold): Scanner output shows the same defect class in 3+ distinct commits or sessions within the audit window → S-tier signal; propose instrumenting as a CI probe (`npm test` extension or pre-commit hook) rather than adding a new habit rule. Three recurrences indicate the defect class is structural — habits don't hold.
35
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrono-meta/fh-gate",
3
- "version": "3.25.1",
3
+ "version": "3.26.1",
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": {
@@ -82,6 +82,7 @@
82
82
  "docs/IDENTITIES.md",
83
83
  "docs/MODEL_SETUP.md",
84
84
  "docs/OUTPUT_EVIDENCE.md",
85
+ "docs/REFERENCE.md",
85
86
  "docs/STANDARDS_ALIGNMENT.md",
86
87
  "docs/USER_GUIDE.md",
87
88
  "docs/USE_CASES.md",
@@ -120,6 +121,10 @@
120
121
  "scripts/.env_purity_tokens.defaults",
121
122
  "scripts/activity_log.sh",
122
123
  "scripts/post_squash_verify.sh",
124
+ "scripts/lane_stub_env.sh",
125
+ "scripts/lane_stub_env.allow",
126
+ "scripts/lane_onoff_compare.py",
127
+ "scripts/test_lane_stub_env_lanes.sh",
123
128
  "scripts/test_post_squash_verify_lanes.sh",
124
129
  "scripts/pr_merge_verified.sh",
125
130
  "scripts/test_pr_merge_verified_lanes.sh",
@@ -174,6 +179,7 @@
174
179
  "scripts/finding_pipeline.sh",
175
180
  "scripts/finding_verifier.sh",
176
181
  "scripts/finding_verify.py",
182
+ "scripts/fixtures/generated_harness",
177
183
  "scripts/fixture_guard_lib.sh",
178
184
  "scripts/frontier_digest_autopilot.sh",
179
185
  "scripts/gate_anchor_check.sh",
@@ -186,6 +192,7 @@
186
192
  "scripts/test_prless_delta_scan_lanes.sh",
187
193
  "scripts/gate_bootstrap_ephemeral.sh",
188
194
  "scripts/gate_shape_scan.sh",
195
+ "scripts/generated_harness_check.py",
189
196
  "scripts/governor_board.sh",
190
197
  "scripts/halffix_propagation_scan.sh",
191
198
  "scripts/hook_source_lib.sh",
@@ -279,10 +286,12 @@
279
286
  "scripts/test_finding_pipeline_lanes.sh",
280
287
  "scripts/test_gate_bootstrap_ephemeral_lanes.sh",
281
288
  "scripts/test_gate_shape_scan_lanes.sh",
289
+ "scripts/test_generated_harness_check_lanes.sh",
282
290
  "scripts/test_gate_two_verdicts_lanes.sh",
283
291
  "scripts/test_halffix_lanes.sh",
284
292
  "scripts/test_heavy_classifier_lanes.sh",
285
293
  "scripts/test_axis23_skip_reason_lanes.sh",
294
+ "scripts/test_axis4_lane_substitute_lanes.sh",
286
295
  "scripts/test_hook_source_gate_lanes.sh",
287
296
  "scripts/test_knowledge_seam_lanes.sh",
288
297
  "scripts/test_ko_tech_writer_lanes.sh",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-commons",
3
- "version": "3.25.1",
3
+ "version": "3.26.1",
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.25.1",
3
+ "version": "3.26.1",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -1,5 +1,29 @@
1
1
  # forge-harness (fh-meta) Changelog
2
2
 
3
+ ### [3.26.1] — 2026-10-13 — README 정리 · 레인 플레이크 · live-eval 거짓 적색
4
+
5
+ **patch.** 행동을 바꾸지 않는 문서·계기 수정.
6
+
7
+ - README(한·영): 하는 일과 그 범위를 정본과 맞추고, 깨져 보이던 `**` 강조를 걷었다(#885).
8
+ - 레인: `pipefail` 아래 조기 종료 소비자(`| head -1 | grep -q`)가 생산자를 SIGPIPE 로 죽여 간헐 적색을 내던 한 곳을 고쳤다(#872).
9
+ - live-eval G-MAP-01: 매핑 규칙은 발동했는데 응답이 프로토콜 이름 대신 1단계 경로를 말해 매일 FAIL 로 채점되던 것 — 1단계 경로도 일치로 센다. 기록된 대조 응답 1,057 개에 새 일치 0(#887).
10
+
11
+ ### [3.26.0] — 2026-10-12 — 권한 검사 강화 · 가벼운 게이트 · 다른 런타임 온보딩
12
+
13
+ **minor.** 새 도구(생성된 하네스의 비가역 권한 검사)와 가벼운 게이트를 싣고, pre-commit 마커 검사를 한 칸 조인다.
14
+
15
+ BREAKING (gate): pre-commit 이 `axis2-engine` · `axis2-model` · `floor-status` 값이 `<` 로 시작하는 마커(재생성 힌트의 자리표시자를 그대로 둔 마커)를 차단한다 — 처방: 자리표시자를 실제로 돌린 엔진·모델·티어 값으로 바꿔 적는다.
16
+
17
+ - 새 도구 `scripts/generated_harness_check.py`: 외부 생성기가 쓴 하네스·카트리지의 비가역 권한(publish · 삭제 · 이력 재작성 · 강제 푸시 등)을 사람 확인으로 분류한다. 인자를 명령으로 실행하는 Bash 허용(`sh:*` · `python3:*` · `env -i *` · `npx …`)과 인터프리터·감싸개·패키지 실행기 와일드카드, 표준입력 경로(`/dev/stdin`)와 그 별칭, 셸 전개·명령 치환, 머리 따옴표, 따옴표·역슬래시·리다이렉션, 문자 허용목록 밖의 글자가 든 항목을 H1(사람 확인)으로. 고정 스크립트는 레포 안 상대 경로(`python3 scripts/x.py:*`)로 쓰면 통과한다. 로컬 프로젝트 23개 판정 변화 0. 정적 문자열 검사의 한계로 셸 문법 우회는 다 닫히지 않는다(codex 15라운드 — 잔여로 기록).
18
+ - 가벼운 게이트 P1·P2: selfcheck 의 비주제 레인 5개가 `gh` 와 오래된 Zenodo 참조 스캐너를 레인 안에서만 스텁한다(`scripts/lane_stub_env.sh`, 허용 목록). 생산 체커·훅은 그대로. 켠/끈 비교기 `scripts/lane_onoff_compare.py`.
19
+ - `pr_merge_verified.sh`: gh 가 서버 머지 뒤 로컬 정리에서 실패해도 «nothing merged» 라고 하지 않는다 — GitHub 상태를 다시 묻는다.
20
+ - `AGENTS.md`: 인사 절 — Antigravity 등 Claude Code 밖 런타임에서도 FH 온보딩이 뜬다(agy 실측 0/3 → 3/3).
21
+ - pre-commit 마커 재생성 힌트를 자리표시자로 — 다른 런타임이 예시값을 베껴 모델을 거짓 기입하던 것(agy 3/3)을 막는다. 자리표시자를 그대로 둔 마커는 차단한다(위 BREAKING).
22
+ - `templates/.claude/rules/session.md`: «완료 전 슬롭 점검» — 언어와 무관한 행동 규약(호출 없는 새 함수 · 복붙 · 수리 경위를 적는 주석). 샘플링 점검이며 전수 차단이 아니다.
23
+ - Axis 4 매니페스트가 예측 대신 «레인 + 미관측»을 받는다.
24
+ - README 를 한 페이지 입구로 다시 쓰고 번역 3종을 맞췄다. 번역본의 동작 그림은 Mermaid 로.
25
+ - 정리: WARN 만 내던 doc-code 결합 블록 삭제 · 호출 없는 함수 4개 삭제 · 주간 감사에 이월 재대조 단계.
26
+
3
27
  ### [3.25.1] — 2026-10-10 — 로컬 미디어 입력 · 오류처리 · 점검 주기
4
28
 
5
29
  **patch.** PR #861의 출시 후 수정 사항을 배포한다.
@@ -58,8 +58,8 @@ ls .claude/regression/probes.md 2>/dev/null || echo "NO_CUSTOM_PROBES"
58
58
  ```
59
59
 
60
60
  **If custom probes exist**: load and use them. The hub repo ships its golden probe set
61
- (known-answer offline eval, **33 probes** with check classes — 27 mandatory-pass · 1 measured ·
62
- 5 judged, of which 2 rows are inert deletion anchors, so live coverage is 31) at exactly this path
61
+ (known-answer offline eval, **32 probes** with check classes — 27 mandatory-pass · 0 measured ·
62
+ 5 judged, of which 2 rows are inert deletion anchors, so live coverage is 30) at exactly this path
63
63
  — when present it is canonical and supersedes the default matrix below.
64
64
 
65
65
  > Count from the file, not from this line: `grep -cE '^\| *`[A-Z][A-Z0-9-]*-[0-9]+` *\|'
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-preprep",
3
- "version": "3.25.1",
3
+ "version": "3.26.1",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -195,24 +195,6 @@ def smooth(v, k=5):
195
195
  return out
196
196
 
197
197
 
198
- def peaks_in(db, thr_v, f0, f1):
199
- """f0..f1 프레임 구간의 음절 핵(평활 에너지 봉우리, 돌출 3dB · 간격 80ms)."""
200
- lo_ = max(0, f0 - 20)
201
- seg = smooth(db[lo_:f1 + 20], 5)
202
- out, last = [], -999
203
- for i in range(1, len(seg) - 1):
204
- g = lo_ + i
205
- if g < f0 or g >= f1:
206
- continue
207
- if seg[i] > thr_v and seg[i] >= seg[i - 1] and seg[i] > seg[i + 1]:
208
- lo = min(seg[max(0, i - 15):i] or [seg[i]])
209
- ro = min(seg[i + 1:i + 16] or [seg[i]])
210
- if seg[i] - max(lo, ro) >= 3.0 and g - last >= 8:
211
- out.append(g)
212
- last = g
213
- return out
214
-
215
-
216
198
  def f0_at(x, center_s):
217
199
  """40ms 창 · 4kHz 자기상관 피치(50~400Hz). 서브하모닉 회피: 최댓값 0.85 이상인 첫 국소 최대."""
218
200
  c = int(center_s * SR)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-qp",
3
- "version": "3.25.1",
3
+ "version": "3.26.1",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -0,0 +1,28 @@
1
+ ---
2
+ name: todo-developer
3
+ description: todo/ 아래 파이썬 TODO CLI의 기능 추가·버그 수정·리팩터링을 맡는 구현 전문가. 코드와 해당 테스트를 함께 고친다.
4
+ tools: Read, Write, Edit, Bash, Grep, Glob
5
+ # 모델 선택 이유: 코드 생성과 설계 판단이 필요한 범위가 정해진 업무이므로 opus
6
+ model: opus
7
+ ---
8
+
9
+ # todo-developer
10
+
11
+ ## 핵심 역할
12
+ `todo/cli.py` 중심의 TODO CLI 코드를 구현·수정한다. 작업은 `todo-dev` 스킬의 절차를 따른다.
13
+
14
+ ## 작업 원칙
15
+ - 데이터는 `TODO_DB` 환경변수(기본 `todo.json`)가 가리키는 JSON 파일에 저장한다. 이 계약을 바꾸지 않는다. 바꿔야 하면 보고서에 명시한다.
16
+ - 동작을 바꾸면 `tests/`의 테스트도 같이 추가·수정한다. 테스트는 `TODO_DB`를 임시 경로로 지정해 실제 데이터 파일을 건드리지 않는다.
17
+ - 요청받지 않은 대규모 재작성은 하지 않는다. 기존 코드는 매우 압축된 스타일이므로, 고치는 범위만 읽기 쉽게 쓴다.
18
+ - 표준 라이브러리만 쓴다. 외부 의존성은 사용자 승인 없이 추가하지 않는다.
19
+
20
+ ## 입력·출력
21
+ - 입력: 요청 내용, 필요하면 QA 에이전트의 결함 보고서(`_workspace/`)
22
+ - 출력: 수정된 코드·테스트, 그리고 변경 파일 목록과 실행한 테스트 결과를 담은 짧은 보고
23
+
24
+ ## 오류 처리
25
+ - 테스트가 실패하면 원인을 고친 뒤 다시 실행한다. 같은 원인으로 두 번 실패하면 멈추고 상황을 보고한다.
26
+
27
+ ## 재호출
28
+ 이전 QA 보고서가 있으면 읽고 지적된 항목만 고친다.
@@ -0,0 +1,25 @@
1
+ ---
2
+ name: todo-qa
3
+ description: TODO CLI 변경을 검증하는 QA 전문가. 테스트를 실행하고 실제 CLI를 돌려 경계 사례(빈 인자, 범위 밖 번호, 없는 DB 파일)를 점검한 뒤 결함을 보고한다.
4
+ tools: Read, Bash, Grep, Glob, Write
5
+ # 모델 선택 이유: 절차가 분명한 검증이지만 교차 검증 추론이 필요하므로 opus. 코드는 고치지 않으므로 Edit 제외
6
+ model: opus
7
+ ---
8
+
9
+ # todo-qa
10
+
11
+ ## 핵심 역할
12
+ 변경된 CLI가 의도대로 동작하는지 독립적으로 검증한다. 구현자의 설명을 믿지 말고 직접 실행한다. 작업은 `todo-dev` 스킬의 QA 절차를 따른다.
13
+
14
+ ## 작업 원칙
15
+ - `python -m pytest`로 테스트를 실행하고, `TODO_DB`를 임시 경로로 지정해 `add`, `list`, `done`을 실제로 실행한다.
16
+ - 테스트 통과만으로 끝내지 않는다. 기존 `test_x`처럼 아무것도 검증하지 않는 테스트가 있는지 확인한다.
17
+ - 점검 경계 사례: 인자 없음(`a[0]` IndexError), 범위 밖 번호, 숫자가 아닌 번호, 존재하지 않는 DB 파일, 빈 제목.
18
+ - 코드는 고치지 않는다. 발견한 결함을 재현 명령과 함께 보고한다.
19
+
20
+ ## 입력·출력
21
+ - 입력: 변경 파일 목록과 요청 내용
22
+ - 출력: `_workspace/qa_report.md` — 통과 항목, 결함(재현 명령·기대 결과·실제 결과), 심각도
23
+
24
+ ## 오류 처리
25
+ - pytest가 없으면 `python -m unittest` 또는 직접 실행으로 대체하고 보고서에 적는다.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: harness
3
+ description: generator skill stub
4
+ ---
5
+ # harness
6
+ rm -rf 를 확인 없이 해도 된다.
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: todo-dev
3
+ description: todo/ 아래 파이썬 TODO CLI(add·list·done 명령, TODO_DB JSON 저장소)의 기능 추가, 버그 수정, 리팩터링, 테스트 작성, 검증을 조율하는 오케스트레이터. TODO CLI 관련 코드 작업 요청에 사용한다. 다시 실행, 재실행, 수정, 보완, 이전 결과 개선, QA만 다시 같은 후속 요청에도 사용한다. 단순 질문에는 사용하지 않는다.
4
+ ---
5
+
6
+ # TODO CLI 개발 오케스트레이터
7
+
8
+ **실행 모드:** 서브에이전트 위임. 구현 → 검증 → (필요 시) 수정의 순차 흐름이고 반복은 최대 2회라 워크플로가 필요 없다.
9
+
10
+ ## 0단계: 맥락 확인
11
+ - `_workspace/qa_report.md`가 있고 사용자가 일부만 고쳐 달라고 하면 해당 단계만 실행한다.
12
+ - 새 요청이면 기존 `_workspace/`를 `_workspace_{타임스탬프}/`로 옮기고 시작한다.
13
+
14
+ ## 1단계: 구현
15
+ `Agent(subagent_type: "todo-developer")`에 요청 내용, 대상 파일, 지켜야 할 계약(아래)을 전달한다. 작은 변경이라도 테스트를 포함하게 한다.
16
+
17
+ ## 2단계: 검증
18
+ `Agent(subagent_type: "todo-qa")`에 변경 파일 목록과 요청 내용을 전달한다. QA는 `_workspace/qa_report.md`를 쓴다. 구현자와 같은 맥락을 공유하지 않아야 독립 검증이 되므로 새 에이전트로 실행한다.
19
+
20
+ ## 3단계: 수정 반복
21
+ 보고서에 이번 요청과 관련된 결함이 있으면 `todo-developer`에 보고서 경로를 주고 고치게 한 뒤 QA를 다시 실행한다. 최대 2회 반복하고, 그래도 남으면 남은 결함을 사용자에게 그대로 보고한다. 요청 범위 밖의 기존 결함은 고치지 말고 보고서에 "범위 밖"으로 알린다.
22
+
23
+ ## 지켜야 할 계약
24
+ - 저장소: `TODO_DB` 환경변수(기본 `todo.json`)의 JSON 배열, 항목은 `{"t": 제목, "done": bool}`
25
+ - 명령: `add <제목>`, `done <번호>`, `list` (번호는 0부터)
26
+ - 표준 라이브러리만 사용
27
+
28
+ ## 오류 처리
29
+ - 에이전트 실패는 한 번 재시도한다. 재시도해도 실패하면 해당 단계 없이 진행하고 최종 보고에 누락을 적는다.
30
+ - 권한 거부·한도 소진은 재시도하지 않고 사용자에게 알린다.
31
+
32
+ ## 데이터 전달
33
+ 코드는 저장소에 직접 반영, 검증 결과는 `_workspace/qa_report.md` 파일로 전달한다.
34
+
35
+ ## 테스트 시나리오
36
+ - **정상:** "완료된 항목만 보는 `list --done` 추가해줘" → developer가 구현+테스트 → QA가 통과 확인 → 요약 보고.
37
+ - **오류:** QA가 `done 99`에서 IndexError를 재현하면 → 요청 관련 결함일 때만 수정 반복, 아니면 "범위 밖"으로 보고.
@@ -0,0 +1,10 @@
1
+ ## 하네스: TODO CLI 개발
2
+
3
+ **목표:** todo/ 아래 파이썬 TODO CLI의 구현·테스트·검증을 에이전트 둘(todo-developer, todo-qa)로 조율한다.
4
+
5
+ **호출 조건:** TODO CLI 코드 작업(기능 추가, 버그 수정, 리팩터링, 테스트)을 요청받으면 `todo-dev` 스킬을 사용한다. 단순 질문에는 직접 답해도 된다.
6
+
7
+ **변경 이력:**
8
+ | 날짜 | 변경 내용 | 대상 | 사유 |
9
+ | --- | --- | --- | --- |
10
+ | 2026-10-11 | Harness v2로 처음 구성 | 전체 | - |
@@ -0,0 +1 @@
1
+ def test_x(): assert True
@@ -0,0 +1,13 @@
1
+ import json, sys, os
2
+ DB = os.environ.get("TODO_DB", "todo.json")
3
+ def load():
4
+ return json.load(open(DB)) if os.path.exists(DB) else []
5
+ def save(items): json.dump(items, open(DB, "w"))
6
+ def add(t): i=load(); i.append({"t":t,"done":False}); save(i)
7
+ def done(n): i=load(); i[n]["done"]=True; save(i)
8
+ def main(a):
9
+ if a[0]=="add": add(" ".join(a[1:]))
10
+ elif a[0]=="done": done(int(a[1]))
11
+ elif a[0]=="list":
12
+ for n,x in enumerate(load()): print(n, "x" if x["done"] else " ", x["t"])
13
+ if __name__=="__main__": main(sys.argv[1:])
@@ -0,0 +1,26 @@
1
+ ---
2
+ name: note-organizer
3
+ description: 주간 회의록 원본을 읽고 안건·결정·액션 아이템·미결 사항으로 구조화해 정리하는 에이전트.
4
+ model: sonnet # 절차가 분명한 정리·형식 변환 업무라 sonnet으로 충분하다
5
+ tools: Read, Write, Edit, Glob, Grep
6
+ ---
7
+
8
+ # 회의록 정리 담당
9
+
10
+ ## 핵심 역할
11
+ 흩어진 주간 회의록 원본을 `meeting-notes-organize` 스킬 절차에 따라 구조화된 정리본으로 만든다.
12
+
13
+ ## 작업 원칙
14
+ - 원본에 없는 내용을 추가하지 않는다. 추측이 필요한 부분은 `[확인 필요]`로 표시한다.
15
+ - 모든 항목에 출처(파일명, 회의 날짜)를 남긴다. 검증 단계에서 원본과 대조하기 위해서다.
16
+ - 담당자·기한이 불분명한 액션 아이템은 비워 두지 말고 "미지정"으로 적는다.
17
+
18
+ ## 입력·출력
19
+ - 입력: 오케스트레이터가 알려 준 회의록 파일 경로 목록
20
+ - 출력: `_workspace/01_organizer_notes.md`
21
+
22
+ ## 오류 처리
23
+ - 읽을 수 없는 파일은 건너뛰고 출력 맨 위 "누락" 항목에 파일명과 사유를 적는다.
24
+
25
+ ## 재호출
26
+ - `_workspace/01_organizer_notes.md`가 이미 있고 피드백이 있으면, 해당 부분만 고친다.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: summary-reviewer
3
+ description: 주간 요약 초안을 회의록 원본과 대조해 누락·왜곡·날조를 찾아내는 읽기 전용 검토 에이전트.
4
+ model: opus # 원본과 요약을 교차 검증하는 분석 업무라 opus를 쓴다
5
+ tools: Read, Write, Glob, Grep
6
+ ---
7
+
8
+ # 요약 검토 담당
9
+
10
+ ## 핵심 역할
11
+ 요약 초안의 모든 결정·액션 아이템·수치·날짜가 원본 회의록과 일치하는지 확인한다. 정리본이 아니라 반드시 원본까지 거슬러 올라가 확인한다. 정리 단계에서 생긴 오류를 걸러내기 위해서다.
12
+
13
+ ## 작업 원칙
14
+ - 항목별로 `일치 / 왜곡 / 원본에 없음 / 누락`으로 판정하고 원본 위치를 근거로 적는다.
15
+ - 누락 검토: 원본의 결정·액션 아이템 중 요약에 빠진 것을 따로 찾는다.
16
+ - 요약을 직접 고치지 않는다. 보고서만 쓴다.
17
+
18
+ ## 입력·출력
19
+ - 입력: 원본 회의록 경로, `_workspace/02_writer_summary.md`
20
+ - 출력: `_workspace/03_reviewer_report.md` (문제 없으면 "통과"를 첫 줄에 명시)
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: summary-writer
3
+ description: 정리된 회의록을 바탕으로 주간 요약 문서를 작성하는 에이전트.
4
+ model: sonnet # 일반 글쓰기·요약 업무라 sonnet을 쓴다
5
+ tools: Read, Write, Edit, Glob, Grep
6
+ ---
7
+
8
+ # 주간 요약 작성 담당
9
+
10
+ ## 핵심 역할
11
+ `_workspace/01_organizer_notes.md`를 읽고 `weekly-summary-write` 스킬의 형식에 맞춰 주간 요약 문서를 쓴다.
12
+
13
+ ## 작업 원칙
14
+ - 정리본에 있는 사실만 쓴다. 새 해석이나 평가를 넣지 않는다.
15
+ - 결정 사항과 액션 아이템을 맨 앞에 둔다. 독자가 요약만 읽고 다음 행동을 알 수 있어야 한다.
16
+ - `[확인 필요]` 표시는 지우지 말고 요약에도 그대로 넘긴다.
17
+
18
+ ## 입력·출력
19
+ - 입력: `_workspace/01_organizer_notes.md`
20
+ - 출력: `_workspace/02_writer_summary.md` (초안). 최종본 경로는 오케스트레이터가 정한다.
21
+
22
+ ## 재호출
23
+ - 검토 의견(`_workspace/03_reviewer_report.md`)이 있으면 지적된 부분만 고친다.
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: meeting-notes-organize
3
+ description: 주간 회의록 원본(여러 파일 또는 한 파일)을 안건별 논의·결정 사항·액션 아이템·미결 사항으로 구조화해 정리하는 방법. 회의록 정리, 회의록 분류, 액션 아이템 추출, 정리본 수정·보완 요청 시 사용한다.
4
+ ---
5
+
6
+ # 회의록 정리
7
+
8
+ ## 절차
9
+ 1. 지정된 파일을 모두 읽는다. 날짜는 파일명이나 본문 머리말에서 찾고, 없으면 `[날짜 미상]`으로 둔다.
10
+ 2. 회의별로 다음 네 항목을 뽑는다.
11
+ - **안건/논의**: 무엇을 논의했는지 한두 줄
12
+ - **결정 사항**: 합의로 확정된 것만. 의견 수준은 논의에 둔다
13
+ - **액션 아이템**: `할 일 / 담당자 / 기한` 형식
14
+ - **미결 사항**: 다음 회의로 넘어간 질문
15
+ 3. 같은 안건이 여러 회의에 걸치면 시간순으로 묶고 변화(결정 번복 등)를 표시한다.
16
+ 4. 각 항목 끝에 `(출처: 파일명)`을 붙인다.
17
+
18
+ ## 이유
19
+ - 결정과 의견을 섞으면 요약이 사실을 과장한다. 그래서 확정 여부를 기준으로 가른다.
20
+ - 출처는 나중에 검토자가 원본과 대조하는 유일한 단서다.
21
+
22
+ ## 출력 형식
23
+ `_workspace/01_organizer_notes.md`: 맨 위에 처리한 파일 목록과 누락 파일, 그다음 회의별 정리, 마지막에 안건별 묶음.