@chrono-meta/fh-gate 1.4.36 → 1.4.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CLAUDE.md CHANGED
@@ -373,6 +373,8 @@ Proposal format: `"I see [X]. Want me to run /[skill] to [one-line description]?
373
373
  | "research this deeply", "survey the literature", "comprehensive analysis", "deep research", "look this up thoroughly", "조사해줘", "리서치" (general topic research, not trend-scan) | **Deep-Research Capability Ladder** (`knowledge/shared/harness-core/deep_research_capability_ladder.md`) — route to the highest available rung: built-in `/deep-research` if present → else Claude `WebSearch`+`WebFetch` synthesis (tier-sensitive) → `/frontier-digest` only if it's AI/harness trend-scan. No-reinvention: FH routes, does not build a research engine. |
374
374
  | "orchestrate agents", "parallel dispatch", "combine skills", "multiple agents" | `/agent-composer` |
375
375
  | "run a simulation", "external user perspective", "internal audit", "quality check" | `/sim-conductor` |
376
+ | "broaden the grounded corpus", "add another version of the corpus", "ingest the full source as the grounding axiom", "여러 버전으로 통째로 가져와" (verbatim-relay corpus expansion — fail-closed grounding, no generator) | `/corpus-grounding-expander` |
377
+ | "broaden these personas", "what other voices fit this cast", "map these roles to a decision lens", "페르소나 후보군 더 넓혀" (persona seed → tiered judgment-mapped cast; pairs with `persona-innovator` for naming) | `/persona-roster-expander` |
376
378
  | "first install", "FH setup", "wizard", "install-wizard" | `/install-wizard` |
377
379
  | "connect a project", "map this project", "link to hub" | `auto_project_mapping.md` (mapping) |
378
380
  | "harness-ify this project", "full harness setup", "프로젝트 하네스화", "promote to full harness" | `auto_project_mapping.md §6` (Full-Harness Mode) |
package/README.md CHANGED
@@ -182,7 +182,7 @@ All four movements ship. Temper was named before it was built — deliberately (
182
182
  two more signatures keep it running: `harvest-loop` (each session's lessons become permanent skills) and
183
183
  `agent-composer` (orchestrate the dispatch). The other skills wait until you need them — full list below.
184
184
 
185
- ## 33 skills · 8 agents
185
+ ## 35 skills · 8 agents
186
186
 
187
187
  <details>
188
188
  <summary>Full asset activation check</summary>
@@ -208,6 +208,8 @@ two more signatures keep it running: `harvest-loop` (each session's lessons beco
208
208
  | `meta-prompt-builder` | Meta prompt design | "Write a prompt for the agent" |
209
209
  | `asset-placement-gate` | Hub vs project asset routing | "Should this be shared?" |
210
210
  | `cross-ecosystem-synergy-detection` | Cross-tool synergy finder | "Are my tools working together?" |
211
+ | `corpus-grounding-expander` | Multi-version public-domain corpus → verified-axiom grounding store | "Broaden the grounded corpus" |
212
+ | `persona-roster-expander` | Persona seed → tiered, judgment-mapped cast | "Broaden these personas" |
211
213
  | `convergence-loop` *(fh-commons)* | N-round convergence loops | "Single-pass seems suspicious" |
212
214
  | `token-budget-gate` *(fh-commons)* | Pre-task token cost estimate | "How expensive is this?" |
213
215
  | `mcp-circuit-breaker` *(fh-commons)* | MCP tool failure pattern detection | "MCP keeps failing" |
@@ -283,6 +285,21 @@ recommended only for harness-editing sessions. Details: `docs/OUTPUT_EVIDENCE.md
283
285
 
284
286
  If you use external CLIs (Gemini, Codex, `gh copilot`) as sidecars, their costs are billed to their own quota and not visible in CC's token display.
285
287
 
288
+ ### Hardware tiers (local sidecars are optional accelerators)
289
+
290
+ FH needs **no local LLM** — the baseline is whatever runs Claude Code. Local models are *optional*, for
291
+ the canary / cheap-breadth rungs only:
292
+
293
+ | Tier | Spec | Runs locally | What it buys |
294
+ |---|---|---|---|
295
+ | **Minimum** | anything that runs Claude Code | nothing | full methodology + gates; operating FH is ~model-flat (Opus/Sonnet/Haiku 100/97/94) |
296
+ | **Recommended** | laptop-class, ~16GB RAM | one 8B-class quantized model (e.g. an 8B / small Gemma) | a token-free **floor canary** (pre-screen before a metered sim) · offline triage · a cheap-breadth panel arm |
297
+ | **Optional (heavy)** | ~24GB VRAM GPU | a 27–32B model | a *stronger* decorrelation canary |
298
+
299
+ > Local tiers are **canaries, never the terminal verdict** — measured: the floor model missed a subtle
300
+ > adversarial case the frontier caught (and even a 27–32B local scored 1/4 on it). They lower the *cost
301
+ > of breadth*; the verdict stays frontier.
302
+
286
303
  ---
287
304
 
288
305
  ## Multi-Model Sidecar
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrono-meta/fh-gate",
3
- "version": "1.4.36",
3
+ "version": "1.4.37",
4
4
  "description": "FH runtime adapters — run FH governance, skills, and agents via Claude or Codex with machine-parseable gates.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -0,0 +1,56 @@
1
+ ---
2
+ name: corpus-grounding-expander
3
+ description: Fetches and normalizes multi-version public-domain corpora into a single verified-axiom store for verbatim-relay grounding, recording per-version license and provenance.
4
+ user-invocable: true
5
+ allowed-tools: ["Read", "Bash", "WebFetch", "Write"]
6
+ model: sonnet
7
+ ---
8
+
9
+ # corpus-grounding-expander
10
+
11
+ Builds or broadens the **grounded axiom** a relay system quotes from. When a system's output must be
12
+ constrained to verbatim source (fail-closed grounding), the corpus IS the axiom — this skill expands
13
+ that corpus from multiple public-domain versions so grounding is robust and non-biased (a quote
14
+ verified in ANY version counts), without ever adding a generator.
15
+
16
+ > Origin: harvested from the-bible (2026-06-20) — 6 public-domain Bible versions, 197k verses, as the
17
+ > fail-closed grounding axiom. Generalizes to any verbatim-relay corpus (legal statute, RFC text,
18
+ > standards). See `tracks/_contrib/field_harvest_2026-06-20_gate-locality-and-grounding-capabilities.md`.
19
+
20
+ ## Triggers
21
+ - "get more sources" / "broaden the grounded corpus"
22
+ - "add another version of the corpus"
23
+ - "ingest the full <source> as the grounding axiom"
24
+ - `/corpus-grounding-expander {source or version}`
25
+
26
+ ### Natural Language Triggers (example user phrases)
27
+ - "이 코퍼스 여러 버전으로 통째로 가져와줘"
28
+ - "the grounding DB is just a sample — pull the whole thing, multiple editions"
29
+ - "add a second public-domain edition so we're not biased to one"
30
+
31
+ ## Steps
32
+ 1. **Source + license check** — identify the public-domain source(s) and confirm each is genuinely
33
+ free to redistribute. Record the license literally (no assumption).
34
+ 2. **Fetch (retry-disciplined)** — pull each version; on transient error, backoff-retry before
35
+ declaring the source unavailable (do not silently drop a version).
36
+ 3. **Normalize to a single key schema** — map every version to the SAME addressable key
37
+ (e.g. `ref → text`) so cross-version quotation stays aligned. Write per-version files +
38
+ an `_index` recording version id, license, scope, and record count.
39
+ 4. **Wire grounding as a union** — the grounding check passes if the quote matches the canonical text
40
+ at that key in ANY version. Never add a path that generates text — grounding is quote-only.
41
+ 5. **Relay-integrity check** — confirm the consumer (the gate) QUOTES the corpus and cannot emit
42
+ un-grounded text; run a fabrication probe (a known non-source quote must fail-closed).
43
+
44
+ ## Done When
45
+ - **Each added source carries a verifiable public-domain/license record** in the index. *Check class: mandatory-pass (binary — license field present and non-empty per version).*
46
+ - **Every version is normalized to the same key schema** (cross-version keys align). *Check class: mandatory-pass (a shared sample key resolves in each version or is explicitly canon-scoped).*
47
+ - **The index declares the quote-only union contract** (grounding matches verbatim text in ANY version; no generation path) and ships a fabrication-probe spec for the consumer to run. *Check class: mandatory-pass (binary — quote-only contract + probe-spec present in the index).*
48
+
49
+ ## Guards
50
+ - **Grounding, never a generator** — the relay constraint is structural; this skill wires *grounding*.
51
+ - **License-literal** — record the actual license per source; never assume public-domain.
52
+ - **No silent version drop** — a fetch failure is a named residual in the index, not a quiet omission.
53
+
54
+ ## Independently executable
55
+ Yes — needs only a network fetch + file write. No dependency on other FH skills (a consumer gate that
56
+ reads the corpus is the system's own, not this skill's).
@@ -0,0 +1,67 @@
1
+ ---
2
+ name: persona-roster-expander
3
+ description: Expands a named persona seed into a tiered, judgment-mapped cast — tiering each persona by a domain safety rule, mapping each to a decision-lens in the user's vocabulary, then proposing additional voices with sourced anchors.
4
+ user-invocable: true
5
+ allowed-tools: ["Read", "Grep", "WebSearch", "WebFetch"]
6
+ model: sonnet
7
+ ---
8
+
9
+ # persona-roster-expander
10
+
11
+ Takes a seed set of named personas and turns it into a usable judgment cast: each persona tiered by a
12
+ domain safety rule, mapped to a concrete decision-lens, plus a few proposed additions filling
13
+ uncovered lenses with real anchors. An innovator-family skill — generative, but bounded by a
14
+ caller-supplied safety rule so the expansion stays faithful to the domain's constraints.
15
+
16
+ > Origin: harvested from the-bible (2026-06-20) — an operator persona seed (priest/nun/angel/devil/
17
+ > God/Jesus/Holy-Spirit/apostles) tiered relay-vs-lens by a relay-safety rule and mapped to
18
+ > engineering-judgment lenses, +4 sourced proposals. See
19
+ > `tracks/_contrib/field_harvest_2026-06-20_gate-locality-and-grounding-capabilities.md`.
20
+
21
+ ## Triggers
22
+ - "broaden these personas" / "what other voices fit this cast"
23
+ - "map these roles to a decision lens"
24
+ - "expand the persona roster and keep it faithful to <rule>"
25
+ - `/persona-roster-expander {seed personas + domain + safety rule}`
26
+
27
+ ### Natural Language Triggers (example user phrases)
28
+ - "내가 명명한 페르소나 후보군을 더 넓혀줘, 판단 매핑이랑 같이"
29
+ - "take these character archetypes and tell me what engineering judgment each one provides"
30
+ - "add a few more voices that cover a perspective these don't"
31
+
32
+ ## Steps
33
+ 1. **Collect the seed + the safety rule** — the named personas, the domain (what decisions they
34
+ reflect on), and the caller-supplied **tiering rule** (the hard constraint that decides what each
35
+ persona is allowed to do). Without an explicit safety rule, ask for one — do not invent authority.
36
+ 2. **Tier each persona** by the safety rule (e.g. relay/quote-only vs lens/framed-perspective). State
37
+ a one-line justification per persona; the tier caps what the persona may emit.
38
+ 3. **Map each to a decision-lens** in the **user's domain vocabulary** — what concrete judgment-
39
+ perspective does this voice provide, and when to invoke it. Pair any adversarial voice with a
40
+ constructive counter-voice (no adversary as the last word).
41
+ 4. **Propose 2–4 additions** filling lenses the seed doesn't cover (delegate net-new *name*
42
+ generation to the `persona-innovator` agent — this skill's distinct value is the tiering +
43
+ lens-mapping, not naming). For the strongest 2–3, find a real anchor (a sourced
44
+ example/reference), not a shallow stub.
45
+ 5. **Emit the tiered, lens-mapped cast** (named + proposed) as a structured artifact the system can
46
+ load (e.g. `personas.json`).
47
+
48
+ ## Done When
49
+ - **Every persona has a tier + lens label + invoke-condition.** *Check class: mandatory-pass (binary — all three fields present per persona).*
50
+ - **Each net-new proposal names a real anchor** (not a stub). *Check class: judged, pair: an anchor-existence check (the cited source/reference resolves).*
51
+ - **The tiering respects the caller's safety rule** (no persona exceeds its tier's allowed emission). *Check class: judged, pair: an adversarial read — find a persona whose mapping lets it act beyond its tier.*
52
+
53
+ ## Guards
54
+ - **Caller-supplied safety rule is mandatory** — the skill tiers by the domain's rule, it does not
55
+ invent one (inventing authority is the failure this guard prevents).
56
+ - **Adversary never last** — any devil's-advocate voice is paired with a constructive counter-voice.
57
+ - **Anchors must be real** — a proposal without a resolvable anchor is a stub, not a candidate.
58
+
59
+ ## Relationship to `persona-innovator` (agent)
60
+ `persona-innovator` *generates* names, frames, and frontier-absorption signals from scratch. This skill
61
+ takes an **existing seed** and adds the **tier-by-safety-rule + lens-to-domain mapping** — it is the
62
+ *structuring/governance* layer, not the *generator*. When net-new names are needed (Step 4), it
63
+ delegates to `persona-innovator` rather than reinventing generation.
64
+
65
+ ## Independently executable
66
+ Yes — needs only the seed + rule + (for anchors) web search. Delegates name *generation* to
67
+ `persona-innovator` when invoked, but has no hard dependency on it for the core tier+lens mapping.
@@ -135,11 +135,11 @@ Treat the adapter output as the isolated challenger result for Wave 1. This pres
135
135
 
136
136
  ---
137
137
 
138
- ## Wave 1 — 5 Mandatory Attack Angles
138
+ ## Wave 1 — 6 Mandatory Attack Angles
139
139
 
140
140
  **Execution principles**: Attacks must be based on real code/files/configs — abstract criticism prohibited.
141
141
  Assign severity: **S** (immediate blocker) / **A** (required before deployment) / **B** (improvement recommended).
142
- Call **fh-commons:quench-challenger** in isolation first (6-axis structural attack); apply 5 angles in parallel.
142
+ Call **fh-commons:quench-challenger** in isolation first (6-axis structural attack); apply 6 angles in parallel.
143
143
 
144
144
  Isolation can be achieved by Claude Code `Agent(...)` or by `fh-run --agent fh-commons:quench-challenger` under Codex. Do not run the challenger inline in the same reasoning pass when the attack result gates the defense.
145
145
 
@@ -150,6 +150,7 @@ Isolation can be achieved by Claude Code `Agent(...)` or by `fh-run --agent fh-c
150
150
  | 3 | **Bus factor** | "Single-person dependency — can it operate if that person is absent?" |
151
151
  | 4 | **Platform obsolescence** | "Does this structure survive when the external ecosystem expands or changes?" |
152
152
  | 5 | **Self-referential structure** | "Is there a closed circuit that evaluates itself by its own criteria?" |
153
+ | 6 | **Gate-locality** | "Is every safety gate readable by the actor that must enforce it? Name any gate defined only in a file/layer the enforcing runtime never loads (e.g. a rule in a Claude-only `CLAUDE.md` that a Gemini/Codex orchestrator reading `AGENTS.md` never sees; a provenance check described in a doc but absent from the write path)." (see `knowledge/shared/harness-core/gate_locality_principle.md`) |
153
154
 
154
155
  **S-grade Immediate Human Gate**: If Wave 1 contains 1+ S-grade blocker → pause, surface options (a) proceed to Wave 2 / (b) human review first / (c) abort. Do not silently enter Wave 2 with unreviewed S-grade items.
155
156