Architecture Decisions
This page is for contributors and integrators who want to know why Tack is built the way it is. It explains what an architecture decision record is here and lists every one in the repository. After reading it you can find the decision behind a behaviour and tell whether a later decision has replaced it.
What an ADR is here
An architecture decision record (ADR) is a short document in docs/adr/ that asks the maintainer to decide something and keeps the answer. Each file is named NNNN-slug.md and numbered in the order it was written, from 0001 (see the table at the end for the numbers used before 2026-10-26). Numbers are never reused. An ADR with nothing left to decide moves to docs/closed-cycles/adr/ and keeps its number.
The recent records open the same way, so that the person who must approve one reads a single screen and no more:
- A Decide paragraph that says what is being asked.
- Why now and If you do nothing, which say what putting the decision off costs.
- A Decisions table, one row per decision, with what a person will see. Accepting the table accepts the ADR.
- Evidence, Alternatives not taken and Questions for the maintainer, kept apart from the table so they never get in the way of the decision.
The oldest records use a plainer layout (context, decision, consequences). A record names the earlier records it amends. Read the newer record's "What this amends" section before you rely on an older one.
Status words
| Status | Meaning |
|---|---|
| Proposed | Written and waiting for the maintainer. Nothing is built from it yet. |
| Accepted | The maintainer approved it, with the date. The Status line may name the phase that executed it, and may say that an amendment at the end of the file wins over the table. |
| Withdrawn | Not decided as an ADR. Any work it described moved to a plan. |
| Superseded | A later record replaced all or part of it. The file carries a dated note saying which decisions. |
The Status line in each file is the authority. The last column of the table below only points at the later record; the older file says whether the replacement is whole or partial.
All records, newest first
Adding a row
Add a row when an ADR is created. Take the title from the file's first heading and the status word and date from its Status line. Fill "Replaced or amended by" from the dated note in the older file, which says whether the replacement is whole or partial.
Reading order for newcomers
Six records explain most of the system. Read them in this order.
- ADR 0002, Tack-owned scheduling and runner-owned execution. Why the board schedules and the runner executes. Its decisions about models were replaced by ADR 0019; the rest stands.
- ADR 0003, Standalone operation via an embedded runner. Why one
tackbinary can run both halves on the same contract. - ADR 0013, Evidence, merge readiness and the verifier boundary. What every attempt leaves behind, who certifies it, and who pushes.
- ADR 0018, The agent reaches only what you gave it. The trust boundary: the board's token, the browser's origin, and what an agent can read.
- ADR 0020, Merge authority follows the autonomy level you set. The levels L3 to L5 and the signed verdict a merge needs.
- ADR 0021, Every run goes to a team and automation is one ladder. Teams, roles that choose profiles, starting by itself, the ceiling. Runs, Teams and Automation says how it is built.
After these, ADR 0022 explains the project file, which The Project File Format documents.
Numbers before 2026-10-26
Commit messages written before 2026-10-26 use the ADRs' old numbers. This table translates them to today's numbers. The ADRs with nothing left to decide live in docs/closed-cycles/adr.
| Old | New | File |
|---|---|---|
| 0008 | 0001 | 0001-transactional-migration-rebuild-recovery.md |
| 0050 | 0002 | 0002-runner-control-plane.md |
| 0058 | 0003 | 0003-standalone-single-binary-runner.md |
| 0059 | 0004 | 0004-single-operator-identity-posture.md |
| 0061 | 0005 | 0005-provider-credentials-at-the-runner-boundary.md |
| 0062 | 0006 | 0006-desktop-app-and-background-service.md |
| 0064 | 0007 | 0007-test-architecture.md |
| 0066 | 0008 | 0008-docket-as-a-third-harness.md |
| 0067 | 0009 | 0009-opencode-readmitted-as-a-fourth-harness.md |
| 0068 | 0010 | 0010-a-codebase-for-human-maintainers.md |
| 0069 | 0011 | 0011-briefing-script-on-the-item.md |
| 0070 | 0012 | 0012-docket-harness-contract-1-1.md |
| 0071 | 0013 | 0013-evidence-merge-readiness-and-the-verifier-boundary.md |
| 0072 | 0014 | 0014-agent-onboarding-prerequisites-and-validation.md |
| 0074 | 0015 | 0015-a-run-a-normal-person-can-start.md |
| 0075 | 0016 | 0016-what-the-docket-and-prill-run-found.md |
| 0076 | 0017 | 0017-projects-from-an-outline-or-a-csv.md |
| 0077 | 0018 | 0018-the-agent-reaches-only-what-you-gave-it.md |
| 0078 | 0019 | 0019-the-agent-brings-its-own-model.md |
| 0079 | 0020 | 0020-merge-authority-follows-the-autonomy-level-you-set.md |
| 0080 | 0021 | 0021-every-run-goes-to-a-team-and-automation-is-one-ladder.md |
| 0081 | 0022 | 0022-a-whole-project-goes-in-and-out-through-one-file.md |
| 0082 | 0023 | 0023-what-the-first-real-project-found.md |
| 0083 | 0024 | 0024-limits-in-tokens-and-a-lean-context.md |
| 0084 | 0025 | 0025-the-project-file-is-kept-in-sync-not-only-imported.md |
| 0085 | 0026 | 0026-the-runner-finds-its-settings-and-a-card-says-what-checks-it.md |
| 0086 | 0027 | 0027-whoever-makes-the-working-copy-prepares-it.md |
| 0087 | 0028 | 0028-the-protocol-is-a-crate-and-the-sql-has-one-home.md |
| 0088 | 0029 | 0029-one-test-binary-per-crate.md |
| 0060 | archived | docs/closed-cycles/adr/0060-docket-control-plane-disposition.md |
| 0063 | archived | docs/closed-cycles/adr/0063-harness-credential-modes.md |
| 0065 | archived | docs/closed-cycles/adr/0065-docket-pipeline-dispatch-trigger.md |
| 0073 | archived | docs/closed-cycles/adr/0073-installation-guidance-desktop-first-server-optional.md |