TrustGate Codex Instructions
This directory is governed by:
TRUSTGATE-CONSTITUTIONREPLAY-CONSTITUTIONSCORING-CONSTITUTIONDOCUMENTATION-CONSTITUTIONONTOLOGY-CONSTITUTION
Canonical document ownership
TGowns the TrustGate constitutional role.TG_MIBowns runtime integration and pipeline order.TG-TMSowns trust semantics and trust dimensions.TG-RSowns replay architecture.TG-RPowns replay equivalence modes.TG-SGowns score parameters and calibration.TG_CSIowns runtime signal contracts.TG-SCORE-TRUSTowns trust-scoring execution.GH-SUBMITTERowns submitter-visible Gatehouse behavior.VW-DLowns documentation-lint implementation.
TrustGate identifier rule
Before referencing any TrustGate document, resolve the exact ID through
config/system/acronyms.json.
Informal engine labels such as TG-NORM, TG-ENRICH, TG-POLICY,
TG-SCORE, TG-ATTEST, TG-VRES, and TG-INTEL shall not be treated as
canonical document or artifact identifiers unless they are explicitly
registered in the applicable authoritative registry.
TrustGate module resolution
Before assigning or changing omr_module_ids, resolve the module through:
config/system/omr.modules.json
Use the exact registry id, never the module code, display name, folder name,
or an invented abbreviation.
TrustGate documents currently belong to the registered module:
omr_module_ids:
- verification-assurance
Do not introduce alternatives such as:
trustgate
verification
assurance
VERIFICATION_ASSURANCE
zar-artifact-framework
unless they are separately registered OMR module IDs and are architecturally applicable.
Mandatory rules
- Parser precedes Structure Validation.
- Structure Validation precedes Normalization.
- Policy Resolution precedes Trust Scoring.
- Trust Scoring precedes Decision.
- Human review is a
ROUTEtarget, 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.