Skip to content

refactor(agent): make shared system prompt tool-agnostic - #607

Closed
ShuxinLin wants to merge 4 commits into
mainfrom
refactor/tool-agnostic-system-prompt
Closed

ShuxinLin wants to merge 4 commits into
mainfrom
refactor/tool-agnostic-system-prompt

Conversation

@ShuxinLin

@ShuxinLin ShuxinLin commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Remove the "access to MCP tools" framing from AGENT_SYSTEM_PROMPT so it no longer assumes how domain data is exposed.
  • Broaden the domain description (sites, telemetry, vibration, anomaly detection) to match the current servers.
  • Stirrup code-exec prompt: drop the "MCP tools are authoritative / never bypass" bullet and the "Do not overuse code_exec" lead-in.
  • Output-format rule unchanged.

Test plan

  • uv run pytest src/agent -k "not integration" (195 passed)

Drop the MCP-tools framing so the prompt no longer assumes how domain
data is exposed, and list the domains the current servers cover.

Signed-off-by: Shuxin Lin <linshuhsin@gmail.com>
@ShuxinLin
ShuxinLin force-pushed the refactor/tool-agnostic-system-prompt branch from c7e76b8 to 907bc19 Compare October 2, 2026 20:32
…c prompt

Signed-off-by: Shuxin Lin <linshuhsin@gmail.com>
…ifact limits

Signed-off-by: Shuxin Lin <linshuhsin@gmail.com>
Signed-off-by: Shuxin Lin <linshuhsin@gmail.com>
@ShuxinLin
ShuxinLin requested a review from DhavalRepo18 October 2, 2026 20:39
@DhavalRepo18

Copy link
Copy Markdown
Collaborator

@ShuxinLin Please use these #613

Any adjustments you'd like to make, please edit the 613
#613

@ShuxinLin

Copy link
Copy Markdown
Collaborator Author

I will close the issue for now since it was addressed in another branch

@ShuxinLin ShuxinLin closed this Oct 5, 2026
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