feat(pydantic): add PYD-104 force_download rule (schema 15) - #111
feat(pydantic): add PYD-104 force_download rule (schema 15)#111Paramjeet-singh-neu wants to merge 1 commit into
Conversation
Flag FileUrl-family and WebFetchTool force_download=True / allow-local so the engine's new predicate ships to scanners. Bump pack schema_version in lockstep. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Thanks @Paramjeet-singh-neu. PYD-104 is unclaimed on main and no other open PR takes that ID, so it slots between PYD-103 and PYD-105 cleanly. The schema side checks out: every required field is present, One change I want. Confidence 0.8 sits above PYD-103's 0.75, but PYD-103 reads a kwarg straight off the agent constructor, while the FileUrl arm here attributes a file level PYD-104 will need a rationale doc in Happy to take this once the confidence is adjusted. |
Summary
FileUrl-family orWebFetchToolwithforce_download=Trueor"allow-local".schema_version14 → 15 for the newagent_file_url_force_downloadpredicate (older binaries skip this rule and keep the rest).Test plan
trustabltestdata/rules-fixture/pydantic_ai/agent_safety.yamlMade with Cursor