Skip to content

feat(prep): add research directive for constrained third-party deps - #13

Draft
fatih-acar wants to merge 1 commit into
mainfrom
fac/research-extension-uvv5n
Draft

feat(prep): add research directive for constrained third-party deps#13
fatih-acar wants to merge 1 commit into
mainfrom
fac/research-extension-uvv5n

Conversation

@fatih-acar

Copy link
Copy Markdown

Summary

Features that depend on a third-party library or tool with a missing capability tend to accumulate overly complex in-repo workarounds, when the dependency's own plugin system — or an upstream contribution — was the intended way to fill the gap. This PR makes the pipeline's research phase evaluate those extension routes before any workaround is designed.

Key Changes

  • /speckit.opsmill.prep Phase 2 (Plan) now carries a research directive: when a third-party dependency lacks a capability the feature needs, the agent MUST evaluate the dependency's built-in extension mechanism (plugins, hooks, middleware, custom providers) and, failing that, an upstream contribution, before designing around the gap.
  • The evaluation lands in research.md as an explicit decision — chosen approach, rationale, and rejected alternatives — so the critique phase and the spec/ask alignment check have something concrete to verify.
  • Falling back to an in-repo workaround is allowed only when both routes are infeasible, with the reason recorded.
  • /speckit.opsmill.auto inherits the directive via its delegation to prep; no separate edit needed.
  • Changelog entry added under [Unreleased]; version bump left for release time.

Test Plan

  • Prompt-only change to a command body — no code paths to test.
  • Verify by running /speckit.opsmill.prep on a feature that depends on a constrained third-party library and checking that research.md contains the extension-vs-workaround decision.

🤖 Generated with Claude Code

When a feature depends on a third-party library or tool that lacks a
required capability, the plan phase's research must now evaluate the
dependency's extension mechanism (plugin system, hooks, middleware) and
an upstream contribution before designing a workaround, recording the
decision in research.md. This steers the pipeline away from overly
complex implementations whose only cause is a fillable dependency gap.
Applies to speckit.opsmill.auto as well via its delegation to prep.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@fatih-acar fatih-acar added the type: enhancement New feature or request label Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant