Skip to content

Appendix E.5: P4's 127-request plateau explained; running limit amended to 129 (#123) - #136

Merged
SamMausberg merged 5 commits into
mainfrom
paper/appendix-p4cap
Oct 1, 2026
Merged

SamMausberg merged 5 commits into
mainfrom
paper/appendix-p4cap

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

Stacked on #130. The base is paper/appendix-trim, so the diff shows only this PR's two commits. After #130 merges I'll retarget it to main. It folds #123 into the P4 paragraph of Appendix E.5, which #130 rewrites; the scope is the one evidence/moonshot/README.md states.

What the paragraph now says

  • Three void attempts. All three attempts were void: in every arm at most 127 of the 128 requests were admitted.
    • The amendments declared after the first two (the 655,360-token attention cache, 132 pinned recurrent-state slots and the admission preflight) did not change that.
    • In the third attempt the attention cache was at 40% use and 127 of 132 slots were taken, so neither pool was the limit.
  • Cause. This is read from the engine source and labelled as such: a request whose last prefill chunk runs in the pass is counted twice.
    • The request-table row it keeps from its first chunk lowers the admission limit.
    • It also counts against that limit as one of the pass's requests.
    • So a wave stops one short of the running limit whenever its last pass carries a chunk tail, and the 128th request runs only after the wave.
  • Evidence for the cause. All 56 admission waves in the three attempts' 12 server logs had such a tail and stopped at 127, as predicted (p4_admission_plateaus.csv).
    • The text says these waves test the prediction only at one running limit and one chunk.
    • The discriminating test is the amended preflight.
  • Amendment. Before any further run the running limit is 129, with the client still at 128, so at most 128 requests are in the server. The prediction is a peak of 128 running in both arms. That preflight is queued, and no served result exists.

The register entry p4-declared now lists the three void attempts and the diagnosis, with p4_admission_plateaus.csv and admission_plateaus.py added. It is still described as declarations and a diagnosis, not results.

Checks

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T15:29:17.248687Z 38cfd24 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE

Review of the exact head ead49eb: da70fa2 (App E.5 and the register) plus the PDF, stacked on #130 at 2b71cd6.

  • The new P4 text matches Moonshot P4b: explain the 127-request plateau; amend to a running limit of 129 #123's merged evidence (evidence/moonshot/README.md 2c, p4_admission_plateaus.csv):

    • three void attempts, with the third at KV use 0.40 and 127 of 132 slots;
    • the mechanism (the chunk-tail request holds its request-table row, which lowers the limit, and also counts as one of the pass's requests);
    • 56 of 56 waves with a tail stopping at 127;
    • "only at that one limit and one chunk; the discriminating test is the amended admission preflight";
    • the 129 running limit with the client at 128, and the preflight queued.

    It keeps "No served result exists".

  • Register. The p4-declared entry now names p4_admission_plateaus.csv and admission_plateaus.py. Every path exists on main.

  • Rebuild in place. latexmk -g on one core finished with 0 warnings, wrote 80 pages, and its text is identical to the committed PDF. References start on p11, and check_paper_references.py is clean.

  • Codex completed on ead49eb with no comments.

Merge order. This must merge right after #130, which has since moved to 919613d. If #130's change touches E.5 or the PDF, rebase this PR on it, and I will re-check.

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (provisional, on e7bfd78: Codex is still running on this head. I will confirm or withdraw once it finishes.)

Re-check after the rebase onto #130 at 919613d. The P4 paragraph keeps #130's restored probe sentence ("unless the control also differs ... undecided") and replaces only the two-attempt sentence with the three-attempt text and diagnosis I reviewed at ead49eb, unchanged otherwise. The register entry is as before.

Rebuild in place: latexmk -g on one core finished with 0 warnings, wrote 80 pages, and its text is identical to the committed PDF. References start on p11. This must merge right after #130.

@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@SamMausberg
SamMausberg force-pushed the paper/appendix-p4cap branch from e7bfd78 to 6ab933d Compare October 1, 2026 15:24
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: e7bfd78eb2

ℹ️ 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".

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 6ab933d13b

ℹ️ 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".

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (provisional, on 6ab933d: Codex is still running on this head. I will confirm or withdraw once it finishes.)

Rebased on #130 at 652c62e with no change of its own: the diff of 7c28966 against #130 is line for line the change I approved at e7bfd78. Rebuild in place: latexmk -g on one core finished with 0 warnings, wrote 80 pages, and its text is identical to the committed PDF. References start on p11. This merges right after #130.

…and the running-limit amendment (#123)

From evidence/moonshot/README.md and p4_admission_plateaus.csv (#123).
The third preflight was void like the first two, with the attention
cache at 40% use and 127 of 132 state slots taken. The cause, read from
the engine source: a request whose last prefill chunk runs in the pass
holds its request-table row (lowering the admission limit) and also
counts as one of the pass's requests, so a wave stops at M - 1 = 127
when its last pass carries a chunk tail; all 56 waves in the 12 server
logs did and stopped at 127. That tests the prediction at one limit and
one chunk only; the amended preflight (running limit 129, client at 128,
predicting 128 running) is the discriminating test and is queued. The
register entry p4-declared gains the plateau CSV and its script.
@SamMausberg
SamMausberg force-pushed the paper/appendix-p4cap branch from 6ab933d to 38cfd24 Compare October 1, 2026 15:27
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (provisional, on 38cfd24: Codex is still running on this head. I will confirm or withdraw once it finishes.)

Rebased onto main 6135d9d (#139), with only paper.pdf conflicting. This PR's own diff is line for line the one I approved before the rebase. Rebuild in place: latexmk -g on one core finished with 0 warnings and its text is identical to the committed PDF. References start on p11, and the PDF now carries #139's γ displays from main.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 38cfd243a3

ℹ️ 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".

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