Skip to content

refactor(prompt): restructure agent request context injection#410

Merged
GCWing merged 1 commit intoGCWing:mainfrom
wsp1911:main
Apr 14, 2026
Merged

refactor(prompt): restructure agent request context injection#410
GCWing merged 1 commit intoGCWing:mainfrom
wsp1911:main

Conversation

@wsp1911
Copy link
Copy Markdown
Collaborator

@wsp1911 wsp1911 commented Apr 14, 2026

  • introduce RequestContextPolicy to control instruction, memory, rule, and layout sections per agent
  • split workspace instruction and auto-memory context builders into dedicated modules
  • inject request context reminders from the execution engine instead of prompt template placeholders
  • simplify agent prompt templates by removing duplicated project context, rules, and memory placeholders

- introduce `RequestContextPolicy` to control instruction, memory, rule, and layout sections per agent
- split workspace instruction and auto-memory context builders into dedicated modules
- inject request context reminders from the execution engine instead of prompt template placeholders
- simplify agent prompt templates by removing duplicated project context, rules, and memory placeholders
@GCWing GCWing merged commit ac930d5 into GCWing:main Apr 14, 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.

2 participants