Files
DottaandPaperclip f96a1e6406 refactor(skills): keep test audit evidence in tasks and PRs (#16833)
## Thinking Path

> - Paperclip manages AI agents that perform work.
> - The test-audit skill guides test maintenance.
> - Its Paperclip reference tells agents to commit audit receipts under
doc/plans/.
> - This adds repository documents to small test cleanups, as seen in
#16639.
> - This change keeps audit decisions and validation evidence in the
task and PR description.
> - Test gardening creates no repository documentation unless a human
asks for it.

## Linked Issues or Issue Description

**Where is the issue?**

`.agents/skills/test-audit/references/paperclip.md`, with related
reporting instructions in the entry point, campaign guide, and
validation reference. Related example: #16639.

**What's wrong?**

The skill requires repository audit receipts. A six-line test deletion
in #16639 added an 88-line report under doc/plans/. The task and PR
already provide a place for this evidence.

**Suggested fix**

Keep the evidence in the task and a concise PR description. Require an
explicit human request before changing repository documentation during
test gardening.

## What Changed

- Removed the instruction to commit dated audit receipts under
doc/plans/.
- Added the reporting rule to the skill entry point.
- Directed campaign ledgers and plans to the task.
- Kept the existing coverage, validation, and delivery requirements.

## Verification

- Skill validation passed with `quick_validate.py` from the
skill-creator tool.
- `git diff --check` passed.
- Read the entry point and all bundled references to check for
conflicting reporting instructions.
- This change edits skill instructions only. Repo-wide typecheck,
runtime tests, and build were not run locally.
- [PR
CI](https://github.com/paperclipai/paperclip/actions/runs/39253050703)
passed on head `d0b68db878fa4da83858da5f74fd25e6120723b5`, including
typecheck, test suites, build, and E2E checks.
- Greptile reviewed that head at 5/5 with no open findings.

## Risks

- Evidence must remain accessible in the task and PR. The instructions
still require decisions, keepers, commands, results, and limitations.
- An installed copy needs a refresh to receive this source change. An
operator can also apply the rule in the agent and routine instructions
immediately.

> For core feature work, check [`ROADMAP.md`](ROADMAP.md) first and
discuss it in `#dev` before opening the PR. Feature PRs that overlap
with planned core work may need to be redirected — check the roadmap
first. See `CONTRIBUTING.md`.

## Model Used

- OpenAI Codex, based on GPT-6. The exact runtime model ID and
context-window size were not exposed. Used repository search,
instruction editing, and shell validation.

## 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
- [x] I have run tests locally and they pass (skill validation; no
runtime changes)
- [x] I have added or updated tests where applicable (not applicable to
this instruction edit)
- [x] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented any risks above
- [x] All Paperclip CI gates are green
- [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-10-19 07:44:47 -05:00
..