feat: register enterprise technical control boundary
Human-Authorizer: ICE-GL∞ Persona-Executor: ICE-P-ZY001 Declared-Technical-Controller: Awen Awen-Identity: PENDING_SELF_REGISTRATION Awen-Final-Signature: NOT_PRESENT Production-Deployment: BLOCKED Causal-Chain: HLDP://enterprise/technical-control/2026-07-30
This commit is contained in:
parent
7516ef7afc
commit
267e48decf
3 changed files with 69 additions and 0 deletions
|
|
@ -69,6 +69,14 @@ with tempfile.TemporaryDirectory() as temp:
|
|||
status = json.load(urllib.request.urlopen(BASE + "/v1/status"))
|
||||
assert status["node_id"] == "AW-GZ-001"
|
||||
assert status["host_state"] == "ONLINE"
|
||||
assert status["technical_control"] == {
|
||||
"enterprise_human_controller": "Awen",
|
||||
"enterprise_human_controller_id": None,
|
||||
"enterprise_persona_executor_id": None,
|
||||
"state": "HUMAN_DECLARED_PERSONA_PENDING_REGISTRATION",
|
||||
"final_deployment_signature_state": "NOT_PRESENT",
|
||||
"production_deployment": "BLOCKED",
|
||||
}
|
||||
assert {domain["state"] for domain in status["domains"] if domain["id"] != "DOMAIN-FIFTH"} == {
|
||||
"HOSTED_READ_ONLY"
|
||||
}
|
||||
|
|
@ -78,6 +86,16 @@ with tempfile.TemporaryDirectory() as temp:
|
|||
assert {
|
||||
domain["mutation_state"] for domain in status["domains"] if domain["id"] != "DOMAIN-FIFTH"
|
||||
} == {"BLOCKED_UNTIL_PERSONA_STEWARD_BOUND"}
|
||||
assert {
|
||||
domain["technical_controller_human_name"]
|
||||
for domain in status["domains"]
|
||||
if domain["id"] != "DOMAIN-FIFTH"
|
||||
} == {"Awen"}
|
||||
assert {
|
||||
domain["deployment_state"]
|
||||
for domain in status["domains"]
|
||||
if domain["id"] != "DOMAIN-FIFTH"
|
||||
} == {"BLOCKED_UNTIL_AWEN_PERSONA_AND_SIGNED_APPROVAL"}
|
||||
assert all(
|
||||
domain["human_steward_id"] is None and domain["persona_steward_id"] is None
|
||||
for domain in status["domains"]
|
||||
|
|
@ -87,6 +105,8 @@ with tempfile.TemporaryDirectory() as temp:
|
|||
assert fifth["human_steward_id"] == "ICE-GL∞"
|
||||
assert fifth["persona_steward_id"] == "ICE-P-ZY001"
|
||||
assert fifth["responsibility_state"] == "EXTERNAL_SOVEREIGN_BOUND"
|
||||
assert fifth["technical_controller_persona_id"] == "ICE-P-ZY001"
|
||||
assert fifth["final_deployment_signature_state"] == "REQUIRED_PER_CHANGE"
|
||||
assert status["node_counts"]["ACTIVE"] == 4
|
||||
|
||||
nodes = json.load(urllib.request.urlopen(BASE + "/v1/nodes"))["nodes"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue