Skip to content

docs: backfill CONTRIBUTING, architecture map, and docs-backfill guide#182

Open
iamlasse wants to merge 1 commit into
marcus:mainfrom
iamlasse:docs/backfill-docs
Open

docs: backfill CONTRIBUTING, architecture map, and docs-backfill guide#182
iamlasse wants to merge 1 commit into
marcus:mainfrom
iamlasse:docs/backfill-docs

Conversation

@iamlasse

@iamlasse iamlasse commented Jul 1, 2026

Copy link
Copy Markdown

Summary

docs-backfill task run — adds three genuinely missing documentation files, grounded in the shipped codebase (Go 1.24, 82 internal Go files, v0.3.x). No source files were changed.

Added

  • CONTRIBUTING.md (new) — build/test/lint workflow (make targets), the make install-hooks pre-commit hook (gofmt + go vet + go build), conventional-commit style, the branch-from-main + PR workflow, the Nightshift-Task / Nightshift-Ref trailers, and how to preview the Docusaurus docs site.
  • docs/implemented/architecture.md (new) — a package map covering all 21 internal/* and the 2 cmd/* packages (each grounded in its // Package comment), plus the CLI → config → scheduler → orchestrator → provider/agent → PR flow. Path validation is correctly attributed to internal/security.ValidateProjectPath.
  • docs/guides/docs-backfill.md (new) — documents the docs-backfill task itself: category pr, cost Low, risk Low, 168h (7d) default cooldown, what counts as missing documentation, file-selection heuristics, interval overrides, and the safe-by-design "everything is a PR" output model.

Deliberately not added (backfill scope)

  • No root README.md — the existing 291-line README is authoritative; re-adding it would conflict.
  • No doc.go files — every Go package already has a // Package comment in its source, so per-package doc.go files would create duplicate package comments.

Validation

  • gofmt -l . clean; go vet ./... and go build ./... pass (no Go changed).
  • All internal Markdown links resolve.

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


Automated by nightshift

Add three genuinely-missing docs, grounded in the shipped codebase:

- CONTRIBUTING.md: build/test/lint workflow, pre-commit hook,
  conventional-commit style, branch-from-main PR flow, the
  Nightshift-Task/Nightshift-Ref trailers, and doc-site preview.
- docs/implemented/architecture.md: package map for the 21 internal
  and 2 cmd packages plus the CLI -> scheduler -> orchestrator ->
  provider -> PR flow.
- docs/guides/docs-backfill.md: the docs-backfill task (category pr,
  cost Low, risk Low, 168h cooldown), what counts as missing docs,
  selection heuristics, and the safe-by-design PR output model.

No Go files changed; no existing docs duplicated.

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