fix(lab): restore semantic overlay in M4.7

This commit is contained in:
DCCONSTRUCTIONS
2026-08-23 22:40:07 +03:00
parent 34ed8a0f5f
commit a55ef475d9
11 changed files with 289 additions and 32 deletions
@@ -127,6 +127,21 @@ test("E47 accepts only a fully accounted diagnostic semantic/SLAM view", async (
);
});
test("E47 fetches one exact content-addressed semantic result", async () => {
const requests = [];
const result = await fetchE47SemanticSlamResult({
resultId,
fetcher: async (input) => {
requests.push(String(input));
return new Response(JSON.stringify(resultView()));
},
});
assert.equal(result.resultId, resultId);
assert.deepEqual(requests, [
`/api/v1/laboratory/e47-semantic-slam/results/${resultId}`,
]);
});
test("E47 rejects result-level point accounting drift", async () => {
await assert.rejects(
fetchE47SemanticSlamResult({