Budgets and checks: PERF_BUDGETS / perfBudgets / overBudget, the reference gate (both bundlers), the doctor's performance group (static, live, deep)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
21073d98d0
commit
801b897ea0
@@ -304,10 +304,11 @@ describe('commands and skills', () => {
|
||||
expect(pkg.bin['ipal-kit']).toBe('bin/iapl.mjs')
|
||||
})
|
||||
|
||||
test('the package ships the 16 skills as iapl-*, and none under the old names', () => {
|
||||
test('the package ships the 16 skills as iapl-* (plus those new since, never with an old name), and none under the old names', () => {
|
||||
const shipped = readdirSync(path.join(packageRoot, 'docs/agent/skills'))
|
||||
const since117 = ['iapl-performance'] // 1.18.0
|
||||
expect(shipped.filter((n) => n.startsWith('ipal-'))).toEqual([])
|
||||
expect(shipped.filter((n) => n.startsWith('iapl-')).sort()).toEqual(LEGACY_SKILL_NAMES.map((n) => n.replace('ipal-', 'iapl-')).sort())
|
||||
expect(shipped.filter((n) => n.startsWith('iapl-')).sort()).toEqual([...LEGACY_SKILL_NAMES.map((n) => n.replace('ipal-', 'iapl-')), ...since117].sort())
|
||||
})
|
||||
|
||||
test('the installer and the doctor remove the same fixed list of old names', () => {
|
||||
@@ -331,7 +332,7 @@ describe('commands and skills', () => {
|
||||
const first = run('iapl-skills.mjs')
|
||||
expect(first.status, first.stderr).toBe(0)
|
||||
const skills = readdirSync(path.join(dir, '.agents/skills')).sort()
|
||||
expect(skills.filter((n) => n.startsWith('iapl-'))).toHaveLength(16)
|
||||
expect(skills.filter((n) => n.startsWith('iapl-'))).toHaveLength(17) // the 16 renamed + iapl-performance (1.18.0)
|
||||
expect(skills.filter((n) => n.startsWith('ipal-'))).toEqual(['ipal-custom'])
|
||||
expect(readFileSync(path.join(dir, '.agents/skills/ipal-custom/SKILL.md'), 'utf8')).toBe(own)
|
||||
expect(skills).toContain('our-skill')
|
||||
|
||||
Reference in New Issue
Block a user