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
@@ -20,16 +20,18 @@ describe("reconstruction coverage MCP", () => {
try {
await server.connect(serverTransport);
await client.connect(clientTransport);
const boundaryId = "replacement.cli";
const result = await client.callTool({
name: "evaluate_reconstruction_coverage",
arguments: {
coverage: currentFixtureCoverage(),
boundary_id: "replacement.cli",
coverage: currentFixtureCoverage(boundaryId),
boundary_id: boundaryId,
},
});
expect(result.isError).not.toBe(true);
expect(result.structuredContent).toMatchObject({
status: "ready",
boundary_id: boundaryId,
summary: { reasons: 0 },
});
} finally {
@@ -40,10 +42,14 @@ describe("reconstruction coverage MCP", () => {
});
});
const currentFixtureCoverage = () => {
const currentFixtureCoverage = (boundaryId: string) => {
const coverage = completeReconstructionCoverageData();
return createReconstructionCoverageData({
...coverage,
boundaries: coverage.boundaries.map((boundary) => ({
...boundary,
boundary_id: boundaryId,
})),
verifier_results: coverage.verifier_results.map((result) => ({
...result,
observed_at: new Date().toISOString(),