@chrono-meta/fh-gate 1.4.76 → 1.4.78
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/rules/fh_4axis_gate.md +63 -0
- package/.claude-plugin/marketplace.json +2 -2
- package/AGENTS.md +96 -260
- package/docs/codex-compat.md +4 -1
- package/knowledge/shared/harness-core/agents_md_runtime_details.md +233 -0
- package/knowledge/shared/harness-core/multi_model_sidecar_strategy.md +1 -1
- package/knowledge/shared/learnings/subagent_invocations_log.yaml +14 -0
- package/package.json +8 -2
- package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/skills/install-doctor/SKILL.md +88 -0
- package/plugins/fh-meta/skills/install-wizard/SKILL.md +1 -1
- package/plugins/fh-meta/skills/install-wizard/SKILL_detail.md +117 -3
- package/scripts/fh_node_check.sh +184 -0
- package/scripts/fh_session_load.sh +59 -28
- package/scripts/package_coverage_check.sh +22 -0
- package/scripts/selfcheck.sh +45 -0
- package/scripts/sidecar_calibrate.sh +190 -0
- package/scripts/sidecar_wait.sh +55 -5
- package/scripts/test_node_check_lanes.sh +179 -0
- package/scripts/test_sidecar_calibrate_lanes.sh +218 -0
- package/scripts/test_sidecar_wait_stdin.sh +169 -0
- package/templates/settings.SessionStart.snippet.json +54 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_README": [
|
|
3
|
+
"SessionStart hook snippet — TRACKED, so it arrives with a clone. Every .claude/settings*.json",
|
|
4
|
+
"path in this repo is gitignored (confirm with `git check-ignore -v .claude/settings.json`; do",
|
|
5
|
+
"not cite a line number, they move), so a hook registration cannot itself be tracked. This is the tracked",
|
|
6
|
+
"SOURCE that install-wizard merges into the user's local settings. Without the merge step the",
|
|
7
|
+
"hooks do not run — shipping the file is not the same proposition as wiring it.",
|
|
8
|
+
"",
|
|
9
|
+
"Two entries, deliberately split by privacy:",
|
|
10
|
+
" - fh_node_check.sh → NO private path. Belongs in .claude/settings.json (project-local).",
|
|
11
|
+
" - fh_session_load.sh + fh_env_delta_scan.sh → carry BE_DIR (an operator-private companion",
|
|
12
|
+
" store path), so they belong ONLY in .claude/settings.local.json, and only for Mode D users.",
|
|
13
|
+
"",
|
|
14
|
+
"Merge, do not overwrite: preserve any SessionStart entries the user already has; replace only",
|
|
15
|
+
"the FH ones, keyed by script name."
|
|
16
|
+
],
|
|
17
|
+
"project_settings_json": {
|
|
18
|
+
"hooks": {
|
|
19
|
+
"SessionStart": [
|
|
20
|
+
{
|
|
21
|
+
"matcher": "",
|
|
22
|
+
"hooks": [
|
|
23
|
+
{
|
|
24
|
+
"type": "command",
|
|
25
|
+
"command": "bash \"$CLAUDE_PROJECT_DIR/scripts/fh_node_check.sh\"",
|
|
26
|
+
"timeout": 10
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"settings_local_json_MODE_D_ONLY": {
|
|
34
|
+
"hooks": {
|
|
35
|
+
"SessionStart": [
|
|
36
|
+
{
|
|
37
|
+
"matcher": "",
|
|
38
|
+
"hooks": [
|
|
39
|
+
{
|
|
40
|
+
"type": "command",
|
|
41
|
+
"command": "BE_DIR=\"<absolute path to your companion store>\" bash \"$CLAUDE_PROJECT_DIR/scripts/fh_session_load.sh\"",
|
|
42
|
+
"timeout": 20
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"type": "command",
|
|
46
|
+
"command": "BE_DIR=\"<absolute path to your companion store>\" bash \"$CLAUDE_PROJECT_DIR/scripts/fh_env_delta_scan.sh\"",
|
|
47
|
+
"timeout": 15
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|