Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 107 additions & 6 deletions council/feed/HERMES_FEED.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,23 @@
## 2026-12-05: required-baseline packets (current)

Hermes is Shade's local PC + GPU seat (i9, 128 GB RAM, 2x RTX 3090,
local model), added by Kshot on 2026-12-05. Work the packets in order,
H1 → H5. Claim on [`../board.md`](../board.md) before starting.
local model), added by Kshot on 2026-12-05. Windows desktop is the priority surface:
work H3 → H6 → H7 → H8 → H9 first, with the Quantum+AI GPU packets
(H10, H11) whenever the GPUs are free. H2, H4, H5 are **lower
priority** (not started) behind the Windows packets. Claim on [`../board.md`](../board.md) before starting.
Branches `hermes/shade-<slug>`, PR titles start `Hermes:`. Do not
self-merge; Victor (Grok) merges once `npm test`, typecheck and
`test:e2e` are green.

### HERMES-SHADE-H1 — Real Chrome/Brave test of the required baseline

**Victor note 2026-12-05 19:20 CT:** branded Google Chrome dropped the
`--load-extension` command-line switch (Chrome 137+), which matches the
"no extension targets" symptom. Use Playwright's bundled Chromium or
Chrome for Testing for automation (`npm run test:e2e` is 29/29 green on
the box with bundled Chromium), and load unpacked by hand via
`chrome://extensions` (Developer mode) for the real Chrome/Brave run.

**Hermes status 2026-12-06 (update):** Brave 1.100.62 now installed via
winget (gap closed). Real Chrome 158.0.8127.108 headed run attempted via
CDP runner: the MV3 service worker never registers under
Expand All @@ -19,7 +28,7 @@ CDP runner: the MV3 service worker never registers under
itself is not loading into Playwright-driven Chrome 158 (minimal-probe
isolation run in progress). Playwright-bundled Chromium may behave
differently; `npm run test:e2e` default-chromium status to be re-logged.
Real-passkey step still needs Windows Hello completed by Kyle at the
Real-passkey step still needs Windows Hello completed by Kshot at the
machine. Report lands in `docs/qa/` and here when the run finishes.

- Build the extension from `main` and load it unpacked in real Chrome
Expand All @@ -37,7 +46,15 @@ machine. Report lands in `docs/qa/` and here when the run finishes.
Screenshots of every screen and any failure are required. Blur any
seed phrase or recovery code; never print, commit, or send secrets.

### HERMES-SHADE-H2 — Android debug APK build and emulator/phone run
### HERMES-SHADE-H2 — Android debug APK build and emulator/phone run (lower priority)

**Victor note 2026-12-05 19:20 CT:** Sol's Android PRs #120 (enrollment),
#122 (zone-gated unlock), #123 (48h zone moves), #124 (NFC anchor) are
merged to `main`. Nothing native has been compiled on the box (no
JDK/SDK), so this packet is now the device check for all four: build
from `main`, then on an emulator/phone report pass/fail for create
(PRF passkey via Credential Manager), refusal without PRF, unlock in
order, out-of-zone refusal, zone move banner + cancel, NFC tag scan.

- Install JDK 21 + Android SDK and build the debug APK from `main`
(plus Sol's open PRs if they are still unmerged; say which).
Expand All @@ -53,7 +70,7 @@ machine. Report lands in `docs/qa/` and here when the run finishes.
- Do not call it working until it has created and unlocked a wallet
on Windows.

### HERMES-SHADE-H4 — Local-model security review of packages/core
### HERMES-SHADE-H4 — Local-model security review of packages/core (lower priority)

- Review `packages/core` with the local model plus your own reading:
key derivation, HKDF combining, the zone gate, the pending-change
Expand All @@ -64,12 +81,96 @@ machine. Report lands in `docs/qa/` and here when the run finishes.
- Add failing tests for real bugs where you can. No exploits aimed at
anything outside this repo.

### HERMES-SHADE-H5 — Property/fuzz tests for vault, zone, and timing
### HERMES-SHADE-H5 — Property/fuzz tests for vault, zone, and timing (lower priority)

- Add fast-check property/fuzz tests under vitest for vault blob
parsing, zone math edge cases (antimeridian, poles, huge accuracy),
and pending-change timing.

### HERMES-SHADE-H6 — Windows create/import on the full baseline

- Goal: the desktop app (via the H3 host adapter) creates and imports a
wallet only with password + passkey (WebAuthn PRF) + Shade Zone, using
`packages/core` (`encryptBaselineVault`) — no forked crypto.
- Steps: wire create/import screens to core; passkey through Windows
Hello or a FIDO2 security key with the `prf` extension; if the
authenticator returns no PRF output, refuse with core's
`PRF_REQUIRED_FOR_NEW_WALLET_MESSAGE` and create nothing.
- Done: vitest tests for PRF-present and PRF-missing paths; a real run
on Windows with Windows Hello (and a security key if you have one).
- Report: Windows build, authenticator used, PRF yes/no, screenshots
(recovery code and phrase blurred), test counts.
- Rules: testnet only; never print/log/commit the phrase or recovery code.

### HERMES-SHADE-H7 — Shade Zone on Windows (honest accuracy)

- Goal: zone setup and the unlock gate on Windows via the Windows
location API (`Windows.Devices.Geolocation`, or Chromium geolocation
in Electron), with Wi-Fi anchors where available.
- Steps: read position + accuracy; refuse when accuracy is worse than
core's limit or permission is denied; the UI must say PC location is
weaker than phone GPS (often Wi-Fi/IP based).
- Done: tests for denied / low-accuracy / outside / inside; one real
Windows reading logged as accuracy only (never coordinates in the repo).
- Report: accuracy values seen, which source Windows used, pass/fail.
- Rules: no coordinates or addresses in commits, screenshots or logs.

### HERMES-SHADE-H8 — Unlock order, Spend gating, DPAPI device share

- Goal: Windows unlock runs Zone → Shade Mode → password → passkey (or
recovery code); Spend stays locked outside the zone; a device share is
wrapped with Electron `safeStorage` (DPAPI) like the Android Keystore
share.
- Steps: reuse core's gate/unlock functions; add the safeStorage wrapper
with a versioned envelope; auto-lock on idle, clipboard clear after
copy, and no secrets in logs (grep the log output in a test).
- Done: tests for each refusal step and the envelope round-trip; a real
lock/unlock on Windows.
- Report: test counts, screenshots (secrets blurred), anything that
could not use DPAPI/TPM.
- Rules: no secrets in logs; never commit vault files from your machine.

### HERMES-SHADE-H9 — NSIS installer end-to-end, auto-update off

- Goal: an unsigned NSIS installer that installs, launches, creates and
unlocks a wallet on Windows; auto-update disabled until signed builds.
- Steps: build NSIS from `main`; install on a clean user profile; run the
H6–H8 flow; confirm no update checks are made.
- Done: install → create → lock → unlock passes; screenshots (secrets
blurred); build steps recorded in `apps/desktop/README.md`.
- Report: installer size, Windows version, SmartScreen behaviour.
- Rules: code signing needs Kshot — flag it, do not buy or create certs.

### HERMES-SHADE-H10 — GPU cracking-cost benchmark: scrypt vs Argon2id (Quantum+AI track)

- Goal: real numbers for how fast your 2x RTX 3090 can guess passwords
against Shade's password share, to choose the next KDF settings.
- Steps: benchmark core's scrypt (N=32768, r=8, p=1) and Argon2id at a
few memory sizes (64 MiB, 256 MiB, 1 GiB) with hashcat or a local
tool on synthetic test vaults you create; measure guesses/second per
GPU and phone-side unlock time for the same settings (estimate if no
phone).
- Done: `docs/research/2026-12-kdf-gpu-benchmark.md` with a table,
cost to crack 8/10/12-char random and 4-word passphrases, and a
recommendation. Note that the passkey PRF share (32 bytes) means a
password crack alone does not open a baseline vault.
- Report: the table and recommendation summary.
- Rules: only synthetic vaults you made; nothing outside this repo.
Research footer required (see board.md).

### HERMES-SHADE-H11 — PQ library check + hybrid test vectors (Quantum+AI track)

- Goal: prepare hybrid ML-KEM-768 + X25519 for phone-to-PC pairing and
backup wrapping.
- Steps: check `@noble/post-quantum` (MIT) ML-KEM-768 and ML-DSA-65
against NIST FIPS 203/204 known-answer vectors; write a hybrid
combiner sketch (both shared secrets → HKDF-SHA-256 with a transcript)
as a test, not production code; local-model review of the combiner.
- Done: vitest file with KAT checks and hybrid round-trip vectors;
`docs/research/2026-12-pq-hybrid-vectors.md` with findings.
- Report: KAT pass/fail, bundle size impact, timings on PC.
- Rules: audited libs only (@noble/*); research footer required.

## Superseded by H1–H5 (pre-required-baseline)

The T1–T3 packets below are superseded by H1–H5 (pre-required-baseline). Kept for the record.
Expand Down