Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (126 loc) · 7.8 KB
/
Copy pathpyproject.toml
File metadata and controls
132 lines (126 loc) · 7.8 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "throughline-ratify"
version = "0.20.0"
description = "A full-screen, htop-style terminal assistant for reviewing and ratifying throughline requirement items. Compose-aware: grounds items over the composed union so borrowed clauses count. Ships the tl-ratify TUI."
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
authors = [{ name = "Henry J Grech-Cini", email = "henry.grechcini@gmail.com" }]
keywords = [
"requirements",
"requirements-management",
"ratification",
"review",
"tui",
"curses",
"traceability",
"grounding",
"idd",
"intent-driven-development",
"throughline",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console :: Curses",
"Intended Audience :: Developers",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Quality Assurance",
]
# The one dependency is the Tool itself; composition is its own since 3.11.1.
# ratify's prebuilt-index parameter — how we ground over the composed union while
# writing only to our own registers (SR-0022) — needs throughline>=1.4.0.
# throughline.identity, which decides both who is offered by default (SR-0027) and
# what a stable identifier may look like (SR-0028), arrived in throughline>=1.8.0;
# compose>=0.8.0 requires it. The fingerprint that survives composition unchanged
# (item._authored_normative_attrs, set by the union from the source's own schema)
# — so this graph need not mirror throughline's normative flags to adopt it as a
# source (SR-0029) — needs throughline>=1.9.0, which compose>=0.9.0 requires, so
# pinning the floor there flows all three in transitively. Below it, all 204
# borrowed items report ratified-stale: without the authored set, a borrowed
# item is fingerprinted under this graph's normative flags rather than its own.
# throughline.version.distribution_version, which the header and --version both read
# so a working tree is not shown as the release it derives from (SR-0031), needs
# throughline>=1.10.0, which compose>=0.10.0 requires.
# grounding.Invalidation.marked/.refused, which the reject path reads to report what
# a cascade actually did and what it could not (SR-0037), first ships in 1.13.0.
#
# Every clause above names an API this package calls. Until composition became the
# Tool's own in 3.11.1, this block also declared compose>=0.13.0, which named none,
# and it was there deliberately, because this block says more than which functions
# the cockpit imports. `pipx install throughline-ratify` is how the estate hands
# someone the whole toolchain — the README and AGENTS.md both say so — so what it
# declares is the *edition* of that toolchain it delivers, not only the symbols it
# reaches for. 0.13.0 was the release in which `tl-compose check` began handing the
# set of published documents to the validator; below it, a project that had
# configured `[docs] paths` was told nothing whatsoever about publication coverage
# and could not tell that apart from being fully published (compose SR-0038).
# Shipping someone a cockpit for taking accountability over requirements alongside a
# checker that quietly does not check is not a saving worth making, and this repo's
# own gate (SR-0042) rested on the same release.
#
# That floor carried throughline's with it: a floor of compose is only honest at the
# lowest throughline it can itself be installed against, or the declared-minimum
# resolution SR-0038 installs would not resolve at all. So the two moved as one.
#
# They moved to compose>=0.14.0 / throughline>=2.0.0 because on 2026-08-16 the pair
# became coupled in the other direction too, and the previous floors admitted a
# combination that did not work (SR-0043). throughline 2.0.0 stopped providing
# `tl:sourced` — a directive core could not then render, because mirroring a borrowed
# clause needed the composed sources and only compose held them — and opened a
# registry for a front end to provide one instead; compose 0.14.0 was the release
# that registered it there. Neither half was any use without the other. The floors
# as they stood named 0.13.0 and 1.13.2, both ends of that range resolved to a
# working pair, and (compose==0.13.0, throughline==2.0.0) sat in the interior where
# nothing looked. pip installed it without complaint and then `tl-compose` did not
# start at all — `--version` included — dying on `ImportError: cannot import name
# '_render_item'`, while `tl-ratify` still ran. An upper bound on compose 0.13.0
# would have been the narrower fix and was not available, that release being already
# on the index as published, so the floor was what moved.
# The ratification record as a list of signatures (`ratifications`, read through the
# published `signatures`), the `awaiting` concern the worklist draws, `entry.standing`,
# `ratify(role=)` and `default_identifier` all arrive in 4.0.0, the format-4 release
# (throughline SR-0254 to SR-0264); below it the cockpit reads a record that is not
# there and draws a concern it has no icon for.
# Ratifying a deletion (throughline SR-0267 to SR-0270) arrives in 4.1.0: `ratify`
# takes `cascade=` and refuses a tombstone with live dependents without it, and
# `Cascade`, `retired` and `render_for_ratification`'s deletion view are what the
# cockpit reads to write what the retirement marked and to show the record signed
# (SR-0082 to SR-0084). Below it the cockpit passes a keyword the Tool rejects.
# 5.0.0 signs every item past the draft where it stands, refuses a draft and names
# the status it is agreed to (throughline UR-0046, SR-0306 to SR-0308): the
# worklist's draft concern and `agree_to` are what p and D read (SR-0085, SR-0086,
# SR-0096). Below it the cockpit draws a blocked concern it has no icon for.
dependencies = [
"throughline>=5.0.0",
# The cockpit is drawn with the standard library's curses, which CPython on
# Windows does not ship; windows-curses is the published build of it for that
# platform, and the marker keeps it off every other (SR-0077). Without this a
# Windows install succeeded and then failed at the first keypress with
# ImportError: No module named '_curses'.
"windows-curses>=2.3; sys_platform == 'win32'",
] # 3.11.3 records a re-signature where the item stands (throughline SR-0237), so a signed item rewritten past ratified is ratifiable as it is and this cockpit walks no route for it (SR-0030).The floor is the first published edition whose interface carries every throughline name this package uses (SR-0060): 3.11.2 offers a suspect item as awaiting a human again in the worklist this cockpit draws (tl:SR-0229, this SR-0024 and SR-0058); 3.11.1 publishes the composition names (tl:SR-0234), the refusal a grounding operation returns and the record of what moved since a signature with its prose diff (tl:SR-0165, tl:SR-0200), the worklist a review interface draws (tl:SR-0229), and leaves room in its parser for the old composing package (tl:SR-0231). throughline-compose is no longer a dependency: composition is the Tool's own (tl:UR-0037).
[project.optional-dependencies]
dev = ["pytest>=8.0"]
[project.urls]
Homepage = "https://github.com/rhodium-org/throughline-ratify"
Repository = "https://github.com/rhodium-org/throughline-ratify"
Issues = "https://github.com/rhodium-org/throughline-ratify/issues"
[project.scripts]
tl-ratify = "throughline_ratify.cli:main"
throughline-ratify = "throughline_ratify.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]