forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprotocol.py
More file actions
30 lines (22 loc) · 1.21 KB
/
Copy pathprotocol.py
File metadata and controls
30 lines (22 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""Serialized protocol tokens for memory-V3-F6 artifacts.
Constants in this module are the canonical spellings emitted to JSON. They are
plain strings so existing artifact JSON types remain unchanged.
"""
from __future__ import annotations
from typing import Final, Literal
ArtifactVersion = Literal["memory-V3-F6B", "memory-V3-F6F", "memory-V3-F6H"]
GateStatus = Literal["PASS", "PRE_GCP_READY", "BLOCKED", "BLOCKED_ON_GCP_ACCESS", "MISSING"]
AggregateDecision = Literal["BLOCKED_ON_GCP_ACCESS", "NO_GO"]
EvidenceTargetName = Literal["dev", "prod"]
ARTIFACT_VERSION_F6B: Final[ArtifactVersion] = "memory-V3-F6B"
ARTIFACT_VERSION_F6F: Final[ArtifactVersion] = "memory-V3-F6F"
ARTIFACT_VERSION_F6H: Final[ArtifactVersion] = "memory-V3-F6H"
STATUS_PASS: Final[GateStatus] = "PASS"
STATUS_PRE_GCP_READY: Final[GateStatus] = "PRE_GCP_READY"
STATUS_BLOCKED: Final[GateStatus] = "BLOCKED"
STATUS_BLOCKED_ON_GCP_ACCESS: Final[GateStatus] = "BLOCKED_ON_GCP_ACCESS"
STATUS_MISSING: Final[GateStatus] = "MISSING"
DECISION_BLOCKED_ON_GCP_ACCESS: Final[AggregateDecision] = "BLOCKED_ON_GCP_ACCESS"
DECISION_NO_GO: Final[AggregateDecision] = "NO_GO"
TARGET_DEV: Final[EvidenceTargetName] = "dev"
TARGET_PROD: Final[EvidenceTargetName] = "prod"