Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
test: expect early header-overflow detection and repoint-verified endpoint evidence
momoyeyub32398910c1a
diff --git a/archify/test/repair-rounds.test.mjs b/archify/test/repair-rounds.test.mjsindex 5b7dadb5..136a3a62 100644--- a/archify/test/repair-rounds.test.mjs+++ b/archify/test/repair-rounds.test.mjs@@ -109,14 +109,14 @@ test('diagnostics the rules cannot map are counted as unactionable and stall theassert.equal(receipt.totals.unactionable > 0, true);});-test('a header overflow is detected late, only at the browser-check gate', { skip: !chromeAvailable }, () => {+test('a header overflow is predicted early, at the validate gate', { skip: !chromeAvailable }, () => {const file = miniManifest('arch-title-overflow', 'architecture', [{ class: 'title-overflow' }]);const result = run(['run', '--manifest', file, '--command', 'finalize', '--repair', 'oracle']);assert.equal(result.status, 0, result.stderr || result.stdout);const receipt = JSON.parse(result.stdout.split('\n')[0]);assert.equal(receipt.passed, true);- assert.equal(receipt.defects[0].firstSeenGate, 'browser-check');- assert.equal(receipt.defects[0].late, true);+ assert.equal(receipt.defects[0].firstSeenGate, 'validate');+ assert.equal(receipt.defects[0].late, false);});test('report aggregates disclosure, late discovery, and token cost across receipts', () => {diff --git a/archify/test/workflow-compiler-hard-contract.test.mjs b/archify/test/workflow-compiler-hard-contract.test.mjsindex ac615213..7a8d03b2 100644--- a/archify/test/workflow-compiler-hard-contract.test.mjs+++ b/archify/test/workflow-compiler-hard-contract.test.mjs@@ -1701,6 +1701,7 @@ test('readable-v2 reports unknown edge endpoints with a precise semantic diagnosendpoint: 'target',unknownNodeId: 'ghost',availableNodeIds: ['a', 'b'],+ fixVerification: 'candidate compiles once every reference to the unknown id is repointed consistently',});});