# MACP Task Brief Template **Use this template for all MACP task briefs.** Workers that receive briefs not following this structure should flag it as an issue. --- ```markdown #
### Constraints:
-
---
## Task 2:
---
## Tests (MANDATORY)
**Every brief MUST include a Tests section. Workers MUST write tests before or alongside implementation. Tests MUST pass before committing.**
### Test file: `tests/test_.py`
### Test cases:
1. `test_` —
2. `test_` —
...
### Test runner:
```bash
python3 -m unittest discover -s tests -p 'test_*.py' -v
```
---
## Verification
1. All tests pass: ``
2. Python syntax: `python3 -c "import "`
3.
## Ground Rules
- Python 3.10+ stdlib only (no pip dependencies)
- Commit message: `feat: ` (conventional commits)
- Push to `feat/` branch when done
```
---
## Brief Sizing Rules
| Brief Type | Max Items | Rationale |
|------------|-----------|-----------|
| **Build** (new code) | 2-3 | High cognitive load per item |
| **Fix** (surgical changes) | 5-7 | Low cognitive load, exact file/line/fix |
| **Review** | 1 | Naturally focused |
| **Test** (add tests) | 3-4 | Medium load, but well-scoped |
The key metric is **cognitive load per item**, not item count.
- Build = construction (high load)
- Fix = scalpel (low load)
- Review = naturally focused
- Test = moderate (reading existing code + writing test logic)