1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
status: accepted
date: 2026-09-19
---
# Signers place their own facsimile at sign-off; routes are sequential parties
The first build stamped every signature facsimile at submit time, so the
drafter had to name the exact user for each signature box and a level could be
"any of these approvers". Once the owner said a signature belongs to a *post*
(any partner may sign for "Partner"), that model could not tell the truth: the
page would carry one partner's facsimile while another partner actually signed.
We copied DocuSeal's shape instead. A template names **parties**; the drafter
assigns one **signer** per party at submit and reserves a **signature zone**
(rectangle plus minimum size) rather than placing a signature; parties act
strictly one after another; at sign-off the signer places their own facsimile
in the zone (automatically if already enrolled, otherwise by signing in the
browser, which enrols it); imprints are flattened once at submit, each
sign-off overlays one facsimile onto the previous stamped copy, and the worker
renders the release after the last one.
This ADR records the accepted design, not implementation verification. See
`HANDOFF.md` §4 for remaining production trust/resource/native deployment gates.
Worker release, frozen submit inputs and fail-closed identity verification are
recorded in `.scratch/roadmap/ticket-{11,12,13}.md` (repository-root paths).
## Considered options
- **Keep stamp-at-submit and add `any`/`all` levels with holders** (the
2026-09-18 code). Rejected: produces a document whose ink and audit page
disagree about who signed.
- **Levels of signatories, each with several holders.** Rejected in favour of
"the drafter picks the person": simpler, and identical to DocuSeal's
party → submitter assignment, at the cost that a signer who becomes
unavailable after submit needs a correction-and-resubmit.
## Consequences
- Release is asynchronous (the worker, sole reader of stored facsimiles, must
draw the last one); the document remains `PENDING` until the worker sets
`RELEASED`. Rendering is tracked by `rendered_seq < render_seq`, failures by
`render_error`, with retry following D3.
- A party never sees a later party's facsimile, because it does not exist yet.
- The DAM (fonts, seals) is read only at submit, so a file replaced on the
network drive mid-route cannot change what a pending document shows; the
same protection the copied `source.pdf` already gives the base PDF.
- Signature enrolment is no longer a hand-copied file: the first signing
supplies the image, and it must reach the worker's store without the API
user being able to read it back later.
- `any`/`all`, `current_level`, multi-approver levels and username-referenced
signature boxes are removed from the model.