mirror of
https://github.com/garrytan/gstack.git
synced 2026-10-08 04:11:18 +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
@@ -12,23 +12,11 @@ describe('periodic fixture dependencies select their behavioral cases', () => {
|
||||
['test/eng-semantic-terminal.test.ts', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-fb10-count-public.json', ['plan-eng-finding-count']],
|
||||
['test/fixtures/autoplan-home-phase-entry-fb10.json', ['autoplan-chain-pty']],
|
||||
['test/eng-error-flow-seed.test.ts', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/eng-69193-count-public.json', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/eng-e366-count-public.json', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/ceo-current-decision-record.test.ts', ['plan-ceo-finding-count']],
|
||||
['test/fixtures/ceo-current-decision-cdd-public.json', ['plan-ceo-finding-count']],
|
||||
['test/fixtures/eng-count-c6fc-public.json', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-cdd-regression-task.json', ['plan-eng-finding-count']],
|
||||
['test/eng-resolution-block-position.test.ts', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/eng-initial-selector-043a.test.ts', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/eng-initial-selector-043a.json', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/eng-a689-count-public.json', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/eng-a689-retry-public.json', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/eng-neutral-seed-749df.json', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/eng-paired-suite-749df.json', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/auto-decide-mode-selector-749df.json', ['auto-decide-preserved']],
|
||||
['test/eng-count-owned-outcomes.test.ts', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-count-owned-outcomes-f359.json', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-batching-prefixed-ledger-f359.json', ['plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/ceo-hold-preservation-f359.json', ['plan-ceo-mode-routing']],
|
||||
['test/ceo-native-fields-f359.test.ts', ['plan-ceo-finding-count']],
|
||||
@@ -41,17 +29,9 @@ describe('periodic fixture dependencies select their behavioral cases', () => {
|
||||
['test/fixtures/auto-decide-completed-mode-f359.json', ['auto-decide-preserved']],
|
||||
['test/fixtures/ceo-onboarding-packet-90f.json', ['plan-ceo-finding-count']],
|
||||
['test/fixtures/ceo-baseline-alternatives-90f.json', ['plan-ceo-finding-count']],
|
||||
['test/fixtures/eng-structure-choice-90f.json', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-idp-choice-90f.json', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-legacy-declaration-90f.json', ['plan-eng-finding-count']],
|
||||
['test/fixtures/design-completion-envelope-90f.json', ['plan-design-finding-count']],
|
||||
['test/eng-native-seed-contract.test.ts', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-native-seed-contract-6f.json', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-native-packets-b955.json', ['plan-eng-finding-count']],
|
||||
['test/review-count-markdown.test.ts', ['plan-eng-finding-count', 'plan-design-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/review-count-markdown-6f.json', ['plan-eng-finding-count', 'plan-design-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/eng-current-native-seeds.test.ts', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-current-native-seeds-6714.json', ['plan-eng-finding-count']],
|
||||
['test/fixtures/ceo-recorded-decisions-67147822.json', ['plan-ceo-finding-count']],
|
||||
['test/fixtures/eng-batching-expanded-ledger-6714.json', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/eng-native-review-identities-6714.json', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
@@ -62,7 +42,6 @@ describe('periodic fixture dependencies select their behavioral cases', () => {
|
||||
['test/fixtures/eng-test-plan-edit-cli.js', ['autoplan-chain-pty', 'plan-eng-finding-count']],
|
||||
['test/autoplan-owned-state.test.ts', ['autoplan-chain-pty']],
|
||||
['test/autoplan-artifact-windows-argv.test.ts', ['autoplan-chain-pty', 'plan-eng-finding-count']],
|
||||
['test/fixtures/eng-current-choice-cab3.json', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-completed-navigation-cab3.json', ['plan-eng-finding-count']],
|
||||
['test/autoplan-dual-voice-fixture.test.ts', ['autoplan-dual-voice']],
|
||||
['test/helpers/autoplan-dual-voice-evidence.ts', ['autoplan-dual-voice']],
|
||||
@@ -88,7 +67,6 @@ describe('periodic fixture dependencies select their behavioral cases', () => {
|
||||
['test/fixtures/ceo-expansion-pacing-77.json', ['plan-ceo-mode-routing']],
|
||||
['test/eng-published-navigation.test.ts', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-published-navigation.json', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-6aef-count-public.json', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/disabled-retained-record.json', ['outside-plan-disabled-no-fallback']],
|
||||
['test/ceo-native-ledger-replay.test.ts', ['plan-ceo-finding-count']],
|
||||
['test/fixtures/ceo-native-ledger-8525.json', ['plan-ceo-finding-count']],
|
||||
@@ -101,7 +79,6 @@ describe('periodic fixture dependencies select their behavioral cases', () => {
|
||||
['test/ceo-mode-pending-submit.test.ts', ['plan-ceo-mode-routing']],
|
||||
['test/fixtures/ceo-mode-pending-submit.json', ['plan-ceo-mode-routing']],
|
||||
['test/fixtures/ceo-fill-lifetime.json', ['plan-ceo-section-loading']],
|
||||
['test/fixtures/eng-current-ledger-seeds.json', ['plan-eng-finding-count']],
|
||||
['test/eng-batching-native-replay.test.ts', ['plan-eng-multi-finding-batching']],
|
||||
['test/fixtures/eng-batching-native-8525.json', ['plan-eng-multi-finding-batching']],
|
||||
['test/eng-batching-saved-ledger.test.ts', ['plan-eng-finding-count', 'plan-eng-multi-finding-batching']],
|
||||
@@ -123,7 +100,6 @@ describe('periodic fixture dependencies select their behavioral cases', () => {
|
||||
['test/fixtures/autoplan-caller.fixture.test.ts', ['autoplan-chain-pty']],
|
||||
['test/gstack-paths.test.ts', ['autoplan-chain-pty', 'carve-section-loading', 'design-html-slop-gate']],
|
||||
['test/gstack-brain-context-load.test.ts', ['autoplan-chain-pty', 'plan-ceo-section-loading']],
|
||||
['test/autoplan-permission-viewport.test.ts', ['autoplan-chain-pty']],
|
||||
['test/fixtures/autoplan-settings-overwrite.json', ['autoplan-chain-pty']],
|
||||
['test/fixtures/eng-file-permission-repaint.json', ['plan-eng-multi-finding-batching']],
|
||||
['test/helpers/carve-section-case.ts', ['carve-section-loading']],
|
||||
@@ -132,10 +108,7 @@ describe('periodic fixture dependencies select their behavioral cases', () => {
|
||||
['test/fixtures/carve-existing-repository/src/repository.ts', ['carve-section-loading']],
|
||||
['test/fixtures/carve-existing-repository/README.md', ['carve-section-loading']],
|
||||
['test/fixtures/carve-existing-repository/example.ts', ['carve-section-loading']],
|
||||
['test/helpers/eng-finding-fixture.ts', ['plan-eng-finding-count']],
|
||||
['test/eng-finding-fixture.test.ts', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-existing-auth/legacy-auth.ts', ['plan-eng-finding-count']],
|
||||
['test/fixtures/eng-existing-auth/package.json', ['plan-eng-finding-count']],
|
||||
['test/codex-carve-fixture.test.ts', ['carve-section-loading']],
|
||||
['test/design-html-section-completion.test.ts', ['carve-section-loading']],
|
||||
['test/fixtures/design-html-section-complete.md', ['carve-section-loading']],
|
||||
@@ -158,12 +131,7 @@ describe('periodic fixture dependencies select their behavioral cases', () => {
|
||||
['test/resolver-ask-user-format.test.ts', ['plan-ceo-split-overflow']],
|
||||
['test/skill-e2e-plan-ceo-finding-count.test.ts', ['plan-ceo-finding-count']],
|
||||
['test/section-capture-native-tools.test.ts', ['ship-section-loading', 'plan-ceo-section-loading', 'office-hours-section-loading', 'carve-section-loading']],
|
||||
['test/helpers/ceo-paired-fixture.ts', ['plan-ceo-finding-count']],
|
||||
['test/ceo-paired-payment-fixture.test.ts', ['plan-ceo-finding-count']],
|
||||
['test/fixtures/ceo-paired-option-values.json', ['plan-ceo-finding-count']],
|
||||
['test/fixtures/paired-payment/src/payment.ts', ['plan-ceo-finding-count']],
|
||||
['test/fixtures/paired-payment/contract.test.ts.fixture', ['plan-ceo-finding-count']],
|
||||
['test/fixtures/paired-payment/README.md', ['plan-ceo-finding-count']],
|
||||
...['README.md', 'platform.ts', 'existing-invoice-handler.ts', 'schema.sql', 'contract.test.ts.fixture'].map((file): [string, string[]] =>
|
||||
[`test/fixtures/ceo-existing-payment/${file}`, ['plan-ceo-finding-count']]),
|
||||
...['test/fixtures/webfetch-permission.json', 'test/plan-skill-webfetch-permission.test.ts'].map((file): [string, string[]] => [file,
|
||||
@@ -172,10 +140,6 @@ describe('periodic fixture dependencies select their behavioral cases', () => {
|
||||
]),
|
||||
['test/helpers/plan-mode-evidence.ts', ['plan-design-review-plan-mode', 'plan-eng-review-plan-mode']],
|
||||
['test/plan-mode-evidence.test.ts', ['plan-design-review-plan-mode', 'plan-eng-review-plan-mode']],
|
||||
...['test/helpers/autoplan-phase-order.ts', 'test/autoplan-phase-observation.test.ts'].map((file): [string, string[]] => [file,
|
||||
['autoplan-chain-pty', 'plan-ceo-finding-count', 'plan-eng-finding-count', 'plan-design-finding-count',
|
||||
'plan-devex-finding-count', 'plan-eng-multi-finding-batching', 'plan-ceo-split-overflow'],
|
||||
]),
|
||||
...['overlay-measurement', 'overlay-workspace', 'overlay-attempt', 'overlay-case', 'overlay-case-policy', 'overlay-lifecycle'].map((helper): [string, string[]] => [
|
||||
`test/helpers/${helper}.ts`, OVERLAY_FIXTURES.map(fixture => `overlay-harness-${fixture.id}`),
|
||||
]),
|
||||
@@ -290,7 +254,7 @@ test('shared native input dependencies select every PTY consumer without changin
|
||||
expect(expected).toHaveLength(22);
|
||||
expect(expected.filter(id => E2E_TIERS[id] === 'gate')).toHaveLength(7);
|
||||
expect(expected.filter(id => E2E_TIERS[id] === 'periodic')).toHaveLength(15);
|
||||
for (const file of ['test/plan-count-design-ui-recovery.test.ts', 'test/fixtures/design-ui-boxed-question.json', 'test/pty-workspace-trust.test.ts', 'test/fixtures/pty-companion-cli.ts', 'test/helpers/pty-current-screen.ts', 'test/pty-current-screen.test.ts', 'test/fixtures/native-viewport.ts',
|
||||
for (const file of ['test/plan-count-design-ui-recovery.test.ts', 'test/fixtures/design-ui-boxed-question.json', 'test/pty-workspace-trust.test.ts', 'test/fixtures/pty-companion-cli.ts',
|
||||
'test/helpers/plan-skill-questions.ts', 'test/plan-skill-questions.test.ts', 'test/fixtures/design-tasks-bash-permission.json', 'test/fixtures/eng-auq-validation-error.json',
|
||||
'test/helpers/plan-skill-question-events.ts', 'test/plan-skill-question-events.test.ts',
|
||||
'test/helpers/plan-skill-question-hook-scope.ts', 'test/helpers/skill-census.ts', 'test/plan-skill-question-hook-scope.test.ts']) {
|
||||
|
||||
Reference in new issue
Block a user