Chest
Available
An owned team file store: team spaces and folders, resumable uploads, file and folder restore, password links, file requests and PDF search, plus a governed records library, on your own computer or Cloudflare account.
Chest is available as MIT-licensed source for self-hosting. See its public source and release documents for setup. Business can also install and run projects for invited accounts; the app shows whether it offers Chest before checkout.
Run Chest on your own computer with one line:
npx -y @runeditrun/rer dev just-every/run-chest
It clones the public source, installs it, sets up a local owner and starts the app; nothing is deployed. To set up without starting, run npx -y @runeditrun/rer setup just-every/run-chest. Without Node 22 or later, run curl -fsSL https://runeditrun.com/install.sh | sh -s -- dev just-every/run-chest.
Or have your agent set it up for a Business: Start a Business with Chest ticked
For HappyToHelp: Assisted is in early access; Managed is in early access.
- Category
- documents
- Licence
- MIT
- Version
0.2.3- Requirements
- 13 clauses
- Release signature
- Signed by just-every · key
rer-ed25519-5a42fb9c9c4f8acb2b32386e9e40461c· statement - Target release
- v0.2.3 · published
- Publisher’s stage
- phase-one-local-candidate
- Instead of
- Google Drive, Dropbox Business, Box, Microsoft OneDrive
Outside services
The services the project declares it sends data to, each with its reason.
cloudflare- Optional remote Worker/D1/R2 hosting; local operations use no account
ai-model- Optional: reads scans and photos for search and proposed typed fields with the installation's own AI provider key (Anthropic or OpenAI-compatible); PDF and Office text is read without it
Scope and limits
What it will not do
- Office editing and universal previews
- Signed desktop and phone sync clients
- Statutory retention and automatic destruction
Declared limits
- Status
- unmeasured
Requirements
All 13 clauses of Chest’s CONTRACT.md. They say what the project must do; the handover and verification records say what is built and tested.
CHEST 13 clauses
CHEST-01Owner claim and staff identity Requirement. Chest's delta on Base sign-in: an installation has exactly one initial owner claim, then invited staff who return by email link. Deactivating a person ends their sessions, and reactivation never revives them. Development personas are separately gated and confer no production authority. Several admins and owner transfer are ADMIN-003; enforced MFA is ADMIN-004. Acceptance. Through setup, invitation, sign-in and the library API: 1. A second owner claim is refused. 2. A live session is revoked, and staff are deactivated and reactivated with their prior sessions still invalid. 3. The owner and a reviewer complete the built browser journey.CHEST-02Typed filing without lost values Requirement. Owners manage collections, editable typed schemas, required fields, and accountable people and groups. Schema edits keep stored values, diagnose missing or invalid fields only on records the viewer can access, and validate new filings and uploads against the current definitions. Acceptance. Through the owner form and API: 1. Create and edit a type. 2. An old record stays unchanged while it is diagnosed. 3. Invalid new values are refused, and diagnostics are hidden from an outsider.CHEST-03Validate before publishing originals Requirement. Uploads validate actual bytes, SHA-256 and size. Durable original custody comes before atomic record admission, so an invalid or failed upload never appears as a library file. Acceptance. Through the document API: 1. An uploaded original's retained hash, size and downloaded bytes match. 2. Bad checksum, size and filing values create no visible record.CHEST-04Accountable filing and safe moves Requirement. Supplier, customer and project filing keeps original names, typed values and responsibility. A move needs current editor access at both source and destination; access follows the destination while versions and review history stay intact. Acceptance. Through the filing API, between differently shared collections: 1. A source-only editor's move is refused. 2. After the move, new readers gain access and former readers lose search and download, with versions unchanged.CHEST-05Safe basic previews Requirement. Signature-classified PDF and raster images and escaped UTF-8 text preview in the browser. Unknown formats stay downloadable, and active HTML or SVG is shown as sandboxed plain text. Broader rendering is PREVIEW-001. Acceptance. From the built document page at 1440 and 390: 1. Text, PDF and raster previews open. 2. An unknown original downloads. 3. Responses carry sandbox, no-store and nosniff headers, and SVG stays inactive.CHEST-06Current access governs every private door Requirement. Current access filters lists, counts, title, metadata and admitted-text search, detail, preview, download and mutation. Derived text records its parser and exact version and never creates access of its own. Acceptance. 1. A distinctive admitted phrase is found by the owner and a reviewer, and not by an outsider. 2. After a group grant is revoked, list, count, detail, preview, download and mutation requests are refused, including old version URLs.CHEST-07Immutable versions and exact approved pointers Requirement. Every replacement is a new immutable original. On a governed file, approved A stays current while B and C await review, and approving B never selects pending C. Ordinary files keep history without any review workflow; version browsing and restore are VERSION-001. Acceptance. Through the versions API: 1. Upload A, B and C and approve B explicitly. 2. Each original downloads unchanged, and the approved pointer never moves silently.CHEST-08Exact-version human decisions Requirement. Assignment, comments, requested changes and approval record actor and version. Requested changes need a new immutable submission, and only the assigned reviewer with current reviewer access can approve it. Acceptance. 1. After changes are requested, approval of the rejected version and approval by an unassigned actor are refused. 2. Corrected bytes are submitted and that exact version is approved, keeping earlier events and the earlier approved pointer until approval.CHEST-09Review and expiry work keep evidence Requirement. Separate review and expiry dates create due and upcoming work. Completion records actor, date and evidence, never destroys the file, and never treats an expiry as a deletion. Automated reminders are FOLLOW-001. Acceptance. 1. Both dates appear in the work list. 2. An empty completion is refused, and completing only the review with evidence leaves the expiry and the original in place.CHEST-10People and group grants Requirement. The owner grants and revokes reader, editor and reviewer access for people and groups. Effective readers need active local identities, current group membership governs access, and imported people have no sign-in authority. These rules keep holding under the five-level roles (ROLE-001) and item sharing (SHARE-004). Acceptance. Through the API: 1. A group grant shows its effective readers. 2. After a member is removed and collection access revoked, details, search, previews, downloads and review mutations are refused.CHEST-11Reviewed, reversible archive admission Requirement. An archive preview writes nothing and lists every item, hash, duplicate, mapping and gap. Apply binds the reviewed fingerprint and current authority, publishes inert records, resumes after restart, and undoes only untouched batches. Unsafe paths or corrupt bytes publish nothing. Source decisions never become new Chest approvals. The import journal is described indocs/move-in.md. Acceptance. Through the archive API: 1. A bounded archive previews and applies; a changed fingerprint, path traversal and corruption are refused. 2. After a restart the apply resumes, untouched records undo, and a conflicting native edit is kept.CHEST-12Complete independent local export and restore Requirement. Chest's delta on Base export and import:rer exportand an empty-targetrer importkeep the semantic graph, portable people, groups, roles and grants, every original version's bytes, derived provenance, decisions, completions, trash, audit and import custody. Credentials and the dispatch outbox are excluded; setup regenerates secrets, and old credentials fail. A non-empty or corrupt restore is refused atomically. Private archives can never be exported into served assets, and an archive-bearing public asset blocks build and setup. An archive digest proves byte consistency, not provenance. Acceptance. 1. A real export and import into a fresh target matches every portable cell and original chunk. 2. Corrupt, non-empty and tampered-metadata restores and public-asset exposure are refused. 3. After signing in afresh, private imported records and trash recheck correctly.CHEST-13Self-service reversible trash Requirement. Every user has a trash view and restores what they trashed, files or whole trees, with no admin involved, while they still hold the role that let them trash it. Space and content managers restore anything trashed in their space; admins with content-recovery scope restore across spaces. Viewers, commenters and contributors cannot trash shared-space items or restore someone else's. A restored folder returns with its tree, versions, stable IDs, comments and inherited permissions, and never re-enables a revoked link or identity. Trash keeps originals and history until an authorized erasure (ERASE-001), and trashed bytes count towards storage limits. Trash is never a substitute for erasure or a legal hold. Mutations are audited. Point-in-time rewind is RECOVER-001. Acceptance. Through the API and the browser at 1440 and 390: 1. A staff editor trashes a nested folder in a team space and restores it from their own trash with tree, hashes, version IDs and stable links identical, and no owner session involved. 2. A space reader's restore is refused with 403, and a contributor's trash is refused. 3. A space manager restores an item another member trashed. 4. A manager's permanent delete goes through ERASE-001, and an editor's is refused. 5. The trashed item leaves a reviewer's list, search and download. 6. Each trash and restore appears once in the audit with actor and outcome.
View as agent
Everything on this page is in these files, copied unmodified from the release. An agent evaluating Chest can read them instead of the page.
seed.json- The manifest: capabilities, outside services, extension points, limits, operating cost and deployment needs.
CONTRACT.md- The requirements on this page, in source form.
AGENTS.md- Instructions for the coding agent that maintains an installation.
README.md- Source setup, available commands and implementation status.
OPERATIONS.md- How the project is set up, operated and deployed.
ACCEPTANCE.md- What the publisher accepts as a finished release.
Every project, with its availability, is in /agents/catalogue.json; the agents page describes the machine-readable files.