Skip to content

Add structured findings envelopes to SubAgentResult and parent-session acceptance flow #183

@Aaronontheweb

Description

@Aaronontheweb

Goal

Enable subagents to return structured findings in addition to final text so parent sessions can review, accept, reject, and convert those findings into durable memory checkpoints.

Why

The SQLite-first memory redesign depends on main-session ownership of durable memory. Today SubAgentResult only returns text output, which is not enough for reliable checkpoint-driven curation.

Scope

  • Extend SubAgentResult with an optional structured findings envelope.
  • Define findings shape for durable-memory candidates and lightweight metadata.
  • Add parent-session handling to accept/reject findings before checkpoint enqueue.
  • Add audit/observability for accepted, rejected, and dropped findings.

Acceptance criteria

  • Subagents can return both text output and structured findings.
  • Parent sessions can accept or reject findings before durable memory creation.
  • Accepted findings can be turned into memory checkpoints.
  • Audit logs distinguish accepted vs rejected findings.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    sessionsLLM session actor, turn lifecycle, pipelinessubagentsspawn_agent, SubAgentActor, definition loader, discovery context layer, and related features

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions