Repository navigation
fix: keep storefront catalog complete after preview pagination - #13
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
detna-vibe-coding
left a comment
There was a problem hiding this comment.
Pagination follows explicit null termination, rejects unsafe/non-advancing offsets and propagates later-page failures without partial workspace results; store filtering/mutation identity remain intact. Separate read-client library sources remain unchanged.
Independently compared all 43 exported preview/tooling files by Git blob identity with canonical candidate 1b1c3c111311659a64ab83fb4ea5683089b10560; contract locks agree across the four consumers and strict protocol-hash checking remains intact. Hosted applicable verification passed at observation. No duplicate tests rerun.
Approval supports coordinated adoption only. Central exact-pin real HTTP/PostgreSQL compatibility evidence is still pending under freedom-platform#678; do not deploy this consumer against the old protocol or close that issue based solely on these individual checks. Main orchestrator owns adoption order and final integration.
detna-vibe-coding
left a comment
There was a problem hiding this comment.
Fresh delta review for this exact head: all 43 exported blobs independently match canonical e09fe06f3393c64e04afd6475dd6c427b3dab127. Protocol and product runtime/pagination bytes remain unchanged. Context identity aliases preserve local/unverified trust; runtime admission rejects tracked changes, untracked source and Git-status failures while allowing ignored artifacts. Reviewed the corresponding canonical regressions, including suppressed untracked-file display settings. No blocking source finding; current-head applicable Verify passes.
The earlier 7/7 real HTTP/PostgreSQL consumer run used the original pins; it remains related evidence but is not a fresh final-tree execution. Central updated pins, protected integration, read fences and release order still need completion under freedom-platform#678. No duplicate tests rerun, no premature issue closure or deployment approval.
The preview catalog now returns bounded pages.
loadStorefrontfollowsnext_offsetwith 50-row requests and returns the complete catalog, preserving selected-store filtering. A later-page failure rejects the entire read; invalid or non-advancing continuations fail instead of yielding a partial workspace. Existing write commands and command identities are unchanged.Part of FreeTWAI/freedom-platform#678, adopting canonical candidate source
e09fe06f3393c64e04afd6475dd6c427b3dab127from the bounded integration of central PRs #660, #670 and #672. Preview protocol revision is0.4.1; protocol SHA-256 is41378c3b723f739cefdf8c53a82238b1e5d69cc13cdbf63b33a80d8080c807b2.All preview and portable-tooling artifacts were generated using that exact canonical source's exporter. The larger generated diff is the current canonical tooling export; 43 mapped files were independently compared byte-for-byte against the exact source commit, plus the generated contract lock. The shared-library lock and runtime bytes remain at independent source
91b943ac61e132fbbce72ea066cb2301aa065600, including their historical provenance identity. The newly exported verifier accepts the currentFreeTWAItransport identity; this does not rewrite library history.Native behavior validation on the initial consumer commit (unchanged runtime/test bytes on the current head):
npm test: 22 passed, including 0/50/101 catalog rows, whole-read failure on a later authorization error, invalid continuation rejection, existing store filtering and real offline HTML build behavior. Pagination regressions use the existing injected client port.node scripts/verify-client-source.mjs --remote: passed for the separately pinned read client.npm run build --if-present: exit 0; no-argument CLI printed usage. The native tests exercise actual private HTML output.node scripts/verify-contracts.mjs --remote: passed, fetched exact canonical source; pin provenance does not grant publisher trust or execution authority.python3 scripts/verify-project-manifest.py --github: passed against the live repository identity.git diff --check: passed.The native tests ran once on the initial export. Central candidate
d1f024b0then passed the existing 7 real HTTP/PostgreSQL 18.6 cross-repository cases with all four exact initial consumer checkouts. This is scoped integration evidence, not final merged-source CI or deployment; this PR alone does not close central #678. Normal maintainer review and required checks still apply.The existing library verifier also passed against source
91b943ac61e132fbbce72ea066cb2301aa065600, and each preserved library file was compared directly to that immutable source.The central candidate source is published for verification but has not merged or deployed. Final integrated-source verification and coordinated review remain required before this adoption is considered complete.
Current head
3fbe600869b78904c7b9f99322914523ebc341c4incorporates the canonical tooling review repair frome09fe06f: exact Growth/Registry package-name mappings and runtime evidence admission that rejects non-ignored untracked source. The canonical existing context/runtime-matrix tests passed 39/39 after two failing-before cases. Three consumers missing.freedom/now ignore that generated directory; Storefront already did.All four actual
prepareandcontextentrypoints now collect their contexts without identity or artifact-ignore errors. They honestly return exit 2 for the existing unavailable consumer governance/surface blockers; no completeness waiver was added. Remote exact-source verification and all 43 exported-file comparisons pass on the new source. Protocol/API/native implementation and test bytes are unchanged from the earlier successful cases, so those native/HTTP suites were not repeated locally. Independent source91 library locks and runtime files remain unchanged where present. Fresh required hosted checks and review apply to this new head.