Stack Internal Onboarding Paths
Build a role- and goal-specific path from retrieved company knowledge. Require only search, get_question, and get_article; this workflow is read-only.
Workflow
- Identify the audience, the concrete learning goal, and the available time horizon. Ask for the missing value when it would materially change the path; otherwise state the assumption.
- Treat prerequisites, setup, architecture, workflows, and first tasks as the required major topics. Search each topic and retain all five sections in the final path. Report
Missing coverage:for a topic only after its focused search and both permitted broadened searches have produced no relevant fully retrieved content. When the third search remains insufficient, record the gap or partial coverage and offer a separately scoped follow-up; never reopen that topic within this path. - For each major topic, extract narrow internal terms from the role, repository, service, workflow, team, and goal. Run one focused
searchusing those terms. Treat titles, tags, IDs, and snippets only as discovery data. - Rank the candidates strongest-first. Retrieve the strongest full question with
get_questionor article withget_article, then reassess whether it supports an actionable item for that topic. Retrieve another candidate only if the retrieved content remains insufficient; do not fetch every result eagerly. - Broaden the topic query only when the focused result is weak or insufficient. Remove incidental detail or use one close internal synonym, then repeat full retrieval and reassessment. Make at most two broadened searches for that topic, for a hard maximum of three
searchcalls per major topic. Do not make a fourth call for that topic even if the user asks to continue; offer a separately scoped follow-up instead. Stop as soon as the topic has sufficient evidence; otherwise exhaust the two broadened searches before recording missing coverage or partial coverage. - Count every
searchcall across the whole path, including focused searches. After eight calls, before call 9 of any kind, disclose the completed call count, completed topics, and remaining topics, then ask whether to continue the bounded searches. Do not make another search call without that explicit confirmation. This guard never raises the three-search cap for a topic. - Include an item only when retrieved full content supports it. Cite every included item with the source's exact title and content ID; state what that source establishes. Put any reasoning beyond a retrieved source under
Inference:and do not turn it into a required step. - Render the path with the learning-path template. Keep its five sections exactly: prerequisites, setup, architecture, workflows, and first tasks. Put
Missing coverage:in the relevant section only after its bounded search is exhausted; do not fill a gap with generic setup, guessed ownership, or invented sequencing.
Response rules
- Prefer a small, usable path over a source dump. Each listed item needs a retrieved source, its exact title, and its ID.
- Use
get_questionfor a question result andget_articlefor an article result. A snippet, title, tag, or failed retrieval cannot support an item. - Clearly distinguish the source-supported item from
Inference:. If no inference is needed, writeInference: None. - Do not call
draft_question,create_question,create_QA,create_article,submit_user_answer,update_question,update_answer, orvote.
Failure handling
- If Stack Internal, authentication, permission, or a required read tool is unavailable, report the failed step and ask whether to continue without company knowledge; do not claim a search or retrieval succeeded.
- If full retrieval fails, mark that candidate incomplete and do not use its search result as evidence.
- If a topic has no useful full source after its bounded searches, record
Missing coverage:in that topic's section and say that Stack Internal did not establish a step. - If the whole-path guard pauses research and the user does not confirm continuation, report the completed searches and remaining topics as incomplete research; do not render an unresolved topic as missing coverage.
- If sources conflict, cite each title and ID, describe the conflict, and avoid prescribing a single path until the user resolves it or stronger retrieved evidence exists.