Skip to content

fix(lint): allow the v225 GOA snapshot#227

Merged
frapercan merged 1 commit into
mainfrom
fix/lint-allow-v225
Jul 10, 2026
Merged

fix(lint): allow the v225 GOA snapshot#227
frapercan merged 1 commit into
mainfrom
fix/lint-allow-v225

Conversation

@frapercan

Copy link
Copy Markdown
Owner

The reranker-token linter's GOA allowlist skips v225, which is a real loaded annotation_set (source_version = '225', verified in the live database) and the start of the validation window of the sealed frame: the model is selected on v225 to v227 and measured on v227 to v230.

Excluding it forces any document that states the frame honestly to hide half of it. PROTEA's rewritten results chapter trips on exactly this line: "validation window v225 to v227".

The linter exists to catch the historical reranker vN shorthand, not to forbid a real GOA snapshot. The two guard tests pinning the allowlist to nine exact tokens are updated to ten. v228 stays excluded, as its own comment explains: a real release, outside the slice spec, and the spec is the authority.

Verified, not assumed:

linter target exit
patched PROTEA docs/sealed-headline 0
original PROTEA docs/sealed-headline 1 (the bug)
patched PROTEA develop 0 (no regression)
patched agent-farm 7
original agent-farm 7 (pre-existing, unrelated)

pytest tests/test_lint_reranker_tokens.py: 37 passed.

The reranker-token linter forbids bare 'vN' tokens in publishable prose to stop the
historical reranker shorthand creeping back in. Its GOA allowlist holds v160, v200,
v210, v215, v220, v226, v227, v229 and v230, and skips v225.

v225 is a real, loaded annotation_set (GOA 225, source_version '225' in the live
database) and it is the start of the validation window of the sealed frame: the model
is selected on v225 to v227 and measured on v227 to v230. Excluding it forces every
document that states the frame honestly to hide half of it. PROTEA's rewritten results
chapter tripped on exactly this line: 'validation window v225 to v227'.

The two guard tests that pin the allowlist to nine exact tokens are updated to ten.
v228 stays excluded, as its comment explains: it is a real release but outside the
slice spec, and the spec is the authority.

Verified: patched linter passes PROTEA's docs branch (was 1 offence) and still passes
PROTEA develop; agent-farm's own 7 offences are pre-existing under both versions.
@frapercan frapercan merged commit 3727426 into main Jul 10, 2026
7 checks passed
@frapercan frapercan deleted the fix/lint-allow-v225 branch July 10, 2026 04:21
Sign up for free to 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.

1 participant