Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes a runtime parity bug where
specfact backlog add(and other workspace module commands) could be missing in PyPI-installed runtime when invoked from a repository checkout.It also adds a new slash prompt for backlog item creation and wires it into IDE prompt installation for consistency with other backlog workflows.
Fixes #173 (follow-up/runtime parity)
New Features N/A
Contract References: No new public API contracts added; existing behavior is adjusted in module discovery root selection and IDE prompt installation list.
Type of Change
Please check all that apply:
@icontractdecorators)Contract-First Testing Evidence
Required for all changes affecting CLI commands or public APIs:
Contract Validation
@icontractdecorators on public APIs)@beartypedecorators applied)hatch run contract-test-explorationTest Execution
hatch run contract-test-contracts✅hatch run contract-test-exploration✅hatch run contract-test-scenarios✅hatch run contract-test-full✅Test Quality
How Has This Been Tested?
Contract-First Approach: Added failing-first tests, implemented fixes, then re-ran targeted suites and OpenSpec strict validation.
Manual Testing
Automated Testing
Test Environment
Checklist
@icontract,@beartype)Quality Gates Status
hatch run type-check)hatch run lint)hatch run contract-test-contracts)hatch run contract-test-exploration)hatch run contract-test-scenarios)Screenshots/Recordings (if applicable)
CLI evidence captured:
specfact backlog -hnow includesaddwhen run from repo checkout withmodules/present.hatch run specfact --versionreturns0.36.1.resources/prompts/specfact.backlog-add.mdand IDE setup wiring inSPECFACT_COMMANDS.