CHANGELOG: pi -p skips the palace wake-up and mailbox poll (mempalace-toolkit d5a03f4)
Lint / skill-floor (push) Successful in 8s
Lint / hadolint (push) Successful in 10s
Lint / doc-drift (push) Successful in 18s
Lint / actionlint (push) Successful in 28s

Measured on tor-ms22: 3 palace requests and 1.6 s, against 15 requests
(12 tools/call) with MEMPALACE_WAKEUP_PRINT=1. check-doc-drift.sh: DRIFT
before this entry, rc=0 after.
This commit is contained in:
2026-10-13 15:32:40 +02:00
parent 1d53e008d4
commit fa38e3e102
+12 -1
View File
@@ -18,7 +18,7 @@ Pre-v1.0.0 tags followed the pi npm version (`v{pi_version}[letter]`).
| Component | Baked in v1.11.0 | Next build | Why |
|---|---|---|---|
| pi-extensions | `a88fa99` | **`750b2a8`** (or later: CI resolves `main` at build time) | `mcp-loader.ts` retired; `install.sh` prunes stale links (below) |
| mempalace-toolkit | `975ab92` | **`f590a3a`** (or later) | `pi -p` returns in seconds: `2f0edf5` clears the feed's leftover 5-min timer, and `f590a3a` skips the feed in print/JSON mode (below). Also `a30af61`: the bridge's `RemoteMcpClient` is now the only copy, and `scripts/check-mcp-client-sync.sh` is removed (comment/README only) |
| mempalace-toolkit | `975ab92` | **`d5a03f4`** (or later) | `pi -p` returns in seconds: `2f0edf5` clears the feed's leftover 5-min timer, `f590a3a` skips the feed in print/JSON mode, and `d5a03f4` skips the wake-up and mailbox poll there too (below). Also `a30af61`: the bridge's `RemoteMcpClient` is now the only copy, and `scripts/check-mcp-client-sync.sh` is removed (comment/README only) |
### Fixed
@@ -43,6 +43,17 @@ Pre-v1.0.0 tags followed the pi npm version (`v{pi_version}[letter]`).
both changes, and each change's pre-fix source fails it. Until the next
build, scripts that call `pi -p` on a devbox should keep their `timeout` or
set `MEMPALACE_FEED=0`.
- **`pi -p` no longer gets the palace wake-up.** In print and JSON mode the
mempalace bridge now skips the wake-up injection and the mid-session mailbox
poll (mempalace-toolkit `d5a03f4`). The injection is status, diary, and the
owed/closed mailbox lists. The `mempalace_*` tools are still registered.
Measured on tor-ms22: `pi -p` makes 3 palace requests (the MCP handshake)
and exits in 1.6 s. With the wake-up it made 15 requests, 12 of them
`tools/call`. The wake-up is for the person at an interactive session, who
sees it in the next one. In a script it is cost, and once it was harm: a
probe's flash model read the injected diary's open items as its task, ran
about 12 tool calls, and filed a wrong drawer in the shared palace.
`MEMPALACE_WAKEUP_PRINT=1` restores the wake-up for `pi -p`.
### Changed