Skip to content

feat(agent): add actor runtime state - #2

Closed
handsdiff wants to merge 1 commit into
feat/routing-context-user-idfrom
feat/agent-actor-runtime-stacked
Closed

feat(agent): add actor runtime state#2
handsdiff wants to merge 1 commit into
feat/routing-context-user-idfrom
feat/agent-actor-runtime-stacked

Conversation

@handsdiff

@handsdiff handsdiff commented Apr 24, 2026

Copy link
Copy Markdown
Owner

Summary

Adds an actor/runtime state layer so an agent can reason across isolated sessions without collapsing identity boundaries.

  • records inbound, outbound, directive, and cron-related runtime events in state.db
  • resolves per-platform actor identity/authority, including owner turns outside owner DMs
  • injects an ephemeral self-state packet into gateway turns
  • adds self_state for read-only runtime introspection
  • gates public outbound sends against recent owner directives and unsafe cross-session broadcasts

Stack

Depends on:

Verification

  • Focused actor/routing/state regression suite: 319 passed, 1 warning
  • Broader gateway/tooling/cron regression suite with optional extras: 527 passed, 4 warnings
  • Integration rebuild: same broader suite passed with 527 passed, 4 warnings
  • Canary focused regression suite: 307 passed, 4 warnings
  • Owner group-source sanity: authority=owner; routing context includes source_kind: owner and owner user_id

@handsdiff

Copy link
Copy Markdown
Owner Author

Closing this fork-local stacked PR now that the upstream PRs are open (NousResearch#14883 and NousResearch#14884) and fork main has been rebuilt with the branch.

@handsdiff handsdiff closed this Apr 24, 2026
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