Hive privacy replay
Host-only verification. The collector is run only with newly created empty source directories. No live transcripts, service configuration or publication endpoint are used. Existing Python oracles remain unchanged; this replay exercises their renderer and receiver cases without invoking Python, and adds collector startup configuration controls. Node is a verification tool, not a serving dependency.
Run
Use Linux AArch64 and the committed compiler whose SHA-256 is
734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61.
From the repository root:
cargo test --workspace
cargo clippy -p hive-feed --all-targets -- -D warnings
cargo build -p hive-feed --bins
scratch=$(mktemp -d)
om/hive-page/omc < om/hive-render/render.om > "$scratch/render"
chmod +x "$scratch/render"
cmp "$scratch/render" om/hive-render/hive-render
cd om/hive-render
node test-replay.mjs "$scratch/render" ../hive-page/omc "$scratch/replay" ../../target/debug/hive-receive ../../target/debug/hive-feed
Check the compiler digest before execution, and stop if compilation or any check
fails. The native-privacy CI job performs that digest check and runs the replay
on an isolated AArch64 host. Its trigger includes collector and renderer changes.
Exercised evidence
Local execution used Node v24.21.0 and the exact compiler above. It passed:
- Native renderer regeneration equals the committed executable.
- Deterministic output, every byte through the production escaper, Unicode, XSS payloads, malformed input, schema and field limits, hierarchy, dates, deep trees and both output pools.
- Every tested human interaction role refuses with no partial renderer output; an assistant reply remains accepted.
- Actual receiver publication, failed-render retention, malformed and human-role snapshot refusal, and overlapping-stream ordering.
- Actual collector startup with isolated empty source directories: missing list and invalid alias refuse before output; explicit empty and valid lists work.
- Rust unit controls first failed against the draft for a missing private list and an arbitrary public alias. They pass with the corrections. The full workspace suite and strict hive-feed clippy check also pass.
The original main renderer accepted the canonical synthetic drake-role
snapshot with exit 0. The corrected renderer refused that same snapshot with
exit 108 and no output. An earlier noncanonical fixture was rejected by both
and is not counted as the negative control.
The date oracle was obtained from WolframLanguageEvaluator:
Table[{y,DateDifference[{y,2,28},{y,3,1},"Second"]},{y,{1900,2000,2024,2026}}]
returned 86400, 172800, 172800 and 86400 seconds respectively. These are the
expected values used by the replay, not timings measured from the program.
Limits
This checks source and isolated host behavior. It does not activate the live
collector, remove previously published material, or promise perfect
secret detection. Since 2026-11-14 (Drake: "everything I am doing is public")
the collector has one filter. The sentence at the top of
crates/hive-feed/src/privacy.rs is: Unicode format characters (Cf) are
removed, then tokens are split on the original text's Unicode White_Space and
each token is normalized with NFKC, so a space that normalization creates
stays inside the token; ASCII sentence punctuation (. , ; : ! ?), brackets,
and quotes are trimmed from its edges and written back; a token that contains
@ or a numeric character is withheld unless it is a run of fewer than six
numeric characters and no letters (94043, (415)), or ASCII letters with at
most one hyphen and exactly one trailing numeric character (hunter2,
OAuth2, UTF-8), or a hyphenated name of words and single digits totaling
at most five, or one word followed by a number of two to five digits
(gpt-6-astra, claude-opus-5-5, COVID-19, UTF-16, ISO-8601), or a
density suffix of one or two digits, a lowercase x, a dot and letters whose
local part would itself be kept (icon@2x.png, image@2x.png,
jane@2x.com), or an address on the operator allowlist (Owner@Example.org),
or a whole-token credential of equal-length letter strings whose password
repeats a letter (user:pass@10.1.2.3; a scheme wrapper does not keep a
userinfo the bare form withholds); any other token is split at @, :, /
and \ and each part is judged by this same rule, so an address, a phone, or
a key after a colon or in a URL tail is withheld on its own; any other @
with a non-empty side, after ASCII quotes are removed, is an address and needs
no well-formed domain, and any other numeric character, including groups
joined by a non-alphanumeric separator when six or more are present
(415.555.0199, 2024-11-15), is withheld, and a token with neither @ nor
a numeric character is kept. Written limits of that shape: a
letter-only password and a base64 spelling with no digit stay; a secret split
by spaces stays; v1.2.3, x86_64, sha256, a phone, ZIP+4, and a hex digest
are withheld; a lookalike that is not a decimal digit stays, because there is
no character list. There is no quote matching and no private repository list.
The operator's own addresses come from --own-emails; a missing list is
accepted (every address is then withheld) and an unreadable one refuses before
publication.