pop quiz
Grug asks a question from every topic. Say the answer out loud, then tap. what junior miss come back sooner. what junior know go away for a while.
The cards below are a no-script preview. With the page script on, the whole question bank loads from quiz-bank.js and grug draws from it instead.
level 2 of 6Q1 · The assembly was built in /build and the checkout now lives in /work. What does repoPathFull resolve from?
try first, then show answer
2. The root walked from the assembly location at runtime
whyThe assembly location is read at runtime, so a checkout moved after the build still resolves to its own files.
from repo paths are found at runtime
level 2 of 6Q2 · Two sessions have different working directories and one file changes. Which session owns it?
try first, then show answer
1. The one whose root contains the file
whyRouting is by declared session root, so only the session whose directory contains the file should react.
from a changed file belongs to a session root
level 2 of 6Q3 · An edit is still unsaved. What text does the host check?
try first, then show answer
3. The text sent from the editor buffer
whyThe host receives the editor text directly, so a file need not be saved before the compiler sees it.
from the host checks text before it runs
level 1 of 6Q4 · Why does the engine walk upward from its assembly?
try first, then show answer
1. A checkout can live anywhere, so no absolute path is shipped
whyNo absolute checkout path is shipped, so the engine has to find the root from where the code now runs.
from repo paths are found at runtime
level 1 of 6Q5 · Which session field defines the root used for routing?
try first, then show answer
WorkingDirectory
whyWorkingDirectory on a session root is the path the watcher compares against a changed file.
from a changed file belongs to a session root
level 1 of 6Q6 · Which function checks diagnostics and keeps symbols?
try first, then show answer
checkWithSymbols
whycheckWithSymbols returns diagnostics plus the symbol references the live dependency graph uses.
from the host checks text before it runs
level 2 of 6Q7 · A caller wants one path under the repository root. What is the single door?
try first, then show answer
3. repoPath with segments
whyOne path builder keeps separator handling and root resolution in a single reviewed place.
from repo paths are found at runtime
level 2 of 6Q8 · A scratch file changes under a watched directory. What happens?
try first, then show answer
3. It is classified as scratch and left out
whyScratch names are classified before routing, so generated files do not start test runs.
from a changed file belongs to a session root