Skip to content

fix(proof): lock paging-only has_more after review - #257

Merged
tonyketcham merged 1 commit into
stack/toeknee-figma/fix/proof-read-completeness/expose-read-completeness--4cbd9019from
toeknee/proof-read-completeness-review-21cd
Aug 22, 2026
Merged

fix(proof): lock paging-only has_more after review#257
tonyketcham merged 1 commit into
stack/toeknee-figma/fix/proof-read-completeness/expose-read-completeness--4cbd9019from
toeknee/proof-read-completeness-review-21cd

Conversation

@tonyketcham

@tonyketcham tonyketcham commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

Summary of changes

Addresses the open 19 Aug notes grouped in PR 254 review 5000573079. One subagent owned each group.

  1. CHANGELOGpage.has_more is pagination-only. Use cap_reasons / complete for hard caps. primary_records stays an in-process signal after the CLI slice.
  2. Both reference.md copies — page only when page.has_more. Hard caps that paging cannot clear mean narrow the query or fail closed.
  3. CLI spawn — page-only proof list --limit 1 now asserts a non-null next_cursor. The bytes path asserts a null cursor. Relations summary names both displayed_edges and pagination.
  4. Digest unitrenderDigest with a hard cap and a cursor. Also refuses hasMore without a cursor.
  5. Optional hardenrenderDigest sets has_more only when hasMore is true and nextCursor is a non-empty string. It does not OR the 25-record wall back into has_more.

Related #254. The parent PR already closes #252.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • I added doc comments to any new public exports, and inline comments to any hard-to-understand areas
  • My changes generate no new console errors locally
  • If applicable, try to include a test that fails without this PR but passes with it

Does this introduce any non-backwards compatible changes?

  • Yes
  • No

Does this include any user config changes?

  • Yes
    • If so, I have updated the relevant areas of documentation
  • No

Local test evidence

Digest suite: 13 passed, including paging plus displayed_edges and refuse-hasMore-without-cursor. CLI completeness spawn: 1 passed. Full @flatbread/proof ava suite: 124 passed. skills:check and Prettier on the touched files passed.

proof_completeness_review_tests.log

Open in Web Open in Cursor 

Addresses the 19 Aug / 22 Aug grouped notes on #254.

- CHANGELOG: page.has_more is pagination-only; use cap_reasons for walls
- Both reference.md copies: page only when has_more; hard caps need a narrower query
- CLI spawn: assert next_cursor on page-only, null on bytes, summary co-list
- Digest unit: paging plus displayed_edges; refuse hasMore without a cursor
- renderDigest: has_more requires a non-empty nextCursor

Change-Id: I4023a95677e42aee745e3a2e6748852cb8ea1af3

Co-authored-by: Tony <tonyketcham@users.noreply.github.com>
@tonyketcham
tonyketcham marked this pull request as ready for review August 22, 2026 16:59
@tonyketcham
tonyketcham merged commit be2cece into stack/toeknee-figma/fix/proof-read-completeness/expose-read-completeness--4cbd9019 Aug 22, 2026
22 checks passed
@tonyketcham
tonyketcham deleted the toeknee/proof-read-completeness-review-21cd branch August 22, 2026 17:00

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Cursor Bugbot passed and reported no findings that need human review. No reviewers assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

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.

2 participants