Skip to content

feat(tooling): RLM-backed digest of sibling agent (Codex) sessions#8730

Open
scarmani wants to merge 2 commits into
mainfrom
claude/agent-session-digest-20260630
Open

feat(tooling): RLM-backed digest of sibling agent (Codex) sessions#8730
scarmani wants to merge 2 commits into
mainfrom
claude/agent-session-digest-20260630

Conversation

@scarmani

Copy link
Copy Markdown
Collaborator

Makes cross-agent visibility one command. Codex writes full per-session transcripts to ~/.codex/sessions/**/rollout-*.jsonl (MBs each); reading one wholesale blows a reviewer's context. scripts/agent_session_digest.py extracts the reviewable signal (prompts, decisions, exec commands, referenced PRs) deterministically, and with --rlm runs it through Aragora's own RLM (aragora rlm compress+query) for a recursive summary.

Read-only; deterministic path needs no creds. --latest / --session <id> / --path / --json. 3 focused tests; live-smoked on a real rollout. Foundation for a single-coordinator cross-agent view to stop two agents editing the same core files.

scarmani added 2 commits June 30, 2026 16:38
…dex sessions

Cross-agent visibility: Codex writes full per-session transcripts to ~/.codex/sessions/**/rollout-*.jsonl (MBs each). This extracts the reviewable signal (prompts, decisions, exec commands, referenced PRs) deterministically and optionally runs it through Aragora's own RLM (aragora rlm compress+query) for a recursive summary — so reviewing what a sibling agent did is one command instead of hand-parsing JSONL or blowing context. Read-only; no creds required for the deterministic path. Supports --latest/--session/--path, --rlm, --json.
One-command cross-agent view: digests every Codex rollout in a time window (--since-hours) into a one-line-per-session summary (session id, command/decision counts, all PRs touched, last decision). Run before editing shared files to see what sibling agents are touching and avoid the two-agents-one-file collision. 5 tests; live-smoked.
@scarmani scarmani marked this pull request as ready for review June 30, 2026 23:37
@scarmani scarmani requested a review from an0mium as a code owner June 30, 2026 23:37
@github-actions

Copy link
Copy Markdown
Contributor

Aragora Code Review

Advisory-only review. No issues found.

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