Repository navigation
feat(ripwireadapter): bump ripwire pin to the first release with the #478 import fixes - #96
Merged
Merged
Conversation
Plan moving the ripwire adapter pin from 0.6.9 @ bedc0cd to the first upstream release containing redhat-et/ripwire#533, adopting all four #478 Python import-resolution fixes. Probes against a ripwire main build (1edb6fd) showed the bump is not a constant edit: ARCH-HONEST rows omit I/D/reachable, so a Python tree with one Go file fails to parse today. The change narrows the --arch parse contract to consumed attributes, adds a coupling-floor warning, unions the denylist warning with ripwire's <pruned_packages>, and re-measures the error budgets with a committed harness. Phase A runs against main now; Phase B finalizes on the upstream release. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Phase A of openspec/changes/bump-ripwire-pin, developed against a Release build of ripwire main @ 1edb6fd (contains redhat-et/ripwire#533). - parse_arch: require only consumed attributes (path, types, abstract; ca/ce except on zone="unknown" rows, read as floors); parse <pruned_packages>. A Python tree holding one Go file no longer fails. - mapping: carry the floor flag and emit one coupling-floor warning. - denylist: warn on the union of the pre-check and ripwire's <pruned_packages>, disclosing a partial ripwire listing. - cycles: the <cycles> SCC cap now follows the --deps --limit (redhat-et/ripwire#479); single-source it as depsWindowLimit. - fixtures: wide/alias/collide packages exercise #478 gaps 1, 2, 4; python-mixed recordings cover ARCH-HONEST; all recordings re-captured. - pin: PROVISIONAL 0.6.11 @ 1edb6fd until the upstream release (Phase B); tests and GoDoc reference the pin constants instead of literals. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…dens Re-capture python/cc.json after the fixture commit so git churn matches the committed tree; rewrite the testdata README (provisional provenance, mixed-language and zero-edge derivation, expected stderr line, new recording facts) and update the golden-notes ledger for the wide/alias/ collide modules. Co-Authored-By: Claude Opus 5.5 <[email protected]>
README caveats gain coupling-floor and denylist-pruned rows and an honest cycle-approximation row; CHANGELOG records the pin move (Changed) and the coupling-floor warning (Added); AGENTS.md describes the reshaped adapter files. <RELEASE>/<BUDGET-FIGURES> placeholders are filled by tasks 5.3 and 7.5. The design records two Phase A findings: wide-form member edges are invisible to cycle derivation, and ripwire's <cycles> cap now follows --limit. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Add a reproducible measurement harness (openspec/changes/bump-ripwire-pin/ measurement/) comparing ripwire's --arch Ca/Ce and cc.json fan-out to an ast ground truth, run on pip, django, and rollup against ripwire 0.6.9, 0.6.10, and the main build. Directory Ca/Ce exact rises from 79%/77% to 100% on pip and from 94%/59% to 100% on django; TypeScript stays at 0.16% unresolved. The design D6 gate (no figure worse than 0.6.9) passes. The error-budget warning now states the measured figures and names the pinned version; README and CHANGELOG carry the figures. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… docs #95) Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 23, 2026
Phase B of bump-ripwire-pin (tasks 7.1-7.5). Upstream skipped 0.6.11 and released 0.7.0 @ 5a3df04, the first release containing redhat-et/ripwire#533. - Pin pinnedRipwireVersion/pinnedRipwireCommit to 0.7.0/5a3df04; version.txt recordings are the release binary's real --version line. - Re-capture recordings from the verified release archive (sha256 checked). typescript/ and python-mixed/ are byte-identical to Phase A; python/ differs because 0.7.0 indexes a build/ directory whose files git tracks, so fixturepy/operations/build is now an isolated module. - detectDenylistPruned drops denylist-named directories with an --arch module at or beneath them, so the warning never names a directory ripwire analyzed; nested unindexed candidates are still reported. - Regenerate the Python golden and notes; move recorded <pruned_packages> coverage to the non-git python-mixed recording. - Measurement harness gains --tracked-build; every 0.7.0 figure equals Phase A (gate holds, budget.go unchanged). - Fill README/CHANGELOG release placeholders; amend spec (new denylist scenario), design D5/D8, proposal, and tasks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
uf-divisor
approved these changes
Nov 24, 2026
jflowers
marked this pull request as ready for review
November 24, 2026 17:11
jflowers
added a commit
that referenced
this pull request
Nov 24, 2026
… docs #95) Co-Authored-By: Claude Opus 5.5 <[email protected]>
jflowers
added a commit
that referenced
this pull request
Nov 24, 2026
Documentation issue #97 filed; draft PR opened stacked on #96. Co-Authored-By: Claude Opus 5.5 <[email protected]>
jflowers
added a commit
that referenced
this pull request
Nov 24, 2026
#96 merged with Phase B on the ripwire 0.7.0 release. Rebased onto main; the Python recordings were re-captured with the 0.7.0 binary during the rebase and CI parity re-run. Marking the PR ready remains. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 24, 2026
jflowers
added a commit
that referenced
this pull request
Nov 24, 2026
Documentation issue #97 filed; draft PR opened stacked on #96. Co-Authored-By: Claude Opus 5.5 <[email protected]>
jflowers
added a commit
that referenced
this pull request
Nov 24, 2026
#96 merged with Phase B on the ripwire 0.7.0 release. Rebased onto main; the Python recordings were re-captured with the 0.7.0 binary during the rebase and CI parity re-run. Marking the PR ready remains. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 24, 2026
jflowers
added a commit
that referenced
this pull request
Nov 25, 2026
- README: add the --store flag row and a "Tracking drift over time" section (provenance.input commitSHA/branch, --no-provenance precedence, trending mode's Dewey requirement and its zero/one/many snapshot behavior); list the mx-f-architecture-trend agent among the assets `vibe-check init` deploys. - AGENTS.md: add mx-f-architecture-trend.md to the embedded agent assets. - openspec bump-ripwire-pin: mark task 7.6 complete (council approved 7421b3e; PR #96 merged as 58a6f3a). Closes #45 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 #94. Docs: #95. Spec:
openspec/changes/bump-ripwire-pin/.Why
The ripwire adapter fails closed on anything but ripwire 0.6.9. Upstream has since fixed all four Python import-resolution gaps from redhat-et/ripwire#478 (gap 2 via #530 and gaps 3/4 via Train 44 in v0.6.10; gap 1 via #533, unreleased). The same releases changed the
--archsurface (ARCH-HONEST): a Python tree holding one Go file failed to parse.What changed
parse_arch.go): requires only the attributes the adapter consumes (path,types,abstract;ca/ceexcept onzone="unknown"rows, read as floors); parses<pruned_packages>.coupling-floorwarning (mapping.go): one warning naming modules whose Ca/Ce are floors and theirno_file_edges=languages.denylist.go): warning lists the union of the filesystem pre-check and ripwire's<pruned_packages>, disclosing partial listings.cycles.go): ripwire's<cycles>cap now follows--limit(every loss published, except <cycles>: truncation there is silent redhat-et/ripwire#479); single-sourced asdepsWindowLimit.budget.go): re-measured with a committed harness (measurement/) against 0.6.9, 0.6.10, and the main build; message names the pinned version.wide/alias/collidepackages pin gaps 1, 2, 4 at directory grain;python-mixedrecordings cover ARCH-HONEST; all recordings re-captured; Python golden regenerated viametrics.Compute*.pinnedRipwireVersion/pinnedRipwireCommitname a version; tests and GoDoc reference them.Measured (same harness,
measurement/results.md)src/dir Ca / Ce exactDesign D6 gate (no figure worse than 0.6.9) passes.
Known limitation (documented, out of scope)
Cycle derivation name-resolves
--deps <inc t=>text, which recordsfrom fixturepy import cycle_bas"fixturepy"; a cycle closed only through a wide-form subpackage import is not detected even though Ca/Ce count the edge. Not a regression (0.6.9 missed it everywhere). Pinned in tests; disclosed in README; remedies in the design's Risks.Verification
CI parity with ripwire removed from
PATH: build, vet,go test -race -count=1, coverage ratchet (8/8 pass), golangci-lint clean on changed packages.TestIntegration_RealBinaryCorroborationskips without ripwire and cannot pass until a release matching the pin exists.Remaining (Phase B)
version.txt<RELEASE>placeholders; CI parity; real-binary test🤖 Generated with Claude Code