Skip to content

Commit 51ebdf8

Browse files
complete ENGI demo V9 closure: proofs, source-to-shares, scenarios, and host runtime
Advance the ENGI demo from the earlier V9 baseline to a materially more complete and test-backed V9 implementation. This commit finishes the main remaining V9 closure work across proof surfaces, source-to-shares accounting precision, seeded scenario depth, and host/runtime grounding. What changed - complete the next V9 pass in the canonical demo implementation and UI - strengthen proof closure with additional witness-backed materialization and static-heuristics artifacts - expand the public-safe artifact set and deliverables/proof witness coverage - deepen source-to-shares precision with normalization ledgers, replay traces, and deterministic remainder ordering - enrich the seeded scenario corpus with polyglot and many-asset normalization families - add host capability/containerization truth for the local V9 prototype via Dockerfile, .dockerignore, and refreshed HOST_CAPABILITIES surfaces - update the V9 implementation matrix and README to reflect the current V9 state Notable V9 additions surfaced by this commit - .engi/static-heuristics-registry.json - .engi/materialization-proof.json - .engi/materialization-exclusions.json - stronger source-to-shares and accounting-precision reporting - richer scenario fixture and coverage reporting - minimal local container runtime/test support Verification - npm test passes cleanly: 61/61
1 parent 7faec44 commit 51ebdf8

11 files changed

Lines changed: 1716 additions & 257 deletions

engi-demo/.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.git
2+
.gitignore
3+
data
4+
node_modules
5+
npm-debug.log
6+
coverage

engi-demo/Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM node:24-bookworm-slim
2+
3+
WORKDIR /app
4+
5+
ENV NODE_ENV=production
6+
ENV PORT=4318
7+
ENV HOST=0.0.0.0
8+
9+
COPY package.json ./
10+
COPY server.js ./
11+
COPY src ./src
12+
COPY public ./public
13+
COPY test ./test
14+
COPY HOST_CAPABILITIES.md ./HOST_CAPABILITIES.md
15+
COPY HOST_CAPABILITIES.json ./HOST_CAPABILITIES.json
16+
COPY README.md ./README.md
17+
18+
EXPOSE 4318
19+
20+
CMD ["npm", "start"]

engi-demo/HOST_CAPABILITIES.json

Lines changed: 100 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"inspectedAt": "2026-04-03",
3+
"specVersion": "ENGI Spec V9 deterministic local prototype",
4+
"repo": "engi-demo",
35
"host": {
46
"os": "Darwin 25.4.0",
57
"arch": "arm64"
@@ -11,53 +13,43 @@
1113
"python3": "3.13.12",
1214
"rustc": "1.94.1",
1315
"cargo": "1.94.1",
14-
"java": "present"
16+
"git": "2.53.0",
17+
"docker": "29.1.3"
1518
},
16-
"presentPrograms": [
17-
"git",
18-
"gh",
19-
"docker",
20-
"jq",
21-
"rg",
22-
"curl",
23-
"openclaw",
24-
"codex",
25-
"node",
26-
"npm",
27-
"pnpm",
28-
"python3",
29-
"rustc",
30-
"cargo"
31-
],
32-
"absentPrograms": [
33-
"ollama",
34-
"claude",
35-
"uv",
36-
"bun",
37-
"go"
38-
],
39-
"github": {
40-
"remote": "https://github.com/engineeredsoftware/ENGI.git",
41-
"ghAuth": true,
42-
"account": "garrettmaring",
43-
"scopes": [
44-
"gist",
45-
"read:org",
46-
"repo",
47-
"workflow"
48-
]
49-
},
50-
"profileA": {
51-
"implementedLocally": [
52-
"deterministic evaluator stand-ins",
53-
"deterministic vector stand-ins",
54-
"local ranking and settlement flow",
55-
"artifact generation",
56-
"UI and tests"
57-
]
58-
},
59-
"profileB": {
60-
"modeledButExternal": [
19+
"programUsageTruth": {
20+
"machineLocalStaticAnalysis": [
21+
"github-actions.benchmark-parser.v9",
22+
"github.repo-context.extract.v9",
23+
"content-unit.extract-static-code-analysis.v9",
24+
"asset.measurement.extract.v9",
25+
"verification.issuance-checks.v9",
26+
"verification.provenance-checks.v9",
27+
"verification.sufficiency-checks.v9",
28+
"verification.issuer-policy-checks.v9"
29+
],
30+
"proofProgramUsage": {
31+
"coreDemoExecutesExternalProofTools": false,
32+
"proofBearingEvidenceMayReferenceExternalLogs": true,
33+
"coreDemoAssembly": [
34+
"materialization proof assembly",
35+
"source-to-shares replay",
36+
"settlement proof assembly",
37+
"proof witness manifest assembly"
38+
]
39+
},
40+
"localCliOptional": [
41+
"python3",
42+
"rustc",
43+
"cargo",
44+
"git",
45+
"docker",
46+
"jq",
47+
"rg",
48+
"curl",
49+
"openclaw",
50+
"codex"
51+
],
52+
"remoteBoundaries": [
6153
"GitHub App auth",
6254
"workflow artifact fetch",
6355
"branch and PR writes",
@@ -66,5 +58,67 @@
6658
"signer verification",
6759
"settlement network effects"
6860
]
61+
},
62+
"github": {
63+
"remote": "https://github.com/engineeredsoftware/ENGI.git",
64+
"ghCliPresent": true,
65+
"ghAuthStatus": "invalid-token",
66+
"account": "garrettmaring"
67+
},
68+
"bootstrapAndFurnishing": {
69+
"nativeRepoRequirements": [
70+
"node",
71+
"npm"
72+
],
73+
"optionalRepoRequirements": [
74+
"docker",
75+
"openclaw"
76+
],
77+
"referenceBootstrapPatterns": {
78+
"repo": "/Users/garrettmaring/Developer/casa",
79+
"bootstrapScript": "/Users/garrettmaring/Developer/casa/scripts/bootstrap.sh",
80+
"packageInstaller": "/Users/garrettmaring/Developer/casa/scripts/install-packages.sh"
81+
}
82+
},
83+
"availableConfigurations": [
84+
{
85+
"configurationId": "native-runtime",
86+
"command": "npm start",
87+
"purpose": "Serve the local V9 demo UI and API"
88+
},
89+
{
90+
"configurationId": "native-test",
91+
"command": "npm test",
92+
"purpose": "Run the deterministic Node regression suite"
93+
},
94+
{
95+
"configurationId": "docker-runtime",
96+
"buildCommand": "docker build -t engi-demo-v9 .",
97+
"runCommand": "docker run --rm -p 4318:4318 -e HOST=0.0.0.0 engi-demo-v9",
98+
"purpose": "Serve the demo in a container"
99+
},
100+
{
101+
"configurationId": "docker-test",
102+
"buildCommand": "docker build -t engi-demo-v9 .",
103+
"runCommand": "docker run --rm engi-demo-v9 npm test",
104+
"purpose": "Run the regression suite in a container"
105+
}
106+
],
107+
"telemetryAndSafety": {
108+
"atomicStateWrites": true,
109+
"bodySizeLimitBytes": 1000000,
110+
"pathTraversalBlocked": true,
111+
"defaultProjectionPrincipal": "public",
112+
"privateSourceMaterialPubliclyDisclosed": false,
113+
"coreFlowRequiresNetwork": false
114+
},
115+
"containerization": {
116+
"dockerfile": "Dockerfile",
117+
"dockerignore": ".dockerignore",
118+
"defaultPort": 4318,
119+
"defaultHostEnv": "0.0.0.0",
120+
"supportsServerRun": true,
121+
"supportsTestRun": true,
122+
"doesNotImplyProductionDeployment": true
69123
}
70124
}

0 commit comments

Comments
 (0)