araharah-executor
4ca7a71d15
feat(08.1-01): rebuild all fixtures and bot graph builders through the ARG3 path
...
- mini-graph-arg2.bin: the frozen ARG2-era bytes preserved once as the
D-12 decode-rejection vector (never regenerated — the arg1 precedent)
- build-mini-graph.mjs: landmark stage out, CH stage in — contractGraph
over the 25-node grid (41 shortcuts, 1.64/node, 0 budget hits) with
fail-loud invariants: total-order rank, grid shortcut band, upward
shortcuts, overlay-exact constituent weights (f64 replay, f32 compare),
strong connectivity; deterministic ARG3 bytes
- graph.test.mjs: committed-fixture G4 added (ARG3 magic/version, 25
nodes, 80 edges, rank 25, >=1 shortcut, ARG2 vector -> null); G7
restored (full ARG3 pin)
- astar.test.mjs: A1-A6 restored — the 625-pair Dijkstra equivalence,
oneway law, deriveSteps, depart/arrive, classifyTurn all green against
the CH query on the committed ARG3 fixture
- snap.test.mjs: S1-S6 restored on the ARG3 fixture; S3's synthetic
graph rebuilt as the ARG3 ch-block star
- webhook.test.mjs: landmarkBlock -> chBlock (contractGraph); corridor
gains the fast nonstop chord (a pure line starves to zero shortcuts);
sparse star keeps node ids 0-hub; RT9's split carrier is now two
disconnected decodable stars (the honest A\* miss)
- guidance-cron.test.mjs: GC6b's 2-node graph becomes the lowest-id-mid
3-node star (a 2-node graph cannot carry a valid shortcut)
- routing 87 passed / bot 126 passed; routing+bot+web typechecks green
2026-10-26 07:30:15 +08:00
araharah-executor
06624bb688
feat(08.1-01): ARG3 codec + uphill CH query — ALT deleted, one search path (GREEN)
...
- graph.ts: ARG3 layout (magic 0x41524733, version 3, chShortcutCount
u32 @60, reserved @64/@68) with the CH suffix chRank ++ shortcut CSR;
fail-honest decode (ARG1/ARG2 -> null, chShortcutCount 0 -> null,
exact-size before any allocation, 4-byte alignment load-bearing);
loud ch-block encode validation
- ch-query.ts: routeCH — bidirectional uphill search (strict rank filter,
forward originals+shortcuts, backward reverse views incl. shortcuts),
edge-ref meet probe, iterative via-unpacking (edge-aware: a parallel
original edge is never expanded as a shortcut; DERIVE prefers the
cheaper of original/shortcut), seconds re-summed from the unpacked
original-edge path. STOP RULE: min(topF, topB) >= mu — the classical
sum rule is unsound under the rank filter (Q1 caught it: 36 vs 24)
- astar.ts: routeAstar validates + delegates every request to routeCH;
ALT/BH internals, clean-column memo, landmark tokens DELETED (D-04);
classifyTurn/deriveSteps untouched
- landmark.ts + landmark.test.mjs deleted (D-05); index.ts additively
exports contractGraph + CH constants + routeCH
- snap.test.mjs: S3's encode moved to the ARG3 ch block (3-node star —
a 2-node graph can carry no valid shortcut); committed-fixture S-cases
suspended until task 3 (Rule 3: same pattern as G7/A1-A6)
- routing suite: 86 passed, 0 failed; typecheck clean
2026-10-26 07:15:28 +08:00
araharah-executor
d3f0b4577f
test(08.1-01): re-pin codec + search suites for ARG3 and the CH query (RED)
...
- graph.test.mjs: G1-G11 re-pinned for the ARG3 layout (chShortcutCount
@60, CH suffix); G7 suspended until task 3 regenerates the fixture
- astar.test.mjs: committed-fixture cases A1/A2/A4/A5/A6 suspended;
A3 re-pinned on an in-memory ch block; A8 extended to ch-query.ts;
A11 becomes the D-04 one-search-path pin; ALT-era A9/A10/A12/A13 fold
- ch-query.test.mjs: Q1-Q5 (625-pair equivalence, directed oneway law,
original-edge seconds, island nulls, structural deletion) + G1-G3
in-memory ARG3 pins; all fixtures through contractGraph + encodeGraph
2026-10-26 06:48:24 +08:00
araharah-executor
34d96b0cdb
test(08-02): ARG2 codec G-suite — RED gate (G3/G5/G7/G8 re-pins + new G9-G11)
...
Re-pins: G3 consumes the frozen mini-graph-arg1.bin as the standing ARG1
rejection vector (D-01 one-path law) + v1/v3 tamper; G5's zero-copy flip
moves to byte 72 (the ARG2 header end); G7 expects the regenerated ARG2
fixture (landmarkCount >= 1, quantum 0.1, L*N tables, anchor self-cells
0); G8 re-pins the exported constants to 0x41524732/2.
New: G9 table round-trip (four landmark properties, sentinel-is-DATA,
zero-copy u16 views); G10 encode-validation matrix (9 named-throw cases,
T-08-04); G11 decode rejection (landmarkCount=0 refused even when the
byte size exactly matches the L=0 layout — D-01/A5 — plus the monster
landmarkCount=2e6 arithmetic rejection, T-08-01).
2026-10-25 18:46:00 +08:00
araharah-executor
53740944b8
test(06-01): add failing CSR graph codec suite G1-G8 (RED)
...
- Pinned-layout gates: round-trip, bad magic/version/truncated -> null,
zero-copy view mutation, name pool, committed mini-graph fixture pin
- Each case lazy-imports ../src/graph.ts — ERR_MODULE_NOT_FOUND is the
red state (fixture-source.test.mjs pattern)
2026-10-24 12:05:16 +08:00