Executive summary
Band capped at Adequate: the weakest category (Security, 40%) reads Weak — the cover never out-promises the category table.
Preview (pre-1.0). This repo hasn't declared a stable release, so it's judged against a relaxed, pre-production bar.
The system holds an adequate overall standing of 68%, reflecting a robust foundation that carries real operational risk. While the code is clean and the architecture is sound, the asset is large, representing approximately 4.1 person-years of value. Rebuilding this would cost roughly €600,000, making it a significant business investment that requires careful stewardship to protect delivery speed and reliability.
The primary risk lies in production readiness, which scores only 58%. This gap means the system lacks the necessary safeguards for safe, continuous operation. Without proper timeouts and release gates, a single failure can cascade, causing outages or delaying releases. This weakness threatens the reliability of the service and increases the cost of maintaining stability, as teams must manually intervene to prevent bad builds from reaching users.
A secondary concern is security exposure, particularly regarding leaked secrets. Although the overall security score is 79%, the presence of two confirmed leaked secrets in test files poses an immediate threat. If these credentials are compromised, the business faces potential data breaches and compliance violations. Addressing this is critical to reducing security exposure and ensuring that sensitive information remains protected from unauthorized access.
Despite these risks, the system has genuine strengths. The code health is excellent at 88%, and domain modeling is perfect, indicating that the core logic is well-structured and maintainable. This high quality reduces the long-term cost of changes and makes it easier for new engineers to understand the system. These strengths provide a solid base for improvement, allowing the team to focus on operational gaps without rewriting core logic.
The highest-leverage action is to resolve the leaked secrets immediately. This small effort yields significant risk reduction and should be prioritized above all else. Once secured, the team should implement whole-request timeouts and release gates to bolster production readiness. This focused approach protects the substantial investment in the system while enhancing its operational resilience and security posture.
Raise Readiness 58 → 70 (the Healthy floor) ⇒ headline 68 → ~73.
New since the last scan (100+)
- D1 · rig_cassette::ecs::delivery::collect_replayed (cyclomatic 37) crates/rig-cassette/src/ecs/delivery.rs
- D1 · ReplayDelivery::new (cyclomatic 35) crates/rig-cassette/src/ecs/delivery.rs
- D1 · MessagesDecoder::interpret_content (cyclomatic 29) crates/rig-core/src/providers/anthropic/streaming.rs
- D1 · xtask::cassette::scan::scan (cyclomatic 27) xtask/src/cassette/scan.rs
- D1 · File::compare (cyclomatic 25) xtask/src/cassette/audit.rs
- D1 · rig_core::providers::openai::responses_api::input_items (cyclomatic 24) crates/rig-core/src/providers/openai/responses_api/mod.rs
- D1 · rig_ecs::checkpoint::validate (cyclomatic 24) crates/rig-ecs/src/checkpoint.rs
- D1 · rig_cassette::ecs::delivery::deliver_stream (cyclomatic 23) crates/rig-cassette/src/ecs/delivery.rs
- D1 · rig_core::driver::read (cyclomatic 23) crates/rig-core/src/driver.rs
- D1 · Message::from_message (cyclomatic 22) crates/rig-core/src/providers/anthropic/completion.rs
- D1 · StreamState::process_event (cyclomatic 21) crates/rig-bedrock/src/streaming.rs
- D1 · InteractionsDecoder::decode (cyclomatic 21) crates/rig-core/src/providers/gemini/interactions_api/streaming.rs
- D1 · xtask::cassette::scan::key_shape (cyclomatic 21) xtask/src/cassette/scan.rs
- D1 · rig_cassette::ecs::identity::required_row (cyclomatic 19) crates/rig-cassette/src/ecs/identity.rs
- D1 · Caching::send (cyclomatic 19) crates/rig-core/src/client/gemini_caching.rs
- D1 · GenerateContentDecoder::decode (cyclomatic 18) crates/rig-core/src/providers/gemini/streaming.rs
- D1 · Buffered::poll (cyclomatic 17) crates/rig-cassette/src/ecs/delivery.rs
- D1 · HttpExchange::streaming (cyclomatic 17) crates/rig-core/src/driver/http_transport.rs
- D1 · File::header (cyclomatic 17) xtask/src/cassette/audit.rs
- D1 · Session::record_one (cyclomatic 17) xtask/src/cassette/record.rs
- D1 · GenerateContentDecoder::interpret_part (cyclomatic 16) crates/rig-core/src/providers/gemini/streaming.rs
- D1 · rig_ecs::agent::checkpoint::validate (cyclomatic 16) crates/rig-ecs/src/agent/checkpoint.rs
- D1 · xtask::cassette::goldens::inserted_per_batch (cyclomatic 16) xtask/src/cassette/goldens.rs
- D2 · rig_cassette::ecs::delivery::collect_replayed (cognitive 65) crates/rig-cassette/src/ecs/delivery.rs
- D2 · ReplayDelivery::new (cognitive 57) crates/rig-cassette/src/ecs/delivery.rs
- D2 · MessagesDecoder::interpret_content (cognitive 47) crates/rig-core/src/providers/anthropic/streaming.rs
- D2 · rig_cassette::ecs::delivery::deliver_stream (cognitive 44) crates/rig-cassette/src/ecs/delivery.rs
- D2 · xtask::cassette::scan::scan (cognitive 43) xtask/src/cassette/scan.rs
- D2 · rig_core::providers::openai::responses_api::input_items (cognitive 42) crates/rig-core/src/providers/openai/responses_api/mod.rs
- D2 · rig_ecs::checkpoint::validate (cognitive 38) crates/rig-ecs/src/checkpoint.rs
- D2 · File::compare (cognitive 37) xtask/src/cassette/audit.rs
- D2 · EffectLogReplayer::serve (cognitive 36) crates/rig-cassette/src/effect_log/replay.rs
- D2 · rig_core::driver::read (cognitive 34) crates/rig-core/src/driver.rs
- D2 · InteractionsDecoder::decode (cognitive 33) crates/rig-core/src/providers/gemini/interactions_api/streaming.rs
- D2 · xtask::cassette::owner::module_map (cognitive 32) xtask/src/cassette/owner.rs
- D2 · rig_cassette::http::relay::advance_body (cognitive 31) crates/rig-cassette/src/http/relay.rs
- D2 · rig_core::providers::openai::wire::chat::finalize_deepseek (cognitive 31) crates/rig-core/src/providers/openai/wire/chat.rs
- D2 · Message::from_message (cognitive 30) crates/rig-core/src/providers/anthropic/completion.rs
- D2 · rig_ecs::systems::gather_turn (cognitive 30) crates/rig-ecs/src/systems/mod.rs
- D2 · HttpExchange::streaming (cognitive 29) crates/rig-core/src/driver/http_transport.rs
- D2 · StreamState::process_event (cognitive 26) crates/rig-bedrock/src/streaming.rs
- D2 · Buffered::poll (cognitive 26) crates/rig-cassette/src/ecs/delivery.rs
- D2 · rig_cassette::ecs::identity::required_row (cognitive 25) crates/rig-cassette/src/ecs/identity.rs
- D2 · Caching::send (cognitive 23) crates/rig-core/src/client/gemini_caching.rs
- D2 · xtask::cassette::goldens::inserted_per_batch (cognitive 23) xtask/src/cassette/goldens.rs
- D2 · GenerateContentDecoder::decode (cognitive 22) crates/rig-core/src/providers/gemini/streaming.rs
- D2 · rig_ecs::checkpoint::restore::load_world (cognitive 22) crates/rig-ecs/src/checkpoint/restore.rs
- D2 · ChatDecoder::interpret_chunk (cognitive 21) crates/rig-core/src/providers/openai/wire/chat.rs
- D2 · rig_ecs::systems::advance (cognitive 21) crates/rig-ecs/src/systems/mod.rs
- D2 · File::header (cognitive 21) xtask/src/cassette/audit.rs
- D2 · xtask::bevy::check (cognitive 21) xtask/src/bevy.rs
- D2 · rig_ecs::systems::read_turn (cognitive 20) crates/rig-ecs/src/systems/mod.rs
- D2 · xtask::cassette::scan::key_shape (cognitive 20) xtask/src/cassette/scan.rs
- D2 · EffectLogReplayer::check_header (cognitive 19) crates/rig-cassette/src/effect_log/replay.rs
- D2 · GenerateContentDecoder::interpret_part (cognitive 19) crates/rig-core/src/providers/gemini/streaming.rs
- D2 · rig_core::providers::openai::completion::assistant_content_to_messages (cognitive 19) crates/rig-core/src/providers/openai/completion/mod.rs
- D2 · rig_ecs::systems::fold (cognitive 19) crates/rig-ecs/src/systems/mod.rs
- D2 · rig_ecs::systems::judge_invalid_calls (cognitive 19) crates/rig-ecs/src/systems/mod.rs
- D2 · rig_typesafeai::questions::validate_definition (cognitive 19) crates/rig-typesafeai/src/questions.rs
- D2 · rig_vertexai::types::completion_response::assistant_content (cognitive 19) crates/rig-vertexai/src/types/completion_response.rs
- D2 · Session::record_one (cognitive 19) xtask/src/cassette/record.rs
- D2 · xtask::cassette::spend::spend (cognitive 19) xtask/src/cassette/spend.rs
- D2 · xtask::cassette::record::run (cognitive 19) xtask/src/cassette/record.rs
- D2 · CassetteScrubber::scrub_json_value (cognitive 18) crates/rig-cassette/src/http/mod.rs
- D2 · rig_ecs::checkpoint::spawn_into (cognitive 18) crates/rig-ecs/src/checkpoint.rs
- D2 · GrpcAdapter::interpret_part (cognitive 18) crates/rig-gemini-grpc/src/streaming.rs
- D2 · xtask::cassette::audit::run (cognitive 18) xtask/src/cassette/audit.rs
- D2 · ChatDecoder::interpret_stream (cognitive 17) crates/rig-core/src/providers/cohere/streaming.rs
- D2 · BinaryAssets::resolve (cognitive 17) crates/rig-ecs/src/agent/content/binary.rs
- D2 · rig_ecs::agent::checkpoint::validate (cognitive 17) crates/rig-ecs/src/agent/checkpoint.rs
- D2 · rig_typesafeai::questions::validate (cognitive 17) crates/rig-typesafeai/src/questions.rs
- D2 · File::stream (cognitive 17) xtask/src/cassette/audit.rs
- D2 · xtask::cassette::audit::block_parts (cognitive 17) xtask/src/cassette/audit.rs
- D2 · rig_cassette::http::ledger::clean_up (cognitive 16) crates/rig-cassette/src/http/ledger.rs
- D2 · rig_cassette::ecs::identity::builder_spec_json (cognitive 16) crates/rig-cassette/src/ecs/identity.rs
- D2 · OllamaDecoder::interpret_record (cognitive 16) crates/rig-core/src/providers/ollama.rs
- D2 · rig_core::providers::openai::wire::chat::refuse_file_ids (cognitive 16) crates/rig-core/src/providers/openai/wire/chat.rs
- D3 · FileTooLong: http/mod.rs crates/rig-cassette/src/http/mod.rs
- D3 · FileTooLong: wire/chat.rs crates/rig-core/src/providers/openai/wire/chat.rs
- D3 · FileTooLong: operation/completion.rs crates/rig-core/src/operation/completion.rs
- D3 · FileTooLong: wire/modality.rs crates/rig-core/src/providers/openai/wire/modality.rs
- D3 · FunctionTooLong: rig_cassette::ecs::delivery::collect_replayed crates/rig-cassette/src/ecs/delivery.rs
- D3 · MethodTooLong: ReplayDelivery.new crates/rig-cassette/src/ecs/delivery.rs
- D3 · TooManyMethods: OpenAIConfig crates/rig-core/src/providers/openai/wire.rs
- D3 · MethodTooLong: MessagesDecoder.interpret_content crates/rig-core/src/providers/anthropic/streaming.rs
- D3 · FunctionTooLong: rig_core::providers::openai::responses_api::input_items crates/rig-core/src/providers/openai/responses_api/mod.rs
- D3 · MethodTooLong: Message.from_message crates/rig-core/src/providers/anthropic/completion.rs
- D3 · FileTooLong: openai/wire.rs crates/rig-core/src/providers/openai/wire.rs
- D3 · FunctionTooLong: rig_ecs::systems::gather_turn crates/rig-ecs/src/systems/mod.rs
- D3 · TooManyFields: Quirks crates/rig-core/src/providers/openai/wire.rs
- D3 · MethodTooLong: CacheBook.plan crates/rig-core/src/providers/gemini/caching.rs
- D3 · MethodTooLong: Content.try_from crates/rig-vertexai/src/types/message.rs
- D3 · FileTooLong: cassette/audit.rs xtask/src/cassette/audit.rs
- D3 · FileTooLong: agent/mod.rs crates/rig-ecs/src/agent/mod.rs
- D3 · TooManyMethods: Out crates/rig-core/src/wire.rs
- D3 · FileTooLong: src/pose.rs crates/rig-candle/src/pose.rs
- D3 · FileTooLong: gemini/caching.rs crates/rig-core/src/providers/gemini/caching.rs
- D3 · FileTooLong: ecs/delivery.rs crates/rig-cassette/src/ecs/delivery.rs
- D3 · FunctionTooLong: rig_cassette::ecs::identity::spec_json crates/rig-cassette/src/ecs/identity.rs
- D3 · MethodTooLong: StreamState.process_event crates/rig-bedrock/src/streaming.rs
Rebuild cost & value ~ Modeled — €200,000–€1,000,000
| Cost to rebuild | €200,000–€1,000,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 1.0× (at 68% 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 ~4.1 person-years of build effort (about ~€600,000 to rebuild). Its weakest lens is Readiness at 58% — 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 rig_bedrock.types.converse_output | 2 rig_candle.types | 3 rig_core.completion.message.identity | 4 rig_core.providers.gemini.completion.erased_wire | 5 rig_core.vector_store.request | 6 rig_http.http_client.framing | 7 rig_core.providers.gemini.completion.gemini_api_types | 8 rig_core.completion.request | 9 rig_typesafeai.types | 10 rig_http.http_client | 11 rig_core.observe.adapter | 12 rig_http.wasm_compat | 13 rig_core.tool.context | 14 rig_core.vector_store | 15 rig_ecs.agent | 16 rig_agent.bus.handle | 17 rig_core.completion.message | 18 rig_core.error | 19 rig_agent.run | 20 rig_core.effect | 21 rig_agent.bus.dispatcher | 22 rig_cassette.effect_log.log | 23 rig_core.effect.family | 24 rig_agent.agent.hook | 25 rig_core.operation.completion | 26 rig_core.serve.handler | 27 rig_core.tool.contextual | 28 rig_core.wire | 29 rig_ecs.bus.effect | 30 rig_agent.bus.driver | 31 rig_core.driver.dyn_model | 32 rig_core.providers.anthropic.wire | 33 rig_typesafeai.questions | 34 rig_agent.agent.completion | 35 rig_core.driver | 36 rig_core.providers.gemini | 37 rig_core.providers.openai.wire | 38 rig_agent.agent.engine | 39 rig_core.client.openai | 40 rig_test_support.goldens |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 rig_bedrock.types.converse_output | ||||||||||||||||||||||||||||||||||||||||
| 2 rig_candle.types | ||||||||||||||||||||||||||||||||||||||||
| 3 rig_core.completion.message.identity | ||||||||||||||||||||||||||||||||||||||||
| 4 rig_core.providers.gemini.completion.erased_wire | ||||||||||||||||||||||||||||||||||||||||
| 5 rig_core.vector_store.request | ||||||||||||||||||||||||||||||||||||||||
| 6 rig_http.http_client.framing | ||||||||||||||||||||||||||||||||||||||||
| 7 rig_core.providers.gemini.completion.gemini_api_types | 1 | 2 | 2 | 6 | ||||||||||||||||||||||||||||||||||||
| 8 rig_core.completion.request | 3 | 3 | 1 | 3 | 5 | |||||||||||||||||||||||||||||||||||
| 9 rig_typesafeai.types | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 rig_http.http_client | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 11 rig_core.observe.adapter | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 12 rig_http.wasm_compat | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 rig_core.tool.context | 2 | |||||||||||||||||||||||||||||||||||||||
| 14 rig_core.vector_store | 1 | 4 | ||||||||||||||||||||||||||||||||||||||
| 15 rig_ecs.agent | 2 | 3 | 1 | 8 | 1 | |||||||||||||||||||||||||||||||||||
| 16 rig_agent.bus.handle | 1 | 3 | 2 | 1 | 1 | 9 | 6 | |||||||||||||||||||||||||||||||||
| 17 rig_core.completion.message | 1 | 10 | 1 | |||||||||||||||||||||||||||||||||||||
| 18 rig_core.error | 1 | 1 | 4 | 1 | 1 | 2 | ||||||||||||||||||||||||||||||||||
| 19 rig_agent.run | 2 | 2 | 6 | 4 | 8 | 1 | ||||||||||||||||||||||||||||||||||
| 20 rig_core.effect | 2 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 21 rig_agent.bus.dispatcher | 3 | 5 | 4 | 3 | 16 | |||||||||||||||||||||||||||||||||||
| 22 rig_cassette.effect_log.log | 1 | 6 | ||||||||||||||||||||||||||||||||||||||
| 23 rig_core.effect.family | 8 | 1 | 6 | 15 | ||||||||||||||||||||||||||||||||||||
| 24 rig_agent.agent.hook | 3 | 1 | 3 | 1 | 2 | 5 | 1 | 4 | 3 | 1 | 2 | 2 | 1 | 1 | 12 | 1 | 1 | |||||||||||||||||||||||
| 25 rig_core.operation.completion | 1 | 3 | 2 | 3 | 1 | 1 | 3 | 1 | 4 | |||||||||||||||||||||||||||||||
| 26 rig_core.serve.handler | 2 | 4 | 1 | 2 | 11 | 2 | ||||||||||||||||||||||||||||||||||
| 27 rig_core.tool.contextual | 2 | 1 | 4 | 4 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||
| 28 rig_core.wire | 2 | 1 | 1 | 3 | 2 | 1 | 4 | 4 | 6 | |||||||||||||||||||||||||||||||
| 29 rig_ecs.bus.effect | 2 | 3 | 7 | 2 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 30 rig_agent.bus.driver | 1 | 1 | 2 | 1 | 5 | 2 | 3 | 1 | ||||||||||||||||||||||||||||||||
| 31 rig_core.driver.dyn_model | 2 | 2 | 2 | 3 | 1 | |||||||||||||||||||||||||||||||||||
| 32 rig_core.providers.anthropic.wire | 3 | 1 | 2 | 12 | ||||||||||||||||||||||||||||||||||||
| 33 rig_typesafeai.questions | 9 | 2 | 8 | |||||||||||||||||||||||||||||||||||||
| 34 rig_agent.agent.completion | 3 | 1 | 2 | 2 | 1 | 3 | 1 | 1 | 2 | 1 | 1 | |||||||||||||||||||||||||||||
| 35 rig_core.driver | 1 | 4 | 2 | 1 | 3 | 1 | 5 | 2 | ||||||||||||||||||||||||||||||||
| 36 rig_core.providers.gemini | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 37 rig_core.providers.openai.wire | 2 | 1 | 4 | 1 | ||||||||||||||||||||||||||||||||||||
| 38 rig_agent.agent.engine | 4 | 1 | 1 | 3 | 1 | 2 | 1 | 5 | 1 | 8 | 5 | 1 | 7 | 3 | ||||||||||||||||||||||||||
| 39 rig_core.client.openai | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 40 rig_test_support.goldens | 2 | 1 | 5 | 2 | 1 | 37 | 6 | 1 | 5 | 190 | 10 | 2 | 1 | 3 |
7→1 rig_core.providers.gemini.completion.gemini_api_types depends on rig_bedrock.types.converse_output✕
- Type pairs
- 1 distinct (type in rig_core.providers.gemini.completion.gemini_api_types → type in rig_bedrock.types.converse_output) reference.
- Which types
rig_core.providers.gemini.completion.gemini_api_types.Content→rig_bedrock.types.converse_output.Message
- Direction
- rig_core.providers.gemini.completion.gemini_api_types uses rig_bedrock.types.converse_output. Changing rig_bedrock.types.converse_output can break rig_core.providers.gemini.completion.gemini_api_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→2 rig_core.providers.gemini.completion.gemini_api_types depends on rig_candle.types✕
- Type pairs
- 2 distinct (type in rig_core.providers.gemini.completion.gemini_api_types → type in rig_candle.types) references.
- Which types
rig_core.providers.gemini.completion.gemini_api_types.ContentCandidate→rig_candle.types.FinishReasonrig_core.providers.gemini.completion.gemini_api_types.gemini_api_types$module→rig_candle.types.FinishReason
- Direction
- rig_core.providers.gemini.completion.gemini_api_types uses rig_candle.types. Changing rig_candle.types can break rig_core.providers.gemini.completion.gemini_api_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→16 rig_core.providers.gemini.completion.gemini_api_types depends on rig_agent.bus.handle cycle✕
- Type pairs
- 2 distinct (type in rig_core.providers.gemini.completion.gemini_api_types → type in rig_agent.bus.handle) references.
- Which types
rig_core.providers.gemini.completion.gemini_api_types.FunctionCall→rig_agent.bus.handle.ToolCallrig_core.providers.gemini.completion.gemini_api_types.Part→rig_agent.bus.handle.ToolCall
- Direction
- rig_core.providers.gemini.completion.gemini_api_types uses rig_agent.bus.handle. Changing rig_agent.bus.handle can break rig_core.providers.gemini.completion.gemini_api_types, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
7→17 rig_core.providers.gemini.completion.gemini_api_types depends on rig_core.completion.message cycle✕
- Type pairs
- 6 distinct (type in rig_core.providers.gemini.completion.gemini_api_types → type in rig_core.completion.message) references.
- Which types
rig_core.providers.gemini.completion.gemini_api_types.FunctionCallingMode→rig_core.completion.message.ToolChoicerig_core.providers.gemini.completion.gemini_api_types.Part→rig_core.completion.message.AssistantContentrig_core.providers.gemini.completion.gemini_api_types.Part→rig_core.completion.message.UserContentrig_core.providers.gemini.completion.gemini_api_types.gemini_api_types$module→rig_core.completion.message.DocumentSourceKindrig_core.providers.gemini.completion.gemini_api_types.gemini_api_types$module→rig_core.completion.message.Imagerig_core.providers.gemini.completion.gemini_api_types.gemini_api_types$module→rig_core.completion.message.ImageMediaType
- Direction
- rig_core.providers.gemini.completion.gemini_api_types uses rig_core.completion.message. Changing rig_core.completion.message can break rig_core.providers.gemini.completion.gemini_api_types, 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→1 rig_core.completion.request depends on rig_bedrock.types.converse_output✕
- Type pairs
- 3 distinct (type in rig_core.completion.request → type in rig_bedrock.types.converse_output) references.
- Which types
rig_core.completion.request.CompletionRequest→rig_bedrock.types.converse_output.Messagerig_core.completion.request.CompletionResponse→rig_bedrock.types.converse_output.Messagerig_core.completion.request.request$module→rig_bedrock.types.converse_output.Message
- Direction
- rig_core.completion.request uses rig_bedrock.types.converse_output. Changing rig_bedrock.types.converse_output can break rig_core.completion.request, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→2 rig_core.completion.request depends on rig_candle.types✕
- Type pairs
- 3 distinct (type in rig_core.completion.request → type in rig_candle.types) references.
- Which types
rig_core.completion.request.CompletionResponse→rig_candle.types.FinishReasonrig_core.completion.request.CompletionResponseRepr→rig_candle.types.FinishReasonrig_core.completion.request.Usage→rig_candle.types.CandleCompletionResponse
- Direction
- rig_core.completion.request uses rig_candle.types. Changing rig_candle.types can break rig_core.completion.request, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→3 rig_core.completion.request depends on rig_core.completion.message.identity✕
- Type pairs
- 1 distinct (type in rig_core.completion.request → type in rig_core.completion.message.identity) reference.
- Which types
rig_core.completion.request.ToolDefinition→rig_core.completion.message.identity.ToolName
- Direction
- rig_core.completion.request uses rig_core.completion.message.identity. Changing rig_core.completion.message.identity can break rig_core.completion.request, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→7 rig_core.completion.request depends on rig_core.providers.gemini.completion.gemini_api_types✕
- Type pairs
- 3 distinct (type in rig_core.completion.request → type in rig_core.providers.gemini.completion.gemini_api_types) references.
- Which types
rig_core.completion.request.CompletionRequest→rig_core.providers.gemini.completion.gemini_api_types.Schemarig_core.completion.request.Usage→rig_core.providers.gemini.completion.gemini_api_types.GenerateContentResponserig_core.completion.request.Usage→rig_core.providers.gemini.completion.gemini_api_types.UsageMetadata
- Direction
- rig_core.completion.request uses rig_core.providers.gemini.completion.gemini_api_types. Changing rig_core.providers.gemini.completion.gemini_api_types can break rig_core.completion.request, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→17 rig_core.completion.request depends on rig_core.completion.message cycle✕
- Type pairs
- 5 distinct (type in rig_core.completion.request → type in rig_core.completion.message) references.
- Which types
rig_core.completion.request.CompletionRequest→rig_core.completion.message.Documentrig_core.completion.request.CompletionRequest→rig_core.completion.message.ToolChoicerig_core.completion.request.CompletionResponse→rig_core.completion.message.AssistantContentrig_core.completion.request.CompletionResponseRepr→rig_core.completion.message.AssistantContentrig_core.completion.request.request$module→rig_core.completion.message.Reasoning
- Direction
- rig_core.completion.request uses rig_core.completion.message. Changing rig_core.completion.message can break rig_core.completion.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.
9→8 rig_typesafeai.types depends on rig_core.completion.request✕
- Type pairs
- 1 distinct (type in rig_typesafeai.types → type in rig_core.completion.request) reference.
- Which types
rig_typesafeai.types.Response→rig_core.completion.request.Usage
- Direction
- rig_typesafeai.types uses rig_core.completion.request. Changing rig_core.completion.request can break rig_typesafeai.types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→9 rig_http.http_client depends on rig_typesafeai.types✕
- Type pairs
- 2 distinct (type in rig_http.http_client → type in rig_typesafeai.types) references.
- Which types
rig_http.http_client.HttpClientExt→rig_typesafeai.types.Requestrig_http.http_client.http_client$module→rig_typesafeai.types.Response
- Direction
- rig_http.http_client uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_http.http_client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→12 rig_http.http_client depends on rig_http.wasm_compat cycle✕
- Type pairs
- 2 distinct (type in rig_http.http_client → type in rig_http.wasm_compat) references.
- Which types
rig_http.http_client.HttpClientExt→rig_http.wasm_compat.WasmCompatSendrig_http.http_client.HttpClientExt→rig_http.wasm_compat.WasmCompatSync
- Direction
- rig_http.http_client uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_http.http_client, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
11→9 rig_core.observe.adapter depends on rig_typesafeai.types✕
- Type pairs
- 1 distinct (type in rig_core.observe.adapter → type in rig_typesafeai.types) reference.
- Which types
rig_core.observe.adapter.AdapterContext→rig_typesafeai.types.Request
- Direction
- rig_core.observe.adapter uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_core.observe.adapter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→10 rig_core.observe.adapter depends on rig_http.http_client✕
- Type pairs
- 1 distinct (type in rig_core.observe.adapter → type in rig_http.http_client) reference.
- Which types
rig_core.observe.adapter.AdapterErrorBoundary→rig_http.http_client.Error
- Direction
- rig_core.observe.adapter uses rig_http.http_client. Changing rig_http.http_client can break rig_core.observe.adapter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→18 rig_core.observe.adapter depends on rig_core.error cycle✕
- Type pairs
- 1 distinct (type in rig_core.observe.adapter → type in rig_core.error) reference.
- Which types
rig_core.observe.adapter.AdapterSlot→rig_core.error.ProviderError
- Direction
- rig_core.observe.adapter uses rig_core.error. Changing rig_core.error can break rig_core.observe.adapter, 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→10 rig_http.wasm_compat depends on rig_http.http_client✕
- Type pairs
- 1 distinct (type in rig_http.wasm_compat → type in rig_http.http_client) reference.
- Which types
rig_http.wasm_compat.Elapsed→rig_http.http_client.Error
- Direction
- rig_http.wasm_compat uses rig_http.http_client. Changing rig_http.http_client can break rig_http.wasm_compat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→12 rig_core.tool.context depends on rig_http.wasm_compat✕
- Type pairs
- 2 distinct (type in rig_core.tool.context → type in rig_http.wasm_compat) references.
- Which types
rig_core.tool.context.AnyClone→rig_http.wasm_compat.WasmCompatSendrig_core.tool.context.AnyClone→rig_http.wasm_compat.WasmCompatSync
- Direction
- rig_core.tool.context uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_core.tool.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→5 rig_core.vector_store depends on rig_core.vector_store.request✕
- Type pairs
- 1 distinct (type in rig_core.vector_store → type in rig_core.vector_store.request) reference.
- Which types
rig_core.vector_store.VectorStoreIndex→rig_core.vector_store.request.VectorSearchRequest
- Direction
- rig_core.vector_store uses rig_core.vector_store.request. Changing rig_core.vector_store.request can break rig_core.vector_store, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→12 rig_core.vector_store depends on rig_http.wasm_compat✕
- Type pairs
- 4 distinct (type in rig_core.vector_store → type in rig_http.wasm_compat) references.
- Which types
rig_core.vector_store.InsertDocuments→rig_http.wasm_compat.WasmCompatSendrig_core.vector_store.InsertDocuments→rig_http.wasm_compat.WasmCompatSyncrig_core.vector_store.VectorStoreIndex→rig_http.wasm_compat.WasmCompatSendrig_core.vector_store.VectorStoreIndex→rig_http.wasm_compat.WasmCompatSync
- Direction
- rig_core.vector_store uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_core.vector_store, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→1 rig_ecs.agent depends on rig_bedrock.types.converse_output✕
- Type pairs
- 2 distinct (type in rig_ecs.agent → type in rig_bedrock.types.converse_output) references.
- Which types
rig_ecs.agent.MessageParts→rig_bedrock.types.converse_output.Messagerig_ecs.agent.Reprompt→rig_bedrock.types.converse_output.Message
- Direction
- rig_ecs.agent uses rig_bedrock.types.converse_output. Changing rig_bedrock.types.converse_output can break rig_ecs.agent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→3 rig_ecs.agent depends on rig_core.completion.message.identity✕
- Type pairs
- 3 distinct (type in rig_ecs.agent → type in rig_core.completion.message.identity) references.
- Which types
rig_ecs.agent.InvalidCall→rig_core.completion.message.identity.CallIdrig_ecs.agent.ToolCallSlot→rig_core.completion.message.identity.CallIdrig_ecs.agent.ToolCallSlot→rig_core.completion.message.identity.ToolName
- Direction
- rig_ecs.agent uses rig_core.completion.message.identity. Changing rig_core.completion.message.identity can break rig_ecs.agent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→13 rig_ecs.agent depends on rig_core.tool.context✕
- Type pairs
- 1 distinct (type in rig_ecs.agent → type in rig_core.tool.context) reference.
- Which types
rig_ecs.agent.ToolContextSpec→rig_core.tool.context.ToolContext
- Direction
- rig_ecs.agent uses rig_core.tool.context. Changing rig_core.tool.context can break rig_ecs.agent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→17 rig_ecs.agent depends on rig_core.completion.message cycle✕
- Type pairs
- 8 distinct (type in rig_ecs.agent → type in rig_core.completion.message) references.
- Which types
rig_ecs.agent.InvalidCall→rig_core.completion.message.AssistantContentrig_ecs.agent.MessageParts→rig_core.completion.message.AssistantContentrig_ecs.agent.MessageParts→rig_core.completion.message.UserContentrig_ecs.agent.Outputs→rig_core.completion.message.AssistantContentrig_ecs.agent.Prompt→rig_core.completion.message.UserContentrig_ecs.agent.RequestPatch→rig_core.completion.message.Documentrig_ecs.agent.RequestPatch→rig_core.completion.message.ToolChoicerig_ecs.agent.ToolChoiceSpec→rig_core.completion.message.ToolChoice
- Direction
- rig_ecs.agent uses rig_core.completion.message. Changing rig_core.completion.message can break rig_ecs.agent, 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→24 rig_ecs.agent depends on rig_agent.agent.hook cycle✕
- Type pairs
- 1 distinct (type in rig_ecs.agent → type in rig_agent.agent.hook) reference.
- Which types
rig_ecs.agent.agent$module→rig_agent.agent.hook.HookContext
- Direction
- rig_ecs.agent uses rig_agent.agent.hook. Changing rig_agent.agent.hook can break rig_ecs.agent, 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→9 rig_agent.bus.handle depends on rig_typesafeai.types✕
- Type pairs
- 1 distinct (type in rig_agent.bus.handle → type in rig_typesafeai.types) reference.
- Which types
rig_agent.bus.handle.Handle→rig_typesafeai.types.Request
- Direction
- rig_agent.bus.handle uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_agent.bus.handle, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→13 rig_agent.bus.handle depends on rig_core.tool.context✕
- Type pairs
- 3 distinct (type in rig_agent.bus.handle → type in rig_core.tool.context) references.
- Which types
rig_agent.bus.handle.ToolAnswer→rig_core.tool.context.ToolContextrig_agent.bus.handle.ToolCall→rig_core.tool.context.PublishedContextrig_agent.bus.handle.ToolCall→rig_core.tool.context.ToolContext
- Direction
- rig_agent.bus.handle uses rig_core.tool.context. Changing rig_core.tool.context can break rig_agent.bus.handle, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→15 rig_agent.bus.handle depends on rig_ecs.agent✕
- Type pairs
- 2 distinct (type in rig_agent.bus.handle → type in rig_ecs.agent) references.
- Which types
rig_agent.bus.handle.ToolCall→rig_ecs.agent.Contextrig_agent.bus.handle.Typed→rig_ecs.agent.Context
- Direction
- rig_agent.bus.handle uses rig_ecs.agent. Changing rig_ecs.agent can break rig_agent.bus.handle, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→17 rig_agent.bus.handle depends on rig_core.completion.message cycle✕
- Type pairs
- 1 distinct (type in rig_agent.bus.handle → type in rig_core.completion.message) reference.
- Which types
rig_agent.bus.handle.ToolAnswer→rig_core.completion.message.ToolResult
- Direction
- rig_agent.bus.handle uses rig_core.completion.message. Changing rig_core.completion.message can break rig_agent.bus.handle, 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→18 rig_agent.bus.handle depends on rig_core.error cycle✕
- Type pairs
- 1 distinct (type in rig_agent.bus.handle → type in rig_core.error) reference.
- Which types
rig_agent.bus.handle.handle$module→rig_core.error.ErrorReport
- Direction
- rig_agent.bus.handle uses rig_core.error. Changing rig_core.error can break rig_agent.bus.handle, 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→20 rig_agent.bus.handle depends on rig_core.effect cycle✕
- Type pairs
- 9 distinct (type in rig_agent.bus.handle → type in rig_core.effect) references.
- Which types
rig_agent.bus.handle.Handle→rig_core.effect.EffectKindrig_agent.bus.handle.Handle→rig_core.effect.HandlerDescriptorrig_agent.bus.handle.Handle→rig_core.effect.HandlerKeyrig_agent.bus.handle.ToolCall→rig_core.effect.EffectIdrig_agent.bus.handle.Typed→rig_core.effect.EffectIdrig_agent.bus.handle.handle$module→rig_core.effect.EffectFamilyrig_agent.bus.handle.handle$module→rig_core.effect.FamilyDescriptorrig_agent.bus.handle.handle$module→rig_core.effect.HandlerKeyrig_agent.bus.handle.handle$module→rig_core.effect.RetrievedDocuments
- Direction
- rig_agent.bus.handle uses rig_core.effect. Changing rig_core.effect can break rig_agent.bus.handle, 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→21 rig_agent.bus.handle depends on rig_agent.bus.dispatcher cycle✕
- Type pairs
- 6 distinct (type in rig_agent.bus.handle → type in rig_agent.bus.dispatcher) references.
- Which types
rig_agent.bus.handle.DispatchScope→rig_agent.bus.dispatcher.Dispatcherrig_agent.bus.handle.Handle→rig_agent.bus.dispatcher.Dispatcherrig_agent.bus.handle.Handle→rig_agent.bus.dispatcher.Pendingrig_agent.bus.handle.ToolCall→rig_agent.bus.dispatcher.Pendingrig_agent.bus.handle.Typed→rig_agent.bus.dispatcher.Pendingrig_agent.bus.handle.handle$module→rig_agent.bus.dispatcher.EffectStream
- Direction
- rig_agent.bus.handle uses rig_agent.bus.dispatcher. Changing rig_agent.bus.dispatcher can break rig_agent.bus.handle, 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→1 rig_core.completion.message depends on rig_bedrock.types.converse_output✕
- Type pairs
- 1 distinct (type in rig_core.completion.message → type in rig_bedrock.types.converse_output) reference.
- Which types
rig_core.completion.message.Message→rig_bedrock.types.converse_output.Message
- Direction
- rig_core.completion.message uses rig_bedrock.types.converse_output. Changing rig_bedrock.types.converse_output can break rig_core.completion.message, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→3 rig_core.completion.message depends on rig_core.completion.message.identity✕
- Type pairs
- 10 distinct (type in rig_core.completion.message → type in rig_core.completion.message.identity) references.
- Which types
rig_core.completion.message.AssistantContent→rig_core.completion.message.identity.ToolNamerig_core.completion.message.Message→rig_core.completion.message.identity.CallIdrig_core.completion.message.Message→rig_core.completion.message.identity.ToolNamerig_core.completion.message.Reasoning→rig_core.completion.message.identity.Sealedrig_core.completion.message.ToolCall→rig_core.completion.message.identity.CallIdrig_core.completion.message.ToolFunction→rig_core.completion.message.identity.ToolNamerig_core.completion.message.ToolResult→rig_core.completion.message.identity.CallIdrig_core.completion.message.ToolResult→rig_core.completion.message.identity.ToolNamerig_core.completion.message.UserContent→rig_core.completion.message.identity.CallIdrig_core.completion.message.UserContent→rig_core.completion.message.identity.ToolName
- Direction
- rig_core.completion.message uses rig_core.completion.message.identity. Changing rig_core.completion.message.identity can break rig_core.completion.message, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→16 rig_core.completion.message depends on rig_agent.bus.handle✕
- Type pairs
- 1 distinct (type in rig_core.completion.message → type in rig_agent.bus.handle) reference.
- Which types
rig_core.completion.message.Message→rig_agent.bus.handle.ToolCall
- Direction
- rig_core.completion.message uses rig_agent.bus.handle. Changing rig_agent.bus.handle can break rig_core.completion.message, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→2 rig_core.error depends on rig_candle.types✕
- Type pairs
- 1 distinct (type in rig_core.error → type in rig_candle.types) reference.
- Which types
rig_core.error.ProviderError→rig_candle.types.CandleError
- Direction
- rig_core.error uses rig_candle.types. Changing rig_candle.types can break rig_core.error, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→3 rig_core.error depends on rig_core.completion.message.identity✕
- Type pairs
- 1 distinct (type in rig_core.error → type in rig_core.completion.message.identity) reference.
- Which types
rig_core.error.MalformedToolInput→rig_core.completion.message.identity.CallId
- Direction
- rig_core.error uses rig_core.completion.message.identity. Changing rig_core.completion.message.identity can break rig_core.error, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→10 rig_core.error depends on rig_http.http_client✕
- Type pairs
- 4 distinct (type in rig_core.error → type in rig_http.http_client) references.
- Which types
rig_core.error.EncodeError→rig_http.http_client.Errorrig_core.error.ErrorReport→rig_http.http_client.Errorrig_core.error.ProviderError→rig_http.http_client.Errorrig_core.error.error$module→rig_http.http_client.Error
- Direction
- rig_core.error uses rig_http.http_client. Changing rig_http.http_client can break rig_core.error, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→11 rig_core.error depends on rig_core.observe.adapter✕
- Type pairs
- 1 distinct (type in rig_core.error → type in rig_core.observe.adapter) reference.
- Which types
rig_core.error.ProviderError→rig_core.observe.adapter.AdapterErrorBoundary
- Direction
- rig_core.error uses rig_core.observe.adapter. Changing rig_core.observe.adapter can break rig_core.error, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→14 rig_core.error depends on rig_core.vector_store✕
- Type pairs
- 1 distinct (type in rig_core.error → type in rig_core.vector_store) reference.
- Which types
rig_core.error.ErrorReport→rig_core.vector_store.VectorStoreError
- Direction
- rig_core.error uses rig_core.vector_store. Changing rig_core.vector_store can break rig_core.error, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→17 rig_core.error depends on rig_core.completion.message✕
- Type pairs
- 2 distinct (type in rig_core.error → type in rig_core.completion.message) references.
- Which types
rig_core.error.EncodeError→rig_core.completion.message.MessageErrorrig_core.error.ProviderError→rig_core.completion.message.MessageError
- Direction
- rig_core.error uses rig_core.completion.message. Changing rig_core.completion.message can break rig_core.error, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→1 rig_agent.run depends on rig_bedrock.types.converse_output✕
- Type pairs
- 2 distinct (type in rig_agent.run → type in rig_bedrock.types.converse_output) references.
- Which types
rig_agent.run.AgentRun→rig_bedrock.types.converse_output.Messagerig_agent.run.run$module→rig_bedrock.types.converse_output.Message
- Direction
- rig_agent.run uses rig_bedrock.types.converse_output. Changing rig_bedrock.types.converse_output can break rig_agent.run, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→2 rig_agent.run depends on rig_candle.types✕
- Type pairs
- 2 distinct (type in rig_agent.run → type in rig_candle.types) references.
- Which types
rig_agent.run.AgentRun→rig_candle.types.FinishReasonrig_agent.run.ModelTurn→rig_candle.types.FinishReason
- Direction
- rig_agent.run uses rig_candle.types. Changing rig_candle.types can break rig_agent.run, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→8 rig_agent.run depends on rig_core.completion.request✕
- Type pairs
- 6 distinct (type in rig_agent.run → type in rig_core.completion.request) references.
- Which types
rig_agent.run.AgentRun→rig_core.completion.request.ResponseIdentityrig_agent.run.AgentRun→rig_core.completion.request.ToolDefinitionrig_agent.run.AgentRun→rig_core.completion.request.Usagerig_agent.run.ModelTurn→rig_core.completion.request.CompletionResponserig_agent.run.ModelTurn→rig_core.completion.request.Usagerig_agent.run.TurnTools→rig_core.completion.request.ToolDefinition
- Direction
- rig_agent.run uses rig_core.completion.request. Changing rig_core.completion.request can break rig_agent.run, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→16 rig_agent.run depends on rig_agent.bus.handle✕
- Type pairs
- 4 distinct (type in rig_agent.run → type in rig_agent.bus.handle) references.
- Which types
rig_agent.run.AgentRun→rig_agent.bus.handle.ToolCallrig_agent.run.InvalidToolCallDiagnostic→rig_agent.bus.handle.ToolCallrig_agent.run.PendingToolCall→rig_agent.bus.handle.ToolCallrig_agent.run.run$module→rig_agent.bus.handle.ToolCall
- Direction
- rig_agent.run uses rig_agent.bus.handle. Changing rig_agent.bus.handle can break rig_agent.run, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→17 rig_agent.run depends on rig_core.completion.message✕
- Type pairs
- 8 distinct (type in rig_agent.run → type in rig_core.completion.message) references.
- Which types
rig_agent.run.AgentRun→rig_core.completion.message.AssistantContentrig_agent.run.AgentRun→rig_core.completion.message.ToolChoicerig_agent.run.AgentRun→rig_core.completion.message.ToolResultrig_agent.run.AgentRun→rig_core.completion.message.UserContentrig_agent.run.ModelTurn→rig_core.completion.message.AssistantContentrig_agent.run.PendingToolCall→rig_core.completion.message.UserContentrig_agent.run.ResolvingState→rig_core.completion.message.AssistantContentrig_agent.run.TurnState→rig_core.completion.message.AssistantContent
- Direction
- rig_agent.run uses rig_core.completion.message. Changing rig_core.completion.message can break rig_agent.run, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→18 rig_agent.run depends on rig_core.error✕
- Type pairs
- 1 distinct (type in rig_agent.run → type in rig_core.error) reference.
- Which types
rig_agent.run.run$module→rig_core.error.ErrorReport
- Direction
- rig_agent.run uses rig_core.error. Changing rig_core.error can break rig_agent.run, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→3 rig_core.effect depends on rig_core.completion.message.identity✕
- Type pairs
- 2 distinct (type in rig_core.effect → type in rig_core.completion.message.identity) references.
- Which types
rig_core.effect.Family→rig_core.completion.message.identity.Sealedrig_core.effect.Served→rig_core.completion.message.identity.Sealed
- Direction
- rig_core.effect uses rig_core.completion.message.identity. Changing rig_core.completion.message.identity can break rig_core.effect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→9 rig_core.effect depends on rig_typesafeai.types✕
- Type pairs
- 1 distinct (type in rig_core.effect → type in rig_typesafeai.types) reference.
- Which types
rig_core.effect.Family→rig_typesafeai.types.Request
- Direction
- rig_core.effect uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_core.effect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→12 rig_core.effect depends on rig_http.wasm_compat✕
- Type pairs
- 1 distinct (type in rig_core.effect → type in rig_http.wasm_compat) reference.
- Which types
rig_core.effect.CustomEffect→rig_http.wasm_compat.WasmCompatSend
- Direction
- rig_core.effect uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_core.effect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→13 rig_core.effect depends on rig_core.tool.context✕
- Type pairs
- 1 distinct (type in rig_core.effect → type in rig_core.tool.context) reference.
- Which types
rig_core.effect.EffectRecord→rig_core.tool.context.ToolResultContext
- Direction
- rig_core.effect uses rig_core.tool.context. Changing rig_core.tool.context can break rig_core.effect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→18 rig_core.effect depends on rig_core.error✕
- Type pairs
- 1 distinct (type in rig_core.effect → type in rig_core.error) reference.
- Which types
rig_core.effect.Family→rig_core.error.ErrorReport
- Direction
- rig_core.effect uses rig_core.error. Changing rig_core.error can break rig_core.effect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→11 rig_agent.bus.dispatcher depends on rig_core.observe.adapter✕
- Type pairs
- 3 distinct (type in rig_agent.bus.dispatcher → type in rig_core.observe.adapter) references.
- Which types
rig_agent.bus.dispatcher.Command→rig_core.observe.adapter.AdapterContextrig_agent.bus.dispatcher.DispatchOptions→rig_core.observe.adapter.AdapterContextrig_agent.bus.dispatcher.Dispatcher→rig_core.observe.adapter.AdapterContext
- Direction
- rig_agent.bus.dispatcher uses rig_core.observe.adapter. Changing rig_core.observe.adapter can break rig_agent.bus.dispatcher, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→13 rig_agent.bus.dispatcher depends on rig_core.tool.context✕
- Type pairs
- 5 distinct (type in rig_agent.bus.dispatcher → type in rig_core.tool.context) references.
- Which types
rig_agent.bus.dispatcher.Command→rig_core.tool.context.PublishedContextrig_agent.bus.dispatcher.Command→rig_core.tool.context.ToolContextrig_agent.bus.dispatcher.DispatchOptions→rig_core.tool.context.ToolContextrig_agent.bus.dispatcher.Dispatcher→rig_core.tool.context.ToolContextrig_agent.bus.dispatcher.Pending→rig_core.tool.context.PublishedContext
- Direction
- rig_agent.bus.dispatcher uses rig_core.tool.context. Changing rig_core.tool.context can break rig_agent.bus.dispatcher, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→15 rig_agent.bus.dispatcher depends on rig_ecs.agent✕
- Type pairs
- 4 distinct (type in rig_agent.bus.dispatcher → type in rig_ecs.agent) references.
- Which types
rig_agent.bus.dispatcher.CancelWait→rig_ecs.agent.Contextrig_agent.bus.dispatcher.EffectStream→rig_ecs.agent.Contextrig_agent.bus.dispatcher.Pending→rig_ecs.agent.Contextrig_agent.bus.dispatcher.Shared→rig_ecs.agent.Context
- Direction
- rig_agent.bus.dispatcher uses rig_ecs.agent. Changing rig_ecs.agent can break rig_agent.bus.dispatcher, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→18 rig_agent.bus.dispatcher depends on rig_core.error✕
- Type pairs
- 3 distinct (type in rig_agent.bus.dispatcher → type in rig_core.error) references.
- Which types
rig_agent.bus.dispatcher.Dispatcher→rig_core.error.ErrorReportrig_agent.bus.dispatcher.Reply→rig_core.error.ErrorReportrig_agent.bus.dispatcher.dispatcher$module→rig_core.error.ErrorReport
- Direction
- rig_agent.bus.dispatcher uses rig_core.error. Changing rig_core.error can break rig_agent.bus.dispatcher, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→20 rig_agent.bus.dispatcher depends on rig_core.effect✕
- Type pairs
- 16 distinct (type in rig_agent.bus.dispatcher → type in rig_core.effect) references.
- Which types
rig_agent.bus.dispatcher.Command→rig_core.effect.EffectIdrig_agent.bus.dispatcher.Command→rig_core.effect.EffectKindrig_agent.bus.dispatcher.Command→rig_core.effect.HandlerKeyrig_agent.bus.dispatcher.DispatchOptions→rig_core.effect.EffectIdrig_agent.bus.dispatcher.Dispatcher→rig_core.effect.EffectIdrig_agent.bus.dispatcher.Dispatcher→rig_core.effect.EffectKindrig_agent.bus.dispatcher.Dispatcher→rig_core.effect.HandlerDescriptorrig_agent.bus.dispatcher.Dispatcher→rig_core.effect.HandlerKeyrig_agent.bus.dispatcher.EffectStream→rig_core.effect.EffectIdrig_agent.bus.dispatcher.InFlightEntry→rig_core.effect.HandlerKeyrig_agent.bus.dispatcher.Lineage→rig_core.effect.EffectIdrig_agent.bus.dispatcher.Pending→rig_core.effect.EffectIdrig_agent.bus.dispatcher.Shared→rig_core.effect.EffectIdrig_agent.bus.dispatcher.Shared→rig_core.effect.HandlerDescriptorrig_agent.bus.dispatcher.Shared→rig_core.effect.HandlerKeyrig_agent.bus.dispatcher.dispatcher$module→rig_core.effect.HandlerKey
- Direction
- rig_agent.bus.dispatcher uses rig_core.effect. Changing rig_core.effect can break rig_agent.bus.dispatcher, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→18 rig_cassette.effect_log.log depends on rig_core.error✕
- Type pairs
- 1 distinct (type in rig_cassette.effect_log.log → type in rig_core.error) reference.
- Which types
rig_cassette.effect_log.log.RecordedStreamError→rig_core.error.ErrorReport
- Direction
- rig_cassette.effect_log.log uses rig_core.error. Changing rig_core.error can break rig_cassette.effect_log.log, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→20 rig_cassette.effect_log.log depends on rig_core.effect✕
- Type pairs
- 6 distinct (type in rig_cassette.effect_log.log → type in rig_core.effect) references.
- Which types
rig_cassette.effect_log.log.Checkpoint→rig_core.effect.EffectIdrig_cassette.effect_log.log.EffectLog→rig_core.effect.EffectRecordrig_cassette.effect_log.log.LogHeader→rig_core.effect.Deliveryrig_cassette.effect_log.log.LogHeader→rig_core.effect.EffectRowrig_cassette.effect_log.log.LogHeader→rig_core.effect.HandlerDescriptorrig_cassette.effect_log.log.ProgramIdentity→rig_core.effect.EffectRow
- Direction
- rig_cassette.effect_log.log uses rig_core.effect. Changing rig_core.effect can break rig_cassette.effect_log.log, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→3 rig_core.effect.family depends on rig_core.completion.message.identity✕
- Type pairs
- 8 distinct (type in rig_core.effect.family → type in rig_core.completion.message.identity) references.
- Which types
rig_core.effect.family.Completion→rig_core.completion.message.identity.Sealedrig_core.effect.family.Custom→rig_core.completion.message.identity.Sealedrig_core.effect.family.Dynamic→rig_core.completion.message.identity.Sealedrig_core.effect.family.Embed→rig_core.completion.message.identity.Sealedrig_core.effect.family.Memory→rig_core.completion.message.identity.Sealedrig_core.effect.family.Rerank→rig_core.completion.message.identity.Sealedrig_core.effect.family.Retrieve→rig_core.completion.message.identity.Sealedrig_core.effect.family.Tool→rig_core.completion.message.identity.Sealed
- Direction
- rig_core.effect.family uses rig_core.completion.message.identity. Changing rig_core.completion.message.identity can break rig_core.effect.family, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→8 rig_core.effect.family depends on rig_core.completion.request✕
- Type pairs
- 1 distinct (type in rig_core.effect.family → type in rig_core.completion.request) reference.
- Which types
rig_core.effect.family.Tool→rig_core.completion.request.ToolDefinition
- Direction
- rig_core.effect.family uses rig_core.completion.request. Changing rig_core.completion.request can break rig_core.effect.family, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→9 rig_core.effect.family depends on rig_typesafeai.types✕
- Type pairs
- 6 distinct (type in rig_core.effect.family → type in rig_typesafeai.types) references.
- Which types
rig_core.effect.family.Completion→rig_typesafeai.types.Requestrig_core.effect.family.Embed→rig_typesafeai.types.Requestrig_core.effect.family.Memory→rig_typesafeai.types.Requestrig_core.effect.family.Rerank→rig_typesafeai.types.Requestrig_core.effect.family.Retrieve→rig_typesafeai.types.Requestrig_core.effect.family.Tool→rig_typesafeai.types.Request
- Direction
- rig_core.effect.family uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_core.effect.family, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→20 rig_core.effect.family depends on rig_core.effect✕
- Type pairs
- 15 distinct (type in rig_core.effect.family → type in rig_core.effect) references.
- Which types
rig_core.effect.family.Completion→rig_core.effect.Familyrig_core.effect.family.Completion→rig_core.effect.Outcomerig_core.effect.family.Custom→rig_core.effect.Familyrig_core.effect.family.Custom→rig_core.effect.Outcomerig_core.effect.family.Dynamic→rig_core.effect.Servedrig_core.effect.family.Embed→rig_core.effect.Familyrig_core.effect.family.Embed→rig_core.effect.Outcomerig_core.effect.family.Memory→rig_core.effect.Familyrig_core.effect.family.Memory→rig_core.effect.Outcomerig_core.effect.family.Rerank→rig_core.effect.Familyrig_core.effect.family.Rerank→rig_core.effect.Outcomerig_core.effect.family.Retrieve→rig_core.effect.Familyrig_core.effect.family.Retrieve→rig_core.effect.Outcomerig_core.effect.family.Tool→rig_core.effect.Familyrig_core.effect.family.Tool→rig_core.effect.Outcome
- Direction
- rig_core.effect.family uses rig_core.effect. Changing rig_core.effect can break rig_core.effect.family, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→1 rig_agent.agent.hook depends on rig_bedrock.types.converse_output✕
- Type pairs
- 3 distinct (type in rig_agent.agent.hook → type in rig_bedrock.types.converse_output) references.
- Which types
rig_agent.agent.hook.CompletionCallEvent→rig_bedrock.types.converse_output.Messagerig_agent.agent.hook.ModelSelection→rig_bedrock.types.converse_output.Messagerig_agent.agent.hook.RunStart→rig_bedrock.types.converse_output.Message
- Direction
- rig_agent.agent.hook uses rig_bedrock.types.converse_output. Changing rig_bedrock.types.converse_output can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→2 rig_agent.agent.hook depends on rig_candle.types✕
- Type pairs
- 1 distinct (type in rig_agent.agent.hook → type in rig_candle.types) reference.
- Which types
rig_agent.agent.hook.ModelTurnFinished→rig_candle.types.FinishReason
- Direction
- rig_agent.agent.hook uses rig_candle.types. Changing rig_candle.types can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→3 rig_agent.agent.hook depends on rig_core.completion.message.identity✕
- Type pairs
- 3 distinct (type in rig_agent.agent.hook → type in rig_core.completion.message.identity) references.
- Which types
rig_agent.agent.hook.DispatchEvent→rig_core.completion.message.identity.CallIdrig_agent.agent.hook.OutcomeEvent→rig_core.completion.message.identity.CallIdrig_agent.agent.hook.ToolCallDelta→rig_core.completion.message.identity.CallId
- Direction
- rig_agent.agent.hook uses rig_core.completion.message.identity. Changing rig_core.completion.message.identity can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→5 rig_agent.agent.hook depends on rig_core.vector_store.request✕
- Type pairs
- 1 distinct (type in rig_agent.agent.hook → type in rig_core.vector_store.request) reference.
- Which types
rig_agent.agent.hook.RunHandle→rig_core.vector_store.request.VectorSearchRequest
- Direction
- rig_agent.agent.hook uses rig_core.vector_store.request. Changing rig_core.vector_store.request can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→7 rig_agent.agent.hook depends on rig_core.providers.gemini.completion.gemini_api_types✕
- Type pairs
- 2 distinct (type in rig_agent.agent.hook → type in rig_core.providers.gemini.completion.gemini_api_types) references.
- Which types
rig_agent.agent.hook.ReasoningDelta→rig_core.providers.gemini.completion.gemini_api_types.Partrig_agent.agent.hook.ToolCallDelta→rig_core.providers.gemini.completion.gemini_api_types.Part
- Direction
- rig_agent.agent.hook uses rig_core.providers.gemini.completion.gemini_api_types. Changing rig_core.providers.gemini.completion.gemini_api_types can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→8 rig_agent.agent.hook depends on rig_core.completion.request✕
- Type pairs
- 5 distinct (type in rig_agent.agent.hook → type in rig_core.completion.request) references.
- Which types
rig_agent.agent.hook.DispatchEvent→rig_core.completion.request.CompletionRequestrig_agent.agent.hook.ModelTurnFinished→rig_core.completion.request.ResponseIdentityrig_agent.agent.hook.ModelTurnFinished→rig_core.completion.request.Usagerig_agent.agent.hook.OutcomeEvent→rig_core.completion.request.CompletionResponserig_agent.agent.hook.RunHandle→rig_core.completion.request.CompletionRequest
- Direction
- rig_agent.agent.hook uses rig_core.completion.request. Changing rig_core.completion.request can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→9 rig_agent.agent.hook depends on rig_typesafeai.types✕
- Type pairs
- 1 distinct (type in rig_agent.agent.hook → type in rig_typesafeai.types) reference.
- Which types
rig_agent.agent.hook.RunHandle→rig_typesafeai.types.Request
- Direction
- rig_agent.agent.hook uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→12 rig_agent.agent.hook depends on rig_http.wasm_compat✕
- Type pairs
- 4 distinct (type in rig_agent.agent.hook → type in rig_http.wasm_compat) references.
- Which types
rig_agent.agent.hook.AgentHook→rig_http.wasm_compat.WasmCompatSendrig_agent.agent.hook.AgentHook→rig_http.wasm_compat.WasmCompatSyncrig_agent.agent.hook.DynAgentHook→rig_http.wasm_compat.WasmCompatSendrig_agent.agent.hook.DynAgentHook→rig_http.wasm_compat.WasmCompatSync
- Direction
- rig_agent.agent.hook uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→13 rig_agent.agent.hook depends on rig_core.tool.context✕
- Type pairs
- 3 distinct (type in rig_agent.agent.hook → type in rig_core.tool.context) references.
- Which types
rig_agent.agent.hook.DispatchEvent→rig_core.tool.context.ToolContextrig_agent.agent.hook.OutcomeEvent→rig_core.tool.context.ToolContextrig_agent.agent.hook.Scratchpad→rig_core.tool.context.TypeMap
- Direction
- rig_agent.agent.hook uses rig_core.tool.context. Changing rig_core.tool.context can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→15 rig_agent.agent.hook depends on rig_ecs.agent✕
- Type pairs
- 1 distinct (type in rig_agent.agent.hook → type in rig_ecs.agent) reference.
- Which types
rig_agent.agent.hook.RunHandle→rig_ecs.agent.Retrieval
- Direction
- rig_agent.agent.hook uses rig_ecs.agent. Changing rig_ecs.agent can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→16 rig_agent.agent.hook depends on rig_agent.bus.handle✕
- Type pairs
- 2 distinct (type in rig_agent.agent.hook → type in rig_agent.bus.handle) references.
- Which types
rig_agent.agent.hook.RunHandle→rig_agent.bus.handle.Handlerig_agent.agent.hook.RunHandle→rig_agent.bus.handle.Typed
- Direction
- rig_agent.agent.hook uses rig_agent.bus.handle. Changing rig_agent.bus.handle can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→17 rig_agent.agent.hook depends on rig_core.completion.message✕
- Type pairs
- 2 distinct (type in rig_agent.agent.hook → type in rig_core.completion.message) references.
- Which types
rig_agent.agent.hook.ModelTurnFinished→rig_core.completion.message.AssistantContentrig_agent.agent.hook.OutcomeEvent→rig_core.completion.message.ToolResult
- Direction
- rig_agent.agent.hook uses rig_core.completion.message. Changing rig_core.completion.message can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→18 rig_agent.agent.hook depends on rig_core.error✕
- Type pairs
- 1 distinct (type in rig_agent.agent.hook → type in rig_core.error) reference.
- Which types
rig_agent.agent.hook.DispatchAction→rig_core.error.ErrorReport
- Direction
- rig_agent.agent.hook uses rig_core.error. Changing rig_core.error can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→19 rig_agent.agent.hook depends on rig_agent.run✕
- Type pairs
- 1 distinct (type in rig_agent.agent.hook → type in rig_agent.run) reference.
- Which types
rig_agent.agent.hook.HookContext→rig_agent.run.RunEntry
- Direction
- rig_agent.agent.hook uses rig_agent.run. Changing rig_agent.run can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→20 rig_agent.agent.hook depends on rig_core.effect✕
- Type pairs
- 12 distinct (type in rig_agent.agent.hook → type in rig_core.effect) references.
- Which types
rig_agent.agent.hook.DispatchAction→rig_core.effect.EffectKindrig_agent.agent.hook.DispatchEvent→rig_core.effect.EffectIdrig_agent.agent.hook.DispatchEvent→rig_core.effect.EffectKindrig_agent.agent.hook.HookContext→rig_core.effect.EffectIdrig_agent.agent.hook.HookContext→rig_core.effect.EffectKindrig_agent.agent.hook.HookContext→rig_core.effect.HandlerKeyrig_agent.agent.hook.OutcomeEvent→rig_core.effect.EffectIdrig_agent.agent.hook.OutcomeEvent→rig_core.effect.EffectKindrig_agent.agent.hook.RunHandle→rig_core.effect.HandlerDescriptorrig_agent.agent.hook.RunHandle→rig_core.effect.HandlerKeyrig_agent.agent.hook.StepEventKind→rig_core.effect.EffectFamilyrig_agent.agent.hook.hook$module→rig_core.effect.EffectKind
- Direction
- rig_agent.agent.hook uses rig_core.effect. Changing rig_core.effect can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→21 rig_agent.agent.hook depends on rig_agent.bus.dispatcher✕
- Type pairs
- 1 distinct (type in rig_agent.agent.hook → type in rig_agent.bus.dispatcher) reference.
- Which types
rig_agent.agent.hook.HookContext→rig_agent.bus.dispatcher.Dispatcher
- Direction
- rig_agent.agent.hook uses rig_agent.bus.dispatcher. Changing rig_agent.bus.dispatcher can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→23 rig_agent.agent.hook depends on rig_core.effect.family✕
- Type pairs
- 1 distinct (type in rig_agent.agent.hook → type in rig_core.effect.family) reference.
- Which types
rig_agent.agent.hook.RunHandle→rig_core.effect.family.Completion
- Direction
- rig_agent.agent.hook uses rig_core.effect.family. Changing rig_core.effect.family can break rig_agent.agent.hook, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→2 rig_core.operation.completion depends on rig_candle.types✕
- Type pairs
- 1 distinct (type in rig_core.operation.completion → type in rig_candle.types) reference.
- Which types
rig_core.operation.completion.Finish→rig_candle.types.FinishReason
- Direction
- rig_core.operation.completion uses rig_candle.types. Changing rig_candle.types can break rig_core.operation.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→3 rig_core.operation.completion depends on rig_core.completion.message.identity✕
- Type pairs
- 3 distinct (type in rig_core.operation.completion → type in rig_core.completion.message.identity) references.
- Which types
rig_core.operation.completion.Turn→rig_core.completion.message.identity.CallIdrig_core.operation.completion.Turn→rig_core.completion.message.identity.Issuerrig_core.operation.completion.Turn→rig_core.completion.message.identity.ToolName
- Direction
- rig_core.operation.completion uses rig_core.completion.message.identity. Changing rig_core.completion.message.identity can break rig_core.operation.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→7 rig_core.operation.completion depends on rig_core.providers.gemini.completion.gemini_api_types✕
- Type pairs
- 2 distinct (type in rig_core.operation.completion → type in rig_core.providers.gemini.completion.gemini_api_types) references.
- Which types
rig_core.operation.completion.Turn→rig_core.providers.gemini.completion.gemini_api_types.Partrig_core.operation.completion.Turn→rig_core.providers.gemini.completion.gemini_api_types.PartKind
- Direction
- rig_core.operation.completion uses rig_core.providers.gemini.completion.gemini_api_types. Changing rig_core.providers.gemini.completion.gemini_api_types can break rig_core.operation.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→8 rig_core.operation.completion depends on rig_core.completion.request✕
- Type pairs
- 3 distinct (type in rig_core.operation.completion → type in rig_core.completion.request) references.
- Which types
rig_core.operation.completion.Finish→rig_core.completion.request.Usagerig_core.operation.completion.Turn→rig_core.completion.request.CompletionResponserig_core.operation.completion.completion$module→rig_core.completion.request.CompletionResponse
- Direction
- rig_core.operation.completion uses rig_core.completion.request. Changing rig_core.completion.request can break rig_core.operation.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→9 rig_core.operation.completion depends on rig_typesafeai.types✕
- Type pairs
- 1 distinct (type in rig_core.operation.completion → type in rig_typesafeai.types) reference.
- Which types
rig_core.operation.completion.Completion→rig_typesafeai.types.Request
- Direction
- rig_core.operation.completion uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_core.operation.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→16 rig_core.operation.completion depends on rig_agent.bus.handle✕
- Type pairs
- 1 distinct (type in rig_core.operation.completion → type in rig_agent.bus.handle) reference.
- Which types
rig_core.operation.completion.Turn→rig_agent.bus.handle.ToolCall
- Direction
- rig_core.operation.completion uses rig_agent.bus.handle. Changing rig_agent.bus.handle can break rig_core.operation.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→17 rig_core.operation.completion depends on rig_core.completion.message✕
- Type pairs
- 3 distinct (type in rig_core.operation.completion → type in rig_core.completion.message) references.
- Which types
rig_core.operation.completion.Seal→rig_core.completion.message.Reasoningrig_core.operation.completion.Turn→rig_core.completion.message.AssistantContentrig_core.operation.completion.completion$module→rig_core.completion.message.Reasoning
- Direction
- rig_core.operation.completion uses rig_core.completion.message. Changing rig_core.completion.message can break rig_core.operation.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→21 rig_core.operation.completion depends on rig_agent.bus.dispatcher✕
- Type pairs
- 1 distinct (type in rig_core.operation.completion → type in rig_agent.bus.dispatcher) reference.
- Which types
rig_core.operation.completion.Turn→rig_agent.bus.dispatcher.Reply
- Direction
- rig_core.operation.completion uses rig_agent.bus.dispatcher. Changing rig_agent.bus.dispatcher can break rig_core.operation.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→28 rig_core.operation.completion depends on rig_core.wire cycle✕
- Type pairs
- 4 distinct (type in rig_core.operation.completion → type in rig_core.wire) references.
- Which types
rig_core.operation.completion.Completion→rig_core.wire.Callrig_core.operation.completion.Completion→rig_core.wire.Foldrig_core.operation.completion.Completion→rig_core.wire.Operationrig_core.operation.completion.Turn→rig_core.wire.Fold
- Direction
- rig_core.operation.completion uses rig_core.wire. Changing rig_core.wire can break rig_core.operation.completion, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
26→11 rig_core.serve.handler depends on rig_core.observe.adapter✕
- Type pairs
- 2 distinct (type in rig_core.serve.handler → type in rig_core.observe.adapter) references.
- Which types
rig_core.serve.handler.Dispatch→rig_core.observe.adapter.AdapterContextrig_core.serve.handler.Observe→rig_core.observe.adapter.AdapterContext
- Direction
- rig_core.serve.handler uses rig_core.observe.adapter. Changing rig_core.observe.adapter can break rig_core.serve.handler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→12 rig_core.serve.handler depends on rig_http.wasm_compat✕
- Type pairs
- 4 distinct (type in rig_core.serve.handler → type in rig_http.wasm_compat) references.
- Which types
rig_core.serve.handler.Handler→rig_http.wasm_compat.WasmCompatSendrig_core.serve.handler.Handler→rig_http.wasm_compat.WasmCompatSyncrig_core.serve.handler.Serve→rig_http.wasm_compat.WasmCompatSendrig_core.serve.handler.Serve→rig_http.wasm_compat.WasmCompatSync
- Direction
- rig_core.serve.handler uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_core.serve.handler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→16 rig_core.serve.handler depends on rig_agent.bus.handle✕
- Type pairs
- 1 distinct (type in rig_core.serve.handler → type in rig_agent.bus.handle) reference.
- Which types
rig_core.serve.handler.Dispatch→rig_agent.bus.handle.DispatchScope
- Direction
- rig_core.serve.handler uses rig_agent.bus.handle. Changing rig_agent.bus.handle can break rig_core.serve.handler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→18 rig_core.serve.handler depends on rig_core.error✕
- Type pairs
- 2 distinct (type in rig_core.serve.handler → type in rig_core.error) references.
- Which types
rig_core.serve.handler.Observe→rig_core.error.ErrorReportrig_core.serve.handler.handler$module→rig_core.error.ErrorReport
- Direction
- rig_core.serve.handler uses rig_core.error. Changing rig_core.error can break rig_core.serve.handler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→20 rig_core.serve.handler depends on rig_core.effect✕
- Type pairs
- 11 distinct (type in rig_core.serve.handler → type in rig_core.effect) references.
- Which types
rig_core.serve.handler.Dispatch→rig_core.effect.EffectIdrig_core.serve.handler.Dispatch→rig_core.effect.EffectKindrig_core.serve.handler.ErasedHandler→rig_core.effect.EffectKindrig_core.serve.handler.ErasedHandler→rig_core.effect.HandlerDescriptorrig_core.serve.handler.Handler→rig_core.effect.EffectKindrig_core.serve.handler.Handler→rig_core.effect.HandlerDescriptorrig_core.serve.handler.Observe→rig_core.effect.EffectKindrig_core.serve.handler.Serve→rig_core.effect.EffectKindrig_core.serve.handler.Serve→rig_core.effect.HandlerDescriptorrig_core.serve.handler.handler$module→rig_core.effect.EffectKindrig_core.serve.handler.handler$module→rig_core.effect.Outcome
- Direction
- rig_core.serve.handler uses rig_core.effect. Changing rig_core.effect can break rig_core.serve.handler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→21 rig_core.serve.handler depends on rig_agent.bus.dispatcher✕
- Type pairs
- 2 distinct (type in rig_core.serve.handler → type in rig_agent.bus.dispatcher) references.
- Which types
rig_core.serve.handler.Dispatch→rig_agent.bus.dispatcher.Dispatcherrig_core.serve.handler.ErasedHandler→rig_agent.bus.dispatcher.Reply
- Direction
- rig_core.serve.handler uses rig_agent.bus.dispatcher. Changing rig_agent.bus.dispatcher can break rig_core.serve.handler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→8 rig_core.tool.contextual depends on rig_core.completion.request✕
- Type pairs
- 2 distinct (type in rig_core.tool.contextual → type in rig_core.completion.request) references.
- Which types
rig_core.tool.contextual.DynamicTool→rig_core.completion.request.ToolDefinitionrig_core.tool.contextual.contextual$module→rig_core.completion.request.ToolDefinition
- Direction
- rig_core.tool.contextual uses rig_core.completion.request. Changing rig_core.completion.request can break rig_core.tool.contextual, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→10 rig_core.tool.contextual depends on rig_http.http_client✕
- Type pairs
- 1 distinct (type in rig_core.tool.contextual → type in rig_http.http_client) reference.
- Which types
rig_core.tool.contextual.Tool→rig_http.http_client.Error
- Direction
- rig_core.tool.contextual uses rig_http.http_client. Changing rig_http.http_client can break rig_core.tool.contextual, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→12 rig_core.tool.contextual depends on rig_http.wasm_compat✕
- Type pairs
- 4 distinct (type in rig_core.tool.contextual → type in rig_http.wasm_compat) references.
- Which types
rig_core.tool.contextual.ErasedTool→rig_http.wasm_compat.WasmCompatSendrig_core.tool.contextual.ErasedTool→rig_http.wasm_compat.WasmCompatSyncrig_core.tool.contextual.Tool→rig_http.wasm_compat.WasmCompatSendrig_core.tool.contextual.Tool→rig_http.wasm_compat.WasmCompatSync
- Direction
- rig_core.tool.contextual uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_core.tool.contextual, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→13 rig_core.tool.contextual depends on rig_core.tool.context✕
- Type pairs
- 4 distinct (type in rig_core.tool.contextual → type in rig_core.tool.context) references.
- Which types
rig_core.tool.contextual.DynamicTool→rig_core.tool.context.ToolContextrig_core.tool.contextual.ErasedTool→rig_core.tool.context.ToolContextrig_core.tool.contextual.Tool→rig_core.tool.context.ToolContextrig_core.tool.contextual.contextual$module→rig_core.tool.context.ToolContext
- Direction
- rig_core.tool.contextual uses rig_core.tool.context. Changing rig_core.tool.context can break rig_core.tool.contextual, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→15 rig_core.tool.contextual depends on rig_ecs.agent✕
- Type pairs
- 1 distinct (type in rig_core.tool.contextual → type in rig_ecs.agent) reference.
- Which types
rig_core.tool.contextual.ToolEmbedding→rig_ecs.agent.Context
- Direction
- rig_core.tool.contextual uses rig_ecs.agent. Changing rig_ecs.agent can break rig_core.tool.contextual, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→17 rig_core.tool.contextual depends on rig_core.completion.message✕
- Type pairs
- 1 distinct (type in rig_core.tool.contextual → type in rig_core.completion.message) reference.
- Which types
rig_core.tool.contextual.contextual$module→rig_core.completion.message.ToolResult
- Direction
- rig_core.tool.contextual uses rig_core.completion.message. Changing rig_core.completion.message can break rig_core.tool.contextual, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→23 rig_core.tool.contextual depends on rig_core.effect.family✕
- Type pairs
- 1 distinct (type in rig_core.tool.contextual → type in rig_core.effect.family) reference.
- Which types
rig_core.tool.contextual.ToolEmbedding→rig_core.effect.family.Tool
- Direction
- rig_core.tool.contextual uses rig_core.effect.family. Changing rig_core.effect.family can break rig_core.tool.contextual, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→26 rig_core.tool.contextual depends on rig_core.serve.handler✕
- Type pairs
- 1 distinct (type in rig_core.tool.contextual → type in rig_core.serve.handler) reference.
- Which types
rig_core.tool.contextual.DynamicTool→rig_core.serve.handler.ErasedHandler
- Direction
- rig_core.tool.contextual uses rig_core.serve.handler. Changing rig_core.serve.handler can break rig_core.tool.contextual, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→34 rig_core.tool.contextual depends on rig_agent.agent.completion cycle✕
- Type pairs
- 1 distinct (type in rig_core.tool.contextual → type in rig_agent.agent.completion) reference.
- Which types
rig_core.tool.contextual.DynamicTool→rig_agent.agent.completion.Agent
- Direction
- rig_core.tool.contextual uses rig_agent.agent.completion. Changing rig_agent.agent.completion can break rig_core.tool.contextual, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
28→3 rig_core.wire depends on rig_core.completion.message.identity✕
- Type pairs
- 2 distinct (type in rig_core.wire → type in rig_core.completion.message.identity) references.
- Which types
rig_core.wire.Out→rig_core.completion.message.identity.CallIdrig_core.wire.Out→rig_core.completion.message.identity.ToolName
- Direction
- rig_core.wire uses rig_core.completion.message.identity. Changing rig_core.completion.message.identity can break rig_core.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→6 rig_core.wire depends on rig_http.http_client.framing✕
- Type pairs
- 1 distinct (type in rig_core.wire → type in rig_http.http_client.framing) reference.
- Which types
rig_core.wire.Json→rig_http.http_client.framing.WireFrame
- Direction
- rig_core.wire uses rig_http.http_client.framing. Changing rig_http.http_client.framing can break rig_core.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→8 rig_core.wire depends on rig_core.completion.request✕
- Type pairs
- 1 distinct (type in rig_core.wire → type in rig_core.completion.request) reference.
- Which types
rig_core.wire.Capabilities→rig_core.completion.request.ProviderCapabilities
- Direction
- rig_core.wire uses rig_core.completion.request. Changing rig_core.completion.request can break rig_core.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→9 rig_core.wire depends on rig_typesafeai.types✕
- Type pairs
- 3 distinct (type in rig_core.wire → type in rig_typesafeai.types) references.
- Which types
rig_core.wire.Encoded→rig_typesafeai.types.Requestrig_core.wire.Operation→rig_typesafeai.types.Requestrig_core.wire.Wire→rig_typesafeai.types.Request
- Direction
- rig_core.wire uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_core.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→12 rig_core.wire depends on rig_http.wasm_compat✕
- Type pairs
- 2 distinct (type in rig_core.wire → type in rig_http.wasm_compat) references.
- Which types
rig_core.wire.Wire→rig_http.wasm_compat.WasmCompatSendrig_core.wire.Wire→rig_http.wasm_compat.WasmCompatSync
- Direction
- rig_core.wire uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_core.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→16 rig_core.wire depends on rig_agent.bus.handle✕
- Type pairs
- 1 distinct (type in rig_core.wire → type in rig_agent.bus.handle) reference.
- Which types
rig_core.wire.Out→rig_agent.bus.handle.ToolCall
- Direction
- rig_core.wire uses rig_agent.bus.handle. Changing rig_agent.bus.handle can break rig_core.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→17 rig_core.wire depends on rig_core.completion.message✕
- Type pairs
- 4 distinct (type in rig_core.wire → type in rig_core.completion.message) references.
- Which types
rig_core.wire.Out→rig_core.completion.message.AdditionalParamsrig_core.wire.Out→rig_core.completion.message.AssistantContentrig_core.wire.Out→rig_core.completion.message.Imagerig_core.wire.Out→rig_core.completion.message.Reasoning
- Direction
- rig_core.wire uses rig_core.completion.message. Changing rig_core.completion.message can break rig_core.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→21 rig_core.wire depends on rig_agent.bus.dispatcher✕
- Type pairs
- 4 distinct (type in rig_core.wire → type in rig_agent.bus.dispatcher) references.
- Which types
rig_core.wire.Assembled→rig_agent.bus.dispatcher.Sharedrig_core.wire.Fold→rig_agent.bus.dispatcher.Replyrig_core.wire.Free→rig_agent.bus.dispatcher.Sharedrig_core.wire.Out→rig_agent.bus.dispatcher.Shared
- Direction
- rig_core.wire uses rig_agent.bus.dispatcher. Changing rig_agent.bus.dispatcher can break rig_core.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→25 rig_core.wire depends on rig_core.operation.completion✕
- Type pairs
- 6 distinct (type in rig_core.wire → type in rig_core.operation.completion) references.
- Which types
rig_core.wire.Out→rig_core.operation.completion.CallFragmentrig_core.wire.Out→rig_core.operation.completion.CallPartrig_core.wire.Out→rig_core.operation.completion.IfMalformedrig_core.wire.Out→rig_core.operation.completion.ReasoningPartrig_core.wire.Out→rig_core.operation.completion.Sealrig_core.wire.Out→rig_core.operation.completion.TextPart
- Direction
- rig_core.wire uses rig_core.operation.completion. Changing rig_core.operation.completion can break rig_core.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→9 rig_ecs.bus.effect depends on rig_typesafeai.types✕
- Type pairs
- 2 distinct (type in rig_ecs.bus.effect → type in rig_typesafeai.types) references.
- Which types
rig_ecs.bus.effect.PendingEffect→rig_typesafeai.types.Requestrig_ecs.bus.effect.Typed→rig_typesafeai.types.Request
- Direction
- rig_ecs.bus.effect uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_ecs.bus.effect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→13 rig_ecs.bus.effect depends on rig_core.tool.context✕
- Type pairs
- 3 distinct (type in rig_ecs.bus.effect → type in rig_core.tool.context) references.
- Which types
rig_ecs.bus.effect.Publishing→rig_core.tool.context.PublishedContextrig_ecs.bus.effect.ToolInputs→rig_core.tool.context.ToolContextrig_ecs.bus.effect.ToolOutputs→rig_core.tool.context.ToolContext
- Direction
- rig_ecs.bus.effect uses rig_core.tool.context. Changing rig_core.tool.context can break rig_ecs.bus.effect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→20 rig_ecs.bus.effect depends on rig_core.effect✕
- Type pairs
- 7 distinct (type in rig_ecs.bus.effect → type in rig_core.effect) references.
- Which types
rig_ecs.bus.effect.InFlight→rig_core.effect.HandlerKeyrig_ecs.bus.effect.Issued→rig_core.effect.EffectIdrig_ecs.bus.effect.PendingEffect→rig_core.effect.EffectKindrig_ecs.bus.effect.PendingEffect→rig_core.effect.HandlerKeyrig_ecs.bus.effect.Reserved→rig_core.effect.EffectIdrig_ecs.bus.effect.Typed→rig_core.effect.HandlerKeyrig_ecs.bus.effect.WorldEffect→rig_core.effect.CustomEffect
- Direction
- rig_ecs.bus.effect uses rig_core.effect. Changing rig_core.effect can break rig_ecs.bus.effect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→21 rig_ecs.bus.effect depends on rig_agent.bus.dispatcher✕
- Type pairs
- 2 distinct (type in rig_ecs.bus.effect → type in rig_agent.bus.dispatcher) references.
- Which types
rig_ecs.bus.effect.Answer→rig_agent.bus.dispatcher.Replyrig_ecs.bus.effect.Tasks→rig_agent.bus.dispatcher.Reply
- Direction
- rig_ecs.bus.effect uses rig_agent.bus.dispatcher. Changing rig_agent.bus.dispatcher can break rig_ecs.bus.effect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→24 rig_ecs.bus.effect depends on rig_agent.agent.hook✕
- Type pairs
- 1 distinct (type in rig_ecs.bus.effect → type in rig_agent.agent.hook) reference.
- Which types
rig_ecs.bus.effect.effect$module→rig_agent.agent.hook.HookContext
- Direction
- rig_ecs.bus.effect uses rig_agent.agent.hook. Changing rig_agent.agent.hook can break rig_ecs.bus.effect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→26 rig_ecs.bus.effect depends on rig_core.serve.handler✕
- Type pairs
- 1 distinct (type in rig_ecs.bus.effect → type in rig_core.serve.handler) reference.
- Which types
rig_ecs.bus.effect.Streaming→rig_core.serve.handler.StreamTap
- Direction
- rig_ecs.bus.effect uses rig_core.serve.handler. Changing rig_core.serve.handler can break rig_ecs.bus.effect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→30 rig_ecs.bus.effect depends on rig_agent.bus.driver cycle✕
- Type pairs
- 1 distinct (type in rig_ecs.bus.effect → type in rig_agent.bus.driver) reference.
- Which types
rig_ecs.bus.effect.Tasks→rig_agent.bus.driver.Serving
- Direction
- rig_ecs.bus.effect uses rig_agent.bus.driver. Changing rig_agent.bus.driver can break rig_ecs.bus.effect, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
30→11 rig_agent.bus.driver depends on rig_core.observe.adapter✕
- Type pairs
- 1 distinct (type in rig_agent.bus.driver → type in rig_core.observe.adapter) reference.
- Which types
rig_agent.bus.driver.Recorded→rig_core.observe.adapter.AdapterContext
- Direction
- rig_agent.bus.driver uses rig_core.observe.adapter. Changing rig_core.observe.adapter can break rig_agent.bus.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→13 rig_agent.bus.driver depends on rig_core.tool.context✕
- Type pairs
- 1 distinct (type in rig_agent.bus.driver → type in rig_core.tool.context) reference.
- Which types
rig_agent.bus.driver.Recorded→rig_core.tool.context.PublishedContext
- Direction
- rig_agent.bus.driver uses rig_core.tool.context. Changing rig_core.tool.context can break rig_agent.bus.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→15 rig_agent.bus.driver depends on rig_ecs.agent✕
- Type pairs
- 2 distinct (type in rig_agent.bus.driver → type in rig_ecs.agent) references.
- Which types
rig_agent.bus.driver.BusDriver→rig_ecs.agent.Contextrig_agent.bus.driver.Serving→rig_ecs.agent.Context
- Direction
- rig_agent.bus.driver uses rig_ecs.agent. Changing rig_ecs.agent can break rig_agent.bus.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→18 rig_agent.bus.driver depends on rig_core.error✕
- Type pairs
- 1 distinct (type in rig_agent.bus.driver → type in rig_core.error) reference.
- Which types
rig_agent.bus.driver.Recorded→rig_core.error.ErrorReport
- Direction
- rig_agent.bus.driver uses rig_core.error. Changing rig_core.error can break rig_agent.bus.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→20 rig_agent.bus.driver depends on rig_core.effect✕
- Type pairs
- 5 distinct (type in rig_agent.bus.driver → type in rig_core.effect) references.
- Which types
rig_agent.bus.driver.BusDriver→rig_core.effect.EffectIdrig_agent.bus.driver.BusDriver→rig_core.effect.HandlerKeyrig_agent.bus.driver.Recorded→rig_core.effect.EffectIdrig_agent.bus.driver.Recorded→rig_core.effect.EffectKindrig_agent.bus.driver.Recording→rig_core.effect.EffectId
- Direction
- rig_agent.bus.driver uses rig_core.effect. Changing rig_core.effect can break rig_agent.bus.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→21 rig_agent.bus.driver depends on rig_agent.bus.dispatcher✕
- Type pairs
- 2 distinct (type in rig_agent.bus.driver → type in rig_agent.bus.dispatcher) references.
- Which types
rig_agent.bus.driver.BusDriver→rig_agent.bus.dispatcher.Commandrig_agent.bus.driver.BusDriver→rig_agent.bus.dispatcher.Shared
- Direction
- rig_agent.bus.driver uses rig_agent.bus.dispatcher. Changing rig_agent.bus.dispatcher can break rig_agent.bus.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→26 rig_agent.bus.driver depends on rig_core.serve.handler✕
- Type pairs
- 3 distinct (type in rig_agent.bus.driver → type in rig_core.serve.handler) references.
- Which types
rig_agent.bus.driver.BusDriver→rig_core.serve.handler.ErasedHandlerrig_agent.bus.driver.Recorded→rig_core.serve.handler.Observerig_agent.bus.driver.Recording→rig_core.serve.handler.Dispatch
- Direction
- rig_agent.bus.driver uses rig_core.serve.handler. Changing rig_core.serve.handler can break rig_agent.bus.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→29 rig_agent.bus.driver depends on rig_ecs.bus.effect✕
- Type pairs
- 1 distinct (type in rig_agent.bus.driver → type in rig_ecs.bus.effect) reference.
- Which types
rig_agent.bus.driver.Serving→rig_ecs.bus.effect.InFlight
- Direction
- rig_agent.bus.driver uses rig_ecs.bus.effect. Changing rig_ecs.bus.effect can break rig_agent.bus.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→9 rig_core.driver.dyn_model depends on rig_typesafeai.types✕
- Type pairs
- 2 distinct (type in rig_core.driver.dyn_model → type in rig_typesafeai.types) references.
- Which types
rig_core.driver.dyn_model.DynModel→rig_typesafeai.types.Requestrig_core.driver.dyn_model.ErasedModel→rig_typesafeai.types.Request
- Direction
- rig_core.driver.dyn_model uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_core.driver.dyn_model, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→11 rig_core.driver.dyn_model depends on rig_core.observe.adapter✕
- Type pairs
- 2 distinct (type in rig_core.driver.dyn_model → type in rig_core.observe.adapter) references.
- Which types
rig_core.driver.dyn_model.DynModel→rig_core.observe.adapter.AdapterContextrig_core.driver.dyn_model.ErasedModel→rig_core.observe.adapter.AdapterContext
- Direction
- rig_core.driver.dyn_model uses rig_core.observe.adapter. Changing rig_core.observe.adapter can break rig_core.driver.dyn_model, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→12 rig_core.driver.dyn_model depends on rig_http.wasm_compat✕
- Type pairs
- 2 distinct (type in rig_core.driver.dyn_model → type in rig_http.wasm_compat) references.
- Which types
rig_core.driver.dyn_model.ErasedModel→rig_http.wasm_compat.WasmCompatSendrig_core.driver.dyn_model.ErasedModel→rig_http.wasm_compat.WasmCompatSync
- Direction
- rig_core.driver.dyn_model uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_core.driver.dyn_model, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→28 rig_core.driver.dyn_model depends on rig_core.wire✕
- Type pairs
- 3 distinct (type in rig_core.driver.dyn_model → type in rig_core.wire) references.
- Which types
rig_core.driver.dyn_model.DynModel→rig_core.wire.Capabilitiesrig_core.driver.dyn_model.ErasedModel→rig_core.wire.Descriptorrig_core.driver.dyn_model.ErasedModel→rig_core.wire.Mode
- Direction
- rig_core.driver.dyn_model uses rig_core.wire. Changing rig_core.wire can break rig_core.driver.dyn_model, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→35 rig_core.driver.dyn_model depends on rig_core.driver cycle✕
- Type pairs
- 1 distinct (type in rig_core.driver.dyn_model → type in rig_core.driver) reference.
- Which types
rig_core.driver.dyn_model.DynModel→rig_core.driver.Model
- Direction
- rig_core.driver.dyn_model uses rig_core.driver. Changing rig_core.driver can break rig_core.driver.dyn_model, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
32→4 rig_core.providers.anthropic.wire depends on rig_core.providers.gemini.completion.erased_wire✕
- Type pairs
- 3 distinct (type in rig_core.providers.anthropic.wire → type in rig_core.providers.gemini.completion.erased_wire) references.
- Which types
rig_core.providers.anthropic.wire.Messages→rig_core.providers.gemini.completion.erased_wire.Wirerig_core.providers.anthropic.wire.Models→rig_core.providers.gemini.completion.erased_wire.Wirerig_core.providers.anthropic.wire.Verify→rig_core.providers.gemini.completion.erased_wire.Wire
- Direction
- rig_core.providers.anthropic.wire uses rig_core.providers.gemini.completion.erased_wire. Changing rig_core.providers.gemini.completion.erased_wire can break rig_core.providers.anthropic.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→6 rig_core.providers.anthropic.wire depends on rig_http.http_client.framing✕
- Type pairs
- 1 distinct (type in rig_core.providers.anthropic.wire → type in rig_http.http_client.framing) reference.
- Which types
rig_core.providers.anthropic.wire.ModelsDecoder→rig_http.http_client.framing.WireFrame
- Direction
- rig_core.providers.anthropic.wire uses rig_http.http_client.framing. Changing rig_http.http_client.framing can break rig_core.providers.anthropic.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→8 rig_core.providers.anthropic.wire depends on rig_core.completion.request✕
- Type pairs
- 2 distinct (type in rig_core.providers.anthropic.wire → type in rig_core.completion.request) references.
- Which types
rig_core.providers.anthropic.wire.Messages→rig_core.completion.request.CompletionRequestrig_core.providers.anthropic.wire.wire$module→rig_core.completion.request.ToolDefinition
- Direction
- rig_core.providers.anthropic.wire uses rig_core.completion.request. Changing rig_core.completion.request can break rig_core.providers.anthropic.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→28 rig_core.providers.anthropic.wire depends on rig_core.wire✕
- Type pairs
- 12 distinct (type in rig_core.providers.anthropic.wire → type in rig_core.wire) references.
- Which types
rig_core.providers.anthropic.wire.Messages→rig_core.wire.Decoderrig_core.providers.anthropic.wire.Messages→rig_core.wire.Descriptorrig_core.providers.anthropic.wire.Messages→rig_core.wire.Moderig_core.providers.anthropic.wire.Models→rig_core.wire.Decoderrig_core.providers.anthropic.wire.Models→rig_core.wire.Descriptorrig_core.providers.anthropic.wire.Models→rig_core.wire.Moderig_core.providers.anthropic.wire.ModelsDecoder→rig_core.wire.Decoderrig_core.providers.anthropic.wire.ModelsDecoder→rig_core.wire.Outrig_core.providers.anthropic.wire.ModelsDecoder→rig_core.wire.WireEventrig_core.providers.anthropic.wire.Verify→rig_core.wire.Decoderrig_core.providers.anthropic.wire.Verify→rig_core.wire.Descriptorrig_core.providers.anthropic.wire.Verify→rig_core.wire.Mode
- Direction
- rig_core.providers.anthropic.wire uses rig_core.wire. Changing rig_core.wire can break rig_core.providers.anthropic.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→9 rig_typesafeai.questions depends on rig_typesafeai.types✕
- Type pairs
- 9 distinct (type in rig_typesafeai.questions → type in rig_typesafeai.types) references.
- Which types
rig_typesafeai.questions.Choice→rig_typesafeai.types.Questionrig_typesafeai.questions.DynamicScore→rig_typesafeai.types.Questionrig_typesafeai.questions.JoinedQuery→rig_typesafeai.types.Responserig_typesafeai.questions.MappedQuery→rig_typesafeai.types.Responserig_typesafeai.questions.NamedQuery→rig_typesafeai.types.Responserig_typesafeai.questions.Noul→rig_typesafeai.types.Questionrig_typesafeai.questions.Query→rig_typesafeai.types.Responserig_typesafeai.questions.Score→rig_typesafeai.types.Questionrig_typesafeai.questions.questions$module→rig_typesafeai.types.Question
- Direction
- rig_typesafeai.questions uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_typesafeai.questions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→12 rig_typesafeai.questions depends on rig_http.wasm_compat✕
- Type pairs
- 2 distinct (type in rig_typesafeai.questions → type in rig_http.wasm_compat) references.
- Which types
rig_typesafeai.questions.Query→rig_http.wasm_compat.WasmCompatSendrig_typesafeai.questions.Query→rig_http.wasm_compat.WasmCompatSync
- Direction
- rig_typesafeai.questions uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_typesafeai.questions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→29 rig_typesafeai.questions depends on rig_ecs.bus.effect✕
- Type pairs
- 8 distinct (type in rig_typesafeai.questions → type in rig_ecs.bus.effect) references.
- Which types
rig_typesafeai.questions.Choice→rig_ecs.bus.effect.Answerrig_typesafeai.questions.ChoiceAnswer→rig_ecs.bus.effect.Answerrig_typesafeai.questions.DynamicScore→rig_ecs.bus.effect.Answerrig_typesafeai.questions.DynamicScoreAnswer→rig_ecs.bus.effect.Answerrig_typesafeai.questions.Noul→rig_ecs.bus.effect.Answerrig_typesafeai.questions.NoulAnswer→rig_ecs.bus.effect.Answerrig_typesafeai.questions.Score→rig_ecs.bus.effect.Answerrig_typesafeai.questions.questions$module→rig_ecs.bus.effect.Answer
- Direction
- rig_typesafeai.questions uses rig_ecs.bus.effect. Changing rig_ecs.bus.effect can break rig_typesafeai.questions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→1 rig_agent.agent.completion depends on rig_bedrock.types.converse_output✕
- Type pairs
- 3 distinct (type in rig_agent.agent.completion → type in rig_bedrock.types.converse_output) references.
- Which types
rig_agent.agent.completion.Agent→rig_bedrock.types.converse_output.Messagerig_agent.agent.completion.PreparedCompletionRequest→rig_bedrock.types.converse_output.Messagerig_agent.agent.completion.completion$module→rig_bedrock.types.converse_output.Message
- Direction
- rig_agent.agent.completion uses rig_bedrock.types.converse_output. Changing rig_bedrock.types.converse_output can break rig_agent.agent.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→7 rig_agent.agent.completion depends on rig_core.providers.gemini.completion.gemini_api_types✕
- Type pairs
- 1 distinct (type in rig_agent.agent.completion → type in rig_core.providers.gemini.completion.gemini_api_types) reference.
- Which types
rig_agent.agent.completion.AgentConfig→rig_core.providers.gemini.completion.gemini_api_types.Schema
- Direction
- rig_agent.agent.completion uses rig_core.providers.gemini.completion.gemini_api_types. Changing rig_core.providers.gemini.completion.gemini_api_types can break rig_agent.agent.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→8 rig_agent.agent.completion depends on rig_core.completion.request✕
- Type pairs
- 2 distinct (type in rig_agent.agent.completion → type in rig_core.completion.request) references.
- Which types
rig_agent.agent.completion.PreparedCompletionRequest→rig_core.completion.request.CompletionRequestrig_agent.agent.completion.PreparedCompletionRequest→rig_core.completion.request.ToolDefinition
- Direction
- rig_agent.agent.completion uses rig_core.completion.request. Changing rig_core.completion.request can break rig_agent.agent.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→17 rig_agent.agent.completion depends on rig_core.completion.message✕
- Type pairs
- 2 distinct (type in rig_agent.agent.completion → type in rig_core.completion.message) references.
- Which types
rig_agent.agent.completion.AgentConfig→rig_core.completion.message.Documentrig_agent.agent.completion.AgentConfig→rig_core.completion.message.ToolChoice
- Direction
- rig_agent.agent.completion uses rig_core.completion.message. Changing rig_core.completion.message can break rig_agent.agent.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→19 rig_agent.agent.completion depends on rig_agent.run✕
- Type pairs
- 1 distinct (type in rig_agent.agent.completion → type in rig_agent.run) reference.
- Which types
rig_agent.agent.completion.Agent→rig_agent.run.AgentRun
- Direction
- rig_agent.agent.completion uses rig_agent.run. Changing rig_agent.run can break rig_agent.agent.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→20 rig_agent.agent.completion depends on rig_core.effect✕
- Type pairs
- 3 distinct (type in rig_agent.agent.completion → type in rig_core.effect) references.
- Which types
rig_agent.agent.completion.Agent→rig_core.effect.EffectRowrig_agent.agent.completion.Agent→rig_core.effect.HandlerDescriptorrig_agent.agent.completion.Agent→rig_core.effect.HandlerKey
- Direction
- rig_agent.agent.completion uses rig_core.effect. Changing rig_core.effect can break rig_agent.agent.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→21 rig_agent.agent.completion depends on rig_agent.bus.dispatcher✕
- Type pairs
- 1 distinct (type in rig_agent.agent.completion → type in rig_agent.bus.dispatcher) reference.
- Which types
rig_agent.agent.completion.AgentParts→rig_agent.bus.dispatcher.Dispatcher
- Direction
- rig_agent.agent.completion uses rig_agent.bus.dispatcher. Changing rig_agent.bus.dispatcher can break rig_agent.agent.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→22 rig_agent.agent.completion depends on rig_cassette.effect_log.log✕
- Type pairs
- 1 distinct (type in rig_agent.agent.completion → type in rig_cassette.effect_log.log) reference.
- Which types
rig_agent.agent.completion.Agent→rig_cassette.effect_log.log.EffectLog
- Direction
- rig_agent.agent.completion uses rig_cassette.effect_log.log. Changing rig_cassette.effect_log.log can break rig_agent.agent.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→24 rig_agent.agent.completion depends on rig_agent.agent.hook✕
- Type pairs
- 2 distinct (type in rig_agent.agent.completion → type in rig_agent.agent.hook) references.
- Which types
rig_agent.agent.completion.AgentConfig→rig_agent.agent.hook.HookStackrig_agent.agent.completion.completion$module→rig_agent.agent.hook.HookContext
- Direction
- rig_agent.agent.completion uses rig_agent.agent.hook. Changing rig_agent.agent.hook can break rig_agent.agent.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→27 rig_agent.agent.completion depends on rig_core.tool.contextual✕
- Type pairs
- 1 distinct (type in rig_agent.agent.completion → type in rig_core.tool.contextual) reference.
- Which types
rig_agent.agent.completion.Agent→rig_core.tool.contextual.DynamicTool
- Direction
- rig_agent.agent.completion uses rig_core.tool.contextual. Changing rig_core.tool.contextual can break rig_agent.agent.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→30 rig_agent.agent.completion depends on rig_agent.bus.driver✕
- Type pairs
- 1 distinct (type in rig_agent.agent.completion → type in rig_agent.bus.driver) reference.
- Which types
rig_agent.agent.completion.AgentParts→rig_agent.bus.driver.BusDriver
- Direction
- rig_agent.agent.completion uses rig_agent.bus.driver. Changing rig_agent.bus.driver can break rig_agent.agent.completion, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→9 rig_core.driver depends on rig_typesafeai.types✕
- Type pairs
- 1 distinct (type in rig_core.driver → type in rig_typesafeai.types) reference.
- Which types
rig_core.driver.Model→rig_typesafeai.types.Request
- Direction
- rig_core.driver uses rig_typesafeai.types. Changing rig_typesafeai.types can break rig_core.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→11 rig_core.driver depends on rig_core.observe.adapter✕
- Type pairs
- 4 distinct (type in rig_core.driver → type in rig_core.observe.adapter) references.
- Which types
rig_core.driver.Exchange→rig_core.observe.adapter.AdapterContextrig_core.driver.Model→rig_core.observe.adapter.AdapterContextrig_core.driver.Opened→rig_core.observe.adapter.AdapterSlotrig_core.driver.driver$module→rig_core.observe.adapter.AdapterSlot
- Direction
- rig_core.driver uses rig_core.observe.adapter. Changing rig_core.observe.adapter can break rig_core.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→12 rig_core.driver depends on rig_http.wasm_compat✕
- Type pairs
- 2 distinct (type in rig_core.driver → type in rig_http.wasm_compat) references.
- Which types
rig_core.driver.Transport→rig_http.wasm_compat.WasmCompatSendrig_core.driver.Transport→rig_http.wasm_compat.WasmCompatSync
- Direction
- rig_core.driver uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_core.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→15 rig_core.driver depends on rig_ecs.agent✕
- Type pairs
- 1 distinct (type in rig_core.driver → type in rig_ecs.agent) reference.
- Which types
rig_core.driver.Opening→rig_ecs.agent.Context
- Direction
- rig_core.driver uses rig_ecs.agent. Changing rig_ecs.agent can break rig_core.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→18 rig_core.driver depends on rig_core.error✕
- Type pairs
- 3 distinct (type in rig_core.driver → type in rig_core.error) references.
- Which types
rig_core.driver.Opened→rig_core.error.ProviderErrorrig_core.driver.Opening→rig_core.error.ProviderErrorrig_core.driver.driver$module→rig_core.error.ProviderError
- Direction
- rig_core.driver uses rig_core.error. Changing rig_core.error can break rig_core.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→21 rig_core.driver depends on rig_agent.bus.dispatcher✕
- Type pairs
- 1 distinct (type in rig_core.driver → type in rig_agent.bus.dispatcher) reference.
- Which types
rig_core.driver.driver$module→rig_agent.bus.dispatcher.Shared
- Direction
- rig_core.driver uses rig_agent.bus.dispatcher. Changing rig_agent.bus.dispatcher can break rig_core.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→28 rig_core.driver depends on rig_core.wire✕
- Type pairs
- 5 distinct (type in rig_core.driver → type in rig_core.wire) references.
- Which types
rig_core.driver.Exchange→rig_core.wire.Moderig_core.driver.Model→rig_core.wire.Capabilitiesrig_core.driver.Model→rig_core.wire.Descriptorrig_core.driver.Model→rig_core.wire.Moderig_core.driver.driver$module→rig_core.wire.Mode
- Direction
- rig_core.driver uses rig_core.wire. Changing rig_core.wire can break rig_core.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→31 rig_core.driver depends on rig_core.driver.dyn_model✕
- Type pairs
- 2 distinct (type in rig_core.driver → type in rig_core.driver.dyn_model) references.
- Which types
rig_core.driver.Model→rig_core.driver.dyn_model.DynModelrig_core.driver.Model→rig_core.driver.dyn_model.ErasedModel
- Direction
- rig_core.driver uses rig_core.driver.dyn_model. Changing rig_core.driver.dyn_model can break rig_core.driver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→17 rig_core.providers.gemini depends on rig_core.completion.message✕
- Type pairs
- 2 distinct (type in rig_core.providers.gemini → type in rig_core.completion.message) references.
- Which types
rig_core.providers.gemini.gemini$module→rig_core.completion.message.AdditionalParamsrig_core.providers.gemini.gemini$module→rig_core.completion.message.Text
- Direction
- rig_core.providers.gemini uses rig_core.completion.message. Changing rig_core.completion.message can break rig_core.providers.gemini, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→32 rig_core.providers.gemini depends on rig_core.providers.anthropic.wire✕
- Type pairs
- 1 distinct (type in rig_core.providers.gemini → type in rig_core.providers.anthropic.wire) reference.
- Which types
rig_core.providers.gemini.GeminiConfig→rig_core.providers.anthropic.wire.Models
- Direction
- rig_core.providers.gemini uses rig_core.providers.anthropic.wire. Changing rig_core.providers.anthropic.wire can break rig_core.providers.gemini, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→8 rig_core.providers.openai.wire depends on rig_core.completion.request✕
- Type pairs
- 2 distinct (type in rig_core.providers.openai.wire → type in rig_core.completion.request) references.
- Which types
rig_core.providers.openai.wire.OpenAIConfig→rig_core.completion.request.CompletionRequestrig_core.providers.openai.wire.wire$module→rig_core.completion.request.CompletionRequest
- Direction
- rig_core.providers.openai.wire uses rig_core.completion.request. Changing rig_core.completion.request can break rig_core.providers.openai.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→23 rig_core.providers.openai.wire depends on rig_core.effect.family✕
- Type pairs
- 1 distinct (type in rig_core.providers.openai.wire → type in rig_core.effect.family) reference.
- Which types
rig_core.providers.openai.wire.OpenAIConfig→rig_core.effect.family.Rerank
- Direction
- rig_core.providers.openai.wire uses rig_core.effect.family. Changing rig_core.effect.family can break rig_core.providers.openai.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→32 rig_core.providers.openai.wire depends on rig_core.providers.anthropic.wire✕
- Type pairs
- 4 distinct (type in rig_core.providers.openai.wire → type in rig_core.providers.anthropic.wire) references.
- Which types
rig_core.providers.openai.wire.Dialect→rig_core.providers.anthropic.wire.Quirksrig_core.providers.openai.wire.OpenAIConfig→rig_core.providers.anthropic.wire.Dialectrig_core.providers.openai.wire.OpenAIConfig→rig_core.providers.anthropic.wire.Modelsrig_core.providers.openai.wire.wire$module→rig_core.providers.anthropic.wire.Dialect
- Direction
- rig_core.providers.openai.wire uses rig_core.providers.anthropic.wire. Changing rig_core.providers.anthropic.wire can break rig_core.providers.openai.wire, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→39 rig_core.providers.openai.wire depends on rig_core.client.openai cycle✕
- Type pairs
- 1 distinct (type in rig_core.providers.openai.wire → type in rig_core.client.openai) reference.
- Which types
rig_core.providers.openai.wire.OpenAIConfig→rig_core.client.openai.OpenAI
- Direction
- rig_core.providers.openai.wire uses rig_core.client.openai. Changing rig_core.client.openai can break rig_core.providers.openai.wire, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
38→1 rig_agent.agent.engine depends on rig_bedrock.types.converse_output✕
- Type pairs
- 4 distinct (type in rig_agent.agent.engine → type in rig_bedrock.types.converse_output) references.
- Which types
rig_agent.agent.engine.StreamingTurnSource→rig_bedrock.types.converse_output.Messagerig_agent.agent.engine.TurnSource→rig_bedrock.types.converse_output.Messagerig_agent.agent.engine.UnaryTurnSource→rig_bedrock.types.converse_output.Messagerig_agent.agent.engine.engine$module→rig_bedrock.types.converse_output.Message
- Direction
- rig_agent.agent.engine uses rig_bedrock.types.converse_output. Changing rig_bedrock.types.converse_output can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→2 rig_agent.agent.engine depends on rig_candle.types✕
- Type pairs
- 1 distinct (type in rig_agent.agent.engine → type in rig_candle.types) reference.
- Which types
rig_agent.agent.engine.AssembledTurn→rig_candle.types.FinishReason
- Direction
- rig_agent.agent.engine uses rig_candle.types. Changing rig_candle.types can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→3 rig_agent.agent.engine depends on rig_core.completion.message.identity✕
- Type pairs
- 1 distinct (type in rig_agent.agent.engine → type in rig_core.completion.message.identity) reference.
- Which types
rig_agent.agent.engine.engine$module→rig_core.completion.message.identity.CallId
- Direction
- rig_agent.agent.engine uses rig_core.completion.message.identity. Changing rig_core.completion.message.identity can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→8 rig_agent.agent.engine depends on rig_core.completion.request✕
- Type pairs
- 3 distinct (type in rig_agent.agent.engine → type in rig_core.completion.request) references.
- Which types
rig_agent.agent.engine.AssembledTurn→rig_core.completion.request.ResponseIdentityrig_agent.agent.engine.AssembledTurn→rig_core.completion.request.Usagerig_agent.agent.engine.engine$module→rig_core.completion.request.CompletionRequest
- Direction
- rig_agent.agent.engine uses rig_core.completion.request. Changing rig_core.completion.request can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→12 rig_agent.agent.engine depends on rig_http.wasm_compat✕
- Type pairs
- 1 distinct (type in rig_agent.agent.engine → type in rig_http.wasm_compat) reference.
- Which types
rig_agent.agent.engine.TurnSource→rig_http.wasm_compat.WasmCompatSend
- Direction
- rig_agent.agent.engine uses rig_http.wasm_compat. Changing rig_http.wasm_compat can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→13 rig_agent.agent.engine depends on rig_core.tool.context✕
- Type pairs
- 2 distinct (type in rig_agent.agent.engine → type in rig_core.tool.context) references.
- Which types
rig_agent.agent.engine.ToolCallDispatch→rig_core.tool.context.ToolContextrig_agent.agent.engine.engine$module→rig_core.tool.context.ToolContext
- Direction
- rig_agent.agent.engine uses rig_core.tool.context. Changing rig_core.tool.context can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→16 rig_agent.agent.engine depends on rig_agent.bus.handle✕
- Type pairs
- 1 distinct (type in rig_agent.agent.engine → type in rig_agent.bus.handle) reference.
- Which types
rig_agent.agent.engine.engine$module→rig_agent.bus.handle.ToolCall
- Direction
- rig_agent.agent.engine uses rig_agent.bus.handle. Changing rig_agent.bus.handle can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→17 rig_agent.agent.engine depends on rig_core.completion.message✕
- Type pairs
- 5 distinct (type in rig_agent.agent.engine → type in rig_core.completion.message) references.
- Which types
rig_agent.agent.engine.AssembledTurn→rig_core.completion.message.AssistantContentrig_agent.agent.engine.StreamingTurnSource→rig_core.completion.message.AssistantContentrig_agent.agent.engine.ToolCallDispatch→rig_core.completion.message.ToolResultrig_agent.agent.engine.ToolCallOutcome→rig_core.completion.message.UserContentrig_agent.agent.engine.engine$module→rig_core.completion.message.ToolResult
- Direction
- rig_agent.agent.engine uses rig_core.completion.message. Changing rig_core.completion.message can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→18 rig_agent.agent.engine depends on rig_core.error✕
- Type pairs
- 1 distinct (type in rig_agent.agent.engine → type in rig_core.error) reference.
- Which types
rig_agent.agent.engine.engine$module→rig_core.error.ErrorReport
- Direction
- rig_agent.agent.engine uses rig_core.error. Changing rig_core.error can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→19 rig_agent.agent.engine depends on rig_agent.run✕
- Type pairs
- 8 distinct (type in rig_agent.agent.engine → type in rig_agent.run) references.
- Which types
rig_agent.agent.engine.StreamingTurnSource→rig_agent.run.AgentRunrig_agent.agent.engine.StreamingTurnSource→rig_agent.run.PendingToolCallrig_agent.agent.engine.TurnSource→rig_agent.run.AgentRunrig_agent.agent.engine.TurnSource→rig_agent.run.PendingToolCallrig_agent.agent.engine.UnaryTurnSource→rig_agent.run.AgentRunrig_agent.agent.engine.UnaryTurnSource→rig_agent.run.PendingToolCallrig_agent.agent.engine.engine$module→rig_agent.run.AgentRunrig_agent.agent.engine.engine$module→rig_agent.run.PendingToolCall
- Direction
- rig_agent.agent.engine uses rig_agent.run. Changing rig_agent.run can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→20 rig_agent.agent.engine depends on rig_core.effect✕
- Type pairs
- 5 distinct (type in rig_agent.agent.engine → type in rig_core.effect) references.
- Which types
rig_agent.agent.engine.AssembledTurn→rig_core.effect.EffectIdrig_agent.agent.engine.AssembledTurn→rig_core.effect.EffectKindrig_agent.agent.engine.engine$module→rig_core.effect.EffectKindrig_agent.agent.engine.engine$module→rig_core.effect.HandlerKeyrig_agent.agent.engine.engine$module→rig_core.effect.Outcome
- Direction
- rig_agent.agent.engine uses rig_core.effect. Changing rig_core.effect can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→21 rig_agent.agent.engine depends on rig_agent.bus.dispatcher✕
- Type pairs
- 1 distinct (type in rig_agent.agent.engine → type in rig_agent.bus.dispatcher) reference.
- Which types
rig_agent.agent.engine.engine$module→rig_agent.bus.dispatcher.Dispatcher
- Direction
- rig_agent.agent.engine uses rig_agent.bus.dispatcher. Changing rig_agent.bus.dispatcher can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→24 rig_agent.agent.engine depends on rig_agent.agent.hook✕
- Type pairs
- 7 distinct (type in rig_agent.agent.engine → type in rig_agent.agent.hook) references.
- Which types
rig_agent.agent.engine.StreamingTurnSource→rig_agent.agent.hook.HookContextrig_agent.agent.engine.StreamingTurnSource→rig_agent.agent.hook.HookStackrig_agent.agent.engine.TurnSource→rig_agent.agent.hook.HookContextrig_agent.agent.engine.UnaryTurnSource→rig_agent.agent.hook.HookContextrig_agent.agent.engine.engine$module→rig_agent.agent.hook.HookContextrig_agent.agent.engine.engine$module→rig_agent.agent.hook.HookStackrig_agent.agent.engine.engine$module→rig_agent.agent.hook.ObservationAction
- Direction
- rig_agent.agent.engine uses rig_agent.agent.hook. Changing rig_agent.agent.hook can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→34 rig_agent.agent.engine depends on rig_agent.agent.completion✕
- Type pairs
- 3 distinct (type in rig_agent.agent.engine → type in rig_agent.agent.completion) references.
- Which types
rig_agent.agent.engine.StreamingTurnSource→rig_agent.agent.completion.PreparedCompletionRequestrig_agent.agent.engine.TurnSource→rig_agent.agent.completion.PreparedCompletionRequestrig_agent.agent.engine.UnaryTurnSource→rig_agent.agent.completion.PreparedCompletionRequest
- Direction
- rig_agent.agent.engine uses rig_agent.agent.completion. Changing rig_agent.agent.completion can break rig_agent.agent.engine, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→35 rig_core.client.openai depends on rig_core.driver✕
- Type pairs
- 1 distinct (type in rig_core.client.openai → type in rig_core.driver) reference.
- Which types
rig_core.client.openai.OpenAI→rig_core.driver.Model
- Direction
- rig_core.client.openai uses rig_core.driver. Changing rig_core.driver can break rig_core.client.openai, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→37 rig_core.client.openai depends on rig_core.providers.openai.wire✕
- Type pairs
- 1 distinct (type in rig_core.client.openai → type in rig_core.providers.openai.wire) reference.
- Which types
rig_core.client.openai.OpenAI→rig_core.providers.openai.wire.OpenAIConfig
- Direction
- rig_core.client.openai uses rig_core.providers.openai.wire. Changing rig_core.providers.openai.wire can break rig_core.client.openai, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→1 rig_test_support.goldens depends on rig_bedrock.types.converse_output✕
- Type pairs
- 2 distinct (type in rig_test_support.goldens → type in rig_bedrock.types.converse_output) references.
- Which types
rig_test_support.goldens.FailingMemory→rig_bedrock.types.converse_output.Messagerig_test_support.goldens.goldens$module→rig_bedrock.types.converse_output.Message
- Direction
- rig_test_support.goldens uses rig_bedrock.types.converse_output. Changing rig_bedrock.types.converse_output can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→7 rig_test_support.goldens depends on rig_core.providers.gemini.completion.gemini_api_types✕
- Type pairs
- 1 distinct (type in rig_test_support.goldens → type in rig_core.providers.gemini.completion.gemini_api_types) reference.
- Which types
rig_test_support.goldens.goldens$module→rig_core.providers.gemini.completion.gemini_api_types.Schema
- Direction
- rig_test_support.goldens uses rig_core.providers.gemini.completion.gemini_api_types. Changing rig_core.providers.gemini.completion.gemini_api_types can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→13 rig_test_support.goldens depends on rig_core.tool.context✕
- Type pairs
- 5 distinct (type in rig_test_support.goldens → type in rig_core.tool.context) references.
- Which types
rig_test_support.goldens.Adder→rig_core.tool.context.ToolContextrig_test_support.goldens.EmbedAdd→rig_core.tool.context.ToolContextrig_test_support.goldens.EmbedSubtract→rig_core.tool.context.ToolContextrig_test_support.goldens.FailingAdd→rig_core.tool.context.ToolContextrig_test_support.goldens.WriteNote→rig_core.tool.context.ToolContext
- Direction
- rig_test_support.goldens uses rig_core.tool.context. Changing rig_core.tool.context can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→15 rig_test_support.goldens depends on rig_ecs.agent✕
- Type pairs
- 2 distinct (type in rig_test_support.goldens → type in rig_ecs.agent) references.
- Which types
rig_test_support.goldens.EmbedAdd→rig_ecs.agent.Contextrig_test_support.goldens.EmbedSubtract→rig_ecs.agent.Context
- Direction
- rig_test_support.goldens uses rig_ecs.agent. Changing rig_ecs.agent can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→17 rig_test_support.goldens depends on rig_core.completion.message✕
- Type pairs
- 1 distinct (type in rig_test_support.goldens → type in rig_core.completion.message) reference.
- Which types
rig_test_support.goldens.goldens$module→rig_core.completion.message.Document
- Direction
- rig_test_support.goldens uses rig_core.completion.message. Changing rig_core.completion.message can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→20 rig_test_support.goldens depends on rig_core.effect✕
- Type pairs
- 37 distinct (type in rig_test_support.goldens → type in rig_core.effect) references. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- Which types
rig_test_support.goldens.ApprovalLayer→rig_core.effect.EffectIdrig_test_support.goldens.ApprovalLayer→rig_core.effect.EffectKindrig_test_support.goldens.CancelStreamLayer→rig_core.effect.EffectIdrig_test_support.goldens.CancelStreamLayer→rig_core.effect.EffectKindrig_test_support.goldens.DenyAddLayer→rig_core.effect.EffectIdrig_test_support.goldens.DenyAddLayer→rig_core.effect.EffectKindrig_test_support.goldens.DenyAllLayer→rig_core.effect.EffectIdrig_test_support.goldens.DenyAllLayer→rig_core.effect.EffectKindrig_test_support.goldens.Hold→rig_core.effect.CustomEffectrig_test_support.goldens.Lookup→rig_core.effect.EffectKindrig_test_support.goldens.Lookup→rig_core.effect.HandlerDescriptorrig_test_support.goldens.Lookup→rig_core.effect.HandlerKeyrig_test_support.goldens.MockRerank→rig_core.effect.RerankRequestrig_test_support.goldens.Never→rig_core.effect.EffectKindrig_test_support.goldens.Never→rig_core.effect.HandlerDescriptorrig_test_support.goldens.NeverAsked→rig_core.effect.EffectKindrig_test_support.goldens.NeverAsked→rig_core.effect.HandlerDescriptorrig_test_support.goldens.Note→rig_core.effect.CustomEffectrig_test_support.goldens.NoteTaker→rig_core.effect.EffectKindrig_test_support.goldens.NoteTaker→rig_core.effect.HandlerDescriptorrig_test_support.goldens.PatchAddArgsLayer→rig_core.effect.EffectIdrig_test_support.goldens.PatchAddArgsLayer→rig_core.effect.EffectKindrig_test_support.goldens.PatchAgainLayer→rig_core.effect.EffectIdrig_test_support.goldens.PatchAgainLayer→rig_core.effect.EffectKindrig_test_support.goldens.Relay→rig_core.effect.EffectKind
- Direction
- rig_test_support.goldens uses rig_core.effect. Changing rig_core.effect can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→21 rig_test_support.goldens depends on rig_agent.bus.dispatcher✕
- Type pairs
- 6 distinct (type in rig_test_support.goldens → type in rig_agent.bus.dispatcher) references.
- Which types
rig_test_support.goldens.Lookup→rig_agent.bus.dispatcher.Dispatcherrig_test_support.goldens.Lookup→rig_agent.bus.dispatcher.Replyrig_test_support.goldens.Never→rig_agent.bus.dispatcher.Replyrig_test_support.goldens.NeverAsked→rig_agent.bus.dispatcher.Replyrig_test_support.goldens.NoteTaker→rig_agent.bus.dispatcher.Replyrig_test_support.goldens.Relay→rig_agent.bus.dispatcher.Reply
- Direction
- rig_test_support.goldens uses rig_agent.bus.dispatcher. Changing rig_agent.bus.dispatcher can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→22 rig_test_support.goldens depends on rig_cassette.effect_log.log✕
- Type pairs
- 1 distinct (type in rig_test_support.goldens → type in rig_cassette.effect_log.log) reference.
- Which types
rig_test_support.goldens.goldens$module→rig_cassette.effect_log.log.EffectLog
- Direction
- rig_test_support.goldens uses rig_cassette.effect_log.log. Changing rig_cassette.effect_log.log can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→23 rig_test_support.goldens depends on rig_core.effect.family✕
- Type pairs
- 5 distinct (type in rig_test_support.goldens → type in rig_core.effect.family) references.
- Which types
rig_test_support.goldens.Adder→rig_core.effect.family.Toolrig_test_support.goldens.EmbedAdd→rig_core.effect.family.Toolrig_test_support.goldens.EmbedSubtract→rig_core.effect.family.Toolrig_test_support.goldens.FailingAdd→rig_core.effect.family.Toolrig_test_support.goldens.WriteNote→rig_core.effect.family.Tool
- Direction
- rig_test_support.goldens uses rig_core.effect.family. Changing rig_core.effect.family can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→24 rig_test_support.goldens depends on rig_agent.agent.hook✕
- Type pairs
- 190 distinct (type in rig_test_support.goldens → type in rig_agent.agent.hook) references. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- Which types
rig_test_support.goldens.CancelAddDispatch→rig_agent.agent.hook.AgentHookrig_test_support.goldens.CancelAddDispatch→rig_agent.agent.hook.DispatchActionrig_test_support.goldens.CancelAddDispatch→rig_agent.agent.hook.DispatchEventrig_test_support.goldens.CancelAddDispatch→rig_agent.agent.hook.HookContextrig_test_support.goldens.CancelAddOutcome→rig_agent.agent.hook.AgentHookrig_test_support.goldens.CancelAddOutcome→rig_agent.agent.hook.HookContextrig_test_support.goldens.CancelAddOutcome→rig_agent.agent.hook.OutcomeActionrig_test_support.goldens.CancelAddOutcome→rig_agent.agent.hook.OutcomeEventrig_test_support.goldens.CancelAnswer→rig_agent.agent.hook.AgentHookrig_test_support.goldens.CancelAnswer→rig_agent.agent.hook.HookContextrig_test_support.goldens.CancelAnswer→rig_agent.agent.hook.OutcomeActionrig_test_support.goldens.CancelAnswer→rig_agent.agent.hook.OutcomeEventrig_test_support.goldens.ClearAtSettled→rig_agent.agent.hook.AgentHookrig_test_support.goldens.ClearAtSettled→rig_agent.agent.hook.HookContextrig_test_support.goldens.ClearAtSettled→rig_agent.agent.hook.RunSettledrig_test_support.goldens.ClearAtStart→rig_agent.agent.hook.AgentHookrig_test_support.goldens.ClearAtStart→rig_agent.agent.hook.HookContextrig_test_support.goldens.ClearAtStart→rig_agent.agent.hook.RunStartrig_test_support.goldens.ClearAtStart→rig_agent.agent.hook.RunStartActionrig_test_support.goldens.DemandDone→rig_agent.agent.hook.AgentHookrig_test_support.goldens.DemandDone→rig_agent.agent.hook.HookContextrig_test_support.goldens.DemandDone→rig_agent.agent.hook.ModelTurnActionrig_test_support.goldens.DemandDone→rig_agent.agent.hook.ModelTurnFinishedrig_test_support.goldens.DenyAdd→rig_agent.agent.hook.AgentHookrig_test_support.goldens.DenyAdd→rig_agent.agent.hook.DispatchAction
- Direction
- rig_test_support.goldens uses rig_agent.agent.hook. Changing rig_agent.agent.hook can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→26 rig_test_support.goldens depends on rig_core.serve.handler✕
- Type pairs
- 10 distinct (type in rig_test_support.goldens → type in rig_core.serve.handler) references.
- Which types
rig_test_support.goldens.Lookup→rig_core.serve.handler.Dispatchrig_test_support.goldens.Lookup→rig_core.serve.handler.Serverig_test_support.goldens.Never→rig_core.serve.handler.Dispatchrig_test_support.goldens.Never→rig_core.serve.handler.Serverig_test_support.goldens.NeverAsked→rig_core.serve.handler.Dispatchrig_test_support.goldens.NeverAsked→rig_core.serve.handler.Serverig_test_support.goldens.NoteTaker→rig_core.serve.handler.Dispatchrig_test_support.goldens.NoteTaker→rig_core.serve.handler.Serverig_test_support.goldens.Relay→rig_core.serve.handler.Dispatchrig_test_support.goldens.Relay→rig_core.serve.handler.Serve
- Direction
- rig_test_support.goldens uses rig_core.serve.handler. Changing rig_core.serve.handler can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→27 rig_test_support.goldens depends on rig_core.tool.contextual✕
- Type pairs
- 2 distinct (type in rig_test_support.goldens → type in rig_core.tool.contextual) references.
- Which types
rig_test_support.goldens.EmbedAdd→rig_core.tool.contextual.ToolEmbeddingrig_test_support.goldens.EmbedSubtract→rig_core.tool.contextual.ToolEmbedding
- Direction
- rig_test_support.goldens uses rig_core.tool.contextual. Changing rig_core.tool.contextual can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→29 rig_test_support.goldens depends on rig_ecs.bus.effect✕
- Type pairs
- 1 distinct (type in rig_test_support.goldens → type in rig_ecs.bus.effect) reference.
- Which types
rig_test_support.goldens.goldens$module→rig_ecs.bus.effect.Answer
- Direction
- rig_test_support.goldens uses rig_ecs.bus.effect. Changing rig_ecs.bus.effect can break rig_test_support.goldens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→35 rig_test_support.goldens depends on rig_core.driver✕
- Type pairs
- 3 distinct (type in rig_test_support.goldens → type in rig_core.driver) references.
- Which types
rig_test_support.goldens.MockRerank→rig_core.driver.Exchangerig_test_support.goldens.MockRerank→rig_core.driver.Modelrig_test_support.goldens.MockRerank→rig_core.driver.Opening
- Direction
- rig_test_support.goldens uses rig_core.driver. Changing rig_core.driver can break rig_test_support.goldens, 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 — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2021 — Injection | 27 | High / Critical |
| A06:2021 — Vulnerable & Outdated Components | 12 | Medium |
| A02:2021 — Cryptographic Failures | 2 | High / Critical |
Roadmap
Immediately resolve the two leaked secrets in REDACTED and implement a draft release gate to prevent bad builds from reaching users. Strengthen system resilience by adding request timeouts and retry logic to all outbound HTTP calls, and enable Dependabot monitoring for GitHub Actions to ensure consistent security updates. Finally, establish a structured repository for architecture decision records to document key design choices and their consequences.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with REDACTED (2). | +9.1 pts | Low | Secret Scanning |
| Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it. | +9.1 pts | Medium | Deployment & Rollback |
| Give every client a whole-request bound: `reqwest::Client::builder().timeout(Duration::from_secs(10))` (never `reqwest::get` or `Client::new()`, which have none), ureq's `timeout_global`, or wrap the call in `tokio::time::timeout`; add retry with back-off (`reqwest-retry`'s `RetryTransientMiddleware`, `backoff`) around dependencies that fail. | +9.1 pts | Medium | Outbound HTTP resilience |
| Resolve the 1 Banned license finding(s) in License Compliance. | +4.2 pts | Low | License Compliance |
| Dependabot is configured but does not watch `github-actions` — add that `package-ecosystem` entry to REDACTED so those dependencies get the same automatic update and advisory pressure as the ones it already covers. | +8.2 pts | Medium | Security & performance tooling |
| 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). | +5.2 pts | Medium | Architecture documentation |
| Add a 'Testing' section to the root README — how to run the test suite. | +4.8 pts | Medium | Documentation (README) |
| Resolve the 7 Documentation finding(s) in Documentation Quality — start with README.md (7). | +2.0 pts | Low | Documentation Quality |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 4.4 | 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/rig-bedrock/src/streaming.rs | 5.1 | Mixed | Cyclomatic Complexity: StreamState::process_event (cyclomatic 21) |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.8 | Mixed | Dependency Vulnerabilities: Medium CVE: REDACTED |
| crates/rig-agent/src/agent/engine.rs | 7.0 | Near-clean | Cyclomatic Complexity: StreamingTurnSource::run_model_turn (cyclomatic 42) |
| crates/rig-cassette/src/ecs/delivery.rs | 7.0 | Near-clean | Cyclomatic Complexity: rig_cassette::ecs::delivery::collect_replayed (cyclomatic 37) |
| crates/rig-ecs/src/systems/mod.rs | 7.0 | Near-clean | Cyclomatic Complexity: rig_ecs::systems::land_batch (cyclomatic 20) |
| crates/rig-postgres/src/lib.rs | 7.0 | Near-clean | Code Duplication: Duplicated block (8 lines × 2) |
| crates/rig-core/src/providers/anthropic/completion.rs | 7.0 | Near-clean | Cyclomatic Complexity: rig_core::providers::anthropic::completion::transform_strict_tool_schema (cyclomatic 31) |
| crates/rig-core/src/providers/openai/completion/mod.rs | 7.0 | Near-clean | Cyclomatic Complexity: UserContent::try_from (cyclomatic 29) |
| crates/rig-candle/src/protocol.rs | 7.0 | Near-clean | Cyclomatic Complexity: rig_candle::protocol::render_qwen_message (cyclomatic 27) |
| xtask/src/cassette/audit.rs | 7.0 | Near-clean | Cyclomatic Complexity: File::compare (cyclomatic 25) |
| crates/rig-core/src/providers/gemini/completion.rs | 7.0 | Near-clean | Cyclomatic Complexity: Part::try_from (cyclomatic 24) |
| crates/rig-core/src/providers/openai/responses_api/mod.rs | 7.0 | Near-clean | Cyclomatic Complexity: rig_core::providers::openai::responses_api::input_items (cyclomatic 24) |
| crates/rig-core/src/providers/gemini/interactions_api/mod.rs | 7.0 | Near-clean | Cyclomatic Complexity: Step::split (cyclomatic 17) |
| test-support/rig-test-support/src/reasoning.rs | 7.0 | Near-clean | Code Duplication: Duplicated block (21 lines × 2) |
| crates/rig-agent/src/run/mod.rs | 7.1 | Near-clean | Cyclomatic Complexity: AgentRun::next_step (cyclomatic 21) |
| test-support/rig-test-support/src/matrix_registry.rs | 7.1 | Near-clean | Code Duplication: Duplicated block (12 lines × 2) |
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. 43 of 47 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 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, 404 of 420 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 · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ 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 MEASURED: test source is present (.rs, .mjs) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`, or lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) 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`, or lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) 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.
- D10 Test Quality — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The 2 test(s) behind this row are the ones the JavaScript/TypeScript census could read, and this repository also carries at least 1,253 test source file(s) (.rs) that it cannot: it reads JavaScript/TypeScript test declarations off disk, so a JUnit/pytest-style suite is invisible to it. Skipped tests, zero-assertion tests and the other quality signals on this row are UNMEASURED in that suite — their absence from the counts above is a gap in this analyzer's language coverage, not a finding that those tests are sound.
- 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, .mjs) and this repository declares a Cargo test suite (repository root, 1092 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.
- D22 Internal API Consistency — LLM provider failed — The model provider returned an unusable result, so this LLM-assisted dimension fell back to a measurement gap (confidence 0) rather than a penalty. Re-run with a reachable provider to score it.
- 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.
- 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.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- 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").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- 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.
- 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.
- 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.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- 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.
- 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.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- 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
59 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was StreamingTurnSource::run_model_turn at 42. A further 4 method(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 rig_lancedb::utils::deserializer::type_matcher at 58 — 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/rig-lancedb/src/utils/deserializer.rs (rig_lancedb::utils::deserializer::type_matcher at 58), crates/rig-core/src/error.rs (ErrorKind::code at 18), crates/rig-candle/src/pose.rs (BodyPart::select at 17). 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 7 rig_ecs finding(s) in Cyclomatic Complexity — start with checkpoint.rs (2), mod.rs (2), collect.rs. — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 6 xtask finding(s) in Cyclomatic Complexity — start with scan.rs (2), selection.rs, preflight.rs. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 6 rig_core finding(s) in Cyclomatic Complexity — start with completion.rs (2), mod.rs (2), schema.rs. — One of this dimension's main actionable groups (6 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
109 method(s) exceeded the cognitive complexity threshold of 15; the worst was StreamingTurnSource::run_model_turn at 106.
What to do
- Resolve the 17 rig_ecs finding(s) in Cognitive Complexity — start with mod.rs (9), checkpoint.rs (3), collect.rs (2). — One of this dimension's main actionable groups (17 warning-level).
- Resolve the 16 rig_core finding(s) in Cognitive Complexity — start with mod.rs (5), completion.rs (4), chat.rs (2). — One of this dimension's main actionable groups (16 warning-level).
- Resolve the 13 xtask finding(s) in Cognitive Complexity — start with scan.rs (2), execute.rs (2), audit.rs (2). — One of this dimension's main actionable groups (13 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
70 god class(es) detected.
What to do
- Resolve the 29 FileTooLong finding(s) in God Classes — start with mod.rs (8), completion.rs (3), lib.rs (2). — One of this dimension's main actionable groups (29 warning-level).
- Resolve the 17 MethodTooLong finding(s) in God Classes — start with mod.rs (5), streaming.rs (3), completion.rs (2). — One of this dimension's main actionable groups (17 warning-level).
- Resolve the 16 FunctionTooLong finding(s) in God Classes — start with mod.rs (2), engine.rs (2), completion.rs (2). — One of this dimension's main actionable groups (16 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
64 duplicated block group(s) detected. 25 of the 64 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population.
What to do
- Resolve the 8 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with streaming_conformance.rs (2), wire.rs, native.rs. — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 8 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with matrix_registry.rs (2), driver.rs, patch.rs. — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 7 Duplicated block (7 lines × 2) finding(s) in Code Duplication — start with loader.rs, model.rs, native.rs. — One of this dimension's main actionable groups (7 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
30 production modules (Cargo), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 1 module(s) off the main sequence, with abstractness counted on 29 of the 30 (the rest declare no modelled class or interface, export only macros, or have no source directory of their own).
What to do
- Resolve the 1 Off the main sequence 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)
2 of 335 classes have LCOM4 above 3.
What to do
- Resolve the 2 Low cohesion finding(s) in Cohesion (LCOM4) — start with cached_content.rs, client.rs. — One of this dimension's main actionable groups (2 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
6660 test methods: 3062 unit, 3586 integration, 0 BDD, 12 e2e. The JavaScript/TypeScript suite contributes 2 `it`/`test` case(s) across 1 test file(s) declaring at least one; its tier split is read from package names and paths only. The Rust suite contributes 6653 `#[test]` function(s) across 1092 file(s) declaring at least one; its unit/integration split is Cargo's own — 856 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. The Python suite contributes 5 test function(s) across 1 file(s) declaring at least one — every `def test…` in a file pytest or unittest would collect, which is those frameworks' own definition of a case; a parametrize table counts once, so this is a floor. Its tier split is read from file names and paths only.
D10 · Test Quality
0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 2 tests. Measured on the JavaScript/TypeScript suite only — at least 1,253 test source file(s) (.rs) went unread, so its test quality is unmeasured and is not in these counts.
D12 · Dependency Hygiene
7 outdated, 0 yanked direct Cargo dependencies. 12 of 13 direct crates were graded against crates.io (0 not published there, 1 not resolved by a committed REDACTED). Only DIRECT edges are graded: a transitive crate cannot be moved past what its parent's requirement admits, so reporting one would be advice its owner cannot take. A newer release is reported only where this repository's OWN requirement already admits it, so the remedy is `cargo update` and never a manifest edit — which means a release outside the declared range is deliberately NOT charged, because a written-down constraint is a decision rather than a defect. Note that a bare requirement is a CARET, and for a 0.x crate its ceiling is the minor. Whether any crate is UNMAINTAINED is not graded — crates.io publishes no maintenance status, and release age does not stand in for one. Known CVEs in this dependency graph are D30's question, read from REDACTED there.
What to do
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
2 secret(s) detected.
What to do
- Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
1 of 1157 shipped crate(s) use a banned license. Licences were resolved from crates.io over the crates a consumer compiles — this repository's REDACTED closed over its manifests' `[dependencies]` and `[build-dependencies]`. Crates it asks for ONLY under `[dev-dependencies]` are excluded: they are not compiled by anything that depends on this repository. This repository publishes itself under MIT, which is its own choice and is not judged here.
What to do
- Resolve the 1 Banned license finding(s) in License Compliance. — One of this dimension's main actionable groups (1 issue-level).
- Enforce License Compliance in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D15 · Churn × Complexity Hotspots
Top hotspots: crates/rig-core/src/providers/openai/completion/mod.rs (51×29=1479); crates/rig-core/src/providers/openai/responses_api/mod.rs (59×24=1416); crates/rig-core/src/providers/gemini/completion.rs (50×24=1200)
What to do
- Resolve the 38 Hotspot finding(s) in Churn × Complexity Hotspots — start with streaming.rs (7), mod.rs (5), completion.rs (2). — One of this dimension's main actionable groups (38 warning-level).
D16 · Bus Factor
66 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is test-support/rig-test-support/src/support.rs. Counted over 476 of the 623 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 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
0 deducted task-comment markers across 227467 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.
D19 · Documentation Quality
The repository's root README (with links to docs.rs, crates.io, Discord, and a warning) plus 38 example/README.md and 4 scripts/README.md documents the project as a whole with an overview, installation, usage, and contribution guide. The main architecture/design documentation is missing but all visible documents are complete for their respective directories: the root README gives an overview, install, and a one-line warning; each subdirectory's README describes its own directory (examples, scripts, tests) and shows how to run it with examples or commands. The READMEs for each of the 39 crates (rig-fastembed to rig-s3vectors) are all directory-level documentation that describe what their crate does and how to add it as a dependency; none is the repository root. The project's single architecture/design doc is absent from this set, so any architectural guidance would be outside these files. All 39 READMEs are present and well written with clear headings (Fastembed integration, Rig-Gemini-gRPC, etc.) and examples. A strong README for the crates/rig-scylladb directory that clearly states what it is (an embedding/vector store over ScyllaDB) and shows a runnable Rust example with an embedded struct, Tokio main, session creation, OpenAI model integration, vector-store construction, and query output. It links to examples and notes its capabilities and future direction.
What to do
- Resolve the 7 Documentation finding(s) in Documentation Quality — start with README.md (7). — One of this dimension's main actionable groups (7 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
4 of 32 build units (Cargo) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Split crates/rig-core 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)
27 finding(s): 0 critical, 27 high, 0 medium, 0 low. 21 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 4 file(s) — `crates/rig-cassette/fixtures/cassettes/perplexity/raw_capture_matrix/normalized_fields_match_raw_renormalized.yaml`, `crates/rig-cassette/fixtures/cassettes/perplexity/raw_capture_matrix/raw_exposes_object_not_citations.yaml`, `crates/rig-cassette/fixtures/cassettes/perplexity/raw_capture_matrix/raw_round_trips_openai_type.yaml`, `test-support/rig-test-support/src/support.rs` (line 1255) — 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 1 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 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 REDACTED finding(s) charged to Static Analysis (SAST) — the other 21 are reported here at file:line but scored by D36 (supply-chain provenance), which charges them once. — One of this dimension's main actionable groups (22 issue-level, 1 of them charged here).
D30 · Dependency Vulnerabilities
12 finding(s): 0 critical, 0 high, 12 medium, 0 low.
What to do
- Resolve the 8 Medium advisory (unmaintained) finding(s) in Dependency Vulnerabilities — start with REDACTED (8). — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 3 Medium vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 1 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D31 · IaC & Container Security
trivy and checkov found no infrastructure-as-code or container misconfigurations.
D34 · Knowledge Freshness
1 of 476 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is crates/rig-core/src/embeddings/embed.rs. Counted over 476 of the 623 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
Strongest change-coupling: lib.rs↔lib.rs 64%; lib.rs↔lib.rs 64%; lib.rs↔lib.rs 64%
What to do
- Resolve the 3 Change-coupling hub finding(s) in Change Coupling — start with lib.rs (3). — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 Change coupling finding(s) in Change Coupling — start with streaming.rs (2), mod.rs. — One of this dimension's main actionable groups (3 warning-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 1 platform declaration(s) and 0 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.
What to do
- Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
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
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 67 of 100 project(s) that lack one — worth up to 1.3 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
P1 · CI/CD gates
P2 · Observability
- Only 12/13 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `xtask`.
What to do
- Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
P3 · Security & performance tooling
What to do
- Dependabot is configured but does not watch `github-actions` — add that `package-ecosystem` entry to REDACTED so those dependencies get the same automatic update and advisory pressure as the ones it already covers.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY'S PIPELINE FILES. What was read: every file under `.github/workflows/`, `.forgejo/workflows/`, `.gitea/workflows/`, `.azuredevops/` and `.azure-pipelines/`, plus `.gitlab-ci*` and `azure-pipelines*` — with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab's `when: manual`, CircleCI's `type: approval`, an Azure `ManualValidation@` task or an `approvals:` block, a Jenkins `input` step, a `uses:` step naming an approval action, an `environment:` paired with `reviewers` / `required_reviewers` / `protection` / `wait-timer` / `deployment_branch_policy`, a draft-release step, a `workflow_dispatch` promotion, or a release-event gate. ★ What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy — all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release.
What to do
- Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
P6 · Release Hygiene
P7 · Outbound HTTP resilience
- `AgentBuilder::new(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. 8 of the 8 files that make outbound calls are unbounded; the first 8 are listed. — crates/rig-agent/src/extractor.rs:118
- `reqwest::Client::builder(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. (×3) — crates/rig-cassette/src/http/ledger.rs:328, crates/rig-cassette/src/http/paths.rs:234, crates/rig-reqwest/src/lib.rs:64
- `Client::new()` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. (×2) — crates/rig-helixdb/src/lib.rs:30, crates/rig-vectorize/src/client/mod.rs:75
- `reqwest::Client::new(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. — crates/rig-milvus/src/lib.rs:104
- `urllib.request.urlopen(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. — scripts/check-dependency-floors.py:127
What to do
- Give every client a whole-request bound: `reqwest::Client::builder().timeout(Duration::from_secs(10))` (never `reqwest::get` or `Client::new()`, which have none), ureq's `timeout_global`, or wrap the call in `tokio::time::timeout`; add retry with back-off (`reqwest-retry`'s `RetryTransientMiddleware`, `backoff`) around dependencies that fail.
- Pass `timeout=` on every `requests`/`httpx` call (requests has no default and will wait forever), mount an `HTTPAdapter(max_retries=Retry(...))` on shared sessions, and wrap calls to flaky dependencies in `tenacity` retries or a `pybreaker` circuit breaker.
P8 · Schema migrations
PF3 · Async & latency hygiene
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 88% | Exemplary | Solid. |
| Architecture | 97% | Exemplary | Solid. |
| Maturity | 66% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 58% | Adequate — gated by D13, P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 79% | Adequate — gated by D29 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 100% | Exemplary | Strongest area. |
| Event Sourcing | 100% | Exemplary | Solid. |
| Performance | 100% | Exemplary | Solid. |
Not evidenced — 4 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.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 76 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- 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
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — docker build failed (exit 1) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/bui…; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- 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.
- D11 Test Reliability — Test reliability not included — the .rs suite was found but not re-run
- 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.
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — LLM evaluation failed
- 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
- 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.
- D36 Supply-chain Provenance & Signing — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release).
- 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 — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- 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.
- 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
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 30 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
- Banned license: epub
- REDACTED
Serious — 370 finding(s)
- Hotspot: crates/rig-core/src/providers/openai/completion/mod.rs crates/rig-core/src/providers/openai/completion/mod.rs:653
- Hotspot: crates/rig-core/src/providers/openai/responses_api/mod.rs crates/rig-core/src/providers/openai/responses_api/mod.rs:394
- Hotspot: crates/rig-core/src/providers/gemini/completion.rs crates/rig-core/src/providers/gemini/completion.rs:887
- Hotspot: crates/rig-core/src/providers/anthropic/streaming.rs crates/rig-core/src/providers/anthropic/streaming.rs:257
- Hotspot: crates/rig-core/src/providers/anthropic/completion.rs crates/rig-core/src/providers/anthropic/completion.rs:859
- Hotspot: crates/rig-agent/src/run/mod.rs crates/rig-agent/src/run/mod.rs:881
- Hotspot: crates/rig-agent/src/agent/engine.rs crates/rig-agent/src/agent/engine.rs:788
- Hotspot: crates/rig-core/src/providers/gemini/interactions_api/mod.rs crates/rig-core/src/providers/gemini/interactions_api/mod.rs:1496
- Hotspot: crates/rig-core/src/providers/gemini/interactions_api/streaming.rs crates/rig-core/src/providers/gemini/interactions_api/streaming.rs:179
- Hotspot: crates/rig-bedrock/src/streaming.rs crates/rig-bedrock/src/streaming.rs:103
- Hotspot: crates/rig-core/src/providers/gemini/streaming.rs crates/rig-core/src/providers/gemini/streaming.rs:141
- Hotspot: crates/rig-bedrock/src/types/assistant_content.rs crates/rig-bedrock/src/types/assistant_content.rs:112
- Hotspot: crates/rig-lancedb/src/utils/deserializer.rs crates/rig-lancedb/src/utils/deserializer.rs:62
- Hotspot: crates/rig-agent/src/test_utils/model_conformance.rs crates/rig-agent/src/test_utils/model_conformance.rs:1380
- Hotspot: crates/rig-core/src/providers/cohere/streaming.rs crates/rig-core/src/providers/cohere/streaming.rs:192
- Hotspot: crates/rig-ecs/src/systems/mod.rs crates/rig-ecs/src/systems/mod.rs:1897
- Hotspot: crates/rig-candle/src/protocol.rs crates/rig-candle/src/protocol.rs:554
- Hotspot: crates/rig-gemini-grpc/src/streaming.rs crates/rig-gemini-grpc/src/streaming.rs:136
- Hotspot: crates/rig-vertexai/src/types/completion_request.rs crates/rig-vertexai/src/types/completion_request.rs:152
- Hotspot: crates/rig-vertexai/src/types/message.rs crates/rig-vertexai/src/types/message.rs:16
- Hotspot: test-support/rig-test-support/src/reasoning.rs test-support/rig-test-support/src/reasoning.rs:868
- Hotspot: crates/rig-core/src/test_utils/streaming.rs crates/rig-core/src/test_utils/streaming.rs:273
- Hotspot: crates/rig-cassette/src/ecs/delivery.rs crates/rig-cassette/src/ecs/delivery.rs:378
- Hotspot: crates/rig-agent/src/run/prepare.rs crates/rig-agent/src/run/prepare.rs:113
- Hotspot: crates/rig-core/src/driver.rs crates/rig-core/src/driver.rs:312
- FileTooLong: http/mod.rs crates/rig-cassette/src/http/mod.rs
- FileTooLong: systems/mod.rs crates/rig-ecs/src/systems/mod.rs
- FileTooLong: responses_api/mod.rs crates/rig-core/src/providers/openai/responses_api/mod.rs
- FileTooLong: interactions_api/mod.rs crates/rig-core/src/providers/gemini/interactions_api/mod.rs
- FileTooLong: gemini/completion.rs crates/rig-core/src/providers/gemini/completion.rs
- FileTooLong: anthropic/completion.rs crates/rig-core/src/providers/anthropic/completion.rs
- FileTooLong: agent/engine.rs crates/rig-agent/src/agent/engine.rs
- FileTooLong: src/lib.rs crates/rig-sqlite/src/lib.rs
- FileTooLong: completion/mod.rs crates/rig-core/src/providers/openai/completion/mod.rs
- FileTooLong: run/mod.rs crates/rig-agent/src/run/mod.rs
- FileTooLong: wire/chat.rs crates/rig-core/src/providers/openai/wire/chat.rs
- FileTooLong: agent/hook.rs crates/rig-agent/src/agent/hook.rs
- FileTooLong: operation/completion.rs crates/rig-core/src/operation/completion.rs
- FileTooLong: completion/message.rs crates/rig-core/src/completion/message.rs
- FileTooLong: wire/modality.rs crates/rig-core/src/providers/openai/wire/modality.rs
- FileTooLong: bus/dispatcher.rs crates/rig-agent/src/bus/dispatcher.rs
- FileTooLong: src/validation.rs crates/rig-candle/src/validation.rs
- FileTooLong: openai/wire.rs crates/rig-core/src/providers/openai/wire.rs
- FileTooLong: src/protocol.rs crates/rig-candle/src/protocol.rs
- FileTooLong: responses_api/streaming.rs crates/rig-core/src/providers/openai/responses_api/streaming.rs
- FileTooLong: src/lib.rs crates/rig-memory/src/lib.rs
- FileTooLong: effect/mod.rs crates/rig-core/src/effect/mod.rs
- FileTooLong: cassette/audit.rs xtask/src/cassette/audit.rs
- FileTooLong: types/converse_output.rs crates/rig-bedrock/src/types/converse_output.rs
- FileTooLong: agent/mod.rs crates/rig-ecs/src/agent/mod.rs
- rig_ecs::bus::collect::collect_streams (cognitive 87) crates/rig-ecs/src/bus/collect.rs:104
- rig_ecs::bus::dispatch::dispatch (cognitive 52) crates/rig-ecs/src/bus/dispatch.rs:63
- rig_ecs::systems::stream_invalid::discover_streamed_invalid_calls (cognitive 41) crates/rig-ecs/src/systems/stream_invalid.rs:63
- rig_ecs::systems::land_batch (cognitive 39) crates/rig-ecs/src/systems/mod.rs:1897
- rig_ecs::checkpoint::validate (cognitive 38) crates/rig-ecs/src/checkpoint.rs:431
- rig_ecs::systems::attach_retrieved (cognitive 31) crates/rig-ecs/src/systems/mod.rs:848
- rig_ecs::systems::gather_turn (cognitive 30) crates/rig-ecs/src/systems/mod.rs:1490
- rig_ecs::checkpoint::restore::load_world (cognitive 22) crates/rig-ecs/src/checkpoint/restore.rs:83
- rig_ecs::systems::advance (cognitive 21) crates/rig-ecs/src/systems/mod.rs:775
- rig_ecs::systems::read_turn (cognitive 20) crates/rig-ecs/src/systems/mod.rs:2358
- rig_ecs::systems::run_cancelled (cognitive 20) crates/rig-ecs/src/systems/mod.rs:2831
- rig_ecs::systems::fold (cognitive 19) crates/rig-ecs/src/systems/mod.rs:1712
- rig_ecs::systems::release_batch (cognitive 19) crates/rig-ecs/src/systems/mod.rs:1843
- rig_ecs::systems::judge_invalid_calls (cognitive 19) crates/rig-ecs/src/systems/mod.rs:2229
- rig_ecs::checkpoint::spawn_into (cognitive 18) crates/rig-ecs/src/checkpoint.rs:336
- rig_ecs::agent::checkpoint::validate (cognitive 17) crates/rig-ecs/src/agent/checkpoint.rs:165
- rig_ecs::bus::collect::settle (cognitive 17) crates/rig-ecs/src/bus/collect.rs:316
- MethodTooLong: StreamingTurnSource.run_model_turn crates/rig-agent/src/agent/engine.rs:788
- MethodTooLong: Part.try_from crates/rig-core/src/providers/gemini/completion.rs:887
- MethodTooLong: ReplayDelivery.new crates/rig-cassette/src/ecs/delivery.rs:66
- MethodTooLong: MessagesDecoder.interpret_content crates/rig-core/src/providers/anthropic/streaming.rs:257
- MethodTooLong: CompletionRequest.try_from crates/rig-core/src/providers/openai/completion/mod.rs:1566
- MethodTooLong: Message.from_message crates/rig-core/src/providers/anthropic/completion.rs:859
- MethodTooLong: QdrantFilter.interpret crates/rig-qdrant/src/filter.rs:137
- MethodTooLong: CacheBook.plan crates/rig-core/src/providers/gemini/caching.rs:650
- MethodTooLong: Content.try_from crates/rig-vertexai/src/types/message.rs:16
- MethodTooLong: AgentRun.next_step crates/rig-agent/src/run/mod.rs:881
- MethodTooLong: UserContent.try_from crates/rig-core/src/providers/openai/completion/mod.rs:653
- MethodTooLong: CompletionRequest.try_from crates/rig-core/src/providers/openai/responses_api/mod.rs:1156
- MethodTooLong: StreamState.process_event crates/rig-bedrock/src/streaming.rs:103
- MethodTooLong: InteractionsDecoder.decode crates/rig-core/src/providers/gemini/interactions_api/streaming.rs:179
- MethodTooLong: RigAssistantContent.into_content_block crates/rig-bedrock/src/types/assistant_content.rs:112
- MethodTooLong: Content.try_from crates/rig-core/src/providers/gemini/interactions_api/mod.rs:1496
- MethodTooLong: BusDriver.serve crates/rig-agent/src/bus/driver.rs:282
- rig_core::providers::internal::schema::sanitize_schema (cognitive 56) crates/rig-core/src/providers/internal/schema.rs:24
- rig_core::providers::anthropic::completion::transform_strict_tool_schema (cognitive 43) crates/rig-core/src/providers/anthropic/completion.rs:1389
- rig_core::providers::openai::responses_api::input_items (cognitive 42) crates/rig-core/src/providers/openai/responses_api/mod.rs:394
- rig_core::providers::gemini::interactions_api::interactions_api_types::pair_exchanges (cognitive 35) crates/rig-core/src/providers/gemini/interactions_api/mod.rs:539
- rig_core::driver::read (cognitive 34) crates/rig-core/src/driver.rs:312
- rig_core::providers::openai::wire::chat::finalize_deepseek (cognitive 31) crates/rig-core/src/providers/openai/wire/chat.rs:345
- rig_core::transcript::validate_canonical (cognitive 28) crates/rig-core/src/transcript.rs:50
- rig_core::providers::gemini::completion::create_request_body (cognitive 27) crates/rig-core/src/providers/gemini/completion.rs:221
- rig_core::completion::message::keys_lost_in_round_trip::walk (cognitive 26) crates/rig-core/src/completion/message.rs:625
- rig_core::providers::anthropic::completion::merge_root_all_of (cognitive 22) crates/rig-core/src/providers/anthropic/completion.rs:1286
- rig_core::providers::openai::completion::sanitize_plain_text_history (cognitive 21) crates/rig-core/src/providers/openai/completion/mod.rs:1461
- rig_core::providers::openai::completion::assistant_content_to_messages (cognitive 19) crates/rig-core/src/providers/openai/completion/mod.rs:857
- rig_core::providers::gemini::interactions_api::create_request_body (cognitive 18) crates/rig-core/src/providers/gemini/interactions_api/mod.rs:200
- rig_core::providers::openai::wire::chat::refuse_file_ids (cognitive 16) crates/rig-core/src/providers/openai/wire/chat.rs:725
- rig_core::providers::anthropic::completion::inline_local_root_reference (cognitive 16) crates/rig-core/src/providers/anthropic/completion.rs:1181
- rig_core::providers::internal::wire::scan_discriminators (cognitive 16) crates/rig-core/src/providers/internal/wire.rs:201
- FunctionTooLong: xtask::verify::checks::all xtask/src/verify/checks.rs:42
- FunctionTooLong: xtask::verify::selection::plan xtask/src/verify/selection.rs:197
- FunctionTooLong: rig_derive::tool::expand::expand_rig_tool crates/rig-derive/src/tool/expand.rs:108
- FunctionTooLong: rig_ecs::bus::dispatch::dispatch crates/rig-ecs/src/bus/dispatch.rs:63
- FunctionTooLong: rig_lancedb::utils::deserializer::type_matcher crates/rig-lancedb/src/utils/deserializer.rs:62
- FunctionTooLong: rig_agent::run::prepare::prepare_request crates/rig-agent/src/run/prepare.rs:113
- FunctionTooLong: rig_cassette::ecs::delivery::collect_replayed crates/rig-cassette/src/ecs/delivery.rs:378
- FunctionTooLong: rig_core::providers::openai::responses_api::input_items crates/rig-core/src/providers/openai/responses_api/mod.rs:394
- FunctionTooLong: rig_ecs::bus::collect::collect_streams crates/rig-ecs/src/bus/collect.rs:104
- FunctionTooLong: rig_ecs::systems::gather_turn crates/rig-ecs/src/systems/mod.rs:1490
- FunctionTooLong: rig_agent::agent::engine::drive_tool_calls crates/rig-agent/src/agent/engine.rs:498
- FunctionTooLong: rig_agent::agent::engine::dispatch_tool_call crates/rig-agent/src/agent/engine.rs:2032
- FunctionTooLong: rig_candle::protocol::render_qwen_message crates/rig-candle/src/protocol.rs:554
- FunctionTooLong: rig_core::providers::anthropic::completion::transform_strict_tool_schema crates/rig-core/src/providers/anthropic/completion.rs:1389
- FunctionTooLong: rig_cassette::ecs::identity::spec_json crates/rig-cassette/src/ecs/identity.rs:107
- FunctionTooLong: rig_core::providers::gemini::completion::create_request_body crates/rig-core/src/providers/gemini/completion.rs:221
- xtask::verify::selection::plan (cognitive 75) xtask/src/verify/selection.rs:197
- xtask::verify::preflight::run (cognitive 45) xtask/src/verify/preflight.rs:10
- xtask::cassette::scan::scan (cognitive 43) xtask/src/cassette/scan.rs:113
- xtask::cassette::owner::module_map (cognitive 32) xtask/src/cassette/owner.rs:87
- xtask::cassette::goldens::inserted_per_batch (cognitive 23) xtask/src/cassette/goldens.rs:200
- xtask::verify::execute::internal (cognitive 22) xtask/src/verify/execute.rs:41
- xtask::bevy::check (cognitive 21) xtask/src/bevy.rs:20
- xtask::cassette::scan::key_shape (cognitive 20) xtask/src/cassette/scan.rs:39
- xtask::cassette::spend::spend (cognitive 19) xtask/src/cassette/spend.rs:175
- xtask::cassette::record::run (cognitive 19) xtask/src/cassette/record.rs:201
- xtask::cassette::audit::run (cognitive 18) xtask/src/cassette/audit.rs:851
- xtask::cassette::audit::block_parts (cognitive 17) xtask/src/cassette/audit.rs:207
- xtask::verify::execute::run (cognitive 16) xtask/src/verify/execute.rs:130
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (9 lines × 2) crates/rig-core/src/providers/cohere/wire.rs:292
- Duplicated block (9 lines × 2) crates/rig-rmcp/src/native.rs:150
- Duplicated block (9 lines × 2) crates/rig-core/src/completion/request.rs:276
- Duplicated block (9 lines × 2) crates/rig-core/src/providers/anthropic/streaming.rs:115
- Duplicated block (9 lines × 2) crates/rig-core/src/test_utils/streaming_conformance.rs:242
- Duplicated block (9 lines × 2) test-support/rig-test-support/src/matrix_registry.rs:134
- Duplicated block (9 lines × 2) crates/rig-agent/src/test_utils/model_conformance.rs:1467
- Duplicated block (9 lines × 2) crates/rig-core/src/test_utils/streaming_conformance.rs:1003
- Duplicated block (5 lines × 2) crates/rig-agent/src/bus/driver.rs:448
- Duplicated block (5 lines × 2) crates/rig-agent/src/run/patch.rs:152
- Duplicated block (5 lines × 2) crates/rig-core/src/effect/mod.rs:111
- Duplicated block (5 lines × 2) crates/rig-core/src/audio_generation.rs:108
- Duplicated block (5 lines × 2) crates/rig-candle/src/model.rs:484
- Duplicated block (5 lines × 2) crates/rig-cassette/src/ecs/delivery.rs:321
- Duplicated block (5 lines × 2) test-support/rig-test-support/src/matrix_registry.rs:76
- Duplicated block (5 lines × 2) test-support/rig-test-support/src/matrix_registry.rs:143
- Outbound HTTP without resilience crates/rig-agent/src/extractor.rs:118
- Outbound HTTP without resilience crates/rig-cassette/src/http/ledger.rs:328
- Outbound HTTP without resilience crates/rig-cassette/src/http/paths.rs:234
- Outbound HTTP without resilience crates/rig-helixdb/src/lib.rs:30
- Outbound HTTP without resilience crates/rig-milvus/src/lib.rs:104
- Outbound HTTP without resilience crates/rig-reqwest/src/lib.rs:64
- Outbound HTTP without resilience crates/rig-vectorize/src/client/mod.rs:75
- Outbound HTTP without resilience scripts/check-dependency-floors.py:127
- rig_ecs::bus::collect::collect_streams (cyclomatic 30) crates/rig-ecs/src/bus/collect.rs:104
- rig_ecs::checkpoint::validate (cyclomatic 24) crates/rig-ecs/src/checkpoint.rs:431
- rig_ecs::bus::dispatch::dispatch (cyclomatic 22) crates/rig-ecs/src/bus/dispatch.rs:63
- rig_ecs::systems::land_batch (cyclomatic 20) crates/rig-ecs/src/systems/mod.rs:1897
- rig_ecs::systems::stream_invalid::discover_streamed_invalid_calls (cyclomatic 17) crates/rig-ecs/src/systems/stream_invalid.rs:63
- rig_ecs::systems::attach_retrieved (cyclomatic 17) crates/rig-ecs/src/systems/mod.rs:848
- rig_ecs::agent::checkpoint::validate (cyclomatic 16) crates/rig-ecs/src/agent/checkpoint.rs:165
- Duplicated block (7 lines × 2) crates/rig-candle/src/loader.rs:117
- Duplicated block (7 lines × 2) crates/rig-candle/src/model.rs:439
- Duplicated block (7 lines × 2) crates/rig-core/src/providers/copilot/auth/native.rs:255
- Duplicated block (7 lines × 2) crates/rig-core/src/serve/layer.rs:158
- Duplicated block (7 lines × 2) crates/rig-agent/src/run/response.rs:74
- Duplicated block (7 lines × 2) test-support/rig-test-support/src/comparison_guard.rs:53
- Duplicated block (7 lines × 2) test-support/rig-test-support/src/reasoning.rs:732
- xtask::verify::selection::plan (cyclomatic 41) xtask/src/verify/selection.rs:197
- xtask::cassette::scan::scan (cyclomatic 27) xtask/src/cassette/scan.rs:113
- xtask::verify::preflight::run (cyclomatic 22) xtask/src/verify/preflight.rs:10
- xtask::cassette::scan::key_shape (cyclomatic 21) xtask/src/cassette/scan.rs:39
- xtask::verify::execute::internal (cyclomatic 19) xtask/src/verify/execute.rs:41
- xtask::cassette::goldens::inserted_per_batch (cyclomatic 16) xtask/src/cassette/goldens.rs:200
- rig_core::providers::anthropic::completion::transform_strict_tool_schema (cyclomatic 31) crates/rig-core/src/providers/anthropic/completion.rs:1389
- rig_core::providers::internal::schema::sanitize_schema (cyclomatic 28) crates/rig-core/src/providers/internal/schema.rs:24
- rig_core::providers::openai::responses_api::input_items (cyclomatic 24) crates/rig-core/src/providers/openai/responses_api/mod.rs:394
- rig_core::driver::read (cyclomatic 23) crates/rig-core/src/driver.rs:312
- rig_core::providers::gemini::completion::create_request_body (cyclomatic 19) crates/rig-core/src/providers/gemini/completion.rs:221
- rig_core::providers::openai::completion::sanitize_plain_text_history (cyclomatic 16) crates/rig-core/src/providers/openai/completion/mod.rs:1461
- rig_cassette::ecs::delivery::collect_replayed (cognitive 65) crates/rig-cassette/src/ecs/delivery.rs:378
- rig_cassette::ecs::delivery::deliver_stream (cognitive 44) crates/rig-cassette/src/ecs/delivery.rs:666
- rig_cassette::http::relay::advance_body (cognitive 31) crates/rig-cassette/src/http/relay.rs:410
- rig_cassette::ecs::identity::required_row (cognitive 25) crates/rig-cassette/src/ecs/identity.rs:252
- rig_cassette::http::ledger::clean_up (cognitive 16) crates/rig-cassette/src/http/ledger.rs:324
- rig_cassette::ecs::identity::builder_spec_json (cognitive 16) crates/rig-cassette/src/ecs/identity.rs:28
- TooManyMethods: AgentRun crates/rig-agent/src/run/mod.rs:367
- TooManyMethods: OpenAIConfig crates/rig-core/src/providers/openai/wire.rs:740
- TooManyMethods: AgentBuilder crates/rig-agent/src/agent/builder.rs:134
- TooManyMethods: AgentRunner crates/rig-agent/src/agent/runner.rs:50
- TooManyMethods: Out crates/rig-core/src/wire.rs:518
- TooManyMethods: ToolExecutionError crates/rig-core/src/tool/result.rs:137
- Duplicated block (11 lines × 2) crates/rig-cassette/src/ecs/delivery.rs:723
- Duplicated block (11 lines × 2) crates/rig-core/src/vector_store/in_memory_store.rs:422
- Duplicated block (11 lines × 2) crates/rig-cassette/src/http/mod.rs:2172
- Duplicated block (11 lines × 2) crates/rig-agent/src/test_utils/model_conformance.rs:1906
- Duplicated block (11 lines × 2) crates/rig-core/src/test_utils/streaming.rs:340
- Duplicated block (11 lines × 2) test-support/rig-test-support/src/reasoning.rs:282
- rig_candle::protocol::render_qwen_message (cognitive 65) crates/rig-candle/src/protocol.rs:554
- rig_candle::protocol::validate_protocol_inputs (cognitive 30) crates/rig-candle/src/protocol.rs:96
- rig_candle::protocol::render_qwen3 (cognitive 24) crates/rig-candle/src/protocol.rs:446
- rig_candle::protocol::parse_qwen3_assistant (cognitive 22) crates/rig-candle/src/protocol.rs:711
- rig_candle::validation::validate_model_config (cognitive 17) crates/rig-candle/src/validation.rs:40
- Duplicated block (8 lines × 2) crates/rig-core/src/providers/openai/wire/chat.rs:347
- Duplicated block (8 lines × 2) crates/rig-core/src/providers/cohere/wire.rs:105
- Duplicated block (8 lines × 2) crates/rig-postgres/src/lib.rs:230
- Duplicated block (8 lines × 2) crates/rig-core/src/providers/openai/wire/modality.rs:325
- Duplicated block (8 lines × 2) test-support/rig-test-support/src/history_survival/adversarial.rs:119
- Duplicated block (6 lines × 2) crates/rig-core/src/loaders/epub/loader.rs:253
- Duplicated block (6 lines × 2) crates/rig-core/src/providers/chatgpt/auth/mod.rs:54
- Duplicated block (6 lines × 2) xtask/src/cassette/audit.rs:821
- Duplicated block (6 lines × 2) test-support/rig-test-support/src/reasoning.rs:296
- rig_cassette::ecs::delivery::collect_replayed (cyclomatic 37) crates/rig-cassette/src/ecs/delivery.rs:378
- rig_cassette::ecs::delivery::deliver_stream (cyclomatic 23) crates/rig-cassette/src/ecs/delivery.rs:666
- rig_cassette::ecs::identity::required_row (cyclomatic 19) crates/rig-cassette/src/ecs/identity.rs:252
- rig_agent::agent::engine::drive_agent (cyclomatic 29) crates/rig-agent/src/agent/engine.rs:150
- rig_agent::agent::engine::drive_tool_calls (cyclomatic 22) crates/rig-agent/src/agent/engine.rs:498
- rig_agent::run::prepare::prepare_request (cyclomatic 22) crates/rig-agent/src/run/prepare.rs:113
- rig_candle::protocol::render_qwen_message (cyclomatic 27) crates/rig-candle/src/protocol.rs:554
- rig_candle::protocol::parse_qwen3_assistant (cyclomatic 19) crates/rig-candle/src/protocol.rs:711
- rig_candle::protocol::validate_protocol_inputs (cyclomatic 16) crates/rig-candle/src/protocol.rs:96
- rig_agent::agent::engine::drive_agent (cognitive 56) crates/rig-agent/src/agent/engine.rs:150
- rig_agent::agent::engine::drive_tool_calls (cognitive 35) crates/rig-agent/src/agent/engine.rs:498
- rig_agent::run::prepare::prepare_request (cognitive 20) crates/rig-agent/src/run/prepare.rs:113
- File::compare (cognitive 37) xtask/src/cassette/audit.rs:415
- File::header (cognitive 21) xtask/src/cassette/audit.rs:611
- File::stream (cognitive 17) xtask/src/cassette/audit.rs:542
- REDACTED
- REDACTED
- REDACTED
- Change-coupling hub: lib.rs → lib.rs, lib.rs, lib.rs, lib.rs, lib.rs crates/rig-scylladb/src/lib.rs
- Change-coupling hub: lib.rs → lib.rs, lib.rs, lib.rs crates/rig-surrealdb/src/lib.rs
- Change-coupling hub: lib.rs → lib.rs, lib.rs, lib.rs crates/rig-postgres/src/lib.rs
- Change coupling: streaming.rs ↔ streaming.rs crates/rig-bedrock/src/streaming.rs
- Change coupling: streaming.rs ↔ streaming.rs crates/rig-bedrock/src/streaming.rs
- Change coupling: mod.rs ↔ streaming.rs crates/rig-core/src/providers/copilot/mod.rs
- Duplicated block (12 lines × 2) crates/rig-cassette/src/http/mod.rs:2942
- Duplicated block (12 lines × 2) test-support/rig-test-support/src/matrix_registry.rs:148
- Duplicated block (12 lines × 2) test-support/rig-test-support/src/raw_capture/chat.rs:64
- File::compare (cyclomatic 25) xtask/src/cassette/audit.rs:415
- File::header (cyclomatic 17) xtask/src/cassette/audit.rs:611
- Content::try_from (cyclomatic 24) crates/rig-vertexai/src/types/message.rs:16
- Content::try_from (cyclomatic 16) crates/rig-core/src/providers/gemini/interactions_api/mod.rs:1496
- CompletionRequest::try_from (cyclomatic 23) crates/rig-core/src/providers/openai/completion/mod.rs:1566
- CompletionRequest::try_from (cyclomatic 21) crates/rig-core/src/providers/openai/responses_api/mod.rs:1156
- GenerateContentDecoder::decode (cyclomatic 18) crates/rig-core/src/providers/gemini/streaming.rs:141
- GenerateContentDecoder::interpret_part (cyclomatic 16) crates/rig-core/src/providers/gemini/streaming.rs:387
- Content::try_from (cognitive 53) crates/rig-vertexai/src/types/message.rs:16
- Content::try_from (cognitive 16) crates/rig-core/src/providers/gemini/interactions_api/mod.rs:1496
- CompletionRequest::try_from (cognitive 43) crates/rig-core/src/providers/openai/completion/mod.rs:1566
- CompletionRequest::try_from (cognitive 26) crates/rig-core/src/providers/openai/responses_api/mod.rs:1156
- BusDriver::serve (cognitive 42) crates/rig-agent/src/bus/driver.rs:282
- BusDriver::poll (cognitive 23) crates/rig-agent/src/bus/driver.rs:526
- EffectLogReplayer::serve (cognitive 36) crates/rig-cassette/src/effect_log/replay.rs:588
- EffectLogReplayer::check_header (cognitive 19) crates/rig-cassette/src/effect_log/replay.rs:255
- GenerateContentDecoder::decode (cognitive 22) crates/rig-core/src/providers/gemini/streaming.rs:141
- GenerateContentDecoder::interpret_part (cognitive 19) crates/rig-core/src/providers/gemini/streaming.rs:387
- ChatDecoder::interpret_chunk (cognitive 21) crates/rig-core/src/providers/openai/wire/chat.rs:924
- ChatDecoder::interpret_stream (cognitive 17) crates/rig-core/src/providers/cohere/streaming.rs:192
- rig_vertexai::types::completion_request::vertex_generation_config (cognitive 20) crates/rig-vertexai/src/types/completion_request.rs:152
- rig_vertexai::types::completion_response::assistant_content (cognitive 19) crates/rig-vertexai/src/types/completion_response.rs:88
- rig_typesafeai::questions::validate_definition (cognitive 19) crates/rig-typesafeai/src/questions.rs:568
- rig_typesafeai::questions::validate (cognitive 17) crates/rig-typesafeai/src/questions.rs:654
- Duplicated block (10 lines × 2) crates/rig-milvus/src/lib.rs:187
- Duplicated block (10 lines × 2) test-support/rig-test-support/src/reasoning.rs:809
- Duplicated block (9 lines × 3) crates/rig-qdrant/src/filter.rs:282
- Duplicated block (9 lines × 3) crates/rig-agent/src/run/transcript.rs:105
- Low cohesion: NewCachedContent (LCOM4 5) crates/rig-core/src/providers/gemini/cached_content.rs:92
- Low cohesion: BedrockRuntime (LCOM4 4) crates/rig-bedrock/src/client.rs:60
- StreamingTurnSource::run_model_turn (cyclomatic 42) crates/rig-agent/src/agent/engine.rs:788
- ReplayDelivery::new (cyclomatic 35) crates/rig-cassette/src/ecs/delivery.rs:66
- MessagesDecoder::interpret_content (cyclomatic 29) crates/rig-core/src/providers/anthropic/streaming.rs:257
- UserContent::try_from (cyclomatic 29) crates/rig-core/src/providers/openai/completion/mod.rs:653
- QdrantFilter::interpret (cyclomatic 29) crates/rig-qdrant/src/filter.rs:137
- BusDriver::serve (cyclomatic 28) crates/rig-agent/src/bus/driver.rs:282
- Part::try_from (cyclomatic 24) crates/rig-core/src/providers/gemini/completion.rs:887
- Message::from_message (cyclomatic 22) crates/rig-core/src/providers/anthropic/completion.rs:859
- rig_derive::tool::expand::expand_rig_tool (cyclomatic 22) crates/rig-derive/src/tool/expand.rs:108
- AgentRun::next_step (cyclomatic 21) crates/rig-agent/src/run/mod.rs:881
- StreamState::process_event (cyclomatic 21) crates/rig-bedrock/src/streaming.rs:103
- InteractionsDecoder::decode (cyclomatic 21) crates/rig-core/src/providers/gemini/interactions_api/streaming.rs:179
- rig_vertexai::types::completion_request::vertex_generation_config (cyclomatic 21) crates/rig-vertexai/src/types/completion_request.rs:152
- Reply::observed (cyclomatic 20) crates/rig-core/src/serve/handler.rs:333
- Caching::send (cyclomatic 19) crates/rig-core/src/client/gemini_caching.rs:330
- rig_tungstenite::connection::run_actor (cyclomatic 19) crates/rig-tungstenite/src/connection.rs:97
- RigAssistantContent::into_content_block (cyclomatic 18) crates/rig-bedrock/src/types/assistant_content.rs:112
- EffectStream::poll_next (cyclomatic 17) crates/rig-agent/src/bus/dispatcher.rs:1220
- Buffered::poll (cyclomatic 17) crates/rig-cassette/src/ecs/delivery.rs:277
- HttpExchange::streaming (cyclomatic 17) crates/rig-core/src/driver/http_transport.rs:165
- Step::split (cyclomatic 17) crates/rig-core/src/providers/gemini/interactions_api/mod.rs:1035
- Session::record_one (cyclomatic 17) xtask/src/cassette/record.rs:298
- UnaryTurnSource::run_model_turn (cyclomatic 16) crates/rig-agent/src/agent/engine.rs:1701
- StreamingTurnSource::run_model_turn (cognitive 106) crates/rig-agent/src/agent/engine.rs:788
- ReplayDelivery::new (cognitive 57) crates/rig-cassette/src/ecs/delivery.rs:66
- MessagesDecoder::interpret_content (cognitive 47) crates/rig-core/src/providers/anthropic/streaming.rs:257
- MacroArgs::parse (cognitive 38) crates/rig-derive/src/tool/args.rs:99
- rig_tungstenite::connection::run_actor (cognitive 37) crates/rig-tungstenite/src/connection.rs:97
- Reply::observed (cognitive 35) crates/rig-core/src/serve/handler.rs:333
- RigAssistantContent::into_content_block (cognitive 34) crates/rig-bedrock/src/types/assistant_content.rs:112
- rig_derive::tool::expand::expand_rig_tool (cognitive 34) crates/rig-derive/src/tool/expand.rs:108
- AgentRun::next_step (cognitive 33) crates/rig-agent/src/run/mod.rs:881
- Part::try_from (cognitive 33) crates/rig-core/src/providers/gemini/completion.rs:887
- InteractionsDecoder::decode (cognitive 33) crates/rig-core/src/providers/gemini/interactions_api/streaming.rs:179
- Message::from_message (cognitive 30) crates/rig-core/src/providers/anthropic/completion.rs:859
- HttpExchange::streaming (cognitive 29) crates/rig-core/src/driver/http_transport.rs:165
- EffectStream::poll_next (cognitive 28) crates/rig-agent/src/bus/dispatcher.rs:1220
- StreamState::process_event (cognitive 26) crates/rig-bedrock/src/streaming.rs:103
- Buffered::poll (cognitive 26) crates/rig-cassette/src/ecs/delivery.rs:277
- check-dependency-floors.guard_source_paths (cognitive 26) scripts/check-dependency-floors.py:260
- Caching::send (cognitive 23) crates/rig-core/src/client/gemini_caching.rs:330
- OllamaCompletionRequest::try_from (cognitive 22) crates/rig-core/src/providers/ollama.rs:215
- UnaryTurnSource::run_model_turn (cognitive 20) crates/rig-agent/src/agent/engine.rs:1701
- QdrantFilter::interpret::to_condition (cognitive 20) crates/rig-qdrant/src/filter.rs:165
- Session::record_one (cognitive 19) xtask/src/cassette/record.rs:298
- check-dependency-floors.workspace_direct_deps (cognitive 19) scripts/check-dependency-floors.py:171
- check-dependency-floors.check_floors (cognitive 19) scripts/check-dependency-floors.py:202
- CassetteScrubber::scrub_json_value (cognitive 18) crates/rig-cassette/src/http/mod.rs:2762
- GrpcAdapter::interpret_part (cognitive 18) crates/rig-gemini-grpc/src/streaming.rs:136
- StripXmlProcessor::process (cognitive 17) crates/rig-core/src/loaders/epub/text_processors.rs:42
- Layer::serve (cognitive 17) crates/rig-core/src/serve/layer.rs:122
- BinaryAssets::resolve (cognitive 17) crates/rig-ecs/src/agent/content/binary.rs:294
- OllamaDecoder::interpret_record (cognitive 16) crates/rig-core/src/providers/ollama.rs:371
- ClassTooLong: AgentRun crates/rig-agent/src/run/mod.rs:367
- TooManyFields: Quirks crates/rig-core/src/providers/openai/wire.rs:515
- REDACTED
- Duplicated block (15–17 lines × 2) crates/rig-core/src/providers/voyageai/wire.rs:215
- Duplicated block (13–14 lines × 2) crates/rig-core/src/serve/adapters.rs:292
- Duplicated block (12–13 lines × 2) xtask/src/cassette/goldens.rs:33
- Duplicated block (11–12 lines × 2) crates/rig-candle/src/model.rs:494
- Duplicated block (8–9 lines × 3) crates/rig-ecs/src/bus/dispatch.rs:113
- Duplicated block (7 lines × 3) crates/rig-ecs/src/systems/mod.rs:2242
- Duplicated block (11 lines × 4) crates/rig-core/src/audio_generation.rs:49
- Duplicated block (5 lines × 3) crates/rig-core/src/providers/cohere/wire.rs:249
- Duplicated block (13 lines × 2) crates/rig-cassette/src/ecs/identity.rs:337
- Duplicated block (29 lines × 3) test-support/rig-test-support/src/scenario_registry.rs:149
- Duplicated block (21 lines × 2) test-support/rig-test-support/src/reasoning.rs:367
- Duplicated block (19 lines × 2) test-support/rig-test-support/src/reasoning.rs:274
- Duplicated block (17 lines × 2) crates/rig-http/src/test_utils.rs:238
- Duplicated block (11–16 lines × 2) test-support/rig-test-support/src/reasoning.rs:426
- Duplicated block (14 lines × 2) test-support/rig-test-support/src/raw_capture/chat.rs:79
- Duplicated block (8–11 lines × 3) crates/rig-core/src/test_utils/streaming_conformance.rs:955
- Duplicated block (10 lines × 3) test-support/rig-test-support/src/matrix_registry.rs:99
- Duplicated block (8 lines × 3) test-support/rig-test-support/src/matrix_registry.rs:83
- Duplicated block (16 lines × 2) test-support/rig-test-support/src/cache_conformance.rs:645
- End-of-life runtime: Rust 1.95
- Off the main sequence: rig-core
Minor — 13 finding(s)
- Documentation: no project overview README.md
- Documentation: no project overview crates/rig-fastembed/README.md
- Documentation: no installation or build instructions crates/rig-fastembed/README.md
- Documentation: no usage examples crates/rig-fastembed/README.md
- Documentation: no architecture or design documentation crates/rig-fastembed/README.md
- Documentation: no installation or build instructions crates/rig-scylladb/README.md
- Documentation: no usage examples crates/rig-scylladb/README.md
- Off-boarding risk: anonymized user #1
- Split crates/rig-core
- Orphaned files with no living knowledge
- No ADRs
- Logging is not universal
- No release approval gate
Minor — 7 finding(s)
- Outdated: aws-sdk-s3vectors
- Outdated: futures
- Outdated: reqwest
- Outdated: serde
- Outdated: serde_json
- Outdated: thiserror
- Outdated: tokio
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-afbc566bf5854d839506ea3fff3d30c0/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-afbc566bf5854d839506ea3fff3d30c0/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 . | 27 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive . | 12 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 0 | artifacts/raw/trivy-config.json |
| 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 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). | 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 | osv-scanner | — | osv-scanner --format json --recursive . | 0 | artifacts/raw/osv-scanner.json |