@chrono-meta/fh-gate 1.4.49 → 1.4.51

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 (25) hide show
  1. package/CATALOG.md +8 -2
  2. package/CHEATSHEET.md +1 -1
  3. package/CLAUDE.md +86 -15
  4. package/README.md +2 -2
  5. package/knowledge/shared/harness-core/capability_escalation_consent.md +125 -0
  6. package/knowledge/shared/harness-core/claude_md_gate_details.md +23 -0
  7. package/knowledge/shared/harness-core/fh_detail_protocols.md +23 -4
  8. package/knowledge/shared/harness-core/measurement-integrity-checklist.md +23 -3
  9. package/knowledge/shared/harness-core/multi_model_sidecar_strategy.md +29 -0
  10. package/package.json +1 -1
  11. package/plugins/fh-meta/skills/agent-composer/SKILL.md +7 -0
  12. package/plugins/fh-meta/skills/agent-composer/SKILL_detail.md +22 -0
  13. package/plugins/fh-meta/skills/auto-decorrelation/SKILL.md +10 -1
  14. package/plugins/fh-meta/skills/context-doctor/SKILL.md +3 -3
  15. package/plugins/fh-meta/skills/context-doctor/SKILL_detail.md +2 -2
  16. package/plugins/fh-meta/skills/goal-quench/SKILL.md +17 -10
  17. package/plugins/fh-meta/skills/harness-doctor/SKILL.md +2 -2
  18. package/plugins/fh-meta/skills/harvest-loop/SKILL.md +1 -1
  19. package/plugins/fh-meta/skills/install-wizard/SKILL.md +3 -1
  20. package/plugins/fh-meta/skills/phantom-quench/SKILL.md +25 -0
  21. package/plugins/fh-meta/skills/phantom-quench/SKILL_detail.md +57 -0
  22. package/plugins/fh-meta/skills/public-surface-audit/SKILL.md +36 -110
  23. package/plugins/fh-meta/skills/public-surface-audit/SKILL_detail.md +150 -0
  24. package/plugins/fh-meta/skills/{skill-splitter → salience-splitter}/SKILL.md +19 -9
  25. package/plugins/fh-meta/skills/{skill-splitter → salience-splitter}/SKILL_detail.md +6 -6
@@ -1,15 +1,25 @@
1
1
  ---
2
- name: skill-splitter
3
- description: Splits an over-loaded SKILL.md into always-loaded (SKILL.md) + on-demand (SKILL_detail.md) layers using a governance-semantic criterion not length, but when the content is needed. Connects the two files with imperative pointers. Based on paper §9.5 Protocol-Priority Split pattern. Diagnoses, classifies, splits, and verifies in one pass.
2
+ name: salience-splitter
3
+ description: Splits an over-loaded always-loaded context asset — a SKILL.md, CLAUDE.md, or memory index — into a lean always-loaded layer + an on-demand layer, using a governance-semantic criterion (not length, but when the content is needed), connected by imperative pointers. Based on paper §9.5 Protocol-Priority Split pattern. Diagnoses, classifies, splits, and verifies in one pass. Renamed from skill-splitter (old name still routes here).
4
4
  user-invocable: true
5
5
  allowed-tools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob"]
6
6
  model: sonnet
7
7
  ---
8
8
 
9
- # skill-splitter — SKILL.md Governance-Semantic Split
9
+ # salience-splitter — Governance-Semantic Context Split
10
10
 
11
- > A SKILL.md that does everything in one file is not simple — it is unscoped.
12
- > The goal is two files each smaller than the original, not one file and its appendix.
11
+ > **Renamed from `skill-splitter` (2026-07-05).** Old-name references still route here. The rename reflects
12
+ > the generalized scope: the split criterion applies to **any always-loaded context asset** a SKILL.md,
13
+ > a CLAUDE.md, or a memory index — not only skills. The label now names the substance (salience-tiering of
14
+ > always-loaded context), not one instance of it. Dogfood: applied to a memory index 2026-07-05.
15
+
16
+ > An always-loaded asset that holds everything in one layer is not simple — it is unscoped.
17
+ > The goal is a lean always-loaded layer + an on-demand layer, not one file and its appendix.
18
+
19
+ **Scope (all three share one criterion — salience: what must be in attention every load):**
20
+ - **SKILL.md** → always-loaded SKILL.md + on-demand `SKILL_detail.md`
21
+ - **CLAUDE.md** → lean rules + on-demand detail docs (imperative `> **Detail**: See …` pointers)
22
+ - **memory index** → hot `MEMORY.md` + on-demand `MEMORY_archive.md` (cold/closed/superseded entries)
13
23
 
14
24
  ## Trigger Phrases
15
25
 
@@ -19,7 +29,7 @@ model: sonnet
19
29
  | "context-doctor flagged this skill", "SKILL.md is bloated" | Post-diagnosis split |
20
30
  | "I can't see the key parts", "too much detail in the skill file" | Readability problem |
21
31
  | "separate the bash from the logic", "move the templates out" | Structural refactor request |
22
- | `/skill-splitter` | Explicit invocation |
32
+ | `/salience-splitter` | Explicit invocation |
23
33
 
24
34
  ---
25
35
 
@@ -63,7 +73,7 @@ Step 4 — Verify
63
73
 
64
74
  > **Detail**: See `SKILL_detail.md §Verification-Checklist` — pre-commit checklist table (8 checks) — read when running Step 4 verification.
65
75
 
66
- > **Detail**: See `SKILL_detail.md §Split-Execution` — step-by-step trimming procedure, SKILL_detail.md front-matter format, orphan §section check — read when executing Steps 2–3.
76
+ > **Detail**: See `SKILL_detail.md §Split-Execution` — step-by-step trimming procedure, SKILL_detail.md front-matter format, orphan-section check — read when executing Steps 2–3.
67
77
 
68
78
  > **Detail**: See `SKILL_detail.md §Classification` — ambiguous content decision algorithm, behavioral-vs-implementation test, 12 annotated examples — read when unsure which layer a section belongs to.
69
79
 
@@ -76,7 +86,7 @@ Pointers must be **imperative** (not advisory). The difference:
76
86
  | Form | Risk |
77
87
  |---|---|
78
88
  | Advisory: `"see SKILL_detail.md for details"` | Consumer agent may skip |
79
- | **Imperative**: `"> **Detail**: See \`SKILL_detail.md §SectionName\` — [what's there] — read when [specific condition]."` | Consumer agent loads on trigger |
89
+ | **Imperative**: `"> **Detail**: See \`SKILL_detail.md §<SectionName>\` — [what's there] — read when [specific condition]."` | Consumer agent loads on trigger |
80
90
 
81
91
  Every removed section must have exactly one imperative pointer at the point of removal in SKILL.md.
82
92
 
@@ -113,7 +123,7 @@ Run on a SKILL.md when **any one** of:
113
123
  ```
114
124
  Step 1 classification table produced
115
125
  + SKILL.md trimmed: triggers · principles · step overview · decision tables · Done When retained
116
- + SKILL.md has imperative pointer for every removed section (> **Detail**: See SKILL_detail.md §X)
126
+ + SKILL.md has imperative pointer for every removed section (> **Detail**: See SKILL_detail.md §<X>)
117
127
  + SKILL_detail.md created: ## §SectionName header for every pointer in SKILL.md
118
128
  + phantom-quench: 0 phantoms (all §pointers resolve)
119
129
  → Fallback (skill unavailable): run §Verification-Checklist manually from SKILL_detail.md
@@ -1,10 +1,10 @@
1
1
  ---
2
- name: skill-splitter-detail
3
- description: Detail reference for skill-splitter — content classification algorithm, pointer format variants, verification checklist. Load when executing a specific step.
2
+ name: salience-splitter-detail
3
+ description: Detail reference for salience-splitter — content classification algorithm, pointer format variants, verification checklist. Load when executing a specific step.
4
4
  load: on-demand
5
5
  ---
6
6
 
7
- # skill-splitter — Detail Reference
7
+ # salience-splitter — Detail Reference
8
8
 
9
9
  > Load when executing a specific step. SKILL.md contains the core principle, step overview, pointer format requirement, and Done When.
10
10
 
@@ -70,13 +70,13 @@ Behavioral rules always pass this test (even if rarely triggered, the consumer n
70
70
  ### Standard pointer (single section reference)
71
71
 
72
72
  ```markdown
73
- > **Detail**: See `SKILL_detail.md §SectionName` — [one-line description of what's there] — read when [specific condition that triggers need].
73
+ > **Detail**: See `SKILL_detail.md §<SectionName>` — [one-line description of what's there] — read when [specific condition that triggers need].
74
74
  ```
75
75
 
76
76
  ### Multi-item pointer (several related sections)
77
77
 
78
78
  ```markdown
79
- > **Detail**: See `SKILL_detail.md §SectionName-A` (bash scripts) · SectionName-B` (format templates) — read when executing this step.
79
+ > **Detail**: See `SKILL_detail.md §<SectionName-A>` (bash scripts) · `§<SectionName-B>` (format templates) — read when executing this step.
80
80
  ```
81
81
 
82
82
  ### Pointer placement rules
@@ -96,7 +96,7 @@ Advisory (risky — consumer may skip):
96
96
 
97
97
  Imperative (required form):
98
98
  ```
99
- "> **Detail**: See `SKILL_detail.md §Step6-Detail` — bash for STALE detection, memory scan, skill usage leaderboard — read when executing Step 6."
99
+ "> **Detail**: See `SKILL_detail.md §<Step6-Detail>` — bash for STALE detection, memory scan, skill usage leaderboard — read when executing Step 6."
100
100
  ```
101
101
 
102
102
  The imperative form includes: