test: name the directly executed scripts in the isolation ratchet

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-19 20:53:44 +00:00
1 parent 731525a387
commit 43c5c83734
1 file changed
+13
+13
View File
@@ -79,6 +79,19 @@ describe('GSTA-56: gstack never takes configuration from the audited repository'
expect(TRACKED.filter(f => firstLine(f) === ISOLATED_SHEBANG).length).toBeGreaterThan(100);
});
test('developer scripts run as ./scripts/<name>.ts start isolated', () => {
const scripts = [
'browse/scripts/extension-id.ts',
'scripts/detect-bump.ts',
'scripts/eval-compare.ts',
'scripts/eval-summary.ts',
'scripts/garry-output-comparison.ts',
'scripts/judge-controls.ts',
'scripts/measure-journal-read.ts',
];
expect(scripts.filter(f => firstLine(f) !== ISOLATED_SHEBANG)).toEqual([]);
});
test('the shell-caller detector flags unisolated calls and passes isolated ones', () => {
for (const bad of [
'bun run ~/.claude/skills/gstack/bin/gstack-render.ts x.html',