feat: register Feimao active human world node
This commit is contained in:
parent
4b83839637
commit
e2128462bf
15 changed files with 431 additions and 18 deletions
|
|
@ -18,6 +18,16 @@ test("team body owns irreversible authority independently of current operators",
|
|||
assert.ok(authority.current_operator_designations.every((operator) => operator.personal_ownership_of_team_authority === false));
|
||||
});
|
||||
|
||||
test("Feimao acceptance is backed by one active enterprise-signed world node without implied write authority", () => {
|
||||
const feimao = authority.current_operator_designations.find((operator) => operator.id === "TCS-GL-0007∞");
|
||||
const registration = readJson("routing/feimao-human-world-node-registration.json");
|
||||
assert.equal(feimao.acceptance, "ACCEPTED_BY_DEVICE_REGISTRATION_AND_ICE_GL_INFINITY_WITNESS");
|
||||
assert.equal(feimao.world_node_id, registration.node.node_id);
|
||||
assert.equal(registration.node.state, "ACTIVE");
|
||||
assert.equal(registration.authority.repository_write_granted, false);
|
||||
assert.equal(registration.authority.unassigned_reality_permissions_granted, false);
|
||||
});
|
||||
|
||||
test("private bottle path has a strict zero gate without person-specific authorization", () => {
|
||||
const bottle = authority.namespaces.find((item) => item.pattern === "^ICE-BB-");
|
||||
assert.ok(bottle);
|
||||
|
|
|
|||
|
|
@ -46,11 +46,14 @@ test('all active lighthouse offline paths stay on the canonical repo', () => {
|
|||
}
|
||||
});
|
||||
|
||||
test('four-domain responsibility relations are restored without faking acceptance receipts', () => {
|
||||
test('four-domain responsibility relations preserve pending roles while accepting the evidenced Feimao node', () => {
|
||||
const rows = domains.domain_constitution.domains;
|
||||
assert.deepEqual(rows.find(item => item.id === 'DOMAIN-MAIN').human_subjects, ['TCS-GL-0016∞']);
|
||||
assert.deepEqual(rows.find(item => item.id === 'DOMAIN-SUB').human_subjects, ['TCS-GL-0005∞']);
|
||||
assert.deepEqual(rows.find(item => item.id === 'DOMAIN-ZERO').human_subjects, ['TCS-GL-0006∞']);
|
||||
assert.deepEqual(rows.find(item => item.id === 'DOMAIN-ZS').human_subjects, ['TCS-GL-0007∞', 'TCS-GL-0008∞']);
|
||||
assert.match(rows.find(item => item.id === 'DOMAIN-ZS').subject_state, /ACCEPTANCE_PENDING/);
|
||||
const zeroSense = rows.find(item => item.id === 'DOMAIN-ZS');
|
||||
assert.match(zeroSense.subject_state, /FEIMAO_ACTIVE_WORLD_NODE/);
|
||||
assert.equal(zeroSense.active_human_world_nodes[0].node_id, 'GH-HUMAN-NODE-DEFB60F4349809E00FBA14208F3B880C');
|
||||
assert.match(zeroSense.subject_state, /JUZI_ACCEPTANCE_PENDING/);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue