Skip to content

Commit 8378a1d

Browse files
committed
record #12201's skills/** root in the parity gate's rollback pin (13 -> 14, by name)
The pin is judged over the live declaration table by design; the skills/** declaration this PR adds moves the rollback count, so it is recorded by name per the pin's own convention. Both legs green: self-test 40 assertions, main check 105/84 globs covered.
1 parent 74667b8 commit 8378a1d

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

‎scripts/check-ci-filter-parity.mjs‎

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -600,15 +600,21 @@ export async function selfTest() {
600600
// plus, since #10178, the two @objectstack/rest declarations it added: the
601601
// state-machine doc page, covered only through the `content/**` root #10015
602602
// added, and the automation skill file, covered only through its own
603-
// single-file `crosspkg` entry the way #10848's SKILL.md is. Ten plus one
604-
// plus two: the rollback now uncovers thirteen. This pin is judged over the
605-
// LIVE declaration table on purpose: a declaration added under a root the
606-
// rollback keeps leaves the count alone, one under a new root moves it and
607-
// is recorded here by name.
603+
// single-file `crosspkg` entry the way #10848's SKILL.md is. Plus, since
604+
// #12201, the one declaration under the `skills/**` root that card added
605+
// (the export-list corpus gate reads the published catalog from inside
606+
// @objectstack/spec). Ten plus one plus two plus one: the rollback now
607+
// uncovers fourteen. This pin is judged over the LIVE declaration table on
608+
// purpose: a declaration added under a root the rollback keeps leaves the
609+
// count alone, one under a new root moves it and is recorded here by name.
608610
const preFix = judge(fixtureWorkflow({ core: real.filters?.core, crosspkg: ['scripts/**'] }), CROSS_PACKAGE_TEST_INPUTS);
609611
assert(
610-
new Set(uncoveredGlobs(preFix)).size === 13,
611-
`rolling \`crosspkg\` back to its pre-#10015 list uncovers the ten it fixed plus #10848's one plus #10178's two -- got ${new Set(uncoveredGlobs(preFix)).size}`,
612+
new Set(uncoveredGlobs(preFix)).size === 14,
613+
`rolling \`crosspkg\` back to its pre-#10015 list uncovers the ten it fixed plus #10848's one plus #10178's two plus #12201's one -- got ${new Set(uncoveredGlobs(preFix)).size}`,
614+
);
615+
assert(
616+
uncoveredGlobs(preFix).includes('skills/**'),
617+
`-- and #12201 added the published-catalog root the export-list corpus gate reads, by name`,
612618
);
613619
assert(
614620
uncoveredGlobs(preFix).includes('.claude/skills/spec-property-retirement/SKILL.md'),
@@ -646,8 +652,8 @@ export async function selfTest() {
646652
`same-root-different-file case observed failing and then covered by naming the file, a glob covered by ` +
647653
`\`core\`, one covered only by \`crosspkg\` and one covered by neither judged separately in one table, the ` +
648654
`stale-entry direction, seven refusals over subjects that could not be read, the checked-in ci.yml, the ` +
649-
`pre-#10015 rollback uncovering the ten it fixed plus #10848's one plus #10178's two, and the CI wiring ` +
650-
`read out of lint.yml.`,
655+
`pre-#10015 rollback uncovering the ten it fixed plus #10848's one plus #10178's two plus #12201's one, ` +
656+
`and the CI wiring read out of lint.yml.`,
651657
);
652658
return 0;
653659
}

0 commit comments

Comments
 (0)