mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Review of the guidance move found no defect, but three things made the new seam harder to read than it has to be: - The plan and apply handlers nested the success path inside `if err == nil` with one shared error write. They return early again, like the handlers next to them. - The handler derived the scope from IsProjectMode() while GuidanceInput derived the same value from ProjectRoot. Scope() is exported so the status response and the block inspection read one value. - (*Server).memoryInstructions had become a one-line passthrough with a single caller, so it is inlined. GuidanceReader is now exported, so its doc states what the server always guaranteed: at least one source, and Dest indexing one of them. The ApplyGuidance and Config comments say what callers need to know, and the architecture paragraph is rewrapped. No behaviour change. Refs #450