Skip to content

fix: nudge for a missing lockfile instead of blocking - #84

Merged
algomaster99 merged 4 commits into
mainfrom
feat/new-manifest-lockfile-nudge
Oct 2, 2026
Merged

algomaster99 merged 4 commits into
mainfrom
feat/new-manifest-lockfile-nudge

Conversation

@algomaster99

@algomaster99 algomaster99 commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

yul blocked any range with no lockfile next to its manifest, even one that already allows latest. A new manifest can't have a lockfile yet, so an agent without the toolchain got stuck: in the Opus benchmark, 10 Cargo and 7 PyPI hook runs never wrote their manifest. Now a missing lockfile never blocks on its own.

Write Before After
Exact pin, outdated exit 2, -> <latest> exit 2, -> <latest>
Exact pin, latest exit 0 exit 0
Range excludes latest exit 2, widen to ^<latest> (+ no-lockfile line) exit 2, update range to ^<latest>
Range includes latest, no lockfile exit 2, no-lockfile line exit 0, nudge
Range includes latest, lockfile present exit 0 exit 0

The nudge goes to Claude as additionalContext:

yul: no lockfile next to the manifest. Suggestion to generate one to pin down the exact version.

🤖 Generated with Claude Code

@algomaster99
algomaster99 force-pushed the feat/new-manifest-lockfile-nudge branch from 7197f19 to ec41049 Compare October 2, 2026 15:43
@algomaster99 algomaster99 changed the title fix: nudge for a lockfile instead of blocking a new manifest fix: nudge for a missing lockfile instead of blocking Oct 2, 2026
A range that allows latest no longer blocks on a missing lockfile; it passes with a nudge to generate one. A range that excludes latest gets only the suggestion to update the range, now worded "update range to" instead of "widen to". Exact pins are unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@algomaster99
algomaster99 force-pushed the feat/new-manifest-lockfile-nudge branch from ec41049 to eb25615 Compare October 2, 2026 15:47
algomaster99 and others added 2 commits October 2, 2026 17:50
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread main.go Outdated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@algomaster99
algomaster99 merged commit 7eae8a0 into main Oct 2, 2026
2 checks passed
@algomaster99
algomaster99 deleted the feat/new-manifest-lockfile-nudge branch October 2, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant