refactor(server): retire the native input boundary alias (#22299)

## Thinking Path

> - Paperclip is the open source app people use to manage AI agents for
work.
> - `server/src/__tests__/native-runner-input-boundary.test.ts` is a
two-line alias: a comment plus one import of
`packages/paperclip-runner/src/contracts/native-execution.test.ts`. It
contributes no assertion, setup, or configuration of its own.
> - The alias was added in #12591 (2026-08-31), before the Runner
package suites ran in required PR CI. A 2026-10-13 audit receipt
retained it for exactly that reason: the package suite was omitted from
the root default project list, so the alias was its only root-suite
entry point.
> - Since then, `verify_paperclip_runner` became a required PR job whose
default matrix includes `test:typescript:vitest --package-lane=K/3` for
K in 1..3 (plus a native-server lane), and those lanes partition the
full package vitest inventory (`src/**/*.test.ts` in
`packages/paperclip-runner/vitest.config.ts`) as a complete,
non-overlapping cover. `src/contracts/native-execution.test.ts`
therefore runs in exactly one required package lane on every full-CI PR.
> - The same suite also executed a second time per PR inside the
serialized server lane through this alias. That is now a pure duplicate
execution, so this pull request deletes the alias.

## Linked Issues or Issue Description

- **What existing behavior does this improve?** Test cost only.
Production code does not change.
- **Subsystem affected** `server` test selection;
`packages/paperclip-runner` unchanged.

## What Changed

- Deleted `server/src/__tests__/native-runner-input-boundary.test.ts` (2
lines: comment + import of the package-owned
`native-execution.test.ts`).
- No production changes. The retained owner
`packages/paperclip-runner/src/contracts/native-execution.test.ts` is
untouched and still selected by the required package lanes.
- `scripts/general-server-shard-durations.json` still lists a 272 ms
weight for the deleted path; the shard script reads durations with a `??
fallbackWeight` default, so a stale manifest key is inert and the
measurement bot refreshes the manifest. Left unchanged to keep the diff
minimal.

## Verification

- Static evidence for safe removal:
- Package lane coverage: `packages/paperclip-runner/vitest.config.ts`
includes `src/**/*.test.ts`; `scripts/run-pr-vitest-lane.mjs` +
`scripts/vitest-package-lanes.mjs` partition that inventory into
complete non-overlapping lanes; `.github/workflows/pr-trusted.yml` runs
`test:typescript:vitest --package-lane=1/3..3/3` and `--native-server`
in the `verify_paperclip_runner` matrix, and the final validation job
asserts each planned suite result for that job.
- The alias adds no setup or separate assertion: its whole body is one
import (2-line file).
- Whole-repository reference search for `native-runner-input-boundary`:
only `doc/plans/*` receipts,
`packages/paperclip-runner/docs/design/standalone-thin-paperclip-adapter.md`,
and the shard duration manifest mention it; no executable test-selection
command, generator, or import references it.
- Duplicate gate: no open pull request's diff touches
`server/src/__tests__/native-runner-input-boundary.test.ts` or
`packages/paperclip-runner/src/contracts/native-execution.test.ts`
(checked via the pulls API for every open PR matching the names). PR
#21980 (open, `codex/test-garden-duplicate-forward-reconciliation-row`)
touches a different file (`workspace-runtime.test.ts`); not this
routine's work.
- Local runs: **not run** — this execution workspace ran out of disk
during `pnpm install` (the `pnpm-lock.yaml` refresh bot lags the ACPX
pin bump, so a frozen install fails at master HEAD and the
`--no-frozen-lockfile` install filled the 10 GB disk). No local test or
typecheck could run; the deletion is a test entry-point removal whose
safety rests on the selection evidence above, not on a green local run.
- Baseline comparison: master HEAD `440f96247b` had the same install
blocker; nothing about this 2-line deletion can affect module resolution
for the retained suites.

## Risks

- Contributors running only the root `pnpm test` no longer execute the
native-execution suite in that run; it still runs under `pnpm --filter
@paperclipai/paperclip-runner test:typescript` (local) and in the
required package CI lanes. This matches how every other
`packages/paperclip-runner` suite is already routed.
- CI savings are estimated, not measured: the shard manifest weights the
alias at ~272 ms per server-lane run plus module transform cost, but no
wall-time measurement of this PR's lane was taken.
- Remaining audit candidates (retained, not deleted this run):
`devtools/browser/src/live/transcript-model.test.ts` vs
`src/browser/transcript-model.test.ts` (near-identical titles, but each
exercises its own production module — possible production duplication,
out of test-gardening scope); the three `execute.acp-fallback.test.ts`
adapter copies (each mocks its own protocol);
`runner-tool-results.live.test.ts` (opt-in live suite, skipped by
default).

## Model Used

GLM-5.3 (openrouter/z-ai/glm-5.3) driving the Paperclip Test Gardener
agent.

## Checklist

- [x] No production behavior changes
- [x] No checks weakened; the retained owner suite is selected in
required PR CI
- [x] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [x] No documentation files added or modified
This commit is contained in:
Dotta authored and GitHub committed 2026-11-30 19:26:26 +00:00
1 parent 5f1178b966
commit aa76a16879
1 file changed
-2
@@ -1,2 +0,0 @@
// Acceptance-matrix entry point for the package-owned closed input parser.
import "../../../packages/paperclip-runner/src/contracts/native-execution.test.js";