Files
effectcraft/docs
David Mann 96094c7cad feat(control): --control requires a per-launch token, as the agents channel does (#2122)
Every connection to `effectcraft --control PORT` must sign in before anything runs: the
shared handshake of the agents channel (auth.challenge + proof, or auth {token}), within
10 s of connecting. The launch keeps a random token in control/PORT.token in the settings
folder, owner-only, removed at exit (the shared craft_control::auth files);
EFFECTCRAFT_CONTROL_TOKEN sets it for both sides. `effectcraft-cli --bridge PORT` reads
the file on every connection and signs in with the challenge, so the token never crosses
the wire.

Builds on Barzabel's design in #2165 (per-launch token in the settings folder, auth first,
10 s deadline, client discovery), rebuilt on the shared craft-libs pieces.

Co-authored-by: Barzabel <38911974+Barzabel@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 20:51:52 +01:00
..
2026-10-13 14:34:22 +02:00