practice: the rarely-needed set — files, research, pdf, map readers (round 10 slice 1)
The practice registry widens beyond problem+conclude: read/ls/find/grep (the learner-filesystem set, always), research + pdf jobs (research honestly absent when no engine is live; demo/visual stay teach-only), and the prober's map readers behind the SAME settings gate as the prober's (graphToolsEnabled at the composition root). Base prompt carries the conditional doctrine: reach for them only when the situation genuinely requires — no propositions → look at the map; learner references a file → read it; load-bearing uncertainty → research it. Not toggle-filtered: problem/conclude are the session, these are exceptions.
This commit is contained in:
@@ -337,6 +337,17 @@ export async function handleChatInput(
|
||||
// proposition, not just the session's picks (pickless sessions
|
||||
// and future graph-tools poses stay valid).
|
||||
graphNodes: () => stores.graphStore.readNodes(),
|
||||
// THE RARELY-NEEDED SET (owner round 10): research + pdf jobs
|
||||
// (same runner/gating as the teacher's — research honestly
|
||||
// absent when no engine is live) and the map readers behind
|
||||
// the SAME settings gate as the prober's.
|
||||
jobs: {
|
||||
chatId,
|
||||
jobStore: stores.jobStore,
|
||||
spawn: (job, input) => void jobRunner.runJob(job.id, input),
|
||||
searchAvailable,
|
||||
},
|
||||
...(graphToolsEnabled(effective) ? { graph: { chatStore: stores.chatStore, graphStore: stores.graphStore } } : {}),
|
||||
},
|
||||
agentOpts,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user