Skip to content

[spec-extractor] Update package specifications for agentdrain, cli, constants#28024

Merged
pelikhan merged 1 commit intomainfrom
spec-extractor/run-1-c1610eb4fecc0557
Apr 23, 2026
Merged

[spec-extractor] Update package specifications for agentdrain, cli, constants#28024
pelikhan merged 1 commit intomainfrom
spec-extractor/run-1-c1610eb4fecc0557

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Package Specification Updates

This PR updates README.md specifications for the following packages (round-robin run 1, packages 1–3 of 20):

Package Status Changes
agentdrain Updated Added Coordinator.TrainEvent to Coordinator section
cli Updated Added 14 missing public Run* functions to API table
constants Updated Fixed DefaultCopilotVersion example value (1.0.31 → 1.0.21)

What Changed

pkg/agentdrain/README.md

  • Coordinator.TrainEvent(evt AgentEvent) (*MatchResult, error) was a public method not documented in the Coordinator section. Added it alongside AnalyzeEvent with a usage example.

pkg/cli/README.md

  • 14 public Run* and utility functions were present in source but missing from the Public Functions table:
    • RunSpecificWorkflowInteractively — dispatch a named workflow interactively
    • RunAddInteractive — interactive wizard for adding workflows
    • RunWorkflowTrials — trial workflow executions
    • RunUpdateWorkflows — update workflows from upstream
    • RunChecks — CI check results for a PR
    • RunProjectNew — create a GitHub Project V2 board
    • RunListDomains — list all domains used across workflows
    • RunWorkflowDomains — domains for a specific workflow
    • RunHashFrontmatter — print frontmatter hash
    • RunActionlintOnFiles, RunZizmorOnFiles, RunPoutineOnDirectory, RunRunnerGuardOnDirectory — linter/scanner batch operations

pkg/constants/README.md

  • Example value for DefaultCopilotVersion was stale ("1.0.31"); corrected to "1.0.21" to match the source constant.

Extraction Method

  • Source code analysis of exported symbols (grep -n "^func [A-Z]")
  • Cross-reference of public APIs against existing README documentation
  • Verification of constant values against source

Round-Robin State

  • Packages processed this run: agentdrain, cli, constants
  • Next packages in rotation: console, envutil, fileutil, gitutil
  • Total packages: 20
  • Coverage: All 20 packages have existing specifications; this run applies accuracy improvements

Auto-generated by Package Specification Extractor workflow

Generated by Package Specification Extractor · ● 4.2M ·

  • expires on Apr 26, 2026, 10:52 AM UTC

- agentdrain: add Coordinator.TrainEvent to Coordinator section
- cli: add 14 missing public Run* and utility functions to API table
  (RunSpecificWorkflowInteractively, RunAddInteractive, RunWorkflowTrials,
  RunUpdateWorkflows, RunChecks, RunProjectNew, RunListDomains,
  RunWorkflowDomains, RunHashFrontmatter, RunActionlintOnFiles,
  RunZizmorOnFiles, RunPoutineOnDirectory, RunRunnerGuardOnDirectory)
- constants: fix DefaultCopilotVersion example value (1.0.31 → 1.0.21)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added automation documentation Improvements or additions to documentation pkg-specifications labels Apr 23, 2026
@pelikhan
Copy link
Copy Markdown
Collaborator

/q fix the round robin logic, the cache should not have been empty. Process 4 packages per run.

@pelikhan pelikhan merged commit d5c1fb1 into main Apr 23, 2026
@pelikhan pelikhan deleted the spec-extractor/run-1-c1610eb4fecc0557 branch April 23, 2026 12:08
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented Apr 23, 2026

🎩 Mission equipment ready! Q has optimized your workflow. Use wisely, 007! 🔫

@github-actions
Copy link
Copy Markdown
Contributor Author

Issue created: #28066

🎩 Equipped by Q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation pkg-specifications

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant