Repository navigation
feat: show config settings and AI prompt in metadata output - #22
Merged
Merged
Conversation
Owner
|
@cursor let's check this PR |
|
Here is what I did for “let’s check this PR” on Review
Verification
Change pushed
I could not update the GitHub PR description from here (platform reported the body is not agent-managed). You can paste a short note manually if you want the test plan to mention |
Co-authored-by: Nikita Bayev <nikita@bayev.kz>
drugoi
approved these changes
Apr 2, 2026
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
metadatacommand now displays all configuration settings after the existing database/hooks info: AI provider, model, API key (masked), CLI preference, prompt instructions, and auto-update flagdefault); when a custom one is set viaai.prompt_instructions, it is displayed in full (labeledcustom)sk-a…cdef)DEFAULT_PROMPT_INSTRUCTIONSconstant insrc/ai/mod.rs, reused in bothbuild_promptand metadata displayExample output
Test plan
metadata_shows_config_settings,metadata_shows_defaults_when_config_is_empty,mask_api_key_hides_middle_of_long_keys