Repository navigation
fix(release): address code-review findings on the main merge - #169
Merged
Merged
Conversation
Findings from /code-review max on PR #168 (development -> main). Two agents, both grounded in verification rather than inference. THE ONE THAT MATTERS: the publish workflow's version gate would have failed the FIRST EVER release of this package, and this merge made the failure worse. curl on an unpublished package -> HTTP 404, body {"message": "Not Found"} jq -r .info.version -> the literal string "null", exit 0 parse("null") -> InvalidVersion, uncaught main currently compares against views-pipeline-core (a published package), so it failed cleanly with AssertionError. After the merge it crashes with a traceback that reads like a version-parsing bug rather than "not published yet". Each step was checked concretely — the 404 body, jq's output and exit code, and parse()'s exception — not assumed. Fixed with `.info.version // empty` plus an explicit first-release branch. Register C-09 closes: it recorded the wrong-package half, and this is the half that was hiding behind it. DOCS: main is about to become canonical, and the doc its own index calls "READ FIRST" described a structure that has not existed for weeks. - docs/architecture/role_and_seams.md — the lifecycle table described _append_metadata joining geography (deleted #149), a null-gate in _validate (moved to build time), and _clip_observed_history (deleted). Seam A named unfao/extraction.py (deleted #151). Seam B said "a views-frames frame cannot flow end-to-end through this repo today" and called frames.py an unused adapter hardcoding S=1 — it is the live constructor and takes declared (N, S). The quick map showed no contract/ package at all. - README.md — the tree showed delivery/identity.py and unfao/extraction.py, both deleted, and omitted contract/ entirely; the config section claimed "there is no startup validation yet" when appwrite_env has validated fail-loud since #134; the dependency table said "the live path is still pandas". - ADR-012's Rationale still listed unfao/extraction.py as the seam though its own table had been corrected; docs/ADRs/README.md and docs/architecture/README.md still propagated the retracted "thin manager"; the CIC still named _clip_observed_history. Seam A's correction is worth reading rather than skimming: the invariants needed NO change when the pandas seam was retired, only which module fed them. That is the design the section claims, evidenced instead of restated. Deliberately NOT touched: docs/falsification_campaign.md, docs/cross_repo_integration_report.md and docs/ADR-011_implementation_assessment.md reference deleted methods inside dated historical records, which is what those documents are for. VERIFIED SAFE by the same review, and recorded because a release merge should say what it checked: zero non-merge commits exist on main that are not on development (nothing is lost); no workflow references unfao/ paths, git-lfs or .gitattributes, and every checkout defaults to lfs:false — so CI never downloaded the 774 MB bundle and deleting it cannot break a job; the branch-behind gate passes because main is a strict ancestor; publish_package.yml triggers only on release:published, so merging cannot publish; and run_pytest.yml's test step is COMMENTED OUT on main today, so this merge makes main actually run its tests for the first time. ruff clean; 305 passed, 41 xfailed, 5 known local pyarrow byte-parity failures. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Findings from
/code-review maxon #168 (development → main). Both review agents grounded their findings in verification rather than inference, and one of them is a genuine pre-release defect.The one that matters: the first release was guaranteed to fail
publish_package.yml's version gate, checked concretely rather than reasoned about:And this merge made it worse.
maintoday compares against views-pipeline-core — a published package — so it fails cleanly withAssertionError. After the merge it crashes with a traceback that reads like a version-parsing bug rather than "not published yet".Fixed with
.info.version // emptyplus an explicit first-release branch that logs and skips. Register C-09 closes — it recorded the wrong-package half, and this is the half that was hiding behind it.Docs:
mainis about to become canonicalThe doc its own index calls "READ FIRST" described a structure that has not existed for weeks.
role_and_seams.md— the lifecycle table described_append_metadatajoining geography (deleted S1 — Delete the retired delivery path; refuse an incomplete config #149), a null-gate in_validate(moved to build time), and_clip_observed_history(deleted). Seam A namedunfao/extraction.py(deleted S3 — Collapse the two extraction seams into one #151). Seam B said "a views-frames frame cannot flow end-to-end through this repo today" and calledframes.pyan unused adapter hardcodingS=1— it is the live constructor and takes a declared(N, S). The quick map showed nocontract/package at all.README.md— the tree showed two deleted modules and omittedcontract/; the config section claimed "there is no startup validation yet" whenappwrite_envhas validated fail-loud since [þing-01] Kill the implicit ensemble-dotenv borrow; entry validation per D6 #134; the dependency table said "the live path is still pandas".docs/ADRs/README.md,docs/architecture/README.md, the CIC — each still carried a claim its own parent document had already retracted.Seam A's correction is worth reading rather than skimming: the invariants needed no change when the pandas seam was retired — only which module fed them. That is the design the section claims, now evidenced instead of restated.
Deliberately untouched:
falsification_campaign.md,cross_repo_integration_report.md,ADR-011_implementation_assessment.mdreference deleted methods inside dated historical records, which is what those documents are for.Verified safe — recorded because a release merge should say what it checked
unfao/paths, git-lfs,.gitattributeslfs: false, so CI never downloaded the 774 MB bundle — deleting it cannot break a jobpublish_package.ymltriggers only onrelease: publishedrun_pytest.ymlruffclean · 305 passed, 41 xfailed · 5 known local pyarrow byte-parity failures; CI authoritative.Register: 71 concerns, 24 open, 47 resolved.
🤖 Generated with Claude Code