Skip to content

refactor: refine agent runtime context handling#1115

Merged
wsp1911 merged 2 commits into
GCWing:mainfrom
wsp1911:main
Jun 9, 2026
Merged

refactor: refine agent runtime context handling#1115
wsp1911 merged 2 commits into
GCWing:mainfrom
wsp1911:main

Conversation

@wsp1911

@wsp1911 wsp1911 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator
  • Move environment/runtime details out of static agent prompts and into prepended runtime context reminders.
  • Gate runtime context content by visible tool needs, including workspace tools, ExecCommand shell details, and computer-use OS hints.
  • Keep ExecCommand descriptions stable across local and remote workspaces while surfacing shell specifics through runtime context.
  • Add a read-only GetTime tool and register it in product tool manifests, provider groups, and exposure docs.
  • Update reminder ordering contracts, prompt text, registry expectations, and focused tests for the new context model.

wsp1911 added 2 commits June 9, 2026 15:50
- Move environment/runtime details out of static agent prompts and into prepended runtime context reminders.
- Gate runtime context content by visible tool needs, including workspace tools, ExecCommand shell details, and computer-use OS hints.
- Keep ExecCommand descriptions stable across local and remote workspaces while surfacing shell specifics through runtime context.
- Add a read-only GetTime tool and register it in product tool manifests, provider groups, and exposure docs.
- Update reminder ordering contracts, prompt text, registry expectations, and focused tests for the new context model.
@wsp1911 wsp1911 merged commit a8758bc into GCWing:main Jun 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant