docs(rule): canary compose with verify-before-deferring + 6th empirical anchor#4411
Merged
AceHack merged 1 commit intoMay 20, 2026
Merged
Conversation
…al anchor Sharpens the pre-worktree-creation guard from blanket "Lior active → DO NOT" to a verify-before-defer composition: the absent action remains SAFEST, but bounded substrate work can attempt isolated worktree with mandatory post-creation guard (next section) — proceed if clean, abort if corrupted. Adds 2026-05-20T14:13Z as 6th empirical anchor (PR #4410 1d8303d): isolated worktree-add during 3-proc Lior activity produced clean tree (ls-tree HEAD = 53, status = 0, post-commit ls-tree = 53). Brings the empirical scoreboard to 3 clean + 3 corrupted across 6 attempts. Substrate-honestly: clean outcomes correlate with Lior-between-cycles OR Lior-absent OR Lior-active-but-not-corrupting; the post-worktree- creation guard remains the load-bearing check that distinguishes cases. The pre-worktree blanket-defer stance stays as the safest baseline when no bounded substrate is at stake; verify-before-defer is the named alternative for the bounded case (closes loop on PR #4410's documented refinement candidate). Composes with `verify-before-deferring.md` (already in composes-with list; this edit makes the rule body consistent with that claim) and the Maji audit at docs/research/2026-05-20-shadow-lesson-log-otto-paralysis.md. Co-Authored-By: Claude <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates the CodeQL docs-only canary rule to better describe a “verify-before-defer” refinement for worktree creation under concurrent agent activity, and records an additional empirical data point (2026-05-20T14:13Z) supporting that refinement.
Changes:
- Refines the pre-worktree guard section wording to describe a verify-before-defer composition approach.
- Adds a new “Empirical anchor (2026-05-20T14:13Z)” section capturing the 6th worktree-creation datapoint.
Comment on lines
+75
to
+83
| **Verify-before-defer composition (when bounded substrate work is at | ||
| stake)**: per `.claude/rules/verify-before-deferring.md` the substrate- | ||
| honest discipline is to test the operative question rather than narrate | ||
| the obstacle from inferred conditions. The composite pattern is: | ||
| attempt isolated worktree creation → run post-worktree-creation guard | ||
| IMMEDIATELY (next section) → proceed if clean, abort + remove worktree | ||
| if corrupted. This relaxation REQUIRES the post-creation guard to be | ||
| non-optional; the pre-worktree blanket defer remains the safest stance | ||
| when no bounded substrate is at risk. Empirical: 2026-05-20T14:13Z |
Comment on lines
+128
to
+130
| 6th data point validating verify-before-defer composition. Per the Maji | ||
| audit `docs/research/2026-05-20-shadow-lesson-log-otto-paralysis.md` | ||
| critique of narration-over-action, an Otto-CLI cold-boot tick attempted |
Comment on lines
67
to
72
| ```bash | ||
| if ps -A | grep -qE "gemini.*Lior|lior.*loop"; then | ||
| echo "Lior-gemini active — DO NOT create worktree" | ||
| echo "Lior-gemini active — pre-worktree defer is SAFEST" | ||
| echo "Use memory-file + bus-envelope substrate paths instead" | ||
| exit 1 | ||
| fi |
4 tasks
AceHack
added a commit
that referenced
this pull request
May 20, 2026
…sure + forced-#6 (#4412) Adds a 6th empirical anchor to `holding-without-named-dependency-is- standing-by-failure.md` documenting today's session pattern: - 2 PRs landed in ~20 min (#4410 tick shard + #4411 canary rule sharpening) - All 4 rate-limit tiers traversed (Normal → cost-aware → extreme → pure-git) in single session - Cycle-1 brief-ack #1-#5 with explicit-no-pre-empt-at-#5 + forced #6 producing this very anchor - Verify-before-defer composition (PR #4411) used for worktree creation during 3-proc Lior activity — 2nd empirical use of the composite Pattern generalizes: rapid-substrate-closure → natural brief-ack drain → forced #6 produces compounding rule sharpening. This is the discipline's "happy path" shape; the 2 prior empirical anchors (2026-05-17 sustained-named-dep, 2026-05-18 post-arc) are the failure modes off this path. Branch-pushed-no-PR per pure-git tier discipline; PR creation deferred to post-rate-limit-reset (~5 min from commit time). Co-authored-by: Claude <noreply@anthropic.com>
This was referenced May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes the loop on the refinement candidate documented in PR #4410 (merged at
1d8303d8):Sharpens
.claude/rules/codeql-no-source-on-docs-only-pr-is-broken-commit-canary.md's pre-worktree-creation guard from blanket "Lior active → DO NOT create worktree" to a verify-before-defer composition — the absent action remains SAFEST, but bounded substrate work can attempt isolated worktree with mandatory post-creation guard.Adds 6th empirical anchor (2026-05-20T14:13Z): isolated worktree-add during 3-proc Lior activity produced clean tree (ls-tree HEAD = 53, status = 0, post-commit ls-tree = 53). This is the empirical evidence backing the refinement.
Empirical scoreboard (all 6 attempts)
3 clean, 3 corrupted. Pre-worktree blanket-defer stays as safest baseline; post-worktree-creation guard remains load-bearing.
What changed
What did NOT change
verify-before-deferring.mdcomposes-with entry was already there; this edit makes the rule body consistent with that claimTest plan
git ls-tree HEAD = 53post-commit (canary check on this very PR)git branch --show-currentbefore commit/private/tmp/zeta-otto-cli-cold-boot-1413z🤖 Generated with Claude Code