Skip to content

SessionStart:compact hook still truncates PERSONAL_CLAUDE reinjection to 2KB preview (follow-up evidence, 4th verification) #2783

Description

@akag2

What happened?
Follow-up to yesterday's report on post-compaction context reload. Today's evidence from a Michael-ordered un-fakeable verification (2026-08-10 15:00 PT): a compaction occurred ~05:50; the SessionStart:compact hook fired and persisted its full output to a side file, but only a ~2KB preview reached context — the 507-line PERSONAL_CLAUDE.md was NOT reinjected. Verified via disk read: sha256 a34e11ea40e3e38048daa9f0464297d343f8aaef6b1508c0e28467af55318418, three randomly-chosen offset lines (120/335/458) quoted from disk. The workaround that held: an always-loaded memory-index doctrine card mandating a manual full-file Read immediately post-compaction. Request: allow SessionStart hook output above 2KB to be reinjected in full (or a configurable cap), since operating-rules files are exactly the class of content that must survive compaction.

Steps to reproduce

  1. (from reporter — to confirm)

Expected behavior
(to confirm)

Severity (reporter): medium


🤖 Filed automatically from in-app user feedback — bug / severity medium. Edit freely; this is a starting point, not a fixed record.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions