mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 23:09:35 +00:00
Complete Tier-1 closure follow-through by wiring docs governance gates, RC release readiness checks, source-of-truth enforcement, executive weekly contract surface, and go-live severity notes. Add full go-live revenue execution documentation set (production activation, real production playbook, trust expansion, first 3 clients, live deployment, and automated revenue engine) and register all canonical paths. Made-with: Cursor
20 lines
715 B
Python
20 lines
715 B
Python
"""Schema / contract CI: ExecWeeklyGovernanceContract round-trip."""
|
|
|
|
from app.schemas.structured_outputs import ExecWeeklyGovernanceContract, Provenance
|
|
|
|
|
|
def test_exec_weekly_governance_contract_roundtrip():
|
|
p = Provenance(generated_by="pytest", confidence=0.9)
|
|
m = ExecWeeklyGovernanceContract(
|
|
week_of="2026-W16",
|
|
changes_summary="Closed Tier-1 gates",
|
|
pending_decisions=["CFO sign-off"],
|
|
blockers_summary="None",
|
|
at_risk_items=["connector X"],
|
|
next_best_actions=["Run RC checklist"],
|
|
provenance=p,
|
|
)
|
|
d = m.model_dump(mode="json")
|
|
m2 = ExecWeeklyGovernanceContract.model_validate(d)
|
|
assert m2.pending_decisions == ["CFO sign-off"]
|