Skip to content

agent start: a signal to the launcher should stop the released agent #668

Closed

Description

@tps-flint

Follow-up from #648 (sandboxed launch).

After tps agent start --sandbox-required releases the agent, a SIGTERM sent only to the launcher process removes the private config snapshot and re-raises the signal on the launcher (packages/cli/src/commands/agent.ts ~1100-1104), but nothing signals the nono supervisor or the released agent. The launcher awaits the supervisor's exit (packages/cli/src/utils/launch-attestation.ts ~973) and its finally (~974) removes private launch state without terminating either process. So stopping the launcher leaves the released agent running without its launcher. (Found by reading the source; not yet measured under real nono.)

Want: a signal to the launcher is forwarded to the nono supervisor (and through it to the agent), and the launcher waits, bounded, for both to exit before it exits itself, so stopping tps agent start stops the agent. Test (real nono in the Docker attested lane): launch, wait for release and the agent's pid file, SIGTERM the launcher only, then assert the released child pid and the supervisor are gone within the bound; mutation (do not forward the signal) turns it red.

Refs #648

Activity

  1. moved this to Triage in Office queueon Oct 19, 2026
  2. self-assigned this
    on Nov 9, 2026
  3. moved this from Triage to In review in Office queueon Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions