@llblab/pi-actors 0.30.0 → 0.30.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 +36 -0
- package/CHANGELOG.md +5 -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
|
@@ -41,6 +41,13 @@ Non-goals:
|
|
|
41
41
|
|
|
42
42
|
No open hotfix items.
|
|
43
43
|
|
|
44
|
+
## Backlog Curation Rules
|
|
45
|
+
|
|
46
|
+
- Completed work belongs in `CHANGELOG.md`, not in `BACKLOG.md`.
|
|
47
|
+
- File length alone is not a domain-split trigger: ~1000-line cohesive domain files are acceptable when ownership is clear.
|
|
48
|
+
- Consider splitting only when a file crosses roughly 2000 lines, mixes real ownership zones, or hides a clearer domain boundary.
|
|
49
|
+
- Prefer semantic compression before file splitting: fewer public nouns, consistent outcomes, compact diagnostics, and domain-owned constants/helpers.
|
|
50
|
+
|
|
44
51
|
## Minor Backlog
|
|
45
52
|
|
|
46
53
|
The backlog is intentionally pruned to the 20% of work most likely to deliver 80% of value for `pi-actors` as a local actor kernel. Bias toward consolidation, smaller public surface area, and reliability over new feature breadth.
|
|
@@ -73,6 +80,20 @@ The backlog is intentionally pruned to the 20% of work most likely to deliver 80
|
|
|
73
80
|
- Stale claims are reproducible and visible in worker status.
|
|
74
81
|
- Tests cover stale-claim counting without adding scheduler/broker policy.
|
|
75
82
|
|
|
83
|
+
### M-23 Tool Boundary Type Tightening
|
|
84
|
+
|
|
85
|
+
- Priority: Low.
|
|
86
|
+
- Status: Planned.
|
|
87
|
+
- Goal: Remove avoidable `any` at the Pi/tool boundary where a narrow local type can express the real contract without broad rewiring.
|
|
88
|
+
- Why now: `index.ts` still keeps runtime tool definitions in a `Map<string, any>`; this is small but visible in the composition root.
|
|
89
|
+
- Direction:
|
|
90
|
+
- Add or reuse a narrow exported tool-definition type from the Pi adapter or tools domain.
|
|
91
|
+
- Keep SDK details behind `lib/pi.ts`.
|
|
92
|
+
- Do not introduce a broad type-modeling pass across every schema helper.
|
|
93
|
+
- Acceptance:
|
|
94
|
+
- `index.ts` no longer uses `Map<string, any>` for actor tool definitions.
|
|
95
|
+
- TypeScript validation still passes without weakening public tool schemas.
|
|
96
|
+
|
|
76
97
|
### M-17 Message Delivery Outcome Contract
|
|
77
98
|
|
|
78
99
|
- Priority: High.
|
|
@@ -108,6 +129,20 @@ The backlog is intentionally pruned to the 20% of work most likely to deliver 80
|
|
|
108
129
|
- Tests cover valid promotion, invalid candidate, name collision, and packaged-recipe shadowing.
|
|
109
130
|
- Docs explain candidate memory vs active tool memory in one compact section.
|
|
110
131
|
|
|
132
|
+
### M-24 Registry Path Naming Cleanup
|
|
133
|
+
|
|
134
|
+
- Priority: Low.
|
|
135
|
+
- Status: Planned.
|
|
136
|
+
- Goal: Reduce legacy-storage naming noise without changing the persistent file path.
|
|
137
|
+
- Why now: `legacy-tool-registry.json` is still a compatibility storage path, but helper names and tests should make clear that the stable path is retained intentionally.
|
|
138
|
+
- Direction:
|
|
139
|
+
- Prefer neutral helper/test wording such as registry path or retained registry storage path.
|
|
140
|
+
- Keep the on-disk filename unchanged unless a separate migration is justified.
|
|
141
|
+
- Do not reintroduce legacy migration code.
|
|
142
|
+
- Acceptance:
|
|
143
|
+
- Path helpers and tests no longer imply an unfinished migration.
|
|
144
|
+
- Existing registry storage compatibility remains unchanged.
|
|
145
|
+
|
|
111
146
|
### M-19 Recipe Doctor Risk Labels v2
|
|
112
147
|
|
|
113
148
|
- Priority: Medium.
|
|
@@ -193,4 +228,5 @@ These are valid ideas but not current focus. Reintroduce only with concrete evid
|
|
|
193
228
|
```text
|
|
194
229
|
Next milestone: M-14 Session Mismatch Follow-through.
|
|
195
230
|
Then: M-15 Worker Stale-Claim Dogfood → M-17 Message Delivery Outcome Contract → M-18 Candidate Recipe Promotion UX.
|
|
231
|
+
Small cleanup lane: M-23 Tool Boundary Type Tightening → M-24 Registry Path Naming Cleanup.
|
|
196
232
|
```
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.30.1: Backlog Curation Hotfix
|
|
6
|
+
|
|
7
|
+
- `[Backlog]` Added curation rules clarifying that completed work belongs only in the changelog, that cohesive ~1000-line domain files are acceptable, and that file splitting should follow real ownership boundaries rather than line count alone.
|
|
8
|
+
- `[Backlog]` Added small cleanup candidates for typed tool-boundary tightening and retained registry-path naming clarity without expanding the public actor surface.
|
|
9
|
+
|
|
5
10
|
## 0.30.0: Composition Root Compression
|
|
6
11
|
|
|
7
12
|
- `[Entrypoint]` Added a narrow Pi SDK adapter domain, moved recipe live-reload mechanics into the runtime domain, moved run-state watcher, run UI observation state, and run notification formatting into observability, moved runtime path constants and co-located skill path discovery to the paths domain, grouped core actor tool definitions in the tools domain, and shifted actor-inspector command state/parsing/render selection into the actor-inspector domain so `index.ts` keeps only live Pi wiring.
|
|
@@ -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.30.
|
|
5
|
+
version: 0.30.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.30.
|
|
5
|
+
version: 0.30.1
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Actors (pi-actors)
|
package/skills/swarm/SKILL.md
CHANGED