rlm
Research/REPL mode for notebook-style investigation with a gated Python, read, and web-search toolset.
rlm is an opt-in research/REPL mode. Use it when the task is exploration, source-backed research, or iterative analysis rather than direct mutation in the normal coding-agent loop.

gjc rlmWhat it does
rlm runs a notebook-style research session over the agent loop. It is backed by the shared persistent Python kernel and a hard-gated research toolset:
pythonreadweb_searchsearch_tool_bm25- read-only
bashfor inspection commands (grep,rg,tree,ls,pwd,wc,du,file,stat) goalcomplete_research
Runs aggregate under the current GJC session root:
.gjc/_session-<gjcSessionId>/rlm/<rlmSessionId>/notebook.ipynbOn exit, the session synthesizes:
.gjc/_session-<gjcSessionId>/rlm/<rlmSessionId>/report.mdWhen to use it
Reach for rlm when you need a durable research scratchpad: compare sources, run small Python probes, preserve intermediate cells, and leave a report. Stay in the normal gjc loop when the work is implementation, review, or workflow execution through deep-interview, ralplan, team, and ultragoal.