# Step 4: Cross-Task Verification (default and tests-only modes)

**Role**: Professional software architect and analyst
**Goal**: Verify task consistency and produce `_dependencies_table.md`.
**Constraints**: Review step — fix gaps found, do not add new tasks.

## Steps

1. Verify task dependencies across all tasks are consistent
2. Check no gaps:
   - In default mode: every interface in `architecture.md` has tasks covering it
   - In tests-only mode: every test scenario in `traceability-matrix.md` is covered by a task
3. Check no overlaps: tasks don't duplicate work
4. Check no circular dependencies in the task graph
5. Produce `_dependencies_table.md` using `templates/dependencies-table.md`

## Self-verification

### Default mode

- [ ] Every architecture interface is covered by at least one task
- [ ] No circular dependencies in the task graph
- [ ] Cross-component dependencies are explicitly noted in affected task specs
- [ ] `_dependencies_table.md` contains every task with correct dependencies

### Tests-only mode

- [ ] Every test scenario from `traceability-matrix.md` "Covered" entries has a corresponding task
- [ ] No circular dependencies in the task graph
- [ ] Test task dependencies reference the test infrastructure bootstrap
- [ ] `_dependencies_table.md` contains every task with correct dependencies

## Save action

Write `_dependencies_table.md`.

## Blocking

**BLOCKING**: Present dependency summary to user. Do NOT proceed until user confirms.
