Skip to content

docs: document dev build/test workflow and provider-calibration - #220

Open
gregggreg wants to merge 5 commits into
marcus:mainfrom
gregggreg:docs/backfill-dev-workflow
Open

docs: document dev build/test workflow and provider-calibration#220
gregggreg wants to merge 5 commits into
marcus:mainfrom
gregggreg:docs/backfill-dev-workflow

Conversation

@gregggreg

Copy link
Copy Markdown

Documentation backfill. Two gaps found by inventorying the repo's docs against its source, and only what the source verifiably supports was written.

Filled

  • README ## Development — the section only covered pre-commit hooks. Added a clone/make deps snippet and a Building and testing subsection documenting the Makefile targets (build, test, test-race, coverage, lint, check, clean, plus install/coverage-html), and a note on make calibrate-providers linking to the existing provider calibration guide.
  • cmd/provider-calibration/main.go — added a package doc comment. This was the only package in cmd/ or internal/ without one. It describes the tool's inputs, its flags, and its output, and points at docs/guides/provider-calibration.md.

Verified

Every command quoted in the new docs was run on this branch before it shipped:

make build, make test, make test-race, make coverage, make lint (0 issues), make deps, make clean, make help, make calibrate-providers, plus go build ./... and go vet ./... — all succeeded.

Left undocumented, and why

  • Exported symbols — a scan of every non-test .go file in cmd/ and internal/ found zero undocumented exported funcs, methods, types, vars, or consts. Prior backfills covered this.
  • CLI reference — all 27 command Use: strings in cmd/nightshift/commands are already covered by website/docs/cli-reference.md. No gap.
  • CONTRIBUTING.md — not added. The build/test workflow is the substance a contributing guide would carry, and it now lives in the README next to the pre-commit hook docs; a separate file would duplicate it. Review/PR conventions are not derivable from the source, so inventing them was out of scope.
  • Struct fields and grouped const/var blocks — not swept. Lower value than the two gaps above and not worth the diff noise.

Nightshift-Task: docs-backfill
Nightshift-Ref: https://github.com/marcus/nightshift

marcus and others added 5 commits April 9, 2026 03:15
Add a Building and testing subsection to the README Development section
covering the Makefile targets, and a package doc comment for
cmd/provider-calibration, the only package in the repo without one.

Nightshift-Task: docs-backfill
Nightshift-Ref: https://github.com/marcus/nightshift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants