Skip to content

feat: ship the terminal forecast report - #307

Merged
arminazimi merged 1 commit into
mainfrom
feat/108-forecast-cli
Nov 16, 2026
Merged

arminazimi merged 1 commit into
mainfrom
feat/108-forecast-cli

Conversation

@arminazimi

Copy link
Copy Markdown
Contributor

Closes #108
Closes #126
Closes #148
Closes #149
Closes #150
Closes #127
Closes #151
Closes #170
Closes #171
Closes #197
Closes #221

What changed

  • Show a weather summary and group dated events into 0–3, 3–6, and 6–12 month ranges with inclusive cutoffs. Show affected file locations and a separate section for coverage gaps. The report stays readable with NO_COLOR.
  • Pass --as-of into the scan so installed-package events use the replay date. Return status 2 with one error line for invalid or missing horizon and date values.
  • Keep the forecast v1 fields and calendar-month groups. The CLI and MCP outputs now always emit noData, and the schema still accepts earlier v1 documents. See decision 0038.
  • Snapshot the CLI report for 66 example directories at a fixed date and document three runnable examples in the forecast guide.

Quality bar

Reviewed against the repository's quality criteria and review rubric.

Checks CI cannot make

  • Tests added or updated for changed behavior
  • Changelog fragment added in changes/ for user-visible changes

Verification

  • OFFING_CHECK_COVERAGE=1 npm run check on Node.js 24
  • node dist/tools/check-decisions.js --base origin/main
  • Ran the guide's three commands and compared their output with the documented output.
  • Ran the pinned documentation checker. It reported zero errors and no warnings for the changed pages.

Notes for reviewers

Coverage gaps include existing unclassified references and direct npm dependencies in the root and its declared workspaces that lack a package rule. The forecast does not attempt an exhaustive dependency inventory.

@arminazimi
arminazimi enabled auto-merge November 16, 2026 08:16
@arminazimi
arminazimi added this pull request to the merge queue Nov 16, 2026
@arminazimi
arminazimi merged commit 7a2d3ff into main Nov 16, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment