Skip to content

feat: add preemptive agent interrupt - #84

Merged
boadij merged 1 commit into
mainfrom
feat/agent-interrupt
Sep 18, 2026
Merged

boadij merged 1 commit into
mainfrom
feat/agent-interrupt

Conversation

@boadij

@boadij boadij commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add the required-message agent interrupt action for directly owned agents with a working Pi operation.
  • Acknowledge interrupt requests through the existing mailbox, invoke Pi's native abort, and continue the same assignment, generation, session, and result lifecycle with replacement direction.
  • Preserve cooperative steer behavior and update controller capabilities, presentation, tests, runtime guidance, and documentation.

Validation

  • prettier . --write
  • npm run check (passed)
  • git diff --check (passed)
  • git diff HEAD --check (passed)
  • Focused and affected test suites passed before formatting, including the managed interrupt, controller, mailbox, recovery, presentation, and contract coverage.

Live model-backed smoke was not run because the environment has PI_OFFLINE=1.

Add the interrupt control action for directly owned agents with an active Pi operation. Acknowledged interrupt requests invoke Pi's native abort and replace the current direction without changing the assignment, generation, session, ownership, or final-result lifecycle.

Extend mailbox validation, controller capability and authorization checks, runtime request handling, presentation, tests, and synchronized runtime/documentation guidance while keeping steer cooperative and close destructive.

Validation: npm run check; git diff --check; git diff HEAD --check.
Live model smoke was not run because PI_OFFLINE=1.
@boadij
boadij merged commit ae23e51 into main Sep 18, 2026
3 checks passed
@boadij
boadij deleted the feat/agent-interrupt branch September 18, 2026 20:30
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