Repository navigation
Extracted clean release notes: 4138 chars
Linting
- Adaptive advisory
pdd lint --ai(#3751, part of #3739): Complements fast offlinepdd lintwith a read-only AI prompt and Story review (pdd lint --ai [STORY...] [--diff [BASE]] [--provider codex|claude|gemini] [--json] [--timeout MIN]).- 5 focused plain-English checklists: Automatically selects applicable checklists (
contract,interfaces,trace,abuse,design) from the target files and their linked prompts, contracts, Stories, scenarios, and tests. - Verified quotes & second-eyes filtering: Verifies every cited quote verbatim on disk (both files on cross-file findings), runs a fresh second-eyes pass to drop duplicates and nitpicks, and caps output to the top 7 ranked findings.
- Advisory and cached: Exits
0on AI warnings, surfaces clear warnings when a run is incomplete or unavailable, and caches unchanged inputs under.pdd/cache/lint/.
- 5 focused plain-English checklists: Automatically selects applicable checklists (
Proof & Verification (pdd prove and pdd test)
- Environment-aware discovery, honest
Not proved, and streamingpdd prove(#3750, closes #3723, #3724):- Local runner discovery: Auto-detects repo-local virtual environments and lockfile package managers (
.venv/venv/uv/poetry,pnpm/yarn/bun/npm, plus polyglot runners) before bare global commands. Explicitpdd.jsonverify.testalways takes precedence. - Honest
Not provedresults: Missing test runners and hard setup failures now reportNot proved(exit3) with fix guidance instead of a falseFailed(exit1), and summaries skip noisy warning lines in favor of real runner results. - Fast-checks-first streaming & stuck detection: Runs
lint,diff, matchedverify.paths, andformalchecks before the full test suite. Actively progressing suites are no longer cut off at 10 minutes when--timeoutis omitted; stalled or looping runs stop cleanly asNot provedwith phase progress details. - Zero-friction bug-contrast worktrees: Reuses existing untracked
node_modules,.venv, andvenvdirectories inside disposable bug-contrast worktrees when manifests and lockfiles did not change.
- Local runner discovery: Auto-detects repo-local virtual environments and lockfile package managers (
- Plain-Markdown CLI testing with
pdd test --target code(#3650, closes #3641): Runpdd test --target codeon plain-Markdown CLI prompts that do not include an embeddedRuntime interfaceby declaring the command inpdd.jsonundercode.commands["<entry-prompt-path>"](whitespace-separated arguments, no shell). Missing or unsafe commands refuse cleanly and print the exactpdd.jsonsetting to add. - Call-budget & scenario hygiene alignment (#3746, closes #3733): Removes the client-side
max_callsshrink-clamp sopddforwards--max-calls <N>only when you pass it explicitly, and alignspdd lintscenario hygiene warnings with structural step (15) and initial-state byte (16 KB) limits while reporting simulated port counts as factual context.
Setup, Diagnostics & /pdd Skill
- Cleaner
pdd doctor& faster PATH diagnostics (#3745, closes #3726):- Treats empty, whitespace-only, and UTF-8 BOM-only JSON MCP config files as directly fixable with
pdd setup --yes(mcp-emptywarning) and strips leading UTF-8 BOMs when parsing non-empty JSON MCP configs. - Stops flagging unexposed private
uvorpipxtool virtual environments and intentionally separate wrappers (such aspdd-v1) as PATH conflicts while still catching active conflicting installs. - Reads Python
pdd-cliversions statically fromdist-info/METADATAheaders before falling back to spawningpdd --version.
- Treats empty, whitespace-only, and UTF-8 BOM-only JSON MCP config files as directly fixable with
- Adversarial / External-Premise Audit stage in
/pdd(#3749, closes #3643): Addsskills/pdd/references/adversarial-audit.mdand links it from Step 3 and verification guidance in/pddfor running an independent clean-context external-validity check on pricing, security, auth, multi-party stateful, and external-boundary prompts before code generation.
Install / Upgrade
pdd upgrade && pdd doctor
# or fresh install:
npm install -g @promptdriven/pdd@latest && pdd setup
# or Python wrapper:
pip install -U pdd-cli