Tasks: the daemon reaches GitHub through PyGithub
The last spec artifact. All six tasks landed on this work item's PR. A DAG derived from the design and testing plan; each task names the testing-plan row that proves it.
Task list
- [x] 1. The dependency and the client —
PyGithubincli/pyproject.tomlanduv.lock;cli/the_loop/ghapi.py(GitHubApiConfig,GitHubApiError,GitHubClient, the two GraphQL documents,GhItem/GhComment/GhItemState);cli/tests/ghreplay.py- Depends on: none
- Requirements: R1.1, R2.1, R2.2, R2.4, R3.1 (O1–O12), R3.2, R3.3, R5.1
- Test: T1 —
test_ghapi.py; T7 — A1, A2, A3, A5, A6; T8
- [x] 2. The writers —
comments,linkage,reactions,announce,core/selfdiagnosis,channels/github,control,cli_config.apply_integrations(_github); every caller passinggh_binary=passesapi=;cli/tests/ghfakes.py- Depends on: 1
- Requirements: R2.3, R3.1 (O1–O5), R5.1
- Test: T2; T7 — A7, A8; T4 (announce, reactions, control, channels scenarios)
- [x] 3. The readers —
poller/github.pyover the client (GhClientandcheck_gh_dependencyremoved,GhErrorkept, 410 classified),poller/poller.pyand the daemon's provider construction,graph/integrations/{base,github}.py(one provider),commands/channels_cmd.py- Depends on: 1
- Requirements: R1.2, R3.1 (O5–O12), R3.4, R4.3, R5.2
- Test: T3; T4 (poller scenarios); T7 — A4
- [x] 4. The configuration — schema (authored + packaged),
migrations.py(0.11.0,_retire_github_cli),sdk/environment.py,skills/the-loop/templates/cli-config.yaml,.the-loop/cli-config.yaml, the0.10.0fixtures- Depends on: 2, 3
- Requirements: R1.2, R4.1, R4.2, R4.4
- Test: T5; T6
- [x] 5. The documentation —
docs/config/cli/integrations-options.mdand the sibling pages that describe theghpath,docs/cli/installation.md,getting-started.md,receiver.md,concepts.md,docs/guide/onboarding.md,docs/sdk/environment.md,docs/cli/commands/{ask,diagnose,channels}.md, the capability docs (cli,webhook-triggers,interactive-sessions,self-diagnosis,sdk,channels,control-plane),decision-139and its row- Depends on: 4
- Requirements: R4.4, A4
- Test: T5 (docs parity); T11 (markdownlint)
- [x] 6. Verification and evidence —
make check; the manual row on agh-less box;evidence/{verification,self-review,security-review,documentation,manual,reviewer-briefing}.md; the PR- Depends on: 5
- Requirements: all
- Test: T10, T11, T12