The split is right for rules you already know about. The ones that hurt most are decisions nobody wrote down as a rule at all: what happens on a duplicate, which store is the source of truth. No hook or gate fires for a decision that was never made, so Claude picks a default and moves on. That is the gap npx halfcycle covers inside Claude Code: it asks those decisions before any code and records them for every session. After the three layers, which rules still slip through for you?
Agreed, and conflicting sources of truth are the sneaky one, because each source looks right on its own. Naming which one wins before the build turns a later conflict into a broken rule you can see, not a bug report. In your experience, which costs more to unpick later: the edge cases or the conflicts?
That matches what we see. It is why we settle which source wins before any code is written and let review find the edge cases: the core rules are cheap to fix early and expensive later, and the edge cases are roughly the same price either way. Thanks for the exchange; your gates-vs-hooks breakdown is one we will point people to.
"A request, not a guarantee" is the line more people need to hear. Writing a rule louder in the notes file doesn't turn it into a rule. The three-question sort (should it never happen, should it always happen, does it need thinking) is a clean way to decide where each one lives.
The split is right for rules you already know about. The ones that hurt most are decisions nobody wrote down as a rule at all: what happens on a duplicate, which store is the source of truth. No hook or gate fires for a decision that was never made, so Claude picks a default and moves on. That is the gap npx halfcycle covers inside Claude Code: it asks those decisions before any code and records them for every session. After the three layers, which rules still slip through for you?
the biggest gaps are usually edge cases and conflicting sources of truth.
making those decisions explicit before coding can prevent a lot of rework later.
Agreed, and conflicting sources of truth are the sneaky one, because each source looks right on its own. Naming which one wins before the build turns a later conflict into a broken rule you can see, not a bug report. In your experience, which costs more to unpick later: the edge cases or the conflicts?
I’d say conflicting sources of truth are usually more expensive because they affect multiple workflows at once.
edge cases are easier to isolate once the core rules are clear.
That matches what we see. It is why we settle which source wins before any code is written and let review find the edge cases: the core rules are cheap to fix early and expensive later, and the edge cases are roughly the same price either way. Thanks for the exchange; your gates-vs-hooks breakdown is one we will point people to.
"A request, not a guarantee" is the line more people need to hear. Writing a rule louder in the notes file doesn't turn it into a rule. The three-question sort (should it never happen, should it always happen, does it need thinking) is a clean way to decide where each one lives.