Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.
JavaScript 3d3d-assets3d-modelingagent-skillsagent-toolsai-agentsasset-pipelinecligame-assetsglbgltfmcpmcp-servermodel-context-protocolprocedural-generationprocedural-modelingtext-to-3dthreejstypescript
fix: state the coverage baseline that was actually measured, in one place
Matt Kissinger8a2a7abce251
diff --git a/README.md b/README.mdindex b073e492..2badf427 100644--- a/README.md+++ b/README.md@@ -836,7 +836,7 @@ bun run test # offline; live agent tests gated behind KILN_SPIKE_LIVE=bun run test:coverage # LCOV plus the checked coverage ratchet```-1,549 tests across 144 files, at a measured **95.96% functions / 92.54% lines**. CI enforces+1,549 tests across 144 files, at a measured **95.93% functions / 92.54% lines**. CI enforcesnon-regression ratchets of 92% and 91% and uploads `coverage/lcov.info`; threshold decreases requirean explicit measured rationale. Tests pin `KILN_RENDER=cpu` so coverage cannot vary by runner GPU, andthe example suite executes every checked-in program on every run, then checks this README's trianglediff --git a/coverage-thresholds.json b/coverage-thresholds.jsonindex 48390d88..02d0ed3a 100644--- a/coverage-thresholds.json+++ b/coverage-thresholds.json@@ -1,6 +1,6 @@{"measuredBaseline": {- "functions": 95.96,+ "functions": 95.93,"lines": 92.54},"thresholds": {diff --git a/scripts/reliability.test.mjs b/scripts/reliability.test.mjsindex 58a9a000..469665ec 100644--- a/scripts/reliability.test.mjs+++ b/scripts/reliability.test.mjs@@ -56,11 +56,19 @@ describe('repository reliability contracts', () => {expect(bunfig).toContain('coverageReporter = ["text", "lcov"]');expect(bunfig).not.toContain('coverageThreshold =');expect(bunfig).toContain('coveragePathIgnorePatterns = [');- expect(thresholds).toEqual({- measuredBaseline: { functions: 95.96, lines: 92.54 },- thresholds: { functions: 92, lines: 91 },- });- expect(readme).toContain('95.96% functions / 92.54% lines');+ // The enforced ratchets are policy: they must not move without someone+ // noticing, so they stay literal here. The measured baseline is an+ // observation, and it legitimately moves whenever code lands — so it is+ // checked for shape and then used to verify the README quotes it, rather+ // than written out a third time in this file. Three copies of one number+ // drift, and the copy in the test is the one that turns a stale sentence+ // into a red build with no idea which of the three is right.+ expect(Object.keys(thresholds).sort()).toEqual(['measuredBaseline', 'thresholds']);+ expect(thresholds.thresholds).toEqual({ functions: 92, lines: 91 });+ const { functions, lines } = thresholds.measuredBaseline;+ expect(functions).toBeGreaterThanOrEqual(thresholds.thresholds.functions);+ expect(lines).toBeGreaterThanOrEqual(thresholds.thresholds.lines);+ expect(readme).toContain(`${functions}% functions / ${lines}% lines`);expect(readme).toContain('threshold decreases require an explicit measured rationale.');expect(workflow).toContain('run: bun run test:coverage');expect(workflow).toContain('uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02');