Files
PaperClipAI/tests
DottaandPaperclip 79b61962c9 refactor(runner-e2e): remove the unreferenced Kimi context v1 calibration fixture (#23094)
## Thinking Path

> - Paperclip is the open source app people use to manage AI agents for
work.
> - The runner E2E suite stores provider calibration data as JSON
fixtures under `tests/runner-e2e/fixtures/`.
> - PR #18029 added two Kimi context calibration fixtures:
`kimi-context-command-v1.json` and `kimi-context-command-v2.json`. From
the first day, only the v2 file was loaded; the rendezvous test reads v2
by exact name.
> - The v1 file kept its place in the repository, but no code, script,
workflow, or document ever read it. A repository-wide search and a
full-history search for its name found no reader.
> - An unread fixture adds maintenance work and gives no coverage.
> - This pull request removes that one unreferenced fixture. The v2
fixture stays and keeps the calibration coverage.

## Linked Issues or Issue Description

No public issue tracks this cleanup. The problem is described here:

**What existing behavior does this improve?**
The runner E2E fixture inventory. The suite keeps calibration data that
tests actually read.

**Subsystem affected**
`tests/runner-e2e` — Runner E2E qualification suite.

**Current behavior**
`tests/runner-e2e/fixtures/kimi-context-command-v1.json` (284 lines,
14.9 KB) sits in the fixtures directory with no reader.

**Proposed behavior**
The file is removed. Every remaining fixture in the directory is still
read by a test or harness.

**Reason and benefit**
Less dead test data. No test output changes.

## What Changed

- Deleted `tests/runner-e2e/fixtures/kimi-context-command-v1.json` (284
lines of test-support data). Production code: no change. Test code: no
change.

## Verification

- Reference scan: a search of every tracked text file for the name
`kimi-context-command-v1` matched only the fixture path itself. The name
occurs in no source file.
- History scan: `git log --all -S kimi-context-command-v1.json` reports
no commit that ever referenced the name in file content. The file was
added with a reader for v2 only.
- The only loader of the Kimi calibration fixtures is
`tests/runner-e2e/kimi-context-rendezvous.test.ts:13`, which reads
`kimi-context-command-v2.json` by exact name.
- No test or harness enumerates the fixtures directory, so file removal
cannot change a directory scan.
- No test command selects this file. The deletion cannot change any test
result.
- Not run locally: the Vitest suites. This session had no installed
dependencies, and the change only removes a data file that no test
loads. The required CI checks run on this branch head.

## Risks

Low risk. The file was never loaded. The v2 fixture keeps the
calibration data. The deleted file stays in git history.

## Model Used

GLM 5.3 (Z.ai), model ID `z-ai/glm-5.3`, served through the opencode CLI
under the Paperclip Runner test-gardening routine. Tool use and shell
execution were enabled. Reasoning mode: standard chain-of-thought.
Context window size: not disclosed by the provider.

## Checklist

- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [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] I have either (a) linked existing issues with `Fixes: #` /
`Closes: #` / `Refs: #` OR (b) described the issue in-PR following the
relevant issue template
- [x] I have not referenced internal/instance-local Paperclip issues or
links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip`
URLs)
- [x] My branch name describes the change (e.g. `docs/...`, `fix/...`)
and contains no internal Paperclip ticket id or instance-derived details
- [ ] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [ ] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented any risks above
- [ ] All Paperclip CI gates are green
- [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [ ] I will address all Greptile and reviewer comments before
requesting merge

Co-Authored-By: Paperclip <Paperclip-Paperclip@users.noreply.github.com>
2026-11-30 19:33:18 +00:00
..