feat(native): add inspection primitives, dispatch traces and approved UI observation (#500)

* fix(hopper): normalize string-backed addresses and update verification

* feat(native): add inspection primitives, dispatch traces and approved UI observation

* test: prioritize real artifact E2E and captured golden regressions

* fix(process): queue observed output before reactive rendering actions

* test: prune redundant cases and strengthen boundary assertions

* fix(cli): route native value tracing through shared workflows

* test: replace synthetic success with real workflows and captured data

* fix(catalog): separate portable metadata from native host availability
This commit is contained in:
morluto
2026-10-04 16:02:36 +08:00
committed by GitHub
parent 0356f7677f
commit 4fbc501121
205 changed files with 8136 additions and 1816 deletions
+17
View File
@@ -41,6 +41,21 @@ class FakeDocumentProvider:
return cls.current
class FakeStringSegment:
def getStringsList(self):
return [("fixture string", FakeStringAddress())]
class FakeStringAddress:
def __str__(self):
return "0x401234"
class FakeStringsDocument:
def getSegmentsList(self):
return [FakeStringSegment()]
def load_bridge(path):
namespace = {
"__file__": path,
@@ -66,6 +81,7 @@ def main():
bridge["REA_OWNS_PROCESS_LIFETIME"] = False
bridge["_configure_hopper_api"](FakeDocumentProvider)
bridge["_bind_session_document"]()
strings = bridge["_strings"](FakeStringsDocument())
current = bridge["_dispatch"]("current_document", {})
current_address = bridge["_dispatch"]("current_address", {})
selected = bridge["_session_document"]() is FakeDocumentProvider.current
@@ -115,6 +131,7 @@ def main():
"imported_without_hopper": unavailable,
"current_document": current,
"current_address": current_address,
"strings": strings,
"session_document_reused": selected,
"shared_document_shutdown": retained,
"analysis_guard": analysis_guard,