Auto-load Argus KB and inbox-first dream consolidation#286
Merged
Conversation
- /improve: load memory/user + memory/feedback at start; capture new knowledge to memory/inbox/<date>-<slug>.md so /dream can triage later - /dream: new Phase 1 (triage inbox), Phase 2 (conflict resolution by recency), Phase 3 (decay → archive); --auto mode for scheduled runs - SessionStart hook: inject memory/user + memory/feedback + KB index into every session via hookSpecificOutput.additionalContext - PostToolUse hook: log every kb_ingest write so /dream can run incrementally instead of rescanning the vault Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
dream/SKILL.md - Reorder phases so Orient + Gather Signal come before Triage/Conflict/Decay (the link graph and filename map need to exist before Decay reads them) - Renumber report section labels and Phase 5 cross-references - Drop unimplemented --since flag - Tighten decay rule: change log only tracks writes, not reads - Note Phase 5 dependency on Phase 4 supersession data - Replace company-specific tag in routing rules with generic example - Move "skip if no writes since last run" guard from Scheduling into the Instructions preamble so --auto sees it improve/SKILL.md - Add allowed-tools frontmatter for Argus KB MCP tools - Add MCP tool name fallback note (mcp__argus__* / mcp__argus-kb__*) - Replace company-specific topical-folder examples with generic guidance - Extract Step 8 Part 0 details to references/argus-kb.md (under 500 lines) session-start-memory.sh - Replace jq call in fail-soft path with printf so emit_empty works even when jq is missing - Switch 50KB cap from byte-truncation to awk line-truncation so we never split a multi-byte UTF-8 character - Document why the head -200 cap exists track-kb-change.sh - Add explicit jq guard so the hook fails soft if jq is missing - mkdir -p ~/.dots/sys/dream-runs alongside kb-changes so /dream --auto's log directory exists on first run cli/commands/install/agents.go - Comment registerSessionStartMemoryHook's nested traversal: SessionStart entries have no matcher, so we dedupe on inner command strings Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wires the Argus KB into Claude Code as the primary durable memory store
and reshapes /dream into a scheduled consolidation pass.
every session via hookSpecificOutput.additionalContext (fail-soft when
argus or jq is missing, UTF-8-safe truncation at 50 KB).
/dream can run incrementally instead of re-scanning the vault.
to memory/inbox/-.md (inbox-first; /dream triages later).
supersession (Phase 4), and Decay → Archive (Phase 5). Designed to run
unattended via Argus scheduled tasks with --auto.
alongside the existing skill-tracking hook and status line.
Co-Authored-By: Claude noreply@anthropic.com