@llblab/pi-actors 0.27.0 → 0.27.1
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/BACKLOG.md +45 -2
- package/CHANGELOG.md +7 -0
- package/dist/skills/actors/SKILL.md +1 -1
- package/dist/skills/swarm/SKILL.md +1 -1
- package/package.json +1 -1
- package/skills/actors/SKILL.md +1 -1
- package/skills/swarm/SKILL.md +1 -1
package/BACKLOG.md
CHANGED
|
@@ -228,7 +228,7 @@ The backlog is intentionally pruned to the 20% of work most likely to deliver 80
|
|
|
228
228
|
### M-12 Runtime and Session Observability UX
|
|
229
229
|
|
|
230
230
|
- Priority: High.
|
|
231
|
-
- Status:
|
|
231
|
+
- Status: Done.
|
|
232
232
|
- Goal: Make reload/session/runtime mismatches visible without changing ownership or lifecycle policy.
|
|
233
233
|
- Why now: 0.26 dogfood showed that actors, mailbox workers, and hotfixes work after a full Pi restart, but ordinary reloads can leave operators unsure which extension code is live. Session ownership mismatches also surface as terse strings instead of structured diagnostics or navigation hints.
|
|
234
234
|
- Direction:
|
|
@@ -247,6 +247,49 @@ The backlog is intentionally pruned to the 20% of work most likely to deliver 80
|
|
|
247
247
|
- Coordinator/session status exposes other-session counts without leaking unrelated run details by default.
|
|
248
248
|
- Tests cover version inspection, session mismatch shape, and other-session count summaries.
|
|
249
249
|
|
|
250
|
+
### M-13 Shadowed Recipe Launch UX
|
|
251
|
+
|
|
252
|
+
- Priority: High.
|
|
253
|
+
- Status: Planned.
|
|
254
|
+
- Goal: Make broken user recipes that shadow packaged/ad hoc candidates obvious at launch time.
|
|
255
|
+
- Why now: 0.26 dogfood found a broken `~/.pi/agent/recipes/actor-worker.json` shadowing the packaged `actor-worker`; Recipe Doctor exposed the evidence, but the launch path did not provide a direct hint.
|
|
256
|
+
- Direction:
|
|
257
|
+
- When recipe resolution or launch fails because the active user recipe is invalid/disabled and a lower-priority candidate exists, surface `reason=shadowed_invalid` or `reason=shadowed_disabled` where practical.
|
|
258
|
+
- Include active path, blocked candidate path, and compact hint: `inspect target=recipes view=doctor`.
|
|
259
|
+
- Keep remediation advisory only; do not auto-disable, delete, or rewrite user recipes.
|
|
260
|
+
- Acceptance:
|
|
261
|
+
- Launch failures caused by shadowing include a compact actionable hint.
|
|
262
|
+
- Verbose details expose the active broken recipe and blocked fallback candidate.
|
|
263
|
+
- Tests cover invalid and disabled user recipes shadowing a packaged candidate.
|
|
264
|
+
|
|
265
|
+
### M-14 Session Mismatch Follow-through
|
|
266
|
+
|
|
267
|
+
- Priority: Medium.
|
|
268
|
+
- Status: Planned.
|
|
269
|
+
- Goal: Extend 0.27 structured session diagnostics consistently across room, branch, run, coordinator, and session workflows.
|
|
270
|
+
- Why now: M-12 established the shape; dogfood should now make every ownership denial equally actionable without relaxing ownership gates.
|
|
271
|
+
- Direction:
|
|
272
|
+
- Audit all session mismatch errors for consistent `reason`, owner/current session fields, and inspect-session hints.
|
|
273
|
+
- Keep read/write ownership policy unchanged.
|
|
274
|
+
- Update docs with session mismatch examples and recovery inspection paths.
|
|
275
|
+
- Acceptance:
|
|
276
|
+
- Room, branch, run, coordinator, and session denials share the same compact/verbose shape.
|
|
277
|
+
- Tests cover representative inspect and message paths.
|
|
278
|
+
|
|
279
|
+
### M-15 Worker Stale-Claim Dogfood
|
|
280
|
+
|
|
281
|
+
- Priority: Medium.
|
|
282
|
+
- Status: Planned.
|
|
283
|
+
- Goal: Validate and harden actor-worker v2 stale-claim visibility under intentionally stale claimed branch messages.
|
|
284
|
+
- Why now: M-09 exposed `stale_claims`; real dogfood should verify the operator can diagnose stuck claimed work before adding recovery policy.
|
|
285
|
+
- Direction:
|
|
286
|
+
- Create deterministic stale claimed branch inbox fixtures or smoke tests.
|
|
287
|
+
- Verify `worker-status.json`, room events, and inspect surfaces make stale claims visible.
|
|
288
|
+
- Defer auto-recovery unless workflow evidence proves it is safe.
|
|
289
|
+
- Acceptance:
|
|
290
|
+
- Stale claims are reproducible and visible in worker status.
|
|
291
|
+
- Tests cover stale-claim counting without adding scheduler/broker policy.
|
|
292
|
+
|
|
250
293
|
## Explicitly Deferred
|
|
251
294
|
|
|
252
295
|
These are valid ideas but not current focus. Reintroduce only with concrete evidence from real actor workflows.
|
|
@@ -263,5 +306,5 @@ These are valid ideas but not current focus. Reintroduce only with concrete evid
|
|
|
263
306
|
## Suggested Milestone Order
|
|
264
307
|
|
|
265
308
|
```text
|
|
266
|
-
Next milestone: M-
|
|
309
|
+
Next milestone: M-13 Shadowed Recipe Launch UX.
|
|
267
310
|
```
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.27.1: Changelog and Backlog Hotfix
|
|
6
|
+
|
|
7
|
+
- `[Changelog]` Moved the 0.27.0 runtime/session observability notes out of `Unreleased` into a proper release section so published package history matches the npm/tag release.
|
|
8
|
+
- `[Backlog]` Marked M-12 complete and added the next evidence-backed candidates for shadowed recipe launch UX, session mismatch follow-through, and worker stale-claim dogfood.
|
|
9
|
+
|
|
10
|
+
## 0.27.0: Runtime and Session Observability UX
|
|
11
|
+
|
|
5
12
|
- `[Inspect]` Added `inspect target=tool:pi-actors view=status` as a runtime verification surface with loaded version, package root, source/dist mode, entrypoint path, recipe roots, and git commit when available.
|
|
6
13
|
- `[Sessions]` Started structured session mismatch diagnostics with `reason=session_mismatch`, owner/current session fields, and compact inspect-session hints while preserving current ownership gates.
|
|
7
14
|
- `[Sessions]` Added other-session run counts to coordinator/session status summaries so reload/resume states do not misleadingly report only `runs=0` without nearby context.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: actors
|
|
3
3
|
description: Highest-density practical guide for pi-actors. Read this skill whenever prompt and tools are not enough for spawn, message, inspect, actor runs, tools, recipes, command templates, async lifecycle, mailboxes, artifacts, and local orchestration mechanics.
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.27.
|
|
5
|
+
version: 0.27.1
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Actors (pi-actors)
|
package/package.json
CHANGED
package/skills/actors/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: actors
|
|
3
3
|
description: Highest-density practical guide for pi-actors. Read this skill whenever prompt and tools are not enough for spawn, message, inspect, actor runs, tools, recipes, command templates, async lifecycle, mailboxes, artifacts, and local orchestration mechanics.
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.27.
|
|
5
|
+
version: 0.27.1
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Actors (pi-actors)
|
package/skills/swarm/SKILL.md
CHANGED