Skip to content

docs(architecture): internal engine architecture diagram suite#18

Closed
anombyte93 wants to merge 2 commits into
feat/engine-suggestion-toolfrom
docs/architecture-suite
Closed

docs(architecture): internal engine architecture diagram suite#18
anombyte93 wants to merge 2 commits into
feat/engine-suggestion-toolfrom
docs/architecture-suite

Conversation

@anombyte93

Copy link
Copy Markdown
Owner

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 (not main)

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 on main, so the docs are accurate against this branch.

Contents (14 diagrams)

  • System00-system-overview (4 layers: LLM prompts → fail-closed MCP/CLI interface → deterministic core → external models)
  • Components10 deterministic-core · 11 backend/provider (GENERATE crux) · 12 detect/setup
  • Code20 function map (309 fns) + classes · 30 import graph (28 modules / 78 imports, no cycles) · 31 call graph
  • Script-vs-LLM40 end-to-end runflow + per-phase swimlanes 5054 + 60 parse-PRD sequence

Tooling: 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.sh reproduces the whole suite (verified end-to-end). Sources in src/, auto-derived text in generated/, rendered SVGs in rendered/ (PNGs gitignored — rebuild with gen.sh).

🤖 Generated with Claude Code

claude and others added 2 commits June 16, 2026 12:20
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>
@anombyte93

Copy link
Copy Markdown
Owner Author

Architecture-suite content already in main. Branch fully represented in main (git cherry +0).

@anombyte93 anombyte93 closed this Jun 17, 2026
@anombyte93 anombyte93 deleted the docs/architecture-suite branch June 17, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants