feat: heal series grouping and run the audit nightly#7
Merged
Conversation
The series audit only fixed series numbers and was deliberately kept out of the daily sweep. It now also repairs grouping, the other half of the series problem: books that fall out of their series because grimmory has no series_name (series-name-missing) or holds a stale variant name the book title still corroborates (series-name-variant). Both heal to the canonical edition so the server re-derives name + number — the same proven recipe as a number mismatch, skipped when the field is locked or already canonical. A true mis-seed (series name AND title both disagree with the hcid) still defers to the resolver, which validates the identity before locking. Wired into maintain as a third guarded phase; a per-run cap (UNGROUPED_LIMIT) walks the ungrouped survey nightly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
vidaks
added a commit
that referenced
this pull request
Jul 9, 2026
The series audit only fixed series numbers and was deliberately kept out of the daily sweep. It now also repairs grouping, the other half of the series problem: books that fall out of their series because grimmory has no series_name (series-name-missing) or holds a stale variant name the book title still corroborates (series-name-variant). Both heal to the canonical edition so the server re-derives name + number — the same proven recipe as a number mismatch, skipped when the field is locked or already canonical. A true mis-seed (series name AND title both disagree with the hcid) still defers to the resolver, which validates the identity before locking. Wired into maintain as a third guarded phase; a per-run cap (UNGROUPED_LIMIT) walks the ungrouped survey nightly.
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 series audit only fixed series numbers and was deliberately kept out of the daily sweep. It now also repairs grouping, the other half of the series problem: books that fall out of their series because grimmory has no series_name (series-name-missing) or holds a stale variant name the book title still corroborates (series-name-variant). Both heal to the canonical edition so the server re-derives name + number — the same proven recipe as a number mismatch, skipped when the field is locked or already canonical.
A true mis-seed (series name AND title both disagree with the hcid) still defers to the resolver, which validates the identity before locking.
Wired into maintain as a third guarded phase; a per-run cap (UNGROUPED_LIMIT) walks the ungrouped survey nightly.
What & why
Checklist
adjudicates over validated candidates, every write logged)
python -m compileall colophonpasses;ruff check .is cleanREADME.md/CHANGELOG.mdif behavior changed--apply); output pasted belowNotes / test output