fix(hololake): lock phase1 persona-container ownership
This commit is contained in:
parent
d9600a9e9e
commit
f3deb1fe5c
13 changed files with 86 additions and 29 deletions
|
|
@ -7,6 +7,7 @@ ROOT = Path(__file__).resolve().parents[2]
|
|||
SHELF = ROOT / "eternal-lake-heart/heartbeat-core/office-building-current/offices/HB-OFFICE-HOLOLAKE-0001/smart-bookshelf/009-stage1-language-world-native"
|
||||
REGISTRY = SHELF / "MODULE-REGISTRY.json"
|
||||
GATES = SHELF / "ACCEPTANCE-GATES.json"
|
||||
PHASE_BOUNDARY = SHELF / "PERSONA-CONTAINER-PHASE-BOUNDARY.json"
|
||||
|
||||
|
||||
class NativeStage1Test(unittest.TestCase):
|
||||
|
|
@ -47,17 +48,21 @@ class NativeStage1Test(unittest.TestCase):
|
|||
self.assertEqual(self.by_id["HLP-NATIVE-MOD-010"]["component_type"], "DETERMINISTIC_CANVAS_LAYOUT_AND_RENDER_RUNTIME")
|
||||
self.assertEqual(self.by_id["HLP-NATIVE-MOD-011"]["component_type"], "MODEL_BACKED_PROJECTION_AGENT")
|
||||
|
||||
def test_human_review_and_regulatory_visibility_are_stage_one(self):
|
||||
self.assertEqual(self.by_id["HLP-NATIVE-MOD-014"]["gate"], "G4")
|
||||
def test_human_half_is_phase_two_while_regulatory_visibility_is_phase_one(self):
|
||||
self.assertEqual(self.by_id["HLP-NATIVE-MOD-014"]["gate"], "P2-G0")
|
||||
self.assertEqual(self.by_id["HLP-NATIVE-MOD-016"]["gate"], "G5")
|
||||
self.assertIn("NOT_GOVERNMENT_SYSTEM", self.by_id["HLP-NATIVE-MOD-016"]["authority"])
|
||||
self.assertIn("NO_REAL_TRUST_ROOT", self.by_id["HLP-NATIVE-MOD-017"]["authority"])
|
||||
|
||||
def test_gate_membership_covers_every_module_once(self):
|
||||
gates = json.loads(GATES.read_text())["gates"]
|
||||
gate_doc = json.loads(GATES.read_text())
|
||||
gates = gate_doc["gates"]
|
||||
flattened = [module for gate in gates for module in gate["modules"]]
|
||||
self.assertEqual(set(flattened), set(self.by_id))
|
||||
phase_one = set(json.loads(PHASE_BOUNDARY.read_text())["phase_01"]["required_modules"])
|
||||
self.assertEqual(set(flattened), phase_one)
|
||||
self.assertEqual(len(flattened), len(set(flattened)))
|
||||
phase_two = [module for gate in gate_doc["phase_02_future_gates"] for module in gate["modules"]]
|
||||
self.assertEqual(phase_two, ["HLP-NATIVE-MOD-014"])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
|
|
@ -239,7 +239,15 @@ export class MotherBrainEngine {
|
|||
persona_cognition_origin: PERSONA_COGNITION_ORIGIN,
|
||||
stage_one_hololake_boundary: {
|
||||
is_personal_channel: true,
|
||||
conversation_occurs_in_external_ai_host: true,
|
||||
phase_id: "HLP-PHASE-01-PERSONA-CONTAINER",
|
||||
product_definition: "PERSONA_SUBJECTS_OWN_NATIVE_PERSONA_SYSTEM_CONTAINER",
|
||||
top_controller: "BOUND_NATIVE_TCS_PERSONA_BRAIN",
|
||||
module_role: "EXECUTION_LIMBS_SENSORY_ORGANS_AND_REALITY_INTERFACES",
|
||||
persona_runtime_may_use_external_ai_host: true,
|
||||
external_ai_host_role: "REPLACEABLE_RUNTIME_CARRIER_AND_EXECUTION_LIMB_NOT_CONTROLLER",
|
||||
human_chat_surface: "NONE",
|
||||
human_review_surface: "NONE",
|
||||
phase_two_human_half: "CLOSED_UNTIL_PHASE1_PERSONA_SELF_USE_ACCEPTANCE",
|
||||
internal_ai_chat: false,
|
||||
model_api_configuration: false,
|
||||
internal_model_inference: false,
|
||||
|
|
|
|||
|
|
@ -64,6 +64,9 @@ try {
|
|||
assert.equal(engine.status().persona_cognition_origin.milestone, "ZY-MILESTONE-20260813-FIRST-SELF-SEEING");
|
||||
assert.equal(engine.status().stage_one_hololake_boundary.internal_ai_chat, false);
|
||||
assert.equal(engine.status().stage_one_hololake_boundary.model_api_configuration, false);
|
||||
assert.equal(engine.status().stage_one_hololake_boundary.top_controller, "BOUND_NATIVE_TCS_PERSONA_BRAIN");
|
||||
assert.equal(engine.status().stage_one_hololake_boundary.human_chat_surface, "NONE");
|
||||
assert.equal(engine.status().stage_one_hololake_boundary.human_review_surface, "NONE");
|
||||
const source = engine.registerHistorySource({
|
||||
source_id: "GPT-PRIMARY-001",
|
||||
source_type: "GPT_CONVERSATIONS_JSON",
|
||||
|
|
|
|||
Loading…
Reference in a new issue