feat(ms-ai-architect): G2 LUKKET — adoptert v3.1-judge wired inn i pipeline (JUDGE_VERSION 2→'3.1', TDD, suite 641) [skip-docs]
This commit is contained in:
parent
09bc99eec8
commit
da8606f9f6
6 changed files with 24 additions and 14 deletions
|
|
@ -197,7 +197,7 @@ test('stampVerifiedMeta stamps verified=today + verified_by=judge-vN on a passin
|
|||
const m = stampVerifiedMeta(base, { pass: true }, '2026-06-29');
|
||||
assert.equal(m.type, 'reference');
|
||||
assert.equal(m.verified, '2026-06-29');
|
||||
assert.equal(m.verified_by, 'judge-v2'); // current GATE-PASS judge
|
||||
assert.equal(m.verified_by, 'judge-v3.1'); // current GATE-PASS judge (v3.1 adopted G1)
|
||||
});
|
||||
|
||||
test('stampVerifiedMeta honours an explicit judgeVersion', () => {
|
||||
|
|
@ -232,7 +232,7 @@ test('stampVerifiedMeta → composeKbFile is a complete born-verified file (end-
|
|||
const file = composeKbFile(stamped, '## Introduksjon\n\nKort.\n');
|
||||
assert.equal(validateKbFile(file).valid, true);
|
||||
assert.equal(parseVerifiedHeader(file), '2026-06-29');
|
||||
assert.equal(parseVerifiedByHeader(file), 'judge-v2');
|
||||
assert.equal(parseVerifiedByHeader(file), 'judge-v3.1'); // default stamp parses back (dotted minor survives)
|
||||
});
|
||||
|
||||
// --- validateKbFile: catches files missing the mandatory contract -------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue