Takt, Reactor and independent host hash transition — 26 October 2026
Source base: newstack f9892f331ff093f9cf934ec9d9491ce2c915e045, SDK gitlink
33f54b62b46a6693ff6e193a752e052eaa124884. Work occurs only in the sparse private
worktree playground/hash-transition-20261026/takt-reactor. The source checkout
is 13 MiB, with no private Cargo target, Wasm build or PocketIC instance. The
first attempted full checkout failed on disk capacity and Git removed it;
the replacement uses --no-checkout and sparse source selection.
Application hash inventory
| Location | Decision |
|---|---|
Three Takt generators, emit::definition_signature |
Use optimized vendor BLAKE3 1.8.7; retain cdk-rsx-takt-definition-v1\0, canonical JSON, original state-key order, zero separators and serialized target bindings. |
RRT/RRts Fourcans build.rs::source_policies |
Semantic graph-policy identity uses BLAKE3; retain cdk-rsx-semantic-source\0, existing version, LE-u64 lengths/count and exact source bytes. This policy is not an artifact provenance receipt. |
| Takt runtime crates | No SHA-256 or SHA2 implementation calls; they consume generated signatures without changing retries, operation identities or execution machinery. |
| Three Reactor runtime crates | No SHA-256/SHA2 application hash calls. No scheduler, queue, payload, response address, callback, timer or memory change. |
Shared fourcans-rsx/support/rechain-client.mjs |
Independent pinned @noble/hashes 1.8.0 BLAKE3 oracle; require blake3-parent-payload-v2 and retain the rc, parent-presence, optional parent and exact payload frame. |
RRT/RRts typed fourcans-wire-verify binaries |
Typed Wire decode/encode assertions only; no algorithm to replace. They remain independent of JavaScript hash/certificate checks. |
| IC certificate trees | Remain protocol SHA-256. The Rechain owner handles the optimized compatible SHA implementation. Host certificate reconstruction stays in the IC agent. |
| Management module hashes; artifact, source, trace, TLC/JAR and fixture provenance | Remain SHA-256 with their existing receipt formats. Frozen Motoko controls/source manifests, adaptations and historical qualification packets remain untouched. |
The Rechain owner separately changes block hashes and replay hashes. The agreed
labels are blake3-parent-payload-v2 and rechain:idempotency:blake3:v1.
This is a fresh prototype installation contract: no legacy decoder, memory
upgrade or migration is added. Application hash identities reset across the
transition. Within an installation, saved requests and retry identities still
remain exact; uncertainty grants no new authority.
Crate manifests in this lane now require blake3.workspace = true. The parent
owns all three shared workspace manifests and Cargo locks, and must supply:
blake3 = { path = "../crypto/algo/hash/vendor/blake3", version = "=1.8.7", default-features = false, features = ["pure", "zeroize", "wasm32_simd"] }
The RRT/RRts build-input freshness probes supply that exact vendor dependency to their temporary tiny consumers. Their output/source receipts remain SHA-256. The Heavy16 runner checks every declared host dependency, including the newly direct-pinned BLAKE3 oracle, before any canister is created.
Checks actually run
node --test bench/rechain-client.test.mjs bench/run-io.test.mjs: eight pass; existing dependencies are read through a symlink, with no install/cache writes.- Python AST parsing of
rrt/tools/run-heavy.pyand both editedtests/build_input_freshness.pyprobes: pass without bytecode output. git diff --check: pass.- Search of the three generator and Reactor Rust/Cargo source lanes: no remaining SHA-256/SHA2 calls or dependencies.
The independent oracle produces definition signature
7e18273569f8a33a7ecede073ee5e9f99b8090a0a2fe6d1802c675c8dde54345
for the frozen remote fixture's 888-byte frame. All three existing definition
fingerprint regressions now require those fixed bytes as well as their existing
ordering/semantic sensitivity checks. Host block vectors cover empty payload,
nonempty payload and the distinction between absent and present zero parent.
Rust generator/runtime compilation, actual generator freshness probes, Wasm, upgrade/recovery and Heavy16 were not run in this lane: the parent reserved shared disk/build resources for concurrent Schnorr qualification. No Rust or IC qualification or performance claim follows from the host checks.
Exact Heavy16 handoff
Current wrappers are rrt/tools/build.py, rrt/tools/run-heavy.py and
rrt/tools/audit-heavy.mjs. The runner uses sixteen same-subnet canisters,
thirty 600 ms arrival rounds, 1,000 roots/second, batch 1,024 / 1,900,000 bytes,
500,000,000 instruction budget, concurrency 4,096, callbacks 40, maximum 1,000
rounds, ordinary replica limits and DTS, and complete native-memory tracing.
The runner also finishes the normal publication/maintenance tail and audits it.
Each side must build from its own frozen source and use its own host source root: the old host verifies old SHA-256 blocks and the candidate host verifies BLAKE3. Use the same SDK pin, compiler, selected PocketIC bytes, no features, workload graphs and one exclusive target owner. Build/run sequentially after obtaining the parent's resource lease. Suggested exact repository-local artifact/run paths are:
# Set this to the frozen control checkout of f9892f33; do not reuse old receipts.
hash_control=/srv/shared/code/newstack/playground/hash-transition-20261026/baseline
hash_candidate=/srv/shared/code/newstack
hash_evidence=/srv/shared/code/newstack/rrt/tmp/hash-transition-20261026
# Source each checkout's tools/env.sh and assign a fresh exclusive target first.
python3 "$hash_control/rrt/tools/build.py" --app fourcans \
--output "$hash_evidence/before-artifacts" \
--target-dir "$CARGO_TARGET_DIR" --pocket-ic "$POCKET_IC_BIN" --jobs 1
python3 "$hash_control/rrt/tools/run-heavy.py" \
--artifact "$hash_evidence/before-artifacts" \
--output "$hash_evidence/before-heavy16" --source-root "$hash_control"
python3 "$hash_candidate/rrt/tools/build.py" --app fourcans \
--output "$hash_evidence/after-artifacts" \
--target-dir "$CARGO_TARGET_DIR" --pocket-ic "$POCKET_IC_BIN" --jobs 1
python3 "$hash_candidate/rrt/tools/run-heavy.py" \
--artifact "$hash_evidence/after-artifacts" \
--output "$hash_evidence/after-heavy16" --source-root "$hash_candidate"
These paths are a handoff, not existing artifacts. Each run must pass its own
heavy16-audit.json. Required exact work is 18,000 root workflows, 1,200 child
workflows, 19,200 total workflows, 594,000 graph steps, 202,800 task attempts,
180,000 processed endpoint messages, 27,600 dispatches and 360,000 Wire items.
No reoffered frames, traps, rejected ingress, failed workflows or remaining
queues are permitted. Compare complete and primary instructions/page charges,
physical calls, latency and post-drain memory; record the maintenance tail.
Keep RRT Nyxus and RRts Hylix controls separate. HRRT has no upgrade contract.
No current f9892f33 baseline artifact was present under newstack rrt/tmp when
inspected. Historical actual-main qualification is recorded in
research/experiments/2026-10-24-showtime-qualification/evidence/main-heavy16-comparison.json:
source 67ff7992f6df427aad7dd74466d0f122766fe7e4, Wasm SHA-256
b8f7d3992a611f052a323ca0a8ccc4b2be2874e343c4fe2489594f8dc9a968ef,
PocketIC SHA-256
6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6.
Its original artifact manifest path is
/srv/shared/code/icrustmem/playground/showtime-qualification-20261024/evidence/main-artifacts/manifest.json
and run audit path is
/srv/shared/code/icrustmem/playground/showtime-qualification-20261024/evidence/main-heavy16/heavy16-audit.json.
Those original absolute paths are currently absent. The preserved metadata and
historical build cannot serve as a newly qualified current-source control after
the workspace relocation or this hash transition.
Baseline publication and shared host repair
Three fresh baseline artifacts were subsequently built from frozen
4e732ecdf6f9b62cc5ae868d75f411824bc85d0c, using the exclusive warm
crypto/tmp/target, pinned SDK 33f54b62 and qualified PocketIC 6a9a75ad.
Exact manifests, source closures, patches and launch plans are recorded in
rrt/tmp/hash-transition-20261026/before/baseline-context.json.
- Nyxus RRT Wasm:
acbcfbcc6f75b04bde2397f93918e48d123c3b8e07426276be219f49770cf02e. - Hylix RRts Wasm:
6877df13f85cee362b8a5511b469e90d01c90bba82182fd862fb4acb2bbc7ecb. - HRRT Wasm:
563df117ef34a879313fab59a3defb549ef3bff7d51e333e16370ac2cdff71b1.
HRRT initially failed its actual Wasm build with fourteen missing
reply_with_limits expansions from the pinned SDK macros. Its baseline is
therefore explicitly the base plus the approved two-file facade prerequisite,
patch SHA-256 bf5e233dea723a89482642044ff897828bb07f353631d51b7fc17263ebea4692.
The facade retains owned-Vec encoding, honors macro Limits, delegates ordinary
reply through DEFAULT_LIMITS and adds no Store machinery. Main carries the same
bytes. The approved host-only build repair also removes the arbitrary target
subdirectory assertion so an explicitly leased global target can be reused.
The first failed build and its original output remain preserved.
Artifact checks verified 740 RRT, 672 RRts and 246 HRRT input/output hashes; twenty-five existing host tests passed. These are build and host gates, not Heavy16 execution results. No baseline Heavy16 run had started when the Cargo lease was returned for the SHA qualification window.
run-heavy.py and audit-heavy.mjs now share one maintained three-family path.
heavy-artifact.mjs keeps heap and persistent metadata distinct, requires the
actual ordinary wasm64 command and rejects instrumentation. Full graph/work,
transport, certification and trace accounting checks are unchanged. Heap Store
fields must be absent/null; Nyxus/Hylix retain the closed catalog and KEEP gates.
The selected source root owns the runtime host; the launch tool pins its own
auditor/helper separately. This permits the immutable old-hash baseline host
and the BLAKE3 candidate host to be selected independently without rewriting
frozen files or manufacturing a typed-root contract for heap artifacts.
Audits additionally retain implementation family, the archived verifier's hash contract label, source-closure digest, primary wall duration, root/workflow/queue latency summaries, complete simulated throughput and post-drain memory. Host wall time, simulated IC throughput and finished-entry instructions remain separate measures. Three host artifact-boundary tests and classification of all three actual baseline manifests pass; actual full-run checks remain pending an exclusive benchmark window.
The first actual RRT launch attempt stopped before creating an output directory
or PocketIC server: the generalized direct-dependency guard compared the local
file:vendor/dcid requirement literally with version 0.1.0. The follow-up
strictly checks file dependencies against their frozen package metadata/version,
complete package file set and exact bytes, and pins source and installed inputs
for the run. Nested node_modules installations are separate npm dependency
boundaries; extra or altered files within package source still reject. Five
fixtures cover the file requirement, changed version, changed code, unexpected
package file and nested dependency boundary. Both real baseline and integrated
candidate dependency sets pass the corrected guard. Registry dependencies still
require their exact declared version. This is a host preflight correction and
changes no canister/runtime behavior.