When to use
- •You changed mount logic in
src/agent_loom/team/core.py. - •You changed mount data structures in
src/agent_loom/team/models.pythat affect mount behavior. - •You changed anything that alters what gets mounted, where it mounts, or how mounts are validated.
Goal
Keep mounts deterministic, safe, and locked as a stable contract.
Checklist
- •
Define the contract
- •What mount sources are allowed?
- •What destination paths are allowed/forbidden?
- •What is the stable ordering for multiple mounts?
- •
Make behavior deterministic
- •Explicitly sort mounts (stable tie-breaks).
- •Avoid dict/set iteration when producing mount lists.
- •Avoid machine-specific absolute paths in user-facing output.
- •
Add/update contract tests
- •Update
tests/test_team_mounts.pyto assert stable invariants:- •validation rules
- •ordering rules
- •error messages contain actionable context
- •Update
- •
Verification gate
- •
uv run basedpyright - •
uv run ruff check . - •
uv run pytest tests/test_team_mounts.py
- •
Gotchas
- •If mounts are rendered in CLI output, also update
tests/test_team_cli_ux.pyto keep the UX deterministic. - •Avoid embedding timestamps or random IDs in any persisted mount state or printed output.
Manual notes
This section is preserved when the skill is updated. Put human notes, caveats, and exceptions here.