Repository navigation
Description
Current maintainer ruling
Decision (maintainer, 2026-11-01): Adopt the proposed local chat-history deletion policy, recorded before code in the binding ruling.
- Only an authenticated owner may delete its own chat, preserving exact principal ownership. No cross-principal power; ambient authentication requires explicit owner mapping.
- Remove local native history, canonical dialogue and directly bound copies. Retain and disclose independent saved content, effects, provider copies and backups. This explicitly amends ui: retain complete live dialogue when reopening a chat #3177's native-preservation rule for authorized explicit deletion only; no live provider-history rewrite.
- Keep minimized non-content identity/replay fences permanently within the installation. Accept and disclose old-backup text restoration; no outside-image ledger or physical secure-erasure guarantee.
- Refuse busy effect-owning work and use existing stop/reconcile paths separately. No automatic expiry or routine live cutoff.
Out of scope
Deletion runtime/UI, automatic expiry, audio retention, live native-prefix rewriting, new authority/storage seams and weakening current replay guards. This is a design/decision spike; completion does not mean deletion works.
Context
Source verified at 6fa3ec1305e8b52991252d6a28959a68c56be1c1. createSessionRoutes, packages/ui-server/src/routes/sessions.ts:8-147, lists/reads, without general deletion. saveConversationEpoch, packages/ui-server/src/ws/conversation-storage.ts:21-33, and saveConversationTask, packages/ui-server/src/ws/conversation-storage.ts:35-71, have different recovery/identity lifetimes. prepareHistory, packages/ui-server/src/ws/host.ts:638-650, joins operational projections onto native history. Clearing one table cannot delete the chat truthfully.
The source-backed proposal was delivered by #3213, squash 0312e86d9fecbc2a4701443d33a9873308afe382. Its original review, mutation and hosted receipts remain historical evidence at their recorded source identities in the comments; they are not proof for a new candidate. The 2026-11-01 ruling settles the three choices left by that proposal.
Scope
Finish the binding decision record and coherent proposal/#3177/contract references. Preserve the source inventory covering native history, dialogue/provenance, host projections, browser caches, independent replay ledgers and backup boundaries. Put bounded future implementation and proof in separate issues.
Acceptance criteria
- Inventory every owner of readable chat text and independent replay/idempotency ledger with current source anchors.
- Record approved authority/extent, unsupported-backend refusal and truthful partial/unknown semantics; no physical secure-erasure or old-backup deletion promise.
- Specify generation/tombstone fences for in-flight callbacks, old cursors, provider snapshots and retained task facts; retain permanent minimized refusal facts.
- Supply bounded implementation briefs with meaningful keyless native/browser red and mutation cases for races, restore and reload.
- Explicitly amend ui: retain complete live dialogue when reopening a chat #3177's native-preservation sentence for authorized deletion while preserving ordinary append-only provider history, no automatic expiry and no arbitrary live cutoff.
Implementation follow-ups
- ui-server: retire chat identities with permanent replay and restore fences #3228: internal lifecycle, exact owner/principal retirement, permanent replay fences and operational restore. Blocked by this decision delivery.
- backends: remove owned native chat history under a retired lifecycle #3229: Claude/Pi native trees and adjacent metadata, safe owned removal and unsupported/partial outcomes. Blocked by ui-server: retire chat identities with permanent replay and restore fences #3228.
- ui-server: coordinate local chat copies and expose truthful deletion outcomes #3230: host-owned copies/consumers and authenticated endpoint/invalidation contract. Blocked by ui-server: retire chat identities with permanent replay and restore fences #3228 and backends: remove owned native chat history under a retired lifecycle #3229.
- ui-react: design own-chat deletion and targeted cache retirement #3231: own-chat interaction design, targeted browser cache retirement and real offline-browser proof. Blocked by ui-server: coordinate local chat copies and expose truthful deletion outcomes #3230; needs design before implementation.
No guessed priorities, agent-ready labels or implementation release commitments. Epic #3234 owns this complete typed/native/live deletion theme; #3180 and #3228–#3231 are attached children. Its sync mapping uses the existing Hardening track. Existing dependency declarations remain authoritative; membership adds no readiness or release commitment. Every issue carries current source anchors, checkable acceptance, exclusions, contract assessment and causal red/mutation obligations.
Draft decision delivery
#3232 contains the complete decision candidate; runtime work remains separate. Exact current identities and local proof are recorded in the handoff comment. Independent review/hosted qualification and final milestones remain parent-owned before merge.
Verification
Documentation and tracker-mapping only. Verify existing sync-project tests, current source/citations, leakage and default preflight with explicit Bun 1.4.4 root wrapper. No provider calls, live stores or deletion tests. Future issues require actual SQLite/native/backend/browser fixtures, not predicate-only proof. Parent owns independent review, milestones, selected hosted confirmation/reservations, readiness and merge/main proof.
Contract impact
This spike records approved policy and references without changing shipped retention or machine shapes. Its authoritative contract reference edit requires CONTRACT prefix and contract label. No runtime breaking label, package changeset or version bump is claimed for a documentation-only decision. Future runtime changes must assess actual surfaces, apply additive minor rules, and use breaking label/named changeset where shipped retention/compatibility changes; the recorded ruling authorizes only the specified explicit deletion exception. Existing 0.44.0 milestone is design context, not a runtime commitment; final milestone confirmation remains parent-owned.
2026-11-01: replaced obsolete missing-decision prose with the approved ruling and bounded follow-ups; retained earlier investigation/review/proof history in comments. Runtime deletion remains unbuilt.
Activity
schlessera commentedon Oct 31, 2026
Claim
followups-20261031-3180-r1for the explicitly assigned design spike on branchspike/3180-deletion-ownership-followups-r1, starting from verified maine09ae24b9cdc6322586f75a13493212e7ac22cdb. The written investigation is the deliverable; existingneeds: decisionremains for the eventual authority/extent ruling. No deletion implementation, data operation, priority or release commitment is inferred.schlessera commentedon Oct 31, 2026
2026-10-31 — Design investigation handoff, claim
followups-20261031-3180-r1. Draft #3213 contains the independent source-backed deliverable; the issue body now carries the current recommendation and exact maintainer choices. It also corrects the original historical anchors against maine09ae24b9cdc6322586f75a13493212e7ac22cdb. This is a design-review checkpoint, not approval of deletion policy or an implementation delivery.Head
739dbbacb341b6f7f5a257b3a7ee39e50f153844, tree61415557db8bd32a0b80c9a68b3acf6426059fd7; default preflight passed (117/3/203) with Bun 1.4.4. Deliberately shifting the sessions route citation failed the exact anchor test (43 pass/1 fail), then byte-identical restoration passed in final preflight. No deletion/runtime/physical-erasure/provider-forgetting proof is claimed. No shipped package/API/turn path changed.Parent owns independent review, exact-candidate hosted qualification/reservation, milestone choice/readback and any serialized merge/main reconciliation. The issue stays open under
needs: decision, without an invented priority or release commitment. Releasing only this invocation's issue assignment at this clean draft checkpoint; branch and PR preserve the proposal for review/resumption. No nested agent, ready transition, reservation, watch or merge was started.schlessera commentedon Oct 31, 2026
Claim
followups-20261031-3180-r2for the parent-requested documentation clarifications on existing draft #3213, branchspike/3180-deletion-ownership-followups-r1. Preserve the accepted design slice under Refs #3180 and the unresolved policy choices; no deletion implementation or maintainer policy ruling is inferred.schlessera commentedon Oct 31, 2026
2026-10-31 — R2 clarification handoff, claim
followups-20261031-3180-r2. Updated draft #3213 at68d895e83a29f00bf4c27e29e5364e07b76b8218, treefc3db2a2bb7e365e59468cd84acda56c792db32d: one document, 22 additions / 11 deletions. The native-history recommendation explicitly requires an extent ruling amending #3177's preservation sentence; Activity span migration points to023_autonomous_activity.sql; issue/spec now carries three policy choices. Busy-work refusal remains the conservative existing stop/reconcile default, not an extra ruling gate. No maintainer policy decision is invented.Fresh default preflight passed with Bun 1.4.4: lint/leakage/environment/changeset checks and 117 tests / 3 files / 203 assertions. Source applicability: 28 literal citation strings unchanged and all 22 cited source files byte-identical to fetched main
032ca08b7dacd281e63356e8db3e59f04128df4d; only integration-proof script/tests advanced since actual branch source basee09ae24b9cdc6322586f75a13493212e7ac22cdb. No rebase or combined-tree proof is claimed. Earlier independent review/mutation receipts retain their exact prior identities.Parent-selected 0.44.0 was assigned and read back on PR and advanced #3180 for the design partial only. PR remains draft under Refs; issue remains open with needs: decision. Releasing only this R2 assignment at the clean preserved checkpoint. Parent retains serialized qualification and merge; no CI inspection/poll, lease, ready, watch, merge, nested agent or provider action started.
schlessera commentedon Nov 1, 2026
Claim
followups-20261101-3180-r3for the parent-requested owner refresh of draft #3213 onto verified main7d57849fe920e7b57aff4b3399ffbdcae5bcb251. Preserve prior review identities and all three unresolved policy choices; audit current citations and bounded rejected-shutdown cleanup without implementing deletion. Existing branchspike/3180-deletion-ownership-followups-r1; no CI confirmation, reservation, ready transition or merge is requested.schlessera commentedon Nov 1, 2026
2026-11-01 — Owner refresh handoff, claim
followups-20261101-3180-r3. Draft #3213 now has headc5ee1d21c9660af99c2a0acc0785a608137de514, tree84c0b80e046f0d290cf7b7cccbef6634fa08dd0e, actual base7d57849fe920e7b57aff4b3399ffbdcae5bcb251. Conflict-free merge preserves reviewed 739dbba and parent-accepted 68d895e identities. The refresh delta is one proposal file (+23/-10): source audit stamp, three moved anchors/five tightened ends, and existing bounded rejected-shutdown/native-lease cleanup ownership clarified through three new source citations. The recommendation/three-choice section is byte-identical; #3177 native-preservation amendment remains required. No policy ruling or deletion implementation.Source audit initially failed exactly three drifted anchors; repaired checker passes all 1394 citations with zero drift. Every proposal range is in bounds and all 31 ranges/25 source files match main; migrations are byte-identical to prior reviewed source. Serial focused documentation suite passed 117 tests/3 files/203 assertions, followed by default preflight with all lint/leakage/environment/changeset gates and 117/3/203 passing, Bun 1.4.4. No new guard or mutation, runtime/SDK/API/turn-path change, provider/live operation or current CI/main success claim. Tested bytes are committed unchanged.
Both 0.44.0 milestones are retained for the design partial; PR stays draft under Refs and issue open with needs: decision. Parent retains actual refresh-delta inspection and hosted qualification/reservation/merge/main reconciliation. Releasing only this invocation's assignment after readback; branch/worktree remain clean and resumable. No confirmation, reservation, ready, watch, merge, new whole-proposal review gate or nested agent started.
5 remaining items
schlessera commentedon Nov 1, 2026
Claim
decision-20261101-3180-r4for the explicitly assigned completion of the approved design spike, branchdocs/3180-approved-deletion-policy, from verified main6fa3ec1305e8b52991252d6a28959a68c56be1c1. Record the approved ruling and bounded runtime follow-ups; no runtime deletion, hosted confirmation or merge in this draft handoff.schlessera commentedon Nov 1, 2026
2026-11-01 — Decision completion draft handoff, claim
decision-20261101-3180-r4.Draft #3232 records the approved binding policy and explicit #3177 native-preservation amendment, reconciles proposal/contract references, and completes the design acceptance under Closes #3180. Runtime deletion/UI remains unbuilt in bounded follow-ups #3228, #3229, #3230 and #3231. Dependencies/labels/no assignment/no runtime milestones read back; no guessed priorities or readiness. No existing epic fits the full typed/native/live scope.
Head
6abdb1b03724f34703c2ba30e44bf62fb283241f, treee7da0e87490f543c44ab69e49ecfca7bf30dbdb4, actual base6fa3ec1305e8b52991252d6a28959a68c56be1c1; six documentation files, +145/-58. Explicit Bun 1.4.4 root-wrapper default preflight passed 599 tests/23 files/2946 assertions, lint/leakage/environment/pending and contribution changeset checks clean. Citation checker passes 1394 citations; all 25 cited source files are unchanged from the prior inventory audit and range ends verified. Public bodies screened clean. No runtime test/new mutation needed for this docs-only change; original #3213 review/mutation/hosted receipts retain their actual historical identities.CONTRACT prefix/label reflects the authoritative contract-reference edit; no shipped surface/retention behavior, breaking label, package changeset or runtime release commitment is introduced by this decision spike. Parent retains independent review, final milestone confirmation, hosted qualification/reservations/readiness/watch/merge/main proof. No CI confirmation, lease, ready transition, provider/live action or nested agent started. Releasing only this invocation's issue assignment at the clean pushed draft checkpoint; the issue stays open until parent qualification and merge.
schlessera commentedon Nov 1, 2026
Claim
decision-20261101-3180-r5for the parent-requested small documentation correction on draft #3232, branchdocs/3180-approved-deletion-policy. Preserve original passed Opus review at head6abdb1b03724f34703c2ba30e44bf62fb283241f, treee7da0e87490f543c44ab69e49ecfca7bf30dbdb4; add explicit authorization/revocation rechecks and direct-copy disclosure qualification, plus wrapping only. Main remains6fa3ec1305e8b52991252d6a28959a68c56be1c1. No policy expansion or follow-up label/epic changes.schlessera commentedon Nov 1, 2026
2026-11-01 — Small clarification handoff, claim
decision-20261101-3180-r5.Draft #3232 now has head
f148b7e03cb1b5177f4cc042b4c6414791447a4e, treeba1f84b90b1f3a1db0ead9ab99cffc46113dc991, actual base6fa3ec1305e8b52991252d6a28959a68c56be1c1. Delta from original reviewed head: three docs files, +13/-9. Authority now explicitly rechecks current authorization/revocation at admission/across awaits; direct embedded copies must be disclosed as retained or removed by their actual owner under approved policy. Remaining edits only repair proposal/wire wrapping.Original passed Opus review remains at
6abdb1b03724f34703c2ba30e44bf62fb283241f, treee7da0e87490f543c44ab69e49ecfca7bf30dbdb4; parent-reported 120 docs tests/lint retain that identity. Fresh Bun 1.4.4 root-wrapper default preflight passes 599 tests/23 files/2946 assertions, zero failures, with lint/leakage/environment/changeset gates clean; citations 1394, zero drift. No new runtime test/mutation is warranted or claimed. Current main/PR open/head checked before push.Policy/ruling, Closes #3180, contract label/CONTRACT prefix and 0.44.0 preserved. No follow-up labels/epic changes, runtime code, CI inspection/confirmation, lease, ready/watch/merge, provider/live action or nested agents. Parent retains small-delta inspection and qualification/merge/main proof. Releasing only this invocation's assignment at the clean pushed draft checkpoint.
schlessera commentedon Nov 1, 2026
Claim
decision-20261101-3180-r6for the parent-requested #3234 Hardening track mapping and PR/issue epic references on draft #3232, branchdocs/3180-approved-deletion-policy, starting atf148b7e03cb1b5177f4cc042b4c6414791447a4e. Preserve prior policy/review identities; no new track, readiness labels, live project sync, workflow trigger or deletion runtime change.schlessera commentedon Nov 1, 2026
2026-11-01 — Epic mapping handoff, claim
decision-20261101-3180-r6.Draft #3232 head
96b3949ba3fed4fd9ea4812052318ad0b384f04a, treeaf55d584774a3805318683cf362bc1c1e1e70f3e, actual base6fa3ec1305e8b52991252d6a28959a68c56be1c1. Delta fromf148b7e03cb1b5177f4cc042b4c6414791447a4e: one line inscripts/sync-project.tsadds epic #3234 to existing Hardening. PR/issue wording names that owning epic rather than standalone layers. Exact five-child membership and wording readbacks verified. No new track, readiness labels, mirror test, live project sync or workflow trigger.Fresh explicit Bun 1.4.4 root-wrapper focused sync-project/document tests: 217 pass / 9 files / 542 assertions. Default preflight: 1117 pass / 50 files / 7215 assertions, zero failures; lint/leakage/environment/changeset gates clean. Public bodies screened. Existing f148b7e authorization/direct-copy fixes are byte-identical; original passed Opus review remains at
6abdb1b03724f34703c2ba30e44bf62fb283241f, treee7da0e87490f543c44ab69e49ecfca7bf30dbdb4, not relabeled as review of later deltas.Closes #3180, contract/CONTRACT and 0.44.0 preserved. This mapping is tracker orchestration metadata, not shipped deletion behavior. Parent owns small-delta inspection and final dependency/readiness/qualification/merge/main reconciliation. No CI/lease/ready/watch/merge/provider/live/nested-agent work. Releasing only this invocation's assignment at the clean pushed draft checkpoint.
schlessera commentedon Nov 1, 2026
Delivery verified (2026-11-01): approved deletion policy merged in #3232 at
e0584b7f277f42a18b029e9c0bb6852993cfb946. Candidate run 41311274782 passed; automatic main run 41312956717 passed all 17 jobs, with actual job checkouts verified against the squash. PR and completed issue retain milestone 0.44.0; assignment is empty.This completes the policy decision and documentation only. Deletion runtime and UI remain unbuilt under epic #3234 and #3228–#3231. #3228 is ready; later work retains its dependencies, and #3231 still needs interaction design. No deletion, deployment or provider action was performed.