Implement configuration, runtime, frontend, and task governance closure

This commit is contained in:
2026-08-21 16:51:42 +08:00
parent b1b5a3cc8a
commit 63c0408ce7
92 changed files with 343619 additions and 172 deletions

View File

@@ -0,0 +1,12 @@
import assert from "node:assert/strict";
import { preflightHalConfiguration } from "./hal-configuration.mjs";
const report = preflightHalConfiguration({
manifest: [{ component: "demo" }],
lines: ["loadrt demo names=d0", "addf d0 servo-thread", "loadusr -W external"],
});
assert.equal(report.schema, "hal-configuration-preflight.v1");
assert.equal(report.status, "blocked");
assert.equal(report.blocked_count, 1);
assert.equal(report.records[2].code, "hal_host_dynamic_loader");
console.log(`hal_preflight=passed records=${report.record_count} blocked=${report.blocked_count}`);