Skip to content

Refactor extension CLI command structure - #49

Closed
mnriem wants to merge 2 commits into
mainfrom
mnriem-refactor-extension-list
Closed

mnriem wants to merge 2 commits into
mainfrom
mnriem-refactor-extension-list

Conversation

@mnriem

@mnriem mnriem commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • split each specify extension command into a dedicated command_*.py module
  • mirror the nested extension catalog command surface in an extensions/catalog/ package
  • keep command_update.py as the registered adapter while separating discovery, artifact validation, and transactional behavior into private phase modules
  • reorganize command tests under tests/specify_cli/extensions/ to mirror the implementation
  • document the CLI architecture and rationale in design/cli.md, linked from AGENTS.md

Validation

  • complete repository test suite passed
  • final affected command, extension-domain, and integration CLI suites: 714 passed
  • Ruff and git diff --check passed
  • wheel build succeeded and contains all newly introduced modules
  • all top-level extension commands register exactly once, with the nested catalog group present

AI disclosure

This pull request and its implementation were fully authored on behalf of @mnriem by GitHub Copilot (model: GPT-5.6 Sol, autonomous). The code, tests, design documentation, commit message, and pull request description are AI-drafted.

KSchlobohm and others added 2 commits September 18, 2026 16:02
* chore: upgrade community workflows to gh-aw v0.88.7 (#18)

Regenerate the three community submission locks with Copilot CLI 1.0.80 and the compiler defaults. Preserve submission instructions and file allowlists, and cover runtime compatibility and output guards.

Assisted-by: GitHub Copilot (model: GPT-6 Astra, autonomous)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* fix(workflows): exempt bug-fix from PR-count confirmation

Apply the community maintenance-workflow exemption to bug-fix while preserving assessment gates and harness-managed draft publication. Add static exemption and runtime-import coverage.

Assisted-by: GitHub Copilot (model: GPT-6 Astra, autonomous)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* chore(workflows): refresh maintenance workflow body hashes

Regenerate bug-fix and the three community workflow lockfiles with gh-aw v0.88.7 after the PR-count exemption changes. Only body_hash metadata changes; executable YAML is unchanged.

Assisted-by: GitHub Copilot (model: GPT-6 Astra, autonomous)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Assisted-by: GitHub Copilot (model: GPT-5.6 Sol, autonomous)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@mnriem mnriem closed this Sep 19, 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.

2 participants