fix: ensure tool documentation always included in Addie's system prompt#763
Merged
Conversation
Tool documentation was only in a hardcoded fallback prompt that wasn't used when database rules existed. This caused Addie to not know about meeting scheduling and other tools. Changes: - Add ADDIE_TOOL_REFERENCE constant with tool documentation (tied to code) - Add ADDIE_FALLBACK_PROMPT for minimal fallback when DB unavailable - Always append tool reference to system prompt in claude-client.ts - Also append in eval-service.ts for consistency - Remove unused ADDIE_SYSTEM_PROMPT (was 400+ lines of dead code) Architecture: DB rules handle behavioral guidance (editable), tool reference handles tool existence (tied to code implementations). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The v2.6-rc docs have WIP governance links that don't exist yet. Temporarily hide the directory during the check until the governance section is completed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
… check Renaming the directory to v2.6-rc.hidden still allowed mintlify to scan it. Deleting the directory entirely and restoring from git ensures it's excluded. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Applying the same fix to the local pre-push hook - remove v2.6-rc directory during check since it has WIP governance links. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
dedcd6f to
f558c44
Compare
bokelley
added a commit
that referenced
this pull request
Jan 16, 2026
…pt (#763) * fix: ensure tool documentation always included in Addie's system prompt Tool documentation was only in a hardcoded fallback prompt that wasn't used when database rules existed. This caused Addie to not know about meeting scheduling and other tools. Changes: - Add ADDIE_TOOL_REFERENCE constant with tool documentation (tied to code) - Add ADDIE_FALLBACK_PROMPT for minimal fallback when DB unavailable - Always append tool reference to system prompt in claude-client.ts - Also append in eval-service.ts for consistency - Remove unused ADDIE_SYSTEM_PROMPT (was 400+ lines of dead code) Architecture: DB rules handle behavioral guidance (editable), tool reference handles tool existence (tied to code implementations). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * ci: exclude v2.6-rc from broken-links check The v2.6-rc docs have WIP governance links that don't exist yet. Temporarily hide the directory during the check until the governance section is completed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: delete v2.6-rc directory instead of renaming during broken-links check Renaming the directory to v2.6-rc.hidden still allowed mintlify to scan it. Deleting the directory entirely and restoring from git ensures it's excluded. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: exclude v2.6-rc from pre-push broken-links check Applying the same fix to the local pre-push hook - remove v2.6-rc directory during check since it has WIP governance links. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
bokelley
added a commit
that referenced
this pull request
Jan 20, 2026
…pt (#763) * fix: ensure tool documentation always included in Addie's system prompt Tool documentation was only in a hardcoded fallback prompt that wasn't used when database rules existed. This caused Addie to not know about meeting scheduling and other tools. Changes: - Add ADDIE_TOOL_REFERENCE constant with tool documentation (tied to code) - Add ADDIE_FALLBACK_PROMPT for minimal fallback when DB unavailable - Always append tool reference to system prompt in claude-client.ts - Also append in eval-service.ts for consistency - Remove unused ADDIE_SYSTEM_PROMPT (was 400+ lines of dead code) Architecture: DB rules handle behavioral guidance (editable), tool reference handles tool existence (tied to code implementations). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * ci: exclude v2.6-rc from broken-links check The v2.6-rc docs have WIP governance links that don't exist yet. Temporarily hide the directory during the check until the governance section is completed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: delete v2.6-rc directory instead of renaming during broken-links check Renaming the directory to v2.6-rc.hidden still allowed mintlify to scan it. Deleting the directory entirely and restoring from git ensures it's excluded. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: exclude v2.6-rc from pre-push broken-links check Applying the same fix to the local pre-push hook - remove v2.6-rc directory during check since it has WIP governance links. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
🤖 Generated with Claude Code