Skip to content

tools: restore consolidate.sh onto the consolidated main - #79

Merged
balbasty merged 1 commit into
mainfrom
restore/consolidate-script
Aug 19, 2026
Merged

tools: restore consolidate.sh onto the consolidated main#79
balbasty merged 1 commit into
mainfrom
restore/consolidate-script

Conversation

@balbasty

Copy link
Copy Markdown
Collaborator

Restores tools/consolidate.sh — the frozen rule set that produced this consolidated tree.

Why it went missing

consolidate.sh was developed on claude/consolidate-script (#78) and never merged. The consolidation was built from the six source repos' main branches, and fastfields-lib@85f987e did not contain the script — so it is absent from the consolidated history through no fault of the rewrite.

Why it is restored this way rather than by rebuilding

Merging #78 and re-running the consolidation would change claude/consolidated-main's SHA. The 159 teeny commits sit directly on top of that SHA and are irreproducible, so a rebuild would force a rebase of exactly the work that cannot be regenerated. Adding the script as an ordinary commit on the rewritten main avoids that entirely.

#78 is closed as superseded — its base branch no longer exists after the rewrite.

Content

The blob is byte-identical to claude/consolidate-script@c55e791 (blob 4255943, mode 100755, 1432 lines), including the path-rewrite hazards block in the header that documents the once-only git filter-repo --refs main teeny invariant.

Expected tree-hash shift — please read before running the baseline gate

main's tree hash is 828c9164… as consolidated. Merging this PR shifts it to d42a474a… by exactly this one added file.

That is expected and is not consolidation drift. Anyone re-running the baseline gate against the old pinned tree hash should re-pin it to the post-merge value rather than treat the mismatch as a regression.


Generated by Claude Code

`tools/consolidate.sh` is the frozen rule set that built this consolidated
tree. It was developed on `claude/consolidate-script` (PR #78) but was never
merged, so `fastfields-lib@85f987e` -- one of the six inputs to the
consolidation -- did not contain it, and it is therefore absent from the
consolidated history.
It is restored here as an ordinary commit on the rewritten `main` rather than
by merging #78 and rebuilding: rebuilding would change `main`'s SHA, and the
159 irreproducible `teeny` commits sit directly on top of it. PR #78 is closed
as superseded (its base branch no longer exists).
The blob is byte-identical to `claude/consolidate-script@c55e791`
(blob 4255943), including the path-rewrite hazards block in the header.
NOTE: merging this shifts `main`'s tree hash from 828c916 by exactly this one
added file. That is expected and is not consolidation drift -- the baseline
gate should be re-pinned to the post-merge tree.
@balbasty
balbasty merged commit cb4503e into mainAug 19, 2026
@balbasty
balbasty deleted the restore/consolidate-script branch August 19, 2026 16:23
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@balbasty@claude