Skip to content

[codex] add discovery bundled extension#23

Merged
bigsmartben merged 3 commits into
mainfrom
codex/add-discovery-extension
Jun 23, 2026
Merged

[codex] add discovery bundled extension#23
bigsmartben merged 3 commits into
mainfrom
codex/add-discovery-extension

Conversation

@bigsmartben

@bigsmartben bigsmartben commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Description

Adds the discovery extension as a bundled/default Spec Kit extension in this fork.

This PR:

  • vendors extensions/discovery from bigsmartben/spec-kit-discovery at version 0.2.0
  • adds the bundled catalog entry for discovery
  • includes extensions/discovery in the CLI wheel package assets
  • installs discovery during specify init alongside the other fork defaults
  • updates default-extension inventory tests and the community smoke workflow

The extension provides 6 /speckit.discovery.* commands for feasibility, technology selection, scenario-specific technical decisions, legacy codebase assessment, API implementation understanding, and proof-of-concept validation.

Testing

  • Tested locally with uv run specify --help
  • Ran existing tests with uv sync && uv run pytest
  • Tested with a sample project (if applicable)

Additional validation performed:

  • ExtensionManifest validation for extensions/discovery/extension.yml
  • uv run pytest tests/integrations/test_cli.py -k "community_extensions_and_workflow_preset_auto_installed or no_git_keeps_community_defaults" -q
  • uv run pytest tests/test_arch_templates.py tests/test_presets.py -k "community_smoke_checks_wheel_assets_and_extension_dev_reinstall or init_next_steps_do_not_list_arch_as_core_workflow" -q
  • catalog/manifest consistency check for discovery command files
  • stale-command search for removed discovery vertical commands
  • uv build --wheel, then inspected the wheel for specify_cli/core_pack/extensions/discovery/*
  • temporary-project smoke test for specify init, specify extension remove discovery --force, and specify extension add discovery
  • git diff --check

AI Disclosure

  • I did not use AI assistance for this contribution
  • I did use AI assistance (describe below)

Used Codex to inspect the extension integration path, copy and wire the bundled extension, update tests/workflow coverage, run validation, prepare this PR, and update the bundled discovery extension to v0.2.0 before merge.

@bigsmartben
bigsmartben force-pushed the codex/add-discovery-extension branch from e00653d to 65073ec Compare June 23, 2026 11:25
@bigsmartben
bigsmartben force-pushed the codex/add-discovery-extension branch from 65073ec to 131df94 Compare June 23, 2026 11:27
@bigsmartben
bigsmartben marked this pull request as ready for review June 23, 2026 11:47

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 131df94da4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- Evidence gaps: unsupported claims, missing repository facts, or unresolved constraints.
- Validation needed: benchmarks, experiments, PoCs, or follow-up discovery required to close decision risk.

4. Create or update `feasibility.md` by rendering `templates/feasibility.md`. Prefer the active feature directory when it exists. Otherwise create it under `discovery/<short-name>/feasibility.md`. This command is responsible for input normalization, evidence classification, decision classification, and template field population only.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Point discovery commands at their installed templates

Each discovery command is registered through the command registrar, which rewrites bare top-level templates/ references to .specify/templates/; however these new template files are installed under .specify/extensions/discovery/templates/. In projects using /speckit.discovery.feasibility (and the same pattern in the other discovery commands), the generated agent instruction therefore points at a non-existent template path, so the command cannot reliably render the intended bundled template.

Useful? React with 👍 / 👎.

…xtension

# Conflicts:
#	.github/workflows/community-smoke.yml
#	tests/integrations/community_defaults.py
#	tests/test_presets.py
@bigsmartben
bigsmartben merged commit 6c69c07 into main Jun 23, 2026
12 checks passed
@bigsmartben
bigsmartben deleted the codex/add-discovery-extension branch June 24, 2026 02:34
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