You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
agent: residual gaps in the running-binary recovery command and producer-version refusal (#9632 review) #9665
release-checkRun package, publish dry-run, VSIX, server archive, and release-readiness proof.status/needs-workActionable and not started. Do not use for partially landed work.
Residuals from the independent reviews of #9632 (closing #9500). None is a blocker; the reviewers read source and did not execute these.
Deleted executable (Linux).std::env::current_exe() can return /path/ripr (deleted) when the binary was replaced under a long-lived process (LSP, MCP). The recovery command in agent/artifact.rs (~354-358) would then name a non-existent path. Needs a fallback to bare ripr when the path does not exist.
Lossy advice for before/after pairs. For a retained repair-attempt "before" snapshot (repair_attempt/mod.rs:558), "regenerate" at the current tree does not reproduce the historical snapshot after a mid-attempt upgrade. The diagnostic is accurate; the recovery advice is not.
Currentness classification. In output/agent_seam_packets_live/currentness.rs:277-290, the version check now runs before the root check, so a foreign-version artifact from another root reports not_evaluated instead of stale. No test covers it.
Version-only identity. Two builds of the same version (dev vs release) are indistinguishable; the spec already disclaims producer authentication.
Test coverage. No test for the bare-ripr fallback message.
Item (a) of #9500 (the gap-ledger route) was delivered upstream as a warning by #9570; a refuse-not-warn rule there would be a separate owner decision.
Owner: the thread that landed #9632. Goal hurt: trustworthy refusals that say what to do next.
Additions from the automated review on #9632 (review 5613957962), all nonblocking test-grip items: (1) the forged-version test mutates only producer.version; add a case that also rewrites producer.tool so the version-equality gate is shown to be the refusal cause. (2) No test for the current_exe() unavailable fallback path. (3) The bot's claim that a lying version_line() or tool/identity rewrite bypasses the gate was refuted from source: the != compare against CARGO_PKG_VERSION ignores tool and identity fields, and the program and version line come from one process.
Claiming items 1 and 6 (deleted-executable fallback to bare ripr, plus its test) and the producer.tool rewrite test from the comment.
Branch: claude/recovery-deleted-exe-fallback
PR: pending
State: implementing; items 2-5 left unclaimed.
Items 1 and 6 delivered in #9719 (squash 8206067). The deleted or missing running executable now falls back to bare ripr with the ripr --version check, covered by a Linux test that unlinks its own binary in a child and reaches the production running_executable() path (it fails with that wiring reverted). Still open: item 2 (Windows PowerShell form), item 3 (before/after advice), item 4 (currentness classification test), item 5 (version-only identity), and the producer.tool rewrite test from the comment above.
Decision on item 4 (version check before root check in currentness.rs): leaving the ordering as is. A foreign-version artifact from another root reports not_evaluated rather than stale; both are non-assignable stop-and-refresh states, and not_evaluated is the more conservative one because the artifact's producer cannot be trusted enough to say which root it describes. Pinning it needs a real producer artifact from a second repository, which costs far more than the classification difference is worth. Items 2, 3 and 5 stay open and unclaimed.
#9739 merged (7b9e3c6): regression test pinning that a rewritten producer.tool is refused by the producer-identity gate, with a genuine or forged version. Item 4 decision stands (version check before root check; both outcomes are non-assignable). Remaining on this issue: item 2 (Windows PowerShell call operator), item 3 (before/after advice), item 5 (version-only identity).
Item 2 (Windows PowerShell form): already satisfied on main.invoke_quoted_program (output/markdown.rs) prefixes & to any quoted program, including after leading whitespace, and powershell_command_invokes_quoted_program_paths_with_call_operator pins a spaced path ('my tools\recorder.exe') for both the plain and redirect forms. regeneration_guidance_for renders the PowerShell variant through that same translator. Nothing to add.
Item 5 (version-only identity): wontfix for 0.11. The spec already disclaims producer authentication, and distinguishing dev from release builds needs a build-identity field, which is a schema change rather than a reliability fix. Revisit only if a real mis-refusal shows up.
Next I'm taking item 3 (lossy before/after advice in repair_attempt).
#9758 merged (06e7f86): refusing a retained repair-attempt before snapshot now advises starting a new attempt instead of regeneration. Acceptance reconciliation for this issue:
Closing as complete. Disposition of the six items: 1 and 6 delivered in #9719; the producer.tool rewrite test in #9739; 3 delivered in #9758 (merged 2026-10-22); 2 already satisfied on main (invoke_quoted_program call operator, pinned by a spaced-path test); 4 left as is (both outcomes are non-assignable, decision recorded above); 5 wontfix for 0.11 (spec disclaims producer authentication; revisit only on a real mis-refusal).
release-checkRun package, publish dry-run, VSIX, server archive, and release-readiness proof.status/needs-workActionable and not started. Do not use for partially landed work.
Activity
EffortlessSteven commentedon Oct 22, 2026
Additions from the automated review on #9632 (review 5613957962), all nonblocking test-grip items: (1) the forged-version test mutates only
producer.version; add a case that also rewritesproducer.toolso the version-equality gate is shown to be the refusal cause. (2) No test for thecurrent_exe()unavailable fallback path. (3) The bot's claim that a lyingversion_line()or tool/identity rewrite bypasses the gate was refuted from source: the!=compare againstCARGO_PKG_VERSIONignores tool and identity fields, and the program and version line come from one process.Generated by Claude Code
EffortlessSteven commentedon Oct 22, 2026
Claiming items 1 and 6 (deleted-executable fallback to bare
ripr, plus its test) and theproducer.toolrewrite test from the comment.Branch: claude/recovery-deleted-exe-fallback
PR: pending
State: implementing; items 2-5 left unclaimed.
Generated by Claude Code
EffortlessSteven commentedon Oct 22, 2026
Update: PR for items 1 and 6 is #9719 (qualification requested). Items 2-5 remain unclaimed.
Generated by Claude Code
Test the deleted-executable fallback through the production acquisiti…
Allowlist the self-unlinking recovery-guidance test child spawn (#9665)
Fall back to bare ripr when the running executable is gone (#9719)
EffortlessSteven commentedon Oct 22, 2026
Items 1 and 6 delivered in #9719 (squash 8206067). The deleted or missing running executable now falls back to bare
riprwith theripr --versioncheck, covered by a Linux test that unlinks its own binary in a child and reaches the productionrunning_executable()path (it fails with that wiring reverted). Still open: item 2 (Windows PowerShell form), item 3 (before/after advice), item 4 (currentness classification test), item 5 (version-only identity), and theproducer.toolrewrite test from the comment above.Generated by Claude Code
EffortlessSteven commentedon Oct 22, 2026
Claiming the
producer.toolrewrite test.Branch: claude/foreign-version-currentness-tests
PR: pending
State: implementing.
Decision on item 4 (version check before root check in
currentness.rs): leaving the ordering as is. A foreign-version artifact from another root reportsnot_evaluatedrather thanstale; both are non-assignable stop-and-refresh states, andnot_evaluatedis the more conservative one because the artifact's producer cannot be trusted enough to say which root it describes. Pinning it needs a real producer artifact from a second repository, which costs far more than the classification difference is worth. Items 2, 3 and 5 stay open and unclaimed.Generated by Claude Code
EffortlessSteven commentedon Oct 22, 2026
#9739 merged (7b9e3c6): regression test pinning that a rewritten
producer.toolis refused by the producer-identity gate, with a genuine or forged version. Item 4 decision stands (version check before root check; both outcomes are non-assignable). Remaining on this issue: item 2 (Windows PowerShell call operator), item 3 (before/after advice), item 5 (version-only identity).Generated by Claude Code
EffortlessSteven commentedon Oct 22, 2026
Decisions, no PR needed for these two:
invoke_quoted_program(output/markdown.rs) prefixes&to any quoted program, including after leading whitespace, andpowershell_command_invokes_quoted_program_paths_with_call_operatorpins a spaced path ('my tools\recorder.exe') for both the plain and redirect forms.regeneration_guidance_forrenders the PowerShell variant through that same translator. Nothing to add.Next I'm taking item 3 (lossy before/after advice in
repair_attempt).Generated by Claude Code
EffortlessSteven commentedon Oct 22, 2026
Claim: item 3. Branch
claude/before-snapshot-recovery-advice, PR #9758, state: candidate selected,merge-readyrequested, waiting on the required Rust Small result.Generated by Claude Code
EffortlessSteven commentedon Oct 22, 2026
#9758 merged (06e7f86): refusing a retained repair-attempt before snapshot now advises starting a new attempt instead of regeneration. Acceptance reconciliation for this issue:
riprfallback test: Fall back to bare ripr when the running executable is gone #9719Closing as complete.
Generated by Claude Code
EffortlessSteven commentedon Oct 24, 2026
Closing as complete. Disposition of the six items: 1 and 6 delivered in #9719; the
producer.toolrewrite test in #9739; 3 delivered in #9758 (merged 2026-10-22); 2 already satisfied on main (invoke_quoted_programcall operator, pinned by a spaced-path test); 4 left as is (both outcomes are non-assignable, decision recorded above); 5 wontfix for 0.11 (spec disclaims producer authentication; revisit only on a real mis-refusal).Generated by Claude Code