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:
amosblomqvist
2026-10-05 06:49:15 +03:00
parent 83dad65481
commit a1596556df
4 changed files with 59 additions and 2 deletions
+11
View File
@@ -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,
)