<!-- Authored per the the-loop:writing skill. -->
Tasks: a work item is armed by a set of labels, all of which must be present
The last spec artifact (requirements → design → testing plan → tasks). A DAG of implementation tasks derived from the design and testing plan.
Task list
[x] 1. The predicate and the config reader
cli/the_loop/webhook/router.py:normalize_labels,event_carries_labels;Router(auto_execute_labels=…)flagging through itcli/the_loop/webhook/dispatcher.py:RoutingConfig.auto_execute_labels,from_mappingreadingautoExecuteLabels,_is_armed, the refusal reasoncli/the_loop/webhook/daemon.py: the wiring- Depends on: none
- Requirements: R1.1–R1.6
- Test: T1, T2, T3 (red→green)
[x] 2. The poll ingress
cli/the_loop/poller/github.py:GhClientlistings takelabels, one--labeleach;GitHubPollProvider(labels=…),from_source(default_labels=…), the provider-side superset filter,presence_eventcli/the_loop/poller/base.py,cli/the_loop/poller/daemon.py:default_labels- Depends on: 1
- Requirements: R2.1–R2.3
- Test: T4, T5 (red→green)
[x] 3. The migration and the schema
cli/the_loop/migrations.py:CURRENT_CONFIG_VERSION = "0.10.0", detection, refusal,_migrate_auto_execute_labels.the-loop/cli-config.schema.json+cli/the_loop/schemas/cli-config.schema.json:autoExecuteLabels,sources[].labels; the old properties removed.the-loop/cli-config.yaml,skills/the-loop/templates/cli-config.yaml: the new keys, version0.10.0- Depends on: none
- Requirements: R3.1–R3.4, R4.1
- Test: T6, T9 (red→green)
[x] 4. The integration scenarios and the renamed test constructors
cli/tests/test_webhook_routing_integration.py: T7cli/tests/test_poller_integration.py: T8- every suite constructing
RoutingConfig(auto_execute_label=…),Router(auto_execute_label=…)orGitHubPollProvider(label=…) - Depends on: 1, 2
- Requirements: R1, R2
- Test: T7, T8, T10
[x] 5. Documentation
docs/config/cli/routing-options.md,polling-options.md,self-diagnosis-options.md,channels-options.md,index.md(version);docs/cli/getting-started.md,concepts.md,state.md,commands/sessions.md,commands/migrate-config.md;docs/guide/slack.md;docs/reports/gh-queries.md,labels-and-dashboards.md,cli-architecture-survey.mdskills/the-loop/reference/automation.md;commands/work-on.md,commands/execute-tasks.md,commands/upgrade-the-loop.mddocs/capabilities/webhook-triggers.md: the Current-behaviour clause and the history row;docs/decisions/decision-131.md+ index- Depends on: 1–3
- Requirements: R4.1–R4.3
- Test: T9
[x] 6. Evidence and the gates
evidence/self-review.md,critic-review.md,security-review.md,final-validation.md,documentation.md,pull-requests.md;make check- Depends on: 4, 5
- Requirements: all
- Test: T9, T10, T11
Dependency graph (DAG)
Checkpoints
After tasks 1–3 the unit suites they name are green; after task 4 the whole cli suite; after task 5 the parity suites and scripts/validate_config.py; task 6 is make check. Each red→green transition is recorded in the commit that carries it.
Review comments
Appended by the-loop's
record-feedbackhook when a human gate approves with comments (issue-109). Append-only and attributed.