From 2d11eb13333fd80199534864a9686bd49c39c7d6 Mon Sep 17 00:00:00 2001 From: ExoHayvan <18trevor3695@gmail.com> Date: Wed, 22 Jul 2026 18:36:32 -0400 Subject: [PATCH] chore: complete phase-1 step-183 --- src/aethermesh_core/local_startup.py | 1 + tests/test_local_startup.py | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/src/aethermesh_core/local_startup.py b/src/aethermesh_core/local_startup.py index 1866763..823b51b 100644 --- a/src/aethermesh_core/local_startup.py +++ b/src/aethermesh_core/local_startup.py @@ -806,6 +806,7 @@ def _startup_receipt( return { "version": LOCAL_STARTUP_RECEIPT_VERSION, "receipt_type": "startup_validation", + "command_invoked": "start-local-node", "timestamp": timestamp, "node_id": node_id, "creator_node_id": creator_node_id, diff --git a/tests/test_local_startup.py b/tests/test_local_startup.py index d8d8cd0..ce3a1bd 100644 --- a/tests/test_local_startup.py +++ b/tests/test_local_startup.py @@ -119,9 +119,17 @@ def test_clean_startup_creates_auditable_artifacts_and_preserves_identity( config["paths"]["contribution_attribution"], "contributions" ) receipt = self._load(runtime / str(first["validation_receipt_path"])) + second_receipt = self._load( + runtime / str(second["validation_receipt_path"]) + ) lineage = self._load(runtime / str(first["lineage_path"])) manifest = self._load(runtime / str(first["manifest_path"])) self.assertEqual(receipt["receipt_type"], "startup_validation") + self.assertEqual(receipt["command_invoked"], "start-local-node") + self.assertEqual(second_receipt["command_invoked"], "start-local-node") + self.assertNotEqual( + first["validation_receipt_path"], second["validation_receipt_path"] + ) self.assertEqual(receipt["node_id"], first["node_id"]) self.assertEqual(receipt["creator_node_id"], first["creator_node_id"]) self.assertEqual(receipt["manifest_hash"], first["manifest_hash"])