Repository navigation
Each side of the stored-format measure runs its own revision's reader - #3593
Merged
Merged
Conversation
The ratchet ran the checkout's tools/stored_formats.py against both revisions' packages. #3576's reader imports agent_comms.nominal.field_codec, which main's package does not have, so the base side crashed with ModuleNotFoundError and debt-src/debt-tools went red on every run. The reader is now archived with the revision's package and run from there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RnH6dR85kyFKcc2tQAJLhK
trissim
enabled auto-merge
October 29, 2026 06:34
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
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.
The stored-format measure runs each revision's own reader (1 commit, 1 file, +4/-2)
Bug.
UncarriedRecordFormat.measured_formats(tools/debt_ratchet.py:2640-2660) archived each revision's package, but always ran the checkout'stools/stored_formats.py. A PR that moves an import inside that reader breaks the base side: #3576's reader importsagent_comms.nominal.field_codec, and main's package has nonominal. That is why debt-src and debt-tools crash on #3576 no matter how often it reruns.Fix.
tools/stored_formats.pyis archived from the same revision as the package, and the probe runs that copy. Each side's reader matches its own package.Proof. Same changed-module set (#3576's 40 changed
src/agent_commsmodules), installed runtime core-82c403efd:ModuleNotFoundError: No module named 'agent_comms.nominal'🤖 Generated with Claude Code
https://claude.ai/code/session_01RnH6dR85kyFKcc2tQAJLhK