Skip to content

docs(hermes-agent): design plugin-origin sessions and discord on cotal (RIG-8011) - #67

Merged
mattwilkinsonn merged 3 commits into
mainfrom
nemo-intake/rig-8011-plugin-origin
Nov 5, 2026
Merged

mattwilkinsonn merged 3 commits into
mainfrom
nemo-intake/rig-8011-plugin-origin

Conversation

@rigel-mintaka

@rigel-mintaka rigel-mintaka commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • This is the design record for the two Hermes fork patches Matt ruled on in RIG-8011 (Q1 A, Q2 B), for the RIG-7938 intake build.
  • Q1 (DL-648): cotal turns may use the core discord toolset. On mesh turns, writes need discord.post_channels to hold the target. Reads refuse DM channels and channels outside the operator's guilds.
  • Q2 (DL-649): a plugin with allow_origin_sessions may start a session at a bot-owned Discord thread, as plugin:<id>, under the session authority. The row is revalidated before it runs. Every row such a plugin injects runs in a fresh context with the cotal toolset list and the mesh scope. Its approval cards reach the operator as once or deny only.

Verification

  • Every current-behaviour claim cites a file and function on rigel-release at c4093027.
  • One design-critic pass found 3 high, 5 medium and 1 low; all are folded in.
  • rumdl check, bun run ref-gate and bun run gate pass locally.

Risks

  • Matt's condition is that approval prompts still reach him. The record states the preconditions (no yolo, mode not off, existing permanent grants still apply). Task 3 tests each one end to end.
  • Decision 3 narrows plugin-injected turns to the cotal toolset. Matt can widen it at merge.

Compatibility

Nothing changes until the fork PR lands. The continuation path and native admission keep their behaviour.

Documentation

This PR is the documentation change.

Refs RIG-8011, RIG-7938
Ledger-impact: DL-648, DL-649

…l (RIG-8011)

Design record for the two Hermes fork patches Matt ruled on in RIG-8011:
discord on the cotal platform under a mesh scope, and plugin-origin sessions
at bot-owned Discord threads with approval prompts that still reach the
operator.

Refs RIG-8011, RIG-7938
Ledger-impact: DL-648, DL-649

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@linear-code

linear-code Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

RIG-8011

RIG-7938

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Rigel public design docs preview: https://nemo-intake-rig-8011-plugin.docs-2ui.pages.dev

Deployed from nemo-intake/rig-8011-plugin-origin at 71fcd77.

rigel-mintaka and others added 2 commits November 4, 2026 22:22
…, full mesh scope (RIG-8011)

Review fixes: bootstrap uses its own authorization predicate, plugin-origin approval asks always reach the operator as once/deny cards, search_members is scoped, and a cotal peer turn keeps its deny.

Refs RIG-8011

Co-authored-by: Matt Wilkinson <matt@rigel.build>
…proval surface (RIG-8011)

Refs RIG-8011

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@rigel-mintaka

Copy link
Copy Markdown
Contributor Author

Review note for head 71fcd77:

  • review loop clean, 0 open high/medium;
  • critic pass (3 high, 5 medium) and review round 1 (2 high, 2 medium) folded;
  • head checks on a9c1995 (2 high, 2 medium) folded; the 71fcd77 head check is clean;
  • check passes.

@rigel-mintaka
rigel-mintaka marked this pull request as ready for review November 5, 2026 05:57
@mattwilkinsonn
mattwilkinsonn merged commit 847ea5c into main Nov 5, 2026
2 checks passed
@mattwilkinsonn
mattwilkinsonn deleted the nemo-intake/rig-8011-plugin-origin branch November 5, 2026 06:01
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