Skip to content

docs: backfill provider-calibration package comment and CLI command reference - #239

Open
iamlasse wants to merge 2 commits into
marcus:mainfrom
iamlasse:docs/backfill
Open

docs: backfill provider-calibration package comment and CLI command reference#239
iamlasse wants to merge 2 commits into
marcus:mainfrom
iamlasse:docs/backfill

Conversation

@iamlasse

@iamlasse iamlasse commented Sep 3, 2026

Copy link
Copy Markdown

Summary

Documentation backfill for task docs-backfill. An audit of the tree at c26c5fd found the codebase already well-documented (all internal packages have package comments; 0 exported symbols lack doc comments), so this PR closes the two gaps that remained:

  • cmd/provider-calibration/main.go — the only package in the repo without a // Package ... comment now has one, describing the tool's role and pointing to the provider-calibration guide.
  • docs/guides/commands.md — new user-facing command reference cross-checked against the Cobra command registrations in cmd/nightshift/commands/ (run, preview, task, budget + snapshot/history/calibrate, busfactor, stats, report, status, logs, setup, init, config, install/uninstall, daemon, doctor, commit). Notes that snapshot/history/calibrate are subcommands of budget, and links to the deeper guides (run-lifecycle, adding-tasks, agent-tmux-integration, codex-budget-tracking, provider-calibration, commit-messages).

Verification

  • gofmt -l clean, go vet ./... clean, go build ./... OK
  • go test ./... all packages pass
  • Go diff is comment-only; the only other change is the new markdown file

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


Automated by nightshift

iamlasse added 2 commits June 28, 2026 02:10
Add internal/commits with pure Normalize/validate functions enforcing the project's Conventional Commits rules (known type set, lowercase type, lowercase subject, 72-char subject limit, whitespace trimming, and 72-column body wrapping). Wire it into the CLI as 'nightshift commit normalize' (positional, --file, and stdin sources; --check to validate only), ship a commit-msg git hook under scripts/, and document the format and installation in docs/commit-messages.md.

Nightshift-Task: commit-normalize
Nightshift-Ref: https://github.com/marcus/nightshift
Backfill the two documentation gaps remaining at c26c5fd: a package doc
comment for cmd/provider-calibration and a user-facing command reference
at docs/guides/commands.md cross-checked against the Cobra command tree.
No behavioral changes; Go diff is comment-only.

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.

1 participant