pi-daddy 0.26.0 → 0.27.0
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/CHANGELOG.md +32 -0
- package/PRODUCT-GUIDE.md +125 -0
- package/README.md +16 -1
- package/REQUIREMENTS.md +41 -0
- package/dist/cli.d.ts +2 -2
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +35 -7
- package/dist/cli.js.map +1 -1
- package/dist/daily-dashboard-host.d.ts +14 -1
- package/dist/daily-dashboard-host.d.ts.map +1 -1
- package/dist/daily-dashboard-host.js +40 -17
- package/dist/daily-dashboard-host.js.map +1 -1
- package/dist/daily-panel.d.ts +36 -0
- package/dist/daily-panel.d.ts.map +1 -0
- package/dist/daily-panel.js +84 -0
- package/dist/daily-panel.js.map +1 -0
- package/dist/daily-view-render.d.ts +2 -1
- package/dist/daily-view-render.d.ts.map +1 -1
- package/dist/daily-view-render.js +2 -1
- package/dist/daily-view-render.js.map +1 -1
- package/dist/daily-view.d.ts +3 -0
- package/dist/daily-view.d.ts.map +1 -1
- package/dist/daily-view.js +6 -0
- package/dist/daily-view.js.map +1 -1
- package/dist/dashboard-cli.d.ts +2 -0
- package/dist/dashboard-cli.d.ts.map +1 -1
- package/dist/dashboard-cli.js +37 -15
- package/dist/dashboard-cli.js.map +1 -1
- package/dist/dashboard-host-contract.d.ts +2 -0
- package/dist/dashboard-host-contract.d.ts.map +1 -1
- package/dist/dashboard-host-contract.js.map +1 -1
- package/dist/dashboard-host-transport.d.ts.map +1 -1
- package/dist/dashboard-host-transport.js +6 -3
- package/dist/dashboard-host-transport.js.map +1 -1
- package/dist/dashboard-host.d.ts +30 -2
- package/dist/dashboard-host.d.ts.map +1 -1
- package/dist/dashboard-host.js +73 -11
- package/dist/dashboard-host.js.map +1 -1
- package/dist/dashboard-menu.d.ts +16 -0
- package/dist/dashboard-menu.d.ts.map +1 -0
- package/dist/dashboard-menu.js +33 -0
- package/dist/dashboard-menu.js.map +1 -0
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/learning-connection.d.ts +127 -0
- package/dist/learning-connection.d.ts.map +1 -0
- package/dist/learning-connection.js +54 -0
- package/dist/learning-connection.js.map +1 -0
- package/dist/measured-order.d.ts.map +1 -1
- package/dist/measured-order.js +63 -5
- package/dist/measured-order.js.map +1 -1
- package/dist/model-preflight.d.ts +5 -0
- package/dist/model-preflight.d.ts.map +1 -1
- package/dist/model-preflight.js +9 -0
- package/dist/model-preflight.js.map +1 -1
- package/dist/product-files.d.ts +6 -0
- package/dist/product-files.d.ts.map +1 -0
- package/dist/product-files.js +55 -0
- package/dist/product-files.js.map +1 -0
- package/dist/work-command.d.ts.map +1 -1
- package/dist/work-command.js +14 -6
- package/dist/work-command.js.map +1 -1
- package/dist/work-policy-registry.d.ts +133 -0
- package/dist/work-policy-registry.d.ts.map +1 -0
- package/dist/work-policy-registry.js +128 -0
- package/dist/work-policy-registry.js.map +1 -0
- package/dist/work-run.d.ts +56 -0
- package/dist/work-run.d.ts.map +1 -0
- package/dist/work-run.js +102 -0
- package/dist/work-run.js.map +1 -0
- package/dist/work-setup.d.ts +40 -0
- package/dist/work-setup.d.ts.map +1 -0
- package/dist/work-setup.js +174 -0
- package/dist/work-setup.js.map +1 -0
- package/extensions/daily-dashboard-session.ts +16 -7
- package/extensions/execute-child.ts +2 -2
- package/extensions/grants-command.ts +2 -2
- package/extensions/grants.ts +6 -2
- package/extensions/learning-outcome-session.ts +38 -0
- package/extensions/learning-session.ts +59 -0
- package/extensions/ordinary-runtime.ts +2 -2
- package/extensions/run-delegation.ts +2 -2
- package/extensions/work-policy-session.ts +139 -0
- package/extensions/work-run-session.ts +75 -0
- package/extensions/work-runtime.ts +2 -2
- package/extensions/work-session.ts +132 -0
- package/package.json +9 -1
- package/src/cli.ts +26 -7
- package/src/daily-dashboard-host.ts +32 -15
- package/src/daily-panel.ts +80 -0
- package/src/daily-view-render.ts +2 -1
- package/src/daily-view.ts +8 -0
- package/src/dashboard-cli.ts +29 -17
- package/src/dashboard-host-contract.ts +2 -0
- package/src/dashboard-host-transport.ts +7 -4
- package/src/dashboard-host.ts +48 -13
- package/src/dashboard-menu.ts +28 -0
- package/src/index.ts +7 -1
- package/src/learning-connection.ts +70 -0
- package/src/measured-order.ts +8 -3
- package/src/model-preflight.ts +9 -0
- package/src/product-files.ts +34 -0
- package/src/work-command.ts +11 -6
- package/src/work-policy-registry.ts +81 -0
- package/src/work-run.ts +79 -0
- package/src/work-setup.ts +141 -0
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,38 @@ the record of how the package got here and are worth keeping; they are not worth
|
|
|
12
12
|
> the record of how the package arrived at what it does, and because the reasoning behind each one is
|
|
13
13
|
> usually the clearest statement of why the current behaviour is what it is.
|
|
14
14
|
|
|
15
|
+
## 0.27.0 — ordinary work and learning product (release candidate; ADR-0073)
|
|
16
|
+
|
|
17
|
+
Prepared from `b9cbef9087b3596a0d930c0ec9b843f34c0f27e8`: Sol-approved producer runtime plus the
|
|
18
|
+
passing supported-command assertion fix. Feature PR #52 merged with green CI at
|
|
19
|
+
`b974963a7d0ba5a74fdafe331356c348a1fba565`. Release PR CI/merge, installed qualification and publication
|
|
20
|
+
remain pending. Matching skill-harness release planned: **0.16.0**. Release preparation changes metadata
|
|
21
|
+
and test synchronization only; dependencies and runtime are unchanged.
|
|
22
|
+
|
|
23
|
+
- Outcome-first Herdr daily panel, observed active model/effort, collapsed history and exact-frame numbered
|
|
24
|
+
actions. The former diagnostic renderer remains `renderDailyDetails`; frozen fixtures stay unchanged.
|
|
25
|
+
- `/grants work` authoring/selecting of 1–8-task DAGs, scope/alternative/priority changes and explicit
|
|
26
|
+
model/effort. Bounded runs reuse original delegation/approval/executor/cancellation owners, retain full
|
|
27
|
+
bounded results, wait on pause and refuse stale pinned scope at admission. No automatic retries.
|
|
28
|
+
- Separate private instruction/presentation retention, including single-work outcome labels; governance
|
|
29
|
+
ledgers still do not store instruction text. CLI `work list`/`work show` and public setup/run exports.
|
|
30
|
+
- `/grants learning` uses the loaded harness's scoped workspace/wizard. Original trust attention is reused;
|
|
31
|
+
quality/reveal, adopt/reject/defer, independent eligibility, activation and later observation stay separate.
|
|
32
|
+
- Additive model/effort-only next-order registry, original receipt linkage, rollback and readback recovery;
|
|
33
|
+
active/old runs stay pinned. Existing fixed-policy, ledger and retention contracts remain unchanged.
|
|
34
|
+
- PR52 review repairs: refuse host stop while pause/pending/unknown control remains; preserve holds on
|
|
35
|
+
denied or unacknowledged resumes. Show the retained restore digest and every task model/effort before
|
|
36
|
+
rollback consent; cover exact activation/readback receipt identities and friendly-label CI regressions.
|
|
37
|
+
- Packaged concise guide/register for pi-daddy 0.27.0 with skill-harness 0.16.0. Release PR CI/merge,
|
|
38
|
+
installed two-extension linkage qualification and publication remain separate coordinator gates; no
|
|
39
|
+
actual calibration, human acceptance or production improvement is claimed.
|
|
40
|
+
|
|
41
|
+
## 0.26.1 — measured-order fractional usage repair (2026-09-14)
|
|
42
|
+
|
|
43
|
+
- Preserve fractional measured-order usage when serializing results, so bounded recovery and dependent review retain exact reported usage.
|
|
44
|
+
- Reviewed source fix evidence includes 1,258 prior full tests, 28 final focused tests and typecheck; a bounded three-call Terra-negative/recovery and dependent-Sol-review demo settled all calls.
|
|
45
|
+
- The demo is execution evidence only: it does not establish human-quality acceptance.
|
|
46
|
+
|
|
15
47
|
## 0.26.0 — usability follow-up (2026-09-13)
|
|
16
48
|
|
|
17
49
|
- Fix Pi reload ownership: an owner-keyed global `WeakMap` survives extension path-cache reload, and delegation registers only after that owner's `session_start`; root settings and a separately inherited same-process SDK child remain distinct.
|
package/PRODUCT-GUIDE.md
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Work and learning in Pi
|
|
2
|
+
|
|
3
|
+
This guide targets **pi-daddy 0.27.0** with matching **skill-harness 0.16.0** (planned releases).
|
|
4
|
+
Producer runtime is Sol-approved; feature PR #52 merged with green CI at
|
|
5
|
+
`b974963a7d0ba5a74fdafe331356c348a1fba565`. Release PR CI/merge, installed qualification and publication
|
|
6
|
+
remain pending. Version metadata is not a publication, acceptance or calibration claim.
|
|
7
|
+
The [current requirement register](./REQUIREMENTS.md) separates implementation from release evidence.
|
|
8
|
+
From an installed shell command, `pi-daddy guide` prints this guide; `pi-daddy current` prints the register.
|
|
9
|
+
|
|
10
|
+
## Start once
|
|
11
|
+
|
|
12
|
+
After both releases are qualified and published, install the matching pair with Pi's normal package manager:
|
|
13
|
+
`pi install npm:pi-daddy@0.27.0` and `pi install npm:skill-harness@0.16.0`.
|
|
14
|
+
Do not treat these planned version commands as evidence the packages are already available.
|
|
15
|
+
Start a **fresh Pi session** after upgrading the harness: its existing immutable bridge survives `/reload`.
|
|
16
|
+
In the project, run `/grants init`, review capability consent, then `/grants` to see usable definitions.
|
|
17
|
+
Existing Principal/runtime skill definitions still work; this flow adds no special Principal policy.
|
|
18
|
+
A definition without `allowed-tools` remains unavailable until its author declares a ceiling.
|
|
19
|
+
Select an available authenticated Pi model; this product never copies credentials or chooses a fallback.
|
|
20
|
+
|
|
21
|
+
## Declare, run, inspect
|
|
22
|
+
|
|
23
|
+
1. **`/grants work new`** asks for an overall outcome, then one to eight tasks. Each task has its own
|
|
24
|
+
outcome/instructions, agent definition (or **No tools**), explicit model and requested effort.
|
|
25
|
+
2. Choose which earlier tasks each task depends on, then the maximum parallel agents (one to eight).
|
|
26
|
+
No dependencies means independent work; a chain expresses sequential work. Review and save.
|
|
27
|
+
**Saving does not run anything.** Text is retained in owner-only local files, not governance ledgers.
|
|
28
|
+
3. In Herdr, **`/grants host`**, then **`/grants dashboard`**, connects the existing owner to a right panel
|
|
29
|
+
without moving focus. The plugin/install handshake and actual Pi pane ownership still apply.
|
|
30
|
+
4. **`/grants work run`** shows the exact setup and bounds, then asks before launching. Every child goes
|
|
31
|
+
through the original delegation/grant/approval/executor path. Failed predecessors block only their
|
|
32
|
+
dependent branch. Complete predecessor output is handed over only within the 32 KiB bound; it is
|
|
33
|
+
never silently truncated. Child deadlines/output limits and the subtree budget remain enforced.
|
|
34
|
+
5. **`/grants work results`** opens retained output. Editor changes are discarded; control characters are
|
|
35
|
+
escaped. A digest mismatch is an error, not permission to substitute another artifact.
|
|
36
|
+
|
|
37
|
+
The run is finite, with no automatic retry or restart recovery. Esc requests cancellation and waits for
|
|
38
|
+
original children to settle. Ordinary model work has **no universal dollar/token cap**; provider usage is
|
|
39
|
+
not invented from output size. Effort is an observed/requested launch setting, not measured internal thought.
|
|
40
|
+
|
|
41
|
+
## Read and steer the panel
|
|
42
|
+
|
|
43
|
+
The outcome comes first, followed by **Running**, **Waiting**, **Needs you** or **Finished**. Active rows
|
|
44
|
+
show observed model/effort; unknown observations stay unknown. Completed attempts are collapsed.
|
|
45
|
+
**Finished is not accepted.** `d` opens diagnostics/history. There are no guessed percentages or ETAs.
|
|
46
|
+
|
|
47
|
+
Enter a displayed **number** for its action. A repaint never gives an old number a new meaning; stale
|
|
48
|
+
choices refuse. Feedback distinguishes acknowledgement, applied control, pending and unknown results.
|
|
49
|
+
Pause stops new admission, not active children. Pending bounded tasks wait for resume. Stop-agent targets
|
|
50
|
+
one original active handle and does not cancel siblings. A pause racing an approval can still refuse that
|
|
51
|
+
attempt at the original boundary; it is not automatically retried. Reads/redraws never request work.
|
|
52
|
+
|
|
53
|
+
**`/grants work`** also selects saved setups or the task for ordinary `delegate`, changes priorities,
|
|
54
|
+
and records scope revisions or alternatives. Live changes use the existing owner's validation/CAS.
|
|
55
|
+
Topology changes require new work; active runs are never rebound. A selected-scope change prevents the
|
|
56
|
+
old bounded order's remaining children from starting. **`/grants host stop` refuses while paused: choose
|
|
57
|
+
Resume new work in the original dashboard first.** Busy/pending controls must finish or be explicitly
|
|
58
|
+
reconciled first. Unknown acknowledgements keep the host for readback; stop never silently releases them.
|
|
59
|
+
Ending the whole Pi session disconnects the host, but does not reconcile unknown effects. A successful
|
|
60
|
+
stop preserves evidence, not a recoverable controller, and cancels no child. **Disconnected** means live
|
|
61
|
+
actions are unavailable, not that children stopped.
|
|
62
|
+
|
|
63
|
+
For shell inspection only: `pi-daddy work list` and `pi-daddy work show` (`--dir` is optional).
|
|
64
|
+
The existing `pi-daddy work add --id … --outcome …` single-obligation entry point remains supported.
|
|
65
|
+
|
|
66
|
+
## Learn deliberately; earn interruptions separately
|
|
67
|
+
|
|
68
|
+
1. **`/grants learning`** creates or explicitly connects a local learning workspace for this exact work
|
|
69
|
+
snapshot, archive, population and author. Scope changes require a new explicit connection, not reuse.
|
|
70
|
+
2. Start the daily host, then choose **Retain current work for learning**. This captures actual P01
|
|
71
|
+
observations and binds the real resulting case batch. An empty batch remains empty.
|
|
72
|
+
3. Open the guided learning review. Review retained cases; connect qualified retained comparisons;
|
|
73
|
+
inspect **all** comparison artifacts. Record an explicit durable quality choice **before** revealing
|
|
74
|
+
model/cost. Artifact contents themselves may reveal identity; prior excerpt feedback remains prior
|
|
75
|
+
feedback, never a full-artifact or fresh-blind judgment.
|
|
76
|
+
4. Record **adopt / reject / defer** separately. Quality preference is neither adoption authority nor
|
|
77
|
+
activation. Missing evidence, unresolved cases and unavailable artifacts have explicit defer reasons.
|
|
78
|
+
5. The harness's **Trust / independent labels** forms freeze a scoped population/policy and separately
|
|
79
|
+
obtain independent case and unflagged-sample labels. A nomination, success exit or human click is not
|
|
80
|
+
calibration. Unconfigured/insufficient/stale trust remains silent or deferred; attention is not reset.
|
|
81
|
+
|
|
82
|
+
Deliberate review does **not** reserve earned automatic exposure. For an automatic closing request use
|
|
83
|
+
`/grants host closing`, pause new work and settle/cancel active children. The panel offers retained case
|
|
84
|
+
cards only under the original presence/quiescence/trust/attention rules. A visible acknowledgement is
|
|
85
|
+
separate from preparation. If trust changes, explicitly resume new work, then stop/start the host to bind
|
|
86
|
+
the original configured trust store; its retained attention is reused, never refilled.
|
|
87
|
+
|
|
88
|
+
## Adopt settings for later orders
|
|
89
|
+
|
|
90
|
+
Under **`/grants learning` → Adoption / rollback for next orders**, create the scoped registry and prepare a named
|
|
91
|
+
model/effort profile. This records candidate bytes, **not evidence that they are better**. A qualified
|
|
92
|
+
comparison must bind that exact candidate digest to real outputs and its actual original hypothesis/case.
|
|
93
|
+
Use the guided review to link those retained origins; missing qualifying data remains a scoped defer.
|
|
94
|
+
|
|
95
|
+
**Activate adopted comparison** configures that binding, separately asks for independent current
|
|
96
|
+
eligibility and exact activation consent, then applies the original registry and links its real receipt.
|
|
97
|
+
Only model/effort for the same task IDs and definition names can vary. Task instructions, topology,
|
|
98
|
+
capabilities and assessment meaning cannot expand through this profile. Normal definition-digest/approval
|
|
99
|
+
checks still run; this does not freeze definition files or the project tree. Fixed-policy contracts are unchanged.
|
|
100
|
+
Subsequent bounded `/grants work` runs ask for fresh eligibility and pin the profile; active/old runs never
|
|
101
|
+
migrate. Ordinary direct `delegate` calls keep their explicit caller configuration. After selecting different work,
|
|
102
|
+
this menu explicitly reconnects that scope's saved settings or creates a fresh baseline; old stores remain.
|
|
103
|
+
|
|
104
|
+
**Roll back active adoption** shows the immutable restore digest and each task's exact retained model/effort
|
|
105
|
+
before separate consent for next orders. With nested adoptions, this is the previous profile, not necessarily
|
|
106
|
+
baseline. Missing or inconsistent registry lineage refuses instead of substituting a named profile.
|
|
107
|
+
If effect and learning linkage separate on failure, **Recover learning link** reconnects the original
|
|
108
|
+
registry observation without replaying activation/rollback.
|
|
109
|
+
|
|
110
|
+
After actual adopted work, **Link observed result from latest adopted order** shows real retained bytes,
|
|
111
|
+
asks for an independent outcome/note, previews its scoped classification and confirms the link.
|
|
112
|
+
**Unknown** is valid. Acceptance stays absent; runtime completion is not confirmed quality, calibrated
|
|
113
|
+
improvement or automatic rollback. More extensive independent observation entry is available in the harness.
|
|
114
|
+
|
|
115
|
+
## Boundaries and local state
|
|
116
|
+
|
|
117
|
+
`.pi/work-setups/` holds private setup history; `.pi/work-current.json` selects work;
|
|
118
|
+
`.pi/learning-workspace.json` and `.pi/work-policy-registry.json` are navigation/binding records, not authority.
|
|
119
|
+
`.pi/work-registry-bindings/` preserves settings-store bindings per work scope.
|
|
120
|
+
Original bounded run/control stores live under the operator's local state directory; `.pi/work-last-run.json`
|
|
121
|
+
locates the most recent result. Do not hand-edit these records. Invalid/aliased/mismatched bytes refuse.
|
|
122
|
+
|
|
123
|
+
This governs **Pi's tool surface**, not a hostile process or same-UID actor. `bash` can escape governance;
|
|
124
|
+
workspace routing is not OS containment. Human authority, genuine labels, calibration and later outcomes
|
|
125
|
+
must actually exist. The UI cannot manufacture them, and this guide does not claim they have been obtained.
|
package/README.md
CHANGED
|
@@ -21,6 +21,21 @@ for this project. See *What this governs, and what it does not*.
|
|
|
21
21
|
> **Known gaps are stated rather than implied** — see *Status* at the end of this file. The largest is
|
|
22
22
|
> deliberate: a child granted `bash` escapes governance entirely, by decision.
|
|
23
23
|
|
|
24
|
+
## Everyday work and learning — 0.27.0 release candidate
|
|
25
|
+
|
|
26
|
+
Paired with planned **skill-harness 0.16.0**. Producer runtime is Sol-approved; feature PR #52 merged
|
|
27
|
+
with green CI at `b974963a7d0ba5a74fdafe331356c348a1fba565`. Release PR CI/merge, installed qualification
|
|
28
|
+
and publication remain pending. Release preparation changes metadata and test synchronization only,
|
|
29
|
+
not runtime or dependencies.
|
|
30
|
+
|
|
31
|
+
Start with the short installed **[PRODUCT-GUIDE.md](./PRODUCT-GUIDE.md)** and
|
|
32
|
+
**[current requirement register](./REQUIREMENTS.md)**. `/grants work` now authors/selects bounded multi-task
|
|
33
|
+
and dependent work with explicit agent/model/effort choices; `/grants host` and `/grants dashboard` show
|
|
34
|
+
outcomes, real active work and numbered controls; `/grants learning` opens retained cases, comparisons,
|
|
35
|
+
trust, quality/adoption choices and next-order settings through the loaded harness. These are source
|
|
36
|
+
implementation paths, not evidence that calibration, human acceptance or publication has occurred.
|
|
37
|
+
The historical worked-example transcripts below remain evidence for their stated versions.
|
|
38
|
+
|
|
24
39
|
## What this governs, and what it does not
|
|
25
40
|
|
|
26
41
|
**It governs the tool surface: which tools pi exposes to a model.** That part is structural, not advisory —
|
|
@@ -242,7 +257,7 @@ explicit **Relink and open** repair. **Not now** or dismissal leaves both the ex
|
|
|
242
257
|
unchanged; protocol mismatches are not replaced by guesswork.
|
|
243
258
|
A connected host can publish exact pre-authorized actions as short commands such as `pause-new-dispatch` or `defer-weekly`; the dashboard lists their human labels and accepts the key followed by Enter. The host resolves the key to its current CAS-bound request, so a person does not type JSON or tokens. Unknown/stale keys refuse before effects; raw JSON remains compatibility-only.
|
|
244
259
|
|
|
245
|
-
|
|
260
|
+
For the planned pi-daddy 0.27.0 / skill-harness 0.16.0 pair, start a fresh Pi session after installing the qualified releases (the immutable harness bridge survives `/reload`), declare work, then run `/grants host <fresh-id>`. Library hosts can use the explicit `pi-daddy/daily-dashboard-host` export. This creates one process-owned daily host, captures the current work/facts sources, publishes its private socket to `/grants dashboard`, and lists `pause-new-dispatch` or `resume-dispatch` plus `refresh-current-work`. Compatible recorded P01 snapshots and selected obligations also become labelled scope-successor, alternative, and put-first actions; choosing one still passes exact intent authority and host/selection/tip CAS, then atomically rebinds both persisted and current-session declared work before new ordinary dispatch is released. Refresh is a deliberate action that atomically mirrors the current declared ledger and advances the existing source checkpoint; periodic dashboard redraw remains read-only. Pausing blocks only new governed ordinary children; a child already running keeps its original caller/result. An active retained child also gets an exact `cancel-exec-…` action (up to the ordinary eight-child width); choosing it requests abort through the original handle without cancelling siblings or implying acceptance/rejection. `/grants host closing` declares two minutes of explicit closing presence; only a paused, reservation-free, ordinary-quiescent host offers case-card preparation, and absent trust qualification defers without spending the five-card budget. `/grants host stop` refuses while paused, busy, pending or acknowledgement-unknown: resume new work in the original dashboard first, and reconcile pending controls explicitly. Refusal preserves the original host/socket; unknown effects are never silently released. A successful stop closes the host and never cancels a child. Restart uses a fresh id; no PID, user-entered JSON/CAS envelope or prior controller is recovered.
|
|
246
261
|
|
|
247
262
|
The separate `pi-daddy/measured-order` export composes no-tool measured Sol/Terra sessions into a bounded dependent order. Every retry and deterministic output contract is predeclared; bounded JSON projection contracts admit free-form prose without pre-knowing the whole artifact hash, and dependent prompts consume the actual retained predecessor output with its observed seal. A reopened controller treats another owner's unfinished claim as unknown and cannot replay it; an independently authorized exact acknowledgement can consume that schedule position, but never refunds or settles the original resource reservation. See ADR-0072.
|
|
248
263
|
|
package/REQUIREMENTS.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Current producer requirement register
|
|
2
|
+
|
|
3
|
+
**Release candidate:** pi-daddy **0.27.0**, paired with planned skill-harness **0.16.0**, implementing the
|
|
4
|
+
2026-09-14 proposal. This is current product scope, not an npm/release receipt or a replacement for dated
|
|
5
|
+
evidence. Read [PRODUCT-GUIDE.md](./PRODUCT-GUIDE.md).
|
|
6
|
+
|
|
7
|
+
| Requirement | Supported entry point / implementation | Boundary / remaining evidence |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| Outcome-first side panel; Running/Waiting/Needs you/Finished/Disconnected | `/grants host`, `/grants dashboard`; `daily-panel`, existing host/socket | Actual owner/observations only. Unknown model/effort stays unknown. Full diagnostics/history under Details. |
|
|
10
|
+
| Real available steering and acknowledgement | Numbered exact-frame choices; pause/resume, original-child cancellation, explicit capture and closing | Repaint cannot remap a number. Stop refuses outstanding pause/pending/unknown control; resume first. No action on reads; no recovered controller; pending/unknown is not applied. |
|
|
11
|
+
| Normal multi-task authoring/selection | `/grants work new`, `/grants work`; `work-setup` P01 builders and private retained text | 1–8 tasks, explicit dependencies/model/effort/concurrency. No ledger JSON authoring. Legacy single-work and ordinary delegate/all/chain remain. |
|
|
12
|
+
| Scope/alternative/priority changes | Work menu → existing daily intent owner/CAS; selected-task binding for direct delegate | Topology changes need new work. Instructions/configuration may be deliberately revised; permission semantics do not widen. Active orders never rebind. |
|
|
13
|
+
| Bounded parallel/dependent work and results | `/grants work run`, `/grants work results`; `work-run`, original `runOneDelegation` | Subtree budget, 1–8 concurrency, original child timeout/output/approval/grant guards. Failed dependencies block their branch. Pause waits; no retry/relaunch, no ordinary dollar/token cap. |
|
|
14
|
+
| Public retained learning and scope-bound trust | `/grants learning` → existing harness workspace/wizard via original bridge | Raw selected snapshot digest + archive/population/author pinned. Deliberate review is not earned exposure. Actual labels/calibration may be absent. |
|
|
15
|
+
| Full quality choice before model/cost reveal | Harness full-artifact editor, durable quality choice, separate reveal | Prior excerpts/previously exposed content remain limited evidence. Human full review/preference has not been fabricated by implementation. |
|
|
16
|
+
| Distinct adopt/reject/defer; next-order settings | Learning → Adoption / rollback; `ordinary-work-policy-v1` and original adoption predicates/control journals | Exact model/effort candidate only; unchanged definition names/task IDs/scope/assessment; not a definition-file/tree pin. Current confirmed cases/origin/choice/adopt intent plus independent eligibility/activation required. No false fixed-policy profile. |
|
|
17
|
+
| Rollback, pinning and later observations | Next-order registry → actual receipt linkage/recovery; latest adopted-order output observation | Rollback consent shows the retained restore digest and every task model/effort. Activation/recovery preserve exact original request/adoption proof. Old runs keep original pins. Real confirmed outcomes require independent consent; unknown is valid. No inferred acceptance, calibration, automatic rollback or efficacy. |
|
|
18
|
+
| Installed guide/public contracts | `pi-daddy guide` / `current`, package root/subpath exports and Pi extension | Existing frozen governance/retention/fixed-policy contracts and historical fixtures are preserved. No new runtime dependency or Principal-specific policy. |
|
|
19
|
+
|
|
20
|
+
## Evidence status and release gates
|
|
21
|
+
|
|
22
|
+
Implementation is present in source. Focused regression files accompany setup, scheduler, panel/action
|
|
23
|
+
binding, original late-admission guard, learning composition and additive registry. Legacy diagnostic view
|
|
24
|
+
fixtures remain checked through `renderDailyDetails`; ordinary `renderDailyView` is the concise panel.
|
|
25
|
+
|
|
26
|
+
**Producer runtime is Sol-approved; feature PR #52 merged with green CI at
|
|
27
|
+
`b974963a7d0ba5a74fdafe331356c348a1fba565`. Release PR CI/merge, installed cross-package/Herdr
|
|
28
|
+
qualification and publication remain pending coordinator gates.** A narrow type/build/unit or
|
|
29
|
+
bridge check is not evidence of live model quality, calibrated trust, actual adoption/rollback or later
|
|
30
|
+
production improvement. Exact candidate/check receipts belong with the delivery evidence, not invented
|
|
31
|
+
inside this portable register.
|
|
32
|
+
|
|
33
|
+
No model experiments, nested review agents, mutation programme, global install, release or historical
|
|
34
|
+
evidence rewrite is required by this implementation step. Existing CI/ordinary behavioral checks remain.
|
|
35
|
+
|
|
36
|
+
## Data that must be real
|
|
37
|
+
|
|
38
|
+
A comparison without qualified retained outputs/original linked evidence is deferred. A trust policy
|
|
39
|
+
without sufficient independent scoped labels stays silent/deferred. A setting without independent current
|
|
40
|
+
eligibility/approval does not activate. A later outcome without an actual adopted run and retained bytes
|
|
41
|
+
stays unavailable/unknown. These are explicit operational states, not invitations to supply fake data.
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* `pi-daddy` —
|
|
3
|
+
* `pi-daddy` — scaffolding, read-only work inspection and the installed product guide.
|
|
4
4
|
*
|
|
5
5
|
* Thin on purpose: argv in, `discoverSkillPackages` + `planInit` + `applyInit`, report out. Every decision
|
|
6
6
|
* lives in `./init.ts`, `./grant-env.ts` and `./skill-packages.ts` as functions that touch no argv and print
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* was accepted in silence — the exact failure the check's own comment says it prevents.
|
|
14
14
|
*/
|
|
15
15
|
export interface ParsedArgs {
|
|
16
|
-
command: "init" | "work-add" | "help" | "version";
|
|
16
|
+
command: "init" | "work-add" | "work-list" | "work-show" | "guide" | "current" | "help" | "version";
|
|
17
17
|
dir?: string;
|
|
18
18
|
force: boolean;
|
|
19
19
|
id?: string;
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;GAYG;
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;GAYG;AAoCH,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IACpG,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU,CAwDpD;AAwJD,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAkD1D"}
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* `pi-daddy` —
|
|
3
|
+
* `pi-daddy` — scaffolding, read-only work inspection and the installed product guide.
|
|
4
4
|
*
|
|
5
5
|
* Thin on purpose: argv in, `discoverSkillPackages` + `planInit` + `applyInit`, report out. Every decision
|
|
6
6
|
* lives in `./init.ts`, `./grant-env.ts` and `./skill-packages.ts` as functions that touch no argv and print
|
|
@@ -20,7 +20,9 @@ import { UnsafeGrantError } from "./grant-env.js";
|
|
|
20
20
|
import { applyInit, countDeclaring, planInit } from "./init.js";
|
|
21
21
|
import { registeredWorkspaceIds } from "./workspace.js";
|
|
22
22
|
import { discoverSkillPackages, skillPackageRoots } from "./skill-packages.js";
|
|
23
|
-
import { declareWork } from "./work-command.js";
|
|
23
|
+
import { declareWork, loadDeclaredWork } from "./work-command.js";
|
|
24
|
+
import { listWorkSetups, workPresentation } from "./work-setup.js";
|
|
25
|
+
import { panelText } from "./daily-panel.js";
|
|
24
26
|
const USAGE = `pi-daddy — capability governance for pi sub-agents
|
|
25
27
|
|
|
26
28
|
Usage:
|
|
@@ -28,6 +30,11 @@ Usage:
|
|
|
28
30
|
packages that declare skills (package.json "pi": {"skills": …})
|
|
29
31
|
pi-daddy work add --id <id> --outcome <text> [--dir <path>]
|
|
30
32
|
declare one current obligation for ordinary delegation
|
|
33
|
+
pi-daddy work list | work show [--dir <path>]
|
|
34
|
+
inspect saved setups or selected outcome (no model calls)
|
|
35
|
+
In Pi: /grants work guided multi-task/model/effort/dependency setup and run
|
|
36
|
+
/grants learning retained review, trust, adoption and later outcomes
|
|
37
|
+
pi-daddy guide | current installed product guide / current requirement register
|
|
31
38
|
pi-daddy --help | --version
|
|
32
39
|
|
|
33
40
|
init copies each declared SKILL.md into .pi/skills/ and writes a grant naming exactly what those files
|
|
@@ -53,12 +60,15 @@ export function parseArgs(argv) {
|
|
|
53
60
|
if (args.includes("--version") || args.includes("-v"))
|
|
54
61
|
return { command: "version", force: false, errors: [] };
|
|
55
62
|
const [command, ...tail] = args;
|
|
63
|
+
if (command === "guide" || command === "current")
|
|
64
|
+
return { command, force: false, errors: tail.length ? [`${command} takes no arguments`] : [] };
|
|
56
65
|
if (command !== "init" && command !== "work")
|
|
57
66
|
return { command: "help", force: false, errors: [`unknown command "${command}"`] };
|
|
58
67
|
const work = command === "work";
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
|
|
68
|
+
const workVerb = tail[0];
|
|
69
|
+
const rest = work ? tail.slice(1) : tail;
|
|
70
|
+
if (work && !["add", "list", "show"].includes(workVerb))
|
|
71
|
+
return { command: "work-add", force: false, errors: ["work needs add, list or show; /grants work opens guided setup in Pi"] };
|
|
62
72
|
const errors = [];
|
|
63
73
|
let dir;
|
|
64
74
|
let force = false;
|
|
@@ -68,7 +78,7 @@ export function parseArgs(argv) {
|
|
|
68
78
|
if (arg === "--force" && !work) {
|
|
69
79
|
force = true;
|
|
70
80
|
}
|
|
71
|
-
else if (arg === "--id" && work) {
|
|
81
|
+
else if (arg === "--id" && work && workVerb === "add") {
|
|
72
82
|
const value = rest[i + 1];
|
|
73
83
|
if (value === undefined || value.startsWith("-"))
|
|
74
84
|
errors.push("--id needs a value");
|
|
@@ -77,7 +87,7 @@ export function parseArgs(argv) {
|
|
|
77
87
|
i += 1;
|
|
78
88
|
}
|
|
79
89
|
}
|
|
80
|
-
else if (arg === "--outcome" && work) {
|
|
90
|
+
else if (arg === "--outcome" && work && workVerb === "add") {
|
|
81
91
|
const value = rest[i + 1];
|
|
82
92
|
if (value === undefined || value.startsWith("-"))
|
|
83
93
|
errors.push("--outcome needs text");
|
|
@@ -106,6 +116,8 @@ export function parseArgs(argv) {
|
|
|
106
116
|
errors.push(`unknown option ${arg}`);
|
|
107
117
|
}
|
|
108
118
|
}
|
|
119
|
+
if (work && workVerb !== "add")
|
|
120
|
+
return { command: workVerb === "list" ? "work-list" : "work-show", force: false, errors, ...(dir ? { dir } : {}) };
|
|
109
121
|
if (work) {
|
|
110
122
|
if (!id && !errors.some(error => error.startsWith("--id")))
|
|
111
123
|
errors.push("--id needs a value");
|
|
@@ -258,6 +270,22 @@ export async function main(argv) {
|
|
|
258
270
|
console.log(USAGE);
|
|
259
271
|
return 0;
|
|
260
272
|
}
|
|
273
|
+
if (parsed.command === "guide" || parsed.command === "current") {
|
|
274
|
+
console.log(await readFile(new URL(parsed.command === "guide" ? "../PRODUCT-GUIDE.md" : "../REQUIREMENTS.md", import.meta.url), "utf8"));
|
|
275
|
+
return 0;
|
|
276
|
+
}
|
|
277
|
+
if (parsed.command === "work-list" || parsed.command === "work-show") {
|
|
278
|
+
const cwd = resolvePath(parsed.dir ?? process.cwd());
|
|
279
|
+
if (parsed.command === "work-list") {
|
|
280
|
+
const setups = await listWorkSetups(cwd);
|
|
281
|
+
console.log(setups.map((s, i) => `${i + 1}. ${panelText(s.setup.outcome)} — ${s.setup.tasks.length} tasks; up to ${s.setup.maxParallel} parallel`).join("\n") || "No saved multi-task setups. In Pi: /grants work");
|
|
282
|
+
}
|
|
283
|
+
else {
|
|
284
|
+
const state = await loadDeclaredWork(resolvePath(cwd, ".pi/work-current.json")), view = state ? await workPresentation(state) : null;
|
|
285
|
+
console.log(view ? [panelText(view.outcome), ...view.obligations.map(o => `- ${panelText(o.outcome)}`)].join("\n") : state ? "Selected legacy work; outcome text unavailable" : "No work selected. In Pi: /grants work");
|
|
286
|
+
}
|
|
287
|
+
return 0;
|
|
288
|
+
}
|
|
261
289
|
if (parsed.command === "work-add") {
|
|
262
290
|
const declared = await declareWork({
|
|
263
291
|
cwd: resolvePath(parsed.dir ?? process.cwd()),
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,QAAQ,EAAiB,MAAM,WAAW,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAwC,MAAM,qBAAqB,CAAC;AACrH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;4FAe8E,CAAC;AAY7F;;;;;;GAMG;AACH,MAAM,UAAU,SAAS,CAAC,IAAc;IACtC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC3B,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;QAAE,O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,eAAe,EAAE,CAAC;IACpB,OAAO,CAAC,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAC9C,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { type DeclaredWorkState } from "./work-command.ts";
|
|
|
4
4
|
import { type OrdinaryChildren } from "./ordinary-children.ts";
|
|
5
5
|
import { type IntentPriority, type IntentSelection } from "./intent-control.ts";
|
|
6
6
|
import { type WorkRevisionEvent, type WorkSnapshotEvent } from "./work-ledger.ts";
|
|
7
|
+
import { type LearningConnection } from "./learning-connection.ts";
|
|
7
8
|
export interface DailyIntentAction {
|
|
8
9
|
key: string;
|
|
9
10
|
label: string;
|
|
@@ -22,6 +23,7 @@ export interface DailyDashboardHostInput {
|
|
|
22
23
|
ordinary: OrdinaryChildren;
|
|
23
24
|
harness: DashboardHarness;
|
|
24
25
|
author: string;
|
|
26
|
+
learning?: LearningConnection;
|
|
25
27
|
priorities?: IntentPriority[];
|
|
26
28
|
intentActions?: DailyIntentAction[];
|
|
27
29
|
presence?: () => {
|
|
@@ -39,6 +41,8 @@ export declare function startDailyDashboardHost(input: DailyDashboardHostInput):
|
|
|
39
41
|
host: Readonly<{
|
|
40
42
|
hostDigest: string;
|
|
41
43
|
selectionDigest: string;
|
|
44
|
+
stop(): Promise<void>;
|
|
45
|
+
endSession(): void;
|
|
42
46
|
frame(): Promise<{
|
|
43
47
|
version: string;
|
|
44
48
|
hostDigest: string;
|
|
@@ -60,7 +64,9 @@ export declare function startDailyDashboardHost(input: DailyDashboardHostInput):
|
|
|
60
64
|
key: string;
|
|
61
65
|
label: string;
|
|
62
66
|
operation: string;
|
|
67
|
+
requestDigest: string;
|
|
63
68
|
}[];
|
|
69
|
+
presentation: import("./daily-panel.ts").WorkPresentation | null;
|
|
64
70
|
requests: Record<string, unknown>[];
|
|
65
71
|
control: string;
|
|
66
72
|
acknowledgement: string;
|
|
@@ -91,7 +97,9 @@ export declare function startDailyDashboardHost(input: DailyDashboardHostInput):
|
|
|
91
97
|
key: string;
|
|
92
98
|
label: string;
|
|
93
99
|
operation: string;
|
|
100
|
+
requestDigest: string;
|
|
94
101
|
}[];
|
|
102
|
+
presentation: import("./daily-panel.ts").WorkPresentation | null;
|
|
95
103
|
requests: Record<string, unknown>[];
|
|
96
104
|
control: string;
|
|
97
105
|
acknowledgement: string;
|
|
@@ -101,7 +109,10 @@ export declare function startDailyDashboardHost(input: DailyDashboardHostInput):
|
|
|
101
109
|
freshness: string;
|
|
102
110
|
workerInteractions: number;
|
|
103
111
|
}>;
|
|
104
|
-
humanAction(key: string
|
|
112
|
+
humanAction(key: string, expected?: {
|
|
113
|
+
tip: string;
|
|
114
|
+
requestDigest: string;
|
|
115
|
+
}): Promise<{
|
|
105
116
|
state: string;
|
|
106
117
|
result?: undefined;
|
|
107
118
|
} | {
|
|
@@ -119,5 +130,7 @@ export declare function startDailyDashboardHost(input: DailyDashboardHostInput):
|
|
|
119
130
|
socketPath: string;
|
|
120
131
|
directory: string;
|
|
121
132
|
close(): Promise<void>;
|
|
133
|
+
/** Final Pi owner-session disposal, never a manual host replacement or implicit resume. */
|
|
134
|
+
endSession(): Promise<void>;
|
|
122
135
|
}>>;
|
|
123
136
|
//# sourceMappingURL=daily-dashboard-host.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daily-dashboard-host.d.ts","sourceRoot":"","sources":["../src/daily-dashboard-host.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+H,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC7L,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAKrE,OAAO,EAAsB,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAoD,KAAK,gBAAgB,EAAuB,MAAM,wBAAwB,CAAC;AAGtI,OAAO,EAAiD,KAAK,cAAc,EAAsB,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACnJ,OA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