Repository navigation
WEB-6954: Route memory-fix in the discovery binary - #451
Merged
Merged
Conversation
…fixer (WEB-6954) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
vigneshsubbiah16
left a comment
Collaborator
There was a problem hiding this comment.
✅ Security consensus: no issues found. (reviewers: Claude lead review, Semgrep, Gitleaks)
🤖 consensus review · reviewers: Claude, Semgrep, Gitleaks · head 50d4a8e7 · 2026-11-27T09:32Z
gowshik450526511
approved these changes
Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
memory-fix, for Fix It on memory files.Changes
unbound-discovery memory-fixcallscoding_discovery_tools.memory_fix_helper.main()and returns its exit code. It is handled before the "no config, idle, exit 0" branch, because the helper runs with an empty environment. The entry writes nothing to stdout on this path.packaging/unbound_discovery_entry.pybinary/tests/test_frozen_contract.pyNotes for review
main, the route answers 3 and the agent never claims it can fix.packaging/unbound-discovery.specalready bundles everycoding_discovery_toolssubmodule, so no spec change.main, then a runtime release (discovery.lockbuilds the agent frommain).Pairs with websentry-ai/ai-gateway-data#3587 and websentry-ai/coding-discovery-tool#441. Merge this before the agent PR.
Linear: WEB-6954
🤖 Generated with Claude Code
Unbound Review · Score 5/5 (no findings) ·
50d4a8ememory-fixroute to the discovery binary's entry point. The route is handled before the no-config idle branch. It returns 3 when the bundle has no helper module and 1 when the import or the helper crashes, and it logs only to stderr. I checked the import-error handling against Python's import machinery and the five tests against the code paths they claim to cover; both hold up. The canonical spec already pulls in every `coding_disfindings: 0 P0 · 0 P1 · 0 P2 (top 5 P0/P1 inline) · engines: codex ✅ · claude ✅