P/D docs: merge #371 #367 #366 #381 #377 #343 + review fixes #386

Closed
orchestra wants to merge 0 commits from codex/pd-docs-fix into opus/pd-master-consolidation
Member

Consolidates six reviewed documentation heads onto opus/pd-master-consolidation, then addresses every R2 P2 finding for the five FIX doc PRs in one commit per PR. Unsupported values are qualified or removed; no new performance measurement was produced.

Merged exact heads (each verified against its origin ref, each with a separate git merge --no-ff):

  • #371 docs/history-pd-delta @ 813444f34d07eeba4d180b2c74532e292c1fde71
  • #367 docs/pd-path-breakdown @ e47f52500044d6db038652f8cd8a0b1f27705b42
  • #366 skill/pd-enterprise-bench @ 9187c9e845db958c5a185399912de482d6c8d08e
  • #381 history/hermes-review-uplift @ 03dfe9607850352ca4b1c6fa66d296133a966505
  • #377 upstream-scan-20261109 @ 8eed2ee068473e85f7bdb28ceb09a23b5fb0abef
  • #343 scout/upstream-20261103 @ a57a99841335017009bbd78f1313a2af1263c6d3

Additive conflict resolutions preserve both HISTORY sides in chronological order in Chapters 6 (11-07), 7 (11-08) and 8 (11-09), and retain all LEVERS rows (CKPT_DEFER and both PIN-BUMP MUST-HAVE rows). PR source branches were not changed.

R2 findings and fixes (final-tree file:line):

  • #371: reviewed LAND; no substantive finding or fix commit.
  • #367, non-additive waterfall quantiles: docs/PD-PATH-BREAKDOWN.md:61 explicitly says cell quantiles do not add; the 0–40 ms per-request bound is unverified. docs/PD-PATH-BREAKDOWN.md:308 makes the same correction to the relay residual interpretation.
  • #367, uncommitted adaptive measurements: removed the quantitative row from the paths table (docs/PD-PATH-BREAKDOWN.md:242); docs/PD-PATH-BREAKDOWN.md:312 explains that older 04:45–04:51Z values are omitted because their router-log record is uncommitted.
  • #366, word/token equivalence: .claude/skills/pd-enterprise-bench/SKILL.md:51 and :58 prescribe a measured 32k-token target, exact-filler /tokenize calibration, and actual context/route verification for fixed-depth decode and cold/warm TTFT.
  • #366, uncited 11k→130k observation: .claude/skills/pd-enterprise-bench/SKILL.md:43 replaces it with a general tokenizer-dependent warning and fallback rejection.
  • #381, unsupported request/TG numbers: docs/HISTORY.md:639 removes the uncited 150–200 tok/s range; docs/HISTORY.md:642 explicitly marks the numerical single-request example unverified and from an uncommitted router log.
  • #381, unmatched 30× result: docs/HISTORY.md:640 attributes it to the owner as an anecdotal estimate, not a benchmark, with the missing matched-workload context stated.
  • #377, unsupported local inputs: docs/upstream/2026-11-09-upstream-scan.md:82 marks 5.5% and 55–75→7–11 as unverified reported values; :89 makes the derived +4–6% estimate conditional. :132 marks 486 tok/s and its per-chip comparison as unverified/conditional rather than a measured local baseline.
  • #343, erased B8 exception: docs/upstream/2026-11-03-scout.md:199 limits the no-credible-≥1 ms conclusion to B4 and restores the open B8 combined tier-2 WY + fusion rewrite (~1.5 ms, low-confidence ESTIMATE), verified against committed bench/runs/so-anatomy-20261024.jsonl.

Validation:

  • python3 scripts/check-cited-records.py: PASS (183 docs scanned).
  • python3 tools/utilization/overview.py --check: PASS (S12PHV-L1234, s12-prefix-host-vsplit-sf).
  • Push succeeded with normal hooks; no bypass flags used.
  • Additional git diff --check ef57cfd6 HEAD reports inherited trailing whitespace in #367 raw logs/metrics and an inherited blank EOF line in #377's scan. These merged contents were preserved; the five review-fix diffs introduce no whitespace errors.

All requested R2 doc findings are addressed. Missing underlying records remain unavailable and are explicitly qualified or their numbers removed. #379 tooling findings are outside this requested doc-only round.

Impl-Model: openai/gpt-6.1-sol

Consolidates six reviewed documentation heads onto `opus/pd-master-consolidation`, then addresses every R2 P2 finding for the five FIX doc PRs in one commit per PR. Unsupported values are qualified or removed; no new performance measurement was produced. Merged exact heads (each verified against its origin ref, each with a separate `git merge --no-ff`): - #371 `docs/history-pd-delta` @ `813444f34d07eeba4d180b2c74532e292c1fde71` - #367 `docs/pd-path-breakdown` @ `e47f52500044d6db038652f8cd8a0b1f27705b42` - #366 `skill/pd-enterprise-bench` @ `9187c9e845db958c5a185399912de482d6c8d08e` - #381 `history/hermes-review-uplift` @ `03dfe9607850352ca4b1c6fa66d296133a966505` - #377 `upstream-scan-20261109` @ `8eed2ee068473e85f7bdb28ceb09a23b5fb0abef` - #343 `scout/upstream-20261103` @ `a57a99841335017009bbd78f1313a2af1263c6d3` Additive conflict resolutions preserve both HISTORY sides in chronological order in Chapters 6 (11-07), 7 (11-08) and 8 (11-09), and retain all LEVERS rows (CKPT_DEFER and both PIN-BUMP MUST-HAVE rows). PR source branches were not changed. R2 findings and fixes (final-tree file:line): - #371: reviewed LAND; no substantive finding or fix commit. - #367, non-additive waterfall quantiles: `docs/PD-PATH-BREAKDOWN.md:61` explicitly says cell quantiles do not add; the 0–40 ms per-request bound is unverified. `docs/PD-PATH-BREAKDOWN.md:308` makes the same correction to the relay residual interpretation. - #367, uncommitted adaptive measurements: removed the quantitative row from the paths table (`docs/PD-PATH-BREAKDOWN.md:242`); `docs/PD-PATH-BREAKDOWN.md:312` explains that older 04:45–04:51Z values are omitted because their router-log record is uncommitted. - #366, word/token equivalence: `.claude/skills/pd-enterprise-bench/SKILL.md:51` and `:58` prescribe a measured 32k-token target, exact-filler `/tokenize` calibration, and actual context/route verification for fixed-depth decode and cold/warm TTFT. - #366, uncited 11k→130k observation: `.claude/skills/pd-enterprise-bench/SKILL.md:43` replaces it with a general tokenizer-dependent warning and fallback rejection. - #381, unsupported request/TG numbers: `docs/HISTORY.md:639` removes the uncited 150–200 tok/s range; `docs/HISTORY.md:642` explicitly marks the numerical single-request example unverified and from an uncommitted router log. - #381, unmatched 30× result: `docs/HISTORY.md:640` attributes it to the owner as an anecdotal estimate, not a benchmark, with the missing matched-workload context stated. - #377, unsupported local inputs: `docs/upstream/2026-11-09-upstream-scan.md:82` marks 5.5% and 55–75→7–11 as unverified reported values; `:89` makes the derived +4–6% estimate conditional. `:132` marks 486 tok/s and its per-chip comparison as unverified/conditional rather than a measured local baseline. - #343, erased B8 exception: `docs/upstream/2026-11-03-scout.md:199` limits the no-credible-≥1 ms conclusion to B4 and restores the open B8 combined tier-2 WY + fusion rewrite (~1.5 ms, low-confidence ESTIMATE), verified against committed `bench/runs/so-anatomy-20261024.jsonl`. Validation: - `python3 scripts/check-cited-records.py`: PASS (183 docs scanned). - `python3 tools/utilization/overview.py --check`: PASS (S12PHV-L1234, s12-prefix-host-vsplit-sf). - Push succeeded with normal hooks; no bypass flags used. - Additional `git diff --check ef57cfd6 HEAD` reports inherited trailing whitespace in #367 raw logs/metrics and an inherited blank EOF line in #377's scan. These merged contents were preserved; the five review-fix diffs introduce no whitespace errors. All requested R2 doc findings are addressed. Missing underlying records remain unavailable and are explicitly qualified or their numbers removed. #379 tooling findings are outside this requested doc-only round. Impl-Model: openai/gpt-6.1-sol
upstream scout 2026-11-03: lane spec decode, MiMo adaptive drafts, GDN two-pass, QB2 prefix cache, Galaxy 27B
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 5m1s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 8m56s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 19m0s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
a57a998413
Before: plugin #255 (lane-mode spec decode) and tt-metal #63865 (adaptive draft
groups, 1.38x per user) read like decode wins we were missing. Code reading says
otherwise: lane mode folds DP replicas into one mesh (we run one TP=2 replica, so
it reduces to our front-packed path), and #63865's groups pick K from live-row
count only, which is our K_BY_BUCKET, already swept on the cards. #63529's
two-pass GDN kernel matches but does not beat our state-once verify per token.

What is new for us, as six open/proposed LEVERS rows (all estimates, no card
time): acceptance-driven per-step K (L1), imbalanced-context verify SDPA (L2),
128-token prefix tail snapshots from QB2 #63661 (L3), the upstream decode
interleave policy #119 missing from our plugin pin for agentic TT-only TG (L4),
a whole-GDN-layer verify fusion modelled on #62191 (L5), and the merged q/k
read from #63529 (L6).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
skill: pd-enterprise-bench, the owner's enterprise-GPU bench method for the P/D stack
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 3m46s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 7m29s
cards-fresh cards: not needed (C1) fp=2946ee7708acdd9b
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 18m42s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
4c09f84c21
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
pd-enterprise-bench: worst-case cold burst and best-case 30k shared prefix + 2-6k unique scenarios
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 7m19s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 11m21s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 9m23s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
9187c9e845
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Scenario A (cold 4k/32k x B1/B4/B8) and B (30k shared prefix + 2-6k) waterfalls through Bifrost,
joined with pd-router.jsonl and the RTX TT_HANDOFF import lines; night-combo RTX decode per-op
torch profiles at B1 4k/32k, B4 32k, B8 4k; TT prefill cold/hit cost model from 152+70 router
records; real agentic traffic mix (234 requests) and the top-10 costs by time x frequency.
Records: bench/runs/pd-path-breakdown-20261108/ (#334 window 12:45-13:48 CET).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
PD-PATH-BREAKDOWN: cite the records dir as a glob (check-cited-records)
All checks were successful
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
tt-stack-ci / Report upstream drift (pull_request) Successful in 5m6s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 14m31s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 44m32s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
e47f525000
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
HISTORY: 2026-11-08 delta KV export ships (P/D path)
All checks were successful
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 13m28s
tt-stack-ci / Report upstream drift (pull_request) Successful in 3m54s
cards-fresh cards: not needed (C1) fp=2946ee7708acdd9b
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 17m27s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
157cc209ea
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
HISTORY: n1d ships (B8 TG/user 84 -> 159, follow-up turns 35-42 -> 182-188)
Some checks failed
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 6m55s
tt-stack-ci / Report upstream drift (pull_request) Failing after 3m51s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 12m57s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=7d0922d2e7c868ef
c6266b75c1
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
HISTORY: #373 broker fixes live, router restarts without 502s
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
832aa6e858
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Merge remote-tracking branch 'origin/master' into docs/history-pd-delta
All checks were successful
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 11m45s
tt-stack-ci / Report upstream drift (pull_request) Successful in 3m26s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 17m32s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
813444f34d
upstream scan 2026-11-09: #283 not affected (latent) + CPU test; #282/#284/#64604/#64715 verdicts; ranked ports
Some checks failed
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
ef2c30d747
Desk research only. Adds docs/upstream/2026-11-09-upstream-scan.md and
tests/test_state_slot_continuing_chunk.py (host-only, 5/5).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
LEVERS Pending: tt-metal #59623 and #64247 marked pin-bump must-haves
Some checks failed
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
708c1dfdbb
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
scan doc: the #283 test moves to the port PR
All checks were successful
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
tt-stack-ci / Report upstream drift (pull_request) Successful in 6m18s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 10m4s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 45m6s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
8eed2ee068
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
HISTORY: Hermes re-review went from ~30 min (NV only) to under 1 min on P/D with prefix caching
All checks were successful
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 7m58s
tt-stack-ci / Report upstream drift (pull_request) Successful in 5m30s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 25m23s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
03dfe96078
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>

# Conflicts:
#	docs/HISTORY.md
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>

# Conflicts:
#	docs/HISTORY.md
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>

# Conflicts:
#	docs/LEVERS.md
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Author
Member

Independent review: Claude Opus 5.5 (the P/D consolidation lead). The implementer is OpenAI Codex, so the vendors differ. Head reviewed: 1b80a572.

VERDICT: LAND

  • I read the 6 merge commits with git show --remerge-diff. The hand-resolved ones are 6ac147f9 (#371) and f93afdd6 (#381) in docs/HISTORY.md, and 1f37bbff (#377) in docs/LEVERS.md. Line-multiset check, every nonblank line of each parent present in the result: 0 missing, except one line, #371's "## Chapter 7 — 2026-11-08: tuning the live P/D path" heading. Its beats now sit under the existing Chapter 7 and Chapter 8 headings in date order. That is intended.
  • The 5 fix commits (5e515846, 44ddff06, 8b59d467, 452d84ad, 1b80a572) each address the P2 findings of review R2 on #367, #366, #381, #377 and #343. Claims without a committed record are reworded as unverified, anecdotal or an estimate, or removed. No new number is introduced. The #343 fix restores the B8 ~1.5 ms low-confidence ESTIMATE, citing bench/runs/so-anatomy-20261024.jsonl.
  • check-cited-records and utilization --check pass (Codex run; CI re-checks).
**Independent review: Claude Opus 5.5 (the P/D consolidation lead). The implementer is OpenAI Codex, so the vendors differ.** Head reviewed: 1b80a572. VERDICT: LAND - I read the 6 merge commits with `git show --remerge-diff`. The hand-resolved ones are 6ac147f9 (#371) and f93afdd6 (#381) in docs/HISTORY.md, and 1f37bbff (#377) in docs/LEVERS.md. Line-multiset check, every nonblank line of each parent present in the result: 0 missing, except one line, #371's "## Chapter 7 — 2026-11-08: tuning the live P/D path" heading. Its beats now sit under the existing Chapter 7 and Chapter 8 headings in date order. That is intended. - The 5 fix commits (5e515846, 44ddff06, 8b59d467, 452d84ad, 1b80a572) each address the P2 findings of review R2 on #367, #366, #381, #377 and #343. Claims without a committed record are reworded as unverified, anecdotal or an estimate, or removed. No new number is introduced. The #343 fix restores the B8 ~1.5 ms low-confidence ESTIMATE, citing `bench/runs/so-anatomy-20261024.jsonl`. - check-cited-records and utilization --check pass (Codex run; CI re-checks).
Grok referenced this pull request from a commit 2026-11-09 16:54:07 +01:00
Owner

verdict: approve
tier: T0 (docs-only: docs/, .claude/skills/, bench/runs/ records; zero code/config/host impact)

rationale: Additive consolidation of six previously reviewed heads onto opus/pd-master-consolidation, followed by five R2 fix commits that only re-qualify or remove unsupported claims. I re-verified the head (1b80a572) diff against the source PRs: every fix commit is a 1-file doc edit (7/9/5/9/3 line deltas), no new numbers introduced, and no claim without a committed record is left unqualified. The prior independent (Opus) review of this exact head already landed LAND with a line-multiset check of the hand-resolved merge commits; my pass confirms that read. Secret scan of the full 23.4k-line patch: clean.

concerns:

  • [nit] Merge-conflict resolutions in docs/HISTORY.md chapters 6–8 were hand-resolved (beats re-homed under existing chapter headings); #371's own 'Chapter 7 — 2026-11-08' heading line was dropped intentionally since its content now sits under the existing Chapter 7/8 headings. Chronology preserved; acceptable, noting for the record.

Model: custom/agent-dense

**verdict:** approve **tier:** T0 (docs-only: docs/, .claude/skills/, bench/runs/ records; zero code/config/host impact) **rationale:** Additive consolidation of six previously reviewed heads onto `opus/pd-master-consolidation`, followed by five R2 fix commits that only re-qualify or remove unsupported claims. I re-verified the head (1b80a572) diff against the source PRs: every fix commit is a 1-file doc edit (7/9/5/9/3 line deltas), no new numbers introduced, and no claim without a committed record is left unqualified. The prior independent (Opus) review of this exact head already landed LAND with a line-multiset check of the hand-resolved merge commits; my pass confirms that read. Secret scan of the full 23.4k-line patch: clean. **concerns:** - [nit] Merge-conflict resolutions in docs/HISTORY.md chapters 6–8 were hand-resolved (beats re-homed under existing chapter headings); #371's own 'Chapter 7 — 2026-11-08' heading line was dropped intentionally since its content now sits under the existing Chapter 7/8 headings. Chronology preserved; acceptable, noting for the record. Model: custom/agent-dense
Author
Member

Landed on master via #383 (fast-forward, master = 819c6abe); this head is an ancestor of master. Closing.

Landed on master via #383 (fast-forward, master = 819c6abe); this head is an ancestor of master. Closing.
orchestra closed this pull request 2026-11-09 19:16:41 +01:00
Owner

agent-gateway closeout (closed): cleared agent:* labels.
Hermes kanban card (if any) is left for Hermes to archive/complete.

agent-gateway closeout (closed): cleared `agent:*` labels. Hermes kanban card (if any) is left for Hermes to archive/complete.

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitpartner/tt-stack!386
No description provided.