8000 e2e-live: run the supervisor without the parent session's binding; record run 34 by adeelahmad · Pull Request #56 · adeelahmad/aloop · GitHub
[go: up one dir, main page]

Skip to content

e2e-live: run the supervisor without the parent session's binding; record run 34 - #56

Merged
adeelahmad merged 1 commit into
masterfrom
claude/project-thread-qerfr9
Oct 19, 2026
Merged

adeelahmad merged 1 commit into
masterfrom
claude/project-thread-qerfr9

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Before: when make e2e-live ran from inside a Claude Code agent session, the supervisor CLI inherited that session's environment. Runs 32 to 34 reported the parent's session id, and at start they recalled the parent's team memory, which holds this repo's own agent notes. The measured supervisor was not a clean one.

After: e2e-live.sh unsets these variables before starting the host CLI:

  • the session id
  • the remote session id
  • the SDK URL
  • the memory store variables
  • the messaging socket and token

Auth is untouched. I checked by hand that claude -p works with them unset and gets its own session id.

How: there is one unset block in the script. A new e2e-live-hosts.test.py case uses a spy claude that dumps its env, and asserts that none of the parent variables reach it.

Also recorded: run 34 (semver, master after #55) passed 12/12 in 10m23s for $0.74, with 21 supervisor turns (run 31 had 27), 2 wakes and 1 block, which was a self-check catch. The supervisor followed #55's handoff directly, with no --help or inspection turns. The run is in the evidence ledger and ROADMAP M0.8, and the ROADMAP notes the caveat for runs launched from an agent session. make ci is green.


Generated by Claude Code

…cord run 34

Runs 32-34 were started from an agent session and inherited it: the run
reported the parent's session id and recalled the parent's team memory.
The script now unsets the session id, SDK URL, memory store and
messaging socket before starting the host CLI (auth untouched).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
@adeelahmad
adeelahmad merged commit cc40637 into master Oct 19, 2026
4 checks passed
adeelahmad pushed a commit that referenced this pull request Oct 19, 2026
- stats/budget compare story dirs by realpath (_paths.under): a project
  behind a symlink (macOS /var -> /private/var) counted 0 attempts in
  stats sprint-close; also stops sprint1 matching sprint10.
- ensure-tools --resolve skips any aloop plugin bin/ on PATH: another
  checkout's ctx-symbols shim ahead on PATH made make conformance hang.
Both reproduce on Linux in the updated tests. Run 35 is the first live
run with a clean env (#56).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
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.

2 participants

0