@sentropic/track 0.98.6 → 0.98.7-rc.10
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/README.md +13 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +95 -16
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/install-skills.d.ts.map +1 -1
- package/dist/cli/install-skills.js +9 -3
- package/dist/cli/install-skills.js.map +1 -1
- package/dist/events/types.d.ts +1 -1
- package/dist/events/types.d.ts.map +1 -1
- package/dist/events/types.js +1 -0
- package/dist/events/types.js.map +1 -1
- package/dist/focus-vendor/editing/anchors.d.ts +20 -0
- package/dist/focus-vendor/editing/anchors.d.ts.map +1 -0
- package/dist/focus-vendor/editing/anchors.js +113 -0
- package/dist/focus-vendor/editing/anchors.js.map +1 -0
- package/dist/focus-vendor/editing/codec.d.ts +22 -0
- package/dist/focus-vendor/editing/codec.d.ts.map +1 -0
- package/dist/focus-vendor/editing/codec.js +143 -0
- package/dist/focus-vendor/editing/codec.js.map +1 -0
- package/dist/focus-vendor/editing/contract.d.ts +14 -0
- package/dist/focus-vendor/editing/contract.d.ts.map +1 -0
- package/dist/focus-vendor/editing/contract.js +76 -0
- package/dist/focus-vendor/editing/contract.js.map +1 -0
- package/dist/focus-vendor/editing/diff.d.ts +17 -0
- package/dist/focus-vendor/editing/diff.d.ts.map +1 -0
- package/dist/focus-vendor/editing/diff.js +125 -0
- package/dist/focus-vendor/editing/diff.js.map +1 -0
- package/dist/focus-vendor/editing/digest.d.ts +6 -0
- package/dist/focus-vendor/editing/digest.d.ts.map +1 -0
- package/dist/focus-vendor/editing/digest.js +56 -0
- package/dist/focus-vendor/editing/digest.js.map +1 -0
- package/dist/focus-vendor/editing/index.d.ts +7 -0
- package/dist/focus-vendor/editing/index.d.ts.map +1 -0
- package/dist/focus-vendor/editing/index.js +7 -0
- package/dist/focus-vendor/editing/index.js.map +1 -0
- package/dist/focus-vendor/editing/reconcile.d.ts +3 -0
- package/dist/focus-vendor/editing/reconcile.d.ts.map +1 -0
- package/dist/focus-vendor/editing/reconcile.js +167 -0
- package/dist/focus-vendor/editing/reconcile.js.map +1 -0
- package/dist/focus-vendor/editing/structure.d.ts +16 -0
- package/dist/focus-vendor/editing/structure.d.ts.map +1 -0
- package/dist/focus-vendor/editing/structure.js +71 -0
- package/dist/focus-vendor/editing/structure.js.map +1 -0
- package/dist/focus-vendor/index.d.ts +2 -0
- package/dist/focus-vendor/index.js +2 -0
- package/dist/focus-vendor/index.js.map +1 -1
- package/dist/focus-vendor/model.d.ts +1 -1
- package/dist/focus-vendor/model.d.ts.map +1 -1
- package/dist/focus-vendor/model.js +1 -1
- package/dist/focus-vendor/model.js.map +1 -1
- package/dist/focus-vendor/registry/definitions.d.ts +68 -0
- package/dist/focus-vendor/registry/definitions.d.ts.map +1 -0
- package/dist/focus-vendor/registry/definitions.js +509 -0
- package/dist/focus-vendor/registry/definitions.js.map +1 -0
- package/dist/focus-vendor/registry/entries.v1.json +140 -0
- package/dist/focus-vendor/render/evidence.d.ts +9 -0
- package/dist/focus-vendor/render/evidence.d.ts.map +1 -0
- package/dist/focus-vendor/render/evidence.js +37 -0
- package/dist/focus-vendor/render/evidence.js.map +1 -0
- package/dist/focus-vendor/render/html.d.ts.map +1 -1
- package/dist/focus-vendor/render/html.js +14 -1
- package/dist/focus-vendor/render/html.js.map +1 -1
- package/dist/focus-vendor/render/md.d.ts.map +1 -1
- package/dist/focus-vendor/render/md.js +15 -1
- package/dist/focus-vendor/render/md.js.map +1 -1
- package/dist/focus-vendor/render/presentation.d.ts +29 -0
- package/dist/focus-vendor/render/presentation.d.ts.map +1 -0
- package/dist/focus-vendor/render/presentation.js +25 -0
- package/dist/focus-vendor/render/presentation.js.map +1 -0
- package/dist/focus-vendor/render/terminal.d.ts.map +1 -1
- package/dist/focus-vendor/render/terminal.js +15 -1
- package/dist/focus-vendor/render/terminal.js.map +1 -1
- package/dist/focus-vendor/track/index.d.ts +23 -27
- package/dist/focus-vendor/track/index.d.ts.map +1 -1
- package/dist/focus-vendor/track/index.js +24 -10
- package/dist/focus-vendor/track/index.js.map +1 -1
- package/dist/focus-vendor/validation/evidence-bytes.d.ts +5 -0
- package/dist/focus-vendor/validation/evidence-bytes.d.ts.map +1 -0
- package/dist/focus-vendor/validation/evidence-bytes.js +57 -0
- package/dist/focus-vendor/validation/evidence-bytes.js.map +1 -0
- package/dist/focus-vendor/validation/evidence-shape.d.ts +11 -0
- package/dist/focus-vendor/validation/evidence-shape.d.ts.map +1 -0
- package/dist/focus-vendor/validation/evidence-shape.js +54 -0
- package/dist/focus-vendor/validation/evidence-shape.js.map +1 -0
- package/dist/focus-vendor/validation/evidence-sources.d.ts +6 -0
- package/dist/focus-vendor/validation/evidence-sources.d.ts.map +1 -0
- package/dist/focus-vendor/validation/evidence-sources.js +56 -0
- package/dist/focus-vendor/validation/evidence-sources.js.map +1 -0
- package/dist/focus-vendor/validation/evidence.d.ts +3 -0
- package/dist/focus-vendor/validation/evidence.d.ts.map +1 -0
- package/dist/focus-vendor/validation/evidence.js +131 -0
- package/dist/focus-vendor/validation/evidence.js.map +1 -0
- package/dist/focus-vendor/validation/index.d.ts +187 -0
- package/dist/focus-vendor/validation/index.d.ts.map +1 -0
- package/dist/focus-vendor/validation/index.js +500 -0
- package/dist/focus-vendor/validation/index.js.map +1 -0
- package/dist/focus-vendor/validation/readability.d.ts +22 -0
- package/dist/focus-vendor/validation/readability.d.ts.map +1 -0
- package/dist/focus-vendor/validation/readability.js +265 -0
- package/dist/focus-vendor/validation/readability.js.map +1 -0
- package/dist/model/decision.d.ts +19 -0
- package/dist/model/decision.d.ts.map +1 -1
- package/dist/model/decision.js.map +1 -1
- package/dist/model/index.d.ts +1 -0
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/index.js +1 -0
- package/dist/model/index.js.map +1 -1
- package/dist/model/item.d.ts +2 -0
- package/dist/model/item.d.ts.map +1 -1
- package/dist/model/item.js.map +1 -1
- package/dist/model/report-status.d.ts +53 -0
- package/dist/model/report-status.d.ts.map +1 -0
- package/dist/model/report-status.js +106 -0
- package/dist/model/report-status.js.map +1 -0
- package/dist/read/commands.d.ts +22 -2
- package/dist/read/commands.d.ts.map +1 -1
- package/dist/read/commands.js +134 -21
- package/dist/read/commands.js.map +1 -1
- package/dist/read/contract.d.ts.map +1 -1
- package/dist/read/contract.js +3 -1
- package/dist/read/contract.js.map +1 -1
- package/dist/report/audit.d.ts +68 -0
- package/dist/report/audit.d.ts.map +1 -1
- package/dist/report/audit.js +116 -0
- package/dist/report/audit.js.map +1 -1
- package/dist/report/build.d.ts +82 -1
- package/dist/report/build.d.ts.map +1 -1
- package/dist/report/build.js +85 -3
- package/dist/report/build.js.map +1 -1
- package/dist/report/directive.d.ts +5 -1
- package/dist/report/directive.d.ts.map +1 -1
- package/dist/report/directive.js +4 -0
- package/dist/report/directive.js.map +1 -1
- package/dist/report/format.d.ts +104 -3
- package/dist/report/format.d.ts.map +1 -1
- package/dist/report/format.js +251 -27
- package/dist/report/format.js.map +1 -1
- package/dist/report/index.d.ts +5 -2
- package/dist/report/index.d.ts.map +1 -1
- package/dist/report/index.js +6 -1
- package/dist/report/index.js.map +1 -1
- package/dist/report/stage-status-lexicon.d.ts +24 -0
- package/dist/report/stage-status-lexicon.d.ts.map +1 -0
- package/dist/report/stage-status-lexicon.js +96 -0
- package/dist/report/stage-status-lexicon.js.map +1 -0
- package/dist/report/stage-status.d.ts +31 -0
- package/dist/report/stage-status.d.ts.map +1 -0
- package/dist/report/stage-status.js +208 -0
- package/dist/report/stage-status.js.map +1 -0
- package/dist/state/fold.d.ts.map +1 -1
- package/dist/state/fold.js +11 -0
- package/dist/state/fold.js.map +1 -1
- package/dist/track.d.ts +3 -0
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +12 -1
- package/dist/track.js.map +1 -1
- package/package.json +2 -2
- package/skills/present-decision/SKILL.md +98 -95
- package/skills/present-decision/assets/dossier-template.md +35 -38
- package/skills/present-decision/assets/native-questions.md +18 -0
- package/skills/present-decision/assets/owner-criteria.template.md +11 -16
- package/skills/present-decision/assets/self-audit.md +26 -22
- package/skills/propose-workpackages/SKILL.md +20 -1
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
# Owner
|
|
1
|
+
# Owner criteria — per decision
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Source live criteria from the literal request (quote with date/source), applicable rules and prior
|
|
4
|
+
owner decisions. Include only requirements about the subject being decided: intended benefit,
|
|
5
|
+
acceptable risk, cost, rollback or affected people, when sourced. Do not invent owner approval.
|
|
6
|
+
Check dossier presentation separately with `self-audit.md`; do not copy its rules into this table.
|
|
6
7
|
|
|
7
|
-
| criterion | source |
|
|
8
|
-
|
|
9
|
-
|
|
|
10
|
-
| **Cross-repo owners** — are all affected repos / owners identified and consulted? | standing rule | | |
|
|
11
|
-
| **UAT before merge** — are the user-acceptance tests defined and green *before* merge? | standing rule | | |
|
|
12
|
-
| **Language** — discussion in FR; artifacts (code, SKILL.md, commits) in EN. | standing rule (FR-conv / EN-artifacts) | | |
|
|
13
|
-
| <decision-specific criterion> | | | |
|
|
8
|
+
| Owner criterion | Request/source | Addressed by | Gap or departure |
|
|
9
|
+
| --- | --- | --- | --- |
|
|
10
|
+
| <specific demand, quoted literally> | <date/source> | | |
|
|
14
11
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
3. Fill `covered by` from the dossier; any non-empty `gap` blocks "complete".
|
|
19
|
-
4. If criteria are genuinely uncertain, ask "what am I missing?" — otherwise ask for the concrete decision.
|
|
12
|
+
Map every demand to its question, option or acceptance check. Explain any departure explicitly.
|
|
13
|
+
An unresolved gap blocks completion unless it is the explicit decision asked. Keep discussion in the
|
|
14
|
+
owner's language and repository artifacts in the repository's language. Never edit global rules here.
|
|
@@ -1,24 +1,28 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Dossier self-audit
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
If an item cannot be honestly completed, label the dossier **Incomplete** and ask for the missing fact/criterion — never ask for validation of an incomplete dossier.
|
|
3
|
+
Missing evidence, criteria or review: **Incomplete**; request input, never final validation.
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
- [ ] **
|
|
10
|
-
- [ ] **
|
|
11
|
-
|
|
12
|
-
- [ ] **
|
|
13
|
-
|
|
14
|
-
- [ ] **
|
|
15
|
-
|
|
16
|
-
- [ ] **
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
|
|
5
|
+
- [ ] **Title first:** subject and decision object in plain words; distinguishable among 50 dossiers;
|
|
6
|
+
one short line, no slogan/thesis. HTML `<title>` matches the visible title;
|
|
7
|
+
small type (≤1.25rem), thin band, no hero.
|
|
8
|
+
- [ ] **Owner interest:** owner benefit/risk and intention; no agent inconvenience or false problems.
|
|
9
|
+
- [ ] **Reading budget:** fits the stakes; question, context, 2–4 short options and
|
|
10
|
+
recommendation: 2 minutes, at most 400 words.
|
|
11
|
+
- [ ] **Self-contained:** representative scenario, current behavior, affected people and constraints
|
|
12
|
+
clear without links. Plain words; no opaque codes; acronyms explained.
|
|
13
|
+
- [ ] **No hidden decisions:** every implied choice explicit; no nested sub-options.
|
|
14
|
+
Questions stand alone; dependencies stated. Supporting evidence hides no choice or material risk.
|
|
15
|
+
- [ ] **Traceability:** dated/sourced literal owner request quoted; demands map to
|
|
16
|
+
questions/options/criteria. Departures explicit; each criterion covered or the decision asked.
|
|
17
|
+
- [ ] **Options and recommendation:** one-line owner consequence, cost/rollback and strongest honest case per option.
|
|
18
|
+
Recommendation, strongest objection and overturning condition stated.
|
|
19
|
+
- [ ] **Evidence and bias:** decisive claims: `[FACT]` with sources or `[JUDGMENT]`;
|
|
20
|
+
assumptions/unknowns separate; failure scenario; presenter convenience separate from owner value.
|
|
21
|
+
- [ ] **Reviews:** independent Codex + Opus passes for complex design; disagreements surfaced.
|
|
22
|
+
- [ ] **Delivery/capture:** default `h2a focus build dossier.json -o dossier.html`; portable Focus HTML,
|
|
23
|
+
ecosystem canvas, light/dark, phone pinch zoom; no claude.ai artifact. Dossier with diagram before the native question tool;
|
|
24
|
+
never a bare text question. If unavailable, explain and leave the decision pending.
|
|
25
|
+
Local selections; no fabricated `comprehension[]` or relay as decider.
|
|
26
|
+
- [ ] **Evidence (H1):** original bytes/digests; resolved citations/backlinks; primary summaries,
|
|
27
|
+
separate annex consultation; offline search/download/back. H1 manifest only;
|
|
28
|
+
DS in-canvas controls await H2/H3.
|
|
@@ -141,10 +141,29 @@ reversible prep (drafting the next proposal) may continue meanwhile.
|
|
|
141
141
|
| Capability | Claude | Codex | Gemini-agy |
|
|
142
142
|
| --- | --- | --- | --- |
|
|
143
143
|
| skill entrypoint | `~/.claude/skills/propose-workpackages/SKILL.md` | `~/.codex/skills/propose-workpackages/SKILL.md` (project entry `AGENTS.md`) | `~/.gemini/commands/propose-workpackages.toml` (project entry `GEMINI.md`) |
|
|
144
|
-
| modal-ask tool |
|
|
144
|
+
| modal-ask tool | See native question mapping below | See native question mapping below | See native question mapping below |
|
|
145
145
|
| code-search tool | Grep / Glob / Read | ripgrep / read | ripgrep / read |
|
|
146
146
|
| second-opinion tool | sub-agent / `codex` + `opus` CLIs | `opus` CLI | second-model CLI |
|
|
147
147
|
| decision presenter | compose `present-decision` | compose `present-decision` | compose `present-decision` |
|
|
148
148
|
|
|
149
149
|
`AGENTS.md` is the canonical entrypoint; `CLAUDE.md` / `GEMINI.md` point back to it. Existing repo methods
|
|
150
150
|
win on conflict.
|
|
151
|
+
|
|
152
|
+
## Questions for the human
|
|
153
|
+
|
|
154
|
+
When a useful clarification needs a human answer, use the native structured-question tool exposed in the current mode of the current host:
|
|
155
|
+
|
|
156
|
+
| Host | Native question tool |
|
|
157
|
+
| --- | --- |
|
|
158
|
+
| claude | `AskUserQuestion` |
|
|
159
|
+
| codex | `request_user_input` |
|
|
160
|
+
| muse | `request_user_input` |
|
|
161
|
+
| agy | `ask_question` |
|
|
162
|
+
| gemini | `ask_user` |
|
|
163
|
+
| vibe | `ask_user_question` |
|
|
164
|
+
|
|
165
|
+
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.
|
|
166
|
+
|
|
167
|
+
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.
|
|
168
|
+
|
|
169
|
+
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.
|