interplane.Get Omega
Read in your language

aienos.com

Source of www.aienos.com, served from my own hardware

Brought by drakestapleton

branch main Branches Tags History

aienos.com / om / hive-render / PRIVACY-REPLAY.md

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