Skip to content

feat: pdd connect redesign — StatusReporter and cli_theme integration (#1606)#1611

Open
prompt-driven-github[bot] wants to merge 3 commits into
mainfrom
change/issue-1606
Open

feat: pdd connect redesign — StatusReporter and cli_theme integration (#1606)#1611
prompt-driven-github[bot] wants to merge 3 commits into
mainfrom
change/issue-1606

Conversation

@prompt-driven-github

Copy link
Copy Markdown
Contributor

Summary

Redesigns the pdd connect command output layer to use StatusReporter primitives and cli_theme console, replacing all ad-hoc click.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 — Replaced click.echo()/click.style() mandate with StatusReporter primitives (from_context, status.start, status.step, status.waiting, status.success, status.failure) and cli_theme.console structured display blocks. Added <cli_status_usage> and <cli_theme_usage> context includes. Added security-warning output via status.failure(...) with structured reason and suggestions.

Documentation Updated

  • docs/design/status-messaging.md — Updated ## Adoption section to record connect as a workstream 4 adopter with a canonical usage snippet.
  • context/cli_theme_example.py — Canonical usage example for PDD prompts that include cli_theme.
  • architecture.json — Added PDD architecture tags for the connect command redesign.

User Stories

  • Policy: warn
  • user_stories/story__pdd_connect.md — reused existing linked story
  • Validation: ❌ 1 of 1 linked story check(s) failed: user_stories/story__pdd_connect.md
  • ⚠️ Warning (non-blocking): failing linked story check(s): user_stories/story__pdd_connect.md

Review Checklist

  • Prompt syntax is valid
  • PDD conventions followed
  • Documentation is up to date

Next Steps After Merge

  1. Regenerate code from modified prompts in dependency order:
    pdd sync connect
  2. Run tests to verify functionality:
    pytest -vv tests/commands/test_connect.py
  3. Update the tracking table in Design refresh follow-up: default CLI styling and sync animation #1560 (EPIC) to mark Workstream 4 complete

Created by pdd change workflow

pdd-bot and others added 3 commits June 15, 2026 23:51
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>
)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

Workstream 4: pdd connect redesign

1 participant