Generate and post structured progress reports to Slack at each project milestone. All metrics come from authoritative sources -- never estimate or approximate.
Steps
- Define milestone types: research complete, spec complete, design complete, feature shipped, deployed.
- Detect milestone completion by monitoring phase-transition signals (all Issues in a phase moved to Done, deploy succeeded).
- Collect metrics from real sources:
- Feature progress: closed vs open Issues on the GitHub Project board
- Test results: passing, failing, skipped counts from CI output
- Cost spent: token and API spend from agent telemetry
- Time elapsed: wall-clock time from project kickoff, broken down by phase
- Select the template matching the milestone type. Format as a Slack message using rich blocks with progress bars, metric summaries, and artifact links.
- Post to the configured Slack channel. Store a copy at
.harness/updates/{milestone-type}-{timestamp}.md.