engine: RAMMAP, NUMA, and telemetry (PR1 of #377 split) - #820
Open
BColsey wants to merge 3 commits into
Open
Conversation
BColsey
force-pushed
the
successor/pr1-engine
branch
from
August 9, 2026 12:08
b854a5f to
4dbacf5
Compare
BColsey
force-pushed
the
successor/pr1-engine
branch
from
August 9, 2026 12:49
4dbacf5 to
ea46a57
Compare
Author
|
@JustVugg, this PR is ready for review. The current CI workflow and check workflow are both |
BColsey
marked this pull request as ready for review
August 9, 2026 13:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft successor — supersedes #377. One of three dependent PRs reconstructed file-by-file from the frozen green donor
5f6f31a(onto base72ddb673). Do not merge #377; it is closed as superseded once all three are open + linked.docs/superpowers/specs/2026-08-01-pr-377-stabilization-design.md(PR1, L76-80)docs/superpowers/specs/2026-08-02-pr-377-successor-reconstruction.mdScope
Engine C RAMMAP/NUMA + CUDA accounting, strict telemetry parsing, and their tests/docs. Excludes planning, mounts, lifecycle, benchmark, UI.
c/{colibri.c, backend_cuda.cu, compat.h, st.h, telemetry.h},c/Makefile,c/resource_plan.pyc/openai_server.py(PROF parsing)test_rammap.c,test_resource_masks.c,test_uring.c,test_serve_sentinel.c,test_backend_cuda.cu,test_rammap_e2e.py(parse logic),test_openai_server.py,test_openai_tools_e2e.py,test_fp8_e2e_repack_load.py,test_resource_plan.pydocs/serve_protocol.md,docs/cuda.mdReconstruction work
physical_ssd_validas== "1"(donor usesbool(int(...))); reject non-finite numerics; a malformed known-kind record is a protocol error.docs/serve_protocol.mdnormative at the PROF contract.c/Makefile(test targets here; install rules → PR2) andtest_rammap_e2e.py(parse logic here; live tmpfs cells → PR3).Dependency
None — PR1 is the root.
openai_server.pyis stdlib-only; C tests compile against PR1 headers only.Build verification (subagent worktree)
make -C c checkGREEN end-to-end: C build + 41 test binaries, C suite ALL PASS (0 failures), Python discovery 302 passed / 0 failed / 18 expected skips. Standalone — no PR2/PR3 dependency.Reconstruction update
PR1 reconstruction landed (commit f56604f): PROF telemetry strictened to exactly 10/17/18 fields +
physical_ssd_valid == "1"+ finiteness checks;docs/serve_protocol.mdmade normative; +4 tests. Green: 282 passed / 0 failed. Still TODO: hunk-split Makefile/test_rammap_e2e (organizational).Update — 2026-08-07: forward-merged
upstream/dev(forward-only merge commit; reconstruct history preserved). Conflicts resolved against the green donor3658a5d; branch rebuilt and tested linux-green (make -C c checkexit 0, 403 tests OK; conflicts inc/Makefile,c/openai_server.py,c/st.h,c/telemetry.h). Merged dev @aa46e7b; GitHub reports this branch MERGEABLE intodev(dev has since advanced to8d06bd1, but this branch's engine-only changes don't overlap the newer commits, so it stays conflict-free).