Repository navigation
Description
Context
The compat-plane inventory (spike 0009, desk half) and the spike 0004 harness are cited across the plan as scripts/compat-inventory/ and scripts/spike-0004/ (FEATURES F-X13 at FEATURES.md:137, ADR-0034 round 26, research/0003, research/0006), but neither directory is in this repository. spikes/README.md:54 says why: they sit on branch chore/contrail-plan-scripts of aRustyDev/plane (head dd575509c4), because that repository's required Copy Right Check wants the Plane AGPL header on every tracked .py file. On that branch, .agents/plans/contrail/scripts/compat-inventory/ holds 17 Python modules, two hand-check CSVs and the out-pinned/ outputs (including endpoint-inventory.csv, the current F-X13 acceptance list), and .agents/plans/contrail/scripts/spike-0004/ holds 9 Python test scripts, two shell drivers, three small JavaScript Workers with a shared module, and an OpenTofu root. This repository already keeps oracle tooling under tools/spike-0006/, with uv (tools/spike-0006/sanitize/pyproject.toml, uv.lock).
Problem
FR-15: the Python tooling lives off-repo and is missing from the ADR-0006 register of non-Rust pieces. The acceptance list and the sizing numbers in research/0003 cannot be regenerated from this repository, and a branch with no PR on another repository is easy to lose. The README's open decision ("add the header there, exclude .agents/** from that check, or bring the scripts here (this repository has no such check)") has no owner.
Proposal
- Copy both directories to
tools/compat-inventory/andtools/spike-0004/, notscripts/:.github/scripts/classify-changes.sh:21treats anyscripts/change as a Rust change and would run every Rust cell. Record the source branch and commit in a README in each directory. uvonly. The entry scripts carry PEP 723 headers and are stdlib only (run_all.py: "Stdlib only; run throughuv run"). Keep that, or add apyproject.tomlanduv.lockper directory astools/spike-0006/sanitize/does. No barepip.- Fix the paths the move breaks:
run_all.pydefaults--featurestoHERE.parents[1] / "FEATURES.md", which found the plan directory on the old layout and finds the repository root after the move. - Update every plan reference (FEATURES, ADR-0034,
research/0003,research/0006,spikes/README.md) and the ADR-0006 register row for the inventory scripts (round-29 note) totools/; register the spike 0004 JavaScript Workers there as throwaway spike tooling. out-pinned/pin-verify.jsontripped gitleaks on the Plane repository (two tree SHAs, false positives;PROMPT.mdround 27). Allowlist those two values if a scanner runs here.- After the import merges, delete the off-repo branch or leave a pointer, and replace
spikes/README.md:54.
Acceptance criteria
-
uv run tools/compat-inventory/run_all.py --root <checkout of oracle/v1-pin-20261018> --out <tmp>exits 0, anddiff -ru tools/compat-inventory/out-pinned <tmp> -x RUN.json -x layout-report.jsonis empty. The same run against the pre-pin tree (300c2009d4) gives a non-empty diff (control). - Running
run_all.pywithout--featuresreads.agents/plans/contrail/FEATURES.md. -
grep -rnE "scripts/(compat-inventory|spike-0004)" .agents docsreturns nothing outside dated history notes. -
grep -rn "pip install" tools/compat-inventory tools/spike-0004returns nothing. - A scan of the imported files finds none of the identifiers on the
spikes/README.md:56redaction list. -
spikes/README.md:54is replaced and the ADR-0006 register row namestools/.
References
- Review: .agents/plans/contrail/reviews/2026-10-19-fable-architecture-review.md (FR-15)
.agents/plans/contrail/spikes/README.md:54,56;.agents/plans/contrail/FEATURES.md:137aRustyDev/planebranchchore/contrail-plan-scripts(dd575509c4),.agents/plans/contrail/scripts/- ADR-0006 (register, lines 107, 111; round-29 note), ADR-0034 (round 26)
research/0003-compat-plane-inventory.md,research/0006-topology-public-half.mdtools/spike-0006/sanitize/pyproject.toml;.github/scripts/classify-changes.sh:21
Finding: FR-15
Activity
chore(tools): bring the compat-inventory and spike-0004 scripts into …
aRustyDev commentedon Nov 6, 2026
Landed in #95 (
f43dc27). The scripts are intools/compat-inventory/andtools/spike-0004/, each with a README that records the source:aRustyDev/plane, branchchore/contrail-plan-scripts, commitdd575509c4.The acceptance command in this issue could not be met as written, so #95 amends it. The exact commands are in
tools/compat-inventory/README.md, under "Reproducingout-pinned/":--verdicts tools/compat-inventory/handcheck-verdicts-pinned.csvand the pinned run's--label. The default verdicts file is for the pre-pin tree and is stale on 29 of 30 rows.pin-verify.jsonanddelta-vs-prepin.jsonare excluded as well asRUN.jsonandlayout-report.json, becauserun_all.pynever writes them.server-warnings.txtandtables.mdare compared separately. Each differs in one known way: the scan root in the first, the scanned commit stamped on line 1 of the second.oracle/v1-pin-20261018, not an export:--vcs filesreads the commit from.git. The tag is not on GitHub.300c2009d4) gives 18 files that differ in content, includingendpoint-inventory.csvand.json.Two other things changed from the issue text:
join_tag.py:366carries the sameFEATURES.mddefault asrun_all.py:96and was fixed too, and threeout-pinned/files had the scan machine's absolute path replaced with<root>.Still open: the off-repo branch
chore/contrail-plan-scriptsonaRustyDev/planehas not been deleted and has no pointer. The last bullet of the proposal waits on that decision.aRustyDev commentedon Nov 6, 2026
Follow-up: the off-repo branch
chore/contrail-plan-scriptsonaRustyDev/planewas deleted on 2026-11-06, so the "Still open" note above no longer applies; thetools/READMEs keep its commitdd575509c4as provenance.