You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 98857e4
Browse filesBrowse the repository at this point in the historyBrowse files
fix: overview generation never receives --instructions (custom_instructions)
MODULE_OVERVIEW_PROMPT and REPO_OVERVIEW_PROMPT (module-parent and repo-root
overview generation) have no {custom_instructions} slot, unlike
SYSTEM_PROMPT/LEAF_SYSTEM_PROMPT — so --instructions (language, audience,
forbidden diagram styles, link format) never reaches these two prompts.
Confirmed empirically on a real run (voll-intelligence): every affected
overview page came back in English with the tool's default developer-oriented
structure ("Purpose / Architecture / Core component documentation") and, in
one case, a broken local-filesystem link — regardless of a detailed
Portuguese business-audience --instructions file being passed on the CLI.
Appending the instructions as trailing text to the single user-role prompt
(the obvious first fix) measurably failed to change model output. The actual
fix: thread an optional system_prompt through call_llm/_call_llm_via_litellm/
_call_llm_via_azure/LLMBackend.complete/PydanticAIBackend.complete/
CawBackend.complete, and have generate_parent_module_docs pass
config.get_prompt_addition() as a system-role message — the same mechanism
SYSTEM_PROMPT/LEAF_SYSTEM_PROMPT already use successfully, just not
previously wired to the bare-completion overview path.
0 commit comments