feat: support agentic sync without architecture.json (#538)#539
Open
prompt-driven-github[bot] wants to merge 1 commit intomainfrom
Open
feat: support agentic sync without architecture.json (#538)#539prompt-driven-github[bot] wants to merge 1 commit intomainfrom
prompt-driven-github[bot] wants to merge 1 commit intomainfrom
Conversation
Make agentic sync work when a project has no architecture.json by
scanning the prompts/ directory for module prompt files and building
a module catalog. The LLM uses this catalog to identify relevant
modules based on the issue content, with dependencies inferred from
<include> tags in prompt files.
Changes:
- Update agentic_sync_identify_modules_LLM.prompt with conditional
logic for architecture.json presence/absence and a new
{module_catalog} placeholder
- Update agentic_sync.py to build module catalog from prompts/ dir
and pass it to the prompt template
- Update README.md, TUTORIALS.md, and faq.md with documentation
Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Serhan-Asad
added a commit
to Serhan-Asad/pdd
that referenced
this pull request
Mar 4, 2026
* feat: Expand agentic architecture orchestration to 13 steps by adding a data model design phase and update video narrations with corresponding Remotion composition duration adjustments. * chore: Update narration audio and adjust video durations for ColdOpen and Part1Economics sections. * feat: Update cloud batch CI scripts and configuration, including demo build artifacts. * feat: add initial user stories for the video editor PDD. * feat: Add new video editor specs and update UI components, orchestrator, and LLM prompt for video generation. * feat: Enhance agentic architecture Step 4 data model generation with output validation and prompt clarification, and update video editor cold open spec with visual assets and composition details. * fix: deep copy formatted_messages to prevent Groq structured output mutation corrupting fallback models (promptdriven#562) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * test: trim Groq mutation tests to 3 focused regressions in test_llm_invoke.py (promptdriven#562) Replace 770 lines across 2 standalone test files with 3 focused regression tests (~80 lines) in the existing test_llm_invoke.py, per PR promptdriven#591 review. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: pdd fix exits 'no changes to commit' when fix exists as unstaged changes Fixes promptdriven#539 * chore: update test durations and add detail to the video editor PDD narrative. * feat: Add new user stories for video editor features including Git integration, incremental rendering, speech-to-text annotation, asset staging, and video streaming. * feat: implement cost tracking with a dedicated dashboard, add data export functionality, and enhance job retry and annotation input methods. --------- Co-authored-by: Serhan <serhanasad2013@live.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable agentic sync (
pdd sync <issue-url>) to work on projects that do not have anarchitecture.jsonfile by scanning theprompts/directory for module prompt files and building a module catalog for the LLM to select from.Closes #538
Changes Made
Prompts Modified
pdd/prompts/agentic_sync_identify_modules_LLM.prompt— Added conditional logic so the LLM usesarchitecture.jsonwhen available, but falls back to a{module_catalog}(built fromprompts/directory scan) when it is not. Added<pdd-interface>metadata. Made dependency validation conditional (bypass when no architecture.json).Code Modified
pdd/agentic_sync.py— Added logic to scanprompts/directory for*_*.promptfiles (excluding*_LLM.prompt), build a module catalog string, and pass it to the prompt template via the new{module_catalog}placeholder.Documentation Updated
README.md— Addedpdd syncto the command listing and documented agentic mode behavior with/withoutarchitecture.jsondocs/TUTORIALS.md— Added "Method 5: Syncing Modules from a GitHub Issue" tutorial sectiondocs/faq.md— Added FAQ entry about usingpdd syncwithoutarchitecture.jsonReview Checklist
<pdd-reason>,<pdd-interface>tags)architecture.jsonis present*_LLM.promptfilesNext Steps After Merge
Created by pdd change workflow