Repository navigation
RLM review workflows: report inspected evidence separately from data loaded into the REPL #4270
ckw-123
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
While
openai-codex/gpt-6.2-solwas operating Prime Agent during a Windows benchmark and source review, we kept full logs in Python variables and only returned selected rows to the model. That is useful: it avoids filling the model context and keeps computation local. But “loaded into Python” is not “sent to the model”, and neither means “reviewed or understood”. A review conclusion can accidentally sound exhaustive when the evidence shown was only a sample. This is a workflow risk, not a confirmed wrong conclusion in that benchmark.Deterministic example (no inference required)
The first output has zero flags for rows 1–20. The explicit full scan reports row 73. Both outputs are correct. The fixture is deliberately synthetic and known to the evaluator; this tests what a slice can support, not whether a model makes the wrong inference. A full scan can justify the result of that exact predicate; it does not prove that all rows were shown to or understood by the model.
Smallest useful change
Start with an opt-in review/report convention and one runnable example in the RLM docs. Record a source identifier or version, total rows (when known), ranges emitted as evidence, and the scope of any programmatic scan separately. For a filtered scan record the predicate or query and any skipped/failed inputs; for a sample state that the unshown part is not covered. If output is truncated or the source size is unknown, preserve that uncertainty. Example:
If adding tooling later, keep it opt-in at the explicit evidence-return boundary. Report what survived output clipping, not everything that Python touched or a claim that the model read it. Count overlapping ranges only once for the same source version. If recording historical delivery, do not imply the evidence is still in the current model context after compaction or was also delivered to another agent. Do not trace every variable access, dump object values, or require secrets/paths in the record. Do not needlessly include evidence metadata in short, non-review prompts. The goal is better auditability without removing the small-output advantage of RLM.
Acceptance: the synthetic example distinguishes a preview-only conclusion from a computed full-scan result; truncated/filtered previews and unknown totals cannot silently become “all rows reviewed”. The example runs locally and does not require an LLM.
All reactions