Retrospective: M11a (hyper_sssp’s store side and the as-is H-SOSP port)#
Status: complete on the branch m11a-hyper-sssp (all five steps done; the code frozen at
c78e4ef; the pull request next). M11a is the first half
of PLAN 11.4’s M11 row: the reference side against MOSP_ESCHER@4b86159 (B), the container’s
incidence edits and the slack_csr storage and line graph, the sequential and as-is CUDA
hyper_sssp, the mutations, and the gates against B; M11b follows with the sssp D13 fix, the
shared sssp engine (O12), Python, the CLI, the docs and the freeze. Each step adds its section
here. Release 0.4.0 = M10a + M10b + M11a + M11b (PLAN Appendix F; the four-PR split is the
author’s decision of 2026-10-28, sheet A1).
Base. The orchestrator created the branch in the worktree wt-m11 from origin/main at
b2b1524: the merge of P040 (PR #20, 0.4.0.dev0 with the empty M10 / M11 anchor blocks in the
shared files) on top of 20bc2d0 (PR #18, Release 0.3.0rc1) and R031 (PR #19, release-0.3.0-final).
The five-file guard (S6) passed on it: cpp/src/util/region_exceptions.hpp,
cpp/tests/support/failing_allocator.hpp, ADRs 0061 and 0062,
parity/experiments/hypergraph_host_ab.py and parity/certify.py’s GPU_LOCAL_STEPS (with its
single (0, 4) key and the M10 / M11 sub-lists). M10 runs in parallel in wt-m10.
The author’s decisions for M11 (2026-10-28). The author accepted every default of the
reconciled 0.4.0 decision sheet: HD1-HD19 and the structure A1-A3, recorded by P040 in
GOVERNANCE.md’s approvals log (its seven rows of 2026-10-28; M11a step 1 checked them and adds no
second row) and verbatim in parity/results/M11a.md section 0. Still pending the author: F1’s
stability confirmation at 0.4.0 (HD17) and the acknowledgement items of GOVERNANCE’s “M11 (HD)”
block.
Step 1: the reference side (regions-exporter-goldens-oracle)#
What was built#
Commit |
What |
|---|---|
|
First commit of the branch: |
|
|
|
|
|
the M10 / M11 comment anchors in |
|
the H-SOSP dump of the recording twins ( |
|
|
|
|
|
the C++ dump reader, the go/no-go tool |
|
the API baseline’s tracked section of |
|
|
|
the exporter stores no iteration count (the first double export’s finding) and streams the large CBST traces |
|
the M10 / M11 anchors in |
|
clang-format of the new C++ sources; one |
|
|
(records) |
the golden set in |
Results: the region map before any port code; the golden set hyper_sssp_mosp_escher (25 cases,
600.7 MB) exported twice from two fresh patched copies with byte-identical manifests
(62113394...c872), its batch records equal to the CBST trace goldens; the twins equal to the
originals with recording off, the CBST traces unchanged; B passes its own make test and its
oracle on all 48 batches of P at --verify all, with h2h_pairs, seeds, overflow_rebuilds and the
fallback decisions equal to the export’s; both datasets read at base, the audit at 16 / 4; the
oracle reproduces B’s 788 updates and recomputes and 728 batch deltas exactly: GO
(parity/results/M11a.md). Nothing was found against the original.
Deviations from the plan and the step’s text (each with the same intent)#
Geology (HD15). The decided recipe, Benson’s coauth-MAG-Geology-full re-derived with B’s and dynG’s converters, gives identical bytes on both sides, but not B’s measured file: 1,204,704 lines and 1,261,129 vertices (SHA-256
e14e2558...) againstgeology.hg’s 1,203,895 and 1,256,385 (884e04ff...). B’s results/README.md names the full archive, but its counts are those of the collection’s restricted archive (simplices of at most 25 nodes), which re-derivesgeology.hgbyte for byte with both converters. Both archives are registered; the goldens and gates usegeology.hg, as HD15 directs when the re-derivation differs. Step 1 listed it for the author’s acknowledgement; the author decided it on 2026-10-29 (GOVERNANCE.md approvals log): the goldens and gates usegeology.hg, re-derived from the restricted archive coauth-MAG-Geology, the documentation names that archive and says that B’s README names coauth-MAG-Geology-full, and both archives stay registered.The isolation check of the oracle lives with its three precedents in
cpp/tests(check_model_isolation.cmake, run by ctest, i.e. byci/check.sh’s build step and hosted CI) rather than as a new script underci/; the planted violations are two CTests that pass only on the check’s own failure message.No struct for the oracle’s results:
std::pairs of standard containers, so that the oracle adds exactly HD12’s three names (a result struct would be a new public name for the author).A vertex source’s parent rule. A hyperedge holding the source vertex and reached from it (D(h) == w(h)) has parent -1 even when a lower-id neighbour is also tight: the public-mode counterpart of B’s virtual source row, which always wins that tie (HD2’s documented difference). B’s own oracle has no vertex source.
The paper cases’ loaded rows are stored once per dataset (
loads/<dataset>.hsd.zst; B’s loader is seeded, so a dataset’s eight configurations load the same rows), and every paper dump holds their digests; the go/no-go splices them back.The GCC 13 compile of the new sources was done with GCC 14.3 (conda; the machine has no GCC 13), with
-D_FORTIFY_SOURCE=3 -O2 -Wall -Wextra -Wpedantic -Werror, next to the Clang 18 syntax check of every translation unit and the fortified cpu-only Release build.The quiet pre-read’s probe configuration is each dataset’s heaviest,
<dataset>_hyperedge_200000: if boost holds there it holds on the dataset’s lighter cases.hyper_sssp.recomputeis emitted on every update (0 ms without a fallback), so that the gatedsosp_updaterow is defined on every batch with the existing loader (no optional-stage key is added toREGION_KEYS).certify.pylearns the hyper_sssp golden kind in step 1 (criterion 21 is step 5’s): adding the set toparity/goldens.tomlmade every certificate test with an unparsable version fail (such a certificate needs every set), so the kind’s rule (required from 0.4, every backend and mode of the set’s[modes]table, every case; a 0.1-0.3 certificate lists it without a verdict) and its test fixture came with the set. Step 5 adds the rest of criterion 21 (the suites, the replays of the id records, the dry runs).ci/check.shran at the end of the step, not before every commit: each commit had its targeted checks (ruff, the new tests, the oracle builds); the full gate found the clang-format layout, one Sphinx warning (a multi-name@throws), the certificate tests (deviation 9) and a timing-sensitive sampler test, all fixed in the step (31628c8,dcef49a), and passes on the final tree.
Lessons#
Export twice, and look at what differs. The first double export differed in one stderr line that held a logged-only counter (the initial recompute’s iterations): the same lesson as M8a’s and M9a’s, now caught by the second export rather than by a reviewer.
The originals’ documentation can name a different input than the one they measured (Geology: the README names the full archive, its counts are the restricted one’s); a byte-for-byte re-derivation tells which, and both archives are now registered.
A shared machine is never quiet: even inside the exclusive window 1-3 foreign CPU cores ran (other users). The probe counts such rounds as not held; the gate readings will retake them.
Notes for the next steps#
The golden set’s by-id coverage table and the parity modes per backend are in
parity/goldens.toml([sets.hyper_sssp_mosp_escher.coverage],.modes).parity/hsosp_dump.pyandcpp/tests/parity/hsosp/hsosp_dump.hppread the dumps; thedyng-compat-hsosp to-dgbconverter (step 2) can build on the C++ reader. A dump’sbegin_batchexit record also holds B’s incidence changes (inc.key,inc.sign, the touched hyperedges and vertices with their post lengths): the reference of the applied record.docs/developer/python_gaps.md(a shared file) gets the testing names’ Python status with the Python surface in M11b.Both datasets are read at base in the gates (section 6); Geology’s boost probe could be retaken on a quieter machine before step 5’s readings (its clocks held, its rounds were contaminated).
parity/hsosp_perf.pyhasprobe; step 3 addsrun(withperf_ab.load_hsosp_regionsandhsosp_original_value),memoryandkernels.The patched copy with the H-SOSP twins is kept at
$DYNG_SCRATCH/ref/MOSP_ESCHER@4b86159/patched-hsosp-1(the second,patched-hsosp-2, which only served the second export, is removed).
Step 2: the carried items, the incidence edits and the host slack_csr store (carried-host-incidence-slack)#
What was built#
Commit |
What |
|---|---|
|
First commit of the step: |
|
Second commit: |
|
the id allocator models ESCHER’s H2V fills and unfills (the tail occupancy), its lockstep with the host model and MOSP_ESCHER’s recorded trees (ADR 0085) |
|
the weights by id updated in place (ADR 0088) |
|
slack_csr storage on the host: the store, the slack CSR line graph, |
|
triad_count and |
|
the seven appended incidence mixes of |
|
the kit’s slack_csr presets, incidence mixes and |
|
|
|
the batch files hold incidence edits ( |
|
|
|
|
(records) |
the API baseline, the allocation-failure tests of the new regions, the id-replay records, |
Results (parity/results/M11a.md section 8): MOSP_ESCHER’s sessions are replayed whole on
slack_csr storage, vertex-kind batches included, on sequential and openmp with 1 and 8 threads:
the dumps’ 153 sessions, 734 batches (504 vertex-kind), 224,984 ids and 32.9 million pairs and the
CBST traces’ 155 sessions and 730 batches give MOSP_ESCHER’s ids, skip counts, dead ids, rows,
weights, pairs and pair counts with 0 mismatches and no stopped session (GO, no STOP S3); the
allocator matches every recorded H2V state; the 0.3 replays and files are unchanged; the 0.3.0
reader refuses the new files.
Deviations from the plan and the step’s text (each with the same intent)#
incidence_deltaruns inside the container’s commit (the stagehypergraph.apply.translatebetween.incidenceand.line_graph), not as hyper_sssp’stranslatestage of PLAN 4.5.3’s sketch: the framework has no translate hook before the commit point, and the container’s line graph must be exact after every commit with or without an attached algorithm. hyper_sssp reads the pairs from the applied record. The region map’smaintainrow (ADR 0080) already counts translate insidehypergraph.apply(ADR 0086 section 5).The Python layer refuses slack_csr storage,
.dgbfiles withincidence_editsand.dgtbatches with+i/-i(NotSupportedError, “planned for the Python layer of 0.4”) until M11b, rather than dropping the edits; the generators’ Python enum keeps the 0.3 mixes.No incidence mirror on the host. B’s DeviceIncidence is device-only; its slot rules (
he_slot_for,v_slot_for, the re-upload growth) are inslack_layout.hppfor step 3’s CUDA store, and the host store reads its own rows. The host candidate counts equal B’s on all 734 batches; criterion 10 asserts them on the CUDA store only (step 3).The GCC 13 compile: a real GCC 13.4 (the conda package cache, as a compile-only front end over the system glibc headers) with
-O2 -D_FORTIFY_SOURCE=3 -Werrorover all 569 translation units of the dev build: 566 compile; 3 test files untouched since the base (graph/allocation_failure_test.cpp,io/fuzz_regression_test.cpp,algorithms/mosp/mosp_allocation_failure_test.cpp) fail GCC 13’s-Wmismatched-new-deleteon their replaced globaloperator new/deleteunder-O2(a known false positive of that warning), and compile with the dev build’s flags. Recorded, not changed in this step.The DBLP CBST replays ran without the quadratic
rebuild_line_graphcheck (as M8b’s DBLP line-graph replays); the oracle ran on the same sessions through the P50 dumps.dyng-compat-hsospwrites one.hg/.dgb/.txtper session (a T dump holds up to 50 sessions); batches B rejected are not written (counted), and operations a file cannot hold (an id below 1, a negative vertex; B skips them) are filtered and counted with the virtual ones. Itsreplaychecks the ids and skip counts without a line graph (the ids do not depend on it).batch_writer::writeraisesinvalid_argument_error(wasnot_supported_error) for an edit in a file opened without the flag: the flags are fixed at open (HD10), so the refusal is the caller’s argument; an api-change entry.The allocator keeps the values of a row’s tail segment only for rows whose tail is an overflow segment (a single-segment row’s tail is the whole row), the smallest state that reproduces ESCHER’s unfill occupancy.
ci/check.shran at the end of the step, as in step 1; every commit had its targeted checks.The step’s results are
parity/results/M11a.mdsection 8, not section 2 as the step’s text says: step 1 numbered its sections 0-7 (section 2 is Geology), so each step appends its own section.The step was resumed after an interruption (the account’s spend limit, about 10:24Z on 2026-10-29): the commits up to
628e95fwere kept; the resumed session committed the uncommitted remainder (the allocation-failure tests of the new regions, the API baseline, the records) and ran the step’s checks again on the final tree (section 8.7).tsan-openmp ran through a local wrapper of the conda Clang 18.1.8 (as in R020 and R030:
--gcc-install-dirGCC 12,--sysroot=/,-Wno-deprecated-declarations, and-Wno-unused-command-line-argumentfor its link-only flags), Archer the dyng-clang environment’slibarcher.so.bakthroughDYNG_ARCHER_LIBRARY.
The GPU-1 quiet windows of M10a (recorded at the orchestrator’s request)#
M10a reported that GPU-1 jobs of this milestone ran inside its open GPU1-QUIET windows on
2026-10-29: 04:08-04:12Z (START GPU1-QUIET M10a reference-side-baseline-calibration nsys-peak-original 04:08:31Z, ended rc=1), 04:35Z and 04:36Z (its two retakes, ended rc=1).
The processes were MOSP_ESCHER’s hsospBench and test binaries: step 1’s cross-checks of B
(section 5 of parity/results/M11a.md: the unpatched make test, the 16 paper configurations
at --verify all) and its exports, run on GPU 1 under the shared lock without first asking
tools/locklog.py quiet-ok. M10a’s memory readings of those windows were void (a foreign
process on GPU 1) and were discarded by M10a; none of M11a’s own results depend on them (B’s
cross-checks are correctness runs, not readings). From step 2 on, every job that touches GPU 1
(tests, references, benchmarks, profilers) first runs python3 $DYNG_SCRATCH/tools/locklog.py quiet-ok M11a <step key> and waits, re-checking every minute,
while it exits 1; a series of jobs checks before each job, not once. Step 2’s work is on the host
backends; its one GPU-1 job (the hypergraph CUDA tests, the refusal of slack_csr on cuda) ran
after quiet-ok.
Lessons#
A shared GPU is shared at every job, not at every step: a correctness run on GPU 1 is a foreign process in the other track’s memory reading; ask
quiet-okbefore each one.A model of an unsorted store compares sets. The first slack replay of the CBST traces reported 588 “h2v row differs” against the host model: the model’s rows are in slot order after fills and unfills, the container’s views sorted. The comparator, not the port, was wrong.
A sweep of allocation failures must not contain the test’s own allocations: the first slack build sweep failed its first allocation in the test’s list builder.
Order-free by construction is cheaper than order-free by testing: the pair delta reads only the states before and after the batch, so the permutation test and the 1/8-thread replays agree by design.
Notes for the next steps#
Step 3’s CUDA store reuses
slack_layout.hppandincidence_delta’s rule; the host store anddyng_hsosp_replayare its reference (--backendtakes sequential and openmp now); the candidate counts and CSR rebuilds must equal B’s there (they already do on the host).SlackBackends.SlackCsrOnCudaArrivesInStep3flips when the CUDA store lands.The applied record (
has_slack_record, the touched rows, the vertex lengths, the pairs, the new / recreated / dead ids) is what hyper_sssp’s update reads (step 4).
Step 3: the CUDA slack_csr store and the early maintain reading (cuda-slack-csr-translate-early-read)#
What was built#
Commit |
What |
|---|---|
|
First commit of the resumed step: the author’s decision of 2026-10-29 on HD15 (sheet G2) recorded: the goldens and gates use |
|
|
|
c1: MOSP_ESCHER’s device graph transplanted (DeviceIncidence, DeviceH2H, deriveDelta, applyDeltaPairs / applyRowsWarp), the store over the host model, slack_csr on cuda (ADR 0089) |
|
c2-c6: errors, streams, memory, scratch, stages (one mechanical class each) |
|
node growth, the int32 limits, the forced overflows and over-limit tests, the CUDA mutation twins #3, #7, #8 |
|
the id allocator’s dead-key bitset and overflow-tail flag |
|
a slack_csr batch’s host side in one pass per list (Step 0 grouped by hyperedge in parallel, the v2h changes grouped by vertex, the record merged, the fixed host team) |
|
the frozen docs: slack_csr storage on every backend (api-change) |
|
|
|
|
|
the slack_csr steps of |
(records) |
ADR 0089, the README row, GOVERNANCE.md, CHANGELOG (M11 block), |
Deviations from the plan and the step’s text (each with the same intent)#
The host side of a batch was rewritten in this step (ADR 0089 section 8), not only profiled: the first early profile was 2-6x B’s maintain row, all in the host stages. The outcomes are unchanged (every replay of sections 8.3 and 9.2 re-run on the final code, 0 mismatches) and are the same on every thread count (a test); the allocator change is shared with escher storage’s host model (the same ids; the 0.3 id replays unchanged).
A fixed host team of at most 16 threads for every host region of slack_csr storage (
host_team.hpp), whatever the resources’ thread count: 56 threads on the shared 28-core host were slower for both the batches and the build, and libgomp’s pool resizing made mixed team sizes cost 20-30 ms in the first batch. The driver still passes the machine’s thread count (B’s OpenMP default).The host model’s v2h rows are unsorted, as B’s (the step’s text lists it as the later alternative): the public view and the checks sort them; the device mirror is B’s layout.
The step’s results are
parity/results/M11a.mdsection 9, not section 3 (steps 1 and 2 used sections 0-8; each step appends its own section).The records of the replays were taken with the parity-cuda and cpu-only Release builds (the T + P50 replays on the step’s code before two last edits that do not change outputs: the rows’ capacity reservation and the removal of temporary profiling lines; the 16 paper configurations on cuda on the final code).
The step was resumed after the account’s usage limit (about 21:10Z on 2026-10-29): the eight commits
383eb90-f62bdf5were kept (every replay re-run on the step’s final code, 0 mismatches); the uncommitted remainder (the bench, the harness, the gpu_local step, the v2h edits) was reviewed, finished and committed in logical commits.ci/check.shran at the end of the step, as in steps 1 and 2; every commit had its targeted checks.
Lessons#
Profile the host side of a GPU port first. The transplanted kernels were B’s from the first commit; the cost was in the host passes around them (copies, sorts, groupings, read-backs, and an O(|E|) scan of the allocator per insert), each cheap alone and together 2-6x B’s row.
More threads are not faster on a shared host. A 56-thread team lost to a 16-thread one on every region measured, the build included; and changing team sizes is not free in libgomp.
Group by the key that makes the work independent (the hyperedge for Step 0, the vertex for v2h): the parallel result is the sequential one by construction, and one radix sort replaces several comparison sorts.
Notes for the next steps#
hyper_sssp’s CUDA engine (step 4) reads
slack_access::rows()(rowStart, deg, colInd, node weights, the live entries) andlast_delta()(the device pairs, the new and dead ids, the new weights); the applied record’spairsare copied to the host only on request (hypergraph_access::pairs()).dyng-compat-hsosp benchrefuses everything but--maintain-onlyuntil step 4 adds the update and static rows;hsosp_perf.py runlikewise until step 5.graph_scope_bytes()(B’s graph_mb scope) is in place for the memory gate (step 5).
Step 4: hyper_sssp on sequential and the as-is CUDA engine (hyper-sssp-sequential-asis-cuda)#
What was built#
Commit |
What |
|---|---|
|
First: the fixed-point hypergraph fake |
|
the scaffold ( |
|
the host incidence’s v2h for the algorithms; a lifetime token per store state (the stale checks of |
|
the draft |
|
c1: MOSP_ESCHER’s SOSP engine transplanted ( |
|
the result replays by id, by id with the public source and by key ( |
|
c2-c5: errors, streams, memory, the stages and counted host synchronizations (the cuda replay of make test exact after each) |
|
|
|
the mutation sites #1 and #2 in both engines, with their CTests |
|
the allocation-failure tests of compute, update, clone and vertex_distances |
|
the hyper_sssp step of |
|
|
|
|
|
ADRs 0090-0092, their README and GOVERNANCE rows, the names for the author, the draft algorithm page |
|
the fixes of the step’s final check (format, provenance, the scaffold check’s build without hyper_sssp, GCC 13’s |
|
|
(records) |
|
Deviations from the plan and the step’s text (each with the same intent)#
The step’s results are
parity/results/M11a.mdsection 10, not section 4 (steps 1-3 used sections 0-9; each step appends its own section).The framework gained one hook,
over_budget(ctx)(ADR 0092 section 2): H-SOSP’s budget counts relaxations, which the iteration cap cannot express; nothing else of the framework changed.The host engine has only the work trigger (ADR 0092 section 1): B’s host emulation has no push rounds, no packed 32-bit word and no pointer jumping, so
max_iterations, the width and the jump cap do not apply there (documented). On make test the sequential backend falls back on 71 batches against B’s (and cuda’s) 73, with identical results; the fallback decision is not a parity target (HD7) and is tabulated (section 10.4).translate stays inside the container’s commit (ADR 0086, inherited from step 2): hyper_sssp reads the applied record’s pair delta; there is no
hyper_sssp.translatestage.The virtual-endpoint mode also carries B’s recompute block size and a recompute into an existing result (the bench’s static row into a second, pre-allocated result), all internal (
detail::hyper_sssp_virtual).The bench leaves three of hsospBench’s 44 columns empty (timestamp, dev_mem_mb and escher_mb: B fills the last from its device CBST, which the port models on the host); the others equal B’s deterministic columns.
The launch record covers the whole process, not each batch (nsys counts per process; the three batches are the same for both sides), and is now a harness command (
511ae3c) taken again on the final build; the recompute’s chaotic pull rounds differ by schedule on dblp_hyperedge_50000 (the results do not).The result records were taken again on the step’s final build in this resume (the first attempt’s records were from
11175e1/a23a747, before the final check’s fixes, which change no output); the new ones equal the old ones in every total and digest.The step was resumed twice after the account’s spend limit; the committed work was kept, and the uncommitted records were taken again (deviation 8).
GCC 13 is GCC 13.4 from the conda package cache (as in steps 2 and 3); the three test files of step 2’s open issue still fail there with
-Wmismatched-new-delete, unchanged since the base.ci/check.shran at the end of the step, as in steps 1-3; every commit had its targeted checks.The pre-read was taken in the last resume (one EXCL window, 06:47Z-06:49Z on 2026-10-30, on the final build): the first attempt’s window (02:01Z) rejected 11 rounds in a row for 2.0-3.2 foreign CPU cores and gave up (no record kept), and a queued retake that had not yet got the lock (no window opened) was withdrawn so that
ci/check.shcould run first. The other track’s back-to-back windows hold the exclusive lock for long stretches;locklog.py runpolls it every 5 s, so a queued window waits for a real gap.
Lessons#
A fake through the framework first is cheap and finds the bend early: the budget hook was the only framework change, found before any engine code depended on the enactor’s shape.
Transplant, then make the mechanical classes one commit each, replaying after every one: a divergence would have pointed at one class, and the SASS stayed B’s except where a hunk changed the code on purpose.
Digest every call’s result and compare digests across runs and backends (
--repeat,--same-as): sequential == cuda and the ten repeated runs became checks of the same record format rather than separate harnesses.
Notes for the next steps#
Step 5 registers the mutation suite (
parity/mutate.py, sites #1-#8), takes the gate readings of criterion 18 withhsosp_perf.py run(every row; the pre-read of section 10.7 found every gated row within its bar, the closestsosp_updateat 1.02 on dblp_hyperedge_50000), the memory readings of criterion 19 in a GPU1-QUIET window (graph_scope_bytes()is in place), criterion 20’s 0.3 readings, and the rest of criterion 21. The process-wall row includes the port’s read of the golden’s dump (section 10.7).M11b inherits the as-is engine as
engine::fusedand checks the shared sssp engine against it (HD13), completes the algorithm page and freezes<dyng/hyper_sssp.hpp>; C4 of the kit is skipped until then (one engine per backend).
Step 5: the mutations, the 0.3 no-regression readings, the gates and the certificate (mutations-noregression-gates-certificate)#
What was built#
Commit |
What |
|---|---|
|
|
|
|
|
|
|
|
|
the certificate records of |
|
|
|
|
|
the mutation, SASS-identity and store-bytes records; the ia3_hsosp readings and the dry 0.4 certify |
|
|
(records) |
ADR 0093’s outcome, the ADR 0024 and placement records, |
Deviations from the plan and the step’s text (each with the same intent)#
The results are in section 11 of
parity/results/M11a.md, not in the sections the step’s text names, because steps 1-4 used sections 0-10.coauth-DBLP’s gate reading is at base clocks although its probe held boost (
e3d5203): its 21-round reading at boost lost the lock in 36 of its first 56 rounds and was stopped; ADR 0021 reads a case that cannot hold boost at base. Geology held boost and was read at boost.The ADR 0024 regions above the bar were located with a second reading of both sides rebuilt with R020’s flag set FB (the JCC-erratum mitigation), as R030 located its construction row (section 11.5); they are code placement (the FB rebuild of both sides reads every region within the bar) and were listed for the author’s acknowledgement, not fixed in code (HD16, the D14 path); the author acknowledged them on 2026-11-03, kept as they are for 0.4.0.
ci/gpu_local.shran the steps the step changes (build, gpu, cbst, hypergraph, triad, slack, hyper_sssp); memcheck over every executable, the sssp / cycle_count corpora and sanitizers, the plugin wheel step and tidy were skipped (DYNG_GPU_SKIP): the library has not changed in them since step 4, and the release certificate runs every step. The plugin wheel was built byci/plugin_wheels.shfor the size record (section 11.9).M10’s scoped dry run was not run: M10’s (0, 4) entries are not on this branch (
origin/mainis stillb2b1524); the second of M10b / M11b to freeze runs both.The first gated memory reading was refused by the harness (a tracked file was being edited: a
+dirtyport commit) and retaken in a second GPU1-QUIET window; its 200K part saw a foreign process on GPU 1 and was discarded (section 11.7).The step was resumed twice: once after the usage-limit cut of 14:14 UTC (the window drivers finished after the cut, every window rc=0; their records were read and recorded in the resume), and once after an attempt that answered a relayed question and did no work.
GCC 13 is GCC 13.4 from the conda package cache (no GCC 13 on the machine), as in steps 2-4; the 3 pre-existing test files still fail there (open issue since step 2).
Lessons#
A heavy GPU-1 command holds the shared lock for its whole length:
ctest -L gpuunderflock -skeeps every exclusive window of both tracks waiting; take the exclusive readings first, then the long shared-lock checks.Locate a dynG-against-dynG excursion by the instruction stream before reading again: identical instructions at a different alignment point to placement, and the FB rebuild of both sides shows it; a changed function is a candidate real cost.
One record per configuration kept every window under an hour, so the other track’s readings could interleave and a retake replaced one file.
Notes for M11b#
The gate suite
ia3_hsospand its records are the baseline the shared sssp engine (HD13) must equal or beat:engine::automaticpicks the shared engine only if it is byte-identical to the as-is engine and to B and within every gate of section 11.6. Read it at the same clocks (both datasets at base since the review,ba1120b) unless a new probe says otherwise.The sssp D13 fix (M11b step 1) needs its own ADR 0024 reading and must keep the gates against MOSP-CUDA, MOSP-OpenMP and ESCHER-GPU (S7).
The open acknowledgement items in GOVERNANCE’s “M11 (HD)” block (the names of steps 2 and 4) go to the author with M11a’s PR; step 5’s ADR 0024 item (HD16) was acknowledged by the author on 2026-11-03; HD17’s stability confirmation follows at 0.4.0.
Python (
dyng.hyper_sssp, the slack_csr storage and incidence edits indyng.Hypergraph), the CLI, the algorithm page anddocs/developer/python_gaps.md’s entries for the new testing names are M11b’s.
The review of M11a (independent reviewers’ confirmed findings)#
Twenty-four findings, each confirmed by a skeptic, were fixed on the branch in small commits (base
of the fixes 328d1f2), with the affected tests, replays and readings taken again on the fixed
code (parity/results/M11a.md section 12).
What was fixed#
Robustness of the cuda paths. An empty hypergraph sized a result’s device state 0 and left a launch error pending that the next commit reported as its own (
f691f9e); a growth of a result’s device state cost three host synchronizations against an allowance of two, aninternal_errorunder strict budgets (96499f2); more than INT_MAX real candidates was anout_of_memory_errorinstead of the documentedcapacity_error(57efd95, with a test of the device error words of class c2).Checks that could not fail. HD8’s work and iteration triggers are pinned by tests (a 1.5x limit and an off-by-one cap passed before;
9f38dc1); the public parity modes are checked by the oracle itself, by_key resolves by content, an apply_batch without its begin_batch and an unchecked call fail, digest mode covers ids past B’s bound (4a0f7ee,c0c39e7); the gate harness’s round guard requires the result group of a full reading (d263f6e), a vanished GPU process is foreign unless it was seen as the reading’s own (3f8dc63), the audit’s quiet maximum comes from the pre-read record (71120cf,c29978b); the (0, 4) key is counted in the source (10bdae9); the SASS identity names and checks its base commit (14de3cb).The gate scope. maintain[bN] missed Step 0 inside
hyper_sssp::update(hyper_sssp.normalizeruns outsidehypergraph.apply;bf6ec64); Geology is read at base as coauth-DBLP is (ba1120b); the 16 gated configurations were read again on the fixed code (e7f2da6: 271 of 271 within their bars; the smallest margin 1.033, dblp_hyperedge_25000’s first batch).Records and documents. The store’s transplanted kernels have their SASS record (
a596103); the kit’s incidence mixes reach the dead-id skip rule (dabcec8); the frozen headers, the CHANGELOG and the formats page say what 0.4 does (dc1672e); the D14 list and the memory-row count of the records were corrected.
Deviations and open items#
The pause, and what was taken after it. The first fix pass stopped itself at a weekly-usage mark that a relayed instruction had addressed to the orchestrator; a pass must never pause for usage (the orchestrator’s job). The readings it had not taken were then taken on the reviewed code, each window through
tools/locklog.py($DYNG_SCRATCH/runs/m11a-review/chain4.sh, with its own log): the default-clock reading and the ncu kernel table (EXCL, on3fec063), the gated memory reading (GPU1-QUIET, every byte count equal to step 5’s),bench_suite.py summarizeand the dry 0.4 certify (passed, with its two negative checks on the committed records), ADR 0024’s four readings on the final library, the 85 x 170 readings of syn1M’s host apply on openmp-8 (within the bar: the delete stage 0.998) and of coauth-DBLP’s cuda apply, the placement of the stages’ host code and triad_count’s gates against ESCHER-GPU (parity/results/M11a.mdsections 11.5-11.8 and 12).chain3.shpassed the suite’s name instead of its file tobench_suite.py summarize(it failed, and the dry certify then read the old summary and refused it); the summary was written again by hand with the file and the dry certify passed on it.The format commit, and the readings taken again after it. chain4’s full
ci/check.sh(after its ADR 0024 readings) failed only its format and pre-commit steps: the review’s C++ and Python files were not formatted (clang-format, ruff).18805afformatted them (layout only), but one of them,dyng-compat-hsosp’s Step-0 sum, is undertools/, a library path of the certificate, so every reading the dry 0.4 certify of hyper_sssp reads was taken again on it ($DYNG_SCRATCH/runs/m11a-review/chain5.sh; each window throughtools/locklog.py): the gated memory reading (every byte equal), both datasets’ gated readings (271 of 271), the default-clock reading and the kernel table, the replays and the store check (the same counts and digests), the summary and the dry certify with its two negative checks (642964eto84b57cb). ADR 0024’s readings were not taken again:18805afchanged nothing they build from. The other final checks of chain4 passed (DYNG_ENABLE_OPENMP=OFF, the fortified build, Clang 18 on both databases, ASan/UBSan,ci/gpu_local.sh); GCC 13.4 fails only on the three unchanged 0.3 test files of step 2’s open issue (-Wmismatched-new-deleteon their replaced globaloperator new/delete).ci/check.sh, TSan-openmp and the wheels were run again on the final tree (chain6.sh, on0932d02): all passed (M11a-review-checks.json;parity/results/M11a.mdsection 12).ADR 0024 on the reviewed library. Every host region is within the bar now; on cuda the excursions moved from the delete stage (within) to the insert stage (coauth-DBLP 1.085 in the 85 x 170 reading, syn1M 1.027), with the same instruction streams at other alignments: the review’s code elsewhere in
libdyng.somoved the escher store’s host functions although no escher-path file changed. triad_count’s gates against ESCHER-GPU hold; the author acknowledged the regions on 2026-11-03 as code placement on the D14 path, kept as they are for 0.4.0 (GOVERNANCE.md approvals log, “The D14-path excursions of M11a (HD16, sheet B6)”).Not located: the first batch’s id stage of dblp_hyperedge_25000 / 100000 / 200000 read 6-9 ms more than in step 5 on unchanged allocator code (every gate holds; candidate: a first-touch or memory-state effect). M11b reads the suite again and should look at it.
The maintain rows were not re-derived from the first reading’s rounds: the suite was read again with the amended map (the library also changed), so every gated number traces to a reading of the fixed code.
Lessons#
The same executable is not the same code.
dyng-compat-escherwas byte-identical across the review, but it loadslibdyng.so; an ADR 0024 reading names the libraries it loads, not only the executable.Estimate a reading from its own parameters. Step 5 judged the 85 x 170 host reading longer than a 2 h window by scaling 17 x 51 by layouts times rounds;
--roundscounts the rounds of the whole reading, and it took 21 minutes.A trigger test needs a case on each side of the edge. Budgets of 0 and infinity prove that the action runs, not where the limit is.
A check that reads the system under test’s own state is not an oracle. The public modes’ canonical rule ran over the store’s host model, which the engine also reads.
Format before reading. A layout-only change to a file under a certificate’s library paths makes every reading taken before it stale; run the format and pre-commit steps before the first window, not in the final check.
A stage map must be checked against the path that is timed. Step 0 was named inside
hypergraph.applybecause the maintain-only reading emits it there; the update path emits it outside. A planted delay per stage now proves each gated row’s scope.