Skip to content

feat: add MCP reply history and safe input retries - #386

Merged
oddessentials merged 2 commits into
mainfrom
feat/mcp-reply-history-approval-state
Nov 9, 2026
Merged

oddessentials merged 2 commits into
mainfrom
feat/mcp-reply-history-approval-state

Conversation

@oddessentials

Copy link
Copy Markdown
Owner
  • Reply history: each session keeps up to 100 answers / 16 MiB with opaque cursors, read with GET /sessions/:id/replies and the read_replies MCP tool. Reads never consume answers, and gap reports eviction or a reset.
  • Keyed terminal input: an idempotency key bound to the session's inputInstance gives at most one write attempt per key; the receipt is recorded before the write. Receipts are kept in two generations of 4,096: filling one retires its instance, so a key from a discarded generation is rejected as stale_instance and never written again. send_input takes idempotency_key.
  • Customization pointer: the MCP instructions and the guild_status description point to https://agentguild.oddessentials.ai/agents/, which links the World and Builders agent pages. Claude Code shows it; Codex defers MCP descriptions until a tool is looked up.

docs/api.md and docs/mcp.md describe the new contract.

Checked locally: npm test and every browser script in ci.yml.

🤖 Generated with Claude Code

oddessentials and others added 2 commits November 9, 2026 10:56
Add bounded per-session reply history with opaque cursors, read through GET /sessions/:id/replies and the read_replies MCP tool.

Add idempotency keys for terminal input, bound to the session's inputInstance: at most one write attempt per key, with receipts recorded before the write. Receipts are kept in two generations of 4,096; filling one retires its input instance, so a key from a discarded generation can only be rejected as stale_instance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The server instructions and the guild_status description name https://agentguild.oddessentials.ai/agents/, which links the World and Builders pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oddessentials
oddessentials merged commit 2cd3231 into main Nov 9, 2026
35 checks passed
@oddessentials
oddessentials deleted the feat/mcp-reply-history-approval-state branch November 9, 2026 17:03
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