<!-- Written per the the-loop:writing skill. -->
Tasks: graph notifications on a gateway consumer post first time
Task list
- [x] 1. Write the failing tests
- Unit:
cli/tests/test_graph_gateway_notify.py— runtime config carriesgatewayandinstance;posting_pathisgatewaywith no token; no / malformed block →none. - Integration:
cli/tests/test_graph_gateway_notify_integration.py— the realnotifyhook posts through the gateway client on the first attempt under the instance's name; outbox empty. - Watch them go red.
- Depends on: none
- Requirements: R1.1–R1.4, R2.1
- Test: T1, T2, T8 (red)
- Unit:
- [x] 2. Seed
gatewayandinstanceinbuild_runtimecli/the_loop/graph/bootstrap.py, next tochannelsandstate, with a comment naming the readers.- Depends on: 1
- Requirements: R1.1–R1.4
- Test: T1, T2, T8 (green)
- [x] 3. Capability doc + full suite
- Note the seeded keys in the channels / gateway capability doc that describes the posting path.
- Depends on: 2
- Requirements: —
- Test: T12
Dependency graph (DAG)
1 → 2 → 3
Checkpoints
After task 2 run T1/T2; after task 3 run T12. Verification then executes testing-plan.md.