Repository navigation
fix(rlm): correct P2 prompt accuracy and feedback defects - #240
Merged
Merged
Conversation
AdarGit008
commented
Sep 16, 2026
AdarGit008
left a comment
Owner
Author
There was a problem hiding this comment.
Stamp (delegating-agent review) — verified, not auto-approved (GitHub forbids self-approval on the author's own token).
- Source changes match the task spec and the 5-agent conflict findings.
- Added tests are substantive and assert the new behavior.
npm test: 0 fail (11 pre-existingtodo);npm run check(tsc --noEmit): clean.
Ready for maintainer review.
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
Fixes the 7 P2 (medium) conflicts found by a 5-agent review of the RLM prompt vs. actual sandbox behavior.
Changes
binascii/unicodedatatoCANDIDATE_MODULES, removed stalecollectionsfromBLOCKED_EXAMPLES, softened "ONLY these modules exist" → "these modules are available".llm_query— description corrected from "reasoning help" to "self-contained answer" (it uses the code-generation system prompt).yield/generators to the unsupported list, qualified "no filesystem" as default-only, noted stdout is capped (32 KiB / 1000 lines) with no stderr, reconciled the last-expression rule.buildFeedbackquoting — stdout is now>-line-quoted (forgedstdout:delimiters can't align at column 0); the history-drop notice phrase is neutralised in untrusted data.renderToolDocs— now renders parameter descriptions (e.g.edit's JSONedits);readdescription corrected to text-only.aborted/crashedfeedback —abortedis now terminal in the loop;crashedadvice branches on timed-out vs worker-death.Verification
npm test: 0 fail (11 pre-existingtodo).npm run check(tsc --noEmit): clean.biome checkon changed files: clean.