Repository navigation
docs(agents): inventory state/.compact-skills in the state records list - #21
Merged
Merged
Conversation
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.
Intent
Follow-up noted by the worker that shipped the compaction skill guard (PR #10, merged 2026-09-16): AGENTS.md section 2 lists every state/ record and does not yet name state/.compact-skills, the PreCompact hook's record of skills loaded before a Claude compaction. One line in that inventory. The Mods landing (PR 16) deliberately dropped this line from its upstream-clean branch because bin/fm-precompact-skills.sh is fork-only, so fork main still lacks it. This remains a fork-only AGENTS.md edit.
What Changed
state/.compact-skillsentry to thestate/runtime records inventory inAGENTS.mdsection 2, describing it as the per-line list of skills loaded before a Claude compaction, written by the PreCompact hookbin/fm-precompact-skills.sh, printed bybin/fm-session-start.sh's compact-source digest, and overwritten by each later compaction.Risk Assessment
✅ Low: Single documentation line added to the AGENTS.md state inventory; every claim in it (writer hook, reader digest, overwrite semantics) is verified against bin/fm-precompact-skills.sh, bin/fm-session-start.sh, and docs/sessionstart-nudge.md, and the change matches the stated intent exactly.
Testing
Docs-only inventory line in AGENTS.md; no live-drivable surface. Verified the diff is confined to AGENTS.md and that the new line's description of state/.compact-skills matches the writer (bin/fm-precompact-skills.sh) and reader (bin/fm-session-start.sh) scripts present on this fork branch. No scenarios could be driven live; verdict no-surface.
Evidence: AGENTS.md diff (base..target)
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
git diff e656392..322fee0 --stat(confirms AGENTS.md only, 1 insertion)grep -n compact-skills bin/fm-precompact-skills.sh bin/fm-session-start.sh(confirms writer/reader/overwrite claims in the new line)ls bin/fm-precompact-skills.sh(confirms fork-only hook present on branch)✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.