Skip to content

Fix system prompt cache stability - #29865

Closed
BruceXSK wants to merge 2 commits into
anomalyco:devfrom
BruceXSK:fix/system-prompt-cache-stability
Closed

Fix system prompt cache stability#29865
BruceXSK wants to merge 2 commits into
anomalyco:devfrom
BruceXSK:fix/system-prompt-cache-stability

Conversation

@BruceXSK

Copy link
Copy Markdown

No description provided.

opencodeand others added 2 commits May 28, 2026 19:34
- Replace dynamic env_info fields (workdir, git repo, date, workspace root)
with static instruction text telling the agent how to discover them via tools
- Exclude instruction files (AGENTS.md, config.instructions, remote URLs)
from system prompt to eliminate non-deterministic content
- Fix built-in skill location: use '<built-in>' literally instead of
resolving through pathToFileURL(), which produced broken CWD-relative URLs
- Fix built-in skill tool: skip ripgrep file listing and path resolution
when the skill has no physical directory
- Add design notes documenting rationale and trade-offs
@github-actionsgithub-actionsBot added the needs:compliance This means the issue will auto-close after 2 hours. label May 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown
Contributor

Hey! Your PR title Fix system prompt cache stability doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@BruceXSK
BruceXSK deleted the fix/system-prompt-cache-stability branch May 29, 2026 09:59
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, here are the most relevant related PRs to PR #29865 (Fix system prompt cache stability):

Closely Related:

Related to Cache/System Stability:

These PRs all involve system prompt caching, cache stability improvements, and related message/prompt handling. PR #27378 and #27377 appear to be the most directly related to "system prompt cache stability" based on their titles and descriptions.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:complianceThis means the issue will auto-close after 2 hours.needs:title

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@BruceXSK