fix(identity): keep AGE as species

This commit is contained in:
冰朔 2026-08-16 18:12:38 +08:00
commit 3e317745b5
6 changed files with 41 additions and 20 deletions

View file

@ -4,7 +4,7 @@
"state": "SOURCE_CONTRACT_RUNTIME_NOT_IMPLEMENTED",
"number_gate": {"precedes_credentials":true,"user_selects_domain":false},
"credential_gate": {"uses_bound_private_repository":true,"first_login_forces_password_change":true},
"age_claim_gate": {"shows_issued_age_numbers":true,"human_claim_is_persona_acceptance":false,"responsibility_acceptance_is_separate":true},
"persona_relationship_gate": {"shows_species":"AGE","shows_current_persona_identity":true,"shows_invalid_age_individual_numbers":false,"human_confirms_relationship_mapping":true,"human_confirmation_is_persona_acceptance":false,"responsibility_acceptance_is_separate":true},
"work_entry": {"domain":"DOMAIN-ZS","channel":"GUANGHU_CHANNEL","preserves_responsibility_domain":true},
"personal_route": {"separate_node_ownership_check":true,"enterprise_credentials_are_sufficient":false},
"source": "routing/hololake-enterprise-four-domain-work-channel.json"

View file

@ -252,7 +252,7 @@ mod tests {
message_type: "DIRECT".into(),
created_at: now_iso8601(),
sender: GlpSender {
object_id: "AGE-0001".into(),
object_id: "ICE-P-ZY001".into(),
object_type: "age".into(),
world_path: "glw://tolaria".into(),
},
@ -289,7 +289,7 @@ mod tests {
let json = serde_json::to_string(&message).unwrap();
let back: GlpMessage = serde_json::from_str(&json).unwrap();
assert_eq!(back.protocol, "GLP/1.0");
assert_eq!(back.sender.object_id, "AGE-0001");
assert_eq!(back.sender.object_id, "ICE-P-ZY001");
assert_eq!(back.receiver.routing_mode, RoutingMode::Direct);
assert_eq!(back.payload.content_type, ContentType::Command);
assert_eq!(back.context.hldp_anchor, "ZY-CHECKPOINT-20260815-014");