Skip to content

Claude/opencode architecture diagrams 4 ig0 j#7436

Closed
WonpangNew wants to merge 2 commits into
anomalyco:devfrom
WonpangNew:claude/opencode-architecture-diagrams-4IG0J
Closed

Claude/opencode architecture diagrams 4 ig0 j#7436
WonpangNew wants to merge 2 commits into
anomalyco:devfrom
WonpangNew:claude/opencode-architecture-diagrams-4IG0J

Conversation

@WonpangNew

Copy link
Copy Markdown

What does this PR do?

How did you verify your code works?

claude added 2 commits January 9, 2026 07:15
Add detailed architecture documentation with Mermaid diagrams covering:
- Overall architecture overview
- Core module relationships
- Agent Loop main flow
- Message processing sequence diagram
- Tool execution flow
- Permission system flow
- Message and Part type relationships
- Provider and Model architecture
- SubAgent (Task) execution flow
- Data flow overview

This documentation helps developers understand the OpenCode Agent Loop
architecture through visual diagrams and code file references.
Expand architecture documentation with:
- Plugin system architecture (loading, hooks, lifecycle)
- Tool exception handling flow (error types, state machine)
- LLM retry mechanism (retryable errors, backoff calculation)
- Doom Loop detection mechanism (repeated tool call prevention)

Also update file index to include new key files:
- session/retry.ts
- plugin/index.ts
- packages/plugin/src/index.ts
@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

Hey! Your PR title Claude/opencode architecture diagrams 4 ig0 j doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@WonpangNew WonpangNew closed this Jan 9, 2026
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.

2 participants