throughline-ratify
A full-screen, htop-style terminal cockpit for working through the throughline requirement items that await human ratification — one item at a time, with colour and glyphs carrying the semantic weight so your eye lands on the actionable rows first.
It is compose-aware: on a project that declares [[sources]], which tl
composes, it grounds each item over the composed union, so an item whose grounding
chain reaches a root only through a borrowed source counts as grounded — never
orphaned. Writes only ever land on your own consumer registers; a composed source
stays read-only.
throughline-ratify │ my-service composed │ 2 source(s)
queue: ● 3 proposed ◉ 2 ready ○ 0 blocked ⚠ 1 ungrounded ⚑ 0 ambiguous (6 shown)
▸ ● SR-0007 Rate-limit the login endpoint │ ● SR-0007 system_requirement
◉ SR-0008 Store audit events append-only │ status: proposed
⚠ SR-0011 Redact PII from logs │
│ ✓ ready to ratify (proposed → ratified)
│ grounded: ✓ ambiguous: no
│ links
│ derives_from → asvs:V7.1.1 "..."
j/k:move r/↵:ratify x:reject a:all /:filter R:reload ?:help q:quit
Install
pipx install throughline-ratify
This pulls in throughline, so the tl CLI comes along too; it composes a
project's sources itself.
Use
From anywhere inside a throughline project (it walks up to find throughline.toml):
tl-ratify # open the cockpit
tl-ratify -C path/to/project # point at a specific project
tl-ratify --by alice # record a specific ratifier on sign-off
tl-ratify --list # print the worklist (no TUI) — good for CI/pipelines
tl-ratify --list --all # widen: also show ratified and dead (rejected/tombstoned) items
tl-ratify --summary # on exit, print an account of everything you decided
tl-ratify --summary out.txt # …or write it to a file
Leaving with a record of what you decided
A sitting scatters its evidence one field at a time across dozens of item files,
so answering "what did I just accept, and why did that one get rejected?" means
reading a diff. --summary keeps a running account instead and renders it once
the full-screen view has closed — so it can be redirected, pasted into the commit
that carries the decisions, or sent to someone who was not there:
tl-ratify session summary
=========================
Project : throughline-ratify
Scope : local graph
Ratifier : Ada Lovelace
Ended : 2026-07-31 07:12:44 BST
Decisions taken (3), in the order taken:
1. ratified SR-0021
A session summary of every decision taken
2. re-ratified SR-0009
Ground each item over the composed union
route walked: implemented -> suspect -> ratified -> implemented
3. rejected SR-0018
Colour the queue by grounding depth
reason: superseded by the concern ranking
dependents made suspect: SR-0019, SR-0020
Tally: 1 ratified, 1 re-ratified, 1 rejected
Items: SR-0021, SR-0009, SR-0018
The last line is a commit trailer, so the sitting turns straight into the commit that records it. Where the assistant moved an item through intermediate statuses on your behalf, the entry names the route it walked; where a rejection cascaded suspicion, it names the dependents. A sitting in which you decided nothing writes nothing — browsing never leaves an empty artefact behind. The report only ever names the ratifier the sitting already recorded, and it describes: the items themselves remain the only source of truth.
Keys
| Key | Action |
|---|---|
j / ↓, k / ↑ |
move |
g / G, PgUp / PgDn |
jump / page |
r / Enter |
ratify the selected item (with confirm); on a stale one, accept the wording that has changed since it was signed; on an item that overshot ratification, record the missed sign-off. Where the item's status cannot reach ratified directly, a route the project's transitions permit carries it there and back |
x |
reject (invalidate) the selected item, cascading suspect to dependents |
a |
toggle the wide view — also show already-ratified and dead (rejected/tombstoned) items |
/ |
filter by uid or title |
R |
reload the graph from disk |
? |
help |
q |
quit |
The footer names the keys in words where the screen is wide enough, about 95 columns. On a narrower screen, 80 columns for instance, it names each by a symbol instead (↕ move, ✓ ratify, ✗ reject, ⇥ detail pane, ∀ all, ⇅ sort, ⌕ filter, ↻ reload) and keeps ?:help and q:quit in words. Below about 62 columns it leaves some keys out, reload first; they still work, and ? lists every key with its symbol. The help is longer than most terminals are tall, so it scrolls: j/k or the arrow keys move a line, PgUp/PgDn or the space bar a screenful, g/G to either end, and q, Esc or ? closes it.
The cockpit watches the graph's files while it is open. If something else changes them, it reloads by itself and says so, and it never signs, rejects or unlinks over a change it has not shown you: the action is refused, the graph is reloaded, and you repeat the key once you have read the item as it now stands. If the graph cannot be read for a moment (a file caught half-written, a checkout in progress), the cockpit stays up, says why, signs nothing, and tries again every couple of seconds until it can. If the graph's folder is removed altogether, the cockpit closes it: you go back to the list of graphs if you picked it from one, and otherwise the program prints one line naming the graph and exits with a non-zero status. Either way it says so if a key you had just pressed wrote nothing. Decisions you had already taken are on disk, and in the --summary if you asked for one.
A path that holds more than one graph
Point tl-ratify at a tree that holds several graphs (tl-ratify -C . at the root of a repository with an anchor graph and one per component) and it lists them, each with how far it has been signed off. Enter opens the highlighted graph, s changes the order, q leaves. R reloads the list from disk: it searches the path again, so a graph added or removed since you started shows up, and reads every figure again. The list also watches the graphs it shows: when the files of one change, its row is read again within a couple of seconds and the screen says so. It does not search for new graphs by itself, so a graph added beneath the path appears when you press R.
In a graph opened from that list, q goes back to the list instead of ending the program, and the footer says q:projects. The list comes back with the highlight on the graph you just closed and its figure read again, so the next graph is one key away. The full-screen view stays up throughout: while a graph is being opened it says which one, and your shell is not shown until you leave. q on the list, or Ctrl-C anywhere, ends the program. With --summary, a sitting that took decisions in more than one graph gets one account for each, in the order you opened them, all in the one file.
Without a terminal to ask on (--list, or output piped), an ambiguous path is refused, with the -C command that selects each graph.
Concerns
Every row is classified by the one thing you most need to know about it:
| Glyph | Concern | Meaning |
|---|---|---|
| ● | proposed | AI-proposed, awaiting a human's accountability |
| ◉ | ready | already approved, one move from ratified |
| ↺ | stale | signed off, but the wording has changed since — the signature no longer covers it |
| ○ | blocked | pending, but not directly ratifiable from its status |
| ⚠ | ungrounded | reaches no root — link it upward before sign-off |
| ⚑ | ambiguous | flagged ambiguous — clarify it first |
| ✓ | ratified | already signed off — shown only in the wide view (a) |
| ✗ | rejected | invalidated, kept for the record — shown only in the wide view (a) |
| ☠ | deleted | tombstoned, kept for history — shown only in the wide view (a) |
How it works
tl-ratify is a thin, safe view over throughline's own Python API:
- What needs ratifying — every local item whose status is not the project's
ratifiedrole and is not a dead status. Ranking, colour and icon come from the concern each item earns. - Ratifying mirrors
tl ratify: it runs throughline's grounding gate over the composed union (refusing ambiguous or ungrounded items), sets theratified-role status through the config-drivenset_statuschoke point, records who signed off, and writes the item back to its own register. - Rejecting calls throughline's
invalidate, moving the item to theinvalidatedrole and cascadingsuspectto its trusting dependents.
No status names are hardcoded: the project's [status.roles] and [transitions]
govern every move.
Development
python -m venv .venv && . .venv/bin/activate
pip install -e ".[dev]"
pytest -q
tl -C idd check --strict # this repo is itself throughline-managed
tl -C idd docs --check # its published spec must match that graph
This project practises what it automates: its own requirements live in
idd/ as a throughline graph, published as
idd/docs/spec.md, and CI gates every change on
tl check --strict.
The check composes a union because this graph adopts throughline's own graph as a
pinned source. A requirement here that tracks an upstream clause points
straight at it — satisfies: tl:SR-0157 — so the citation is resolved
against a pinned edition of throughline's requirements rather than restated in a
rationale field that nothing validates.
Licence
Created by Dr Henry J Grech-Cini (ORCID 0009-0007-1565-7530). Copyright © 2026 Henry J Grech-Cini. Released under the Apache License 2.0 — see LICENSE and NOTICE.
Metadata
Release files for throughline-ratify 0.12.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| throughline_ratify-0.12.3.tar.gz | 118.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| throughline_ratify-0.12.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 177.1 kB
Release files / throughline_ratify-0.12.3.tar.gz
| Download URL | throughline_ratify-0.12.3.tar.gz |
|---|---|
| Size | 118.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92ee20e3627e8dfa0562b70a2e43555cab55e02c1b71e33739f281c49c22ac8a
|
|
BLAKE2b-256 checksum How to use checksums |
daefd513a386ad1dc54d4ef22c8bf140a645778242cc8e1ccd7a4586c4f578ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency logRelease files / throughline_ratify-0.12.3-py3-none-any.whl
| Download URL | throughline_ratify-0.12.3-py3-none-any.whl |
|---|---|
| Size | 58.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac291657e1757521570b1afd5c6e698593bc0601e6cf083778eb6a36b4d302d4
|
|
BLAKE2b-256 checksum How to use checksums |
8c7173152826a8a76d4407a024e834846925808af343133541c7f720a166e505
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency log