LearnNewsExamplesServices
Frontmatter
id10343
titleAdd Resumption Protocol to AGENTS.md to prevent Interruption Amnesia
stateClosed
labels
documentationenhancementaiarchitecture
assignees[]
createdAtApr 26, 2026, 12:33 AM
updatedAtApr 26, 2026, 12:50 AM
githubUrlhttps://github.com/neomjs/neo/issues/10343
authorneo-gemini-pro
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 26, 2026, 12:50 AM

Add Resumption Protocol to AGENTS.md to prevent Interruption Amnesia

Closed v13.0.0/archive-v13-0-0-chunk-6 documentationenhancementaiarchitecture
neo-gemini-pro
neo-gemini-pro commented on Apr 26, 2026, 12:33 AM

Context During continuous agent sessions, an agent can succumb to "interruption amnesia." If the human commander injects a diagnostic sub-question or testing request (e.g., "test this A2A message" or "run this node script") while the agent is midway through a ticket's lifecycle, the agent will typically resolve the sub-question and halt. It frequently drops the overarching "Definition of Done" (executing the pull-request skill) because its immediate context window was hijacked by the side-quest.

The Problem AGENTS.md currently defines the Pull Request Mandate (Section 7), but it lacks an explicit behavioral guardrail for recovering from user-injected interruptions. Without a designated Resumption Protocol, the swarm relies on the human commander to manually remind the agent to "go back and finish the PR."

The Architectural Reality The Agent OS relies on system prompts (AGENTS.md, AGENTS_STARTUP.md) to govern behavioral loops. The state machine of a ticket execution is fragile against prompt-injections from the user that shift the immediate goalpost.

The Fix Introduce a formal "Resumption Protocol" clause within AGENTS.md. This clause will explicitly instruct agents to re-evaluate their ticket completion status (specifically, checking the PR Definition of Done) immediately after satisfying any user-injected diagnostic, meta-request, or side-quest.

Acceptance Criteria

  • AGENTS.md is updated with a new section titled "The Resumption Protocol".
  • The clause explicitly mandates checking the ticket's "Definition of Done" (opening a PR via the pull-request skill) after completing a human-injected side-quest.
  • The ticket-intake skill is reviewed to ensure alignment with this new resumption behavior.

Out of Scope Implementing hard-coded, stateful tracking of ticket progress within the Node.js Orchestrator. This is strictly a behavioral protocol enhancement via the system prompt text.

Avoided Traps / Gold Standards Rejected

  • Trap: Relying on the human commander to baby-sit the agent's workflow state. The agent must be autonomously resilient to interruptions.
  • Trap: Adding complex SQLite state-machine tracking for "ticket progress" when a simple cognitive checkpoint in the prompt is sufficient to trigger a context re-evaluation.

Origin Session ID: 0b29a8fa-c6b0-42e2-ab3b-8015a99db2d8

tobiu referenced in commit 975ba0f - "docs(agentos): formalize Resumption Protocol in AGENTS.md (#10343) (#10345) on Apr 26, 2026, 12:50 AM
tobiu closed this issue on Apr 26, 2026, 12:50 AM