CLAUDE LABJP
SANDBOX — Claude Code adds a sandbox.credentials setting that blocks sandboxed commands from reading credential files and secret environment variablesMODEL — Org-configured model restrictions now apply across the model picker, --model, /model, and ANTHROPIC_MODELAGENTS — Sessions that edit, merge, comment on, or push to an existing PR now link to that PR in the claude agents viewFIX — Fixed --json-schema silently producing unstructured output on an invalid schema, plus messages lost at the --max-turns limitRECAP — Claude adds a monthly recap and focus settings in beta, with break reminders, quiet hours, and work insightsOPUS — Claude Opus 4.7 is now generally available with stronger long-running coding tasks and higher-resolution visionSANDBOX — Claude Code adds a sandbox.credentials setting that blocks sandboxed commands from reading credential files and secret environment variablesMODEL — Org-configured model restrictions now apply across the model picker, --model, /model, and ANTHROPIC_MODELAGENTS — Sessions that edit, merge, comment on, or push to an existing PR now link to that PR in the claude agents viewFIX — Fixed --json-schema silently producing unstructured output on an invalid schema, plus messages lost at the --max-turns limitRECAP — Claude adds a monthly recap and focus settings in beta, with break reminders, quiet hours, and work insightsOPUS — Claude Opus 4.7 is now generally available with stronger long-running coding tasks and higher-resolution vision
TAG

PreCompact

1 articles
Back to all tags
Related:
Claude Code1hooks1context1automation1
Claude Code/2026-07-10Advanced

Carrying Decisions Across Compaction with PreCompact and SessionEnd Hooks

Auto-compaction does not delete your conversation. It deletes the reasons behind it. Here is a working PreCompact / SessionEnd / SessionStart hook pipeline that rescues decisions to disk and hands them to the next session, with real code and measurements.