Skip to content

fix: bind TQQQ research input proof - #227

Closed
Pigbibi wants to merge 1 commit into
mainfrom
codex/qsl-pre-p3-f1-final-three-findings-20260731
Closed

fix: bind TQQQ research input proof#227
Pigbibi wants to merge 1 commit into
mainfrom
codex/qsl-pre-p3-f1-final-three-findings-20260731

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Implements the three frozen F1 proof bindings and the required QPK compatibility pin update.\n\nLocal gates: focused 102 passed; full 621 passed, 3 skipped; ruff and compileall passed.\n\nBase: 9dd3077. Head: b98a9ea.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi

Pigbibi commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Exact head: b98a9ea2db7e898b9fbb05107fd98902c968b71c

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b98a9ea2db

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

members: dict[str, bytes] = {}
total_size = len(manifest_raw)
for name in OUTPUT_FILENAMES:
raw = _read_member_from_root(inner_fd, name, _PROOF_TOTAL_BYTE_LIMIT - total_size)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Enforce the inner snapshot total-byte cap

For a crafted but hash-consistent proof, this budget allows the enclosed snapshot to grow to nearly 19 MiB whenever the outer manifest is small, because it subtracts len(manifest_raw) from the 19 MiB combined constant rather than independently limiting inner members to _MAX_TOTAL_MEMBER_BYTES (18 MiB). For example, a valid prices.csv near its 16 MiB limit plus three padded JSON files near 1 MiB each can pass this proof reader and _verify_tqqq_r1_snapshot_members, even though verify_tqqq_r1_snapshot rejects the same snapshot for exceeding its total-size contract. Track the inner total separately so proof verification preserves the existing snapshot resource boundary.

Useful? React with 👍 / 👎.

@Pigbibi

Pigbibi commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

Closing unmerged under the frozen F1 phase contract: exact-head Codex review delivered a current P2/unresolved thread; PR-stage remediation is prohibited.

@Pigbibi Pigbibi closed this Jul 31, 2026
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