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:

  1. A Decide paragraph that says what is being asked.
  2. Why now and If you do nothing, which say what putting the decision off costs.
  3. A Decisions table, one row per decision, with what a person will see. Accepting the table accepts the ADR.
  4. 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

StatusMeaning
ProposedWritten and waiting for the maintainer. Nothing is built from it yet.
AcceptedThe 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.
WithdrawnNot decided as an ADR. Any work it described moved to a plan.
SupersededA 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

ADRTitleStatusReplaced or amended by
0036the board orchestrates, and a team declares what it acceptsAccepted 2026-11-04—
0035a person is told what needs themAccepted 2026-11-04—
0034a manager is a profile that works through the boardAccepted 2026-11-01—
0033the screen says what needs you first, and a project shows its teams at workAccepted 2026-11-01decision 1, by Phase 86
0032a team is shown as it is, a task can go to a team, and what a run finds can become itemsAccepted 2026-10-310034 (decision 4)
0031a docket team may work outside the repository, and what leaves is seen before it leavesAccepted 2026-10-31—
0030the task goes to docket as fields, and a run says which prompts made itAccepted 2026-10-31—
0029one test binary per crate, dependencies without debug info, agent builds without the incremental cacheAccepted 2026-10-26—
0028the protocol is a crate, and the SQL has one homeAccepted 2026-10-26—
0027whoever makes the agent's working copy prepares itAccepted 2026-10-19—
0026the runner finds its own settings, and a card says when nothing checks itAccepted 2026-10-19—
0025the project file is kept in sync, not only importedProposed 2026-10-18; postponed 2026-10-27, not planned—
0024limits in tokens, and nothing sent to an agent twiceAccepted 2026-10-180027
0023what the first real project found, and what Tack changes for itAccepted 2026-10-17—
0022a whole project goes in and out through one fileAccepted 2026-10-170025 (proposed only)
0021every run goes to a long-lived team, and a project's automation is one ladderAccepted 2026-10-140024, 0032
0020merge authority follows the autonomy level you set, and Tack stays one of three tools that work aloneAccepted 2026-10-130024
0019the agent brings its own modelAccepted 2026-10-130021
0018the agent reaches only what you gave itAccepted 2026-10-12—
0017a project and its items from one outline or CSVAccepted 2026-10-12—
0016what the first docket + prill run found, and what Tack changes for itAccepted 2026-10-120019, 0020
0015a run a normal person can startAccepted 2026-10-070019
0014agent onboarding — prerequisites discovery, validation, and configuration clarityAccepted 2026-10-030015
0013every attempt leaves evidence; an independent verifier certifies it; the runner pushes, the board opens the pull requestAccepted 2026-10-030015, 0018, 0020
0012docket contract 1.1 is adopted — cancel becomes per-harness evidence, a recipe is one flag, the task goes by fileAccepted 2026-10-030021, 0024
0011the brief is a first-class entity on the item, typed, and it travelsAccepted 2026-10-030020
0010Tack is maintained by people — retire what only agents needed, delete what nothing calls, and rebuild testing and CI around verified behaviourAccepted 2026-09-18—
0009opencode is readmitted as a fourth harness, on the shared core, with its one limitation typedAccepted 2026-09-140019
0008Docket becomes a third harness — the runner spawns it, and the model axis finally has a harness that proves itAccepted 2026-09-140019, 0021
0007Tests run under nextest, build once per resolution, and group one binary per subjectAccepted 2026-09-050010, 0029
0006Tack runs as a background service, and ships as a desktop appAccepted 2026-09-03—
0005Where a model provider's API key lives, and who's allowed to touch itAccepted 2026-09-030019
0004Single-operator identity postureAccepted0034
0003Standalone single-binary operation via an embedded runnerAccepted—
0002Tack-owned scheduling and runner-owned executionAccepted0010, 0019
0001transactional migration rebuild recoveryAccepted 2026-08-06—

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.

  1. 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.
  2. ADR 0003, Standalone operation via an embedded runner. Why one tack binary can run both halves on the same contract.
  3. ADR 0013, Evidence, merge readiness and the verifier boundary. What every attempt leaves behind, who certifies it, and who pushes.
  4. 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.
  5. ADR 0020, Merge authority follows the autonomy level you set. The levels L3 to L5 and the signed verdict a merge needs.
  6. 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.

OldNewFile
000800010001-transactional-migration-rebuild-recovery.md
005000020002-runner-control-plane.md
005800030003-standalone-single-binary-runner.md
005900040004-single-operator-identity-posture.md
006100050005-provider-credentials-at-the-runner-boundary.md
006200060006-desktop-app-and-background-service.md
006400070007-test-architecture.md
006600080008-docket-as-a-third-harness.md
006700090009-opencode-readmitted-as-a-fourth-harness.md
006800100010-a-codebase-for-human-maintainers.md
006900110011-briefing-script-on-the-item.md
007000120012-docket-harness-contract-1-1.md
007100130013-evidence-merge-readiness-and-the-verifier-boundary.md
007200140014-agent-onboarding-prerequisites-and-validation.md
007400150015-a-run-a-normal-person-can-start.md
007500160016-what-the-docket-and-prill-run-found.md
007600170017-projects-from-an-outline-or-a-csv.md
007700180018-the-agent-reaches-only-what-you-gave-it.md
007800190019-the-agent-brings-its-own-model.md
007900200020-merge-authority-follows-the-autonomy-level-you-set.md
008000210021-every-run-goes-to-a-team-and-automation-is-one-ladder.md
008100220022-a-whole-project-goes-in-and-out-through-one-file.md
008200230023-what-the-first-real-project-found.md
008300240024-limits-in-tokens-and-a-lean-context.md
008400250025-the-project-file-is-kept-in-sync-not-only-imported.md
008500260026-the-runner-finds-its-settings-and-a-card-says-what-checks-it.md
008600270027-whoever-makes-the-working-copy-prepares-it.md
008700280028-the-protocol-is-a-crate-and-the-sql-has-one-home.md
008800290029-one-test-binary-per-crate.md
0060archiveddocs/closed-cycles/adr/0060-docket-control-plane-disposition.md
0063archiveddocs/closed-cycles/adr/0063-harness-credential-modes.md
0065archiveddocs/closed-cycles/adr/0065-docket-pipeline-dispatch-trigger.md
0073archiveddocs/closed-cycles/adr/0073-installation-guidance-desktop-first-server-optional.md