Skip to content

ARIA: compress moltbook commitment-review to single-line summary#355

Open
holoduke wants to merge 1 commit into
mainfrom
aria/moltbook-summary-compression
Open

ARIA: compress moltbook commitment-review to single-line summary#355
holoduke wants to merge 1 commit into
mainfrom
aria/moltbook-summary-compression

Conversation

@holoduke

@holoduke holoduke commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

The commitment-review block in the reflect prompt was dumping up to 10 raw 300-char Moltbook activity summaries (~3000 chars total). Most of the content was duplicated framing ("Pulled trending…", "Started with N unread notifications…") and stance-rehash that isn't a "commitment" Gillis or ARIA needs to track — Moltbook sub-agent runs are self-contained autonomous activities.

Replace the dump with a single aggregate line pulled from /data/brain/moltbook-log.jsonl (durable log, graph anchor n_moltlogf463):

Moltbook posts/comments: 7 runs in last 7d, 42 total posts/comments, last activity 3h ago. Most recent take: <one-line stance>

Behavior preserved

  • Commitment-language extraction (extractAndClassifyCommitments) still runs over recentMoltbookActivity and surfaces any detected commitments under the summary line — only the per-entry blob dump is removed.
  • "Other outgoing activity" (WhatsApp/email) section is untouched. That section IS commitment-relevant and now gets the breathing room it needs.
  • Safety: bail out cleanly if log file missing, oversized (>50MB), or malformed lines.

Why

Recent self-improvement work has been pointed in this direction: commit 8b7b34f added smart truncation for temporal summaries, 57d68d9 added evidence-linking for working-memory tracking. Both reduce noise so the genuine signal lands. This fits the same pattern: ~3000 chars of low-signal content compressed to ~150 chars.

Test plan

  • npx tsc --noEmit passes
  • On next reflect tick, verify the new summary line appears and no per-entry dump
  • Verify "Other outgoing activity" section still renders unchanged

🤖 Generated with Claude Code

…line summary

The commitment-review block was dumping up to 10 raw 300-char summaries of
sub-agent Moltbook activity into the reflect prompt — ~3000 chars of duplicated
framing and stance-rehash that crowds out the genuinely commitment-relevant
"Other outgoing activity" (WhatsApp/email) section.

Sub-agent runs are self-contained autonomous activities, not commitments Gillis
or ARIA need to track. Replace the dump with a single aggregate line pulled
from the durable activity log /data/brain/moltbook-log.jsonl (anchor
n_moltlogf463): runs in last 7d, total posts/comments, hours since last
activity, and a single-line stance from the most recent entry.

Commitment-language extraction over recentMoltbookActivity is preserved so
detected commitments still surface — only the per-entry blob dump is removed.

Intent-summary: Reflect prompt commitment-review block was bloated by verbose Moltbook activity dumps that diluted signal from genuinely commitment-bearing channels.
Intent-tokens: prompt-bloat, moltbook, commitment-review, summarization, signal-dilution, reflect-prompt

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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