Repository navigation
chore(tools): bring the compat-inventory and spike-0004 scripts into tools/ - #95
Merged
Merged
Conversation
Copies .agents/plans/contrail/scripts/compat-inventory/ from branch chore/contrail-plan-scripts of aRustyDev/plane (tree 9e58172e35) byte for byte: 17 Python modules, the two hand-check CSVs and the out-pinned/ outputs, including endpoint-inventory.csv, the current F-X13 acceptance list. Adds a README with the provenance and a .gitignore for the default out/ directory. The path fixes and the removal of the local scan root follow as separate commits so each edit to the imported bytes is visible on its own. Refs: #55 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…inventory run_all.py defaulted --features to HERE.parents[1] / "FEATURES.md", and join_tag.py to parents[2] / "FEATURES.md". Both found the plan directory on the old layout (.agents/plans/contrail/scripts/compat-inventory/). After the move to tools/compat-inventory/ the same index lands on the repository root, where there is no FEATURES.md, so keep the index and append the real location, .agents/plans/contrail/FEATURES.md. join_tag.py is not named in the issue; it carries the same default for a standalone run. Refs: #55 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…older RUN.json (tree_root), pin-verify.json (root) and server-warnings.txt (two lines) record the absolute path of the worktree the pinned run scanned, which carries a local user name and directory layout. This repository is public, and the path differs on every machine, so a re-run could never reproduce those lines. Replace the path with <root>. Nothing else in the generated output is touched, and layout-report.json keeps only the worktree's directory name. Refs: #55 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Copies .agents/plans/contrail/scripts/spike-0004/ from branch chore/contrail-plan-scripts of aRustyDev/plane (tree d85476e4b2) byte for byte: nine Python test scripts, the two shell drivers (executable bit kept), the three JavaScript Workers with their shared module, the OpenTofu root with its committed provider lock, and the nested .gitignore that keeps tfstate, the tofu data dir and tests/out/ out of git. The README records the provenance and what run_platform.sh can do to a real Cloudflare account, so the next reader does not have to read the script first. It is throwaway spike tooling, registered as such in ADR-0006 in a later commit. Refs: #55 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…output Adds the command that regenerates out-pinned/ from a checkout of oracle/v1-pin-20261018, and the diff that shows it matches. It needs more than the issue's command: --verdicts for the pinned tree, and exclusions for the two files run_all.py never writes (pin-verify.json, delta-vs-prepin.json). Two generated files differ in one known way each (the scan root in server-warnings.txt, the scanned commit stamped on line 1 of tables.md), so they are compared separately rather than excluded unseen. Verified: the diff is empty against a checkout of the tag; against the pre-pin tree 18 files differ in content; the unpatched FEATURES.md default fails with FileNotFoundError at the new depth while the patched run_all.py and a standalone join_tag.py regenerate endpoint-inventory.csv and .json byte for byte. Refs: #55 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…kers Every pointer that is a locator now resolves to tools/compat-inventory/ or tools/spike-0004/: FEATURES.md (F-X13), ADR-0034 round 26, research/0003, research/0006 and spikes/README.md. The dated sentence around each pointer is left as written. Narrative history (PROMPT.md, the review and its handoff) is untouched. Edited by hand, because a blind substitution is wrong twice over: research/0003 runs `cd .agents/plans/contrail/scripts/compat-inventory`, so the whole prefix goes, not the word scripts; and 57 of the 60 spike-0004 hits in research/0006 are Cloudflare resource names and scratch paths, only three are pointers. The pre-pin out/ is not committed, so the research/0003 lines that called it "kept in the repo" now say it is regenerated. spikes/README.md replaces the "open decision" paragraph with where the scripts live and where they came from. ADR-0006 register (round 29): the inventory and spike-0004 row names tools/ in the in-place amended form used elsewhere in that ADR, and a new row registers the three spike 0004 JavaScript Workers as throwaway spike tooling. docs contributing/crates.md lists both directories beside tools/spike-0006/. PLAN.md records #55 as done in the form rows #37 and #38 use. Refs: #55 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #55.
The spike 0009 inventory and the spike 0004 harness lived only on branch
chore/contrail-plan-scriptsofaRustyDev/plane(commitdd575509c4, no PR). They are now in this repository undertools/, so the F-X13 acceptance list can be regenerated here and the plan's pointers resolve.tools/, notscripts/, because.github/scripts/classify-changes.shtreats anyscripts/change as a Rust change.What
Each edit to the imported bytes is its own commit, so the copy can be audited against the source.
chore(tools): import compat-inventory ...git archiveof the source directory, byte for byte (44 files: 17 modules, 2 hand-check CSVs,out-pinned/). A README with the provenance and a.gitignorefor the defaultout/chore(tools): resolve FEATURES.md ...--featuresdefault inrun_all.pyand injoin_tag.pychore(tools): replace the local scan root ...<root>in place of the scan machine's absolute path inRUN.json,pin-verify.jsonandserver-warnings.txtchore(tools): import spike-0004 ...git archive, byte for byte (29 files,dev.shandrun_platform.shstill executable), and a README saying whatrun_platform.shcan do to a real accountdocs(tools): record how to reproduce ...out-pinned/, and why each flag is theredocs(plans): point the plan at tools/ ...research/0003,research/0006,spikes/README.md, the ADR-0006 register (the row, plus a new row for the three spike 0004 Workers as throwaway spike tooling),PLAN.md,contributing/crates.mdWhere this differs from the issue
join_tag.py:366carries the sameFEATURES.mddefault asrun_all.py:96. Both keep their index (the repository root) and append.agents/plans/contrail/FEATURES.md.--verdicts handcheck-verdicts-pinned.csv(the default file is stale on 29 of 30 rows) and the--labelof the pinned run.run_all.pynever writespin-verify.jsonordelta-vs-prepin.json, so those are excluded too. Two generated files differ in exactly one known way each:server-warnings.txt(the scan root) and line 1 oftables.md(the commit stamp: the committed copy was scanned at72b2e01497, the pin plus three harness commits that touched onlyapps/admin/.../oidc/). They are compared separately in the README instead of being excluded unseen.ROOThas to be a real git checkout of the tag, not an export:--vcs filesreads the commit from.git.pyproject.toml. The 26 Python files were written for the plan, not for Plane, thrust isAGPL-3.0-onlylike the fork, and nothing here checks headers. Every entry script is stdlib-only with a PEP 723 header, souv runneeds no lock file. The one exception,tests/jwt_verifier_test.py, depends on an unpinnedcryptography; it is recorded in the spike 0004 README and left as written.out/is not imported. It was never committed on the source branch. Theresearch/0003lines that said it was "kept in the repo" now say it is regenerated.FEATURES.md:144; the live ADR-0006 register is lines 143 to 152, not 107 and 111). Pointers were found by text. A blind substitution would have brokenresearch/0003(cd .agents/plans/contrail/scripts/compat-inventory) and 57 of the 60spike-0004hits inresearch/0006, which are Cloudflare resource names; those were edited by hand.Not in this PR: a gitleaks allowlist (no scanner runs here; the two values in
pin-verify.jsonare one git tree SHA), and deleting the off-repo branch, which is a change to another repository and waits until this merges.Verification
Run from a clone of the fork checked out at
oracle/v1-pin-20261018(ba85d4d3d3) and at the pre-pin commit300c2009d4.run_all.py(no--features) on the tag, then the README'sdiff -ruwith six exclusionsserver-warnings.txtwith the root normalised,tables.mdwithout line 1)endpoint-inventory.csvand.jsonendpoint-inventory.csvand.jsonfromrun_all.pyjoin_tag.pywith its default--features, after deleting its two outputsrun_all.pyat the new depth, no--featuresFileNotFoundErroron aFEATURES.mdat the repository rootgit grep -nE 'scripts/(compat-inventory|spike-0004)' -- .agents docsgit grep 'pip install' -- tools/compat-inventory tools/spike-0004uv runin 18 files)op://path, no real email, no local path. The hits are Plane's example UUIDs, two placeholder emails andcomponents/home/paths. Control: it flags a planted value of each shapegit archive dd575509c4.gitignore, the two edited.pylines and the three sanitised filesclassify-changes.shon this PR's file listrust=false. Control: ascripts/path givesrust=trueThe redaction list in
spikes/README.mdholds placeholders only, so the real values are not in the repository and the scan is by shape. A scan against the real values can only be run by someone who has them.Docs and tooling only, so CI should skip the Rust jobs and
gateshould pass.🤖 Generated with Claude Code