Skip to content

Add package documentation for pkg.go.dev directories view#14

Merged
TGPSKI merged 2 commits intomainfrom
fix/pkggodev-docs
Apr 10, 2026
Merged

Add package documentation for pkg.go.dev directories view#14
TGPSKI merged 2 commits intomainfrom
fix/pkggodev-docs

Conversation

@TGPSKI
Copy link
Copy Markdown
Owner

@TGPSKI TGPSKI commented Apr 10, 2026

Summary

  • Add module-level doc.go at repo root for the pkg.go.dev overview page
  • Add doc.go with package-level doc comments to 11 internal packages that were missing them: rules, config, checks, scan, correlation, enrich, ingest, report, provenance, completion, mcp, corpus
  • Consolidate daemon package doc into a single doc.go (was duplicated with different descriptions in client.go and daemon.go)

Before

pkg.go.dev directories view showed empty descriptions for most internal packages.

After

All 18 packages (plus the module root) have doc comments that will appear in the pkg.go.dev directories table and individual package pages.

Verification

  • go vet ./... passes
  • go test ./... passes (all 18 packages)

Closes #13

Made with Cursor

- Create module-level doc.go for pkg.go.dev overview page
- Add doc.go to 11 internal packages missing package documentation:
  rules, config, checks, scan, correlation, enrich, ingest, report,
  provenance, completion, mcp, corpus
- Consolidate daemon package doc into doc.go (was duplicated across
  client.go and daemon.go with different descriptions)

Closes #13

Made-with: Cursor
GITHUB_TOKEN API calls do not fire pull_request:labeled events, so
the auto-label workflow adding ok-to-test never triggered CI. Fix by
adding opened back to pull_request types and allowing opened events
to bypass the label check (the PR author has push access). Fork PRs
from untrusted users are still gated by ok-to-test on synchronize
and labeled events.

Made-with: Cursor
@TGPSKI TGPSKI merged commit d85e530 into main Apr 10, 2026
6 checks passed
@TGPSKI TGPSKI deleted the fix/pkggodev-docs branch April 10, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pkg.go.dev is missing full detailed documentation in directories view

1 participant