Repository navigation
fix: Settings Trinity Prompt copy — applies every turn, no restart (#3194) - #3195
Merged
Merged
Conversation
…AUDE.md at startup (#3194) The Settings → Trinity Prompt section still described the file-based delivery retired in #136: "injected into all agents' CLAUDE.md at startup", "existing agents need to be restarted". get_platform_system_prompt() reads trinity_prompt on every chat/task turn and appends it under "## Custom Instructions" after the platform instructions, so admins were told to restart agents for nothing. Copy only, no behaviour change: - description: added to every agent's instructions each turn; applies from the next turn, no restart - field help: drops CLAUDE.md - "How it works": real order (platform instructions, then Custom Instructions), warns that a system manifest's top-level `prompt:` replaces the setting, and carries the fleet-rules-only / keep-it-short guidance The recommended-prompt docs page (#3187/#3188) is not published yet, so the box carries its guidance without a link. Test: src/frontend/tests/unit/trinityPromptCopy.spec.js mounts Settings.vue (jsdom, admin, General tab) and asserts on rendered text. Before the copy change, 5 of 6 tests went red on the rendered strings (the sixth, the section-renders guard, stays green by design so the negatives can't pass against an unrendered page). Co-Authored-By: Claude Opus 5.5 <[email protected]>
vybe
approved these changes
Oct 3, 2026
vybe
left a comment
Contributor
There was a problem hiding this comment.
merge-train: Lane B, validated. The copy matches platform_prompt_service.get_platform_system_prompt (read per turn by both the chat and task paths); the spec mounts Settings.vue and asserts rendered text, not source. Tier 1 green, dev green.
4 tasks
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
Corrects the Settings → Trinity Prompt help copy: the prompt is applied on every turn, not written into CLAUDE.md at agent startup, so changes take effect without an agent restart.
src/frontend/src/views/Settings.vue— copy updatesrc/frontend/tests/unit/trinityPromptCopy.spec.js— unit test pinning the copyCloses #3194
🤖 Generated with Claude Code