Commit Graph
4693 Commits
Author SHA1 Message Date
DottaandPaperclip ad0b7105f3 fix: complete built-in sandbox stop-only cleanup
Give the built-in fake provider an explicit non-destructive stop operation and preserve its recorded identity through generic stop intent and restart recovery. Keep plugin capability enforcement unchanged.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-28 00:39:51 -05:00
DottaandPaperclip ea10ee8994 fix: require stop-only cleanup for every retained sandbox
Persist generic stop intent before provider dispatch, use the exact pinned StopLease capability for release and restart recovery, and retain saved allocations when capability or stop confirmation is unavailable.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-28 00:26:30 -05:00
DottaandPaperclip d884e1ab04 fix(runtime): release copied work after any committed terminal result
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 23:16:43 -05:00
DottaandPaperclip 821ffc9b66 fix(runtime): preserve ephemeral work after export failure
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 23:06:23 -05:00
DottaandPaperclip f1888c5f3d fix(ui): retire finished draft recovery mappings
Keep an active composer isolated while sending, then restore the shared draft on a later visit once no recovered work remains. Re-establish the mapping for new text, attachments, or pending intent. Scope the storage-failure test to sessionStorage on every platform.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 23:05:49 -05:00
DottaandPaperclip b4aaac47ab fix(ui): preserve conflicting drafts within their tabs
Keep local recovery text and receipts in tab-scoped storage without acquiring a foreign submission or overwriting the shared draft. Fence only the retired shared key and restore recovered keys on task navigation.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 22:55:00 -05:00
DottaandPaperclip 3740b4c7b1 fix(ui): reconcile confirmed drafts when storage is unavailable
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 22:35:59 -05:00
DottaandPaperclip dece40fd5e fix(ui): settle restored draft submissions only once
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 22:21:03 -05:00
DottaandPaperclip 2bedd0f23b fix(runtime): recover earlier export cleanup intents safely
Version new plugin-pinned intents and recover v1 from the exact lease recorded plugin without driver-key fallback or accepting mismatched explicit pins.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 22:07:41 -05:00
DottaandPaperclip 47d435b762 fix(instructions): enforce scoped authority for peer reads
Require configuration-read grants or strict responsible-user target edit authority before exposing peer instruction content, history, and candidates. Preserve self, board, authorized delegated edits, and external host restrictions. Read decisions do not consume or bypass write consent.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 22:04:32 -05:00
DottaandPaperclip a3fc644557 fix(runtime): bind export cleanup to its recorded provider plugin
Refuse a duplicate driver key or unavailable original plugin during stop-only recovery; preserve the pending intent and fence later provider rebinding.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:59:04 -05:00
DottaandPaperclip f1f956714a test(instructions): use shared directory snapshot iterator
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:52:43 -05:00
DottaandPaperclip 641a7bd883 docs(instructions): clarify retry and reset authority boundaries
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:52:43 -05:00
DottaandPaperclip 0d19602fae fix: refresh managed agent ownership after plugin reinstall
Hard uninstall removes plugin bindings but preserves the managed agent and its instruction history. Revalidate the registered stable-key declaration and refresh provenance atomically when relinking, so explicit reset can use its canonical revision authority.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:52:13 -05:00
DottaandPaperclip ceecff9884 fix(instructions): retain completed receipts during retry staging
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:50:10 -05:00
DottaandPaperclip 2718f38457 fix(recovery): reject orphaned export activity after controller loss
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:49:08 -05:00
DottaandPaperclip 73c590d7de fix(runtime): retain resumed exports through failed admission
Record exact stop-only cleanup intent before provider resume, compensate failed admission, and recover interrupted cleanup without destroying saved work.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:49:08 -05:00
DottaandPaperclip 2e5c2908cc test(instructions): inspect streamed Git path manifests
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:47:26 -05:00
DottaandPaperclip b731bc056d test(instructions): verify canonical database bytes in native assets
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:38:40 -05:00
DottaandPaperclip 22dd967e03 fix: restore managed plugin entry without deleting history
An explicit stock reset now compares the observed configured entry and target revision, preserves earlier entry history, and restores the declared canonical entry atomically. Retained historical entries do not masquerade as stock drift.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:38:40 -05:00
DottaandPaperclip afcbfe1335 fix: preserve canonical history on managed plugin reset
Record explicit managed-agent instruction resets through the canonical revision CAS path under exact plugin ownership and capability checks. Preserve prior content and plugin audit identity without synthetic user authority.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:38:40 -05:00
DottaandPaperclip 7bed702b59 fix(instructions): refresh canonical content at safe run boundaries
Use the committed database snapshot for native instruction bundles when disk projection is stale. Restage completed stopped working copies from the current head, while preserving live warm owners and original CAS fences for uncollected edits. Cover native stale projection, repeated stopped retries, resolved candidates, and no silent rebasing.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:38:40 -05:00
DottaandPaperclip 8e3391599b fix(ui): keep changed-entry instruction edits readable
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:38:40 -05:00
DottaandPaperclip 19d3f4d78f docs(runner): include instruction tools in operation coverage
Register canonical instruction read, update, history, and restore operations in the reference-file group. Regenerate the catalog document while distinguishing live service and E2E evidence from legacy mock scenarios.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:38:40 -05:00
DottaandPaperclip 9d4cee911d fix(recovery): show progress once an explicit native retry starts
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:38:40 -05:00
DottaandPaperclip 2321ddd573 fix(recovery): project exact native run activity across task views
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:38:40 -05:00
DottaandPaperclip 34ebc558f5 test: describe missed finalization retry without private task reference
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 21:38:40 -05:00
DottaandPaperclip 1c4dbec4b0 fix: separate journal proof queue and execution budgets
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 20:48:50 -05:00
DottaandPaperclip ec9f5f6c12 fix(db): preserve published instruction migration history
Restore the exact published SQL hashes so cloud preflight accepts upgrades from the already deployed instruction feature. Cover immutable SQL and journal hashes plus repeated migrator runs preserving revisions, pending edits, receipts, and company constraints.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 20:37:34 -05:00
DottaandPaperclip a450a48be4 fix(runtime): await bounded journal proofs with ownership rechecks
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 20:32:26 -05:00
DottaandPaperclip 8976f3d25c test(runtime): qualify near-limit bounded journal frames
Exercise a 190 MiB journal made of individually bounded event frames and document off-thread proof quotas, retained evidence, and nonblocking file admission.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 20:32:26 -05:00
DottaandPaperclip cfc3e6805c fix(runtime): retain only journal authority evidence
Project ordinary semantic outputs and unused event headers away while preserving completion, process, and warm-transition authority. Account retained JSON bytes rather than discarded parser work, and open proof inputs without blocking on special files.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 20:32:26 -05:00
DottaandPaperclip 77ebe7829e test(runtime): reject FIFOs before journal worker deadlines
Exercise both scan and projection through a warmed real worker. Verify a writer-less FIFO is rejected and close completes, with a controlled finally writer release so the pre-fix blocking-open regression cannot strand CI.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 20:32:26 -05:00
DottaandPaperclip 6f07e711ec fix(runtime): isolate journal proof work in a bounded worker
Use one off-thread proof reader with a bounded queue, monotonic deadlines, heap limits and joined termination. Preserve raw hashes and canonical base64 fingerprints, and prove event-loop responsiveness on a 190 MiB journal.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 20:32:26 -05:00
DottaandPaperclip ce510c4356 fix(daytona): cap aggregate streamed archive metadata
Bound every listing to 64 MiB and 250,000 lines before extraction while preserving incremental validation of supported large workspaces. Cover exact boundaries, final lines, blank-line floods, and repeated concurrent attempts with child-reap witnesses.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 20:04:24 -05:00
DottaandPaperclip 6e525a7b92 fix(runtime): bound durable journal proof memory
Stream proof reads through a fixed buffer, retain only authority evidence, and preserve full-file digests and warm-transition fingerprints. Fail closed when essential evidence exceeds the bounded projection budget.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 20:04:24 -05:00
DottaandPaperclip e36e59c712 fix: resume exact sandbox lifecycle for export repair
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 19:54:44 -05:00
DottaandPaperclip b591a9520e fix(grok): retain provider results across collection and restore failures
Record collection failure separately on the completed result before workspace restoration. Keep the provider exit, session, usage, and output when both cleanup steps fail, while keeping raw collector errors out of logs.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 19:43:27 -05:00
DottaandPaperclip 85654d4c5c fix(grok): distinguish instruction collection from workspace restore
Collect in the execution boundary before the separate restoration callback. A collection rejection still restores and cleans up, but retains its own error instead of requesting workspace recovery.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 19:35:00 -05:00
DottaandPaperclip 185238b172 fix: repair retained workspace exports without replaying provider work
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 19:33:16 -05:00
DottaandPaperclip e45d5d2574 fix(adapters): restore workspaces when instruction collection fails
Keep bridge and workspace cleanup in finally after the verified-stop collector. ACP records a bounded collection failure without exposing raw filesystem paths or preventing its normal teardown.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 19:28:33 -05:00
DottaandPaperclip 97df59cb3a fix(db): make instruction migrations safe to replay
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 18:58:49 -05:00
DottaandPaperclip 69549d4248 fix(api): document preserved instruction candidate endpoints
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 18:55:53 -05:00
DottaandPaperclip 14c3d810c9 test: admit active coordinator in combined export fixture
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 18:46:03 -05:00
DottaandPaperclip d0d0003d51 fix: recheck native recovery admission under workspace ownership
Preserve terminal unsafe-archive repairs and future retry delays when an earlier reconciler snapshot enters after the live owner releases copyback.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 18:45:59 -05:00
DottaandPaperclip d3199cf076 test: regenerate combined instruction and API tool contracts
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 18:36:02 -05:00
Dotta ecc6752b6a test(e2e): prove saved API response pagination through EOF 2026-09-27 18:34:12 -05:00
DottaandPaperclip 30b391e7de test: separate instruction proof nonce from fixture identity
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 18:33:40 -05:00
DottaandPaperclip ffac79eb55 test: seed instruction drift fixture without versioned writer bypass
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 18:33:40 -05:00
DottaandPaperclip 64e2492d30 test: verify instruction history and conflict resolution in browser
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-27 18:33:40 -05:00