mirror of
https://github.com/garrytan/gstack.git
synced 2026-10-09 20:54:09 +02:00
test: delete tests of dead eval code (A)
- A1: the retired Eng lexical oracle (evaluateEngSeedCoverage, isEngSeedDecisionAUQ), the completion-handoff detector and the retained corpus had no paid caller since v1.87.6; delete their 26 replay files, ~2.6k helper LOC and fixtures, and the dead blocks in 8 mixed files (live hasNativePlanTerminal / batching assertions stay). - A2: dead viewport approvers in autoplan-artifact-permission and their 11 replay files + fixtures; recorder/launcher cases stay. - A3: never-wired oracles and seeders (autoplan-phase-order, eng-finding-fixture, ceo-paired-fixture, design-ui-scope, plan-skill-completion, pty-current-screen, required-reads, transcript-section-logger); plan-seed-submission now decodes through the production createPtyScreen; section manifests name their actual guard. - A4: zero-reference helper exports, plus execGit and invokeAndObserve found by the reachability pass. - 52 fixtures orphaned by the deletions; touchfile and selection-table entries for every deleted path.
This commit is contained in:
1 parent
5ec930d569
commit
5d032ef299
156 files changed
+107
-32055
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { execFileSync, spawnSync } from 'node:child_process';
|
||||
import { spawnSync } from 'node:child_process';
|
||||
import * as fs from 'node:fs';
|
||||
import * as path from 'node:path';
|
||||
import type { NativeQuestion } from './plan-skill-questions';
|
||||
@@ -54,16 +54,6 @@ export const DESIGN_BOARD_ACTOR_PROTOCOL = [
|
||||
'decisions, visual verification, and the remaining review still apply.',
|
||||
'',
|
||||
].join('\n');
|
||||
|
||||
/** Declare the fixture user's interface before launch, without changing its plan. */
|
||||
export function seedDesignBoardActorProtocol(cwd: string): void {
|
||||
fs.appendFileSync(path.join(cwd, 'CLAUDE.md'), `\n${DESIGN_BOARD_ACTOR_PROTOCOL}`);
|
||||
const git = (args: string[]) => execFileSync('git', args, { cwd, stdio: 'pipe', timeout: 10_000 });
|
||||
git(['add', 'CLAUDE.md']);
|
||||
git(['-c', 'user.name=Finding fixture', '-c', 'user.email=fixture@gstack.test', 'commit', '-m', 'Declare Design board fixture actor interface']);
|
||||
git(['update-ref', 'refs/remotes/origin/main', 'HEAD']);
|
||||
}
|
||||
|
||||
// The native picker is synchronous. Keep identity checks and the real board
|
||||
// submission together in a bounded child; the counting driver still owns the
|
||||
// subsequent terminal input and requires its native acknowledgment.
|
||||
|
||||
Reference in new issue
Block a user