zed/crates/agent
zed-zippy[bot] 3965f7133f
Stop loading deprecated agent rules (#57844) (cherry-pick to preview) (#57851)
Cherry-pick of #57844 to preview

----
Summary:

- Stop loading persisted default Zed Rules into native agent project
context.
- Remove legacy user-rules rendering from agent system prompt templates.
- Keep Skills and project rules file support unchanged.

Tests:

- cargo test -p agent
test_system_prompt_does_not_render_legacy_zed_rules_section --lib
- cargo test -p prompt_store test_empty_skills_sets_has_skills_false
- cargo test -p prompt_store
test_project_context_does_not_filter_by_budget

Closes AI-325
Release Notes:

- Fixed deprecated Rules being automatically included in new agent
requests.

Co-authored-by: MartinYe1234 <52641447+MartinYe1234@users.noreply.github.com>
2026-05-27 16:34:01 +00:00
..
src Stop loading deprecated agent rules (#57844) (cherry-pick to preview) (#57851) 2026-05-27 16:34:01 +00:00
Cargo.toml Restrict tools from editing sensitive agents folders (#56456) 2026-05-12 22:47:51 +00:00
LICENSE-GPL Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00