Skip to content

Refine agent cli artifacts#93

Merged
lzehrung merged 2 commits into
mainfrom
refine-agent-cli-artifacts
May 16, 2026
Merged

Refine agent cli artifacts#93
lzehrung merged 2 commits into
mainfrom
refine-agent-cli-artifacts

Conversation

@lzehrung
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refines agent-facing CLI artifacts by adding command-specific help, improving artifact bundle reporting in doctor, and making generated artifact question IDs unique/stable.

Changes:

  • Adds dedicated help text for search, explain, artifact, and mcp.
  • Extends doctor to recognize manifest-backed artifact bundle directories.
  • Updates suggested question IDs/labels and related tests/docs.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/cli.ts Routes --help to command-specific help text when available.
src/cli/help.ts Adds command-specific help constants and lookup helper.
src/cli/search.ts Uses shared search help for missing query usage output.
src/cli/explain.ts Uses shared explain help for missing target usage output.
src/cli/artifact.ts Uses shared artifact help for invalid artifact subcommands.
src/cli/mcp.ts Uses shared MCP help for invalid MCP subcommands.
src/cli/doctor.ts Detects artifact bundle directories and reports expected artifact presence.
src/agent/artifact.ts Ensures suggested question IDs/handles remain unique for aliased exports and SQL objects.
tests/cli-command-modules.test.ts Adds coverage for command help routing and artifact bundle doctor reports.
tests/artifact-build.test.ts Adds coverage for unique suggested question IDs with aliased exports.
docs/cli.md Documents command-specific help and artifact bundle doctor support.
docs/agent-workflows.md Updates agent workflow guidance for doctor and unique question IDs.
codegraph-skill/codegraph/SKILL.md Updates bundled skill guidance for command help and artifact doctor usage.

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

@lzehrung lzehrung merged commit 559114c into main May 16, 2026
7 checks passed
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.

2 participants