P/D consolidation: RTX decode + K8/V4 + prod snapshot + archive + docs + PD-RECIPE onto master #383
No reviewers
Labels
No labels
cards:go
hermes-approved
human-approved
human-approved
iter
0
iter
1
iter
2
iter
3
prio:high
prio:low
prio:med
priority/high
state
blocked
state
doing
state
done
state
review
state
todo
x280
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!383
Loading…
Reference in a new issue
No description provided.
Delete branch "opus/pd-master-consolidation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
P/D consolidation onto master. Owner, 2026-11-09: put every P/D lever, the prod scripts and configs, the docs, and a recipe on master.
This branch merges reviewed PR heads. When it lands, those PRs show as merged.
78369291ef57cfd6)f43d26e6ef57cfd6)0f5abdc27398f89800759f9f)8bc17d1f(+cd4ce910here)8bc17d1f, fixed incd4ce910c27ca707c27ca7071b80a572ebc403521d1559f9; my editebc40352got Codex R6 LANDHeld, not in this branch:
Hand-resolved content:
7398f898refusal.Every other file the merged heads changed is byte-identical to its reviewed head. Codex R7 checks the auto-merged files.
Gates run locally: check-cited-records OK, utilization --check OK, check-gate-parity OK, shellcheck OK. No card files are touched.
Impl-Model: anthropic/claude-opus-5.5
🤖 Generated with Claude Code
6a4af238describes) de43ef562478369291onto master (HISTORY: Chapter 7 from the branch, 11-09 entries under a new Chapter 8) 74c4b7a85df43d26e6(LEDGER/HISTORY: union, 11-08 beat stays in Chapter 7)af3e42b8(LEDGER/HISTORY union by date; sitecustomize: kv4 KV4_3D/K8V4 registrations appended after the lane's) 5556db766700759f9f(connector + bfp_unpack taken from #382 = the bytes deployed on cfx-llm1; the parked K4/V4 int4 import path of #370 stays in #370's history)0f5abdc2(jobsig.sh + skill pitfall on top ofaf3e42b8) 49c628a495Independent review (R4): OpenAI Codex gpt-6.1-sol, run by the P/D consolidation lead (Claude Opus 5.5). Read-only; no hardware run.
Routing: the conflict resolutions are clean. R4-1 is inherited from #382 and is being fixed on #382.
Consolidation merge resolutions @
ef57cfd635VERDICT: FIX
R4-1 is inherited by the chosen #382 connector. No additional conflict-resolution defect found.
Inspected git show --remerge-diff for all five requested commits. Additionally compared nonblank, non-heading line multisets in each parent's HISTORY and LEDGER with each merge result: no parent content was lost in any of the ten file/merge combinations. Headings were excluded from that automated union check because chapter headings were deliberately reorganized; the resulting narrative remains grouped by date/chapter.
74c4b7a8: HISTORY union retains both parents, with the incoming November 8 story in Chapter 7 and November 9 material separated.f5141316: HISTORY and LEDGER unions retain both lanes.5556db76: against its first parent, sitecustomize changes only the KV4/K8V4 documentation and registrations plus whitespace. The lane registrations remain byte-identical; the new KV4_3D and K8V4 registrations appear before installation of the finder. No lane hook was replaced by the KV4 hook.4e69d83f: both tt_handoff_connector.py and bfp_unpack.py are byte-for-byte identical to #382 @00759f9f. Removal of the K4/V4 connector dispatch is deliberate and registration now refuses bare int4_per_token_head. The diagnostic refusal is also lost, producing R4-1.49c628a4: remerge-diff is empty; no new hand-resolved conflict.ef57cfd6: the night-combo summary path exists at that tip and records TG/user 75.191 and output 533.66 tok/s. The qualified dynk W3 control path exists on its source branch and is copied by88607d6c; its summary records 68.956 and 524.93. The ehq8 LEDGER identifier and records directory exist. The new prose explicitly distinguishes uncommitted serve-log/watch facts from committed replay evidence; this is a verification limitation, not independent proof of those operational facts.ef57cfd6into the archive branch b38ad5a616813444f36ac147f9dce47f525094b2ecdc489187c9e8c0428dbf6a03dfe960f93afdd6108eed2ee01f37bbfff7a57a99843975f0bf4cc27ca707ac43b239f88bc17d1ff7f5c88a041b80a5728bc17d1f(recipe base) 7a0222c5367398f898vs prod00759f9febc40352777398f898(_dump_kv refuses k8b4/kv4; Codex R5 LAND) 5d1387f30200759f9f, master has7398f898(Codex R6 FIX on8bc17d1f) cd4ce910f1ebc40352(PD-RECIPE.md, README + design links)P/D consolidation: RTX decode night + lane (#372, #369) onto masterto P/D consolidation: RTX decode + K8/V4 + prod snapshot + archive + docs + PD-RECIPE onto masterIndependent final review (R7): OpenAI Codex gpt-6.1-sol, on head
819c6abe. It covers the content no earlier review covered.R7 — final incremental pre-merge review
#383 opus/pd-master-consolidation @
819c6abeadVERDICT: LAND
No new findings in the requested R7 scope. This verdict covers the remaining integration checks, not a repeat review of content covered by R1–R6. No performance measurement was made and no new speed number was produced.
1. Combined reviewed heads
Executed both requested per-file diffs, from lane
f43d26e6and kv40f5abdc2to819c6abe, for all four files. Inspected the resulting changes.Independently reconstructed a three-way merge using common ancestor
78369291717c61738620c43972563b0d444e62f7. The first three files merge cleanly and match the final blobs byte-for-byte. For sitecustomize, standalonegit merge-filereports one conflict: lane deletes a blank line where kv4 inserts its final registrations. Keeping the kv4 insertion produces the final blob byte-for-byte. This is a textual adjacency, not a lost functional lane change; all lane additions elsewhere merge cleanly.Validation:
bash -npasses for cells.sh and decode-serve.sh.py_compile.compile(..., doraise=True)with bytecode written to a temporary directory (the same compiler used bypython3 -m py_compile, while preserving the read-only worktree)._PATCHES == {}, sys.meta_path unchanged, environment unchanged, and no vllm/torch/triton imports. Thus no finder or patch is registered when unset.python3 tools/pd-split/rtx/rtxopt/tests/test_fi_plan_ring_cpu.py: PASS, including invalid-budget and missing-target refusals.python3 tools/pd-split/rtx/rtxopt/tests/test_marlin_a8x_hooks.py: six host cases PASS;a8_refuses_signednot run: missing dep torch;sc_realnot run: missing dep vllm. The script exits 1 due to the missing-torch case, not an observed assertion failure.python3 tools/pd-split/rtx/rtxopt/tests/test_fi_vattn_cpu.py: not run: missing dep torch.Tests used system python3; no dependencies installed or hardware accessed.
2.
cd4ce910MANIFEST correctionResolved.
tools/pd-split/prod-snapshot/20261109/MANIFEST.md:17now identifies the captured connector as #382 at00759f9f, distinguishes repository7398f898, and explicitly says they are not byte-identical pending deployment.Evidence: SHA256 of
00759f9f:tools/pd-split/connector/tt_handoff_connector.pyis9ca04f17007960f188fe74b13e7c04a092ccd818174d07687b17a92dcd7e8cb9, matching the stated capture hash prefix. The connector diff from00759f9fto7398f898adds only the_dump_kvk8b4/kv4 refusal and its comment, exactly as the corrected wording says. The correction remains present at the reviewed head.3. Merge-resolution audit
git show --remerge-diffproduces commit metadata only, with no diff hunks, for each requested merge:3ade12df26fbf2f9879e20df318a338840fa1fb6(#386)ac43b239f848bab06b988128f42f37f816b35fa6(#385)f7f5c88a045a75674463fb2650afdad7ad7787a0(#384)819c6abead24b6d3d153fd8ef09b4eae20047f26(#387)5d1387f302c31af4ec8cca53259083ae94be7750(#382 fix)No hand-resolved hunk appears in these merges.
4. Whole-branch scope sanity
Ran
git diff --stat origin/master 819c6abe -- . ':!bench/runs'and independently filtered the corresponding name-only diff. Local suppliedorigin/masterisf386d5cc22d7cad0b1f32b44d3d8c45041497f54. Overall non-record diff: 245 files changed, 35,877 insertions, 78 deletions.Nine files fall outside the listed allowed directories/file, all under tools/kvarn (648 additions total):
These are scope exceptions to list, not a newly established defect; their contents were not re-reviewed in this incremental check.
Repository remained unchanged (
git status --shortempty). No fj, SSH, servers, model downloads, deployments, or card operations were performed.verdict: request_changes
tier: T2
rationale: Scope mismatch between the branch and its own description. The title/body say only #372 and #369 land here, and explicitly mark #370 (opus/rtx-kv4) and #382 (opus/rtx-k8b4-connector) as HELD "until its window-9 verdict." But the head (
ef57cfd6) also contains the merges of #370 (5556db76,49c628a4) and #382 (4e69d83f), none of which are in master. Merging this lands 879 files / ~47,000 insertions and ships #370 + #382 ahead of the gate the body says they are still behind.concerns:
ef57cfd6includesmerge #370 opus/rtx-kv4(5556db76/af3e42b8,49c628a4/0f5abdc2) andmerge #382 opus/rtx-k8b4-connector(4e69d83f/00759f9f). Neither #370 nor #382 is in master, yet the PR body's table lists both as HELD (kv4 K8/bfp4V "window w9 running; lands after its verdict"; k8b4-connector "HELD"). Either split those two merges out of this branch (let them land via their own w9-gated PRs) or update the body to explicitly clear #370 + #382 to ship now, with the w9 verdict attached. As written, merging #383 silently advances content the drafter documented as not yet cleared.tools/pd-split/connector/bfp_unpack.py(+267),test_kernel_k8b4.py(+153),test_kernel_kv4.py(+180), and edits tott_handoff_connector.pyare new in this PR and are the connector/k8b4 work the body ties to the still-running w9 window. This is the highest-stakes part (P/D connector on the prod inference path).docs/HISTORY.md/docs/LEDGER.md— body says the only hand-edited (conflict-resolved) content is the union of these two; that part checks out and is fine.verified clean: no secret/token/credential leakage in the diff; no hard red-flag patterns (
--no-verify, force-push,magicRollback/autoRollbackdisabled,StrictHostKeyChecking=no); noflake.*,secrets/**, or.forgejo/**touched. #374 (ar-q8) content is correctly absent (0 files).note: I could not read CI state for this head —
GET /actions/runson tt-stack timed out / returned empty for theciuser. Please confirm the head's CI is green before merge.Model: ollama/agent-dense
Codex (gpt-6.1-sol) review R7 on head
819c6abe: LAND within R7 scope (integration checks; R1–R6 covered the component heads, see table in the PR body). Full report below. Coordinator check (Claude): no deleted files, no secrets in the added env/records, destructive commands limited to scratch/overlay dirs.R7 — final incremental pre-merge review
#383 opus/pd-master-consolidation @
819c6abeadVERDICT: LAND
No new findings in the requested R7 scope. This verdict covers the remaining integration checks, not a repeat review of content covered by R1–R6. No performance measurement was made and no new speed number was produced.
1. Combined reviewed heads
Executed both requested per-file diffs, from lane
f43d26e6and kv40f5abdc2to819c6abe, for all four files. Inspected the resulting changes.Independently reconstructed a three-way merge using common ancestor
78369291717c61738620c43972563b0d444e62f7. The first three files merge cleanly and match the final blobs byte-for-byte. For sitecustomize, standalonegit merge-filereports one conflict: lane deletes a blank line where kv4 inserts its final registrations. Keeping the kv4 insertion produces the final blob byte-for-byte. This is a textual adjacency, not a lost functional lane change; all lane additions elsewhere merge cleanly.Validation:
bash -npasses for cells.sh and decode-serve.sh.py_compile.compile(..., doraise=True)with bytecode written to a temporary directory (the same compiler used bypython3 -m py_compile, while preserving the read-only worktree)._PATCHES == {}, sys.meta_path unchanged, environment unchanged, and no vllm/torch/triton imports. Thus no finder or patch is registered when unset.python3 tools/pd-split/rtx/rtxopt/tests/test_fi_plan_ring_cpu.py: PASS, including invalid-budget and missing-target refusals.python3 tools/pd-split/rtx/rtxopt/tests/test_marlin_a8x_hooks.py: six host cases PASS;a8_refuses_signednot run: missing dep torch;sc_realnot run: missing dep vllm. The script exits 1 due to the missing-torch case, not an observed assertion failure.python3 tools/pd-split/rtx/rtxopt/tests/test_fi_vattn_cpu.py: not run: missing dep torch.Tests used system python3; no dependencies installed or hardware accessed.
2.
cd4ce910MANIFEST correctionResolved.
tools/pd-split/prod-snapshot/20261109/MANIFEST.md:17now identifies the captured connector as #382 at00759f9f, distinguishes repository7398f898, and explicitly says they are not byte-identical pending deployment.Evidence: SHA256 of
00759f9f:tools/pd-split/connector/tt_handoff_connector.pyis9ca04f17007960f188fe74b13e7c04a092ccd818174d07687b17a92dcd7e8cb9, matching the stated capture hash prefix. The connector diff from00759f9fto7398f898adds only the_dump_kvk8b4/kv4 refusal and its comment, exactly as the corrected wording says. The correction remains present at the reviewed head.3. Merge-resolution audit
git show --remerge-diffproduces commit metadata only, with no diff hunks, for each requested merge:3ade12df26fbf2f9879e20df318a338840fa1fb6(#386)ac43b239f848bab06b988128f42f37f816b35fa6(#385)f7f5c88a045a75674463fb2650afdad7ad7787a0(#384)819c6abead24b6d3d153fd8ef09b4eae20047f26(#387)5d1387f302c31af4ec8cca53259083ae94be7750(#382 fix)No hand-resolved hunk appears in these merges.
4. Whole-branch scope sanity
Ran
git diff --stat origin/master 819c6abe -- . ':!bench/runs'and independently filtered the corresponding name-only diff. Local suppliedorigin/masterisf386d5cc22d7cad0b1f32b44d3d8c45041497f54. Overall non-record diff: 245 files changed, 35,877 insertions, 78 deletions.Nine files fall outside the listed allowed directories/file, all under tools/kvarn (648 additions total):
These are scope exceptions to list, not a newly established defect; their contents were not re-reviewed in this incremental check.
Repository remained unchanged (
git status --shortempty). No fj, SSH, servers, model downloads, deployments, or card operations were performed.agent-gateway closeout (merged): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.