Skip to content

Complete missing package API specifications - #75180

Merged
pelikhan merged 2 commits into
mainfrom
copilot/spec-librarian-audit-2026-11-05
Nov 5, 2026
Merged

pelikhan merged 2 commits into
mainfrom
copilot/spec-librarian-audit-2026-11-05

Conversation

Copilot AI commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

The package audit found undocumented exported functions and ambiguous method references in package specifications. This update adds source-verified API entries and clarifies which referenced methods belong to external APIs.

  • API coverage: Document the 68 missing exported functions across workqueue, workflow, console, cli, parser, actionpins, constants, ctxutil, errorutil, and fileutil.
  • Reference clarification: Identify SetEscapeHTML as a json.Encoder method and clarify that the method names in linters descriptions refer to analyzed code, not package exports. workflowcontract already documents its test-only role.

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI changed the title [WIP] Update specifications for packages with undocumented exports Complete missing package API specifications Nov 5, 2026
Copilot AI requested a review from gh-aw-bot November 5, 2026 13:44
@pelikhan
pelikhan marked this pull request as ready for review November 5, 2026 15:26
Copilot AI adaptive review requested due to automatic review settings November 5, 2026 15:26
@pelikhan
pelikhan merged commit d1f964c into main Nov 5, 2026
52 checks passed
@pelikhan
pelikhan deleted the copilot/spec-librarian-audit-2026-11-05 branch November 5, 2026 15:27
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · routed: gpt56 max · ~1 AIC · ⌖ ~1 AIC · ⊞ 6.3K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Design Decision Gate 🏗️ · routed: opus55 medium · ~12 AIC · ⌖ ~2 AIC · ⊞ 7.7K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Ponytail Reviewer · routed: gpt56 max · ~2 AIC · ⌖ ~1 AIC · ⊞ 118 · ◷

Generated by Ponytail Reviewer for #75180

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

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.

🟡 Changes recommended

The README clarification still inaccurately implies that every listed method belongs to standard-library values, so it should be revised to reflect the analyzer’s broader interface-based matching.

1 open issue
What changed in this PR

This documentation-only pull request completes package API specifications by adding source-verified entries for 68 previously undocumented exported functions and clarifying references to external or analyzed APIs.

Changes:

  • Documents missing APIs across workqueue, workflow, parser, console, CLI, actionpins, constants, context, error, and file utilities.
  • Clarifies that SetEscapeHTML belongs to json.Encoder.
  • Clarifies that method names in linter descriptions refer to analyzed code rather than linters package exports.
File Description
pkg/​workqueue/​README.md Documents workqueue construction, replay, inspection, policy, authorization, and lifecycle APIs.
pkg/​workflow/​README.md Documents webhook, workqueue, compiler, permission, and GitHub App APIs.
pkg/​parser/​README.md Documents action-pin, sub-agent, and MCP certificate helpers.
pkg/​linters/​README.md Clarifies that referenced methods belong to analyzed code, not the package API.
pkg/​jsonutil/​README.md Identifies SetEscapeHTML as a json.Encoder method.
pkg/​fileutil/​README.md Documents safe file reading within a base directory.
pkg/​errorutil/​README.md Documents output-based not-found classification.
pkg/​ctxutil/​README.md Documents operation reporter context helpers.
pkg/​constants/​README.md Documents compiler-owned job and engine-step naming helpers.
pkg/​console/​README.md Documents stdout formatting helpers.
pkg/​cli/​README.md Documents development compilation, command construction, Docker, and episode retrieval APIs.
pkg/​actionpins/​README.md Documents GHES resolution and resolved action-prefix mapping helpers.

This pull request is ready to be approved.

Review effort: Lite (auto)

Comment thread pkg/linters/README.md

This package currently provides custom Go analyzers in the following subpackages:

The method names mentioned in analyzer descriptions (such as `Err`, `Flush`, `Reset`, `Timeout`, and `Unlock`) are methods on the standard-library values being analyzed, not exports from the `linters` package.
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.1

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-11-05 — 12 packages with spec drift

4 participants