Skip to content

docs: add architecture diagram#145

Open
ekuris-redhat wants to merge 5 commits into
forge-sdlc:mainfrom
ekuris-redhat:docs/architecture-diagram
Open

docs: add architecture diagram#145
ekuris-redhat wants to merge 5 commits into
forge-sdlc:mainfrom
ekuris-redhat:docs/architecture-diagram

Conversation

@ekuris-redhat

@ekuris-redhat ekuris-redhat commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds docs/architecture.md with system overview diagram, ticket lifecycle flows, and data flow summary
  • Covers the full pipeline: webhooks → Redis queue → WorkflowRouter → LangGraph orchestrator → container execution → PR/CI/review
  • Shows Feature and Bug workflows as separate graphs with correct node names
  • Text-based diagrams verified against source code for accuracy

Test plan

  • Verify the diagram renders correctly in GitHub markdown preview
  • Confirm accuracy against the current codebase

🤖 Generated with Claude Code

ekuris-redhat and others added 3 commits July 14, 2026 10:02
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Verified against actual source code and corrected:
- Remove fictional CLASSIFY node (routing is done by WorkflowRouter)
- Show Feature and Bug as separate graphs with correct node names
- Fix Redis stream names (forge:events:jira, forge:events:github)
- Fix metrics endpoint path (/metrics, not /api/v1/metrics)
- Fix container task path (/task.json, not .forge/task.json)
- Add Gemini as a supported LLM backend
- Add missing nodes: local_review, update_documentation,
  setup/teardown_workspace, task_router, completion/aggregation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@StLuke StLuke left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My 2 cents: it's hard to distinguish where are things running from the architecture diagram. Deep agents are in external systems with JIRA and GitHub, while running locally.

Also LLM backends seems to be on the bottom of the diagram the end path of architecture, while you might want to get a response from them to interact with. (Might be good to set path between LLM backends and Podman container.

Just my 2 cents (I definitely didnt spend enough time in the repo to assess if I'm wrong here :)

- Remove Deep Agents from External Systems (it's a library, not a service)
- Show LLM Backends connected to both orchestrator and container
- Clarify Deep Agents runs inside Podman containers
- Add bidirectional LLM call arrows

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Comment thread docs/architecture.md Outdated
Comment thread docs/architecture.md Outdated
Comment thread docs/architecture.md Outdated
Comment thread docs/architecture.md Outdated
Co-authored-by: Lukas Svaty <StLuke@users.noreply.github.com>
Comment thread docs/architecture.md
│ │
│ Routes by Jira issue type: │
│ Feature/Story --> FeatureWorkflow (StateGraph) │
│ Bug --> BugWorkflow (StateGraph) │

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a task workflow now, so it should also be included

Comment thread docs/architecture.md
│ │ create_pr │ │ │ │
│ │ teardown_workspace │ └──────────────────────────────┘ │
│ │──────────────────────────────│ │
│ │ wait_for_ci_gate │ │

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait_for_ci_gate will likely be removed following the implementation of #137. The diagram will need updating following it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

give me an heads up once the PR 137 will be merged I will do the needed changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants