What's New in PDD 0.1.54
Testing & Recovery
- Faster
pdd test targeting and recovery (#3720, closes #3703):
- Single-scenario targeting: Run a single scenario file directly with
pdd test tests/<file>.json (also supported with --files and --target code). Unselected sibling scenarios do not run, and partial runs never pollute full-Story pass caches.
pdd test --retry-unresolved <BATCH>: Reconcile expired reservations on a saved batch, skip already-passing scenarios, and re-run only non-passed scenarios in a new batch.
- Automatic stale reservation cleanup: Before starting a new
pdd test batch, pdd automatically reconciles stale prior reservations for your repository so expired holds do not trigger unnecessary busy errors. Clean repositories incur zero extra calls.
- Offline affected preview: Run
pdd test --affected --files [--app-map PATH] [--json] to inspect affected Stories, scenario files, and upload sizes offline with zero AI or network calls.
- Owner-local command execution with
--live-local (#3687, closes #3490): Run Stories against allow-listed commands on your machine using pdd test [STORY...] --live-local --command-manifest PATH [--allow-live-writes] or pdd <STORY|.> --live-local --command-manifest PATH [--allow-live-writes] --new. Commands run read-only by default, and write commands require a fresh terminal yes confirmation for each write.
Linting & Formal-to-Vector Export
- Scenario size hygiene warnings in
pdd lint (#3722, closes #3704): pdd lint now emits a non-blocking scenario-oversized warning when a scenario exceeds 15 steps, exceeds 16 KB of serialized initial state, or exceeds the default call cap. Teams can tune limits or severity in pdd.json under lint.scenario and lint.rules.scenario-oversized.
- Offline
pdd vector export (#3722, closes #3704): Convert formal test vectors (pdd.formal-vectors.v1 JSON from property or boundary test suites) and Quint/Apalache ITF traces into pdd lint-clean Short JSON scenario files completely offline. Runs in dry-run mode by default and writes files with --write --out PATH (with optional --split and --max-steps).
- Fail-closed remote lint (#3730, closes #2556):
pdd lint --remote now fails closed with exit 4 on refused or error-severity lint and exit 5 on incomplete lint in both text and JSON modes instead of reporting exit 0.
Interpreter Citations & --serve Controls
- Prompt clause citations on test failures (#3730): Upgrades the bundled runtime client to
1.1.4 so pdd test --files --json generates stable prompt clause IDs and pdd test --details, --json, and --read --details show the exact prompt lines cited by the interpreter when a check fails.
- Tunnel and auth options for
--serve (#3730): Adds --allow-origins, --trust-proxy, --serve-token, and --serve-header to pdd --serve for safe origin, proxy, and token checks.
- Runtime client reliability fixes (#3730): Ships step-minimal closure planning, faster batch-history scanning, empty argument forwarding on
--cli doors, and improved timeout and reconnect backoff handling.
PDD Cloud Accounts & pdd-codex
- Active seat and rotation visibility (#3717, closes #3679):
- Interactive
pdd-codex sessions now print a single-line notice on stderr showing the active seat label, owner or shared status, and whether auto-rotation is on or off. Non-interactive, JSON, quiet, and piped runs suppress this notice.
pdd accounts status now uses a cleaner layout with human-readable lease durations and shows live pdd-codex sessions under Running pdd-codex (and under codex_runtime in pdd accounts status --json).
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