Skip to content

docs(reactions): document AI reaction agent (extra.mcp, reasoning, ai reply)#18

Merged
salimovartem merged 1 commit into
corezoid:developfrom
ABazyk:docs/ai-reaction-agent-fields
Jun 10, 2026
Merged

docs(reactions): document AI reaction agent (extra.mcp, reasoning, ai reply)#18
salimovartem merged 1 commit into
corezoid:developfrom
ABazyk:docs/ai-reaction-agent-fields

Conversation

@ABazyk

@ABazyk ABazyk commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

What

Syncs the plugin's reaction surface with the platform's AI reaction agent — the flow where a reaction flagged extra.mcp is processed by a Claude agent (hosted by claude-code-api) that acts on the platform via this MCP server, under the requesting user's access, and replies as a child ai reaction streaming its progress.

Changes

  • mcp-server/internal/tools/reactions.go
    • extra object now documents mcp:boolean (true ⇒ hand the reaction to the AI agent).
    • createReaction / updateReaction gain a reasoning body param — {inProgress, thoughts:[{id,text,createdAt}]}, the agent's streamed progress/answer trace.
    • Notes that ai is the agent's reply type (usually platform-produced).
    • Descriptions/params only — no new operations. Drift gate (paths/methods) unaffected; make build && make vet and the drift test pass.
  • skills/simulator-reactions/SKILL.md — new "AI agent reactions (extra.mcp)" section: how to invoke the agent, the ai reply, reasoning streaming (read mid-stream caveat), and a don't-loop note. Frontmatter untouched (no make discovery needed).
  • docs/entities/reactions.mdextra/reasoning fields in the tree-edge table, the ai type, and a new "AI Reaction Agent (MCP)" section with the interaction-scheme diagram + field table.
  • CHANGELOG.md[Unreleased] entry.

Notes

  • Documentation/contract sync only; the agent's runtime lives in pong-server (orchestrator) + claude-code-api and is tracked separately.
  • No version bump: the manifests are currently inconsistent (.claude-plugin 1.7.1 vs .codex-plugin 1.10.0) — left untouched to avoid entangling this doc PR with that reconciliation.

🤖 Generated with Claude Code

… reply)

Sync the reaction surface with the platform's AI reaction agent:

- reactions.go: `extra` now documents `mcp:boolean`; `createReaction` /
  `updateReaction` gain a `reasoning` param ({inProgress, thoughts[]}); note
  `ai` is the agent's reply type. Descriptions/params only — no new operations.
- simulator-reactions skill: new "AI agent reactions (extra.mcp)" section
  (invoke flow, ai reply, reasoning streaming, don't-loop note).
- docs/entities/reactions.md: extra/reasoning fields, `ai` type, and an
  "AI Reaction Agent (MCP)" section with the interaction scheme + field table.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@salimovartem salimovartem merged commit bf2a943 into corezoid:develop Jun 10, 2026
2 checks passed
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