diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-18 13:38:55 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-18 13:38:55 -0500 |
| commit | 049a9f8ac380df39cac285032cf1fedcb6f566bf (patch) | |
| tree | 10da8947d2bb1d7554358416a2c11c20ba096b56 /scripts/lint.sh | |
| parent | 89da216416b39b70d87da7a423b02f177cfdef8b (diff) | |
| download | rulesets-049a9f8ac380df39cac285032cf1fedcb6f566bf.tar.gz rulesets-049a9f8ac380df39cac285032cf1fedcb6f566bf.zip | |
docs(protocols): mechanical primary trigger for session-context writes
The "If this session crashed right now..." heuristic was the trigger. It pushes the decision onto the agent every turn, and the agent's bias is to defer when no obvious milestone just happened. Four recent sessions in the work project showed the same drift. The pattern: substantive work, no mid-session writes, a wrap-time reconstruction afterward.
The new primary trigger is mechanical. A turn that called any state-modifying tool (Edit, Write, Agent dispatch, MCP write, or Bash that mutates state) writes to the Session Log before the closing user-facing message. Pure-read turns (Read, Glob, Grep, read-only Bash) don't trigger. The existing high-loss bullets stay as elaboration. They aren't the trigger.
The 5-turn safety net remains. The judgment heuristic is gone. The primary trigger replaces it.
Diffstat (limited to 'scripts/lint.sh')
0 files changed, 0 insertions, 0 deletions
