Skip to content

Clarify s03 permission prompt so harness handles approval - #593

Open
suifeng187 wants to merge 1 commit into
shareAI-lab:mainfrom
suifeng187:fix-s03-permission-prompt
Open

suifeng187 wants to merge 1 commit into
shareAI-lab:mainfrom
suifeng187:fix-s03-permission-prompt

Conversation

@suifeng187

Copy link
Copy Markdown

Summary

Update the s03 system prompt so permission handling is clearly owned by the harness.

Why

The previous prompt could lead models to ask for approval in plain text instead of emitting a tool_use block. When that happens, the s03 permission pipeline does not run, so the lesson may fail to demonstrate ask_user() and hard deny-list behavior.

Changes

  • Tell the model to keep using tools for destructive operations
  • Clarify that the harness will approve or deny execution before the tool runs

Testing

Manual test with python s03_permission/code.py:

  • Delete the file test.txt
  • Reboot the system

This branch has not been deployed

No deployments
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