@sentropic/track 0.98.7-rc.1 → 0.98.7-rc.2

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 (34) hide show
  1. package/dist/focus-vendor/registry/entries.v1.json +4 -4
  2. package/dist/focus-vendor/render/html.d.ts.map +1 -1
  3. package/dist/focus-vendor/render/html.js +12 -1
  4. package/dist/focus-vendor/render/html.js.map +1 -1
  5. package/dist/focus-vendor/render/md.d.ts.map +1 -1
  6. package/dist/focus-vendor/render/md.js +12 -1
  7. package/dist/focus-vendor/render/md.js.map +1 -1
  8. package/dist/focus-vendor/render/presentation.d.ts +13 -0
  9. package/dist/focus-vendor/render/presentation.d.ts.map +1 -0
  10. package/dist/focus-vendor/render/presentation.js +25 -0
  11. package/dist/focus-vendor/render/presentation.js.map +1 -0
  12. package/dist/focus-vendor/render/terminal.d.ts.map +1 -1
  13. package/dist/focus-vendor/render/terminal.js +12 -1
  14. package/dist/focus-vendor/render/terminal.js.map +1 -1
  15. package/dist/focus-vendor/track/index.d.ts +23 -27
  16. package/dist/focus-vendor/track/index.d.ts.map +1 -1
  17. package/dist/focus-vendor/track/index.js +24 -10
  18. package/dist/focus-vendor/track/index.js.map +1 -1
  19. package/dist/focus-vendor/validation/index.d.ts +87 -19
  20. package/dist/focus-vendor/validation/index.d.ts.map +1 -1
  21. package/dist/focus-vendor/validation/index.js +89 -9
  22. package/dist/focus-vendor/validation/index.js.map +1 -1
  23. package/dist/focus-vendor/validation/readability.d.ts +22 -0
  24. package/dist/focus-vendor/validation/readability.d.ts.map +1 -0
  25. package/dist/focus-vendor/validation/readability.js +230 -0
  26. package/dist/focus-vendor/validation/readability.js.map +1 -0
  27. package/dist/model/decision.d.ts +19 -0
  28. package/dist/model/decision.d.ts.map +1 -1
  29. package/dist/model/decision.js.map +1 -1
  30. package/package.json +1 -1
  31. package/skills/present-decision/SKILL.md +89 -95
  32. package/skills/present-decision/assets/dossier-template.md +27 -40
  33. package/skills/present-decision/assets/owner-criteria.template.md +11 -16
  34. package/skills/present-decision/assets/self-audit.md +23 -22
@@ -1,49 +1,36 @@
1
- # Decision dossier — <one-line title>
1
+ # Decision <subject> — <decision object>
2
2
 
3
- > Fill every section. Tag claims `[FACT]` (verifiable, cite source) vs `[JUDGMENT]` (your read).
4
- > Run `self-audit.md` before presenting. Label the dossier **Incomplete** if any item can't be honestly filled.
3
+ > Title: one short line, plain words, no slogan/thesis. HTML `<title>` identical to visible title;
4
+ > small type (at most 1.25rem), thin band, never a hero.
5
+ > Reading budget: <total minutes, proportional to stakes>; <number of questions>.
6
+ > Each question below is self-contained and readable in 2 minutes, including options/recommendation
7
+ > (aim for at most 400 words). Use plain words; explain acronyms; replace opaque codes with names.
5
8
 
6
- ## 1. Decision asked
7
- <one sentence>. Options: `A` <…>, `B` <…>, `C` <…>. Scope: <exact boundary>.
9
+ ## Question — <explicit choice and boundary>
8
10
 
9
- ## 2. Context
10
- - **Facts** `[FACT]`: …
11
- - **Assumptions**: …
12
- - **Unknowns**: …
11
+ **Owner request (<date>, <source>):** “<literal relevant passage>”
12
+ **What changes for you:** <benefit, risk borne by the owner, why their decision is needed>.
13
13
 
14
- ## 3. Stakes
15
- Why this is dossier-level (which hard trigger). Affected: repos / WPs / contracts / users.
14
+ **Context:** <current behavior and representative problem/scenario; affected people and constraints>.
15
+ **Facts [FACT]:** <decisive evidence with source>. **Assumptions / unknowns:** <what remains uncertain>.
16
16
 
17
- ## 4. Options
17
+ | Option | Choice | Owner consequence: main benefit and drawback | Cost / rollback |
18
+ | --- | --- | --- | --- |
19
+ | A | <plain name> | <one line> | <brief> |
20
+ | B | <plain name> | <one line> | <brief> |
18
21
 
19
- | id | choice | strongest case FOR | strongest case AGAINST | cost | reversibility | what would make it win |
20
- |----|--------|--------------------|------------------------|------|---------------|------------------------|
21
- | A | | | | | | |
22
- | B | | | | | | |
23
- | C | | | | | | |
22
+ Use 2–4 short options with an honest case for each, including rejected alternatives.
23
+ State every implied choice; no nested sub-options. If another decision is needed, give it its own
24
+ self-contained question within the declared total budget. Explain dependencies between questions.
24
25
 
25
- (One row per option, including rejected ones. Count-symmetry: no option starved of genuine FOR points.)
26
+ **Recommendation [JUDGMENT]:** <one option and decisive reason>.
27
+ **Strongest objection / what would overturn it:** <brief>.
28
+ **Failure scenario:** <how this could fail and the owner's exposure>.
29
+ **Presenter convenience:** <what helps the agent; any divergence from owner value>.
26
30
 
27
- ## 5. Recommendation + rationale
28
- **Recommend: <id | defer>.** Decisive judgment `[JUDGMENT]`: …
31
+ **Request trace / acceptance:** <each demand → option or criterion; explicit gaps/departures>.
32
+ **Answer needed:** <smallest concrete choice>.
29
33
 
30
- ## 6. Reversibility / cost
31
- Rollback path · sunk cost · migration / cleanup cost · time estimate.
32
-
33
- ## 7. Attendus (the owner's validation criteria)
34
-
35
- | criterion | source | covered by | gap |
36
- |-----------|--------|------------|-----|
37
- | | | | |
38
-
39
- ## 8. What I need from you
40
- The smallest valid decision, or the one missing criterion.
41
-
42
- ---
43
-
44
- ### Anti-bias appendix (from the self-audit gate)
45
- - **Strongest case AGAINST my recommendation:** …
46
- - **What would overturn it:** …
47
- - **Pre-mortem** ("six months later this failed because…"): …
48
- - **Agent interest** (easiest/faster/less risky for me): … — **where it diverges from owner value:** …
49
- - **Owner interest** (value · integrity · risk · future optionality · cost): …
34
+ Supporting evidence: <optional links; no choices or material risks hidden here>.
35
+ Required reviews: <independent Codex + Opus findings/disagreement for complex design, if applicable>.
36
+ Run `self-audit.md`; mark **Incomplete** for missing necessary input/review, and request input, not approval.
@@ -1,19 +1,14 @@
1
- # Owner validation criteria — seed checklist
1
+ # Owner criteria — per decision
2
2
 
3
- > Per-decision, not a global standard. Source the live criteria from the request, repo rules,
4
- > prior owner decisions, existing track decisions/dossiers, and `track report` attendus.
5
- > Persist per decision/dossier; never edit repo rules unless the owner explicitly asks.
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 | covered by | gap |
8
- |-----------|--------|------------|-----|
9
- | **Reversibility** — is the change reversible, and is the rollback path stated? | standing rule | | |
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
- ## How to use
16
- 1. Copy this table into the dossier's **§7 Attendus**.
17
- 2. Drop seed rows that don't apply; add decision-specific rows.
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,25 @@
1
- # SELF-AUDIT GATE — run before presenting any full dossier
1
+ # Dossier self-audit
2
2
 
3
- Loop: run the checklist → if any item fails, FIX the dossier → re-run. Do not present until every box is checked.
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
+ Fix failures and re-check before presenting. Missing necessary evidence, criteria or review means
4
+ **Incomplete**: request the missing input, never final validation.
5
5
 
6
- ## Checklist
7
-
8
- - [ ] **FACT / JUDGMENT tags** — every load-bearing claim is tagged `[FACT]` (verifiable, source cited) or `[JUDGMENT]` (my read). No untagged assertions.
9
- - [ ] **Count-symmetry on pros** — each option (incl. rejected) has roughly as many genuine "case FOR" points as the others. I have not starved alternatives to flatter my pick.
10
- - [ ] **Strongest case AGAINST my recommendation** — present, non-empty, and the *best* version (not a strawman).
11
- - [ ] **What would overturn it** — what would have to be true for the owner to reject my recommendation.
12
- - [ ] **Pre-mortem** — one paragraph: "six months later this failed because…".
13
- - [ ] **Agent-interest disclosure** — I named what is easiest / faster / less risky *for me, the presenter*, and flagged any place the recommendation benefits me more than the owner.
14
- - [ ] **Owner interest stated separately** — value · integrity · risk · future optionality · cost.
15
- - [ ] **Attendus covered** — every owner criterion has a `covered by`; no open `gap` (or the gap is the explicit decision asked).
16
- - [ ] **Double-instruction** — for a complex design decision, independent Codex + Opus passes were obtained and synthesized (disagreements surfaced, not blended away). If absent on a hard-trigger call: dossier marked **Incomplete**.
17
- - [ ] **No fabricated evidence** — no faked `comprehension[]`; no bridge principal recorded as the decider.
18
-
19
- ## Red flags — STOP and rebuild the dossier
20
- - The "case AGAINST" reads weaker than the "case FOR" for the same option.
21
- - One option has visibly fewer FOR points and I can't justify why.
22
- - A claim I'm leaning on has no source and isn't tagged `[JUDGMENT]`.
23
- - The recommendation happens to be the cheapest path *for me* and I haven't said so.
24
- - I'm about to present a chip/option menu with no prose, stakes, or attendus.
6
+ - [ ] **Title first:** names subject and decision object in plain words; distinguishes this among
7
+ 50 dossiers; one short line, no slogan/thesis. HTML `<title>` matches the visible title;
8
+ small type (at most 1.25rem), thin band, no hero.
9
+ - [ ] **Owner interest:** explains what changes for the owner and the risk they bear; preserves
10
+ their intention. No dossier justified only by agent inconvenience or a false technical problem.
11
+ - [ ] **Reading budget:** declared total time fits the stakes; every question, including meaningful
12
+ context, 2–4 short options and recommendation, is readable in 2 minutes (aim: at most 400 words).
13
+ - [ ] **Self-contained:** representative scenario, current behavior, affected people and constraints
14
+ are understandable without links. Plain words; acronyms explained; no opaque codes masking meaning.
15
+ - [ ] **No hidden decisions:** every implied choice is explicit; no nested sub-options. Additional
16
+ questions stand alone, with dependencies stated. Supporting evidence hides no choice or material risk.
17
+ - [ ] **Traceability:** dated/sourced literal owner request quoted; every demand maps to a question,
18
+ option or criterion. Departures are explicit; each criterion is covered or is the decision asked.
19
+ - [ ] **Options and recommendation:** one-line owner consequence and cost/rollback per option;
20
+ strongest honest case for each. Recommendation, strongest objection and overturning condition stated.
21
+ - [ ] **Evidence and bias:** decisive claims marked `[FACT]` with sources or `[JUDGMENT]`;
22
+ assumptions/unknowns separate; brief failure scenario; presenter convenience separate from owner value.
23
+ - [ ] **Reviews:** independent Codex + Opus passes for complex design; disagreements surfaced;
24
+ risk and owner intent checked without adding unnecessary reading.
25
+ - [ ] **Capture:** prose precedes final ask; no fabricated `comprehension[]` or relay recorded as decider.