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:
冰朔 2026-07-30 00:53:00 +08:00
commit 267e48decf
3 changed files with 69 additions and 0 deletions

View file

@ -36,6 +36,7 @@ DOMAINS = {
}
ENTERPRISE_MANAGED_DOMAINS = {"DOMAIN-ZS", "DOMAIN-MAIN", "DOMAIN-SUB", "DOMAIN-ZERO"}
EXTERNAL_FOUNDATION_DOMAINS = {"DOMAIN-FIFTH"}
ENTERPRISE_TECHNICAL_CONTROLLER_NAME = "Awen"
HOSTED_DOMAIN_NODES = {
"DOMAIN-MAIN": ("AW-GZ-001-MAIN", "AW-GZ-001 · 光湖主域"),
"DOMAIN-SUB": ("AW-GZ-001-SUB", "AW-GZ-001 · 光湖分域"),
@ -88,6 +89,13 @@ def connection():
runtime_node_id TEXT NOT NULL, authorization_receipt TEXT NOT NULL,
state TEXT NOT NULL, bound_at INTEGER NOT NULL
);
CREATE TABLE IF NOT EXISTS technical_controllers (
scope_id TEXT PRIMARY KEY, human_display_name TEXT NOT NULL,
human_controller_id TEXT, persona_executor_id TEXT,
persona_public_key TEXT, runtime_node_id TEXT,
authorization_receipt TEXT, final_signature_receipt TEXT,
state TEXT NOT NULL, registered_at INTEGER NOT NULL
);
""")
observed_at = now()
for domain_id, name in DOMAINS.items():
@ -158,11 +166,22 @@ def navigation_map():
"domains": [{"id": key, "name": DOMAINS[key]} for key in sorted(DOMAINS)],
"fixed_actions": sorted(FIXED_ACTIONS),
"registered_agents": {agent: sorted(actions) for agent, actions in sorted(REGISTERED_AGENTS.items())},
"technical_control": {
"enterprise_human_controller": ENTERPRISE_TECHNICAL_CONTROLLER_NAME,
"enterprise_persona_executor": None,
"enterprise_state": "HUMAN_DECLARED_PERSONA_PENDING_REGISTRATION",
"enterprise_final_deployment": "BLOCKED_UNTIL_AWEN_SIGNED_APPROVAL",
"fifth_domain_human_authorizer": "ICE-GL∞",
"fifth_domain_persona_executor": "ICE-P-ZY001",
"fifth_domain_state": "BOUND",
},
"mandatory_order": [
"read-global-navigation-map",
"ack-current-map-as-current-subject",
"restore-intent-state-capsule",
"unlock-one-registered-agent-for-one-action",
"verify-domain-steward",
"verify-technical-controller-final-signature",
"execute-registered-action",
"write-verification-receipt",
],
@ -257,6 +276,12 @@ def domain_statuses(db):
"persona_steward_id": steward["persona_steward_id"] if steward else None,
"responsibility_state": "BOUND" if steward else "AWAITING_TEAM_ASSIGNMENT",
"steward_state": "ACTIVE" if steward else "UNBOUND",
"technical_controller_human_name": ENTERPRISE_TECHNICAL_CONTROLLER_NAME,
"technical_controller_human_id": None,
"technical_controller_persona_id": None,
"technical_control_state": "HUMAN_DECLARED_PERSONA_PENDING_REGISTRATION",
"final_deployment_signature_state": "NOT_PRESENT",
"deployment_state": "BLOCKED_UNTIL_AWEN_PERSONA_AND_SIGNED_APPROVAL",
"mutation_state": (
"PERSONA_STEWARD_ACTIVE"
if steward
@ -270,6 +295,11 @@ def domain_statuses(db):
"persona_steward_id": "ICE-P-ZY001",
"responsibility_state": "EXTERNAL_SOVEREIGN_BOUND",
"steward_state": "EXTERNAL_AUTHORITY",
"technical_controller_human_id": "ICE-GL∞",
"technical_controller_persona_id": "ICE-P-ZY001",
"technical_control_state": "EXTERNAL_SOVEREIGN_BOUND",
"final_deployment_signature_state": "REQUIRED_PER_CHANGE",
"deployment_state": "OUTSIDE_ENTERPRISE_LIGHTHOUSE_AUTHORITY",
"mutation_state": "OUTSIDE_ENTERPRISE_LIGHTHOUSE_AUTHORITY",
})
result.append(domain)
@ -324,6 +354,14 @@ class Handler(BaseHTTPRequestHandler):
"node_id": "AW-GZ-001",
"host_state": "ONLINE",
"observed_at": now(),
"technical_control": {
"enterprise_human_controller": ENTERPRISE_TECHNICAL_CONTROLLER_NAME,
"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",
},
"domains": domain_statuses(db),
"node_counts": counts,
"fixed_actions": sorted(FIXED_ACTIONS),