Files
rust_browser/AGENTS.md
2026-02-06 01:39:39 -05:00

19 lines
776 B
Markdown

# Agent Contract
After every code change:
- Run `just ci` to verify. Some tests bind to local ports and may require escalation. It is important they all run.
- Run `just san` on Linux when running the nightly rust toolchain, if running stable toolchain ignore.
Rules:
- Do not introduce `unsafe` outside `crates/platform/**` or `crates/graphics/**`.
- Do not add cross-layer dependencies (CI will block this).
- Every bug fix adds a regression test.
- New dependencies require a one-line rationale in the PR description.
Docs:
- Be sure to review the project level documentation in docs:
- browser_architecture_initial_exploration.md
- browser_testing_strategy_high_level_to_detailed.md
- browser_project_structure_modularization_guide.md
- css_support_matrix.md