Devlog for the 4-round reviewer-fanout audit with decisions and gotchas; AGENTS.md gains GitNexus code-intelligence boilerplate plus Project Learnings and Session Logs sections; GLOSSARY.md defines warn/force tiers and the compaction cycle.
882 B
882 B
Glossary
Domain terms for the smart-compact extension.
Terms
Discovered Terms
Warn tier
Tier 1: a one-shot custom_message injected at turn_end once per compaction cycle when context crosses min(warnTokens, warnFraction × window) — invisible in the UI (display: false), nudges the agent to be economical.
Force tier
Tier 2: ctx.compact() triggered from agent_settled (idle-guaranteed boundary) when context crosses min(forceTokens, forceFraction × window) — never from turn_end, because manual compaction aborts the active run and never resumes it.
Compaction cycle
The span between compactions. session_compact (any cause: manual /compact, forced, threshold, overflow recovery) resets the warn flag, the in-flight lock, and the cached token count; guards fire at most once per cycle.