Skip to content

Render SourceOSInteractionEvent governance traces#46

Merged
mdheller merged 5 commits into
mainfrom
work/sourceos-interaction-render-43
May 30, 2026
Merged

Render SourceOSInteractionEvent governance traces#46
mdheller merged 5 commits into
mainfrom
work/sourceos-interaction-render-43

Conversation

@mdheller
Copy link
Copy Markdown
Contributor

Summary

Implements the AgentTerm read/render side for the shared SourceOS interaction substrate tracked in #43 and anchored in SourceOS-Linux/sourceos-spec#106.

This PR adds:

  • agent_term.interaction renderer/ingest helper
  • agent-term-interaction CLI for rendering or recording interaction event JSON
  • Noetica-compatible fixture adapted from the sourceos-spec example
  • tests proving local validation, terminal rendering, and conversion into AgentTermEvent
  • package script registration in pyproject.toml

Boundary posture

AgentTerm remains the terminal-native / Matrix-first operator surface. It can render and record SourceOSInteractionEvent governance traces, but it does not become the cognition loop, policy authority, memory authority, model router, grant authority, or execution authority.

The renderer exposes:

  • task status, provider, model, and latency
  • policy admission and policy refs
  • grant refs
  • memory scope/writeback posture
  • request/evidence hashes
  • provider-route evidence ref
  • AgentPlane run ref
  • evidence refs
  • replay ref
  • redaction refs

Validation

Local static review performed before PR:

  • Python sources were syntax-compiled before commit.
  • Fixture is structurally aligned to sourceos-spec#106.
  • Tests are self-contained and require no live Matrix, provider, or Superconscious dependency.

Expected validation:

ruff check .
pytest

Related

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.

Ingest and render SourceOSInteractionEvent governance traces

1 participant