huginn: --session falls back to HUGINN_SESSION, set by mind-self-run #45
Loading…
Reference in a new issue
No description provided.
Delete branch "eureka-substrate/session-from-env"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes follow-up eureka-substrate:follow_up:gap-session-id.
huginn admit,huginn importandhuginn persona put:--sessionis optional. Explicit flag wins; else envHUGINN_SESSIONif non-empty; else refused as before (exit 2, InvalidInput, nothing sent). An env value over 200 bytes (Short) or not UTF-8 is refused naming the variable, without echoing it. Never CLAUDE_CODE_SESSION_ID, never a default.mind-self-run: the child getsHUGINN_SESSION=<run label>, the last segment of the run id (e.g.mind-20261111T072944197Z), the spelling the run's opening receipt already carries as its session.Spawner::spawntakes the session to export; one Self spawn site (fresh and resume are the same call; a rotation is a new run and process and sets its own). Persona spawns pass None. A unit-provided HUGINN_SESSION is not on the child allow-list.admit/persona_puttools still requiresession), the skill repo.Tests: eureka-state 3 cli tests, mind-body 1 spawn-harness test and 1 real-process test; full
cargo test -p eureka-stateand-p mind-bodypass.🤖 Generated with Claude Code