Jump to text
On this page
Copy and source
Published source confirmed at last check

Source changed 2026-11-26 21:07:53 UTC · snapshot created 2026-11-26 21:08:36 UTC · last check 2026-11-29 22:35:20 UTC

G.Core:8 - Common anti-patterns and how to avoid them

  • Anti-pattern: Restating CN‑Spec/CG‑Spec rules inside a G.x “for convenience”. Avoid: cite the applicable specification (A.19.CN, G.0 or both) through CC‑GCORE‑CN‑CG‑1.

  • Anti-pattern: Adding a fourth guard status (“unknown”, “maybe”, “probe-only”) as a separate decision value. Avoid: keep guard domain tri‑state; express “probe-only” as policy/branching and record via pins/audit.

  • Anti-pattern: Treating mandatory invariants as “defaults” to centralize them. Avoid: Cite mandatory invariants through their CC‑GCORE‑* items and governing definitions. Reserve the Default Governing Definition Index for defaults, including constants and conditional default rules.

  • Anti-pattern: Turning partial orders into scalar ranks silently. Avoid: report what the declared comparator established about its operands. To obtain a frontier, apply the dominance rule to the candidate domain (C.18). Use G.5-3 to select candidates or G.5-6 to declare members already fixed for this use. Any ranking that guides a decision needs an admitted comparator or policy.

  • Anti-pattern: Competing defaults scattered across multiple patterns. Avoid: Default Governing Definition Index; delegate duplicate statements to the one governing definition.

  • Anti-pattern: Local trigger tokens without canonical mapping. Avoid: provide/cite a TriggerAliasMap with namespace‑qualified aliases.

  • Anti-pattern: Breaking public CC ids during dedup. Avoid: convert to delegation items; preserve IDs.