Trigger rule pair
Description
The meta-criterion: a heuristic only earns its keep when it is paired with an identifiable invocation condition. A bare rule (“do X”) is not yet a trigger-rule pair — it’s an aspiration or an instruction that may never be retrieved at the moment it’s relevant. A trigger-rule pair has the form: “When [situation-shape S], apply [rule R].” The trigger is what makes the rule addressable at the right moment; without it, the rule sits inert in memory and fails to execute when the situation calls for it. This concept is directly architecturally relevant to any retrieval-driven reasoning system: the retrieval layer needs trigger patterns to know when to surface a concept or insight, not just what the insight says. A knowledge-base entry without trigger keywords or a “When it applies” section is an incomplete trigger-rule pair — it has the rule but lacks the invocation condition.Triggers
User-initiated: User is writing or reviewing instructions, rules, heuristics, principles, or guidelines. Any time a rule is stated without a “when”: that’s the moment to surface the trigger-rule-pair concept and prompt for the invocation condition. Agent-initiated: Engine scans an insight or rule-like statement and detects a bare principle (rule without trigger). Candidate inference: “this heuristic is missing its invocation condition — what situation-shape should fire it?” Vocabulary cues: “heuristic,” “rule,” “principle,” “always,” “never,” “our convention is,” “best practice,” “standing instruction” — followed by a content statement but not preceded by a conditional (“when X,” “if X,” “in situations where”). Situation-shape signals: A document containing many bare rules (style guides, wikis, CLAUDE.md files) is a trigger-rule-pair audit target — each rule is a candidate for trigger-elicitation.Exclusions
- Truly unconditional rules — some invariants apply everywhere with no trigger needed (e.g., “never use plaintext for credentials”). The trigger is effectively “always” and stating it explicitly adds no information.
- Exploratory context — in a brainstorm or divergent-thinking mode, pairing every heuristic with a trigger prematurely constrains exploration. The concept earns its keep when converging on operationalizable rules.
- When the trigger is fully obvious from context — “when reviewing code, look for security vulnerabilities” — the trigger adds little if the document is already scoped to code review.
Structure
Relationships
- doctrine — creation relationship — trigger-rule-pair is the structural criterion that turns a doctrine fragment into a complete doctrine. Every complete doctrine is a trigger-rule pair; not every trigger-rule pair is elevated to doctrine status.
- cadence — composition relationship — cadence-driven triggers fire at temporal intervals (“at session start”) rather than event-based; the combination is trigger-rule-pair with a cadence-shaped trigger.
- asymmetric-gate — specialization relationship — an asymmetric gate is a trigger-rule pair where the rule is “apply the expensive check” and the trigger is “when the cheap gate passes.” Trigger-rule-pair is the containing category.
- active-gate-vs-passive-audit — composition relationship — the “gate vs. audit” choice is a downstream decision from the trigger: what does the rule do when triggered? Gate (block) or audit (record)?
Examples
CLAUDE.md instructions · computer-science
CLAUDE.md instructions · computer-science
Cognitive science: production rules in ACT-R have the same structure (condition → action). The trigger half corresponds to the condition side of a production. · psychology
Cognitive science: production rules in ACT-R have the same structure (condition → action). The trigger half corresponds to the condition side of a production. · psychology
Architectural decision records (ADRs) · computer-science
Architectural decision records (ADRs) · computer-science
Code review norms · computer-science
Code review norms · computer-science
Stiell, I. G., Greenberg, G. H., McKnight, R. D., Nair, R. C., McDowell, I., & Worthington, J. R. (1992). A study to develop clinical decision rules for the use of radiography in acute ankle injuries. Annals of Emergency Medicine, 21(4), 384–390. · medicine-and-health
Stiell, I. G., Greenberg, G. H., McKnight, R. D., Nair, R. C., McDowell, I., & Worthington, J. R. (1992). A study to develop clinical decision rules for the use of radiography in acute ankle injuries. Annals of Emergency Medicine, 21(4), 384–390. · medicine-and-health
Pattern-language tradition (Alexander et al.): each pattern has a "forces" section describing the situation that calls f · architecture-and-design
Pattern-language tradition (Alexander et al.): each pattern has a "forces" section describing the situation that calls f · architecture-and-design
Chairman of the Joint Chiefs of Staff Instruction (CJCSI) 3121.01B, Standing Rules of Engagement/Standing Rules for the Use of Force for U.S. Forces (13 June 2005). Unclassified definitions of "hostile act" and "hostile intent" reproduced in The Judge Advocate General's Legal Center and School, Operational Law Handbook (annual editions). · military-sciences
Chairman of the Joint Chiefs of Staff Instruction (CJCSI) 3121.01B, Standing Rules of Engagement/Standing Rules for the Use of Force for U.S. Forces (13 June 2005). Unclassified definitions of "hostile act" and "hostile intent" reproduced in The Judge Advocate General's Legal Center and School, Operational Law Handbook (annual editions). · military-sciences
Levi, E. H. (1949). An Introduction to Legal Reasoning. Chicago: University of Chicago Press. · law
Levi, E. H. (1949). An Introduction to Legal Reasoning. Chicago: University of Chicago Press. · law
Kelsen, H. (1967). Pure Theory of Law (M. Knight, Trans., from the 2nd German ed., Reine Rechtslehre, 1960). Berkeley: University of California Press (§16, "The Legal Rule as a Hypothetical Judgment," pp. 76–77); see also Kelsen, H. (1945). General Theory of Law and State (A. Wedberg, Trans.). Cambridge, MA: Harvard University Press (p. 45). · law
Kelsen, H. (1967). Pure Theory of Law (M. Knight, Trans., from the 2nd German ed., Reine Rechtslehre, 1960). Berkeley: University of California Press (§16, "The Legal Rule as a Hypothetical Judgment," pp. 76–77); see also Kelsen, H. (1945). General Theory of Law and State (A. Wedberg, Trans.). Cambridge, MA: Harvard University Press (p. 45). · law
Wells, P. S., Anderson, D. R., Rodger, M., Forgie, M., Kearon, C., Dreyer, J., Kovacs, G., Mitchell, M., Lewandowski, B., & Kovacs, M. J. (2003). Evaluation of D-dimer in the diagnosis of suspected deep-vein thrombosis. New England Journal of Medicine, 349(13), 1227–1235. · medicine-and-health
Wells, P. S., Anderson, D. R., Rodger, M., Forgie, M., Kearon, C., Dreyer, J., Kovacs, G., Mitchell, M., Lewandowski, B., & Kovacs, M. J. (2003). Evaluation of D-dimer in the diagnosis of suspected deep-vein thrombosis. New England Journal of Medicine, 349(13), 1227–1235. · medicine-and-health