Skip to content

feat(key): one file to hand over — handoff bundles the chain and its identities - #573

Merged
fujibee merged 2 commits into
integration/remotefrom
feat/handoff-bundle
Jul 31, 2026
Merged

feat(key): one file to hand over — handoff bundles the chain and its identities#573
fujibee merged 2 commits into
integration/remotefrom
feat/handoff-bundle

Conversation

@fujibee

@fujibee fujibee commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Tonight's agent-driven E2EE run stalled at exactly one place: "identityファイルってのがわからなくて積んだ" — the operator had a snapshot, an identity, and a digest, with no supported way to even locate the identity file (it lived unannounced under run/remote-credentials/).

key.sh handoff <team> [--out <file>] writes ONE bundle — the confirmed snapshot chain (every revision) plus the identity for each epoch — prints the latest snapshot's digest for the live out-of-band check, and says what the file is: KEEP SECRET, this file IS the key. After a rotation the same command exports the current chain; there is no "which epoch file" question left.

remote.sh unlock <team> --bundle <file> --confirm-digest <sha> unpacks it through the existing validators — chain verification, digest binding to the latest snapshot, import, configure, reprocess, engine start. Digest semantics unchanged. The two-flag form (--snapshot/--identity) stays for advanced use.

Security model unchanged: snapshot and identity already traveled the same trusted channel; bundling them changes what the operator has to understand, not what an attacker can do. The digest stays a separate string over a separate live channel — that separation is the mechanism.

SKILL.md, all nine type templates, and remote-setup's Extra section now teach the bundle as the main path. Node 53/53, key bats 26/26 green.

PR opened on the author's behalf — their sandbox blocks GitHub access.

@fujibee
fujibee merged commit 8860c8a into integration/remote Jul 31, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant