mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-05 14:35:17 +01:00
## Thinking Path > - Paperclip is the open source app people use to manage AI agents for work > - When an owner's run ends without a recorded disposition, Paperclip sends a disposition-repair wake with an instruction > - The legacy instruction only asks the owner to record a disposition, and owners tend to read it as "recovery only, do no work" > - They then end the repair run with the issue unchanged, the repair attempts run out, and the issue escalates to the board even though the work could simply continue > - This pull request adds one sentence: continue unfinished, unblocked work in the run, then record the disposition > - The benefit is fewer escalations and fewer empty repair runs ## Linked Issues or Issue Description **What happened?** Owners woken by a disposition-repair wake did no work, ended with the same state, and exhausted the repair attempts, so the issue escalated to the board. **Expected behavior** An owner with unfinished work and no blocker continues the work in the repair run, then records a disposition. **Steps to reproduce** 1. Let an owner run end `in_progress` without a disposition while work remains. 2. Observe the disposition-repair wake and its instruction. 3. The owner records nothing new; after the attempts run out, the issue escalates. **Paperclip version or commit** `master`; also v2026.1012.0. Refs #16388. That change addresses original-owner repair instructions. This change clarifies continuation during disposition repair. ## What Changed - Keep the existing continuation instruction. The current review has no code findings. - Refresh the contribution template and repeat the focused instruction checks. ## Verification - Focused tests: **2 passed**. - Run `pnpm --filter @paperclipai/server exec vitest run src/services/recovery/legacy-continuation-instruction.test.ts --maxWorkers 1`. - Worker verification used Node 24 and local workspace source aliases. - Full repository typecheck, tests, and build were not run. The remote build host was unavailable. - CI and Greptile must verify the updated head after the push. ## Risks - The instruction can affect how an agent interprets a repair wake. - The runtime authorization and issue state rules remain unchanged. ## Model Used - Claude Opus 5.5 (`claude-opus-5-5`, 1M context) in Claude Code, with tool use (code search, shell, test runs). - Review fixes: OpenAI Codex, `gpt-6.1-sol`, with code search, shell execution, and test execution. - The review adapter does not expose its context window size. ## 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 - [x] I have added or updated tests where applicable - [x] 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 - [x] I will address all Greptile and reviewer comments before requesting merge --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: Owner·paperclip <owner-paperclip@users.noreply.github.com> Co-authored-by: Paperclip <noreply@paperclip.ing>