pdd conflicts is the Multi-Prompt Architecture workflow command. It compares two prompt files, identifies any conflicting requirements or incompatible specifications between them, and suggests how to resolve each conflict. The output CSV is compatible with pdd change --csv for batch application of resolutions.
Usage
Arguments
The first prompt file to compare.
The second prompt file to compare.
Options
Where to save the conflict analysis results CSV. Default:
<prompt1_basename>_<prompt2_basename>_conflict.csv. Also reads from PDD_CONFLICTS_OUTPUT_PATH.Output format
The output CSV has two columns:| Column | Description |
|---|---|
prompt_name | The prompt file that needs modification to resolve the conflict |
change_instructions | Specific instructions for resolving the conflict in that prompt |
pdd detect and can be used directly as input to pdd change --csv.
When to use
Usepdd conflicts as part of the Multi-Prompt Architecture workflow:
- When two modules are being integrated and you suspect their prompts make conflicting assumptions.
- After splitting a large prompt (with
pdd split) to verify the resulting two prompts are consistent. - Before merging changes across modules to catch incompatibilities early.
- As a pre-merge check in CI to detect prompt-level conflicts automatically.
Multi-Prompt Architecture workflow
The full conflict resolution workflow follows this sequence:- Detect conflicts —
pdd conflicts prompt_a.prompt prompt_b.prompt - Resolve conflicts —
pdd change --manual --csv conflicts_output.csv src/ - Regenerate code —
pdd sync module_a && pdd sync module_b - Update interfaces —
pdd exampleto refresh interface files if needed - Verify system — Run the full test suite
Example
Related commands
pdd detect— Produces the same CSV format; detects which prompts need changes based on a description.pdd split— Useconflictsafter splitting a prompt to verify the two resulting prompts are compatible.pdd change— Consumes the CSV output via--csvto apply resolutions in batch.