Skip to content

PDD 0.1.55

Latest

Choose a tag to compare

@Serhan-Asad Serhan-Asad released this 27 Nov 07:08
f37d8f9

Extracted clean release notes: 4138 chars
Linting

  • Adaptive advisory pdd lint --ai (#3751, part of #3739): Complements fast offline pdd lint with 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 0 on AI warnings, surfaces clear warnings when a run is incomplete or unavailable, and caches unchanged inputs under .pdd/cache/lint/.

Proof & Verification (pdd prove and pdd test)

  • Environment-aware discovery, honest Not proved, and streaming pdd 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. Explicit pdd.json verify.test always takes precedence.
    • Honest Not proved results: Missing test runners and hard setup failures now report Not proved (exit 3) with fix guidance instead of a false Failed (exit 1), and summaries skip noisy warning lines in favor of real runner results.
    • Fast-checks-first streaming & stuck detection: Runs lint, diff, matched verify.paths, and formal checks before the full test suite. Actively progressing suites are no longer cut off at 10 minutes when --timeout is omitted; stalled or looping runs stop cleanly as Not proved with phase progress details.
    • Zero-friction bug-contrast worktrees: Reuses existing untracked node_modules, .venv, and venv directories inside disposable bug-contrast worktrees when manifests and lockfiles did not change.
  • Plain-Markdown CLI testing with pdd test --target code (#3650, closes #3641): Run pdd test --target code on plain-Markdown CLI prompts that do not include an embedded Runtime interface by declaring the command in pdd.json under code.commands["<entry-prompt-path>"] (whitespace-separated arguments, no shell). Missing or unsafe commands refuse cleanly and print the exact pdd.json setting to add.
  • Call-budget & scenario hygiene alignment (#3746, closes #3733): Removes the client-side max_calls shrink-clamp so pdd forwards --max-calls <N> only when you pass it explicitly, and aligns pdd lint scenario 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-empty warning) and strips leading UTF-8 BOMs when parsing non-empty JSON MCP configs.
    • Stops flagging unexposed private uv or pipx tool virtual environments and intentionally separate wrappers (such as pdd-v1) as PATH conflicts while still catching active conflicting installs.
    • Reads Python pdd-cli versions statically from dist-info/METADATA headers before falling back to spawning pdd --version.
  • Adversarial / External-Premise Audit stage in /pdd (#3749, closes #3643): Adds skills/pdd/references/adversarial-audit.md and links it from Step 3 and verification guidance in /pdd for 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