@sentropic/h2a 0.98.7-rc.2 → 0.98.7-rc.3
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/.codex-plugin/plugin.json +1 -0
- package/dist/bin.js +3 -0
- package/dist/bin.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +38 -38
- package/dist/cli.js.map +1 -1
- package/dist/focus-build.d.ts +10 -0
- package/dist/focus-build.d.ts.map +1 -0
- package/dist/focus-build.js +175 -0
- package/dist/focus-build.js.map +1 -0
- package/dist/hosts/native-convergence.d.ts +36 -0
- package/dist/hosts/native-convergence.d.ts.map +1 -1
- package/dist/hosts/native-convergence.js +60 -4
- package/dist/hosts/native-convergence.js.map +1 -1
- package/dist/hosts/native-files.d.ts +5 -0
- package/dist/hosts/native-files.d.ts.map +1 -1
- package/dist/hosts/native-files.js +4 -0
- package/dist/hosts/native-files.js.map +1 -1
- package/dist/hosts/native-inspection.js +1 -1
- package/dist/hosts/native-inspection.js.map +1 -1
- package/dist/hosts/native-questions.d.ts +2 -0
- package/dist/hosts/native-questions.d.ts.map +1 -0
- package/dist/hosts/native-questions.js +22 -0
- package/dist/hosts/native-questions.js.map +1 -0
- package/dist/hosts/native-toml.d.ts.map +1 -1
- package/dist/hosts/native-toml.js +2 -0
- package/dist/hosts/native-toml.js.map +1 -1
- package/dist/hosts/plugin.d.ts +27 -0
- package/dist/hosts/plugin.d.ts.map +1 -1
- package/dist/hosts/plugin.js +28 -2
- package/dist/hosts/plugin.js.map +1 -1
- package/dist/hosts/vibe-discovery.js +1 -1
- package/dist/hosts/vibe-discovery.js.map +1 -1
- package/dist/hosts/vibe-equipment.d.ts +1 -0
- package/dist/hosts/vibe-equipment.d.ts.map +1 -1
- package/dist/hosts/vibe-equipment.js +14 -1
- package/dist/hosts/vibe-equipment.js.map +1 -1
- package/dist/runtime/mcp/tools.d.ts.map +1 -1
- package/dist/runtime/mcp/tools.js +5 -4
- package/dist/runtime/mcp/tools.js.map +1 -1
- package/focus-kit/dossier.schema.json +193 -0
- package/focus-kit/dossier.template.json +39 -0
- package/focus-kit/ecosystem.json +853 -0
- package/focus-kit/renderer-manifest.json +24 -0
- package/focus-kit/renderer.html +278 -0
- package/focus-kit/validator.mjs +789 -0
- package/hooks/hooks.json +11 -1
- package/hooks/workspace-scope-grant.mjs +22 -0
- package/hooks/workspace-scope-guard.mjs +277 -0
- package/hooks/workspace-scope-shell.mjs +558 -0
- package/hooks/workspace-scope-state.mjs +71 -0
- package/package.json +11 -5
- package/skills/h2a/SKILL.md +19 -0
- package/skills/h2a-run/SKILL.md +19 -0
- package/skills/harness/SKILL.md +19 -0
- package/skills/harness/track-report/SKILL.md +14 -0
- package/skills/harness/using-harness/SKILL.md +19 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentropic/h2a",
|
|
3
|
-
"version": "0.98.7-rc.
|
|
3
|
+
"version": "0.98.7-rc.3",
|
|
4
4
|
"description": "h2a — the unified CLI + core for human-to-agent coordination.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -42,7 +42,13 @@
|
|
|
42
42
|
"schema",
|
|
43
43
|
"focus-app",
|
|
44
44
|
"hooks",
|
|
45
|
-
"scripts"
|
|
45
|
+
"scripts",
|
|
46
|
+
"focus-kit/renderer.html",
|
|
47
|
+
"focus-kit/renderer-manifest.json",
|
|
48
|
+
"focus-kit/validator.mjs",
|
|
49
|
+
"focus-kit/dossier.template.json",
|
|
50
|
+
"focus-kit/dossier.schema.json",
|
|
51
|
+
"focus-kit/ecosystem.json"
|
|
46
52
|
],
|
|
47
53
|
"publishConfig": {
|
|
48
54
|
"access": "public"
|
|
@@ -52,7 +58,7 @@
|
|
|
52
58
|
},
|
|
53
59
|
"scripts": {
|
|
54
60
|
"build": "node ../../scripts/clean-workspace-dist.mjs && tsc -b --force && node ../../scripts/copy-vendored-engram-live.mjs",
|
|
55
|
-
"prepack": "node ../../scripts/check-focus-app.mjs && chmod +x dist/bin.js"
|
|
61
|
+
"prepack": "node ../../scripts/check-focus-app.mjs && node ../../scripts/build-focus-dossier.mjs --check && chmod +x dist/bin.js"
|
|
56
62
|
},
|
|
57
63
|
"dependencies": {
|
|
58
64
|
"@hono/mcp": "^0.3.0",
|
|
@@ -61,11 +67,11 @@
|
|
|
61
67
|
"@sentropic/cluster-mesh": "0.13.3",
|
|
62
68
|
"@sentropic/contracts": "^0.3.0",
|
|
63
69
|
"@sentropic/events": "^0.2.0",
|
|
64
|
-
"@sentropic/track": "0.98.7-rc.
|
|
70
|
+
"@sentropic/track": "0.98.7-rc.3",
|
|
65
71
|
"hono": "^4.13.7",
|
|
66
72
|
"toml-eslint-parser": "0.10.1"
|
|
67
73
|
},
|
|
68
74
|
"peerDependencies": {
|
|
69
|
-
"@sentropic/h2a-runtime": "0.98.7-rc.
|
|
75
|
+
"@sentropic/h2a-runtime": "0.98.7-rc.3"
|
|
70
76
|
}
|
|
71
77
|
}
|
package/skills/h2a/SKILL.md
CHANGED
|
@@ -6,6 +6,25 @@ description: Coordinate with other CLI agents (Claude Code, Codex, Gemini) via t
|
|
|
6
6
|
|
|
7
7
|
# /h2a
|
|
8
8
|
|
|
9
|
+
## Questions for the human
|
|
10
|
+
|
|
11
|
+
When a useful clarification needs a human answer, use the native structured-question tool exposed in the current mode of the current host:
|
|
12
|
+
|
|
13
|
+
| Host | Native question tool |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| claude | `AskUserQuestion` |
|
|
16
|
+
| codex | `request_user_input` |
|
|
17
|
+
| muse | `request_user_input` |
|
|
18
|
+
| agy | `ask_question` |
|
|
19
|
+
| gemini | `ask_user` |
|
|
20
|
+
| vibe | `ask_user_question` |
|
|
21
|
+
|
|
22
|
+
Codex may expose `request_user_input_async` instead; use the variant actually available. Gemini disallows `ask_user` in non-interactive mode; Muse removes `request_user_input` in `--yolo` or when disabled. For other hosts, use their exposed native question tool without guessing its name.
|
|
23
|
+
|
|
24
|
+
Offer clear choices and preserve native free-text input. Do not change modes or permissions to obtain a tool. A preference is not authorization; existing authorization remains valid. Continue independent work when the mode allows.
|
|
25
|
+
|
|
26
|
+
For a decision with stakes, present a decision dossier with a diagram before the native question; never a bare text question or an unexplained option menu. If the native tool is unavailable, explain the limitation and leave the decision pending. Plain text is acceptable only for a low-stakes clarification when no native question tool is available.
|
|
27
|
+
|
|
9
28
|
When invoked, parse the arguments and dispatch to the matching subcommand below. If no subcommand is given, default to `status`.
|
|
10
29
|
|
|
11
30
|
```
|
package/skills/h2a-run/SKILL.md
CHANGED
|
@@ -5,6 +5,25 @@ description: Translate a friendly launch intent ("terra 5.6 xhigh", "codex sol h
|
|
|
5
5
|
|
|
6
6
|
# h2a-run
|
|
7
7
|
|
|
8
|
+
## Questions for the human
|
|
9
|
+
|
|
10
|
+
When a useful clarification needs a human answer, use the native structured-question tool exposed in the current mode of the current host:
|
|
11
|
+
|
|
12
|
+
| Host | Native question tool |
|
|
13
|
+
| --- | --- |
|
|
14
|
+
| claude | `AskUserQuestion` |
|
|
15
|
+
| codex | `request_user_input` |
|
|
16
|
+
| muse | `request_user_input` |
|
|
17
|
+
| agy | `ask_question` |
|
|
18
|
+
| gemini | `ask_user` |
|
|
19
|
+
| vibe | `ask_user_question` |
|
|
20
|
+
|
|
21
|
+
Codex may expose `request_user_input_async` instead; use the variant actually available. Gemini disallows `ask_user` in non-interactive mode; Muse removes `request_user_input` in `--yolo` or when disabled. For other hosts, use their exposed native question tool without guessing its name.
|
|
22
|
+
|
|
23
|
+
Offer clear choices and preserve native free-text input. Do not change modes or permissions to obtain a tool. A preference is not authorization; existing authorization remains valid. Continue independent work when the mode allows.
|
|
24
|
+
|
|
25
|
+
For a decision with stakes, present a decision dossier with a diagram before the native question; never a bare text question or an unexplained option menu. If the native tool is unavailable, explain the limitation and leave the decision pending. Plain text is acceptable only for a low-stakes clarification when no native question tool is available.
|
|
26
|
+
|
|
8
27
|
## When to use this
|
|
9
28
|
|
|
10
29
|
- The user names a launch by nickname + effort ("terra 5.6 xhigh", "sol en max", "relance codex en xhigh") instead of a provider model id.
|
package/skills/harness/SKILL.md
CHANGED
|
@@ -5,6 +5,25 @@ description: Route repository work through the sentropic harness method. Use in
|
|
|
5
5
|
|
|
6
6
|
# Harness
|
|
7
7
|
|
|
8
|
+
## Questions for the human
|
|
9
|
+
|
|
10
|
+
When a useful clarification needs a human answer, use the native structured-question tool exposed in the current mode of the current host:
|
|
11
|
+
|
|
12
|
+
| Host | Native question tool |
|
|
13
|
+
| --- | --- |
|
|
14
|
+
| claude | `AskUserQuestion` |
|
|
15
|
+
| codex | `request_user_input` |
|
|
16
|
+
| muse | `request_user_input` |
|
|
17
|
+
| agy | `ask_question` |
|
|
18
|
+
| gemini | `ask_user` |
|
|
19
|
+
| vibe | `ask_user_question` |
|
|
20
|
+
|
|
21
|
+
Codex may expose `request_user_input_async` instead; use the variant actually available. Gemini disallows `ask_user` in non-interactive mode; Muse removes `request_user_input` in `--yolo` or when disabled. For other hosts, use their exposed native question tool without guessing its name.
|
|
22
|
+
|
|
23
|
+
Offer clear choices and preserve native free-text input. Do not change modes or permissions to obtain a tool. A preference is not authorization; existing authorization remains valid. Continue independent work when the mode allows.
|
|
24
|
+
|
|
25
|
+
For a decision with stakes, present a decision dossier with a diagram before the native question; never a bare text question or an unexplained option menu. If the native tool is unavailable, explain the limitation and leave the decision pending. Plain text is acceptable only for a low-stakes clarification when no native question tool is available.
|
|
26
|
+
|
|
8
27
|
Read `using-harness/SKILL.md` first in a sentropic repository. Then read only the workflow needed for the current task:
|
|
9
28
|
|
|
10
29
|
- `brainstorm/SKILL.md` before creative or design work.
|
|
@@ -5,6 +5,20 @@ description: Use when the owner asks for a human contextual track report, status
|
|
|
5
5
|
|
|
6
6
|
# harness/track-report
|
|
7
7
|
|
|
8
|
+
## Owner status table (owner evolution, 2026-10-17)
|
|
9
|
+
|
|
10
|
+
For an owner status report, use `node "$track_bin" report --status-table --format md` (or `text`/`json`)
|
|
11
|
+
after the bootstrap below. Follow `packages/track/skills/track-report/SKILL.md`, the canonical new table
|
|
12
|
+
contract: exactly `# · Ta demande · Étape · Statut · Où ça en est / prochaine action`. This owner-requested
|
|
13
|
+
view takes precedence over the older FAIT/À-FAIRE column rules below; the older four-section route remains
|
|
14
|
+
the compatibility default. Preserve DÉCISIONS and its decision expectations: question, options with each
|
|
15
|
+
consequence, readable in two minutes, dossier link, then the owner's actual answer. Versions are supporting
|
|
16
|
+
references in parentheses, never the purpose. Stages are spec/dev/PR/mergé/déployé with recorded evidence;
|
|
17
|
+
colors are only 🟢 conforming progress, 🟠 unforeseen issue, 🔴 blocked with mandatory proposal, 🔵 owner
|
|
18
|
+
decision awaited. Waiting on another lane and suspension belong in the action cell, with no new color.
|
|
19
|
+
Use the three deterministic reads below as supporting evidence; the new view never fabricates missing
|
|
20
|
+
status, merge or deployment proof. Incomplete red/blue rows and version-only subjects are visibly flagged.
|
|
21
|
+
|
|
8
22
|
`track` supplies complete, deterministic facts and already renders the four sections the owner
|
|
9
23
|
validated. The agent already in the conversation supplies the contextual synthesis on top of them. Do not
|
|
10
24
|
call a model, adapter, gateway, or network-backed report path. Every command below is a local, read-only
|
|
@@ -5,6 +5,25 @@ description: Load FIRST in any sentropic repo — establishes the harness method
|
|
|
5
5
|
|
|
6
6
|
# Using harness
|
|
7
7
|
|
|
8
|
+
## Questions for the human
|
|
9
|
+
|
|
10
|
+
When a useful clarification needs a human answer, use the native structured-question tool exposed in the current mode of the current host:
|
|
11
|
+
|
|
12
|
+
| Host | Native question tool |
|
|
13
|
+
| --- | --- |
|
|
14
|
+
| claude | `AskUserQuestion` |
|
|
15
|
+
| codex | `request_user_input` |
|
|
16
|
+
| muse | `request_user_input` |
|
|
17
|
+
| agy | `ask_question` |
|
|
18
|
+
| gemini | `ask_user` |
|
|
19
|
+
| vibe | `ask_user_question` |
|
|
20
|
+
|
|
21
|
+
Codex may expose `request_user_input_async` instead; use the variant actually available. Gemini disallows `ask_user` in non-interactive mode; Muse removes `request_user_input` in `--yolo` or when disabled. For other hosts, use their exposed native question tool without guessing its name.
|
|
22
|
+
|
|
23
|
+
Offer clear choices and preserve native free-text input. Do not change modes or permissions to obtain a tool. A preference is not authorization; existing authorization remains valid. Continue independent work when the mode allows.
|
|
24
|
+
|
|
25
|
+
For a decision with stakes, present a decision dossier with a diagram before the native question; never a bare text question or an unexplained option menu. If the native tool is unavailable, explain the limitation and leave the decision pending. Plain text is acceptable only for a low-stakes clarification when no native question tool is available.
|
|
26
|
+
|
|
8
27
|
`@sentropic/harness` is the native dev-discipline layer for sentropic repos. Its verbs and `harness/*`
|
|
9
28
|
skills are the SINGLE front door for code-work and PR-workflow. This skill is the index — load it
|
|
10
29
|
before any other so the replacement directive below is in effect.
|