diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-24 00:07:13 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-24 00:07:13 -0400 |
| commit | f83d4bbe6772c472f10efb0e298116abd6f97922 (patch) | |
| tree | 5961bafdf55d810d7fd5e84029e17cfdd62890f1 /root-cause-trace | |
| parent | 96cd34f78e0751d1adabef87201a6592563c2b91 (diff) | |
| download | rulesets-f83d4bbe6772c472f10efb0e298116abd6f97922.tar.gz rulesets-f83d4bbe6772c472f10efb0e298116abd6f97922.zip | |
fix(inbox): stop pulling the roam repo during triage
The roam repo's working tree is dirty most of the time (Craig captures into it constantly, and roam-sync only commits every 15 minutes), so roam mode's pull --ff-only failed on nearly every run and blocked triage. The auto inbox zero loop hit it every cycle.
Roam mode now never pulls. The scan reads the working-tree file directly, since that's already the latest local state, and the rare write removes the claimed items in place and then triggers roam-sync to commit and push. roam-sync already commits-first-then-rebases, so it handles the dirty tree, and the ownership partition (only this project touches its own prefixed lines) means its rebase can't conflict on the edit.
Trade-off: the roam-repo commit carries roam-sync's generic auto-sync message instead of a descriptive one. The provenance for routed tasks lives in the project's todo.org and session log anyway.
Claude-Session: https://claude.ai/code/session_017PtX1nt1rtYVATuzmzBS4f
Diffstat (limited to 'root-cause-trace')
0 files changed, 0 insertions, 0 deletions
