types.py
python
sha256:106ef9e12cca7f3be3ffb2a6bd3abfa76f032dce453c9e5010d732a8d86f2e14
Reconcile reviewed credential compatibility 32254cd939885d9…
Human
patch
8 days ago
| 1 | """Types for governance gate reminders (§KH1.9).""" |
| 2 | |
| 3 | from __future__ import annotations |
| 4 | |
| 5 | from dataclasses import dataclass |
| 6 | |
| 7 | |
| 8 | @dataclass(frozen=True) |
| 9 | class PendingGate: |
| 10 | """One pending governance gate detected by read-only scan.""" |
| 11 | |
| 12 | gate_id: str # freeze_review | build_verification | handover_paste |
| 13 | phase_id: str |
| 14 | artifact: str | None |
| 15 | message: str |
| 16 | invoke: str |
| 17 | |
| 18 | |
| 19 | @dataclass(frozen=True) |
| 20 | class GateScanResult: |
| 21 | """Outcome of scanning roadmap + handover for pending gates.""" |
| 22 | |
| 23 | enabled: bool |
| 24 | suppressed: bool |
| 25 | pending: tuple[PendingGate, ...] |
| 26 | active_phases: tuple[str, ...] |
| 27 | |
| 28 | @property |
| 29 | def has_pending(self) -> bool: |
| 30 | return bool(self.pending) |
File History
2 commits
sha256:106ef9e12cca7f3be3ffb2a6bd3abfa76f032dce453c9e5010d732a8d86f2e14
Reconcile reviewed credential compatibility 32254cd939885d9…
Human
patch
8 days ago
sha256:c87cf2c2f03da507f66f93922cb339a2cbebb33ad6372a6039032fb09a20da12
Reconcile reviewed Overseer recovery d47291d5d9030de5ebef71…
Human
minor
⚠
8 days ago