Skip to content

docs(parser): document missing internal dependencies in README#44308

Merged
pelikhan merged 2 commits into
mainfrom
copilot/spec-librarian-specification-audit
Jul 8, 2026
Merged

docs(parser): document missing internal dependencies in README#44308
pelikhan merged 2 commits into
mainfrom
copilot/spec-librarian-specification-audit

Conversation

Copilot AI commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

pkg/parser/README.md was missing three internal dependencies from its ## Dependencies section, flagged by the spec-librarian audit.

Changes

  • pkg/parser/README.md: Added the three undocumented internal dependencies to the Internal section:
    • envutil — env var reads for GITHUB_TOKEN/GH_TOKEN (github.go, github_wasm.go)
    • importinpututil — input-value resolution for @import substitution (import_input_substitution.go)
    • setutil — set membership used in BFS traversal and cycle detection (import_bfs.go, import_cycle.go, import_observability.go, import_topological.go)

…npututil, setutil

Closes #44307

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Audit package specifications for coverage completeness docs(parser): document missing internal dependencies in README Jul 8, 2026
Copilot AI requested a review from pelikhan July 8, 2026 14:03
@pelikhan pelikhan marked this pull request as ready for review July 8, 2026 14:08
Copilot AI review requested due to automatic review settings July 8, 2026 14:08
@pelikhan pelikhan merged commit 5c66a58 into main Jul 8, 2026
@pelikhan pelikhan deleted the copilot/spec-librarian-specification-audit branch July 8, 2026 14:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the pkg/parser package specification to accurately list internal dependencies used by the parser implementation, addressing missing items flagged by the spec-librarian audit.

Changes:

  • Documented pkg/envutil as an internal dependency used for consistent token env var access (GITHUB_TOKEN / GH_TOKEN).
  • Documented pkg/importinpututil as an internal dependency used for import-input value resolution/formatting during import substitution.
  • Documented pkg/setutil as an internal dependency used for import traversal and cycle-detection helpers.
Show a summary per file
File Description
pkg/parser/README.md Adds three previously-undocumented internal dependencies to the ## Dependencies section to match actual parser imports/usage.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.82.7

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.

[spec-librarian] Specification Audit — 2026-07-08 — 1 issue found

3 participants