Skip to content

Commit 2aca3d4

Browse files
committed
Bump version
1 parent bc17f3d commit 2aca3d4

21 files changed

+993
-127
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## v0.0.86 (2025-12-17)
2+
3+
### Feat
4+
5+
- add metadata files for Python test command execution results and configuration
6+
- add encode_message prompt for encoding functionality in Python
7+
- add encode_message prompt for regression tests and enhance test auto-discovery in integration tests
8+
- enhance LLM prompts with detailed mock vs production code guidance and improve integration test script for clarity
9+
- add integration and static tests for mock vs production code guidance in LLM prompts
10+
- enhance unit test inclusion in code generation, implement example error detection, and improve directory summarization; update README and tests accordingly
11+
12+
### Fix
13+
14+
- improve verification success tracking in error fixing loop and update related tests
15+
- add run_attempt to branch name for re-run support
16+
17+
### Refactor
18+
19+
- remove unused warnings import from maintenance commands
20+
121
## v0.0.85 (2025-12-16)
222

323
### Feat

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,12 +690,17 @@ publish-public:
690690
@echo "Copying package-data files defined in pyproject.toml to public repo"
691691
@mkdir -p $(PUBLIC_PDD_REPO_DIR)/pdd
692692
@conda run -n pdd --no-capture-output python scripts/copy_package_data_to_public.py --dest $(PUBLIC_PDD_REPO_DIR)
693-
@# Copy test prompt for regression tests (from root prompts/ to public repo)
693+
@# Copy test prompts for regression tests (from root prompts/ to public repo)
694694
@if [ -f "prompts/test_other_python.prompt" ]; then \
695695
echo "Copying test prompt for regression tests"; \
696696
mkdir -p $(PUBLIC_PDD_REPO_DIR)/pdd/prompts; \
697697
cp prompts/test_other_python.prompt $(PUBLIC_PDD_REPO_DIR)/pdd/prompts/; \
698698
fi
699+
@if [ -f "prompts/encode_message_python.prompt" ]; then \
700+
echo "Copying encode_message prompt for regression tests"; \
701+
mkdir -p $(PUBLIC_PDD_REPO_DIR)/pdd/prompts; \
702+
cp prompts/encode_message_python.prompt $(PUBLIC_PDD_REPO_DIR)/pdd/prompts/; \
703+
fi
699704
@# Create prompts symlink if needed (prompts/ -> pdd/prompts/)
700705
@if [ -d "$(PUBLIC_PDD_REPO_DIR)/pdd/prompts" ] && [ ! -e "$(PUBLIC_PDD_REPO_DIR)/prompts" ]; then \
701706
echo "Creating prompts symlink"; \

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PDD (Prompt-Driven Development) Command Line Interface
22

3-
![PDD-CLI Version](https://img.shields.io/badge/pdd--cli-v0.0.85-blue) [![Discord](https://img.shields.io/badge/Discord-join%20chat-7289DA.svg?logo=discord&logoColor=white)](https://discord.gg/Yp4RTh8bG7)
3+
![PDD-CLI Version](https://img.shields.io/badge/pdd--cli-v0.0.86-blue) [![Discord](https://img.shields.io/badge/Discord-join%20chat-7289DA.svg?logo=discord&logoColor=white)](https://discord.gg/Yp4RTh8bG7)
44

55
## Introduction
66

@@ -285,7 +285,7 @@ export PDD_TEST_OUTPUT_PATH=/path/to/tests/
285285

286286
## Version
287287

288-
Current version: 0.0.85
288+
Current version: 0.0.86
289289

290290
To check your installed version, run:
291291
```
@@ -657,11 +657,11 @@ Arguments:
657657

658658
Options:
659659
- `--max-attempts INT`: Maximum number of fix attempts in any iterative loop (default is 3)
660-
- `--budget FLOAT`: Maximum total cost allowed for the entire sync process (default is $10.0)
660+
- `--budget FLOAT`: Maximum total cost allowed for the entire sync process (default is $20.0)
661661
- `--skip-verify`: Skip the functional verification step
662662
- `--skip-tests`: Skip unit test generation and fixing
663-
- `--target-coverage FLOAT`: Desired code coverage percentage (default is 90.0)
664-
- `--log`: Display real-time sync analysis for this basename instead of running sync operations. This performs the same state analysis as a normal sync run but without acquiring exclusive locks or executing any operations, allowing inspection even when another sync process is active.
663+
- `--target-coverage FLOAT`: Desired code coverage percentage (default is 0.0, meaning no coverage target)
664+
- `--dry-run`: Display real-time sync analysis for this basename instead of running sync operations. This performs the same state analysis as a normal sync run but without acquiring exclusive locks or executing any operations, allowing inspection even when another sync process is active.
665665

666666
**Real-time Progress Animation**:
667667
The sync command provides live visual feedback showing:
@@ -733,14 +733,14 @@ This directory should typically be added to version control (except for lock fil
733733
All existing PDD output path environment variables are respected, allowing the sync command to save files in the appropriate locations for your project structure.
734734

735735
**Sync State Analysis**:
736-
The sync command maintains detailed decision-making logs which you can view using the `--log` option:
736+
The sync command maintains detailed decision-making logs which you can view using the `--dry-run` option:
737737

738738
```bash
739739
# View current sync state analysis (non-blocking)
740-
pdd sync --log calculator
740+
pdd sync --dry-run calculator
741741

742-
# View detailed LLM reasoning for complex scenarios
743-
pdd --verbose sync --log calculator
742+
# View detailed LLM reasoning for complex scenarios
743+
pdd --verbose sync --dry-run calculator
744744
```
745745

746746
**Analysis Contents Include**:
@@ -751,9 +751,9 @@ pdd --verbose sync --log calculator
751751
- Lock status and potential conflicts
752752
- State management details
753753

754-
The `--log` option performs live analysis of the current project state, making it safe to run even when another sync operation is in progress. This differs from viewing historical logs - it shows what sync would decide to do right now based on current file states.
754+
The `--dry-run` option performs live analysis of the current project state, making it safe to run even when another sync operation is in progress. This differs from viewing historical logs - it shows what sync would decide to do right now based on current file states.
755755

756-
Use `--verbose` with `--log` to see detailed LLM reasoning for complex multi-file change scenarios and advanced state analysis.
756+
Use `--verbose` with `--dry-run` to see detailed LLM reasoning for complex multi-file change scenarios and advanced state analysis.
757757

758758
**When to use**: This is the recommended starting point for most PDD workflows. Use sync when you want to ensure all artifacts (code, examples, tests) are up-to-date and synchronized with your prompt files. The command embodies the PDD philosophy by treating the workflow as a batch process that developers can launch and return to later, freeing them from constant supervision.
759759

@@ -771,14 +771,14 @@ pdd --force sync --skip-verify --budget 5.0 web_scraper
771771
# Multi-language sync with fingerprint-based change detection
772772
pdd --force sync multi_language_module
773773

774-
# View comprehensive sync log with decision analysis
775-
pdd sync --log factorial_calculator
774+
# View comprehensive sync analysis with decision analysis
775+
pdd sync --dry-run factorial_calculator
776776

777-
# View detailed sync log with LLM reasoning for complex conflict resolution
778-
pdd --verbose sync --log factorial_calculator
777+
# View detailed sync analysis with LLM reasoning for complex conflict resolution
778+
pdd --verbose sync --dry-run factorial_calculator
779779

780780
# Monitor what sync would do without executing (with state analysis)
781-
pdd sync --log calculator
781+
pdd sync --dry-run calculator
782782

783783
# Context-aware examples with automatic configuration detection
784784
cd backend && pdd --force sync calculator # Uses backend context settings with animation
@@ -2153,10 +2153,10 @@ Here are some common issues and their solutions:
21532153
21542154
8. **Sync-Specific Issues**:
21552155
- **"Another sync is running"**: Check for stale locks in `.pdd/locks/` directory and remove if process no longer exists
2156-
- **Complex conflict resolution problems**: Use `pdd --verbose sync --log basename` to see detailed LLM reasoning and decision analysis
2156+
- **Complex conflict resolution problems**: Use `pdd --verbose sync --dry-run basename` to see detailed LLM reasoning and decision analysis
21572157
- **State corruption or unexpected behavior**: Delete `.pdd/meta/{basename}_{language}.json` to reset fingerprint state
21582158
- **Animation display issues**: Sync operations work in background; animation is visual feedback only and doesn't affect functionality
2159-
- **Fingerprint mismatches**: Use `pdd sync --log basename` to see what changes were detected and why operations were recommended
2159+
- **Fingerprint mismatches**: Use `pdd sync --dry-run basename` to see what changes were detected and why operations were recommended
21602160
21612161
If you encounter persistent issues, consult the PDD documentation or post an issue on GitHub for assistance.
21622162

0 commit comments

Comments
 (0)