Skip to content

refactor(project): lift project commands to the top level - #49

Closed
Hweinstock wants to merge 12 commits into
refactorfrom
feat/project-top-level
Closed

Hweinstock wants to merge 12 commits into
refactorfrom
feat/project-top-level

Conversation

@Hweinstock

Copy link
Copy Markdown
Owner

Summary

  • lift project commands from agentcore project ... to top-level commands
  • preserve project resolution, deploy registration, and TUI middleware behavior
  • update existing unit/e2e coverage, generated command reference, docs, templates, and user-facing guidance

Validation

  • bun test — 3,558 passed, 0 failed
  • bun run typecheck
  • bun run lint:check
  • bun run format:check
  • bun run secrets:check
  • compiled Linux binary and ran the full AWS-backed E2E suite with the dev account — 38 passed, 0 failed

Review notes

Two implementation bugs were fixed in dedicated commits: deploy was advertised but not registered, and the initial config/middleware/TUI wiring refactor dropped existing behavior. A final test-only follow-up corrected stale generic root-menu expectations. No new tests were added.

@Hweinstock
Hweinstock marked this pull request as draft September 23, 2026 22:18
// projectSubcommands reads the project group's children off the compiled
// Commander tree, so tests driven by it cover any subcommand added later.
function projectSubcommands(): string[] {
// topLevelSubcommands reads the root's children off the compiled Commander

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

i actually think we should be able to remove this whole test file, it should be duplicating existing tests that already hit the top level. Lets verify removing this doesnt drop coverage, and drop it.

Comment thread command.md

## Table of contents

- [Global options](#global-options)

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

avoid changing this file, its generated on release, so just remove it. Also after making this change, find a link tot he comment from TJ on a recent PR of hweinstock that said not to touch this.

@Hweinstock Hweinstock closed this Sep 24, 2026
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.

1 participant