Executive summary
This large-scale asset, representing significant investment with a rebuild cost of approximately €110,000, currently operates at a weak overall standing of 46%. While the underlying code is robust and the architecture is sound, the system carries real business risk due to critical gaps in accessibility and maturity. The high confidence in this assessment means these findings are reliable and actionable, not speculative.
The most pressing issue is accessibility compliance, which sits at a dangerously low 30%. For a system of this size, this is not just a technical debt item but a legal and reputational liability. The current server-side rendering approach bypasses standard automated checks, leaving the team blind to user experience failures. Remediation here offers the highest leverage: fixing focus styles, respecting reduced-motion preferences, and improving color contrast can mitigate exposure without requiring a full rewrite. Ignoring this risks exclusion of users and potential regulatory penalties.
A secondary concern is operational maturity, rated at 44%. Although the code health and architecture are strong, the system lacks the documentation and testing rigor needed for a new team to maintain it safely. This creates a bottleneck where changes become slow and risky, increasing long-term maintenance costs. The low test-to-production code ratio further amplifies this, suggesting that regression bugs are more likely to slip through. Strengthening the toolchain to include accessibility checks in CI would address both maturity and compliance simultaneously.
What is genuinely good is the solid foundation of the codebase. The architecture is clean, and the domain modeling is excellent, meaning the core logic is stable and understandable. This strength provides a safe platform for targeted improvements. The best first step is to enforce accessibility standards in the development pipeline, ensuring that future changes do not degrade user experience. This focused effort protects the business value while leveraging the existing technical strength.
Raise Accessibility 30 → 70 (the Healthy floor) ⇒ headline 46 → ~58.
New since the last scan (25+)
- D4 · Members sharing a duplicated core (4 members, 50+ identical tokens) crates/forge_repo/src/provider/anthropic.rs
- D5 · Unstable project forge_api
- D5 · Unstable project forge_infra
- D5 · Unstable project forge_repo
- D5 · Off the main sequence: forge_display
- D5 · Off the main sequence: forge_json_repair
- D5 · Off the main sequence: forge_select
- D5 · Off the main sequence: forge_stream
- D5 · Off the main sequence: forge_walker
- D5 · Off the main sequence: forge_config
- D5 · Off the main sequence: forge_fs
- D5 · Off the main sequence: forge_eventsource_stream
- D6 · Low cohesion: Context (LCOM4 4) crates/forge_domain/src/context.rs
- D17 · TodoComment crates/forge_app/src/user_prompt.rs
- D22 · Duplicate intent: Both methods appear to retrieve the list of available tools. The naming convention differs ('get' vs 'list') and they reside in different service layers (API vs App), suggesting a lack of clear separation of concerns or a redundant wrapper.
- D22 · Duplicate intent: Both methods retrieve the list of available models. Similar to the tools issue, this duplication across API and App layers without clear distinction in signature or naming is inconsistent.
- D22 · Duplicate intent: Both methods retrieve all provider-specific models. The identical naming across different types suggests a copy-paste pattern or lack of abstraction, but the existence of both implies potential redundancy or unclear ownership.
- D22 · Inconsistent naming and signature for shell execution: The API exposes `execute_shell_command` and `execute_shell_command_raw`, while the underlying infrastructure exposes `execute_command` and `execute_command_raw`. The 'shell' prefix is inconsistent between layers. Additionally, the parameters differ significantly (API uses `working_dir` and no `env_vars` explicitly in the raw version, while Infra uses `env_vars` and `silent`), making the mapping unclear.
- D22 · Duplicate intent: Both methods retrieve agent information. The API layer duplicates the repository method without a clear differentiator in the signature (both return generic Result).
- D22 · Duplicate intent: Both methods resolve the provider for a given agent. The API layer duplicates the resolver's functionality.
- D22 · Inconsistent return types for similar operations: `API.get_agent_model` returns `ModelId` directly, while `AgentProviderResolver.get_model` returns `Result`. This inconsistency in error handling (one throws/panics on failure, the other returns a Result) is confusing for API consumers.
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- PF3 · Sync-over-async blocking benchmarks/evals/semantic_search_quality/llm_judge.ts
Rebuild cost & value ~ Modeled — €35,000–€180,000
| Cost to rebuild | €35,000–€180,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.7× (at 46% quality) |
| Size & shape | Large · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~0.7 person-years of build effort (about ~€110,000 to rebuild). Its weakest lens is Accessibility at 30% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency graph
Architecture — module dependency matrix
| depends on → | 1 forge_app.dto.anthropic.error | 2 forge_config.config | 3 forge_domain.auth.auth_method | 4 forge_domain.auth.new_types | 5 forge_domain.env | 6 forge_domain.mcp | 7 forge_domain.transformer | 8 forge_app.dto.google.response | 9 forge_domain.conversation | 10 forge_domain.node | 11 forge_domain.tools.definition.name | 12 forge_domain.auth.credentials | 13 forge_domain.event | 14 forge_domain.tools.catalog | 15 forge_domain.tools.call.tool_call | 16 forge_domain.tools.result | 17 forge_repo.conversation.conversation_record | 18 forge_domain.message | 19 forge_domain.model | 20 forge_app.dto.openai.request | 21 forge_domain.context | 22 forge_app.dto.anthropic.request | 23 forge_app.dto.anthropic.response | 24 forge_domain.auth.auth_context | 25 forge_domain.provider | 26 forge_main.info | 27 forge_app.infra | 28 forge_domain.agent | 29 forge_domain.repo | 30 forge_api.api | 31 forge_app.services | 32 forge_app.tool_registry | 33 forge_domain.hook | 34 forge_infra.forge_infra | 35 forge_main.ui | 36 forge_repo.forge_repo | 37 forge_api.forge_api | 38 forge_app.orch_spec.orch_setup | 39 forge_services.forge_services | 40 forge_app.orch_spec.orch_runner |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 forge_app.dto.anthropic.error | ||||||||||||||||||||||||||||||||||||||||
| 2 forge_config.config | ||||||||||||||||||||||||||||||||||||||||
| 3 forge_domain.auth.auth_method | ||||||||||||||||||||||||||||||||||||||||
| 4 forge_domain.auth.new_types | ||||||||||||||||||||||||||||||||||||||||
| 5 forge_domain.env | ||||||||||||||||||||||||||||||||||||||||
| 6 forge_domain.mcp | ||||||||||||||||||||||||||||||||||||||||
| 7 forge_domain.transformer | ||||||||||||||||||||||||||||||||||||||||
| 8 forge_app.dto.google.response | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 9 forge_domain.conversation | 1 | 3 | 1 | |||||||||||||||||||||||||||||||||||||
| 10 forge_domain.node | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 forge_domain.tools.definition.name | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 forge_domain.auth.credentials | 4 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 13 forge_domain.event | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 14 forge_domain.tools.catalog | 1 | 2 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 15 forge_domain.tools.call.tool_call | 3 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 16 forge_domain.tools.result | 1 | 1 | 1 | 2 | 3 | |||||||||||||||||||||||||||||||||||
| 17 forge_repo.conversation.conversation_record | 1 | 1 | 1 | 1 | 2 | 3 | 1 | 5 | 3 | 1 | ||||||||||||||||||||||||||||||
| 18 forge_domain.message | 2 | 1 | 1 | 1 | 1 | 7 | ||||||||||||||||||||||||||||||||||
| 19 forge_domain.model | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 forge_app.dto.openai.request | 1 | 2 | 1 | 1 | 2 | 5 | ||||||||||||||||||||||||||||||||||
| 21 forge_domain.context | 1 | 2 | 2 | 3 | 6 | 2 | 3 | 1 | 4 | 2 | ||||||||||||||||||||||||||||||
| 22 forge_app.dto.anthropic.request | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 23 forge_app.dto.anthropic.response | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 forge_domain.auth.auth_context | 8 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 25 forge_domain.provider | 1 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 26 forge_main.info | 1 | 2 | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||
| 27 forge_app.infra | 1 | 1 | 3 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||
| 28 forge_domain.agent | 1 | 1 | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 29 forge_domain.repo | 1 | 2 | 1 | 1 | 1 | 2 | ||||||||||||||||||||||||||||||||||
| 30 forge_api.api | 1 | 2 | 2 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||
| 31 forge_app.services | 1 | 1 | 2 | 2 | 1 | 1 | 3 | 1 | 1 | 1 | 1 | 1 | 4 | 1 | 1 | |||||||||||||||||||||||||
| 32 forge_app.tool_registry | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||
| 33 forge_domain.hook | 4 | 2 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 34 forge_infra.forge_infra | 1 | 1 | 1 | 2 | 1 | 1 | 14 | |||||||||||||||||||||||||||||||||
| 35 forge_main.ui | 1 | 1 | 1 | 3 | 2 | 1 | 1 | 1 | 3 | 4 | 1 | 1 | ||||||||||||||||||||||||||||
| 36 forge_repo.forge_repo | 1 | 2 | 2 | 1 | 2 | 1 | 1 | 1 | 2 | 16 | 9 | |||||||||||||||||||||||||||||
| 37 forge_api.forge_api | 1 | 1 | 2 | 2 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||
| 38 forge_app.orch_spec.orch_setup | 1 | 1 | 1 | 1 | 1 | 1 | 2 | 1 | 1 | |||||||||||||||||||||||||||||||
| 39 forge_services.forge_services | 2 | 1 | 28 | |||||||||||||||||||||||||||||||||||||
| 40 forge_app.orch_spec.orch_runner | 1 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 4 | 1 |
8→18 forge_app.dto.google.response depends on forge_domain.message cycle✕
- Type pairs
- 1 distinct (type in forge_app.dto.google.response → type in forge_domain.message) reference.
- Which types
forge_app.dto.google.response.response$module→forge_domain.message.FinishReason
- Direction
- forge_app.dto.google.response uses forge_domain.message. Changing forge_domain.message can break forge_app.dto.google.response, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
8→22 forge_app.dto.google.response depends on forge_app.dto.anthropic.request cycle✕
- Type pairs
- 1 distinct (type in forge_app.dto.google.response → type in forge_app.dto.anthropic.request) reference.
- Which types
forge_app.dto.google.response.Candidate→forge_app.dto.anthropic.request.Content
- Direction
- forge_app.dto.google.response uses forge_app.dto.anthropic.request. Changing forge_app.dto.anthropic.request can break forge_app.dto.google.response, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
8→23 forge_app.dto.google.response depends on forge_app.dto.anthropic.response cycle✕
- Type pairs
- 2 distinct (type in forge_app.dto.google.response → type in forge_app.dto.anthropic.response) references.
- Which types
forge_app.dto.google.response.Model→forge_app.dto.anthropic.response.Modelforge_app.dto.google.response.PingEvent→forge_app.dto.anthropic.response.StringOrF64
- Direction
- forge_app.dto.google.response uses forge_app.dto.anthropic.response. Changing forge_app.dto.anthropic.response can break forge_app.dto.google.response, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
9→17 forge_domain.conversation depends on forge_repo.conversation.conversation_record cycle✕
- Type pairs
- 1 distinct (type in forge_domain.conversation → type in forge_repo.conversation.conversation_record) reference.
- Which types
forge_domain.conversation.Conversation→forge_repo.conversation.conversation_record.ConversationRecord
- Direction
- forge_domain.conversation uses forge_repo.conversation.conversation_record. Changing forge_repo.conversation.conversation_record can break forge_domain.conversation, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
9→21 forge_domain.conversation depends on forge_domain.context cycle✕
- Type pairs
- 3 distinct (type in forge_domain.conversation → type in forge_domain.context) references.
- Which types
forge_domain.conversation.Conversation→forge_domain.context.Contextforge_domain.conversation.Conversation→forge_domain.context.ContextMessageforge_domain.conversation.Conversation→forge_domain.context.TokenCount
- Direction
- forge_domain.conversation uses forge_domain.context. Changing forge_domain.context can break forge_domain.conversation, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
9→23 forge_domain.conversation depends on forge_app.dto.anthropic.response cycle✕
- Type pairs
- 1 distinct (type in forge_domain.conversation → type in forge_app.dto.anthropic.response) reference.
- Which types
forge_domain.conversation.Conversation→forge_app.dto.anthropic.response.Usage
- Direction
- forge_domain.conversation uses forge_app.dto.anthropic.response. Changing forge_app.dto.anthropic.response can break forge_domain.conversation, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
10→4 forge_domain.node depends on forge_domain.auth.new_types✕
- Type pairs
- 1 distinct (type in forge_domain.node → type in forge_domain.auth.new_types) reference.
- Which types
forge_domain.node.WorkspaceAuth→forge_domain.auth.new_types.ApiKey
- Direction
- forge_domain.node uses forge_domain.auth.new_types. Changing forge_domain.auth.new_types can break forge_domain.node, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→17 forge_domain.tools.definition.name depends on forge_repo.conversation.conversation_record cycle✕
- Type pairs
- 1 distinct (type in forge_domain.tools.definition.name → type in forge_repo.conversation.conversation_record) reference.
- Which types
forge_domain.tools.definition.name.ToolName→forge_repo.conversation.conversation_record.ToolNameRecord
- Direction
- forge_domain.tools.definition.name uses forge_repo.conversation.conversation_record. Changing forge_repo.conversation.conversation_record can break forge_domain.tools.definition.name, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
12→4 forge_domain.auth.credentials depends on forge_domain.auth.new_types✕
- Type pairs
- 4 distinct (type in forge_domain.auth.credentials → type in forge_domain.auth.new_types) references.
- Which types
forge_domain.auth.credentials.AuthCredential→forge_domain.auth.new_types.ApiKeyforge_domain.auth.credentials.AuthDetails→forge_domain.auth.new_types.ApiKeyforge_domain.auth.credentials.OAuthTokens→forge_domain.auth.new_types.AccessTokenforge_domain.auth.credentials.OAuthTokens→forge_domain.auth.new_types.RefreshToken
- Direction
- forge_domain.auth.credentials uses forge_domain.auth.new_types. Changing forge_domain.auth.new_types can break forge_domain.auth.credentials, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→10 forge_domain.auth.credentials depends on forge_domain.node✕
- Type pairs
- 1 distinct (type in forge_domain.auth.credentials → type in forge_domain.node) reference.
- Which types
forge_domain.auth.credentials.AuthDetails→forge_domain.node.WorkspaceAuth
- Direction
- forge_domain.auth.credentials uses forge_domain.node. Changing forge_domain.node can break forge_domain.auth.credentials, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→25 forge_domain.auth.credentials depends on forge_domain.provider cycle✕
- Type pairs
- 1 distinct (type in forge_domain.auth.credentials → type in forge_domain.provider) reference.
- Which types
forge_domain.auth.credentials.AuthCredential→forge_domain.provider.ProviderId
- Direction
- forge_domain.auth.credentials uses forge_domain.provider. Changing forge_domain.provider can break forge_domain.auth.credentials, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
13→11 forge_domain.event depends on forge_domain.tools.definition.name✕
- Type pairs
- 2 distinct (type in forge_domain.event → type in forge_domain.tools.definition.name) references.
- Which types
forge_domain.event.Event→forge_domain.tools.definition.name.NamedToolforge_domain.event.Event→forge_domain.tools.definition.name.ToolName
- Direction
- forge_domain.event uses forge_domain.tools.definition.name. Changing forge_domain.tools.definition.name can break forge_domain.event, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→17 forge_domain.event depends on forge_repo.conversation.conversation_record cycle✕
- Type pairs
- 1 distinct (type in forge_domain.event → type in forge_repo.conversation.conversation_record) reference.
- Which types
forge_domain.event.EventValue→forge_repo.conversation.conversation_record.EventValueRecord
- Direction
- forge_domain.event uses forge_repo.conversation.conversation_record. Changing forge_repo.conversation.conversation_record can break forge_domain.event, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
14→5 forge_domain.tools.catalog depends on forge_domain.env✕
- Type pairs
- 1 distinct (type in forge_domain.tools.catalog → type in forge_domain.env) reference.
- Which types
forge_domain.tools.catalog.ToolCatalog→forge_domain.env.Environment
- Direction
- forge_domain.tools.catalog uses forge_domain.env. Changing forge_domain.env can break forge_domain.tools.catalog, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→11 forge_domain.tools.catalog depends on forge_domain.tools.definition.name✕
- Type pairs
- 2 distinct (type in forge_domain.tools.catalog → type in forge_domain.tools.definition.name) references.
- Which types
forge_domain.tools.catalog.ToolCatalog→forge_domain.tools.definition.name.ToolNameforge_domain.tools.catalog.catalog$module→forge_domain.tools.definition.name.ToolName
- Direction
- forge_domain.tools.catalog uses forge_domain.tools.definition.name. Changing forge_domain.tools.definition.name can break forge_domain.tools.catalog, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→15 forge_domain.tools.catalog depends on forge_domain.tools.call.tool_call cycle✕
- Type pairs
- 2 distinct (type in forge_domain.tools.catalog → type in forge_domain.tools.call.tool_call) references.
- Which types
forge_domain.tools.catalog.AgentInput→forge_domain.tools.call.tool_call.ToolCallFullforge_domain.tools.catalog.ToolCatalog→forge_domain.tools.call.tool_call.ToolCallFull
- Direction
- forge_domain.tools.catalog uses forge_domain.tools.call.tool_call. Changing forge_domain.tools.call.tool_call can break forge_domain.tools.catalog, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
14→22 forge_domain.tools.catalog depends on forge_app.dto.anthropic.request cycle✕
- Type pairs
- 1 distinct (type in forge_domain.tools.catalog → type in forge_app.dto.anthropic.request) reference.
- Which types
forge_domain.tools.catalog.ToolCatalog→forge_app.dto.anthropic.request.ToolDefinition
- Direction
- forge_domain.tools.catalog uses forge_app.dto.anthropic.request. Changing forge_app.dto.anthropic.request can break forge_domain.tools.catalog, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
15→11 forge_domain.tools.call.tool_call depends on forge_domain.tools.definition.name✕
- Type pairs
- 3 distinct (type in forge_domain.tools.call.tool_call → type in forge_domain.tools.definition.name) references.
- Which types
forge_domain.tools.call.tool_call.ToolCallFull→forge_domain.tools.definition.name.ToolNameforge_domain.tools.call.tool_call.ToolCallPart→forge_domain.tools.definition.name.ToolNameforge_domain.tools.call.tool_call.ToolErrorTracker→forge_domain.tools.definition.name.ToolName
- Direction
- forge_domain.tools.call.tool_call uses forge_domain.tools.definition.name. Changing forge_domain.tools.definition.name can break forge_domain.tools.call.tool_call, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→14 forge_domain.tools.call.tool_call depends on forge_domain.tools.catalog✕
- Type pairs
- 1 distinct (type in forge_domain.tools.call.tool_call → type in forge_domain.tools.catalog) reference.
- Which types
forge_domain.tools.call.tool_call.ToolCallFull→forge_domain.tools.catalog.ToolCatalog
- Direction
- forge_domain.tools.call.tool_call uses forge_domain.tools.catalog. Changing forge_domain.tools.catalog can break forge_domain.tools.call.tool_call, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→17 forge_domain.tools.call.tool_call depends on forge_repo.conversation.conversation_record cycle✕
- Type pairs
- 2 distinct (type in forge_domain.tools.call.tool_call → type in forge_repo.conversation.conversation_record) references.
- Which types
forge_domain.tools.call.tool_call.ToolCallFull→forge_repo.conversation.conversation_record.ToolCallFullRecordforge_domain.tools.call.tool_call.ToolCallId→forge_repo.conversation.conversation_record.ToolCallIdRecord
- Direction
- forge_domain.tools.call.tool_call uses forge_repo.conversation.conversation_record. Changing forge_repo.conversation.conversation_record can break forge_domain.tools.call.tool_call, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
16→1 forge_domain.tools.result depends on forge_app.dto.anthropic.error✕
- Type pairs
- 1 distinct (type in forge_domain.tools.result → type in forge_app.dto.anthropic.error) reference.
- Which types
forge_domain.tools.result.ToolResult→forge_app.dto.anthropic.error.Error
- Direction
- forge_domain.tools.result uses forge_app.dto.anthropic.error. Changing forge_app.dto.anthropic.error can break forge_domain.tools.result, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→9 forge_domain.tools.result depends on forge_domain.conversation✕
- Type pairs
- 1 distinct (type in forge_domain.tools.result → type in forge_domain.conversation) reference.
- Which types
forge_domain.tools.result.ToolOutput→forge_domain.conversation.ConversationId
- Direction
- forge_domain.tools.result uses forge_domain.conversation. Changing forge_domain.conversation can break forge_domain.tools.result, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→11 forge_domain.tools.result depends on forge_domain.tools.definition.name✕
- Type pairs
- 1 distinct (type in forge_domain.tools.result → type in forge_domain.tools.definition.name) reference.
- Which types
forge_domain.tools.result.ToolResult→forge_domain.tools.definition.name.ToolName
- Direction
- forge_domain.tools.result uses forge_domain.tools.definition.name. Changing forge_domain.tools.definition.name can break forge_domain.tools.result, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→15 forge_domain.tools.result depends on forge_domain.tools.call.tool_call✕
- Type pairs
- 2 distinct (type in forge_domain.tools.result → type in forge_domain.tools.call.tool_call) references.
- Which types
forge_domain.tools.result.ToolResult→forge_domain.tools.call.tool_call.ToolCallFullforge_domain.tools.result.ToolResult→forge_domain.tools.call.tool_call.ToolCallId
- Direction
- forge_domain.tools.result uses forge_domain.tools.call.tool_call. Changing forge_domain.tools.call.tool_call can break forge_domain.tools.result, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→17 forge_domain.tools.result depends on forge_repo.conversation.conversation_record cycle✕
- Type pairs
- 3 distinct (type in forge_domain.tools.result → type in forge_repo.conversation.conversation_record) references.
- Which types
forge_domain.tools.result.ToolOutput→forge_repo.conversation.conversation_record.ToolOutputRecordforge_domain.tools.result.ToolResult→forge_repo.conversation.conversation_record.ToolResultRecordforge_domain.tools.result.ToolValue→forge_repo.conversation.conversation_record.ToolValueRecord
- Direction
- forge_domain.tools.result uses forge_repo.conversation.conversation_record. Changing forge_repo.conversation.conversation_record can break forge_domain.tools.result, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
17→5 forge_repo.conversation.conversation_record depends on forge_domain.env✕
- Type pairs
- 1 distinct (type in forge_repo.conversation.conversation_record → type in forge_domain.env) reference.
- Which types
forge_repo.conversation.conversation_record.ConversationRecord→forge_domain.env.WorkspaceHash
- Direction
- forge_repo.conversation.conversation_record uses forge_domain.env. Changing forge_domain.env can break forge_repo.conversation.conversation_record, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→9 forge_repo.conversation.conversation_record depends on forge_domain.conversation✕
- Type pairs
- 1 distinct (type in forge_repo.conversation.conversation_record → type in forge_domain.conversation) reference.
- Which types
forge_repo.conversation.conversation_record.ConversationRecord→forge_domain.conversation.Conversation
- Direction
- forge_repo.conversation.conversation_record uses forge_domain.conversation. Changing forge_domain.conversation can break forge_repo.conversation.conversation_record, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→11 forge_repo.conversation.conversation_record depends on forge_domain.tools.definition.name✕
- Type pairs
- 1 distinct (type in forge_repo.conversation.conversation_record → type in forge_domain.tools.definition.name) reference.
- Which types
forge_repo.conversation.conversation_record.ToolNameRecord→forge_domain.tools.definition.name.ToolName
- Direction
- forge_repo.conversation.conversation_record uses forge_domain.tools.definition.name. Changing forge_domain.tools.definition.name can break forge_repo.conversation.conversation_record, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→13 forge_repo.conversation.conversation_record depends on forge_domain.event✕
- Type pairs
- 1 distinct (type in forge_repo.conversation.conversation_record → type in forge_domain.event) reference.
- Which types
forge_repo.conversation.conversation_record.EventValueRecord→forge_domain.event.EventValue
- Direction
- forge_repo.conversation.conversation_record uses forge_domain.event. Changing forge_domain.event can break forge_repo.conversation.conversation_record, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→15 forge_repo.conversation.conversation_record depends on forge_domain.tools.call.tool_call✕
- Type pairs
- 2 distinct (type in forge_repo.conversation.conversation_record → type in forge_domain.tools.call.tool_call) references.
- Which types
forge_repo.conversation.conversation_record.ToolCallFullRecord→forge_domain.tools.call.tool_call.ToolCallFullforge_repo.conversation.conversation_record.ToolCallIdRecord→forge_domain.tools.call.tool_call.ToolCallId
- Direction
- forge_repo.conversation.conversation_record uses forge_domain.tools.call.tool_call. Changing forge_domain.tools.call.tool_call can break forge_repo.conversation.conversation_record, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→16 forge_repo.conversation.conversation_record depends on forge_domain.tools.result✕
- Type pairs
- 3 distinct (type in forge_repo.conversation.conversation_record → type in forge_domain.tools.result) references.
- Which types
forge_repo.conversation.conversation_record.ToolOutputRecord→forge_domain.tools.result.ToolOutputforge_repo.conversation.conversation_record.ToolResultRecord→forge_domain.tools.result.ToolResultforge_repo.conversation.conversation_record.ToolValueRecord→forge_domain.tools.result.ToolValue
- Direction
- forge_repo.conversation.conversation_record uses forge_domain.tools.result. Changing forge_domain.tools.result can break forge_repo.conversation.conversation_record, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→19 forge_repo.conversation.conversation_record depends on forge_domain.model cycle✕
- Type pairs
- 1 distinct (type in forge_repo.conversation.conversation_record → type in forge_domain.model) reference.
- Which types
forge_repo.conversation.conversation_record.ModelIdRecord→forge_domain.model.ModelId
- Direction
- forge_repo.conversation.conversation_record uses forge_domain.model. Changing forge_domain.model can break forge_repo.conversation.conversation_record, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
17→21 forge_repo.conversation.conversation_record depends on forge_domain.context cycle✕
- Type pairs
- 5 distinct (type in forge_repo.conversation.conversation_record → type in forge_domain.context) references.
- Which types
forge_repo.conversation.conversation_record.ContextMessageRecord→forge_domain.context.MessageEntryforge_repo.conversation.conversation_record.ContextMessageValueRecord→forge_domain.context.ContextMessageforge_repo.conversation.conversation_record.ContextRecord→forge_domain.context.Contextforge_repo.conversation.conversation_record.TextMessageRecord→forge_domain.context.TextMessageforge_repo.conversation.conversation_record.TokenCountRecord→forge_domain.context.TokenCount
- Direction
- forge_repo.conversation.conversation_record uses forge_domain.context. Changing forge_domain.context can break forge_repo.conversation.conversation_record, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
17→22 forge_repo.conversation.conversation_record depends on forge_app.dto.anthropic.request cycle✕
- Type pairs
- 3 distinct (type in forge_repo.conversation.conversation_record → type in forge_app.dto.anthropic.request) references.
- Which types
forge_repo.conversation.conversation_record.RoleRecord→forge_app.dto.anthropic.request.Roleforge_repo.conversation.conversation_record.ToolChoiceRecord→forge_app.dto.anthropic.request.ToolChoiceforge_repo.conversation.conversation_record.ToolDefinitionRecord→forge_app.dto.anthropic.request.ToolDefinition
- Direction
- forge_repo.conversation.conversation_record uses forge_app.dto.anthropic.request. Changing forge_app.dto.anthropic.request can break forge_repo.conversation.conversation_record, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
17→23 forge_repo.conversation.conversation_record depends on forge_app.dto.anthropic.response cycle✕
- Type pairs
- 1 distinct (type in forge_repo.conversation.conversation_record → type in forge_app.dto.anthropic.response) reference.
- Which types
forge_repo.conversation.conversation_record.UsageRecord→forge_app.dto.anthropic.response.Usage
- Direction
- forge_repo.conversation.conversation_record uses forge_app.dto.anthropic.response. Changing forge_app.dto.anthropic.response can break forge_repo.conversation.conversation_record, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
18→8 forge_domain.message depends on forge_app.dto.google.response✕
- Type pairs
- 2 distinct (type in forge_domain.message → type in forge_app.dto.google.response) references.
- Which types
forge_domain.message.ChatCompletionMessage→forge_app.dto.google.response.Candidateforge_domain.message.ChatCompletionMessage→forge_app.dto.google.response.Response
- Direction
- forge_domain.message uses forge_app.dto.google.response. Changing forge_app.dto.google.response can break forge_domain.message, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→15 forge_domain.message depends on forge_domain.tools.call.tool_call✕
- Type pairs
- 1 distinct (type in forge_domain.message → type in forge_domain.tools.call.tool_call) reference.
- Which types
forge_domain.message.ChatCompletionMessageFull→forge_domain.tools.call.tool_call.ToolCallFull
- Direction
- forge_domain.message uses forge_domain.tools.call.tool_call. Changing forge_domain.tools.call.tool_call can break forge_domain.message, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→17 forge_domain.message depends on forge_repo.conversation.conversation_record✕
- Type pairs
- 1 distinct (type in forge_domain.message → type in forge_repo.conversation.conversation_record) reference.
- Which types
forge_domain.message.Usage→forge_repo.conversation.conversation_record.UsageRecord
- Direction
- forge_domain.message uses forge_repo.conversation.conversation_record. Changing forge_repo.conversation.conversation_record can break forge_domain.message, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→21 forge_domain.message depends on forge_domain.context cycle✕
- Type pairs
- 1 distinct (type in forge_domain.message → type in forge_domain.context) reference.
- Which types
forge_domain.message.Usage→forge_domain.context.TokenCount
- Direction
- forge_domain.message uses forge_domain.context. Changing forge_domain.context can break forge_domain.message, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
18→22 forge_domain.message depends on forge_app.dto.anthropic.request cycle✕
- Type pairs
- 1 distinct (type in forge_domain.message → type in forge_app.dto.anthropic.request) reference.
- Which types
forge_domain.message.ChatCompletionMessage→forge_app.dto.anthropic.request.Content
- Direction
- forge_domain.message uses forge_app.dto.anthropic.request. Changing forge_app.dto.anthropic.request can break forge_domain.message, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
18→23 forge_domain.message depends on forge_app.dto.anthropic.response cycle✕
- Type pairs
- 7 distinct (type in forge_domain.message → type in forge_app.dto.anthropic.response) references.
- Which types
forge_domain.message.ChatCompletionMessage→forge_app.dto.anthropic.response.ContentBlockforge_domain.message.ChatCompletionMessage→forge_app.dto.anthropic.response.Eventforge_domain.message.ChatCompletionMessage→forge_app.dto.anthropic.response.EventDataforge_domain.message.ChatCompletionMessage→forge_app.dto.anthropic.response.Usageforge_domain.message.ChatCompletionMessageFull→forge_app.dto.anthropic.response.Usageforge_domain.message.FinishReason→forge_app.dto.anthropic.response.StopReasonforge_domain.message.Usage→forge_app.dto.anthropic.response.Usage
- Direction
- forge_domain.message uses forge_app.dto.anthropic.response. Changing forge_app.dto.anthropic.response can break forge_domain.message, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
19→17 forge_domain.model depends on forge_repo.conversation.conversation_record✕
- Type pairs
- 1 distinct (type in forge_domain.model → type in forge_repo.conversation.conversation_record) reference.
- Which types
forge_domain.model.ModelId→forge_repo.conversation.conversation_record.ModelIdRecord
- Direction
- forge_domain.model uses forge_repo.conversation.conversation_record. Changing forge_repo.conversation.conversation_record can break forge_domain.model, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→11 forge_app.dto.openai.request depends on forge_domain.tools.definition.name✕
- Type pairs
- 1 distinct (type in forge_app.dto.openai.request → type in forge_domain.tools.definition.name) reference.
- Which types
forge_app.dto.openai.request.Message→forge_domain.tools.definition.name.ToolName
- Direction
- forge_app.dto.openai.request uses forge_domain.tools.definition.name. Changing forge_domain.tools.definition.name can break forge_app.dto.openai.request, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→15 forge_app.dto.openai.request depends on forge_domain.tools.call.tool_call✕
- Type pairs
- 2 distinct (type in forge_app.dto.openai.request → type in forge_domain.tools.call.tool_call) references.
- Which types
forge_app.dto.openai.request.Message→forge_domain.tools.call.tool_call.ToolCallIdforge_app.dto.openai.request.request$module→forge_domain.tools.call.tool_call.ToolCallFull
- Direction
- forge_app.dto.openai.request uses forge_domain.tools.call.tool_call. Changing forge_domain.tools.call.tool_call can break forge_app.dto.openai.request, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→16 forge_app.dto.openai.request depends on forge_domain.tools.result✕
- Type pairs
- 1 distinct (type in forge_app.dto.openai.request → type in forge_domain.tools.result) reference.
- Which types
forge_app.dto.openai.request.MessageContent→forge_domain.tools.result.ToolResult
- Direction
- forge_app.dto.openai.request uses forge_domain.tools.result. Changing forge_domain.tools.result can break forge_app.dto.openai.request, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→19 forge_app.dto.openai.request depends on forge_domain.model✕
- Type pairs
- 1 distinct (type in forge_app.dto.openai.request → type in forge_domain.model) reference.
- Which types
forge_app.dto.openai.request.Request→forge_domain.model.ModelId
- Direction
- forge_app.dto.openai.request uses forge_domain.model. Changing forge_domain.model can break forge_app.dto.openai.request, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→21 forge_app.dto.openai.request depends on forge_domain.context cycle✕
- Type pairs
- 2 distinct (type in forge_app.dto.openai.request → type in forge_domain.context) references.
- Which types
forge_app.dto.openai.request.Message→forge_domain.context.ContextMessageforge_app.dto.openai.request.Request→forge_domain.context.Context
- Direction
- forge_app.dto.openai.request uses forge_domain.context. Changing forge_domain.context can break forge_app.dto.openai.request, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
20→22 forge_app.dto.openai.request depends on forge_app.dto.anthropic.request cycle✕
- Type pairs
- 5 distinct (type in forge_app.dto.openai.request → type in forge_app.dto.anthropic.request) references.
- Which types
forge_app.dto.openai.request.Message→forge_app.dto.anthropic.request.Roleforge_app.dto.openai.request.Request→forge_app.dto.anthropic.request.Messageforge_app.dto.openai.request.Request→forge_app.dto.anthropic.request.ToolChoiceforge_app.dto.openai.request.Role→forge_app.dto.anthropic.request.Roleforge_app.dto.openai.request.Tool→forge_app.dto.anthropic.request.ToolDefinition
- Direction
- forge_app.dto.openai.request uses forge_app.dto.anthropic.request. Changing forge_app.dto.anthropic.request can break forge_app.dto.openai.request, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
21→9 forge_domain.context depends on forge_domain.conversation✕
- Type pairs
- 1 distinct (type in forge_domain.context → type in forge_domain.conversation) reference.
- Which types
forge_domain.context.Context→forge_domain.conversation.ConversationId
- Direction
- forge_domain.context uses forge_domain.conversation. Changing forge_domain.conversation can break forge_domain.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→13 forge_domain.context depends on forge_domain.event✕
- Type pairs
- 2 distinct (type in forge_domain.context → type in forge_domain.event) references.
- Which types
forge_domain.context.ContextMessage→forge_domain.event.EventValueforge_domain.context.TextMessage→forge_domain.event.EventValue
- Direction
- forge_domain.context uses forge_domain.event. Changing forge_domain.event can break forge_domain.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→15 forge_domain.context depends on forge_domain.tools.call.tool_call✕
- Type pairs
- 2 distinct (type in forge_domain.context → type in forge_domain.tools.call.tool_call) references.
- Which types
forge_domain.context.ContextMessage→forge_domain.tools.call.tool_call.ToolCallFullforge_domain.context.TextMessage→forge_domain.tools.call.tool_call.ToolCallFull
- Direction
- forge_domain.context uses forge_domain.tools.call.tool_call. Changing forge_domain.tools.call.tool_call can break forge_domain.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→16 forge_domain.context depends on forge_domain.tools.result✕
- Type pairs
- 3 distinct (type in forge_domain.context → type in forge_domain.tools.result) references.
- Which types
forge_domain.context.Context→forge_domain.tools.result.ToolResultforge_domain.context.ContextMessage→forge_domain.tools.result.ToolResultforge_domain.context.context$module→forge_domain.tools.result.ToolOutput
- Direction
- forge_domain.context uses forge_domain.tools.result. Changing forge_domain.tools.result can break forge_domain.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→17 forge_domain.context depends on forge_repo.conversation.conversation_record✕
- Type pairs
- 6 distinct (type in forge_domain.context → type in forge_repo.conversation.conversation_record) references.
- Which types
forge_domain.context.Context→forge_repo.conversation.conversation_record.ContextRecordforge_domain.context.ContextMessage→forge_repo.conversation.conversation_record.ContextMessageValueRecordforge_domain.context.MessageEntry→forge_repo.conversation.conversation_record.ContextMessageRecordforge_domain.context.Role→forge_repo.conversation.conversation_record.RoleRecordforge_domain.context.TextMessage→forge_repo.conversation.conversation_record.TextMessageRecordforge_domain.context.TokenCount→forge_repo.conversation.conversation_record.TokenCountRecord
- Direction
- forge_domain.context uses forge_repo.conversation.conversation_record. Changing forge_repo.conversation.conversation_record can break forge_domain.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→18 forge_domain.context depends on forge_domain.message✕
- Type pairs
- 2 distinct (type in forge_domain.context → type in forge_domain.message) references.
- Which types
forge_domain.context.Context→forge_domain.message.MessagePhaseforge_domain.context.TextMessage→forge_domain.message.MessagePhase
- Direction
- forge_domain.context uses forge_domain.message. Changing forge_domain.message can break forge_domain.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→19 forge_domain.context depends on forge_domain.model✕
- Type pairs
- 3 distinct (type in forge_domain.context → type in forge_domain.model) references.
- Which types
forge_domain.context.Context→forge_domain.model.ModelIdforge_domain.context.ContextMessage→forge_domain.model.ModelIdforge_domain.context.TextMessage→forge_domain.model.ModelId
- Direction
- forge_domain.context uses forge_domain.model. Changing forge_domain.model can break forge_domain.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→20 forge_domain.context depends on forge_app.dto.openai.request✕
- Type pairs
- 1 distinct (type in forge_domain.context → type in forge_app.dto.openai.request) reference.
- Which types
forge_domain.context.Context→forge_app.dto.openai.request.ResponseFormat
- Direction
- forge_domain.context uses forge_app.dto.openai.request. Changing forge_app.dto.openai.request can break forge_domain.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→22 forge_domain.context depends on forge_app.dto.anthropic.request cycle✕
- Type pairs
- 4 distinct (type in forge_domain.context → type in forge_app.dto.anthropic.request) references.
- Which types
forge_domain.context.Context→forge_app.dto.anthropic.request.ToolChoiceforge_domain.context.Context→forge_app.dto.anthropic.request.ToolDefinitionforge_domain.context.ContextMessage→forge_app.dto.anthropic.request.Roleforge_domain.context.TextMessage→forge_app.dto.anthropic.request.Role
- Direction
- forge_domain.context uses forge_app.dto.anthropic.request. Changing forge_app.dto.anthropic.request can break forge_domain.context, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
21→23 forge_domain.context depends on forge_app.dto.anthropic.response cycle✕
- Type pairs
- 2 distinct (type in forge_domain.context → type in forge_app.dto.anthropic.response) references.
- Which types
forge_domain.context.Context→forge_app.dto.anthropic.response.Usageforge_domain.context.MessageEntry→forge_app.dto.anthropic.response.Usage
- Direction
- forge_domain.context uses forge_app.dto.anthropic.response. Changing forge_app.dto.anthropic.response can break forge_domain.context, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
22→15 forge_app.dto.anthropic.request depends on forge_domain.tools.call.tool_call✕
- Type pairs
- 1 distinct (type in forge_app.dto.anthropic.request → type in forge_domain.tools.call.tool_call) reference.
- Which types
forge_app.dto.anthropic.request.Content→forge_domain.tools.call.tool_call.ToolCallFull
- Direction
- forge_app.dto.anthropic.request uses forge_domain.tools.call.tool_call. Changing forge_domain.tools.call.tool_call can break forge_app.dto.anthropic.request, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→16 forge_app.dto.anthropic.request depends on forge_domain.tools.result✕
- Type pairs
- 1 distinct (type in forge_app.dto.anthropic.request → type in forge_domain.tools.result) reference.
- Which types
forge_app.dto.anthropic.request.Content→forge_domain.tools.result.ToolResult
- Direction
- forge_app.dto.anthropic.request uses forge_domain.tools.result. Changing forge_domain.tools.result can break forge_app.dto.anthropic.request, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→21 forge_app.dto.anthropic.request depends on forge_domain.context✕
- Type pairs
- 2 distinct (type in forge_app.dto.anthropic.request → type in forge_domain.context) references.
- Which types
forge_app.dto.anthropic.request.Message→forge_domain.context.ContextMessageforge_app.dto.anthropic.request.Request→forge_domain.context.Context
- Direction
- forge_app.dto.anthropic.request uses forge_domain.context. Changing forge_domain.context can break forge_app.dto.anthropic.request, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→8 forge_app.dto.anthropic.response depends on forge_app.dto.google.response✕
- Type pairs
- 1 distinct (type in forge_app.dto.anthropic.response → type in forge_app.dto.google.response) reference.
- Which types
forge_app.dto.anthropic.response.Usage→forge_app.dto.google.response.UsageMetadata
- Direction
- forge_app.dto.anthropic.response uses forge_app.dto.google.response. Changing forge_app.dto.google.response can break forge_app.dto.anthropic.response, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→22 forge_app.dto.anthropic.response depends on forge_app.dto.anthropic.request✕
- Type pairs
- 1 distinct (type in forge_app.dto.anthropic.response → type in forge_app.dto.anthropic.request) reference.
- Which types
forge_app.dto.anthropic.response.MessageStart→forge_app.dto.anthropic.request.Role
- Direction
- forge_app.dto.anthropic.response uses forge_app.dto.anthropic.request. Changing forge_app.dto.anthropic.request can break forge_app.dto.anthropic.response, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→4 forge_domain.auth.auth_context depends on forge_domain.auth.new_types✕
- Type pairs
- 8 distinct (type in forge_domain.auth.auth_context → type in forge_domain.auth.new_types) references.
- Which types
forge_domain.auth.auth_context.ApiKeyRequest→forge_domain.auth.new_types.ApiKeyforge_domain.auth.auth_context.ApiKeyRequest→forge_domain.auth.new_types.URLParamSpecforge_domain.auth.auth_context.ApiKeyResponse→forge_domain.auth.new_types.ApiKeyforge_domain.auth.auth_context.CodeRequest→forge_domain.auth.new_types.PkceVerifierforge_domain.auth.auth_context.CodeRequest→forge_domain.auth.new_types.Stateforge_domain.auth.auth_context.CodeResponse→forge_domain.auth.new_types.AuthorizationCodeforge_domain.auth.auth_context.DeviceCodeRequest→forge_domain.auth.new_types.DeviceCodeforge_domain.auth.auth_context.DeviceCodeRequest→forge_domain.auth.new_types.UserCode
- Direction
- forge_domain.auth.auth_context uses forge_domain.auth.new_types. Changing forge_domain.auth.new_types can break forge_domain.auth.auth_context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→8 forge_domain.auth.auth_context depends on forge_app.dto.google.response✕
- Type pairs
- 1 distinct (type in forge_domain.auth.auth_context → type in forge_app.dto.google.response) reference.
- Which types
forge_domain.auth.auth_context.AuthContext→forge_app.dto.google.response.Response
- Direction
- forge_domain.auth.auth_context uses forge_app.dto.google.response. Changing forge_app.dto.google.response can break forge_domain.auth.auth_context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→22 forge_domain.auth.auth_context depends on forge_app.dto.anthropic.request✕
- Type pairs
- 1 distinct (type in forge_domain.auth.auth_context → type in forge_app.dto.anthropic.request) reference.
- Which types
forge_domain.auth.auth_context.AuthContext→forge_app.dto.anthropic.request.Request
- Direction
- forge_domain.auth.auth_context uses forge_app.dto.anthropic.request. Changing forge_app.dto.anthropic.request can break forge_domain.auth.auth_context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→3 forge_domain.provider depends on forge_domain.auth.auth_method✕
- Type pairs
- 1 distinct (type in forge_domain.provider → type in forge_domain.auth.auth_method) reference.
- Which types
forge_domain.provider.Provider→forge_domain.auth.auth_method.AuthMethod
- Direction
- forge_domain.provider uses forge_domain.auth.auth_method. Changing forge_domain.auth.auth_method can break forge_domain.provider, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→4 forge_domain.provider depends on forge_domain.auth.new_types✕
- Type pairs
- 2 distinct (type in forge_domain.provider → type in forge_domain.auth.new_types) references.
- Which types
forge_domain.provider.Provider→forge_domain.auth.new_types.ApiKeyforge_domain.provider.Provider→forge_domain.auth.new_types.URLParamSpec
- Direction
- forge_domain.provider uses forge_domain.auth.new_types. Changing forge_domain.auth.new_types can break forge_domain.provider, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→12 forge_domain.provider depends on forge_domain.auth.credentials✕
- Type pairs
- 1 distinct (type in forge_domain.provider → type in forge_domain.auth.credentials) reference.
- Which types
forge_domain.provider.Provider→forge_domain.auth.credentials.AuthCredential
- Direction
- forge_domain.provider uses forge_domain.auth.credentials. Changing forge_domain.auth.credentials can break forge_domain.provider, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→23 forge_domain.provider depends on forge_app.dto.anthropic.response✕
- Type pairs
- 1 distinct (type in forge_domain.provider → type in forge_app.dto.anthropic.response) reference.
- Which types
forge_domain.provider.ProviderModels→forge_app.dto.anthropic.response.Model
- Direction
- forge_domain.provider uses forge_app.dto.anthropic.response. Changing forge_app.dto.anthropic.response can break forge_domain.provider, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→2 forge_main.info depends on forge_config.config✕
- Type pairs
- 1 distinct (type in forge_main.info → type in forge_config.config) reference.
- Which types
forge_main.info.Info→forge_config.config.ForgeConfig
- Direction
- forge_main.info uses forge_config.config. Changing forge_config.config can break forge_main.info, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→5 forge_main.info depends on forge_domain.env✕
- Type pairs
- 2 distinct (type in forge_main.info → type in forge_domain.env) references.
- Which types
forge_main.info.Info→forge_domain.env.Environmentforge_main.info.info$module→forge_domain.env.Environment
- Direction
- forge_main.info uses forge_domain.env. Changing forge_domain.env can break forge_main.info, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→9 forge_main.info depends on forge_domain.conversation✕
- Type pairs
- 1 distinct (type in forge_main.info → type in forge_domain.conversation) reference.
- Which types
forge_main.info.Info→forge_domain.conversation.Conversation
- Direction
- forge_main.info uses forge_domain.conversation. Changing forge_domain.conversation can break forge_main.info, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→21 forge_main.info depends on forge_domain.context✕
- Type pairs
- 1 distinct (type in forge_main.info → type in forge_domain.context) reference.
- Which types
forge_main.info.info$module→forge_domain.context.ContextMessage
- Direction
- forge_main.info uses forge_domain.context. Changing forge_domain.context can break forge_main.info, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→23 forge_main.info depends on forge_app.dto.anthropic.response✕
- Type pairs
- 2 distinct (type in forge_main.info → type in forge_app.dto.anthropic.response) references.
- Which types
forge_main.info.Info→forge_app.dto.anthropic.response.Usageforge_main.info.info$module→forge_app.dto.anthropic.response.Usage
- Direction
- forge_main.info uses forge_app.dto.anthropic.response. Changing forge_app.dto.anthropic.response can break forge_main.info, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→3 forge_app.infra depends on forge_domain.auth.auth_method✕
- Type pairs
- 1 distinct (type in forge_app.infra → type in forge_domain.auth.auth_method) reference.
- Which types
forge_app.infra.StrategyFactory→forge_domain.auth.auth_method.AuthMethod
- Direction
- forge_app.infra uses forge_domain.auth.auth_method. Changing forge_domain.auth.auth_method can break forge_app.infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→4 forge_app.infra depends on forge_domain.auth.new_types✕
- Type pairs
- 1 distinct (type in forge_app.infra → type in forge_domain.auth.new_types) reference.
- Which types
forge_app.infra.StrategyFactory→forge_domain.auth.new_types.URLParamSpec
- Direction
- forge_app.infra uses forge_domain.auth.new_types. Changing forge_domain.auth.new_types can break forge_app.infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→5 forge_app.infra depends on forge_domain.env✕
- Type pairs
- 3 distinct (type in forge_app.infra → type in forge_domain.env) references.
- Which types
forge_app.infra.EnvironmentInfra→forge_domain.env.ConfigOperationforge_app.infra.EnvironmentInfra→forge_domain.env.Environmentforge_app.infra.McpServerInfra→forge_domain.env.Environment
- Direction
- forge_app.infra uses forge_domain.env. Changing forge_domain.env can break forge_app.infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→6 forge_app.infra depends on forge_domain.mcp✕
- Type pairs
- 1 distinct (type in forge_app.infra → type in forge_domain.mcp) reference.
- Which types
forge_app.infra.McpServerInfra→forge_domain.mcp.McpServerConfig
- Direction
- forge_app.infra uses forge_domain.mcp. Changing forge_domain.mcp can break forge_app.infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→11 forge_app.infra depends on forge_domain.tools.definition.name✕
- Type pairs
- 1 distinct (type in forge_app.infra → type in forge_domain.tools.definition.name) reference.
- Which types
forge_app.infra.McpClientInfra→forge_domain.tools.definition.name.ToolName
- Direction
- forge_app.infra uses forge_domain.tools.definition.name. Changing forge_domain.tools.definition.name can break forge_app.infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→12 forge_app.infra depends on forge_domain.auth.credentials✕
- Type pairs
- 1 distinct (type in forge_app.infra → type in forge_domain.auth.credentials) reference.
- Which types
forge_app.infra.AuthStrategy→forge_domain.auth.credentials.AuthCredential
- Direction
- forge_app.infra uses forge_domain.auth.credentials. Changing forge_domain.auth.credentials can break forge_app.infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→24 forge_app.infra depends on forge_domain.auth.auth_context✕
- Type pairs
- 1 distinct (type in forge_app.infra → type in forge_domain.auth.auth_context) reference.
- Which types
forge_app.infra.AuthStrategy→forge_domain.auth.auth_context.AuthContextResponse
- Direction
- forge_app.infra uses forge_domain.auth.auth_context. Changing forge_domain.auth.auth_context can break forge_app.infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→25 forge_app.infra depends on forge_domain.provider✕
- Type pairs
- 1 distinct (type in forge_app.infra → type in forge_domain.provider) reference.
- Which types
forge_app.infra.StrategyFactory→forge_domain.provider.ProviderId
- Direction
- forge_app.infra uses forge_domain.provider. Changing forge_domain.provider can break forge_app.infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→2 forge_domain.agent depends on forge_config.config✕
- Type pairs
- 1 distinct (type in forge_domain.agent → type in forge_config.config) reference.
- Which types
forge_domain.agent.Agent→forge_config.config.ForgeConfig
- Direction
- forge_domain.agent uses forge_config.config. Changing forge_config.config can break forge_domain.agent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→11 forge_domain.agent depends on forge_domain.tools.definition.name✕
- Type pairs
- 1 distinct (type in forge_domain.agent → type in forge_domain.tools.definition.name) reference.
- Which types
forge_domain.agent.Agent→forge_domain.tools.definition.name.ToolName
- Direction
- forge_domain.agent uses forge_domain.tools.definition.name. Changing forge_domain.tools.definition.name can break forge_domain.agent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→17 forge_domain.agent depends on forge_repo.conversation.conversation_record✕
- Type pairs
- 2 distinct (type in forge_domain.agent → type in forge_repo.conversation.conversation_record) references.
- Which types
forge_domain.agent.Effort→forge_repo.conversation.conversation_record.EffortRecordforge_domain.agent.ReasoningConfig→forge_repo.conversation.conversation_record.ReasoningConfigRecord
- Direction
- forge_domain.agent uses forge_repo.conversation.conversation_record. Changing forge_repo.conversation.conversation_record can break forge_domain.agent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→19 forge_domain.agent depends on forge_domain.model✕
- Type pairs
- 1 distinct (type in forge_domain.agent → type in forge_domain.model) reference.
- Which types
forge_domain.agent.Agent→forge_domain.model.ModelId
- Direction
- forge_domain.agent uses forge_domain.model. Changing forge_domain.model can break forge_domain.agent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→23 forge_domain.agent depends on forge_app.dto.anthropic.response✕
- Type pairs
- 1 distinct (type in forge_domain.agent → type in forge_app.dto.anthropic.response) reference.
- Which types
forge_domain.agent.Agent→forge_app.dto.anthropic.response.Model
- Direction
- forge_domain.agent uses forge_app.dto.anthropic.response. Changing forge_app.dto.anthropic.response can break forge_domain.agent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→25 forge_domain.agent depends on forge_domain.provider✕
- Type pairs
- 1 distinct (type in forge_domain.agent → type in forge_domain.provider) reference.
- Which types
forge_domain.agent.Agent→forge_domain.provider.ProviderId
- Direction
- forge_domain.agent uses forge_domain.provider. Changing forge_domain.provider can break forge_domain.agent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→4 forge_domain.repo depends on forge_domain.auth.new_types✕
- Type pairs
- 1 distinct (type in forge_domain.repo → type in forge_domain.auth.new_types) reference.
- Which types
forge_domain.repo.WorkspaceIndexRepository→forge_domain.auth.new_types.ApiKey
- Direction
- forge_domain.repo uses forge_domain.auth.new_types. Changing forge_domain.auth.new_types can break forge_domain.repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→9 forge_domain.repo depends on forge_domain.conversation✕
- Type pairs
- 2 distinct (type in forge_domain.repo → type in forge_domain.conversation) references.
- Which types
forge_domain.repo.ConversationRepository→forge_domain.conversation.Conversationforge_domain.repo.ConversationRepository→forge_domain.conversation.ConversationId
- Direction
- forge_domain.repo uses forge_domain.conversation. Changing forge_domain.conversation can break forge_domain.repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→12 forge_domain.repo depends on forge_domain.auth.credentials✕
- Type pairs
- 1 distinct (type in forge_domain.repo → type in forge_domain.auth.credentials) reference.
- Which types
forge_domain.repo.ProviderRepository→forge_domain.auth.credentials.AuthCredential
- Direction
- forge_domain.repo uses forge_domain.auth.credentials. Changing forge_domain.auth.credentials can break forge_domain.repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→19 forge_domain.repo depends on forge_domain.model✕
- Type pairs
- 1 distinct (type in forge_domain.repo → type in forge_domain.model) reference.
- Which types
forge_domain.repo.ChatRepository→forge_domain.model.ModelId
- Direction
- forge_domain.repo uses forge_domain.model. Changing forge_domain.model can break forge_domain.repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→21 forge_domain.repo depends on forge_domain.context✕
- Type pairs
- 1 distinct (type in forge_domain.repo → type in forge_domain.context) reference.
- Which types
forge_domain.repo.ChatRepository→forge_domain.context.Context
- Direction
- forge_domain.repo uses forge_domain.context. Changing forge_domain.context can break forge_domain.repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→25 forge_domain.repo depends on forge_domain.provider✕
- Type pairs
- 2 distinct (type in forge_domain.repo → type in forge_domain.provider) references.
- Which types
forge_domain.repo.ChatRepository→forge_domain.provider.Providerforge_domain.repo.ProviderRepository→forge_domain.provider.ProviderId
- Direction
- forge_domain.repo uses forge_domain.provider. Changing forge_domain.provider can break forge_domain.repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→3 forge_api.api depends on forge_domain.auth.auth_method✕
- Type pairs
- 1 distinct (type in forge_api.api → type in forge_domain.auth.auth_method) reference.
- Which types
forge_api.api.API→forge_domain.auth.auth_method.AuthMethod
- Direction
- forge_api.api uses forge_domain.auth.auth_method. Changing forge_domain.auth.auth_method can break forge_api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→5 forge_api.api depends on forge_domain.env✕
- Type pairs
- 2 distinct (type in forge_api.api → type in forge_domain.env) references.
- Which types
forge_api.api.API→forge_domain.env.ConfigOperationforge_api.api.API→forge_domain.env.Environment
- Direction
- forge_api.api uses forge_domain.env. Changing forge_domain.env can break forge_api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→6 forge_api.api depends on forge_domain.mcp✕
- Type pairs
- 2 distinct (type in forge_api.api → type in forge_domain.mcp) references.
- Which types
forge_api.api.API→forge_domain.mcp.McpConfigforge_api.api.API→forge_domain.mcp.Scope
- Direction
- forge_api.api uses forge_domain.mcp. Changing forge_domain.mcp can break forge_api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→9 forge_api.api depends on forge_domain.conversation✕
- Type pairs
- 2 distinct (type in forge_api.api → type in forge_domain.conversation) references.
- Which types
forge_api.api.API→forge_domain.conversation.Conversationforge_api.api.API→forge_domain.conversation.ConversationId
- Direction
- forge_api.api uses forge_domain.conversation. Changing forge_domain.conversation can break forge_api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→10 forge_api.api depends on forge_domain.node✕
- Type pairs
- 1 distinct (type in forge_api.api → type in forge_domain.node) reference.
- Which types
forge_api.api.API→forge_domain.node.SearchParams
- Direction
- forge_api.api uses forge_domain.node. Changing forge_domain.node can break forge_api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→13 forge_api.api depends on forge_domain.event✕
- Type pairs
- 1 distinct (type in forge_api.api → type in forge_domain.event) reference.
- Which types
forge_api.api.API→forge_domain.event.UserPrompt
- Direction
- forge_api.api uses forge_domain.event. Changing forge_domain.event can break forge_api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→19 forge_api.api depends on forge_domain.model✕
- Type pairs
- 1 distinct (type in forge_api.api → type in forge_domain.model) reference.
- Which types
forge_api.api.API→forge_domain.model.ModelId
- Direction
- forge_api.api uses forge_domain.model. Changing forge_domain.model can break forge_api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→24 forge_api.api depends on forge_domain.auth.auth_context✕
- Type pairs
- 1 distinct (type in forge_api.api → type in forge_domain.auth.auth_context) reference.
- Which types
forge_api.api.API→forge_domain.auth.auth_context.AuthContextResponse
- Direction
- forge_api.api uses forge_domain.auth.auth_context. Changing forge_domain.auth.auth_context can break forge_api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→25 forge_api.api depends on forge_domain.provider✕
- Type pairs
- 1 distinct (type in forge_api.api → type in forge_domain.provider) reference.
- Which types
forge_api.api.API→forge_domain.provider.ProviderId
- Direction
- forge_api.api uses forge_domain.provider. Changing forge_domain.provider can break forge_api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→28 forge_api.api depends on forge_domain.agent✕
- Type pairs
- 1 distinct (type in forge_api.api → type in forge_domain.agent) reference.
- Which types
forge_api.api.API→forge_domain.agent.AgentId
- Direction
- forge_api.api uses forge_domain.agent. Changing forge_domain.agent can break forge_api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→3 forge_app.services depends on forge_domain.auth.auth_method✕
- Type pairs
- 1 distinct (type in forge_app.services → type in forge_domain.auth.auth_method) reference.
- Which types
forge_app.services.ProviderAuthService→forge_domain.auth.auth_method.AuthMethod
- Direction
- forge_app.services uses forge_domain.auth.auth_method. Changing forge_domain.auth.auth_method can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→5 forge_app.services depends on forge_domain.env✕
- Type pairs
- 1 distinct (type in forge_app.services → type in forge_domain.env) reference.
- Which types
forge_app.services.AppConfigService→forge_domain.env.ConfigOperation
- Direction
- forge_app.services uses forge_domain.env. Changing forge_domain.env can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→6 forge_app.services depends on forge_domain.mcp✕
- Type pairs
- 2 distinct (type in forge_app.services → type in forge_domain.mcp) references.
- Which types
forge_app.services.McpConfigManager→forge_domain.mcp.McpConfigforge_app.services.McpConfigManager→forge_domain.mcp.Scope
- Direction
- forge_app.services uses forge_domain.mcp. Changing forge_domain.mcp can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→9 forge_app.services depends on forge_domain.conversation✕
- Type pairs
- 2 distinct (type in forge_app.services → type in forge_domain.conversation) references.
- Which types
forge_app.services.ConversationService→forge_domain.conversation.Conversationforge_app.services.ConversationService→forge_domain.conversation.ConversationId
- Direction
- forge_app.services uses forge_domain.conversation. Changing forge_domain.conversation can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→10 forge_app.services depends on forge_domain.node✕
- Type pairs
- 1 distinct (type in forge_app.services → type in forge_domain.node) reference.
- Which types
forge_app.services.WorkspaceService→forge_domain.node.SearchParams
- Direction
- forge_app.services uses forge_domain.node. Changing forge_domain.node can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→12 forge_app.services depends on forge_domain.auth.credentials✕
- Type pairs
- 1 distinct (type in forge_app.services → type in forge_domain.auth.credentials) reference.
- Which types
forge_app.services.ProviderService→forge_domain.auth.credentials.AuthCredential
- Direction
- forge_app.services uses forge_domain.auth.credentials. Changing forge_domain.auth.credentials can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→14 forge_app.services depends on forge_domain.tools.catalog✕
- Type pairs
- 3 distinct (type in forge_app.services → type in forge_domain.tools.catalog) references.
- Which types
forge_app.services.FsPatchService→forge_domain.tools.catalog.PatchEditforge_app.services.FsSearchService→forge_domain.tools.catalog.FSSearchforge_app.services.TodoWriteOutput→forge_domain.tools.catalog.Todo
- Direction
- forge_app.services uses forge_domain.tools.catalog. Changing forge_domain.tools.catalog can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→15 forge_app.services depends on forge_domain.tools.call.tool_call✕
- Type pairs
- 1 distinct (type in forge_app.services → type in forge_domain.tools.call.tool_call) reference.
- Which types
forge_app.services.McpService→forge_domain.tools.call.tool_call.ToolCallFull
- Direction
- forge_app.services uses forge_domain.tools.call.tool_call. Changing forge_domain.tools.call.tool_call can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→19 forge_app.services depends on forge_domain.model✕
- Type pairs
- 1 distinct (type in forge_app.services → type in forge_domain.model) reference.
- Which types
forge_app.services.ProviderService→forge_domain.model.ModelId
- Direction
- forge_app.services uses forge_domain.model. Changing forge_domain.model can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→21 forge_app.services depends on forge_domain.context✕
- Type pairs
- 1 distinct (type in forge_app.services → type in forge_domain.context) reference.
- Which types
forge_app.services.ProviderService→forge_domain.context.Context
- Direction
- forge_app.services uses forge_domain.context. Changing forge_domain.context can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→22 forge_app.services depends on forge_app.dto.anthropic.request✕
- Type pairs
- 1 distinct (type in forge_app.services → type in forge_app.dto.anthropic.request) reference.
- Which types
forge_app.services.ReadOutput→forge_app.dto.anthropic.request.Content
- Direction
- forge_app.services uses forge_app.dto.anthropic.request. Changing forge_app.dto.anthropic.request can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→24 forge_app.services depends on forge_domain.auth.auth_context✕
- Type pairs
- 1 distinct (type in forge_app.services → type in forge_domain.auth.auth_context) reference.
- Which types
forge_app.services.ProviderAuthService→forge_domain.auth.auth_context.AuthContextResponse
- Direction
- forge_app.services uses forge_domain.auth.auth_context. Changing forge_domain.auth.auth_context can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→25 forge_app.services depends on forge_domain.provider✕
- Type pairs
- 4 distinct (type in forge_app.services → type in forge_domain.provider) references.
- Which types
forge_app.services.ProviderAuthService→forge_domain.provider.Providerforge_app.services.ProviderAuthService→forge_domain.provider.ProviderIdforge_app.services.ProviderService→forge_domain.provider.Providerforge_app.services.ProviderService→forge_domain.provider.ProviderId
- Direction
- forge_app.services uses forge_domain.provider. Changing forge_domain.provider can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→27 forge_app.services depends on forge_app.infra✕
- Type pairs
- 1 distinct (type in forge_app.services → type in forge_app.infra) reference.
- Which types
forge_app.services.Services→forge_app.infra.EnvironmentInfra
- Direction
- forge_app.services uses forge_app.infra. Changing forge_app.infra can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→28 forge_app.services depends on forge_domain.agent✕
- Type pairs
- 1 distinct (type in forge_app.services → type in forge_domain.agent) reference.
- Which types
forge_app.services.AgentRegistry→forge_domain.agent.AgentId
- Direction
- forge_app.services uses forge_domain.agent. Changing forge_domain.agent can break forge_app.services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→5 forge_app.tool_registry depends on forge_domain.env✕
- Type pairs
- 1 distinct (type in forge_app.tool_registry → type in forge_domain.env) reference.
- Which types
forge_app.tool_registry.ToolRegistry→forge_domain.env.Environment
- Direction
- forge_app.tool_registry uses forge_domain.env. Changing forge_domain.env can break forge_app.tool_registry, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→11 forge_app.tool_registry depends on forge_domain.tools.definition.name✕
- Type pairs
- 1 distinct (type in forge_app.tool_registry → type in forge_domain.tools.definition.name) reference.
- Which types
forge_app.tool_registry.ToolRegistry→forge_domain.tools.definition.name.ToolName
- Direction
- forge_app.tool_registry uses forge_domain.tools.definition.name. Changing forge_domain.tools.definition.name can break forge_app.tool_registry, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→14 forge_app.tool_registry depends on forge_domain.tools.catalog✕
- Type pairs
- 1 distinct (type in forge_app.tool_registry → type in forge_domain.tools.catalog) reference.
- Which types
forge_app.tool_registry.ToolRegistry→forge_domain.tools.catalog.ToolCatalog
- Direction
- forge_app.tool_registry uses forge_domain.tools.catalog. Changing forge_domain.tools.catalog can break forge_app.tool_registry, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→15 forge_app.tool_registry depends on forge_domain.tools.call.tool_call✕
- Type pairs
- 1 distinct (type in forge_app.tool_registry → type in forge_domain.tools.call.tool_call) reference.
- Which types
forge_app.tool_registry.ToolRegistry→forge_domain.tools.call.tool_call.ToolCallFull
- Direction
- forge_app.tool_registry uses forge_domain.tools.call.tool_call. Changing forge_domain.tools.call.tool_call can break forge_app.tool_registry, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→16 forge_app.tool_registry depends on forge_domain.tools.result✕
- Type pairs
- 1 distinct (type in forge_app.tool_registry → type in forge_domain.tools.result) reference.
- Which types
forge_app.tool_registry.ToolRegistry→forge_domain.tools.result.ToolResult
- Direction
- forge_app.tool_registry uses forge_domain.tools.result. Changing forge_domain.tools.result can break forge_app.tool_registry, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→22 forge_app.tool_registry depends on forge_app.dto.anthropic.request✕
- Type pairs
- 1 distinct (type in forge_app.tool_registry → type in forge_app.dto.anthropic.request) reference.
- Which types
forge_app.tool_registry.ToolRegistry→forge_app.dto.anthropic.request.ToolDefinition
- Direction
- forge_app.tool_registry uses forge_app.dto.anthropic.request. Changing forge_app.dto.anthropic.request can break forge_app.tool_registry, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→23 forge_app.tool_registry depends on forge_app.dto.anthropic.response✕
- Type pairs
- 1 distinct (type in forge_app.tool_registry → type in forge_app.dto.anthropic.response) reference.
- Which types
forge_app.tool_registry.ToolRegistry→forge_app.dto.anthropic.response.Model
- Direction
- forge_app.tool_registry uses forge_app.dto.anthropic.response. Changing forge_app.dto.anthropic.response can break forge_app.tool_registry, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→28 forge_app.tool_registry depends on forge_domain.agent✕
- Type pairs
- 1 distinct (type in forge_app.tool_registry → type in forge_domain.agent) reference.
- Which types
forge_app.tool_registry.ToolRegistry→forge_domain.agent.Agent
- Direction
- forge_app.tool_registry uses forge_domain.agent. Changing forge_domain.agent can break forge_app.tool_registry, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→9 forge_domain.hook depends on forge_domain.conversation✕
- Type pairs
- 4 distinct (type in forge_domain.hook → type in forge_domain.conversation) references.
- Which types
forge_domain.hook.CombinedHandler→forge_domain.conversation.Conversationforge_domain.hook.EventHandle→forge_domain.conversation.Conversationforge_domain.hook.Hook→forge_domain.conversation.Conversationforge_domain.hook.NoOpHandler→forge_domain.conversation.Conversation
- Direction
- forge_domain.hook uses forge_domain.conversation. Changing forge_domain.conversation can break forge_domain.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→15 forge_domain.hook depends on forge_domain.tools.call.tool_call✕
- Type pairs
- 2 distinct (type in forge_domain.hook → type in forge_domain.tools.call.tool_call) references.
- Which types
forge_domain.hook.ToolcallEndPayload→forge_domain.tools.call.tool_call.ToolCallFullforge_domain.hook.ToolcallStartPayload→forge_domain.tools.call.tool_call.ToolCallFull
- Direction
- forge_domain.hook uses forge_domain.tools.call.tool_call. Changing forge_domain.tools.call.tool_call can break forge_domain.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→16 forge_domain.hook depends on forge_domain.tools.result✕
- Type pairs
- 1 distinct (type in forge_domain.hook → type in forge_domain.tools.result) reference.
- Which types
forge_domain.hook.ToolcallEndPayload→forge_domain.tools.result.ToolResult
- Direction
- forge_domain.hook uses forge_domain.tools.result. Changing forge_domain.tools.result can break forge_domain.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→18 forge_domain.hook depends on forge_domain.message✕
- Type pairs
- 1 distinct (type in forge_domain.hook → type in forge_domain.message) reference.
- Which types
forge_domain.hook.ResponsePayload→forge_domain.message.ChatCompletionMessageFull
- Direction
- forge_domain.hook uses forge_domain.message. Changing forge_domain.message can break forge_domain.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→19 forge_domain.hook depends on forge_domain.model✕
- Type pairs
- 1 distinct (type in forge_domain.hook → type in forge_domain.model) reference.
- Which types
forge_domain.hook.EventData→forge_domain.model.ModelId
- Direction
- forge_domain.hook uses forge_domain.model. Changing forge_domain.model can break forge_domain.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→28 forge_domain.hook depends on forge_domain.agent✕
- Type pairs
- 1 distinct (type in forge_domain.hook → type in forge_domain.agent) reference.
- Which types
forge_domain.hook.EventData→forge_domain.agent.Agent
- Direction
- forge_domain.hook uses forge_domain.agent. Changing forge_domain.agent can break forge_domain.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→2 forge_infra.forge_infra depends on forge_config.config✕
- Type pairs
- 1 distinct (type in forge_infra.forge_infra → type in forge_config.config) reference.
- Which types
forge_infra.forge_infra.ForgeInfra→forge_config.config.ForgeConfig
- Direction
- forge_infra.forge_infra uses forge_config.config. Changing forge_config.config can break forge_infra.forge_infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→3 forge_infra.forge_infra depends on forge_domain.auth.auth_method✕
- Type pairs
- 1 distinct (type in forge_infra.forge_infra → type in forge_domain.auth.auth_method) reference.
- Which types
forge_infra.forge_infra.ForgeInfra→forge_domain.auth.auth_method.AuthMethod
- Direction
- forge_infra.forge_infra uses forge_domain.auth.auth_method. Changing forge_domain.auth.auth_method can break forge_infra.forge_infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→4 forge_infra.forge_infra depends on forge_domain.auth.new_types✕
- Type pairs
- 1 distinct (type in forge_infra.forge_infra → type in forge_domain.auth.new_types) reference.
- Which types
forge_infra.forge_infra.ForgeInfra→forge_domain.auth.new_types.URLParamSpec
- Direction
- forge_infra.forge_infra uses forge_domain.auth.new_types. Changing forge_domain.auth.new_types can break forge_infra.forge_infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→5 forge_infra.forge_infra depends on forge_domain.env✕
- Type pairs
- 2 distinct (type in forge_infra.forge_infra → type in forge_domain.env) references.
- Which types
forge_infra.forge_infra.ForgeInfra→forge_domain.env.ConfigOperationforge_infra.forge_infra.ForgeInfra→forge_domain.env.Environment
- Direction
- forge_infra.forge_infra uses forge_domain.env. Changing forge_domain.env can break forge_infra.forge_infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→6 forge_infra.forge_infra depends on forge_domain.mcp✕
- Type pairs
- 1 distinct (type in forge_infra.forge_infra → type in forge_domain.mcp) reference.
- Which types
forge_infra.forge_infra.ForgeInfra→forge_domain.mcp.McpServerConfig
- Direction
- forge_infra.forge_infra uses forge_domain.mcp. Changing forge_domain.mcp can break forge_infra.forge_infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→25 forge_infra.forge_infra depends on forge_domain.provider✕
- Type pairs
- 1 distinct (type in forge_infra.forge_infra → type in forge_domain.provider) reference.
- Which types
forge_infra.forge_infra.ForgeInfra→forge_domain.provider.ProviderId
- Direction
- forge_infra.forge_infra uses forge_domain.provider. Changing forge_domain.provider can break forge_infra.forge_infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→27 forge_infra.forge_infra depends on forge_app.infra✕
- Type pairs
- 14 distinct (type in forge_infra.forge_infra → type in forge_app.infra) references.
- Which types
forge_infra.forge_infra.ForgeInfra→forge_app.infra.CommandInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.DirectoryReaderInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.EnvironmentInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.FileDirectoryInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.FileInfoInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.FileReaderInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.FileRemoverInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.FileWriterInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.GrpcInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.HttpInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.McpServerInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.StrategyFactoryforge_infra.forge_infra.ForgeInfra→forge_app.infra.UserInfraforge_infra.forge_infra.ForgeInfra→forge_app.infra.WalkerInfra
- Direction
- forge_infra.forge_infra uses forge_app.infra. Changing forge_app.infra can break forge_infra.forge_infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→2 forge_main.ui depends on forge_config.config✕
- Type pairs
- 1 distinct (type in forge_main.ui → type in forge_config.config) reference.
- Which types
forge_main.ui.UI→forge_config.config.ForgeConfig
- Direction
- forge_main.ui uses forge_config.config. Changing forge_config.config can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→3 forge_main.ui depends on forge_domain.auth.auth_method✕
- Type pairs
- 1 distinct (type in forge_main.ui → type in forge_domain.auth.auth_method) reference.
- Which types
forge_main.ui.UI→forge_domain.auth.auth_method.AuthMethod
- Direction
- forge_main.ui uses forge_domain.auth.auth_method. Changing forge_domain.auth.auth_method can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→6 forge_main.ui depends on forge_domain.mcp✕
- Type pairs
- 1 distinct (type in forge_main.ui → type in forge_domain.mcp) reference.
- Which types
forge_main.ui.ui$module→forge_domain.mcp.McpServerConfig
- Direction
- forge_main.ui uses forge_domain.mcp. Changing forge_domain.mcp can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→9 forge_main.ui depends on forge_domain.conversation✕
- Type pairs
- 3 distinct (type in forge_main.ui → type in forge_domain.conversation) references.
- Which types
forge_main.ui.ConversationDump→forge_domain.conversation.Conversationforge_main.ui.UI→forge_domain.conversation.Conversationforge_main.ui.UI→forge_domain.conversation.ConversationId
- Direction
- forge_main.ui uses forge_domain.conversation. Changing forge_domain.conversation can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→10 forge_main.ui depends on forge_domain.node✕
- Type pairs
- 2 distinct (type in forge_main.ui → type in forge_domain.node) references.
- Which types
forge_main.ui.UI→forge_domain.node.SearchParamsforge_main.ui.UI→forge_domain.node.WorkspaceInfo
- Direction
- forge_main.ui uses forge_domain.node. Changing forge_domain.node can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→13 forge_main.ui depends on forge_domain.event✕
- Type pairs
- 1 distinct (type in forge_main.ui → type in forge_domain.event) reference.
- Which types
forge_main.ui.UI→forge_domain.event.UserPrompt
- Direction
- forge_main.ui uses forge_domain.event. Changing forge_domain.event can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→19 forge_main.ui depends on forge_domain.model✕
- Type pairs
- 1 distinct (type in forge_main.ui → type in forge_domain.model) reference.
- Which types
forge_main.ui.UI→forge_domain.model.ModelId
- Direction
- forge_main.ui uses forge_domain.model. Changing forge_domain.model can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→23 forge_main.ui depends on forge_app.dto.anthropic.response✕
- Type pairs
- 1 distinct (type in forge_main.ui → type in forge_app.dto.anthropic.response) reference.
- Which types
forge_main.ui.UI→forge_app.dto.anthropic.response.Event
- Direction
- forge_main.ui uses forge_app.dto.anthropic.response. Changing forge_app.dto.anthropic.response can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→24 forge_main.ui depends on forge_domain.auth.auth_context✕
- Type pairs
- 3 distinct (type in forge_main.ui → type in forge_domain.auth.auth_context) references.
- Which types
forge_main.ui.UI→forge_domain.auth.auth_context.ApiKeyRequestforge_main.ui.UI→forge_domain.auth.auth_context.CodeRequestforge_main.ui.UI→forge_domain.auth.auth_context.DeviceCodeRequest
- Direction
- forge_main.ui uses forge_domain.auth.auth_context. Changing forge_domain.auth.auth_context can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→25 forge_main.ui depends on forge_domain.provider✕
- Type pairs
- 4 distinct (type in forge_main.ui → type in forge_domain.provider) references.
- Which types
forge_main.ui.UI→forge_domain.provider.AnyProviderforge_main.ui.UI→forge_domain.provider.Providerforge_main.ui.UI→forge_domain.provider.ProviderIdforge_main.ui.UI→forge_domain.provider.ProviderType
- Direction
- forge_main.ui uses forge_domain.provider. Changing forge_domain.provider can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→26 forge_main.ui depends on forge_main.info✕
- Type pairs
- 1 distinct (type in forge_main.ui → type in forge_main.info) reference.
- Which types
forge_main.ui.UI→forge_main.info.Info
- Direction
- forge_main.ui uses forge_main.info. Changing forge_main.info can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→28 forge_main.ui depends on forge_domain.agent✕
- Type pairs
- 1 distinct (type in forge_main.ui → type in forge_domain.agent) reference.
- Which types
forge_main.ui.UI→forge_domain.agent.AgentId
- Direction
- forge_main.ui uses forge_domain.agent. Changing forge_domain.agent can break forge_main.ui, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→3 forge_repo.forge_repo depends on forge_domain.auth.auth_method✕
- Type pairs
- 1 distinct (type in forge_repo.forge_repo → type in forge_domain.auth.auth_method) reference.
- Which types
forge_repo.forge_repo.ForgeRepo→forge_domain.auth.auth_method.AuthMethod
- Direction
- forge_repo.forge_repo uses forge_domain.auth.auth_method. Changing forge_domain.auth.auth_method can break forge_repo.forge_repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→4 forge_repo.forge_repo depends on forge_domain.auth.new_types✕
- Type pairs
- 2 distinct (type in forge_repo.forge_repo → type in forge_domain.auth.new_types) references.
- Which types
forge_repo.forge_repo.ForgeRepo→forge_domain.auth.new_types.ApiKeyforge_repo.forge_repo.ForgeRepo→forge_domain.auth.new_types.URLParamSpec
- Direction
- forge_repo.forge_repo uses forge_domain.auth.new_types. Changing forge_domain.auth.new_types can break forge_repo.forge_repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→5 forge_repo.forge_repo depends on forge_domain.env✕
- Type pairs
- 2 distinct (type in forge_repo.forge_repo → type in forge_domain.env) references.
- Which types
forge_repo.forge_repo.ForgeRepo→forge_domain.env.ConfigOperationforge_repo.forge_repo.ForgeRepo→forge_domain.env.Environment
- Direction
- forge_repo.forge_repo uses forge_domain.env. Changing forge_domain.env can break forge_repo.forge_repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→6 forge_repo.forge_repo depends on forge_domain.mcp✕
- Type pairs
- 1 distinct (type in forge_repo.forge_repo → type in forge_domain.mcp) reference.
- Which types
forge_repo.forge_repo.ForgeRepo→forge_domain.mcp.McpServerConfig
- Direction
- forge_repo.forge_repo uses forge_domain.mcp. Changing forge_domain.mcp can break forge_repo.forge_repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→9 forge_repo.forge_repo depends on forge_domain.conversation✕
- Type pairs
- 2 distinct (type in forge_repo.forge_repo → type in forge_domain.conversation) references.
- Which types
forge_repo.forge_repo.ForgeRepo→forge_domain.conversation.Conversationforge_repo.forge_repo.ForgeRepo→forge_domain.conversation.ConversationId
- Direction
- forge_repo.forge_repo uses forge_domain.conversation. Changing forge_domain.conversation can break forge_repo.forge_repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→12 forge_repo.forge_repo depends on forge_domain.auth.credentials✕
- Type pairs
- 1 distinct (type in forge_repo.forge_repo → type in forge_domain.auth.credentials) reference.
- Which types
forge_repo.forge_repo.ForgeRepo→forge_domain.auth.credentials.AuthCredential
- Direction
- forge_repo.forge_repo uses forge_domain.auth.credentials. Changing forge_domain.auth.credentials can break forge_repo.forge_repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→19 forge_repo.forge_repo depends on forge_domain.model✕
- Type pairs
- 1 distinct (type in forge_repo.forge_repo → type in forge_domain.model) reference.
- Which types
forge_repo.forge_repo.ForgeRepo→forge_domain.model.ModelId
- Direction
- forge_repo.forge_repo uses forge_domain.model. Changing forge_domain.model can break forge_repo.forge_repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→21 forge_repo.forge_repo depends on forge_domain.context✕
- Type pairs
- 1 distinct (type in forge_repo.forge_repo → type in forge_domain.context) reference.
- Which types
forge_repo.forge_repo.ForgeRepo→forge_domain.context.Context
- Direction
- forge_repo.forge_repo uses forge_domain.context. Changing forge_domain.context can break forge_repo.forge_repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→25 forge_repo.forge_repo depends on forge_domain.provider✕
- Type pairs
- 2 distinct (type in forge_repo.forge_repo → type in forge_domain.provider) references.
- Which types
forge_repo.forge_repo.ForgeRepo→forge_domain.provider.Providerforge_repo.forge_repo.ForgeRepo→forge_domain.provider.ProviderId
- Direction
- forge_repo.forge_repo uses forge_domain.provider. Changing forge_domain.provider can break forge_repo.forge_repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→27 forge_repo.forge_repo depends on forge_app.infra✕
- Type pairs
- 16 distinct (type in forge_repo.forge_repo → type in forge_app.infra) references.
- Which types
forge_repo.forge_repo.ForgeRepo→forge_app.infra.AgentRepositoryforge_repo.forge_repo.ForgeRepo→forge_app.infra.CommandInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.DirectoryReaderInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.EnvironmentInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.FileDirectoryInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.FileInfoInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.FileReaderInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.FileRemoverInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.FileWriterInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.GrpcInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.HttpInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.KVStoreforge_repo.forge_repo.ForgeRepo→forge_app.infra.McpServerInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.StrategyFactoryforge_repo.forge_repo.ForgeRepo→forge_app.infra.UserInfraforge_repo.forge_repo.ForgeRepo→forge_app.infra.WalkerInfra
- Direction
- forge_repo.forge_repo uses forge_app.infra. Changing forge_app.infra can break forge_repo.forge_repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→29 forge_repo.forge_repo depends on forge_domain.repo✕
- Type pairs
- 9 distinct (type in forge_repo.forge_repo → type in forge_domain.repo) references.
- Which types
forge_repo.forge_repo.ForgeRepo→forge_domain.repo.ChatRepositoryforge_repo.forge_repo.ForgeRepo→forge_domain.repo.ConversationRepositoryforge_repo.forge_repo.ForgeRepo→forge_domain.repo.FuzzySearchRepositoryforge_repo.forge_repo.ForgeRepo→forge_domain.repo.ProviderRepositoryforge_repo.forge_repo.ForgeRepo→forge_domain.repo.SkillRepositoryforge_repo.forge_repo.ForgeRepo→forge_domain.repo.SnapshotRepositoryforge_repo.forge_repo.ForgeRepo→forge_domain.repo.TextPatchRepositoryforge_repo.forge_repo.ForgeRepo→forge_domain.repo.ValidationRepositoryforge_repo.forge_repo.ForgeRepo→forge_domain.repo.WorkspaceIndexRepository
- Direction
- forge_repo.forge_repo uses forge_domain.repo. Changing forge_domain.repo can break forge_repo.forge_repo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→2 forge_api.forge_api depends on forge_config.config✕
- Type pairs
- 1 distinct (type in forge_api.forge_api → type in forge_config.config) reference.
- Which types
forge_api.forge_api.ForgeAPI→forge_config.config.ForgeConfig
- Direction
- forge_api.forge_api uses forge_config.config. Changing forge_config.config can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→3 forge_api.forge_api depends on forge_domain.auth.auth_method✕
- Type pairs
- 1 distinct (type in forge_api.forge_api → type in forge_domain.auth.auth_method) reference.
- Which types
forge_api.forge_api.ForgeAPI→forge_domain.auth.auth_method.AuthMethod
- Direction
- forge_api.forge_api uses forge_domain.auth.auth_method. Changing forge_domain.auth.auth_method can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→5 forge_api.forge_api depends on forge_domain.env✕
- Type pairs
- 2 distinct (type in forge_api.forge_api → type in forge_domain.env) references.
- Which types
forge_api.forge_api.ForgeAPI→forge_domain.env.ConfigOperationforge_api.forge_api.ForgeAPI→forge_domain.env.Environment
- Direction
- forge_api.forge_api uses forge_domain.env. Changing forge_domain.env can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→6 forge_api.forge_api depends on forge_domain.mcp✕
- Type pairs
- 2 distinct (type in forge_api.forge_api → type in forge_domain.mcp) references.
- Which types
forge_api.forge_api.ForgeAPI→forge_domain.mcp.McpConfigforge_api.forge_api.ForgeAPI→forge_domain.mcp.Scope
- Direction
- forge_api.forge_api uses forge_domain.mcp. Changing forge_domain.mcp can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→9 forge_api.forge_api depends on forge_domain.conversation✕
- Type pairs
- 2 distinct (type in forge_api.forge_api → type in forge_domain.conversation) references.
- Which types
forge_api.forge_api.ForgeAPI→forge_domain.conversation.Conversationforge_api.forge_api.ForgeAPI→forge_domain.conversation.ConversationId
- Direction
- forge_api.forge_api uses forge_domain.conversation. Changing forge_domain.conversation can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→10 forge_api.forge_api depends on forge_domain.node✕
- Type pairs
- 1 distinct (type in forge_api.forge_api → type in forge_domain.node) reference.
- Which types
forge_api.forge_api.ForgeAPI→forge_domain.node.SearchParams
- Direction
- forge_api.forge_api uses forge_domain.node. Changing forge_domain.node can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→13 forge_api.forge_api depends on forge_domain.event✕
- Type pairs
- 1 distinct (type in forge_api.forge_api → type in forge_domain.event) reference.
- Which types
forge_api.forge_api.ForgeAPI→forge_domain.event.UserPrompt
- Direction
- forge_api.forge_api uses forge_domain.event. Changing forge_domain.event can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→19 forge_api.forge_api depends on forge_domain.model✕
- Type pairs
- 1 distinct (type in forge_api.forge_api → type in forge_domain.model) reference.
- Which types
forge_api.forge_api.ForgeAPI→forge_domain.model.ModelId
- Direction
- forge_api.forge_api uses forge_domain.model. Changing forge_domain.model can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→24 forge_api.forge_api depends on forge_domain.auth.auth_context✕
- Type pairs
- 1 distinct (type in forge_api.forge_api → type in forge_domain.auth.auth_context) reference.
- Which types
forge_api.forge_api.ForgeAPI→forge_domain.auth.auth_context.AuthContextResponse
- Direction
- forge_api.forge_api uses forge_domain.auth.auth_context. Changing forge_domain.auth.auth_context can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→25 forge_api.forge_api depends on forge_domain.provider✕
- Type pairs
- 1 distinct (type in forge_api.forge_api → type in forge_domain.provider) reference.
- Which types
forge_api.forge_api.ForgeAPI→forge_domain.provider.ProviderId
- Direction
- forge_api.forge_api uses forge_domain.provider. Changing forge_domain.provider can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→28 forge_api.forge_api depends on forge_domain.agent✕
- Type pairs
- 1 distinct (type in forge_api.forge_api → type in forge_domain.agent) reference.
- Which types
forge_api.forge_api.ForgeAPI→forge_domain.agent.AgentId
- Direction
- forge_api.forge_api uses forge_domain.agent. Changing forge_domain.agent can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→30 forge_api.forge_api depends on forge_api.api✕
- Type pairs
- 1 distinct (type in forge_api.forge_api → type in forge_api.api) reference.
- Which types
forge_api.forge_api.ForgeAPI→forge_api.api.API
- Direction
- forge_api.forge_api uses forge_api.api. Changing forge_api.api can break forge_api.forge_api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→2 forge_app.orch_spec.orch_setup depends on forge_config.config✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_setup → type in forge_config.config) reference.
- Which types
forge_app.orch_spec.orch_setup.TestContext→forge_config.config.ForgeConfig
- Direction
- forge_app.orch_spec.orch_setup uses forge_config.config. Changing forge_config.config can break forge_app.orch_spec.orch_setup, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→5 forge_app.orch_spec.orch_setup depends on forge_domain.env✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_setup → type in forge_domain.env) reference.
- Which types
forge_app.orch_spec.orch_setup.TestContext→forge_domain.env.Environment
- Direction
- forge_app.orch_spec.orch_setup uses forge_domain.env. Changing forge_domain.env can break forge_app.orch_spec.orch_setup, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→9 forge_app.orch_spec.orch_setup depends on forge_domain.conversation✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_setup → type in forge_domain.conversation) reference.
- Which types
forge_app.orch_spec.orch_setup.TestOutput→forge_domain.conversation.Conversation
- Direction
- forge_app.orch_spec.orch_setup uses forge_domain.conversation. Changing forge_domain.conversation can break forge_app.orch_spec.orch_setup, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→18 forge_app.orch_spec.orch_setup depends on forge_domain.message✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_setup → type in forge_domain.message) reference.
- Which types
forge_app.orch_spec.orch_setup.TestContext→forge_domain.message.ChatCompletionMessage
- Direction
- forge_app.orch_spec.orch_setup uses forge_domain.message. Changing forge_domain.message can break forge_app.orch_spec.orch_setup, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→19 forge_app.orch_spec.orch_setup depends on forge_domain.model✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_setup → type in forge_domain.model) reference.
- Which types
forge_app.orch_spec.orch_setup.TestContext→forge_domain.model.ModelId
- Direction
- forge_app.orch_spec.orch_setup uses forge_domain.model. Changing forge_domain.model can break forge_app.orch_spec.orch_setup, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→21 forge_app.orch_spec.orch_setup depends on forge_domain.context✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_setup → type in forge_domain.context) reference.
- Which types
forge_app.orch_spec.orch_setup.TestOutput→forge_domain.context.MessageEntry
- Direction
- forge_app.orch_spec.orch_setup uses forge_domain.context. Changing forge_domain.context can break forge_app.orch_spec.orch_setup, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→22 forge_app.orch_spec.orch_setup depends on forge_app.dto.anthropic.request✕
- Type pairs
- 2 distinct (type in forge_app.orch_spec.orch_setup → type in forge_app.dto.anthropic.request) references.
- Which types
forge_app.orch_spec.orch_setup.TestContext→forge_app.dto.anthropic.request.ToolDefinitionforge_app.orch_spec.orch_setup.TestOutput→forge_app.dto.anthropic.request.ToolDefinition
- Direction
- forge_app.orch_spec.orch_setup uses forge_app.dto.anthropic.request. Changing forge_app.dto.anthropic.request can break forge_app.orch_spec.orch_setup, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→28 forge_app.orch_spec.orch_setup depends on forge_domain.agent✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_setup → type in forge_domain.agent) reference.
- Which types
forge_app.orch_spec.orch_setup.TestContext→forge_domain.agent.Agent
- Direction
- forge_app.orch_spec.orch_setup uses forge_domain.agent. Changing forge_domain.agent can break forge_app.orch_spec.orch_setup, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→31 forge_app.orch_spec.orch_setup depends on forge_app.services✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_setup → type in forge_app.services) reference.
- Which types
forge_app.orch_spec.orch_setup.TestContext→forge_app.services.ShellOutput
- Direction
- forge_app.orch_spec.orch_setup uses forge_app.services. Changing forge_app.services can break forge_app.orch_spec.orch_setup, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→5 forge_services.forge_services depends on forge_domain.env✕
- Type pairs
- 2 distinct (type in forge_services.forge_services → type in forge_domain.env) references.
- Which types
forge_services.forge_services.ForgeServices→forge_domain.env.ConfigOperationforge_services.forge_services.ForgeServices→forge_domain.env.Environment
- Direction
- forge_services.forge_services uses forge_domain.env. Changing forge_domain.env can break forge_services.forge_services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→27 forge_services.forge_services depends on forge_app.infra✕
- Type pairs
- 1 distinct (type in forge_services.forge_services → type in forge_app.infra) reference.
- Which types
forge_services.forge_services.ForgeServices→forge_app.infra.EnvironmentInfra
- Direction
- forge_services.forge_services uses forge_app.infra. Changing forge_app.infra can break forge_services.forge_services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→31 forge_services.forge_services depends on forge_app.services✕
- Type pairs
- 28 distinct (type in forge_services.forge_services → type in forge_app.services) references. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- Which types
forge_services.forge_services.ForgeServices→forge_app.services.AgentRegistryforge_services.forge_services.ForgeServices→forge_app.services.AppConfigServiceforge_services.forge_services.ForgeServices→forge_app.services.AttachmentServiceforge_services.forge_services.ForgeServices→forge_app.services.AuthServiceforge_services.forge_services.ForgeServices→forge_app.services.CommandLoaderServiceforge_services.forge_services.ForgeServices→forge_app.services.ConversationServiceforge_services.forge_services.ForgeServices→forge_app.services.CustomInstructionsServiceforge_services.forge_services.ForgeServices→forge_app.services.FileDiscoveryServiceforge_services.forge_services.ForgeServices→forge_app.services.FollowUpServiceforge_services.forge_services.ForgeServices→forge_app.services.FsPatchServiceforge_services.forge_services.ForgeServices→forge_app.services.FsReadServiceforge_services.forge_services.ForgeServices→forge_app.services.FsRemoveServiceforge_services.forge_services.ForgeServices→forge_app.services.FsSearchServiceforge_services.forge_services.ForgeServices→forge_app.services.FsUndoServiceforge_services.forge_services.ForgeServices→forge_app.services.FsWriteServiceforge_services.forge_services.ForgeServices→forge_app.services.ImageReadServiceforge_services.forge_services.ForgeServices→forge_app.services.McpConfigManagerforge_services.forge_services.ForgeServices→forge_app.services.McpServiceforge_services.forge_services.ForgeServices→forge_app.services.NetFetchServiceforge_services.forge_services.ForgeServices→forge_app.services.PlanCreateServiceforge_services.forge_services.ForgeServices→forge_app.services.PolicyServiceforge_services.forge_services.ForgeServices→forge_app.services.ProviderAuthServiceforge_services.forge_services.ForgeServices→forge_app.services.ProviderServiceforge_services.forge_services.ForgeServices→forge_app.services.Servicesforge_services.forge_services.ForgeServices→forge_app.services.ShellService
- Direction
- forge_services.forge_services uses forge_app.services. Changing forge_app.services can break forge_services.forge_services, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→2 forge_app.orch_spec.orch_runner depends on forge_config.config✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_runner → type in forge_config.config) reference.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_config.config.ForgeConfig
- Direction
- forge_app.orch_spec.orch_runner uses forge_config.config. Changing forge_config.config can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→5 forge_app.orch_spec.orch_runner depends on forge_domain.env✕
- Type pairs
- 2 distinct (type in forge_app.orch_spec.orch_runner → type in forge_domain.env) references.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_domain.env.ConfigOperationforge_app.orch_spec.orch_runner.Runner→forge_domain.env.Environment
- Direction
- forge_app.orch_spec.orch_runner uses forge_domain.env. Changing forge_domain.env can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→9 forge_app.orch_spec.orch_runner depends on forge_domain.conversation✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_runner → type in forge_domain.conversation) reference.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_domain.conversation.Conversation
- Direction
- forge_app.orch_spec.orch_runner uses forge_domain.conversation. Changing forge_domain.conversation can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→15 forge_app.orch_spec.orch_runner depends on forge_domain.tools.call.tool_call✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_runner → type in forge_domain.tools.call.tool_call) reference.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_domain.tools.call.tool_call.ToolCallFull
- Direction
- forge_app.orch_spec.orch_runner uses forge_domain.tools.call.tool_call. Changing forge_domain.tools.call.tool_call can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→16 forge_app.orch_spec.orch_runner depends on forge_domain.tools.result✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_runner → type in forge_domain.tools.result) reference.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_domain.tools.result.ToolResult
- Direction
- forge_app.orch_spec.orch_runner uses forge_domain.tools.result. Changing forge_domain.tools.result can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→19 forge_app.orch_spec.orch_runner depends on forge_domain.model✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_runner → type in forge_domain.model) reference.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_domain.model.ModelId
- Direction
- forge_app.orch_spec.orch_runner uses forge_domain.model. Changing forge_domain.model can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→21 forge_app.orch_spec.orch_runner depends on forge_domain.context✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_runner → type in forge_domain.context) reference.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_domain.context.Context
- Direction
- forge_app.orch_spec.orch_runner uses forge_domain.context. Changing forge_domain.context can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→23 forge_app.orch_spec.orch_runner depends on forge_app.dto.anthropic.response✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_runner → type in forge_app.dto.anthropic.response) reference.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_app.dto.anthropic.response.Event
- Direction
- forge_app.orch_spec.orch_runner uses forge_app.dto.anthropic.response. Changing forge_app.dto.anthropic.response can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→25 forge_app.orch_spec.orch_runner depends on forge_domain.provider✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_runner → type in forge_domain.provider) reference.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_domain.provider.ProviderId
- Direction
- forge_app.orch_spec.orch_runner uses forge_domain.provider. Changing forge_domain.provider can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→27 forge_app.orch_spec.orch_runner depends on forge_app.infra✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_runner → type in forge_app.infra) reference.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_app.infra.EnvironmentInfra
- Direction
- forge_app.orch_spec.orch_runner uses forge_app.infra. Changing forge_app.infra can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→28 forge_app.orch_spec.orch_runner depends on forge_domain.agent✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_runner → type in forge_domain.agent) reference.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_domain.agent.Agent
- Direction
- forge_app.orch_spec.orch_runner uses forge_domain.agent. Changing forge_domain.agent can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→31 forge_app.orch_spec.orch_runner depends on forge_app.services✕
- Type pairs
- 4 distinct (type in forge_app.orch_spec.orch_runner → type in forge_app.services) references.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_app.services.AttachmentServiceforge_app.orch_spec.orch_runner.Runner→forge_app.services.ShellServiceforge_app.orch_spec.orch_runner.Runner→forge_app.services.SkillFetchServiceforge_app.orch_spec.orch_runner.Runner→forge_app.services.TemplateService
- Direction
- forge_app.orch_spec.orch_runner uses forge_app.services. Changing forge_app.services can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→38 forge_app.orch_spec.orch_runner depends on forge_app.orch_spec.orch_setup✕
- Type pairs
- 1 distinct (type in forge_app.orch_spec.orch_runner → type in forge_app.orch_spec.orch_setup) reference.
- Which types
forge_app.orch_spec.orch_runner.Runner→forge_app.orch_spec.orch_setup.TestContext
- Direction
- forge_app.orch_spec.orch_runner uses forge_app.orch_spec.orch_setup. Changing forge_app.orch_spec.orch_setup can break forge_app.orch_spec.orch_runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Event Sourcing
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2021 — Injection | 57 | High / Critical |
| A06:2021 — Vulnerable & Outdated Components | 20 | High / Critical |
Roadmap
First, address visual and motion safety by ensuring visible focus styles, respecting reduced motion preferences, and fixing low-contrast colors. Next, enforce accessibility in the toolchain by integrating automated checks like axe into your test suite and CI pipeline, as current server-side rendering prevents standard linting. Then, correct page structure issues by adding required landmarks, language attributes, and titles, while maintaining proper heading order. Finally, document significant architectural decisions in a dedicated folder and update the README to accurately reflect the project's current capabilities.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1. | +13.4 pts | Medium | Visual & motion safety |
| Enforce accessibility in the toolchain: add an accessibility check that can read your UI — no component framework was detected and your pages are rendered by server-side templates, which neither the JSX/Vue ESLint plugins nor the HTML-template linters can parse; run axe/pa11y over the rendered pages, or assert the accessibility invariants over that rendered HTML in the test suite you already have, then assert with your test runner's axe binding (jest-axe, vitest-axe, cypress-axe or @axe-core/playwright) in tests, then gate axe/pa11y/Lighthouse in CI. | +13.3 pts | Medium | A11y enforcement |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +6.0 pts | Low | ADR Quality |
| Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh. | +12.0 pts | Medium | Page structure |
| Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form). | +7.3 pts | Medium | Architecture documentation |
| Reconcile the README with reality: README claims a ZSH `:` prefix plugin mode but the evidence shows no such feature. | +7.3 pts | Medium | Documentation accuracy |
| Add a 'Testing' section to the root README — how to run the test suite. | +6.0 pts | Medium | Documentation (README) |
| Resolve the 1 Orphaned knowledge finding(s) in Knowledge Freshness — start with oauth_callback.rs. | +1.7 pts | Low | Knowledge Freshness |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.4 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.6 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| crates/forge_app/src/operation.rs | 5.5 | Mixed | Cyclomatic Complexity: ToolOperation::into_tool_output (cyclomatic 51) |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| crates/forge_walker/src/walker.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| crates/forge_services/src/tool_services/fs_patch.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| crates/forge_domain/src/context.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| crates/forge_app/src/services.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| crates/forge_app/src/orch.rs | 6.3 | Mixed | Cognitive Complexity: Orchestrator::run (cognitive 28) |
| crates/forge_repo/src/conversation/conversation_record.rs | 6.7 | Mixed | Explicit Debt: TodoComment |
| crates/forge_domain/src/tools/catalog.rs | 6.7 | Mixed | Explicit Debt: TodoComment |
| crates/forge_app/src/user_prompt.rs | 6.7 | Mixed | Explicit Debt: TodoComment |
| crates/forge_infra/src/forge_infra.rs | 6.7 | Mixed | Explicit Debt: TodoComment |
| crates/forge_main/src/ui.rs | 7.0 | Mixed | Cyclomatic Complexity: UI::handle_subcommands (cyclomatic 83) |
| crates/forge_select/src/preview.rs | 7.0 | Mixed | Cyclomatic Complexity: forge_select::preview::run_select_ui_values (cyclomatic 43) |
| crates/forge_json_repair/src/parser.rs | 7.0 | Mixed | Cyclomatic Complexity: JsonRepairParser::parse_string (cyclomatic 37) |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 42 of 47 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 47 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 335 of 370 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT READ here — but this repository measures it: a coverage step in CI (`cargo llvm-cov`) shows that coverage is collected and tracked in your own CI. The built-in collector has no runner for this ecosystem (.rs), so the analyzer could not read the number — a gap in the analyzer's language coverage, not an unmeasured repo. Not scored. To have the real number read, produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.rs) and this repository declares a Cargo test suite (repository root, 254 test files), but it was not re-run: no test result was produced. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — 43 direct Cargo declaration(s) were read, but the outdated signal needs crates.io, which could not be reached on this run, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- AX1 Captive dependencies — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX2 Stateful singletons — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AXB1 Runtime evidence locked — no reproducible boot — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. The Runtime Evidence tier boots an app only via docker-compose, an Aspire AppHost, or a Dockerfile. None was found, so no live runtime a11y/egress/header evidence was collected. You can widen what we reach: add a docker-compose.yml (or an Aspire AppHost) that brings the app up with its dependencies. Watchdog then boots it in an isolated sandbox and gathers real runtime evidence — you change nothing in your pipeline (no CI step, no SDK).
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- DM3 Integration-event coupling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — a domain type leaking across a crate boundary cannot be told apart from source alone from a legitimate shared-kernel crate. Reported as guidance rather than measured.
- DM7 Repository granularity — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — detecting 'a repository per CHILD entity' needs the aggregate-root structure, which is not resolvable from source alone here. Reported as guidance rather than measured.
- ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P10 Library API & versioning — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads NuGet packaging and C# public API only, and no .NET project was loaded for this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- PF1 Benchmark discipline — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- PF2 Allocation hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X10 Duplicated predicate — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X32 Type resolved by simple name across every loaded assembly — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X6 Hand-rolled structured-format parsing — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X7 Silent fallback defaults — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- DM4 Rich vs anemic domain model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
38 function(s) exceeded the cyclomatic complexity threshold of 15; the worst was UI::handle_subcommands at 83. A further 7 function(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being AppCommand::name at 46 — they are counted neither in the figure above nor in this dimension's score. 3 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold functions was excluded, so the exclusion is disclosed nowhere in the file itself: crates/forge_domain/src/provider.rs (ProviderId::from_str at 42), crates/forge_app/src/tool_executor.rs (ToolExecutor::call_internal at 17), crates/forge_domain/src/tools/catalog.rs (ToolCatalog::description at 16). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
What to do
- Resolve the 4 UI finding(s) in Cyclomatic Complexity — start with ui.rs (4). — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 4 JsonRepairParser finding(s) in Cyclomatic Complexity — start with parser.rs (4). — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 3 forge_app finding(s) in Cyclomatic Complexity — start with utils.rs (2), response.rs. — One of this dimension's main actionable groups (3 warning-level).
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
69 function(s) exceeded the cognitive complexity threshold of 15; the worst was forge_app::utils::sanitize_gemini_schema at 107.
What to do
- Resolve the 10 UI finding(s) in Cognitive Complexity — start with ui.rs (10). — One of this dimension's main actionable groups (10 warning-level).
- Resolve the 5 forge_markdown_stream finding(s) in Cognitive Complexity — start with table.rs (3), utils.rs (2). — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 4 forge_app finding(s) in Cognitive Complexity — start with utils.rs (2), todo_fmt.rs, response.rs. — One of this dimension's main actionable groups (4 warning-level).
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
31 god class(es) detected.
What to do
- Resolve the 10 FileTooLong finding(s) in God Classes — start with ui.rs, preview.rs, strategy.rs. — One of this dimension's main actionable groups (10 warning-level).
- Resolve the 10 MethodTooLong finding(s) in God Classes — start with ui.rs (3), operation.rs, response.rs. — One of this dimension's main actionable groups (10 warning-level).
- Resolve the 6 FunctionTooLong finding(s) in God Classes — start with preview.rs (2), utils.rs, conversation_html.rs. — One of this dimension's main actionable groups (6 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
71 duplicated block group(s) detected. A further 2 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted.
What to do
- Resolve the 9 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with openai.rs (3), response.rs, github_copilot_reasoning.rs. — One of this dimension's main actionable groups (9 warning-level).
- Resolve the 7 Duplicated block (13 lines × 2) finding(s) in Code Duplication — start with anthropic.rs (3), response.rs, user_prompt.rs. — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 5 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with response.rs, schema_coercion.rs, template_engine.rs. — One of this dimension's main actionable groups (5 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
25 production modules (Cargo+npm), 0 dependency cycle(s), 3 unstable depended-on module(s). Read from the build's own module declarations; 8 module(s) off the main sequence, with abstractness counted on 23 of the 25 (the rest declare no modelled class or interface, export only macros, or have no source directory of their own).
What to do
- Resolve the 8 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 1 Unstable project forge_api finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Unstable project forge_infra finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
1 of 194 classes have LCOM4 above 3.
What to do
- Resolve the 1 Low cohesion finding(s) in Cohesion (LCOM4) — start with context.rs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
2686 test methods: 2629 unit, 57 integration, 0 BDD, 0 e2e. The Rust suite contributes 2686 `#[test]` function(s) across 254 file(s) declaring at least one; its unit/integration split is Cargo's own — 15 of those file(s) are integration-test targets under a crate's tests/ directory, and the rest are #[test] functions compiled into the crate they test.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
Top hotspots: crates/forge_domain/src/provider.rs (6×42=252); crates/forge_app/src/dto/anthropic/response.rs (5×17=85); crates/forge_repo/src/provider/openai_responses/repository.rs (2×16=32)
What to do
- Resolve the 3 Hotspot finding(s) in Churn × Complexity Hotspots — start with provider.rs, response.rs, repository.rs. — One of this dimension's main actionable groups (3 warning-level).
D16 · Bus Factor
14 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is crates/forge_json_repair/src/schema_coercion.rs. Counted over 288 of the 462 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
19 deducted task-comment markers across 116552 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 19 TodoComment finding(s) in Explicit Debt — start with agent_provider_resolver.rs (2), request.rs (2), user_prompt.rs. — One of this dimension's main actionable groups (19 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README is a clear one-page overview of Forge as an AI-enhanced terminal development environment with a shell-installation snippet and a table of contents covering Quickstart, Why Forge?, How Forge Works: Three Modes, ZSH Plugin, Command-Line Options, Advanced Configuration, and more. The benchmarks/README documents the benchmarks directory (a tooling tier), while the shell-plugin/, crates/forge_select/, skills/create-plan/, and bounty automation READMEs each document their own directories. All visible documents are well-structured with a consistent table of contents and clear headings; there is no single unshown section missing from any file. This is a well-structured best-practices document for writing detailed tool descriptions for Claude to use. It covers key principles (extremely detailed descriptions, comprehensive but concise, prioritize description over examples, register all tools in the registry), gives an example comparison with a clipped Good Tool Description Example section, and lists an outline of every named section present in the body. The content is focused on best practices rather than the project's own overview.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D22 · Internal API Consistency
7 API inconsistencies across a 400-member sample of 466 exposed types.
What to do
- Resolve the 5 Duplicate intent finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 1 Inconsistent naming and signature for shell execution finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Inconsistent return types for similar operations finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D26 · Project Cohesion
2 of 25 build units (Cargo) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
57 finding(s): 0 critical, 57 high, 0 medium, 0 low. 34 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 5 file(s) — `.forge/skills/write-release-notes/scripts/fetch-release-data.sh` (line 8), `scripts/benchmark.sh` (line 79), `scripts/list-all-porcelain.sh` (line 36), `scripts/test-zsh-utils.sh` (line 162, line 172, line 182, …), `shell-plugin/doctor.zsh` (line 196, lines 219–222, line 297, …) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 4 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 12 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (7), REDACTED (2), REDACTED (2). — One of this dimension's main actionable groups (12 issue-level).
- Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (4 issue-level).
- No action in Static Analysis (SAST) — all 34 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (34 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
20 finding(s): 0 critical, 5 high, 15 medium, 0 low.
What to do
- Resolve the 3 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 2 High vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 6 Medium vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED (6). — One of this dimension's main actionable groups (6 warning-level).
D34 · Knowledge Freshness
36 of 288 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is crates/forge_main/src/oauth_callback.rs. Counted over 288 of the 462 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 1 Orphaned knowledge finding(s) in Knowledge Freshness — start with oauth_callback.rs. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 Further orphaned files (smaller) finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
Strongest change-coupling: drop_tool_call.rs↔set_cache.rs 92%; orch.rs↔event.rs 88%; tool_executor.rs↔summary.rs 77%
What to do
- Resolve the 12 Change coupling finding(s) in Change Coupling — start with services.rs (2), drop_tool_call.rs, tool_executor.rs. — One of this dimension's main actionable groups (12 warning-level).
- Resolve the 4 Change-coupling hub finding(s) in Change Coupling — start with orch.rs, fmt_input.rs, executor.rs. — One of this dimension's main actionable groups (4 warning-level).
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 2 platform declaration(s) and 19 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AC3 · Page structure
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. — crates/forge_domain/src/snapshots/forge_domain__conversation_html__tests__conversation.snap.html:2
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC6 · Visual & motion safety
- `.agent-conversation a` sets color: #2563eb on background-color: #dbeafe — 4.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. (×2) — crates/forge_domain/src/snapshots/forge_domain__conversation_html__tests__conversation.snap.html:16, crates/forge_domain/src/conversation_style.css:256
What to do
- Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement
- No accessibility enforcement found — no a11y linter (an accessibility check that can read your UI — no component framework was detected and your pages are rendered by server-side templates, which neither the JSX/Vue ESLint plugins nor the HTML-template linters can parse; run axe/pa11y over the rendered pages, or assert the accessibility invariants over that rendered HTML in the test suite you already have) and no axe/pa11y/Lighthouse in tests or CI. Start by running that check over your rendered pages in CI. What was searched, so you can tell an absence from a miss: the 1 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility in the toolchain: add an accessibility check that can read your UI — no component framework was detected and your pages are rendered by server-side templates, which neither the JSX/Vue ESLint plugins nor the HTML-template linters can parse; run axe/pa11y over the rendered pages, or assert the accessibility invariants over that rendered HTML in the test suite you already have, then assert with your test runner's axe binding (jest-axe, vitest-axe, cypress-axe or @axe-core/playwright) in tests, then gate axe/pa11y/Lighthouse in CI.
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX8 · Test isolation
AX9 · CQS / query purity
DM4 · Rich vs anemic domain model
- `Walker` is a data-only domain entity with `pub` mutable state and no invariant-enforcing behaviour of its own, while the repo holds the logic in a foreign service/manager/use-case — the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants (or make it an immutable value object with private fields) rather than being driven from outside. — crates/forge_app/src/walker.rs:8
What to do
- Move the domain logic onto the entity (invariant-enforcing `&mut self` commands) instead of a foreign service.
DM5 · Encapsulated state
DM6 · Domain ↔ infrastructure boundary
ES1 · Fold determinism
ES2 · Immutable events
M1 · Documentation (README)
What to do
- Add a 'Testing' section to the root README — how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 24 of 25 project(s) that lack one — worth up to 1.9 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
M3 · Folder & project structure
M4 · Documentation accuracy
- README claims a ZSH `:` prefix plugin mode but the evidence shows no such feature — searched for: `ZSH `:` prefix`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong.
What to do
- Reconcile the README with reality: README claims a ZSH `:` prefix plugin mode but the evidence shows no such feature.
P1 · CI/CD gates
P2 · Observability
What to do
- Consider OpenTelemetry tracing/metrics (opentelemetry with tracing-opentelemetry) and a health-check endpoint (a /health route on your axum/actix router) for operability.
P3 · Security & performance tooling
What to do
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P6 · Release Hygiene
P8 · Schema migrations
PF3 · Async & latency hygiene
- `main` is async and calls readFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — benchmarks/evals/semantic_search_quality/llm_judge.ts:361
What to do
- TypeScript/JavaScript: use the promise APIs (fs/promises, a promisified child_process.execFile, the async zlib/crypto functions) and await them instead of the *Sync variants.
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 87% | Strong | Solid. |
| Architecture | 94% | Exemplary | Solid. |
| Maturity | 44% | Weak — gated by M2, M4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 85% | Strong | Solid. |
| Security | 57% | Adequate — gated by D29, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 90% | Strong | Solid. |
| Event Sourcing | 100% | Exemplary | Strongest area. |
| Accessibility | 30% | Weak — gated by AC6 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 85% | Strong | Solid. |
Unscored — 1 check(s) recorded observations but carry no score
- X9 Subsumed condition operand — 2 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 5 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 74 check(s) not relevant to this codebase
- AC1 Text alternatives — No image/media element found in the parsed markup — AC1 not applicable here.
- AC2 Forms & labels — No form control/button found in the parsed markup — AC2 not applicable here.
- AC4 Keyboard semantics — No interactive element found in the parsed markup — AC4 not applicable here.
- AC5 ARIA correctness — No ARIA usage found in the parsed markup — AC5 not applicable here.
- AX1 Captive dependencies — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX2 Stateful singletons — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AXB1 Runtime evidence locked — no reproducible boot — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D10 Test Quality — ~2055 lines of test source are present (.rs) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — the .rs suite was found but not re-run
- D12 Dependency Hygiene — Not scored — 43 direct Cargo declaration(s) were read, but the outdated signal needs crates.io, which could not be reached on this run, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — Not scored — this repository's 844 shipped crate(s) were read from its REDACTED, but crates.io could not be asked for the licence of 10 of them (HTTP 429 Unknown Error), and a licence verdict over part of a dependency graph is not a licence verdict. Nothing is asserted about this repository's licensing in either direction.
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — symbol resolution incomplete — navigability not assessed
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- DM1 Aggregate boundaries — this Rust crate declares no domain aggregate (a struct with private state and its own command methods), so DM1's aggregate-boundary read has no population to be taken over
- DM2 Strongly-typed ids — the crate defines newtype typed-ids but declares no domain aggregate that could carry an id — so DM2's adoption ratio has no population to be taken over
- DM3 Integration-event coupling — not scored — a domain type leaking across a crate boundary cannot be told apart from source alone from a legitimate shared-kernel crate. Reported as guidance rather than measured
- DM7 Repository granularity — not scored — detecting 'a repository per CHILD entity' needs the aggregate-root structure, which is not resolvable from source alone here. Reported as guidance rather than measured
- ED2 Event/command shape — not scored — deciding whether a command has more than one competing handler requires resolving the call graph, and a call made through an inferred or generic receiver has no resolvable owner in the source. Reported as guidance rather than measured
- ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P10 Library API & versioning — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the Rust source, so there is no service whose uptime a failing dependency could take down
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- PF2 Allocation hygiene — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X10 Duplicated predicate — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X27 Collection changed while being enumerated — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X28 Index access outside its own emptiness guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X7 Silent fallback defaults — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
Appendix A — Findings (grouped)
Critical — 64 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Orphaned knowledge crates/forge_main/src/oauth_callback.rs
- Anemic domain model: Walker crates/forge_app/src/walker.rs:8
Serious — 292 finding(s)
- TodoComment crates/forge_app/src/user_prompt.rs:595
- TodoComment crates/forge_app/src/services.rs:429
- TodoComment crates/forge_app/src/compact.rs:46
- TodoComment crates/forge_app/src/agent_provider_resolver.rs:35
- TodoComment crates/forge_app/src/agent_provider_resolver.rs:62
- TodoComment crates/forge_app/src/dto/anthropic/request.rs:407
- TodoComment crates/forge_app/src/dto/openai/request.rs:161
- TodoComment crates/forge_app/src/transformers/trim_context_summary.rs:40
- TodoComment crates/forge_domain/src/model.rs:33
- TodoComment crates/forge_domain/src/context.rs:294
- TodoComment crates/forge_domain/src/tools/catalog.rs:1188
- TodoComment crates/forge_infra/src/forge_infra.rs:38
- TodoComment crates/forge_main/src/state.rs:6
- TodoComment crates/forge_repo/src/conversation/conversation_record.rs:535
- TodoComment crates/forge_repo/src/provider/bedrock_cache.rs:16
- TodoComment crates/forge_services/src/policy.rs:69
- TodoComment crates/forge_services/src/tool_services/fs_patch.rs:494
- TodoComment crates/forge_tracker/src/collect/posthog.rs:97
- TodoComment crates/forge_walker/src/walker.rs:136
- Change coupling: drop_tool_call.rs ↔ set_cache.rs crates/forge_app/src/dto/openai/transformers/drop_tool_call.rs
- Change coupling: tool_executor.rs ↔ summary.rs crates/forge_app/src/tool_executor.rs
- Change coupling: attachment.rs ↔ shell.rs crates/forge_services/src/attachment.rs
- Change coupling: services.rs ↔ repo.rs crates/forge_app/src/services.rs
- Change coupling: forge_api.rs ↔ app_config.rs crates/forge_api/src/forge_api.rs
- Change coupling: services.rs ↔ lib.rs crates/forge_app/src/services.rs
- Change coupling: orch_setup.rs ↔ env.rs crates/forge_app/src/orch_spec/orch_setup.rs
- Change coupling: forge_infra.rs ↔ attachment.rs crates/forge_infra/src/forge_infra.rs
- Change coupling: prompt.rs ↔ state.rs crates/forge_main/src/prompt.rs
- Change coupling: banner.rs ↔ model.rs crates/forge_main/src/banner.rs
- Change coupling: env.rs ↔ shell.rs crates/forge_infra/src/env.rs
- Change coupling: operation.rs ↔ fs_read.rs crates/forge_app/src/operation.rs
- UI::handle_subcommands (cognitive 104) crates/forge_main/src/ui.rs:466
- UI::select_model (cognitive 45) crates/forge_main/src/ui.rs:2904
- UI::on_dump (cognitive 32) crates/forge_main/src/ui.rs:4067
- UI::on_show_models (cognitive 30) crates/forge_main/src/ui.rs:1426
- UI::run_inner (cognitive 29) crates/forge_main/src/ui.rs:358
- UI::on_command (cognitive 27) crates/forge_main/src/ui.rs:2167
- UI::handle_api_key_input (cognitive 27) crates/forge_main/src/ui.rs:3085
- UI::handle_chat_response (cognitive 25) crates/forge_main/src/ui.rs:4140
- UI::on_index (cognitive 21) crates/forge_main/src/ui.rs:4752
- UI::on_show_mcp_servers (cognitive 19) crates/forge_main/src/ui.rs:1730
- FileTooLong: src/ui.rs crates/forge_main/src/ui.rs
- FileTooLong: src/preview.rs crates/forge_select/src/preview.rs
- FileTooLong: auth/strategy.rs crates/forge_infra/src/auth/strategy.rs
- FileTooLong: src/services.rs crates/forge_app/src/services.rs
- FileTooLong: src/parser.rs crates/forge_json_repair/src/parser.rs
- FileTooLong: conversation/conversation_record.rs crates/forge_repo/src/conversation/conversation_record.rs
- FileTooLong: provider/bedrock.rs crates/forge_repo/src/provider/bedrock.rs
- FileTooLong: tools/catalog.rs crates/forge_domain/src/tools/catalog.rs
- FileTooLong: src/context.rs crates/forge_domain/src/context.rs
- FileTooLong: src/utils.rs crates/forge_app/src/utils.rs
- MethodTooLong: ToolOperation.into_tool_output crates/forge_app/src/operation.rs:235
- MethodTooLong: UI.handle_subcommands crates/forge_main/src/ui.rs:466
- MethodTooLong: UI.on_command crates/forge_main/src/ui.rs:2167
- MethodTooLong: ChatCompletionMessage.try_from crates/forge_app/src/dto/openai/response.rs:324
- MethodTooLong: ToolExecutor.call_internal crates/forge_app/src/tool_executor.rs:151
- MethodTooLong: JsonRepairParser.parse_string crates/forge_json_repair/src/parser.rs:348
- MethodTooLong: Orchestrator.run crates/forge_app/src/orch.rs:245
- MethodTooLong: UI.select_model crates/forge_main/src/ui.rs:2904
- MethodTooLong: Renderer.render_event crates/forge_markdown_stream/src/renderer.rs:126
- MethodTooLong: ForgeApp.chat crates/forge_app/src/app.rs:60
- Duplicated block (8 lines × 2) crates/forge_app/src/dto/openai/response.rs:349
- Duplicated block (8 lines × 2) crates/forge_app/src/dto/openai/transformers/github_copilot_reasoning.rs:20
- Duplicated block (8 lines × 2) crates/forge_domain/src/conversation_html.rs:29
- Duplicated block (8 lines × 2) crates/forge_eventsource_stream/src/event_stream.rs:246
- Duplicated block (8 lines × 2) crates/forge_repo/src/provider/openai.rs:73
- Duplicated block (8 lines × 2) crates/forge_repo/src/provider/openai.rs:113
- Duplicated block (8 lines × 2) crates/forge_services/src/tool_services/fs_patch.rs:271
- Duplicated block (8 lines × 2) crates/forge_repo/src/provider/openai.rs:331
- Duplicated block (8 lines × 2) crates/forge_main/src/ui.rs:4580
- Off the main sequence: forge_display
- Off the main sequence: forge_json_repair
- Off the main sequence: forge_select
- Off the main sequence: forge_stream
- Off the main sequence: forge_walker
- Off the main sequence: forge_config
- Off the main sequence: forge_fs
- Off the main sequence: forge_eventsource_stream
- Duplicated block (13 lines × 2) crates/forge_app/src/dto/openai/response.rs:384
- Duplicated block (13 lines × 2) crates/forge_app/src/user_prompt.rs:76
- Duplicated block (13 lines × 2) crates/forge_repo/src/provider/anthropic.rs:267
- Duplicated block (13 lines × 2) crates/forge_repo/src/provider/anthropic.rs:284
- Duplicated block (13 lines × 2) crates/forge_repo/src/provider/bedrock.rs:722
- Duplicated block (13 lines × 2) crates/forge_services/src/tool_services/fs_search.rs:330
- Duplicated block (13 lines × 2) crates/forge_repo/src/provider/anthropic.rs:302
- FunctionTooLong: forge_select::preview::draw_preview_ui crates/forge_select/src/preview.rs:875
- FunctionTooLong: forge_select::preview::run_select_ui_values crates/forge_select/src/preview.rs:289
- FunctionTooLong: forge_app::utils::sanitize_gemini_schema crates/forge_app/src/utils.rs:626
- FunctionTooLong: forge_domain::conversation_html::create_conversation_context_section crates/forge_domain/src/conversation_html.rs:288
- FunctionTooLong: forge_services::tool_services::fs_patch::apply_replacement crates/forge_services/src/tool_services/fs_patch.rs:202
- FunctionTooLong: forge_markdown_stream::table::wrap crates/forge_markdown_stream/src/table.rs:135
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- forge_markdown_stream::table::wrap (cognitive 99) crates/forge_markdown_stream/src/table.rs:135
- forge_markdown_stream::table::split_word_at_width (cognitive 59) crates/forge_markdown_stream/src/table.rs:304
- forge_markdown_stream::table::render_table (cognitive 25) crates/forge_markdown_stream/src/table.rs:10
- forge_markdown_stream::utils::collapse_ansi_codes (cognitive 22) crates/forge_markdown_stream/src/utils.rs:340
- forge_markdown_stream::utils::parse_atoms (cognitive 16) crates/forge_markdown_stream/src/utils.rs:261
- Duplicate intent: Both methods appear to retrieve the list of available tools. The naming convention differs ('get' vs 'list') and they reside in different service layers (API vs App), suggesting a lack of clear separation of concerns or a redundant wrapper.
- Duplicate intent: Both methods retrieve the list of available models. Similar to the tools issue, this duplication across API and App layers without clear distinction in signature or naming is inconsistent.
- Duplicate intent: Both methods retrieve all provider-specific models. The identical naming across different types suggests a copy-paste pattern or lack of abstraction, but the existence of both implies potential redundancy or unclear ownership.
- Duplicate intent: Both methods retrieve agent information. The API layer duplicates the repository method without a clear differentiator in the signature (both return generic Result).
- Duplicate intent: Both methods resolve the provider for a given agent. The API layer duplicates the resolver's functionality.
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (9 lines × 2) crates/forge_app/src/dto/openai/response.rs:360
- Duplicated block (9 lines × 2) crates/forge_json_repair/src/schema_coercion.rs:77
- Duplicated block (9 lines × 2) crates/forge_app/src/template_engine.rs:27
- Duplicated block (9 lines × 2) crates/forge_repo/src/agent.rs:89
- Duplicated block (9 lines × 2) crates/forge_app/src/operation.rs:250
- Duplicated block (7 lines × 2) crates/forge_domain/src/message.rs:44
- Duplicated block (7 lines × 2) crates/forge_domain/src/policies/policy.rs:39
- Duplicated block (7 lines × 2) crates/forge_spinner/src/lib.rs:151
- Duplicated block (7 lines × 2) crates/forge_infra/src/http.rs:273
- Duplicated block (7 lines × 2) crates/forge_app/src/operation.rs:533
- Duplicated block (5 lines × 2) crates/forge_domain/src/tool_order.rs:94
- Duplicated block (5 lines × 2) crates/forge_main/src/ui.rs:2495
- Duplicated block (5 lines × 2) crates/forge_markdown_stream/src/theme.rs:294
- Duplicated block (5 lines × 2) crates/forge_select/src/preview.rs:757
- Duplicated block (5 lines × 2) crates/forge_select/src/preview.rs:790
- UI::handle_subcommands (cyclomatic 83) crates/forge_main/src/ui.rs:466
- UI::on_command (cyclomatic 56) crates/forge_main/src/ui.rs:2167
- UI::select_model (cyclomatic 24) crates/forge_main/src/ui.rs:2904
- UI::handle_chat_response (cyclomatic 20) crates/forge_main/src/ui.rs:4140
- JsonRepairParser::parse_string (cyclomatic 37) crates/forge_json_repair/src/parser.rs:348
- JsonRepairParser::parse_unquoted_string (cyclomatic 25) crates/forge_json_repair/src/parser.rs:694
- JsonRepairParser::parse_number (cyclomatic 18) crates/forge_json_repair/src/parser.rs:595
- JsonRepairParser::parse_object (cyclomatic 17) crates/forge_json_repair/src/parser.rs:195
- forge_app::utils::sanitize_gemini_schema (cognitive 107) crates/forge_app/src/utils.rs:626
- forge_app::utils::enforce_strict_schema (cognitive 28) crates/forge_app/src/utils.rs:448
- forge_app::fmt::todo_fmt::format_todos_diff (cognitive 20) crates/forge_app/src/fmt/todo_fmt.rs:56
- forge_app::dto::anthropic::response::get_context_length (cognitive 16) crates/forge_app/src/dto/anthropic/response.rs:81
- JsonRepairParser::parse_string (cognitive 83) crates/forge_json_repair/src/parser.rs:348
- JsonRepairParser::parse_unquoted_string (cognitive 47) crates/forge_json_repair/src/parser.rs:694
- JsonRepairParser::parse_object (cognitive 33) crates/forge_json_repair/src/parser.rs:195
- JsonRepairParser::parse_number (cognitive 28) crates/forge_json_repair/src/parser.rs:595
- forge_select::preview::run_select_ui_values (cognitive 78) crates/forge_select/src/preview.rs:289
- forge_select::preview::draw_preview_ui (cognitive 57) crates/forge_select/src/preview.rs:875
- forge_select::preview::wrap_ansi_line (cognitive 27) crates/forge_select/src/preview.rs:1193
- forge_select::preview::handle_key_event (cognitive 18) crates/forge_select/src/preview.rs:622
- forge_domain::conversation_html::create_conversation_context_section (cognitive 55) crates/forge_domain/src/conversation_html.rs:288
- forge_domain::conversation_html::create_info_table (cognitive 24) crates/forge_domain/src/conversation_html.rs:136
- forge_domain::compact::summary::extract_tool_info (cognitive 21) crates/forge_domain/src/compact/summary.rs:339
- forge_domain::compact::strategy::find_sequence_preserving_last_n (cognitive 16) crates/forge_domain/src/compact/strategy.rs:81
- Change-coupling hub: orch.rs → agent_executor.rs, compact_config.rs, event.rs, system_context.rs, conversation.rs, template.rs crates/forge_app/src/orch.rs
- Change-coupling hub: fmt_input.rs → operation.rs, tool_executor.rs, summary.rs crates/forge_app/src/fmt/fmt_input.rs
- Change-coupling hub: executor.rs → operation.rs, attachment.rs, shell.rs crates/forge_infra/src/executor.rs
- Change-coupling hub: api.rs → command_generator.rs, services.rs, repo.rs, app_config.rs, conversation.rs crates/forge_api/src/api.rs
- Duplicated block (12 lines × 2) crates/forge_json_repair/src/parser.rs:616
- Duplicated block (12 lines × 2) crates/forge_json_repair/src/schema_coercion.rs:167
- Duplicated block (12 lines × 2) crates/forge_main/src/ui.rs:516
- Duplicated block (12 lines × 2) crates/forge_infra/src/auth/strategy.rs:185
- Duplicated block (10 lines × 2) crates/forge_json_repair/src/parser.rs:598
- Duplicated block (10 lines × 2) crates/forge_repo/src/provider/bedrock.rs:735
- Duplicated block (10 lines × 2) crates/forge_select/src/multi.rs:33
- Duplicated block (10 lines × 2) crates/forge_repo/src/provider/openai_responses/response.rs:206
- Duplicated block (6 lines × 2) crates/forge_infra/src/auth/strategy.rs:464
- Duplicated block (6 lines × 2) crates/forge_main/src/ui.rs:1043
- Duplicated block (6 lines × 2) crates/forge_main/src/ui.rs:1398
- Duplicated block (6 lines × 2) crates/forge_app/src/utils.rs:103
- forge_app::utils::sanitize_gemini_schema (cyclomatic 45) crates/forge_app/src/utils.rs:626
- forge_app::utils::enforce_strict_schema (cyclomatic 17) crates/forge_app/src/utils.rs:448
- forge_app::dto::anthropic::response::get_context_length (cyclomatic 17) crates/forge_app/src/dto/anthropic/response.rs:81
- forge_select::preview::run_select_ui_values (cyclomatic 43) crates/forge_select/src/preview.rs:289
- forge_select::preview::handle_key_event (cyclomatic 35) crates/forge_select/src/preview.rs:622
- forge_select::preview::draw_preview_ui (cyclomatic 28) crates/forge_select/src/preview.rs:875
- forge_markdown_stream::table::wrap (cyclomatic 33) crates/forge_markdown_stream/src/table.rs:135
- forge_markdown_stream::utils::collapse_ansi_codes (cyclomatic 29) crates/forge_markdown_stream/src/utils.rs:340
- forge_markdown_stream::table::split_word_at_width (cyclomatic 17) crates/forge_markdown_stream/src/table.rs:304
- Hotspot: crates/forge_domain/src/provider.rs crates/forge_domain/src/provider.rs:194
- Hotspot: crates/forge_app/src/dto/anthropic/response.rs crates/forge_app/src/dto/anthropic/response.rs:81
- Hotspot: crates/forge_repo/src/provider/openai_responses/repository.rs crates/forge_repo/src/provider/openai_responses/repository.rs:155
- forge_json_repair::schema_coercion::coerce_value_with_schema_object (cognitive 71) crates/forge_json_repair/src/schema_coercion.rs:38
- forge_json_repair::schema_coercion::coerce_array_value (cognitive 25) crates/forge_json_repair/src/schema_coercion.rs:323
- forge_json_repair::schema_coercion::try_coerce_string (cognitive 23) crates/forge_json_repair/src/schema_coercion.rs:243
- Low contrast colour pair in CSS (4.2:1) crates/forge_domain/src/snapshots/forge_domain__conversation_html__tests__conversation.snap.html:16
- Low contrast colour pair in CSS (4.2:1) crates/forge_domain/src/conversation_style.css:256
- forge_json_repair::schema_coercion::coerce_value_with_schema_object (cyclomatic 36) crates/forge_json_repair/src/schema_coercion.rs:38
- forge_json_repair::schema_coercion::try_coerce_string (cyclomatic 21) crates/forge_json_repair/src/schema_coercion.rs:243
- ChatCompletionMessage::try_from (cyclomatic 28) crates/forge_app/src/dto/openai/response.rs:324
- ChatCompletionMessage::try_from (cyclomatic 17) crates/forge_app/src/dto/google/response.rs:451
- forge_domain::compact::summary::extract_tool_info (cyclomatic 22) crates/forge_domain/src/compact/summary.rs:339
- forge_domain::conversation_html::create_conversation_context_section (cyclomatic 20) crates/forge_domain/src/conversation_html.rs:288
- ChatCompletionMessage::try_from (cognitive 76) crates/forge_app/src/dto/openai/response.rs:324
- ChatCompletionMessage::try_from (cognitive 35) crates/forge_app/src/dto/google/response.rs:451
- forge_main::zsh::paste::wrap_tokens (cognitive 20) crates/forge_main/src/zsh/paste.rs:141
- forge_main::highlighter::highlight_mentions (cognitive 17) crates/forge_main/src/highlighter.rs:74
- TooManyMethods: UI crates/forge_main/src/ui.rs:105
- TooManyMethods: JsonRepairParser crates/forge_json_repair/src/parser.rs:5
- ClassTooLong: JsonRepairParser crates/forge_json_repair/src/parser.rs:5
- ClassTooLong: ForgeRepo crates/forge_repo/src/forge_repo.rs:41
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (22 lines × 2) crates/forge_app/src/operation.rs:463
- Duplicated block (22 lines × 2) crates/forge_json_repair/src/schema_coercion.rs:135
- Duplicated block (15 lines × 2) crates/forge_app/src/utils.rs:19
- Duplicated block (15 lines × 2) crates/forge_json_repair/src/parser.rs:196
- Duplicated block (11 lines × 2) crates/forge_domain/src/conversation_html.rs:181
- Duplicated block (11 lines × 2) crates/forge_main/src/ui.rs:4091
- Duplicated block (10–11 lines × 2) crates/forge_main/src/conversation_selector.rs:72
- Duplicated block (10–11 lines × 2) crates/forge_main/src/ui.rs:1460
- Duplicated block (7 lines × 3) crates/forge_app/src/operation.rs:302
- Duplicated block (7 lines × 3) crates/forge_repo/src/provider/anthropic.rs:46
- Page without a main landmark crates/forge_domain/src/snapshots/forge_domain__conversation_html__tests__conversation.snap.html:2
- Accessibility enforcement below the top rung
- ToolOperation::into_tool_output (cyclomatic 51) crates/forge_app/src/operation.rs:235
- Renderer::render_event (cyclomatic 36) crates/forge_markdown_stream/src/renderer.rs:126
- ToolCatalog::to_content (cyclomatic 26) crates/forge_app/src/fmt/fmt_input.rs:9
- forge_fs::binary_detection::is_binary_internal (cyclomatic 19) crates/forge_fs/src/binary_detection.rs:43
- Walker::get_blocking (cyclomatic 19) crates/forge_walker/src/walker.rs:118
- Agent::apply_config (cyclomatic 18) crates/forge_app/src/agent.rs:95
- ContextSummary::from (cyclomatic 17) crates/forge_domain/src/compact/summary.rs:218
- ToolCallFull::try_from_parts (cyclomatic 17) crates/forge_domain/src/tools/call/tool_call.rs:106
- ForgeCommandManager::parse (cyclomatic 17) crates/forge_main/src/model.rs:288
- OpenAIResponsesProvider::get_headers_for_conversation (cyclomatic 17) crates/forge_repo/src/provider/openai_responses/repository.rs:76
- forge_services::tool_services::fs_patch::apply_replacement (cyclomatic 17) crates/forge_services/src/tool_services/fs_patch.rs:202
- Response::into_domain (cyclomatic 16) crates/forge_repo/src/provider/openai_responses/response.rs:156
- DiffFormat::format (cyclomatic 16) crates/forge_display/src/diff.rs:50
- OpenAIProvider::get_headers (cyclomatic 16) crates/forge_repo/src/provider/openai.rs:72
- ForgeProviderRepository::migrate_env_to_file (cyclomatic 16) crates/forge_repo/src/provider/provider_repo.rs:337
- ToolOperation::into_tool_output (cognitive 82) crates/forge_app/src/operation.rs:235
- ContextSummary::from (cognitive 46) crates/forge_domain/src/compact/summary.rs:218
- Response::into_domain (cognitive 43) crates/forge_repo/src/provider/openai_responses/response.rs:156
- DiffFormat::format (cognitive 37) crates/forge_display/src/diff.rs:50
- ForgeProviderAuthService::refresh_provider_credential (cognitive 34) crates/forge_services/src/provider_auth.rs:149
- ToolCallFull::try_from_parts (cognitive 33) crates/forge_domain/src/tools/call/tool_call.rs:106
- Orchestrator::run (cognitive 28) crates/forge_app/src/orch.rs:245
- forge_infra::auth::strategy::poll_for_tokens (cognitive 28) crates/forge_infra/src/auth/strategy.rs:794
- ZshRPrompt::fmt (cognitive 26) crates/forge_main/src/zsh/rprompt.rs:98
- forge_services::tool_services::fs_patch::apply_replacement (cognitive 25) crates/forge_services/src/tool_services/fs_patch.rs:202
- Message::from_domain (cognitive 24) crates/forge_repo/src/provider/bedrock.rs:762
- ForgeCommandManager::parse (cognitive 24) crates/forge_main/src/model.rs:288
- DoomLoopDetector::count_recent_pattern_repetitions (cognitive 22) crates/forge_app/src/hooks/doom_loop.rs:117
- forge_fs::binary_detection::is_binary_internal (cognitive 22) crates/forge_fs/src/binary_detection.rs:43
- ForgeMcpClient::create_connection (cognitive 21) crates/forge_infra/src/mcp_client.rs:95
- ForgeSkillRepository::load_skills_from_dir (cognitive 21) crates/forge_repo/src/skill.rs:119
- ForgeFetch::check_robots_txt (cognitive 21) crates/forge_services/src/tool_services/fetch.rs:31
- Walker::get_blocking (cognitive 21) crates/forge_walker/src/walker.rs:118
- SanitizeToolIds::transform (cognitive 20) crates/forge_repo/src/provider/bedrock_sanitize_ids.rs:29
- forge_tool_macros::derive_description (cognitive 19) crates/forge_tool_macros/src/lib.rs:16
- Request::from (cognitive 18) crates/forge_app/src/dto/google/request.rs:302
- TrimToolCallIds::transform (cognitive 18) crates/forge_app/src/dto/openai/transformers/trim_tool_call_ids.rs:12
- ForgeProviderRepository::migrate_env_to_file (cognitive 18) crates/forge_repo/src/provider/provider_repo.rs:337
- AgentExecutor::execute (cognitive 17) crates/forge_app/src/agent_executor.rs:42
- ContextMessage::to_text (cognitive 17) crates/forge_domain/src/context.rs:113
- ForgeDirectoryReaderService::read_directory_files (cognitive 17) crates/forge_infra/src/fs_read_dir.rs:68
- ForgePrompt::render_prompt_right (cognitive 17) crates/forge_main/src/prompt.rs:116
- ForgeFsSearch::search_content (cognitive 17) crates/forge_services/src/tool_services/fs_search.rs:421
- ForgeHttpInfra::new (cognitive 16) crates/forge_infra/src/http.rs:39
- Info::from (cognitive 16) crates/forge_main/src/info.rs:418
- Renderer::render_event (cognitive 16) crates/forge_markdown_stream/src/renderer.rs:126
- Inconsistent naming and signature for shell execution: The API exposes `execute_shell_command` and `execute_shell_command_raw`, while the underlying infrastructure exposes `execute_command` and `execute_command_raw`. The 'shell' prefix is inconsistent between layers. Additionally, the parameters differ significantly (API uses `working_dir` and no `env_vars` explicitly in the raw version, while Infra uses `env_vars` and `silent`), making the mapping unclear.
- Inconsistent return types for similar operations: `API.get_agent_model` returns `ModelId` directly, while `AgentProviderResolver.get_model` returns `Result`. This inconsistency in error handling (one throws/panics on failure, the other returns a Result) is confusing for API consumers.
- TooManyFields: ForgeConfig crates/forge_config/src/config.rs:121
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Near-duplicate member pair (33 shared lines) crates/forge_repo/src/provider/openai.rs:72
- Members sharing a duplicated core (4 members, 50+ identical tokens) crates/forge_repo/src/provider/anthropic.rs:368
- Duplicated block (26–27 lines × 2) crates/forge_markdown_stream/src/table.rs:149
- Duplicated block (24 lines × 2) crates/forge_services/src/tool_services/fs_patch.rs:514
- Duplicated block (19–20 lines × 2) crates/forge_infra/src/mcp_client.rs:407
- Duplicated block (17–18 lines × 2) crates/forge_infra/src/auth/strategy.rs:243
- Duplicated block (16–18 lines × 2) crates/forge_main/src/conversation_selector.rs:58
- Duplicated block (14–17 lines × 2) crates/forge_main/src/ui.rs:3163
- Duplicated block (14–16 lines × 2) crates/forge_main/src/conversation_selector.rs:54
- Duplicated block (16 lines × 2) crates/forge_repo/src/provider/openai.rs:83
- Duplicated block (13–16 lines × 2) crates/forge_services/src/provider_auth.rs:37
- Duplicated block (14 lines × 2) crates/forge_services/src/auth.rs:25
- Duplicated block (11 lines × 4) crates/forge_json_repair/src/schema_coercion.rs:135
- Duplicated block (11 lines × 3) crates/forge_main/src/conversation_selector.rs:58
- Duplicated block (6–10 lines × 3) crates/forge_app/src/dto/anthropic/response.rs:362
- Duplicated block (9 lines × 4) crates/forge_repo/src/provider/anthropic.rs:372
- Duplicated block (8–9 lines × 2) crates/forge_services/src/tool_services/fs_patch.rs:320
- Duplicated block (7–8 lines × 2) crates/forge_main/src/ui.rs:2174
- Duplicated block (6–7 lines × 2) crates/forge_main/src/ui.rs:1450
- Duplicated block (5 lines × 3) crates/forge_services/src/tool_services/fs_patch.rs:249
- Unstable project forge_api
- Unstable project forge_infra
- Unstable project forge_repo
- Low cohesion: Context (LCOM4 4) crates/forge_domain/src/context.rs:401
- Sync-over-async blocking benchmarks/evals/semantic_search_quality/llm_judge.ts:361
Minor — 14 finding(s)
- Off-boarding risk: anonymized user #1
- Off-boarding risk: anonymized user #2
- Subsumed condition operand benchmarks/parse.ts:37
- Subsumed condition operand crates/forge_main/src/prompt.rs:433
- Further sole-owners (lower concentration)
- No ADRs found
- Projects may be oversized for their cohesion
- Further orphaned files (smaller)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- README/code drift
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-e2bef107abb5411684084fb93af9aa52/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-e2bef107abb5411684084fb93af9aa52/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 57 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 20 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |