feat: custom instructions and environment-aware shell context - #47043
Open
dorlanpabon wants to merge 1 commit into
Open
feat: custom instructions and environment-aware shell context#47043dorlanpabon wants to merge 1 commit into
dorlanpabon wants to merge 1 commit into
Conversation
Contributor
|
The following comment was made by an LLM, it may be inaccurate: Potential Related PR Found:
Why it's related: PR #47012 is the original feature implementation that PR #47043 is based on. According to the PR description, #47043 is a native port of #47012 to the v2 branch (due to restructured config, instructions, and settings that made a direct cherry-pick impossible). Note: PR #47012 appears to be on a different branch, so these are intentionally related but on separate branches rather than true duplicates. |
3 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.
Issue for this PR
Closes #47011
Type of change
What does this PR do?
Native port of #47012 to the
v2branch (which restructured config, instructions, settings and docs, so a direct cherry-pick was impossible):customInstructionsin config schema (v1 + migrate + normalize), merged global-first and injected as<custom_instructions>after env/date and before AGENTS.md discovery.<env>block gains human-readableOSand resolved effectiveShell(respects config/shell plugin + discovery); execution untouched.config.mdx,instructions.mdxordering).Note:
sync.updateConfigis currently stubbed upstream (TODO: Restore config updates), so the editor wiring typechecks but persistence lands once that TODO is restored.How did you verify your code works?
bun run typecheckin schema, core, app, www: passScreenshots / recordings
New settings section only; happy to add a screenshot on request.
Checklist