You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: degrade PreCompact hooks instead of skipping, omit model for inherit, clean AGENTS.md hook section
Found while converting the llmdoc plugin surface:
- PreCompact hooks were dropped entirely with a skip warning; for platforms
where hooks already degrade to AGENTS.md notes (codex/opencode) there is
no reason to treat PreCompact worse than SessionStart/Stop. Degraded
notes now also use event-appropriate timing phrases ('Right before
context compaction, run …' instead of the semantically wrong 'Run after
PreCompact').
- 'model: inherit' (and an absent model) was hardcoded to a mapped model
name (e.g. gpt-5.6-sol), freezing today's default into the output. All
four platform branches now omit the model field so the target platform's
own session default applies.
- A freshly created AGENTS.md opened with a stray '---' (reads as a
frontmatter fence); the hook section is now assembled without a leading
separator, and appending to an existing AGENTS.md trims before adding
the thematic break.
0 commit comments