chore: sweep Kimi mentions from comments and notes
Some checks failed
Tests / PR mergeability (push) Successful in 19s
Tests / Base branch health (push) Successful in 10s
Tests / Detect test scope (push) Successful in 17s
Tests / lint-tests (push) Failing after 1m43s
Tests / plugin-validate (push) Successful in 1m7s
Tests / test (ubuntu-latest, 24, shard 1/3) (push) Failing after 18s
Tests / test (ubuntu-latest, 24, shard 2/3) (push) Failing after 19s
Tests / test (ubuntu-latest, 24, shard 3/3) (push) Failing after 19s
Tests / test (ubuntu-latest, 24) (push) Failing after 17s
Tests / test (inert CI) (push) Has been skipped
Tests / QA loop walk (smell ratchet) (push) Failing after 18s
Tests / Coverage gate (merged shards) (push) Has been skipped
Tests / Publish emitted-baseline artifact (push) Has been skipped
Dismiss Unauthorized PR Approvals / dismiss-unauthorized-approval (push) Successful in 8s
Tests / Required tests (push) Has been cancelled
Tests / conformance test (macos-latest, 24) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 1/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 2/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 3/3) (push) Has been cancelled

This commit is contained in:
Jakub Zych
2026-10-06 20:19:17 +02:00
parent 1622b66907
commit 792139b5ed
46 changed files with 452 additions and 503 deletions

View File

@@ -202,8 +202,7 @@ test('a trailing-slash source entry matches by prefix, segment-aware', () => {
assert.equal(sourceSatisfiedBy('a/b.md', new Set(['a/b.md'])), 'a/b.md');
assert.equal(sourceSatisfiedBy('a/b.md', new Set(['a/b.md.bak'])), null);
// No shipped provenance rule declares a prefix source any more (the Kimi root agent
// that did was removed with its runtime), so drive the REAL diffEmitted against a
// No shipped provenance rule declares a prefix source any more, so drive the REAL diffEmitted against a
// synthetic rule by swapping attributeEmittedPath in a freshly loaded emitted-diff.
const provPath = require.resolve('./helpers/emitted-provenance.cjs');
const diffPath = require.resolve('./helpers/emitted-diff.cjs');
@@ -1622,11 +1621,11 @@ test('formatReport truncation is exact at limit-1 / limit / limit+1', () => {
// ─── Independence + purity ───────────────────────────────────────────────────
test('the differential covers every runtime present in either manifest', () => {
const baseline = { claude: { [WORKFLOW_KEY]: 'a' }, kimi: { [WORKFLOW_KEY]: 'a' } };
const baseline = { claude: { [WORKFLOW_KEY]: 'a' }, cursor: { [WORKFLOW_KEY]: 'a' } };
const current = { claude: { [WORKFLOW_KEY]: 'b' }, opencode: { [WORKFLOW_KEY]: 'c' } };
const r = diffEmitted({ baseline, current, changedPaths: [] });
const seen = new Set([...r.unattributable, ...r.attributed, ...r.removed].map((x) => x.runtime));
assert.deepEqual([...seen].sort(), ['claude', 'kimi', 'opencode'],
assert.deepEqual([...seen].sort(), ['claude', 'cursor', 'opencode'],
'a runtime present on only one side must still be evaluated');
});