Inkwell

Available

Prepare and approve fixed PDFs for ordered signatures, then keep and verify the signed file and its audit trail.

Inkwell 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 Inkwell before checkout.

Run Inkwell on your own computer with one line:

npx -y @runeditrun/rer dev just-every/run-inkwell

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-inkwell. Without Node 22 or later, run curl -fsSL https://runeditrun.com/install.sh | sh -s -- dev just-every/run-inkwell.

Or have your agent set it up for a Business: Start a Business with Inkwell ticked

For HappyToHelp: Assisted is in early access; Managed is in early access.

Category
electronic-signatures
Licence
MIT
Version
0.1.1
Requirements
10 clauses
Release signature
Signed by just-every · key rer-ed25519-5a42fb9c9c4f8acb2b32386e9e40461c · statement
Target release
v0.1.1 · published
Publisher’s stage
first-release-seed
Instead of
Docusign eSignature, Adobe Acrobat Sign, Dropbox Sign

Outside services

The services the project declares it sends data to, each with its reason.

cloudflare
Worker hosting

Scope and limits

What it will not do

  • Qualified signatures, notarisation or KYC
  • Legal eligibility advice or universal validity
  • Live provider calls in local mode
  • Direct external handoff calls

Declared limits

Status
unmeasured

Requirements

All 10 clauses of Inkwell’s CONTRACT.md. They say what the project must do; the handover and verification records say what is built and tested.

HTTP 1 clause

  1. HTTP-001
    Health, API and document routing /health includes deployment identity; Hono owns /api/*, and Start serves application documents. Unknown routes return 404. Acceptance evidence: the built Worker answers /health with its deployment fingerprint, source and version, serves the application document, and returns 404 for unknown routes.

ACCESS 1 clause

  1. ACCESS-001
    Server-side roles and scoped authority Private API handlers authorize the session, API key or agent token and its role, permission profile or scopes on every request, against the role matrix of ADMIN-001 and any custom permission profile (ADMIN-008): senders prepare, send, correct and void their own envelopes and those shared with them for editing; admins act on every envelope; viewers read; only the owner manages agent tokens, archives and erasure. A preparation token may only prepare (DELEGATE-001). Changes require the application's own origin. Every write rechecks the actor's current role, session and the record's version in the same atomic D1 batch. A Base member is Inkwell's sender or viewer, a viewer until an owner or admin chooses sender, so members kept their read-only authority when these roles shipped; a sender sees and acts on the envelopes they created and those shared with them to edit, reads those shared with them to view, and every other envelope is refused with 403 and absent from their list and search (ADMIN-001); every role may sign their own turn (MANAGE-003). Member roles are installation state and do not travel in an archive, so a restored member is a viewer. Every write by a sender rechecks, in the same atomic batch, that they created the envelope or still hold an edit share of it. Folder and group shares (ADMIN-001), permission profiles (ADMIN-008), API keys (API-001) apply this matrix before they ship, and correction (DELIV-006) applies it: whoever may change the envelope corrects it, and a viewer is refused. Acceptance evidence: signed-out, viewer, sender, admin, owner and agent-token requests to every document, import, agent and archive door return the allow or refuse that ADMIN-001's matrix documents; a sender-role member prepares, sends and voids their own envelope and is refused on another sender's unshared envelope; a cross-origin change is refused.

SEND 2 clauses

  1. SEND-001
    Prepare a fixed envelope and authorize sending A sender prepares an envelope whose documents are bound by their SHA-256 fingerprints, with recipients, routing order and fields (PREP-*, ROUTE-001). Every send has a named authority, recorded on the envelope. An ad hoc send by a person requires that person's explicit confirmation that the document is eligible for electronic signature. A send from a template, a bulk batch (BULK-001), a web form (FORM-001), an API key or OAuth client with the send scope (API-001, MOVE-007), an integration (INTEG-001, INTEG-002, INTEG-011) or a schedule (PREP-009) goes out under the account's sending policy (ADMIN-004), which the owner or an admin set once: there is no per-envelope human approval, and the record names the policy, its version and the credential that used it. An internal approval rule (ROUTE-004) adds a person's approval wherever the policy demands one. After sending, the documents' bytes never change, and recipients, fields and settings change only through audited corrections (DELIV-006, ROUTE-006, ROUTE-011), which never alter a field already signed or a signature already given. Today's build is the narrow first-release case: one PDF, one to five ordered signers, ad hoc sends by a person only, and audited corrections by DELIV-006; that case is a subset of ROUTE-001 (up to 100 recipients) and the policies above, never a limit on them. At scheduled dispatch and the last ROUTE-004 approval, Inkwell rechecks the confirming person's active account, current owner/admin authority or sender role plus ownership/edit share, and the unchanged sending definition. The definition fingerprint covers the PDF fingerprint, recipients, fields, free-form flag, copies, supplemental documents, messages, expiry, reminders, paper/reassignment options and template approval rule. The current envelope version, that authority and the PREP-011 free-form setting version are fenced in the same atomic batch as invitations. A missing or stale confirmation, including a legacy deferred confirmation without this fingerprint, returns the envelope to a held draft, revokes its unused signing links and requires a current editor's fresh eligibility confirmation; restoring the previous person's role or share alone never releases it. An expired browser session alone does not cancel the person's recorded confirmation. Live recheck at every release (scope-review-65 A7): an immediate send, a scheduled send, the last ROUTE-004 approval, each bulk row and each web-form release re-check, in the same atomic batch as the invitations, the current policy versions (ADMIN-004); that the credential is active, unexpired and not suspended; the principal's current status and role or profile; that the template live revision matches its confirmation snapshot; and the sending-definition fingerprint above. A failed re-check follows ADMIN-004's hold rule. Built today for the ad hoc and template sources: the policy version and verdict are fenced in the batch that sends, releases a scheduled send or makes the last internal approval, and each source that adds a door (BULK-001, FORM-001, API-001, MOVE-007, INTEG-*) inherits the re-check before it ships. Acceptance evidence: prepare an envelope through the API; an ad hoc approval without the eligibility confirmation is refused and one with it sends; a FORM-001 submission and an API-001 send-scope call each produce a sent envelope with no human approval step, and each record names the sending policy and credential that allowed it; with the policy for API sends turned off, the same call is refused; after signer 1 signs, a DELIV-006 correction of signer 2's email succeeds and is audited, while any change to signer 1's signed field, direct or through a correction, is refused. Ct's 21 October template recheck ruling: preparation freezes the bytes and sending definition at the pinned template version. Each eligibility confirmation records that template ID, pinned version and then-live revision, including its approval rule and sending-policy version. Every immediate release, scheduled dispatch and last ROUTE-004 approval fences that live revision in the invitation batch. Any intervening edit, new version, rule or sending-policy change, disablement or deletion holds the draft and revokes unused signing links; restoring an earlier state never releases it. A current editor's fresh confirmation may release the unchanged older frozen definition and bytes, recording the new confirmer and time and re-snapshotting the live revision; it never adopts newer template content. Preparing a newer definition requires a new draft version and confirmation. Deletion keeps the frozen approval rule and never changes a sent envelope. Built evidence: tests/send-policies.test.mjs and tests/journeys/template-release.mjs exercise changed/deleted templates, held drafts, preserved frozen rules and fresh confirmation of unchanged bytes; API and public-form credential sends now ship. tests/api-keys.test.mjs — “API-001 and SEND-001: OpenAPI clients send only with explicit key scope and autonomous policy, with atomic creation, live deferred fences and fresh human recovery” proves create/send/poll/download/void, separate scope and agent refusal, API policy-off/person refusal with no envelope, source/principal/key/current-policy evidence, audit verification and idempotent creation, scheduled policy-off holds across off/on, revoked-key scheduled/final-approval holds, and explicit fresh personal confirmation of unchanged held drafts. [prior internal-approval browser journey](https://github.com/just-every/run-inkwell/blob/e4e3c2dd4bdf48fe16111f9d447568d6c4366a84/tests/journeys/internal-approval.mjs) proves policy-off and revoked-key holds and personal recovery on the built detail screen at 1440/390. tests/web-forms.test.mjs and tests/journeys/forms.mjs now prove its autonomous public-form and live form-credential points.
  2. SEND-002
    Void an unfinished envelope The envelope's sender, anyone it is shared with for editing, or an admin (ADMIN-001) voids a sent or partially signed envelope with a reason; outstanding links, codes and signer sessions stop working immediately and pending mail is canceled. Owners, admins, the sender who created the envelope and anyone it is shared with to edit (ADMIN-001) void it. Acceptance evidence: a sender-role member voids their own envelope after sending and is refused on another sender's unshared envelope; the voided envelope's invitation link refuses and the pending message is canceled.

SIGN 1 clause

  1. SIGN-001
    Authenticated, consented signing in routing order Each recipient opens their own single-use link and passes the authentication method the sender chose for them (IDV-001): none (the link alone), email code, access code, SMS code, knowledge-based or phone authentication, or identity verification. A signed-in member signing in the app is authenticated by their session (ROUTE-009, MANAGE-003). The email-code method sends a six-digit code with one-minute resend spacing, ten-minute expiry and five attempts. The recipient reviews the exact approved bytes of the documents visible to them (ROUTE-012), completes exactly their fields and consents explicitly (SIGNX-005) before signing. Only recipients whose routing order is current can sign: recipients sharing an order act in parallel, and the next order is invited when everyone at the current order has finished (ROUTE-002). Today's build offers link only and email code per recipient, each with or without an access code (IDV-001); when mail is suppressed every remote recipient verifies a sender-provided verification code alongside the owner's once-visible signing link, and link only is refused. Acceptance evidence: two email-code signers verify codes, reject a wrong code, cannot sign out of turn, consent and sign in order, and the second invitation arrives only after the first signature; a link-only recipient signs with no code; two order-1 signers are invited together and sign in parallel, and order 2 is invited only after both have signed.

DELEGATE 1 clause

  1. DELEGATE-001
    Preparation agents never send The owner issues and revokes scoped agent tokens. An agent prepares an envelope through the API; an envelope a preparation token prepares is sent only by a signed-in person's approval, and both preparation and approval are in the audit trail with their actors. A revoked token loses all authority. Credentials that send without a person are a separate grant, never a preparation token: API keys and OAuth clients with the send scope, used under the account's sending policy (API-001, ADMIN-004, SEND-001). Acceptance evidence: an agent token prepares an envelope but cannot approve, sign or read archives, and fails after revocation; the audit trail names the agent and the approving person.

RECORD 1 clause

  1. RECORD-001
    Executed PDF, certificate and verifiable audit trail On the last signature Inkwell produces the executed PDF with the signed values, a completion certificate and a hash-chained audit trail; the sender downloads the original, executed PDF, certificate, audit JSON and a handoff manifest, and verification recomputes every fingerprint and the event chain. Signers download the executed PDF and certificate after completion. Acceptance evidence: complete an envelope, download every artifact, and show recomputed document and audit fingerprints agree with the stored values and the handoff manifest.

MOVE 1 clause

  1. MOVE-001
    DocuSeal archive move-in The owner previews a DocuSeal completed-submission archive without writes, approves its fingerprint, imports signed PDFs and provider evidence with their provider provenance, reads the durable import journal, downloads imported artifacts and undoes the import. Acceptance evidence: dry run, fingerprint approval, import, journal, downloads and undo of the DocuSeal fixture, with custody preserved at every step.

PORT 1 clause

  1. PORT-001
    Whole-installation export and restore The owner exports a checksum-bound archive of all envelopes, artifacts and import journals and restores it only into an empty installation. Acceptance evidence: export validates its contents, a populated installation refuses restore, and a fresh installation restores the executed file, certificate and full import journal.

ERASE 1 clause

  1. ERASE-001
    Erasure with a restore fence The owner erases a voided, expired or completed native envelope after typing ERASE; its files, recipients, mail and command results are removed, and the later erasure journal stops an older backup from restoring it. Acceptance evidence: erase an envelope, show its files and identity custody are gone, and show a fresh-store restore with the later journal refuses resurrection while restoring everything else.

View as agent

Everything on this page is in these files, copied unmodified from the release. An agent evaluating Inkwell 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.
LICENSE
RELEASE.json
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.