aboutsummaryrefslogtreecommitdiff
path: root/.ai/scripts/capture-guard
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-23 23:06:46 -0400
committerCraig Jennings <c@cjennings.net>2026-06-23 23:06:46 -0400
commit24ca58d764dbcc2bad57a914a10e9e9b89a3f66e (patch)
treedc3ab8db840b1562db36cc048e44a391e31fa73f /.ai/scripts/capture-guard
parent27da1f1d3290314d32455eac4e049118b00a7a13 (diff)
downloadrulesets-24ca58d764dbcc2bad57a914a10e9e9b89a3f66e.tar.gz
rulesets-24ca58d764dbcc2bad57a914a10e9e9b89a3f66e.zip
feat(inbox): consolidate three inbox workflows into one engine
I merged process-inbox, monitor-inbox, and inbox-zero into one inbox.org engine. A shared core (value gate, skeptical review, disposition ladder, reply discipline, capture-guard, priority-scheme check) holds the logic that used to be duplicated and cross-referenced across the three files. Each mode (process, monitor, roam) references the core by name instead of restating it. Every trigger phrase still works, now routing to a mode, so there's nothing to relearn. I added the interactive auto inbox zero mode: ask for an interval, run roam mode on /loop, acknowledge-only on an empty cycle, surface a find to a queue gated on a yes. The fully-unattended /schedule pass stays vNext, tracked separately. I repointed every live caller (INDEX, protocols, startup Phase C, wrap-up Step 3, triage-intake, broadcast) at inbox.org and its modes, then deleted the three old files. triage-intake and no-approvals stay separate by design. The value gate, dispositions, capture-guard, and reply discipline all behave as before. Built from the Ready spec. Workflow-integrity and sync-check pass on both the canonical and mirror trees, the stale-reference grep is clean, and the full suite is green. Claude-Session: https://claude.ai/code/session_017PtX1nt1rtYVATuzmzBS4f
Diffstat (limited to '.ai/scripts/capture-guard')
-rwxr-xr-x.ai/scripts/capture-guard4
1 files changed, 2 insertions, 2 deletions
diff --git a/.ai/scripts/capture-guard b/.ai/scripts/capture-guard
index 1958309..52f4e06 100755
--- a/.ai/scripts/capture-guard
+++ b/.ai/scripts/capture-guard
@@ -5,8 +5,8 @@
# Editing a file on disk while Emacs has an indirect org-capture buffer
# cloned from it reverts the base buffer underneath the capture, wedging it:
# the capture can no longer finalize cleanly with C-c C-c, and a freshly-typed
-# item can be lost or written back against post-edit content. inbox-zero
-# Phase D edits ~/org/roam/inbox.org, the file Craig captures into constantly,
+# item can be lost or written back against post-edit content. inbox.org
+# roam mode Phase D edits ~/org/roam/inbox.org, the file Craig captures into constantly,
# so it calls this guard first. See claude-rules/emacs.md.
#
# Usage: capture-guard [TARGET_FILE] (default ~/org/roam/inbox.org)