type: rule
status: active
timestamp: 2026-06-23
tags: [rule, grill, architecture, knowledge, decision-discipline]

Auto-grill on architectural decisions

Before multi-file architectural choice — grill first \ framework, data model), agents MUST run the grill skill or its inline equivalent\ \ (3\u20134 ranked-recommendation questions via multi-choice question prompt). Decision must\ \ be locked into knowledge/decisions/ before code lands. Locked 2026-06-23 in response\ \ to user explicitly choosing the auto-grill cadence. Compounds with self-update-on-every-decision:\ \ grill produces the decision, that rule files it."

Rule: auto-grill on every architectural decision

What

Before writing code for any decision that:

agents MUST run a structured grill of 3–4 questions via multi-choice question prompt (or invoke the grill-me skill), then write the resulting choice to knowledge/decisions/<topic>.md BEFORE any code lands.

Why

The user pasted explicit feedback 2026-06-23 about my flag-system reasoning being wrong on 4 specific points (incident response not always git-push-able, paying-user threshold approaching, etc.). Pattern: when I commit to architecture without a grill, I tend to overstate the case for the cheap option. Grilling forces me to surface tradeoffs, give a ranked recommendation, and accept correction before the code locks in.

Grilling is FAST when the recommendation is obvious — three questions, three Recommended answers, 30 seconds. The cost is low; the cost of skipping it on a decision that turns out wrong is hours of rework.

How to apply

  1. Identify the decision boundary. If you’re about to write code that introduces dependency / SaaS / DB / shared API / auth-billing-PII change, STOP.
  2. Compose 3–4 ranked-recommendation questions per multi-choice question prompt. Each option:
    • Option 1 = Recommended (suffix (Recommended))
    • Option 2 = 2nd choice (suffix (2nd choice))
    • Options 3–4 = other viable shapes
    • Never ship four equally-weighted options. If you can’t pick a recommendation, research first.
  3. Write the locked answers into knowledge/decisions/architecture/<slug>.md with format-version OKF metadata.
  4. If the user picks the 2nd choice or overrides Recommended, also write a candidate feedback memory: “user prefers X for category Y” — surface the taste pattern that the override implies.
  5. ONLY then write the code.

What grill is NOT

How NOT to apply

Cross-refs


Edit on GitHub · Back to index