Repository navigation
Highlights
Undo a deleted attachment
- Restore deleted files. A deleted attachment can be restored within the restore window, which is the attachment grace period less 15 minutes (30 days less 15 minutes by default). The web app offers Undo right after a delete in the attachment strip, the viewer and Storage, and Storage and an item's attachments list recently deleted files to restore. From the CLI:
pad attachment list --deletedandpad attachment restore <id>; on MCP,pad_attachmentgainsdelete,restoreandlistwithdeleted(docs/api.md, docs/mcp.md, docs/backup.md, docs/deployment.md).
Redact an item's history
- Owner-only redaction. A workspace owner can permanently remove text from an item's stored content and its whole version history, comments included, with
pad item redact <ref> --match ...(preview with--dry-run) orPOST /workspaces/{ws}/items/{ref}/redact. It needs a signed-in session, so API keys, OAuth and remote MCP are refused, and so are declared agents. Each redaction is audited without the removed text, and the CLI reports copies it could not reach (docs/api.md, "Item history redaction"; docs/backup.md, "Redaction and physical residue").
Agents
- Agent signup. An agent can create a trial account for itself with
pad auth signup --agent --name <name> --accept-terms(orPOST /api/v1/agent-signup): one workspace and one token, which a person keeps by claiming it through the claim link or code. Unclaimed, the account is deleted after 30 days by default. It is on by default on Pad Cloud. A self-hosted server turns it on withPAD_AGENT_SIGNUP=on, the admin settingagent_signup_enabledand a terms URL inagent_signup_terms_url.pad auth claim-link(MCPpad_metaclaim-link) issues a fresh link (docs/api.md, "Agent signup and unclaimed accounts"). - Stateless remote MCP. Remote MCP now serves protocol revision 2026-07-28, in which each request carries its own version, identity and capabilities and the server keeps no session, alongside the earlier revisions (docs/mcp.md).
Editing on phones and tablets
- Edit button mode. Phones and tablets can now keep an item's body read-only until you choose to edit: pick Edit button under Settings, Account, Touch devices, then edit with the floating Edit button or a double tap. Tap to edit stays the default. The choice follows your account.
Refs that survive moves
- Old refs keep working. An item moved to another collection, or whose collection prefix changed, still resolves by its old ref (docs/api.md).
Upgrade notes
- Account and sign-in activity is kept for 90 days. Activity rows that belong to no workspace (sign-ins and account audit events) are deleted 90 days after they were written, so
GET /api/v1/audit-logwithdaysabove 90 returns only workspace rows past that age. Deleting an account now removes its personal data from its activity rows. Invitation audit rows record the invitation id and role instead of the invitee's address, and a migration removes the address from older rows (docs/api.md, account deletion). - Attachment downloads revalidate. Attachment bytes are served
private, no-cachewith a content-hash ETag, so a browser or proxy checks back before reusing a cached copy.
Install
brew install PerpetualSoftware/tap/pad
docker pull ghcr.io/perpetualsoftware/pad:0.23.0
Archives for Linux, macOS and Windows are attached below.
Verifying
cosign verify-blob \
--certificate-identity-regexp "^https://github.com/PerpetualSoftware/pad/.github/workflows/release.yml@.*" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
--bundle checksums.txt.sigstore.json checksums.txt
Changelog
Features
- 70997ad: feat(api): list deleted attachments with shared restore permissions (@xarmian)
- 5b4106f: feat(cli): add human-only redaction command and docs (TASK-4114) (@xarmian)
- e7749d3: feat(cli): pad attachment list --deleted (TASK-5026) (@xarmian)
- 67bc6c9: feat(cli): pad attachment restore; delete --yes no longer needs the HEAD (TASK-4937) (@xarmian)
- 81aa4f0: feat(cli): pad auth signup --agent and pad auth claim-link (@xarmian)
- 3c342ea: feat(mcp): list deleted attachments across transports (TASK-5026) (@xarmian)
- 27d551a: feat(mcp): pad_attachment delete and restore (TASK-4937) (@xarmian)
- b639b02: feat(mcp): pad_meta claim-link and account_not_unclaimed (tool surface 0.138) (@xarmian)
- 10ecbeb: feat(mcp): serve the stateless 2026-07-28 protocol remotely (TASK-4964) (@xarmian)
- 884100b: feat(server): agent signup lifetime defaults to 30 days (@xarmian)
- 944397a: feat(server): agent signup on by default on Cloud, terms URL required, lifetime capped (@xarmian)
- 82f680b: feat(server): expose owner-only audited item redaction (TASK-4114) (@xarmian)
- 2818a7f: feat(server): restore a deleted attachment within the restore window (TASK-4937) (@xarmian)
- 1a7eb9f: feat(server): track active stateless MCP callers (@xarmian)
- 46110a3: feat(store): add durable item ref alias storage (@xarmian)
- fc66689: feat(store): list recent attachment tombstones with stable pagination (@xarmian)
- fdc3fa7: feat(store): preserve refs across moves and prefix changes (@xarmian)
- 34793c2: feat(store): redact item text and stored history (TASK-4114) (@xarmian)
- bd545da: feat(web): add deleted attachment listing and shared restore helpers (@xarmian)
- 3eba614: feat(web): attachment restore client, restore channel and Undo toast helper (@xarmian)
- f120389: feat(web): attachment strip offers Undo and repaints a restored tile (@xarmian)
- 2daca8a: feat(web): editor image and chip re-probe on an attachment restore (@xarmian)
- 0fd6f4e: feat(web): floating Edit button and double-tap to edit on touch devices (TASK-4990) (@xarmian)
- 4687e14: feat(web): per-user touch-device Edit button preference (TASK-4988) (@xarmian)
- c1dd1db: feat(web): restore recently deleted files from Storage and item attachments (@xarmian)
- e272813: feat(web): timeline re-probes an attachment restored by Undo (@xarmian)
- 4d4a561: feat(web): viewer and Storage deletes offer Undo and fence the user (@xarmian)
Bug fixes
- 2eabdb4: fix(billing): warn when offer config intervals are rejected (@xarmian)
- 7926ffe: fix(cli): attachment show reports not_found for a missing attachment on stdio MCP (BUG-4943) (@xarmian)
- 5781668: fix(cli): full ids in the deleted list; catalog version 0.140 in instructions and README (TASK-5026) (@xarmian)
- 3ececfb: fix(cli): point item link/unlink to the relationship verbs (TASK-4987) (@xarmian)
- af36644: fix(cli): report unreachable copies and cascaded refs after redaction (TASK-4114) (@xarmian)
- 45c6321: fix(collab): drop sweeper-only item locks; report compacted resume after unlock (BUG-3775, BUG-3774) (@xarmian)
- 035dc32: fix(diff): verify reverse patches with go-diff 1.4.5 (@xarmian)
- 734e10b: fix(mcp): attachment delete/restore refusals keep their code on stdio (TASK-4937) (@xarmian)
- 331b032: fix(mcp): cap client-declared names at 128 runes; test modern scope on the ChatGPT mount (TASK-4973) (@xarmian)
- b0fad27: fix(mcp): decide a modern listen from its Mcp-Method header instead of buffering the body (TASK-4964) (@xarmian)
- fc9bf6c: fix(mcp): keep the initialize payload in budget; the bootstrap directive carries the claim-link rule (@xarmian)
- 50678c8: fix(oauth): reject conflicting audience and resource targets (@xarmian)
- 993f670: fix(server): GET /sessions omits unarmed browser-tab streams (BUG-4084) (@xarmian)
- c89f81b: fix(server): a collab dial on an item in a soft-deleted workspace answers the unknown-item 404 (BUG-4006) (@xarmian)
- 8addb98: fix(server): account_deleted records no personal data; sweep old workspace-less activities (@xarmian)
- 7ea7ffd: fix(server): agent signup directives state the workspace purge window (@xarmian)
- b35532c: fix(server): attachment blobs revalidate (private, no-cache) with a content-hash ETag (BUG-4939) (@xarmian)
- b96934b: fix(server): bound the MCP stateless-callers tracker key and cap entries per user (TASK-4969) (@xarmian)
- 6681d43: fix(server): hash Mcp-Session-Id and cap legacy MCP sessions per user (TASK-4971) (@xarmian)
- b595992: fix(server): hold the agent signup caps under a lock through the signup row (TASK-4944) (@xarmian)
- a5ad446: fix(server): invitation audit rows record the invitation id, not the invitee email (BUG-4956) (@xarmian)
- aa2ec87: fix(server): redaction requires an owner membership (@xarmian)
- 20a1fdc: fix(server): state the purge window exactly in hours when it is not whole days (@xarmian)
- 44122a8: fix(server): the collab socket answers an out-of-reach item like an unknown one (BUG-4006) (@xarmian)
- b2ef1a2: fix(server): wire the MCP session gauges when metrics are set after the transport (TASK-4971) (@xarmian)
- 3d12cf8: fix(store): a floating move arms by wall order across a spring-forward gap (TASK-4221) (@xarmian)
- a80f7ab: fix(store): a floating move never re-arms a wall the source already delivered (TASK-4221) (@xarmian)
- 81c4d9c: fix(store): account deletion scrubs activities; workspace-less rows expire after 90 days (@xarmian)
- d36cdf6: fix(store): drop overlong words before Postgres builds a search tsquery (BUG-4462) (@xarmian)
- 4da9fba: fix(store): preserve text types in serialized JSON (@xarmian)
- 17f01eb: fix(store): redaction covers app projections, create-version counts and serialized scalars (TASK-4114) (@xarmian)
- 8384cee: fix(store): redaction leaves event identity fields alone and audits after the post-check (TASK-4114) (@xarmian)
- 1e555fe: fix(store): restrict redaction to subject-owned text (@xarmian)
- c656f4b: fix(store): template seeding stops at the items_per_workspace limit (BUG-3692) (@xarmian)
- 255b04f: fix(store): treat field map keys as field names during redaction (@xarmian)
- c671bbc: fix(web): Edit keeps the reader's place, and no floating button without a body on screen (TASK-4990) (@xarmian)
- db4f2f5: fix(web): a fresh rich crash draft that cannot be anchored restores whole behind the warning, not a false conflict (BUG-3854) (@xarmian)
- 769cdb1: fix(web): a stale rich crash draft on an unchanged item restores whole again, behind an explicit warning (BUG-3854) (@xarmian)
- 6e04b3c: fix(web): a view with no edit no longer writes a collab snapshot (BUG-5006) (@xarmian)
- f5d45ff: fix(web): attachment Undo during an in-flight list load refetches once it settles (@xarmian)
- 0f7945f: fix(web): attachment delete confirmations say the delete can be undone (@xarmian)
- 23e83fa: fix(web): audit log shows the role for invitation rows without an email (BUG-4956) (@xarmian)
- ae7c5e6: fix(web): describe a blocked restore to screen readers in the item strip (@xarmian)
- 3930797: fix(web): fence a deleted-view restore by its own generation, not the view fence (@xarmian)
- 533837d: fix(web): hide the touch Edit button while the editor is frozen (TASK-4988) (@xarmian)
- dd87143: fix(web): identity-fence the owed restore refetch in the load's finally (@xarmian)
- f5f5fff: fix(web): item When panel no longer reserves a page of blank height in content-primary layouts (BUG-4985) (@xarmian)
- 3fb89c2: fix(web): keep a space between the billing plan sentences (TASK-5017) (@xarmian)
- db730aa: fix(web): keep deleted attachment pages unique (@xarmian)
- bd75602: fix(web): keep overflow menus last in action rows (BUG-4972) (@xarmian)
- 18978fd: fix(web): keep the phone bar's + centered when Chat is off (BUG-4991) (@xarmian)
- 2396837: fix(web): keep the touch Edit button in line with the action band (TASK-4988) (@xarmian)
- a3482f5: fix(web): never assign a same-origin path that starts with two slashes (TASK-4988) (@xarmian)
- 9ee2031: fix(web): offer the open invoice when checkout answers payment_due (@xarmian)
- d5da9aa: fix(web): only a transaction that changes the doc itself counts as a local edit (BUG-5006) (@xarmian)
- 8f8b722: fix(web): raw crash drafts and raw saves take their base from the server-received row (BUG-4995, BUG-4996) (@xarmian)
- 12dda63: fix(web): re-lock the touch-edit body when the signed-in user changes (TASK-4988) (@xarmian)
- f81ab84: fix(web): re-sync a drag zone when its rows are replaced at the same count (BUG-4960) (@xarmian)
- 89f61ff: fix(web): reserve the Add date slot only for an editor while its read is pending (BUG-4972) (@xarmian)
- 086ad23: fix(web): restore a rich crash draft by patch only, so a change the tab never received is kept (BUG-3854) (@xarmian)
- bbbbaf7: fix(web): rewire a drag zone whose rows render after its options (BUG-4960) (@xarmian)
- 11c1efa: fix(web): the link popover follows the link when the keyboard opens (BUG-4986) (@xarmian)
- 84b57ee: fix(web): warn on base-less draft restores and record stale base on one-shot keeps (BUG-4994) (@xarmian)
- 64d2283: fix: redaction preview scans comments once; JSON on a zero-match apply (@xarmian)
Performance
Other changes
- eb1b39d: Merge main into the attachment restore branch (TASK-4937) (@xarmian)
- 9d20e03: Merge origin/main (attachment restore, TASK-4937) into rook/TASK-4944 (@xarmian)
- 212bf26: Merge remote-tracking branch 'origin/main' into rook/TASK-4010 (@xarmian)
- 3cb37c6: Merge remote-tracking branch 'origin/main' into rook/TASK-4010 (@xarmian)
- 0fd5c0c: Merge remote-tracking branch 'origin/main' into rook/TASK-4114 (@xarmian)
- 851625b: Merge remote-tracking branch 'origin/main' into rook/TASK-4944 (@xarmian)
- cd807e3: build(nix): update vendorHash for go-diff 1.4.5 (@xarmian)