feat(FN-4142): enrich GitHub tracking comments with done status

Implements GitHub tracking comments for done tasks (FN-4142), extending the existing tracking comment system in the dashboard to emit comments when tasks complete, with corresponding tests and documentation.

Fusion-Task-Id: FN-4142
This commit is contained in:
Fusion
2026-05-12 09:28:59 -07:00
committed by gsxdsm
parent d6f1f52b5a
commit e0b9eb2fad
5 changed files with 274 additions and 15 deletions

View File

@@ -445,6 +445,8 @@ When Fusion creates a tracking issue, it uses:
- Body prefix: `Fusion task: FN-XXXX`
- Body content: bounded plain-text task summary snippet (not full prompt content)
When tracked tasks later move to `in-progress` or `done`, Fusion also posts a short lifecycle comment on the linked tracking issue. The `in-progress` comment stays plain-text and capped, while the `done` comment can include the merge commit SHA/subject, task branch, PR link, file-change stats, and merge timestamp when those fields are available.
GitHub authentication/settings are configured in [Settings Reference](./settings-reference.md) via `githubAuthMode` (`gh-cli` or `token`) and `githubAuthToken`.
## Completion Modes (`mergeStrategy`)