docs(architecture): internal engine architecture diagram suite#18
Closed
anombyte93 wants to merge 2 commits into
Closed
docs(architecture): internal engine architecture diagram suite#18anombyte93 wants to merge 2 commits into
anombyte93 wants to merge 2 commits into
Conversation
Multi-level, mostly auto-derived map of the prd-taskmaster engine for internal understanding (not linked from the public README): - 00 system overview + 10/11/12 component breakouts (D2) - 20 function/class map, 30 import graph (no cycles), 31 call graph (auto-derived: pyreverse / code2flow / pydeps + AST) - 40 end-to-end runflow, 50-54 per-phase script-vs-LLM swimlanes, 60 parse-PRD sequence (Mermaid / D2) Okabe-Ito legend marks deterministic Python vs LLM/agent steps. Sources in src/, auto-derived text in generated/, rendered SVGs in rendered/ (PNGs gitignored — rebuild with gen.sh). gen.sh reproduces the whole suite end-to-end. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Owner
Author
|
Architecture-suite content already in main. Branch fully represented in main (git cherry +0). |
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.
What
Internal architecture diagram suite for the prd-taskmaster engine under
docs/architecture/— a multi-level, mostly auto-derived map of how the engine works, with a deliberate focus on what is deterministic Python vs what is an LLM/agent step. Not linked from the public README — it's for understanding/maintaining the engine.Why this targets
feat/engine-suggestion-tool(notmain)The suite documents modules that currently live only on this branch —
provider_resolver.py,cli_agent.py,setup_wizard.py,suggestions.py(tier resolver, keyless CLI-agent, setup wizard, suggestions). They're absent onmain, so the docs are accurate against this branch.Contents (14 diagrams)
00-system-overview(4 layers: LLM prompts → fail-closed MCP/CLI interface → deterministic core → external models)10deterministic-core ·11backend/provider (GENERATE crux) ·12detect/setup20function map (309 fns) + classes ·30import graph (28 modules / 78 imports, no cycles) ·31call graph40end-to-end runflow + per-phase swimlanes50–54+60parse-PRD sequenceTooling: D2 (architecture/breakouts), Mermaid (swimlanes/sequence), pyreverse / code2flow / pydeps (auto-derived, true-to-code). Okabe-Ito legend: hexagon = LLM step · rectangle = deterministic Python · oval = external model · diamond = gate.
Regenerate
./docs/architecture/gen.shreproduces the whole suite (verified end-to-end). Sources insrc/, auto-derived text ingenerated/, rendered SVGs inrendered/(PNGs gitignored — rebuild with gen.sh).🤖 Generated with Claude Code