feat: pdd connect redesign — StatusReporter and cli_theme integration (#1606)#1611
Open
prompt-driven-github[bot] wants to merge 3 commits into
Open
feat: pdd connect redesign — StatusReporter and cli_theme integration (#1606)#1611prompt-driven-github[bot] wants to merge 3 commits into
prompt-driven-github[bot] wants to merge 3 commits into
Conversation
Replace click.echo/click.style mandate in connect_python.prompt with StatusReporter primitives (from_context, start, step, waiting, success, failure) and cli_theme.console structured display. Add two new curated context example files for cli_status and cli_theme, and extend the docs/design/status-messaging.md Adoption section to record connect as the third adopter (EPIC #1560, workstream 4). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Summary
Redesigns the
pdd connectcommand output layer to useStatusReporterprimitives andcli_themeconsole, replacing all ad-hocclick.echo()/click.style()calls with semantic status vocabulary and Rich markup roles. This is Workstream 4 of EPIC #1560 (Design refresh — Phase 2).Closes #1606
Changes Made
Prompts Modified
pdd/prompts/commands/connect_python.prompt— Replacedclick.echo()/click.style()mandate withStatusReporterprimitives (from_context,status.start,status.step,status.waiting,status.success,status.failure) andcli_theme.consolestructured display blocks. Added<cli_status_usage>and<cli_theme_usage>context includes. Added security-warning output viastatus.failure(...)with structuredreasonandsuggestions.Documentation Updated
docs/design/status-messaging.md— Updated## Adoptionsection to recordconnectas a workstream 4 adopter with a canonical usage snippet.context/cli_theme_example.py— Canonical usage example for PDD prompts that includecli_theme.architecture.json— Added PDD architecture tags for the connect command redesign.User Stories
warnuser_stories/story__pdd_connect.md— reused existing linked storyuser_stories/story__pdd_connect.mdReview Checklist
Next Steps After Merge
Created by pdd change workflow