Repository navigation
Give the buddy a map of the app: get_app_guide - #215
Conversation
"How do I create a project?" is a question about Sprintstart, not about the project the team works on, so search_docs has nothing to say about it. A clause, gated on the backend's new get_app_guide tool and shared by the hire's and the manager's persona, routes those questions to the guide, links pages by their path, and forbids sending somebody to a page the guide does not list as theirs to open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…wledge # Conflicts: # src/onboarding/buddy_persona.py # tests/onboarding/test_buddy_persona.py
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Read the diff at The prompt matches what the tool actually returns. "this page / here" maps to the guide's 1.
|
Review feedback on the app-guide clause:
- The no-button rule ("never describe a button instead of making one") is
about chat proposals; say so, so the model still names the app's buttons.
- The example link is now a page everybody can open (/board), not a manager
page every hire persona carried.
- A test pins the clause right after the search_docs routing rule it narrows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks! Took all three in |
BabuPlk
left a comment
There was a problem hiding this comment.
Re-reviewed 8f64d51. All three points are in:
- The clause now says app buttons aren't the chat's proposal buttons, and a test checks that both rules end up in the same persona.
[Board](/board)is a safe example: inAppGuideit has the defaultroles = EVERYONE, so no reader gets a dead-end link from it.- The new ordering test pins the clause after the
search_docsrouting rule.
Ran it locally again: ruff check, ruff format --check and pytest tests/onboarding (336 passed) are green, and CI is green too. Approving. Thanks for checking the button wording in the end-to-end run.
Short summary
Persona half of the buddy's app guide: routes questions about the Sprintstart app to the backend's new
get_app_guidetool._APP_GUIDE_CLAUSEin both personas (hire buddy and team mode), only whenget_app_guideis mounted:get_app_guide, never tosearch_docs, which describes the project, not the app;Checks
Additional notes
Part of a three-repo change; each PR works on its own, but the feature needs all three:
Not yet tried end to end with a real model.
🤖 Generated with Claude Code