MGCCapstoneCloseGateDefinition
Close gate definition header (E3, E4): the identity, legal-entity scope, default mode and override role of one close gate. Setup data, DMF-copyable (scenario E-13). Deleting a definition cascades its condition rows and task links (they mean nothing without it), but is REFUSED while evaluations exist; evaluations are the gate's permanent audit trail (D-CAP-E8) and their foreign key is delete-restricted. Advisory is the default mode (D-CAP-E2, ratified v1 commitment): a human completes the gate task when the page shows green, and a completion over red is stamped completed-while-red. The mode stored here is the DEFAULT for new task links; the effective mode lives per schedule on MGCCapstoneCloseGateTaskLink.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
GateId | MGCCapstoneCloseGateId | Yes | The gate identifier: a user-entered setup id, unique per legal entity. Referenced by condition rows, task links and the permanent evaluation history. |
Description | Description255 | No | |
LegalEntityScope | DataAreaId | No | Reserved for gates defined on behalf of another legal entity (E3). Nothing reads it in this release: a gate always judges the company it is evaluated in. Leave it blank. |
DefaultGateMode | MGCCapstoneCloseGateMode | No | The effective mode is per closing schedule, on the task link. |
OverrideRoleAotName | str | No | Reserved for a gate override (E4, scenario E-6), which does not ship in this release: nothing reads this field, and an Enforced gate refuses completion over red for everyone. Leave it blank. |