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

Preface node heading:g-core-8-common-anti-patterns-and-how-to-avoid-them:136020

What this page is

This is generated FPF reference text from the specification preface or supporting sections. It helps interpret FPF; it is not FPF Reference product documentation.

Methodology

Use it to understand how the specification wants to be read, then return to a route, pattern, or work packet for active work. Cite generated IDs only when the wording changes the task decision.

Content

  • 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.


Last Updated: 2026-11-22 — upstream FPF commit 7a93d8f8 (github.com/ailev/FPF)