Skip to main content

TrustGate Codex Instructions

This directory is governed by:

  • TRUSTGATE-CONSTITUTION
  • REPLAY-CONSTITUTION
  • SCORING-CONSTITUTION
  • DOCUMENTATION-CONSTITUTION
  • ONTOLOGY-CONSTITUTION

Canonical document ownership

  • TG owns the TrustGate constitutional role.
  • TG_MIB owns runtime integration and pipeline order.
  • TG-TMS owns trust semantics and trust dimensions.
  • TG-RS owns replay architecture.
  • TG-RP owns replay equivalence modes.
  • TG-SG owns score parameters and calibration.
  • TG_CSI owns runtime signal contracts.
  • TG-SCORE-TRUST owns trust-scoring execution.
  • GH-SUBMITTER owns submitter-visible Gatehouse behavior.
  • VW-DL owns documentation-lint implementation.

Mandatory rules

  • Parser precedes Structure Validation.
  • Structure Validation precedes Normalization.
  • Policy Resolution precedes Trust Scoring.
  • Trust Scoring precedes Decision.
  • Human review is a ROUTE target, not a sixth top-level decision exit.
  • Every engine output must declare a replay mode.
  • Numeric epsilon values must not appear in engine frontmatter.
  • Gatehouse must not consume private tenant scoring policy directly.
  • Generated narrative outputs must be separated from deterministic structured explanations.
  • Relationship fields must use exact document IDs.
GitHub RepoRequest for Change (RFC)