Repository navigation
PiClaw v4.0.0 — “The Force Awakens”
PiClaw has spent much of its life keeping the books for an agent runtime: remembering which conversation owned a request, which input had reached the model and which unfinished job must not be tried again. With pi-durable finally doing that work upstream, a sizeable local administration has become eligible for retirement.
So after a month of intense refactoring and nearly 100K lines tossed away,1 it's time to release a fundamentally new version. This release has breaking changes, and it is entirely on purpose, because there was just a lot of baggage that had to be thrown out.
The browser UI has had a full reorganisation. Chat, files, plans and tools share one workbench, and the separate Visual interface has been removed. Several of its useful ideas have found permanent accommodation in the main UI, without requiring a second building to maintain.
Highlights
- A durable core on Pi 1.7.0. Conversations, input placement, execution, cancellation and results use pi-durable, replacing large parts of PiClaw's locally maintained runtime machinery.
- One web workbench. Sessions and Explorer sit alongside chat and tabbed editors, viewers, Settings and the current plan.
- Plan and Delegate are built in. Checklist storage, tooling and model context, plus delegated native execution and its Settings, no longer require their former add-ons. Delegate approvals name exact models.
- Bring history, leave the old store intact. A one-shot importer reads offline v3 JSONL sessions into a fresh v4 destination. There is no in-place migration.
- A rebuilt file explorer. A lazy-loaded Pierre Trees browser adds filtering, keyboard navigation, inline rename, drag-to-move and direct opening into the appropriate editor or viewer.
- Work appears in the conversation. A live Working block and collapsible completed work logs bring tool activity and reasoning into the timeline, with a stop control for an individual running tool.
- Instance-wide MCP through Code Mode. Enabled HTTP and stdio servers use the public SDK client, with OAuth, destination-bound credentials and on-demand tool/resource discovery. The remote catalogue stays out of model requests.
- Native conversation forms. A2UI v1.0 replaces Adaptive Cards in Classic, with all 18 Basic Catalogue components, Express or canonical messages, thread-owned surfaces and separate private sign-in controls.
- A smaller maintenance surface. Tens of thousands of lines of legacy runtime and UI implementation have been removed. Family access, A2A, monetary expense enforcement, Token Optimiser and Oversight have been retired.
BREAKING CHANGES
Runtime, storage and extensions
The core adopts pi-durable; this release pins Bun to 1.4.5 and the Pi package family to 1.7.0, with separate Root and private-engine dependency graphs. The private Durable package includes a pinned Piclaw-local overlay for archived-session erasure and the associated SDK cache/observer invalidation. This overlay must be qualified alongside the SDK when upgrading; the earlier unpatched-SDK description no longer applies. Native conversations use SDK-backed SQLite history and execution state. Legacy host queues, session mirrors, compaction executors and forwarding layers have been removed across the migration.
Extensions that depend on retired host APIs or legacy queue and execution internals need updating. Native add-on backends undergo source and compatibility checks; replacing their files underneath a running instance can fail those checks. Plan, Delegate, Goal, Code Review and other integrated workflows have received native adaptations, but that does not make every third-party extension compatible.
There is no in-place v3-to-v4 migration. The explicit piclaw session-import command reads a self-contained offline v3 JSONL session into a fresh, separate native SQLite destination. It imports history without modifying the source, running models or tools, resuming queued work or replaying effects. Accounts, credentials, runtime configuration and add-on state are not imported.
The old resident capture, conversion, migration rehearsal, live cutover and rollback machinery has been removed. Fresh v4 stores no longer create the retired account, archive, input-hold and owned-fork schemas. Exact historical objects and records already present in supported native development stores can remain inert and protected; there is no in-place DROP/backfill cleanup. Unsupported v3 databases are refused before normal startup performs schema work.
Preserve v3 data, configuration, profile and key material separately. Do not point a fresh v4 installation at a v3 store, delete its database, rewrite access markers or replay uncertain work to make startup succeed. Storage changes within the supported native runtime can also prevent older binaries from reopening a database; a software downgrade requires its matching checkpoint.
Visual and chat-only modes removed
Classic is the only web shell. Existing Visual selections open the Classic workbench without a manual configuration or browser-storage migration. Shared palette selections and light/dark preferences remain usable; Visual-only custom theme imports and panel layouts become inactive, with their stored values preserved.
The separate chat-only mode has also been removed. Hide the side bar and collapse the editor for a minimal chat view. Pop-out chats start with that arrangement.
Family access and A2A removed
Only single-user access can start. Family accounts, invitations and their APIs have been removed; isolated-container access mode remains unavailable. Historical ownership and migration records are preserved. The one-shot session importer does not migrate family accounts or access configuration.
A2A and its exclusive Core operation-registration API have been removed. Delegate and Remote Peer remain available. An existing native installation with unfinished work belonging to the retired A2A integration can refuse startup; reconcile it separately instead of clearing or resubmitting it. The one-shot session importer does not resume A2A operations.
Monetary expense enforcement removed
Expense caps, approval and admission gates, expense Settings, /budget and budget_status have been removed. Scheduled agents and model selection no longer use PiClaw monetary limits to decide whether work may run.
Token, reasoning and cache metrics, catalogue prices and observed provider costs remain. Unknown prices and billing units stay unknown, and a reported zero remains zero. Explicit Goal token budgets, context and output limits, provider quotas and operational resource limits remain separate controls.
If you relied on PiClaw expense caps, arrange spending controls outside PiClaw before upgrading.
MCP configuration and tool controls changed
Outbound MCP now uses the public pi-mcp client on the executing durable Harness. The old mcp({tool,args}) proxy, engine switching and manual tool activation/reset controls have been retired. MCP tools and resources are Code Mode-only: use searchTools() and describeTool() to discover the required schemas, then call them from a script. Remote tool declarations are not added inline to model requests. Discovery and execution both enforce current connection and conversation authority. Settings → Tools is a read-only catalogue; saved additional-default-tool lists are ignored. Standalone pi keeps its upstream behaviour.
The first MCP configuration cutover imports supported metadata from existing configuration files into SQLite without rewriting the sources or resolving credentials during planning. Subsequent edits use Settings; old files do not overwrite them or resurrect deleted connections. Unsupported semantics import disabled with diagnostics or require repair. This configuration-only import is separate from the one-shot session importer and provides no in-place v3 database conversion.
Enabled MCP servers are now instance-wide. Older workspace and Agent scope fields no longer restrict an enabled server. Review the enabled server list before upgrading if you relied on those scopes. Disabled servers remain disabled; saved server IDs, stdio working directories and destination-bound credentials are preserved. SDK filters, Delegate capability limits and read-only/unbound-conversation denials remain.
Classic Settings uses one Server picker, Add server action and editor; dirty drafts require confirmation before switching. Workspace/Agent access controls and recall-tuning controls have left the pane. Endpoint or stdio-command changes cannot silently reuse saved credential references; uncertain credential provenance requires explicit approval. OAuth endpoint changes require a new sign-in.
An idle startup also clears stale tool lists pinned by pre-cutover bootstraps once, so enabled MCP tools reach existing chats as well as new ones. Delegate and background conversations retain their filters; later explicit filters are not repeatedly reset.
Rediscover MCP names used by saved scripts or explicit tool selections. Earlier aliases and receipt fallbacks that could rebind to a different destination have been retired. Use the exact name returned by discovery; current aliases bind the connection, destination, raw tool and operation. The supported transports are Streamable HTTP and POSIX stdio; legacy HTTP+SSE and protocol prompts, sampling, elicitation and resource subscriptions are not exposed.
Delegate approvals are per model
Settings → Delegate uses a fixed whitelist of exact provider/model IDs. Provider-wide approval radios and the exclusion editor have been removed. Search the catalogue and use + to approve a model; remove it from the whitelist to revoke approval. Available models without a specific ranking rule can be added with default Rank 3. The approved list can be sorted by model or rank without changing selection policy. Unavailable approvals remain visible and removable.
Existing native provider approvals and exclusions are converted once to the eligible models available at startup. Newly published models require explicit approval, even from a previously approved provider. Discovery and default ranking do not grant approval, and the legacy-policy conversion retains its earlier eligibility boundary. Delegate uses the current chat model unless an exact approved model is requested; whitelist, availability and execution checks still apply.
Agent keychain access is metadata-only
The keychain tool supports filtered, paginated listing of entry names, eligible shell variables and agent-readable notes. It no longer retrieves plaintext secrets or creates, changes or deletes credentials. Use Settings or the operator CLI for management, and pass keychain references to credential consumers. Names and agent-readable notes can enter model context; keep secrets and instructions out of them.
On Linux and macOS, the service and CLI can read the master key from a protected file named by keychain.keyFile in workspace configuration. JSON stores only the absolute path. The file must be owned by the process user, have mode 0600 or 0400, and pass regular-file, link and size checks. Existing key environment variables retain precedence. Use the same master key for an existing encrypted store; changing it makes the entries unreadable. Failed Keychain CLI commands return a non-zero status.
Adaptive Cards replaced by A2UI v1.0
Use send_a2ui with A2UI Express source or canonical v1.0 messages for structured forms in Classic. The Adaptive Cards SDK, renderer, send_adaptive_card tool and submission endpoint have been removed. Existing posts retain their stored payloads and ordinary text, but their old controls cannot be used. Update private callers, authoring prompts and workspace skill copies that still invoke the retired tool.
TOTP enrolment and provider sign-in use host-owned surfaces with private responses. Restart any pending enrolment or sign-in after upgrading. Agent-authored forms must not request credentials. Side conversations and dashboard widgets remain available.
Token Optimiser and Oversight removed
Token Optimiser and task Oversight no longer run, read conversation history during attachment, register hooks/watchers, invoke models or appear in Settings. Their earlier model-written facts, automatic tool pruning, output-reduction and task-nudge workflows are not v4 features. Goal, ordinary chat/queues, usage/context reporting and MCP recall remain.
Known retired maintenance tasks are checked and aborted through the SDK while startup scheduling is paused. Only exactly correlated queued optimiser redirects are withdrawn; already placed input remains with its accepted ordinary run. Historical settings, facts, journals and task receipts are preserved. Previously retained general tool outputs remain readable under their original owner, branch and expiry checks; fresh stores do not create the retired output tables.
Session recordings removed
Session recording and playback, their endpoints and the Recordings Settings pane have been removed. Normal conversation history remains available; recording is no longer a supported capture or debugging workflow.
Pi command ownership
Package and portable installs now include the pi launcher. Avoid installing the standalone Pi package into the same command prefix: both packages own that command.
A workbench with fewer moving parts
The activity bar brings Sessions, Explorer, Plan and Settings into one layout. Sessions show current activity and recent replies, with search, pinning, archiving, forks and new-window actions. The sidebar and compose picker retain their established groups and sort each group by recent message activity. Archive and permanent-delete actions update both lists from committed receipts; stale inventory reads cannot restore removed rows. Keyboard selection follows the session's identity when a refresh reorders the list. Resizable panes support keyboard controls; smaller screens use a drawer, and phones switch between chat and the editor. Closing the workspace menu with Escape, or choosing a keyboard action that leaves the current view open, returns focus to its trigger. Pointer dismissal does not steal focus, and actions opening another surface keep their normal focus handoff.
Plan is fully built into Core: storage, the plan tool, model-context composition, progress and change notifications use the public durable SDK. The current checklist is added to the provider request without appending another hidden Plan snapshot to durable history. The editable Plan keeps its current revision; earlier snapshots and replies remain intact. The work-area tab retains Markdown editing, refresh, reset and submission to the model. Saves reject stale revisions without discarding the draft. Existing scoped native plan records can be adopted, and the retired add-on is excluded before it can register a second tool, hook or panel.
Delegate is also Core-owned, including its exact-model whitelist and Settings. Neither feature needs its former add-on installed.
The Explorer loads folders as they are expanded, uses theme-coloured file icons and retains add-on file actions. Folder-size charts load on demand. Images fit their viewer by default, Markdown list wrapping and heading spacing have been improved, and iPad keyboard handling keeps the page within its viewport.
Supported inline tool-result images reach vision-capable models within the existing result budget. Text-only continuations receive the SDK's omission notice without rewriting the stored result. Malformed or oversized inline image output falls back to bounded text; user-attachment and model-capability checks remain separate.
Settings has clearer grouping, more consistent controls and larger phone touch targets. MCP connections have explicit transport, access and authentication choices, discovery status, revision-checked saves/removals and reconnect actions. Dirty Settings drafts retain their revision, and non-secret fields or environment entries can be explicitly cleared. Discovery and recovery recheck the granted connection and current registration; reconnect/refresh are fenced to their connection generation. A non-fatal optional-receipt failure does not discard a successful SDK result or replay its remote effect. Compact system meters include I/O pressure, and phone compose/footer spacing has been tightened.
The work stays with the answer
Live turns show a Working block in the timeline; completed turns expose collapsible reasoning and tool steps alongside the answer. These replace the separate Draft, Thoughts and Output panes. Individual tool calls have their own stop control. Session phases appear without waiting for draft or output text. Committed reasoning stays in the work log; the live preview contains only the current generation.
Queue steering and reordering operate on SDK submission identities. Stopping the active turn preserves queued inputs. Reconnecting preserves current turn ownership, and stale updates cannot make an older turn appear current. Returning to a foreground tab preserves a healthy live stream and leaves unchanged chart and tool rows alone. Stored terminal activity can be read again after the live stream has ended, and each submission brings the latest accepted input into view.
Steering a queued item shows a pending action on its existing row until the SDK confirms the change. Rejection restores the controls without removing or resubmitting the input; an uncertain receipt refreshes the native queue. Targeted steering avoids rendering the entire queue, but still waits for the SDK's tool-round boundary and cannot interrupt an in-flight tool.
Tool-owned captions make Plan, Delegate and add-on actions easier to recognise without dumping their arguments into status rows. Captions are bounded presentation metadata; they do not change tool arguments, results or model history. Queued steering says After current tool calls, matching the SDK boundary.
Classic implements A2UI v1.0's 18 Basic Catalogue components through its existing Preact renderer, including tabs, modals, media, sliders and date/time inputs. send_a2ui accepts Express or canonical messages; staged component updates retain a readable fallback until their root is available. The authenticated HTTP/SSE binding negotiates capabilities, keeps drafts tied to the surface revision and supports scoped bidirectional function calls. Remote functions require trusted host registration; the default host provides none. This does not add A2A or arbitrary remote catalogues.
Forms publish in an accepted web thread; actions validate the stored source, control, thread and revision before admitting input. Canonical action data and renderer diagnostics remain conversation-scoped, but renderer transport envelopes are no longer injected into new ordinary user inputs, tool replies or model prompts. Exact source-proven historical envelopes are projected away for generation, preview and compaction without rewriting history or stripping literal human text. Live queue previews use the committed user-message text, keeping private A2UI metadata out of public queue events. If the matching source cannot be verified, the preview is omitted; user-authored text is preserved unchanged. An obscured field masks its display, not its stored or submitted value; agent forms must never collect credentials. Transient provider-failure controls can submit fresh Continue or Retry input to the failed thread; they do not silently replay the failed request.
Scheduled shell and agent results can send Web Push when Notify on complete is enabled for the occurrence. The timeline row must commit first; muting leaves the result in the timeline. Notifications follow the existing device/chat-presence rules, and a push failure neither changes the saved result nor reruns the task. This delivery is single-user only; Pushover is unchanged.
MCP recall without rerunning the call
Per-connection MCP recall remains available independently of the removed optimiser and defaults Off. Observe records eligible retained copies without shortening model output; Active can shorten eligible MCP-only script results. Retrieval requires the original owner, visible branch history and a current enabled connection with matching credential identity. Making a server instance-wide does not share retained copies between conversations. Errors and uncertain or truncated results remain unchanged.
Code Mode receives the original structured tool value even when the later model-facing view is shortened. Scripts can search and retrieve retained MCP originals without rerunning the remote call. Forgetting recall removes scoped copies while preserving committed source history. General historical outputs remain readable through read_tool_output and search_tool_output; the MCP adapter does not recreate or prune them.
History retirement, with an explicit boundary
Classic's Delete permanently action now removes a selected archived session while other sessions continue running. It rechecks archive status, authority and outstanding work, then commits route/history removal and SDK cache/observer invalidation together. Default and assigned home sessions are protected. Surviving forks keep inherited entries and revisions under their original IDs; shared attachments remain while needed.
Deletion does not erase workspace files, independent add-on stores, exports or backups. It also does not compact the database or force a WAL checkpoint. Interrupted private-answer-file cleanup is reported as pending and can resume on startup; the deletion itself is not retried.
Separate opt-in offline reclaim tooling publishes a new compacted SQLite copy from a closed, digest-verified source. The standalone profile and the stricter Piclaw archived-root profile refuse unsupported dependencies or unsettled work. The source remains untouched, and publishing a copy does not promote it into service. A separate authenticated operator endpoint can make one bounded online incremental-reclamation attempt; it has no dedicated Classic control, does not delete records, and refuses writer contention without waiting. Neither path guarantees an immediate physical file-size reduction. These are native maintenance operations, not an in-place v3-to-v4 migration.
Foreground work keeps its own lifetime
Clearing an in-flight Goal now reports Goal continuation skipped when its qualified local lifecycle check revokes the continuation, including when provider callback handling flattens the error into text. Provider wording alone cannot establish that local cancellation. Usage and diagnostics remain; earlier tool actions are not undone and the revoked input is not replayed.
Fresh startup completes native database setup before launching the workspace indexer and authentication maintenance, avoiding contention with background writes. A fresh workspace can open Classic and Settings without an available model. Select an approved model before sending the first message; pre-selection messages are not queued or replayed.
An expired scheduled lease during prompt preparation now stops only its own run instead of aborting the application's model lifetime. Foreground turns can continue. Genuine ownership failures still fail closed, and the expired scheduled run is not sent to the provider or replayed on the next poll.
Ordinary native web input commits its immutable correlation with the stored message in the acceptance transaction. SDK placement remains a separate receipt; uncertain submissions are not retried. Status responses recheck login and database-reader authority after asynchronous reads, refusing a revoked snapshot. Synchronous shell-launch failures settle through normal cleanup without exposing commands or environment values.
Less local runtime to maintain
The migration retires duplicated session and execution mirrors, local compaction machinery, legacy queue mutation paths and layers of HTTP and AgentPool forwarding. Dream uses a private SDK execution path, and Delegate uses native child execution instead of a separate subprocess runner.
Database work also tightens writer admission, cancellation, worker shutdown and scheduled-result persistence. Lost acknowledgements retain their original identities; uncertain external effects are not automatically repeated. Observability gains native tracing integration and moves bounded export work off the main thread.
Memory work removes repeated JSON/string copies in native model streaming and typed MCP string delivery, reuses owned upload bytes for thumbnail preparation, and avoids reading non-indexable media BLOBs solely for text indexing. Search terms, attachment links, exact output values and authority/rollback checks remain. New root attachments avoid a redundant indexing pass; upserts still remove stale terms.
Startup validates document revisions one at a time. Native timeline publication reads the exact final answer instead of the entire input-to-answer window, while Goal accounting and tool receipts retain their full windows. Cold startup skips already-published replies only when the exact submission, source, thread and terminal reply agree; missing replies and uncertain acknowledgements still take the recovery path. Replies completed before publisher attachment remain eligible for normal live delivery.
Context and thinking controls use backend model metadata. Models Settings, model-selection commands/tools and explicit catalogue refresh share the current authenticated catalogue. New model publications reach open tabs and native controls without a restart; passive catalogue reads do not initiate network refreshes. Selection still checks approval, capability and context limits, and does not silently compact or replay an accepted request. Delegate Settings/catalogue changes stay out of the stable parent instruction and tool-declaration prefix.
Classic reuses context estimates only for the same verified chat and committed tail; changed or unknown revisions trigger a full read. Hidden tabs pause periodic work, and disconnected SSE clients release their timers/listeners. Thought and draft previews avoid building full line arrays, and compact phone meters now include process RSS. These changes reduce work in the measured paths without establishing a complete-turn memory or latency guarantee.
Static assets and add-on downloads stream without whole-file buffers where supported; built assets avoid needless retransformation. Ordinary workspace previews read only their existing bounded preview limit. ZIP listings read directory metadata without buffering or extracting the archive, retaining the 200-row display cap and separate filename-byte bound. tar.gz listings now stream decompression, discard member bodies and verify gzip completion rather than retaining the compressed and decoded archive. Cancellation or a 512 MiB decoded-work limit closes the pipeline; invalid or over-limit archives use the existing binary-preview fallback. Downloads and archive extraction are unchanged. Add-on discovery shares a fresh manifest scan, and approved Codex/Draw.io successors avoid eager parser or embedded-asset loading. These are bounded-path improvements, not a claim about every renderer or complete-turn performance.
Inactive conversations release their decoded local transcript cache between turns; returning work reconstructs context from committed SQLite history. Active turns keep their context. This trades local cache reuse for a later database read, without changing remote provider prompt/session caches or deleting history.
The Pi CLI is included through a Bun launcher in package and portable installations, without requiring a separate Node installation. A failed CLI post reports failure without automatically retrying uncertain delivery. Fresh workspace seeds also include an opt-in algorithm-engineering skill for bounded, evidence-recorded experiments; existing skill copies are left intact, and no experiment runs automatically. The vendored diagram sanitizer has been refreshed with DOMPurify 3.5.0.
Known limits and remaining work
- Session import accepts a bounded, self-contained JSONL source. Unsupported extension/custom records, missing ancestry and unfinished or mismatched selected tool-call chains are refused. It does not discover other files or fetch external attachments.
- Interrupted imports retain their partial destination and are refused by normal startup. The command never resumes or overwrites an existing destination.
- Some application-side model/context checks remain because the public SDK does not yet provide equivalent read-only preparation APIs.
- Optional add-ons have their own releases and compatibility requirements. Session Dashboard is deprecated and omitted from fresh-workspace defaults; existing data and its compatibility profile are retained.
- MCP recall is opt-in and scope-limited. Token Optimiser and Oversight have been removed, including their Settings and model-assisted processing. Earlier development benchmarks for those components do not describe the v4 runtime.
- Rebuilding inactive transcript caches can add work when returning to long conversations. Memory measurements cover separate workloads and cannot be added together or treated as a complete long-history turn limit. Foreground SQLite I/O remains a separate responsiveness risk; the SDK upgrade alone is not proof of I/O isolation.
- The general
open_workspace_fileagent tool is still missing from native registration. The browser editor and its opening bridge remain available, but the legacy tool has not been ported. Restoring that native integration remains outstanding. - A2UI support covers Classic's authenticated HTTP/SSE binding and Basic Catalogue. Custom remote functions require trusted registration; A2A and arbitrary inline catalogue negotiation are outside this implementation. Restart pending authentication flows after the UI transition.
- Inline host-tool image output shares the existing persistence budget, default 256 KiB including base64. This is not a new image store or a conversion of saved attachments.
- Scheduled Web Push requires an enabled occurrence and eligible subscription/presence state. It is a best-effort notification after storage, not guaranteed delivery.
- Public-SDK outbound MCP replaces the old adapter execution path; unsupported legacy restrictions/transports require review. The adapter package is retained only for read-only configuration parsing. Inbound CLI/control MCP is outside this integration.
- Permanent archived-session deletion uses a version-pinned local Durable overlay and preserves history still inherited by surviving forks. It is not a secure wipe of external copies or immediate disk compaction. Offline reclaim has a deliberately narrow eligibility profile and requires separate operator promotion.
- Durable records cannot guarantee that an arbitrary external service performed an effect exactly once. Unknown outcomes require reconciliation.
Installation and existing deployments
V4 uses a fresh destination, with a separate one-shot session importer and no in-place migration. Keep the v3 workspace, profile, configuration and keys separate and intact. Do not reuse its database for v4.
For an offline, self-contained JSONL export:
mkdir -p /new-workspace/.piclaw/store
piclaw session-import \
--source /offline/export/session.jsonl \
--destination /new-workspace/.piclaw/store/messages.dbThe destination file must not exist. A source with multiple leaves requires explicit --leaf <entry-id> selections. Current bounds are 8 MiB, 1,000 source entries and 16 leaves. Successful import preserves supported history and branch ancestry, records source-to-native mappings and allows ordinary v4 startup to expose the imported conversations. It does not fabricate timeline posts or pending execution. See the session import procedure for supported records, exclusions and interruption handling.
Complete PR list
- #1657 — deps: bump @playwright/test from 1.64.0 to 1.64.1 in /tests/e2e in the routine-e2e-updates group
- #1658 — deps: bump playwright from 1.64.0 to 1.64.1 in /skel/scripts/playwright in the routine-playwright-updates group
- #1655 — Add an optional Parallel Search MCP preset
- #1656 — feat(web): replace timeline Mermaid rendering with theme-aware Pele
- #1652 — feat(durable): adopt source-default native execution and application consumers
- #1662 — refactor: retire unused family manual scheduled execution
- #1664 — Add Mercury 3 regular prices to model dossier (docs only)
- #1665 — fix(web): preserve original attachment download filenames
- #1663 — fix(durable): complete Smith cutover prerequisites
- #1667 — fix: qualify migration readiness and preserve failed-apply recovery
- #1668 — Fix native SQLite admission and qualify single-user retirement gates
- #1682 — Report native model failures safely without replaying completed work
- #1707 — Repair native acceptance boundaries and reconcile #1650 qualification
- #1708 — fix(runtime): integrate native context, activity and Delegate controls
- #1710 — test(native): reconcile default factory context qualification
- #1711 — fix(install): run packaged postinstall for native dependencies
- #1713 — fix(runtime): restore ownership-scoped native graceful exit
- #1715 — fix(codex): preserve native turn routing across model requests
- #1717 — fix(runtime): keep Plan context append-only across requests
- #1718 — fix(db): verify startup migration outcomes atomically
- #1719 — Fix native context replacement and make tree summaries opt-in
- #1720 — fix: merge qualified native controls, recovery, steering and UI repairs
- #1721 — Fix post-compaction model admission before native reload
- #1722 — test(runtime): prevent false-green shutdown ownership fixtures
- #1723 — fix(native): retain Goal cache boundaries and qualify shutdown fixtures [skip ci]
- #1724 — Qualify native execution in the full local validation gate
- #1725 — fix(db): restore row-order timeline and indexed payload recovery
- #1726 — fix(db): enforce outbox certainty and exact queued membership
- #1727 — refactor: isolate imported-history schemas and archive tooling
- #1728 — refactor: retire legacy session binding from native SSE
- #1729 — fix: report native command availability accurately [skip ci]
- #1730 — fix(runtime): retire SDK queue mutation from native input
- #1731 — fix(db): retry writer acquisition without replaying callbacks
- #1732 — perf(db): retire attachment index and retain measured exceptions
- #1733 — fix(db): verify SQLite roles and coordinate scheduler checkpoints
- #1734 — Define read-only schema ownership and fresh/upgrade convergence
- #1735 — Make scheduler result history an idempotent occurrence projection
- #1736 — fix: isolate session controls and recover SSE on return [skip ci]
- #1737 — docs: refresh merged release environment observations [skip ci]
- #1738 — Expose bounded native exit refusal diagnostics
- #1739 — Own versioned scheduling definitions and derive task projections
- #1741 — Project native usage reports from immutable request events
- #1740 — fix(goal): align native instruction placement and visible prompts
- #1742 — deps: qualify Earendil 1.4.0 and Bun 1.4.4
- #1745 — test: align remaining contract fixtures with Earendil 1.4.0
- #1748 — fix(native): isolate copied rehearsal from host SQLite policy
- #1749 — test(native): advance recovery clock without renewing Delegate deadlines
- #1744 — fix(runtime): recover failed storage before scoped abort retry
- #1750 — fix(native): make the SDK manifest sole routing authority
- #1751 — fix(settings): expose native compaction policy and retire legacy controls
- #1752 — fix(settings): refresh retired compaction environment observations
- #1753 — test(native): register compaction settings qualification
- #1754 — refactor: consolidate scroll anchoring and retire unused helpers
- #1755 — Fix pending observation across native backend recovery
- #1756 — test: align native compaction layout and restore contracts
- #1757 — fix: retain Goal evidence across context compaction
- #1758 — test(native): register routing policy qualification in canonical gate
- #1759 — fix(db): qualify offline historical account schema retirement
- #1760 — fix(native): separate offline bootstrap metadata from execution admission
- #1761 — fix(agent): reject direct native runs before legacy bookkeeping
- #1764 — Retain native model failure evidence and preserve bounded retries
- #1765 — docs(review): qualify optional native persistence lifecycle
- #1766 — Capture and qualify complete offline native recovery units
- #1767 — fix: preserve native retry decisions and existing retry panel
- #1768 — fix: admit model switches using measured context tokens
- #1770 — Use one disclosure pill for Classic live panes
- #1771 — Keep Classic pane controls within the viewport
- #1772 — fix(native): remove Goal authority records from input preparation
- #1773 — test(web): align Classic pane fixtures with sole disclosure pills
- #1769 — Bound owner-specific retention while preserving replay and budget evidence
- #1774 — fix(runtime): admit native Dream and granted background operations
- #1775 — Split native AgentPool composition from legacy lifecycle (#1672)
- #1776 — fix(runtime): split recovery helpers and fence native web dispatch
- #1777 — refactor(web): remove legacy turn execution and 1,951 backend LOC
- #1778 — refactor(web): retire legacy restart recovery and cursor retry controls
- #1779 — refactor(runtime): delete legacy prompt owner and 5,081 backend LOC
- #1780 — Retire legacy manual controls and file rotation
- #1781 — Delete the remaining legacy runner callers and API
- #1782 — Separate native host services from legacy capture lifecycle
- #1783 — Retire obsolete Core execution policy controls
- #1784 — test: preserve shared domain registry across fixtures
- #1785 — db: retire legacy cursor recovery state from native storage
- #1786 — test: migrate historical cursor fixture before native selection
- #1787 — fix(db): consolidate active SQLite writers onto shared admission
- #1788 — db: retire S01 SDK mirrors and retain immutable operation binding
- #1789 — test: align recovery and admission fixtures with immutable bindings
- #1763 — ci: bump docker/login-action from 4.6.0 to 4.7.0 in the routine-action-updates group
- #1790 — fix(db): preserve guarded S01 cursor history during upgrade
- #1762 — deps: bump the routine-bun-updates group across 1 directory with 12 updates
- #1791 — web: rebuild native UI projections without persisted snapshots
- #1792 — test: align snapshot retirement fixtures and rebuilt vendor inventory
- #1793 — docs: refresh env observations for native projection qualification
- #1795 — docs: align persistence contracts with current approved native sources
- #1794 — test(web): finish native projection consumer and eviction coverage
- #1796 — fix(native): remove unsupported exit resume argument from the tool schema
- #1797 — refactor(web): remove two timeline forwarding stages
- #1798 — refactor: retire unregistered child-request proxy closure
- #1799 — refactor: retire obsolete web run-event adapters
- #1801 — refactor: type the surviving native side-model event boundary
- #1800 — refactor: deduplicate stable web-session schema upgrades
- #1802 — refactor: retire unused agent-log runtime controls
- #1803 — refactor: bind database startup to one path snapshot
- #1804 — refactor: retire the unconsumed steering timestamp mirror
- #1805 — fix: release web observation shutdown hooks with their owner
- #1806 — fix: fence pool interop SSH and provider listener ownership
- #1807 — refactor: retire executable historical Harness manifest
- #1808 — test: check actual MainApp compose-reference callers
- #1816 — fix(web): reveal submitted inputs after virtual timeline render
- #1840 — refactor: retire unused durable EF-S08 projection bridge
- #1841 — refactor: retire isolated durable session map input
- #1842 — fix(runtime): exclude envelope metadata from model context admission
- #1844 — fix(db): preserve SQLite admission outcomes and bootstrap policy
- #1845 — fix(db): initialize once, publish last and certify disposal
- #1846 — fix(db): keep index-worker opens out of root migrations
- #1848 — fix(goal): expire revoked controls and isolate request denials
- #1849 — fix(runtime): complete exact SDK input handoff before authority hooks
- #1850 — fix(sqlite): expire SDK handles before host persistence and prevent reentry
- #1851 — fix(sqlite): enforce engine read-only SDK query boundaries
- #1852 — fix(models): isolate observers from terminal facts and join failed transports
- #1853 — fix(web): remove terminal overview rail and prevent laptop pane clipping
- #1855 — fix(web): recover background-session panels on tab return
- #1858 — Preserve paid model receipts and recover accounting without replay
- #1860 — refactor(accounting): remove ownerless terminal wrappers and timestamp state
- #1861 — fix(db): fail closed on legacy column migration errors
- #1863 — fix(models): wait for pre-send SQLite admission under caller lifetime
- #1862 — Join maintenance financial proof before runtime teardown
- #1865 — Qualify factory receipt recovery across process crashes
- #1866 — Remove browser model-capacity vetoes; use native backend admission
- #1856 — Use SDK token estimates for native model-switch admission
- #1869 — Fix atomic PID readiness in native find fixture
- #1870 — Count native candidate prompt contributions once
- #1874 — fix(runtime): recover after clean storage reopen failures
- #1884 — Use SDK model capabilities and backend context/catalogue projections
- #1896 — Share checked native readers and coherent session state
- #1897 — fix(storage): qualify SDK transaction boundaries
- #1898 — fix(storage): reject nested rollback compensation
- #1900 — fix(storage): preserve synchronous SQL callback types
- #1901 — fix(runtime): commit branch changes before session cleanup
- #1902 — fix(storage): compose branch SQL helpers with admission
- #1903 — fix(runtime): admit branch mutations under request authority
- #1899 — refactor(runtime): simplify nonfinancial lifecycle composition
- #1906 — refactor(dream): retire legacy chat identity and destructive cleanup
- #1908 — fix(runtime): preserve interrupted outcomes and bound accounting/startup reads
- #1910 — refactor(web): retire legacy extension UI context and synchronous theme writer
- #1909 — refactor(web): delete HTTP forwarding surface and legacy activity paths
- #1911 — refactor(web): require admitted incoming storage and remove legacy wrappers
- #1912 — Refactor native request admission and Regrets ownership
- #1914 — refactor(web): retire the placeholder queue and write-context layer
- #1915 — Repair manual command fixtures after admission refactor
- #1916 — Complete focused native context and hook qualification
- #1917 — refactor(web): delete the runtime follow-up forwarding layer
- #1913 — refactor(runtime): retire redundant forwarding and obsolete compaction probe
- #1918 — refactor(web): retire synchronous timeline producers [skip ci]
- #1919 — refactor(web): delete unused endpoint context copy layer
- #1922 — refactor(web): retire message storage adapter [skip ci]
- #1926 — refactor(compaction): retire legacy execution, preserve native and historical readers
- #1924 — refactor(web): retire destructive queue compatibility routes [skip ci]
- #1925 — docs: map expense-removal callers and observation contract [skip ci]
- #1927 — fix: preserve SDK reasoning and explicit zero-cost usage [skip ci]
- #1905 — deps: bump glob from 13.0.6 to 14.0.3
- #1929 — refactor(web): remove post contexts and admit remaining edits [skip ci]
- #1928 — refactor(scheduler): remove serial pre-wait and preserve committed certainty
- #1932 — docs: audit original vendored Core seed callers
- #1933 — Refactor Root write admission and retire legacy mutation paths [skip ci]
- #1930 — refactor(scheduler): converge on admitted S07 execution and retire raw modes
- #1934 — Join database cleanup in paid receipt fixtures
- #1931 — refactor: remove general expense-limit management
- #1936 — Remove expense accounting from captured native tool authority
- #1935 — refactor(scheduler): keep projection in the existing S07 transition
- #1939 — fix: preserve legacy auth identity across SQL admission
- #1940 — refactor: retire Pool-time legacy profile KV migration
- #1937 — refactor(scheduler): use the existing admitted S07 mutation scope
- #1938 — Decouple native model eligibility from expense caps
- #1943 — fix: qualify Observability cost reporting in the native source profile
- #1942 — refactor: retire two unused KV mutation exports
- #1941 — refactor(scheduler): read expired sources before writer admission
- #1945 — fix: require transaction-local extension KV mutations
- #1947 — fix(scheduler): skip empty claims and count only fresh due slots
- #1953 — Fix CodeMirror Markdown heading spacing
- #1949 — refactor: retire implicit Core KV memory fallback
- #1954 — fix: retain request authority for native config writes
- #1950 — fix(scheduler): revoke unentered poll writes during SQLite acquisition
- #1955 — fix: retain request authority for global settings writes
- #1956 — refactor(scheduler): keep source bookkeeping in its admitted writer
- #1959 — Preserve stored filenames in Visual assistant downloads
- #1960 — fix(scheduler): bound reclaim selection by validated authority
- #1962 — refactor(outbox): remove private identity forwarding alias
- #1963 — fix(finops): price GPT-6.1 Terra routes
- #1966 — refactor: retire expense/web owners, A2A and Dream host lifecycle
- #1854 — fix(config): cache parsed JSON to reduce terminal event-loop stalls
- #1946 — fix: preserve native usage metadata on failed model results
- #1859 — fix(docker): repair package creation and include native installer
- #1968 — fix(web): restore queued drafts only after confirmed removal
- #1969 — fix(markdown): preserve literal code at the parser boundary
- #1970 — fix(settings): discover providers from the shared model runtime
- #1971 — fix(providers): distinguish explicit quota exhaustion from transient 429s
- #1974 — fix(web): preserve native turn ownership across reconnect and Stop
- #1975 — fix(scheduler): reject expired live lease renewals after writer waits
- #1976 — fix: reconcile interrupted scheduled work from terminal SDK receipts
- #1977 — fix: preserve reasoning-only usage and qualify SDK-owned reporting
- #1982 — refactor: retire financial schema startup without altering history
- #1984 — refactor: finish financial-state retirement from scheduled retention
- #1983 — feat(finops): add Fable and Mythos 5.2 pricing data
- #1985 — Complete native expense-policy retirement and preserve truthful usage reporting
- #1988 — docs: Classic three-pane layout mock-up (#1987)
- #1986 — Rename Petrol & Copper theme to Fallout
- #1981 — ci: bump docker/login-action from 4.7.0 to 4.8.0 in the routine-action-updates group
- #1978 — deps: bump playwright from 1.64.1 to 1.65.0 in /skel/scripts/playwright in the routine-playwright-updates group
- #1979 — deps: bump @playwright/test from 1.64.1 to 1.65.0 in /tests/e2e in the routine-e2e-updates group
- #1980 — deps: update routine packages while preserving qualified Pi1.5.2
- #1989 — feat(web): Classic three-pane layout with sessions pane (#1987)
- #1997 — Kintsugi-style timeline: collapsible work logs, live working block and single-tool stop
- #1994 — Draft: wire audited Observability0.1.24 into native telemetry
- #1998 — fix: pin the published Observability0.1.24 archive
- #1993 — fix: explain local source failures and reject incompatible add-on updates
- #1995 — Fix steering and reordering of queued messages
- #1996 — Fit images to the image viewer by default
- #1992 — feat(web): Classic workbench (activity bar, Pierre tree, Plan and Settings tabs, session actions) and no chat-only mode
- #1999 — Complete #1857 model/context acceptance on SDK1.5.2
- #2000 — Workbench UX pass: menu-only mode, timeline status line, meters toggle, status bar, compact sessions, Explorer and Plan fixes
- #2002 — List active sessions straight after the current one
- #2009 — Complete database and turn-reliability epic with qualified storage ownership
- #2003 — Workbench fit fixes: status bar inset, touch row menus, side bar meters
- #2004 — Keep a running tool's stop button at the end of its row
- #2005 — Drop the focus ring around CodeMirror documents
- #2006 — Wrap long lines in Markdown files that contain fenced code
- #2007 — Colour Explorer file-type icons from the theme palette
- #2008 — Status bar: context after the model stats; model picker opens above its trigger
- #2010 — Hang wrapped Markdown list items; stop button on the running tool card
- #2011 — iPad Safari: stop the page panning past the status bar while typing
- #2012 — Ship the Pi CLI through Bun across package and portable installs
- #2013 — Pin fixed mindmap 0.1.5 and Late Night Regrets 0.3.2
- #2014 — Remove Visual and keep Classic as the only web UI
- #2015 — Return native add-on fixture to add-ons main
- #2016 — Fix compact mobile status layout and Sessions search clearing
- #2018 — feat(meters): chart Linux I/O pressure
- #2019 — feat: own Plan natively in Core
- #2020 — fix(models): allow model switching when the conversation contains images
- #2021 — Settings UI cleanup: MCP redesign, broken panes, legibility and touch targets
- #2022 — Settings audit follow-ups: navigation semantics, add-on cards, avatars, shared alerts
- #2023 — Settings consistency: shared form rows, labelled controls, Keychain phone layout, polish
- #2024 — Show image previews for tool results in the turn activity log
- #2025 — Buttons take their colours from the active theme
- #2026 — Store timeline inline media with its entries and cascade deletion
- #2028 — Make Delegate tool, policy and Settings built into Core
- #2029 — Retire uncalled binder/prewarm and legacy auth subjects under #1650
- #2030 — test: qualify the current SDK through a version-neutral native suite
- #2031 — fix: keep Working elapsed time tied to the native turn start
- #2027 — Settings: finish audit items; restore provider-auth and About suites
- #2033 — deps: bump web-push from 3.6.7 to 4.0.0
- #2035 — deps: update 10 routine dependencies while preserving the SDK 1.5.2 pin
- #2032 — fix: preserve queued inputs when stopping a response
- #2036 — Remove session recordings and the Recordings Settings pane
- #2037 — feat: import offline session history and retire v3 migration paths
- #2040 — fix(db): atomically choose fresh creation or validated reopen
- #2041 — Compact Settings fields and buttons; checkboxes lead their text
- #2043 — test(native): qualify serialized watches and independent queue bounds
- #2042 — Pack footer meters tightly
- #2046 — fix(auth): preserve credentials on malformed OAuth results and qualify provider scopes
- #2045 — Remove the 'N active' pill from the sessions list header
- #2047 — Show the latest input after every submission
- #2048 — Repair optional browser test setups; fix login page and stale picker reads
- #2050 — Reconcile native integration review and whole-range accounting
- #2049 — Summarise delegate calls inline; readable delegate brief
- #2051 — Update provider model catalogues from Settings (pi update --models)
- #2052 — Model catalogue update: cover every provider and publish new models at once
- #2053 — Two-line phone footer: short model line, meter values
- #2054 — Remove the blank band above the status bar in iPhone home-screen mode
- #2056 — fix(delegate): support MAI Code 2 and place Core settings after Models
- #2055 — One-line summaries for plan tool calls
- #2057 — Use plain tool-call timing and standard borders for queued messages
- #2058 — Consume tool-owned call summaries through the add-on contract
- #2062 — Replace outbound MCP and integrate SDK optimiser/oversight
- #2063 — Preserve complete MCP script values and support LAN HTTP Settings
- #2064 — Bind selected MCP Agent grants to stable branch identities
- #2065 — Return a failing exit status when piclaw --post fails
- #2066 — Approve the exact Draw.io 31.4.6 successor
- #2067 — Avoid locking an exclusively reserved empty SQLite store
- #2068 — Record #1650 live acceptance and forward recovery
- #2069 — Restore metadata-only keychain discovery in the native runtime
- #2071 — Admit the exact Draw.io 31.4.7 static package
- #2072 — Stream built assets and add-on downloads without whole-file buffers
- #2073 — Avoid repeated add-on manifest scans and admit lazy Codex parser
- #2074 — Bound ordinary workspace previews at the file read
- #2075 — Upgrade the separate Earendil SDK graphs to 1.6.0
- #2070 — Group optimiser settings around instance defaults and Agents
- #2061 — fix: share live model catalogue across native controls and UI
- #2076 — Coalesce overlapping credential snapshot reads
- #2077 — Consolidate test routes and require completed stage receipts
- #2078 — Stream optimiser checkpoint history in bounded pages
- #2079 — Preserve optimiser publication recovery authority after checkpoint fix
- #2081 — Read ZIP directory metadata without buffering workspace archives
- #2080 — Preserve bounded native tool-result images and support text-only continuation
- #2083 — Release inactive native transcript caches between turns
- #2082 — Make optimiser settings global and show optimiser activity in Classic
- #2084 — Support a protected keychain key file in workspace config
- #2085 — Send Web Push for committed scheduled results
- #2086 — Reduce native steering acknowledgement latency
- #2088 — Sort Classic session lists by recent activity within groups
- #2087 — Replace Adaptive Cards in Classic with A2UI Express
- #2089 — Bound native optimiser history analysis with Kintsugi v0.8.7
- #2093 — Remove Token Optimiser and Oversight; retain Code Mode MCP
- #2095 — Fix native MCP discovery, recovery, recall and Settings
- #2090 — deps: bump @playwright/test from 1.65.0 to 1.65.1 in /tests/e2e in the routine-e2e-updates group
- #2091 — deps: bump playwright from 1.65.0 to 1.65.1 in /skel/scripts/playwright in the routine-playwright-updates group
- #2094 — Implement A2UI v1.0 in Classic
- #2097 — Use an exact model whitelist for Delegate
- #2098 — Update ten routine dependencies and retain the OpenAI pin
- #2100 — Stream tar.gz previews and refresh runtime memory evidence
- #2101 — Restore keyboard focus after closing the Classic workspace menu
- #2102 — Upgrade the Root and durable SDK graphs to Earendil 1.6.1
- #2105 — Make all available models addable to the Delegate whitelist
- #2104 — Keep private A2UI metadata out of live queue events
- #2107 — Preserve the Delegate prompt cache prefix across Settings changes
- #2106 — Make MCP servers instance-wide and simplify Classic Settings
- #2109 — Record Smith post-reload readiness in the memory history
- #2108 — Update DOMPurify to 3.5.0 without changing the OpenAI pin
- #2111 — Reduce peak RSS in native turns and Classic tool projection
- #2110 — Ship the algorithm engineering skill in skel
- #2112 — Avoid re-encoding cumulative model output across the native bridge
- #2113 — Commit native message correlation with web input acceptance
- #2114 — Keep A2UI renderer metadata out of user input and prompts
- #2115 — Reduce repeated native context reads in Classic polling
- #2116 — Avoid full line arrays in native thought and draft previews
- #2117 — Approve Codex Conversion 0.2.5 and avoid a duplicate response clone
- #2118 — Stop retaining SQLite results in the ordering queue
- #2119 — Return metrics directly to Classic status
- #2120 — Release Classic SSE clients on request abort
- #2121 — Count context rejection bytes without making a UTF-8 copy
- #2122 — Avoid a JSON copy for typed MCP string results
- #2123 — Reuse owned media bytes for thumbnail generation
- #2124 — Reuse exact native generation context estimates for status readers
- #2125 — Skip non-indexable media BLOBs in terminal FTS reads
- #2126 — Index new Root attachments once without changing upserts
- #2128 — Upgrade the Root and durable SDK graphs to Earendil 1.7.0
- #2129 — Add offline Durable conversation history reclamation
- #2133 — Render the Plan checklist without persisting snapshots
- #2131 — Reclaim settled Piclaw archives from offline SQLite copies
- #2136 — Enable permanent online deletion of archived sessions
- #2127 — Skip non-indexable BLOBs during explicit-thread attachment indexing
- #2134 — Read only the exact final answer for native reply publication
- #2135 — Iterate durable document revisions at startup
- #2130 — Skip already-published native replies during cold recovery
- #2137 — Report clearing an in-flight Goal as a local cancellation
- #2139 — Revert "docs: add Turkish README translation (README.tr.md)"
- #2140 — Recheck Classic status authority before responses are sent
- #2141 — Settle tracked shell operations when spawn throws synchronously
- #2142 — Reset stale pre-cutover tool filters so enabled MCP servers reach every chat
- #2143 — Show the RSS figure in the narrowest Classic meter layout
- #2145 — Isolate expired scheduled sources from foreground turns
- #2146 — Keep Classic activity and session lists current
- #2148 — Release v4.0.0 — The Force Awakens
- #2149 — Fix v4 startup writer ordering and qualify Classic release UX
- #2150 — Restore first-run setup before an available model is configured
- #2151 — Use isolated host tests in the release integration gate
- #2152 — Repair Docker and portable release packaging
- #2153 — Wait for Settings layout before checking viewport bounds
- #2154 — Create scratch for clean-runner image smoke tests
-
The removal figure counts roughly 102,000 lines in wholly deleted source and test files, excluding generated bundles, vendored code and fixture payloads, with rename detection enabled. It is a gross removal count; replacement code and tests make the net reduction smaller. ↩
