Skip to content

1.6.0: grounding research + Track Setup topic shortcut - #4

Merged
luxsolari merged 1 commit into
mainfrom
grounding-research-and-topic-shortcut
Jul 2, 2026
Merged

1.6.0: grounding research + Track Setup topic shortcut#4
luxsolari merged 1 commit into
mainfrom
grounding-research-and-topic-shortcut

Conversation

@luxsolari

Copy link
Copy Markdown
Owner

Summary

  • Grounding-research step in Track Setup: before generating a custom curriculum, Sage now judges whether the stated topic is a fast-moving library/framework with a versioned API (vs. stable fundamentals training data already gets right), and if so, uses WebSearch/WebFetch to pull current docs before writing exercises — recording sources in a new optional sources YAML field. Validated live on Raylib: genuinely caught it's currently on v6.0 and shaped the generated verify command's real linker flags.
  • Track Setup topic shortcut: no more re-asking "what do you want to learn?" when the trigger message already said so. A topic matching no bundled curriculum skips Round 0 and Round 1 outright; a topic matching one compresses Round 0 into a direct named confirm instead of the generic list — without removing the custom-track choice.
  • Two new scenarios (09, 10) validate both features live, 10/10 each. Scenario 06 got a no-sources assertion plus a staleness fix (its "Rust" example collided with the rust-cli curriculum from a prior release, silently changing Round 0's option count).

All ten Tier 2 scenarios pass. Full detail in CHANGELOG.md's 1.6.0 entry.

Test plan

  • python tests/test_check_progress_schema.py — 7/7 pass (Tier 1, also runs in CI)
  • Scenario 06 (re-validated after Rust→Go fix): 9/9 PASS
  • Scenario 09 (grounding-research trigger, Raylib): 10/10 PASS, real WebSearch/WebFetch calls confirmed
  • Scenario 10 (topic shortcut, both branches): 10/10 PASS

🤖 Generated with Claude Code

Custom-track generation now checks its facts. Before writing exercises
for a fast-moving library/framework with a versioned API (a game/UI
library, a cloud SDK, a build tool), Sage uses WebSearch/WebFetch to
pull current docs first, recording what it consulted in a new
optional `sources` field. Validated live on Raylib: the research
genuinely caught that Raylib is on v6.0 and shaped the generated
verify command's real linker flags, not a plausible-sounding guess.
Stable fundamentals (a language's own core syntax) still skip this
entirely -- no need to burn a research round on what training data
already gets right.

Also fixes a real redundancy: Track Setup used to ask "what do you
want to learn?" even when the learner's trigger message already said
so. Now a stated topic matching no bundled curriculum skips Round 0
and Round 1 outright; a topic matching one compresses Round 0 into a
direct named confirm instead of the generic list, without removing
the custom-track choice.

Two new scenarios (09, 10) validate both features live, 10/10 and
10/10 respectively. Scenario 06 gained a no-sources assertion and a
staleness fix -- its original "Rust" example collided with the
rust-cli curriculum added in 1.5.0, so Round 0 was silently offering
three options instead of the two it assumed. Both 06 and 09 had their
trigger messages reverted to topic-neutral, since the new shortcut
rule would otherwise entangle their own regression targets with
Round 0's behavior.

All ten Tier 2 scenarios now pass. Pre-release checklist bumped from
"all eight" to "all ten." Version bumped to 1.6.0.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @luxsolari! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@luxsolari
luxsolari merged commit 47c0342 into main Jul 2, 2026
1 check passed
@luxsolari
luxsolari deleted the grounding-research-and-topic-shortcut branch July 2, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant