Skip to content

Hide rlm/sPTC on small turns; showcase later - #631

Closed
justrach wants to merge 2 commits into
mainfrom
cursor/rlm-late-showcase-4ffc
Closed

Hide rlm/sPTC on small turns; showcase later#631
justrach wants to merge 2 commits into
mainfrom
cursor/rlm-late-showcase-4ffc

Conversation

@justrach

Copy link
Copy Markdown
Owner

Small MCP/coding turns (L and N) should not pay for rlm or speculative PTC. The cheap Linear path never calls rlm; advertising it still costs prefix bytes and invites the each() footgun.

What changes

  • Fold rlm even under --lean (no full schema on small catalogs).
  • Omit rlm from the Folded-native listing until a showcase.
  • Do not splice rlm_spec.system_note onto the always-on prefix (ADR 0011).
  • Drop “or one rlm script” from lean composeBase notes.

Showcase later (listing + load, so the next catalog can carry the schema and sPTC is live):

  • --rlm / setFromCli(true) — immediate
  • a batch of ≥4 native host tools (read_file, codedb, bash, webfetch) — the scatter-gather sPTC overlaps
  • explicit load_tool_schemas tools=["rlm"]

MCP-only fan-out (8× list_comments) does not showcase. /new and /clear hide a session-discovered showcase; --rlm sticks.

sPTC is unchanged: it only runs after an unfolded rlm script streams.

ADR 0030. Suite 1666 (was 1664+skip); +1 net test.

Not in this PR: SuperGrok L/N remeasure. After merge, a --no-lean re-run should keep rlm_calls: 0 and can only drop tokens from the missing note/listing.

Open in Web Open in Cursor 

Fold rlm even under --lean, keep it off the Folded-native listing
and the always-on prefix, and unfold on --rlm, a >=4 native batch,
or an explicit load. MCP fan-out does not showcase (Linear each()
footgun). sPTC stays wired for after unfold.
--rlm loads the schema onto the tail; catalogSkips stays true under
GRAFF_STABLE_CATALOG. Assert on the rendered JSON, not the skip flag.
Base automatically changed from release/v0.0.277 to main August 26, 2026 03:37
@justrach

Copy link
Copy Markdown
Owner Author

Already on main (ADR 0030). Closing as superseded.

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.

2 participants