MGCCapstoneCloseGateCondition
Condition-set rows under a close gate definition (E3): one row per condition type, with the threshold and risk-class filter the evaluator judges by. The seven-value condition enum fixes the v1 set (D-CAP-E5); extensibility comes from detector classes, not from configuration. ThresholdPercent is read by PercentCertified only: the other six conditions are zero-tolerance by definition (their name says Zero/No/Green) and ignore it. The risk-class filter narrows PercentCertified to one risk class; RiskFilterEnabled exists because the reused CAP-001 risk-rating enum has no NoFilter value and value 0 (Low) must not silently become a filter; filter off is the deliberate default. Rows cascade with their definition (setup data); the evaluation history stores what was READ at evaluation time in its InputValues snapshot, so editing conditions later never rewrites what past verdicts were judged against (D-CAP-E8).
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
GateDefinition | RefRecId | Yes | |
LineNum | LineNum | No | The row's order within the gate's condition set. The evaluator judges conditions in this order, and the InputValues snapshot lists them by it (deterministic, invariant 7). |
ConditionType | MGCCapstoneCloseConditionType | No | What this row requires before the gate is green (E3, D-CAP-E5). Each type is judged by its blocker detector; a condition with no detector, or one its detector cannot judge, is recorded as skipped, never silently passed, and blocks an Enforced gate. |
ThresholdPercent | Percent | No | Read by the Percent certified condition only: the gate is green when the certified share of in-scope reconciliation instances reaches this percent. The other conditions are zero-tolerance and ignore it. |
RiskFilterEnabled | NoYes | No | Yes narrows the Percent certified condition to the one risk class below. Off by default: the reused risk-rating enum has no no-filter value, and Low (value 0) must never become a filter by accident. |
RiskClassFilter | MGCCapstoneReconRiskRating | No | The risk class the Percent certified condition is narrowed to when the filter is enabled (E3: percent certified by risk class). |
Enabled | NoYes | No | No takes the row out of evaluation without deleting the setup. The evaluation history records which rows were judged, so disabling is visible in the audit trail (D-CAP-E8). |