Executive summary
The system holds an adequate standing with a health score of 67%, indicating a workable asset that carries real operational risk. While the code is clean and the architecture is robust, the organization lacks the institutional memory to sustain it. This gap threatens delivery speed and increases the cost of future changes, as new teams will struggle to understand the rationale behind existing designs.
The asset is medium-sized, comprising nearly 68,000 lines of production code, with a rebuild effort estimated at roughly 0.7 person-years or €95,000. This represents significant value tied up in a system that is technically sound but organizationally fragile. The low percentage of boilerplate suggests the codebase is purpose-built, making the loss of contextual knowledge particularly costly if key personnel leave or if onboarding slows down.
The primary risk lies in Maturity, which scored 62%. This lens measures whether a new team can pick up the work and whether operational practices are solid. Without documented decisions, the system becomes a black box where changes ripple unpredictably, leading to defects and delays. The absence of recorded architectural decisions means every modification requires re-inventing the wheel, eroding confidence in the system’s long-term reliability and increasing the likelihood of costly outages or security missteps due to misunderstood constraints.
Conversely, the code quality is excellent at 92%, and the architecture is strong at 97%, meaning the foundation is solid. Performance is also healthy at 85%. These strengths ensure that when changes are made, they are likely to be stable and efficient. However, without the supporting documentation, these technical strengths are underutilized, as the team cannot leverage them effectively without understanding the underlying design intent.
Focus first on recording significant decisions in a centralized, discoverable format. This single action provides the highest leverage, transforming implicit knowledge into explicit assets that protect the business from future disruption. It is a low-cost, high-impact step that immediately improves onboarding and reduces the risk of accidental regression. Until this is in place, other improvements will yield diminishing returns because the context required to apply them safely is missing.
No single dominant problem — the weakest areas are close, so progress on any of them moves the score.
New since the last scan (50+)
- D3 · FileTooLong: commands/deps.rs src/commands/deps.rs
- D4 · Members sharing a duplicated core (5 members, 50+ identical tokens) crates/key-value-azure/src/store.rs
- D5 · Unstable project spin-build
- D5 · Unstable project spin-factor-outbound-pg
- D5 · Unstable project spin-runtime-config
- D5 · Unstable project spin-runtime-factors
- D5 · Unstable project spin-trigger-http
- D5 · Unstable project spin-trigger-redis
- D5 · Off the main sequence: spin-common
- D5 · Off the main sequence: spin-componentize
- D5 · Off the main sequence: spin-resource-table
- D5 · Off the main sequence: spin-serde
- D5 · Off the main sequence: terminal
- D5 · Off the main sequence: spin-telemetry
- D5 · Off the main sequence: spin-app
- D5 · Off the main sequence: spin-core
- D5 · Off the main sequence: spin-wasi-async
- D5 · Off the main sequence: spin-http-routes
- D5 · Off the main sequence: spin-locked-app
- D5 · Off the main sequence: spin-connection-semaphore
- D5 · Off the main sequence: spin-manifest
- D5 · Off the main sequence: spin-factor-otel
- D6 · Low cohesion: KeyValueDispatch (LCOM4 8) crates/factor-key-value/src/host.rs
- D6 · Low cohesion: KeyValue (LCOM4 6) crates/componentize/src/abi_conformance/test_key_value.rs
- D6 · Low cohesion: Template (LCOM4 4) crates/templates/src/template.rs
- D6 · Low cohesion: ComponentStdioWriter (LCOM4 4) crates/trigger/src/cli/stdio.rs
- D22 · Inconsistent error handling strategy for metadata retrieval. `get_metadata` implies a Result (likely returning an error on missing key), while `require_metadata` implies a Result (likely panicking or returning a specific 'not found' error variant). The naming convention is inconsistent with standard Rust patterns where `get` often returns `Option` and `require`/`expect` panics, or `get` returns `Result` and `require` is not present. Here, both return `Result`, making the distinction unclear and redundant.
- D22 · Redundant methods for retrieving the App ID. `id()` and `id_shared()` appear to return the same type (`str`) and likely the same value. The distinction between 'shared' and non-shared is not visible in the signature and suggests an internal implementation detail leaking into the public API.
- D22 · Ambiguous naming for build functions. `build` takes many parameters including `target_checks` and `wit_generation`, while `build_default` takes fewer. The name `build_default` suggests it is a convenience wrapper, but `build` is not named `build_full` or `build_advanced`. This creates confusion about which method to use for standard builds.
- D22 · Overlapping functionality for path resolution. `find_manifest_file_path` and `resolve_manifest_file_path` have similar names and likely similar purposes (locating a manifest file). The difference in input types (`str` vs `impl AsRef<Path>`) is minor, but the semantic difference between 'find' and 'resolve' is not clear from the signatures alone.
- D22 · Ambiguous API for componentization. `componentize_if_necessary` suggests a check-then-act pattern, while `componentize` suggests an unconditional action. However, without clear documentation, it is unclear if `componentize` also performs a check internally or if it always transforms. This leads to potential double-processing or confusion about when to use which.
- D29 · REDACTED
- D29 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D35 · Change coupling: lib.rs ↔ lib.rs crates/variables-env/src/lib.rs
- D35 · Change coupling: lib.rs ↔ lib.rs crates/factor-variables/src/lib.rs
- P7 · Outbound HTTP without resilience crates/doctor/src/rustlang/target.rs
- P7 · Outbound HTTP without resilience crates/environments/src/environment/env_loader.rs
- P7 · Outbound HTTP without resilience crates/factor-outbound-http/src/spin.rs
- P7 · Outbound HTTP without resilience crates/factor-outbound-http/src/wasi.rs
- P7 · Outbound HTTP without resilience crates/key-value-azure/src/store.rs
- P7 · Outbound HTTP without resilience crates/loader/src/http.rs
- P7 · Outbound HTTP without resilience crates/plugins/src/manager.rs
- P7 · Outbound HTTP without resilience crates/telemetry/src/lib.rs
- P7 · Outbound HTTP without resilience crates/templates/src/source.rs
- PF3 · Sync-over-async blocking src/commands/watch.rs
Rebuild cost & value ~ Modeled — €31,000–€160,000
| Cost to rebuild | €31,000–€160,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.9× (at 67% quality) |
| Size & shape | Medium · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~0.7 person-years of build effort (about ~€95,000 to rebuild). Its weakest lens is Maturity at 62% — 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 spin_capabilities | 2 spin_cli.commands.new | 3 spin_connection_semaphore | 4 spin_expressions | 5 spin_factor_key_value.runtime_config | 6 spin_http_routes | 7 spin_manifest.schema.v2 | 8 spin_outbound_networking_config.allowed_hosts | 9 spin_resource_table | 10 spin_core.store | 11 spin_doctor | 12 spin_factor_outbound_mysql.client | 13 spin_llm_local | 14 spin_locked_app.locked | 15 spin_manifest.schema.v2.component | 16 spin_app | 17 spin_core | 18 spin_factors.prepare | 19 spin_factors.factor | 20 spin_factor_otel | 21 spin_factor_sqlite | 22 spin_factor_key_value | 23 spin_factor_llm | 24 spin_factor_outbound_http.wasi | 25 spin_factor_outbound_mqtt.host | 26 spin_factor_outbound_mysql | 27 spin_factor_outbound_pg | 28 spin_factor_key_value.host | 29 spin_factor_outbound_http | 30 spin_factor_outbound_networking | 31 spin_factors_executor | 32 spin_manifest.schema.v2.trigger | 33 spin_runtime_factors | 34 spin_cli.commands.deps | 35 spin_loader.local | 36 spin_trigger_http | 37 spin_environments.loader | 38 spin_trigger.cli | 39 spin_trigger_http.server | 40 spin_build.manifest |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 spin_capabilities | ||||||||||||||||||||||||||||||||||||||||
| 2 spin_cli.commands.new | ||||||||||||||||||||||||||||||||||||||||
| 3 spin_connection_semaphore | ||||||||||||||||||||||||||||||||||||||||
| 4 spin_expressions | ||||||||||||||||||||||||||||||||||||||||
| 5 spin_factor_key_value.runtime_config | ||||||||||||||||||||||||||||||||||||||||
| 6 spin_http_routes | ||||||||||||||||||||||||||||||||||||||||
| 7 spin_manifest.schema.v2 | ||||||||||||||||||||||||||||||||||||||||
| 8 spin_outbound_networking_config.allowed_hosts | ||||||||||||||||||||||||||||||||||||||||
| 9 spin_resource_table | ||||||||||||||||||||||||||||||||||||||||
| 10 spin_core.store | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 spin_doctor | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 spin_factor_outbound_mysql.client | 2 | |||||||||||||||||||||||||||||||||||||||
| 13 spin_llm_local | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 spin_locked_app.locked | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 spin_manifest.schema.v2.component | 2 | |||||||||||||||||||||||||||||||||||||||
| 16 spin_app | 5 | |||||||||||||||||||||||||||||||||||||||
| 17 spin_core | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 18 spin_factors.prepare | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 spin_factors.factor | 1 | 2 | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||
| 20 spin_factor_otel | 3 | 2 | ||||||||||||||||||||||||||||||||||||||
| 21 spin_factor_sqlite | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 22 spin_factor_key_value | 2 | 2 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 23 spin_factor_llm | 1 | 2 | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||
| 24 spin_factor_outbound_http.wasi | 3 | 1 | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||
| 25 spin_factor_outbound_mqtt.host | 1 | 2 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 26 spin_factor_outbound_mysql | 2 | 3 | 1 | 1 | 1 | 2 | 2 | 1 | ||||||||||||||||||||||||||||||||
| 27 spin_factor_outbound_pg | 2 | 2 | 1 | 1 | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||
| 28 spin_factor_key_value.host | 2 | 2 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 29 spin_factor_outbound_http | 2 | 1 | 1 | 2 | 2 | 1 | 2 | |||||||||||||||||||||||||||||||||
| 30 spin_factor_outbound_networking | 3 | 2 | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||
| 31 spin_factors_executor | 1 | 2 | 1 | 1 | 4 | 5 | 2 | 1 | 1 | |||||||||||||||||||||||||||||||
| 32 spin_manifest.schema.v2.trigger | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 33 spin_runtime_factors | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 2 | ||||||||||||||||||||||||||||||||
| 34 spin_cli.commands.deps | 2 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 35 spin_loader.local | 1 | 3 | 1 | 1 | 3 | 2 | 1 | 2 | ||||||||||||||||||||||||||||||||
| 36 spin_trigger_http | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 37 spin_environments.loader | 1 | 1 | 3 | 1 | 2 | |||||||||||||||||||||||||||||||||||
| 38 spin_trigger.cli | 1 | 1 | 1 | 3 | ||||||||||||||||||||||||||||||||||||
| 39 spin_trigger_http.server | 3 | 2 | 4 | |||||||||||||||||||||||||||||||||||||
| 40 spin_build.manifest | 1 | 2 | 1 | 1 |
10→17 spin_core.store depends on spin_core cycle✕
- Type pairs
- 1 distinct (type in spin_core.store → type in spin_core) reference.
- Which types
spin_core.store.AsState→spin_core.State
- Direction
- spin_core.store uses spin_core. Changing spin_core can break spin_core.store, 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→4 spin_doctor depends on spin_expressions✕
- Type pairs
- 1 distinct (type in spin_doctor → type in spin_expressions) reference.
- Which types
spin_doctor.DryRunNotSupported→spin_expressions.Error
- Direction
- spin_doctor uses spin_expressions. Changing spin_expressions can break spin_doctor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→2 spin_factor_outbound_mysql.client depends on spin_cli.commands.new✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_mysql.client → type in spin_cli.commands.new) references.
- Which types
spin_factor_outbound_mysql.client.Client→spin_cli.commands.new.ParameterValuespin_factor_outbound_mysql.client.client$module→spin_cli.commands.new.ParameterValue
- Direction
- spin_factor_outbound_mysql.client uses spin_cli.commands.new. Changing spin_cli.commands.new can break spin_factor_outbound_mysql.client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→23 spin_llm_local depends on spin_factor_llm cycle✕
- Type pairs
- 1 distinct (type in spin_llm_local → type in spin_factor_llm) reference.
- Which types
spin_llm_local.LocalLlmEngine→spin_factor_llm.LlmEngine
- Direction
- spin_llm_local uses spin_factor_llm. Changing spin_factor_llm can break spin_llm_local, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
14→1 spin_locked_app.locked depends on spin_capabilities✕
- Type pairs
- 1 distinct (type in spin_locked_app.locked → type in spin_capabilities) reference.
- Which types
spin_locked_app.locked.LockedComponentDependency→spin_capabilities.InheritConfiguration
- Direction
- spin_locked_app.locked uses spin_capabilities. Changing spin_capabilities can break spin_locked_app.locked, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→37 spin_manifest.schema.v2.component depends on spin_environments.loader cycle✕
- Type pairs
- 2 distinct (type in spin_manifest.schema.v2.component → type in spin_environments.loader) references.
- Which types
spin_manifest.schema.v2.component.Component→spin_environments.loader.ComponentSourcespin_manifest.schema.v2.component.ComponentProfileOverride→spin_environments.loader.ComponentSource
- Direction
- spin_manifest.schema.v2.component uses spin_environments.loader. Changing spin_environments.loader can break spin_manifest.schema.v2.component, 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→14 spin_app depends on spin_locked_app.locked✕
- Type pairs
- 5 distinct (type in spin_app → type in spin_locked_app.locked) references.
- Which types
spin_app.App→spin_locked_app.locked.LockedAppspin_app.AppComponent→spin_locked_app.locked.LockedComponentspin_app.AppComponent→spin_locked_app.locked.LockedComponentSourcespin_app.AppTrigger→spin_locked_app.locked.LockedTriggerspin_app.spin_app$module→spin_locked_app.locked.LockedApp
- Direction
- spin_app uses spin_locked_app.locked. Changing spin_locked_app.locked can break spin_app, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→10 spin_core depends on spin_core.store✕
- Type pairs
- 2 distinct (type in spin_core → type in spin_core.store) references.
- Which types
spin_core.Engine→spin_core.store.StoreBuilderspin_core.State→spin_core.store.AsState
- Direction
- spin_core uses spin_core.store. Changing spin_core.store can break spin_core, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→15 spin_core depends on spin_manifest.schema.v2.component✕
- Type pairs
- 1 distinct (type in spin_core → type in spin_manifest.schema.v2.component) reference.
- Which types
spin_core.Engine→spin_manifest.schema.v2.component.Component
- Direction
- spin_core uses spin_manifest.schema.v2.component. Changing spin_manifest.schema.v2.component can break spin_core, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→16 spin_factors.prepare depends on spin_app✕
- Type pairs
- 1 distinct (type in spin_factors.prepare → type in spin_app) reference.
- Which types
spin_factors.prepare.PrepareContext→spin_app.AppComponent
- Direction
- spin_factors.prepare uses spin_app. Changing spin_app can break spin_factors.prepare, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→22 spin_factors.prepare depends on spin_factor_key_value cycle✕
- Type pairs
- 1 distinct (type in spin_factors.prepare → type in spin_factor_key_value) reference.
- Which types
spin_factors.prepare.PrepareContext→spin_factor_key_value.AppState
- Direction
- spin_factors.prepare uses spin_factor_key_value. Changing spin_factor_key_value can break spin_factors.prepare, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
19→5 spin_factors.factor depends on spin_factor_key_value.runtime_config✕
- Type pairs
- 1 distinct (type in spin_factors.factor → type in spin_factor_key_value.runtime_config) reference.
- Which types
spin_factors.factor.ConfigureAppContext→spin_factor_key_value.runtime_config.RuntimeConfig
- Direction
- spin_factors.factor uses spin_factor_key_value.runtime_config. Changing spin_factor_key_value.runtime_config can break spin_factors.factor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→16 spin_factors.factor depends on spin_app✕
- Type pairs
- 2 distinct (type in spin_factors.factor → type in spin_app) references.
- Which types
spin_factors.factor.ConfigureAppContext→spin_app.Appspin_factors.factor.ConfiguredApp→spin_app.App
- Direction
- spin_factors.factor uses spin_app. Changing spin_app can break spin_factors.factor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→17 spin_factors.factor depends on spin_core✕
- Type pairs
- 1 distinct (type in spin_factors.factor → type in spin_core) reference.
- Which types
spin_factors.factor.FactorField→spin_core.State
- Direction
- spin_factors.factor uses spin_core. Changing spin_core can break spin_factors.factor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→18 spin_factors.factor depends on spin_factors.prepare✕
- Type pairs
- 1 distinct (type in spin_factors.factor → type in spin_factors.prepare) reference.
- Which types
spin_factors.factor.Factor→spin_factors.prepare.PrepareContext
- Direction
- spin_factors.factor uses spin_factors.prepare. Changing spin_factors.prepare can break spin_factors.factor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→22 spin_factors.factor depends on spin_factor_key_value cycle✕
- Type pairs
- 2 distinct (type in spin_factors.factor → type in spin_factor_key_value) references.
- Which types
spin_factors.factor.ConfigureAppContext→spin_factor_key_value.AppStatespin_factors.factor.ConfiguredApp→spin_factor_key_value.AppState
- Direction
- spin_factors.factor uses spin_factor_key_value. Changing spin_factor_key_value can break spin_factors.factor, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
20→18 spin_factor_otel depends on spin_factors.prepare✕
- Type pairs
- 3 distinct (type in spin_factor_otel → type in spin_factors.prepare) references.
- Which types
spin_factor_otel.InstanceState→spin_factors.prepare.SelfInstanceBuilderspin_factor_otel.OtelFactor→spin_factors.prepare.PrepareContextspin_factor_otel.OtelFactorState→spin_factors.prepare.PrepareContext
- Direction
- spin_factor_otel uses spin_factors.prepare. Changing spin_factors.prepare can break spin_factor_otel, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→19 spin_factor_otel depends on spin_factors.factor✕
- Type pairs
- 2 distinct (type in spin_factor_otel → type in spin_factors.factor) references.
- Which types
spin_factor_otel.OtelFactor→spin_factors.factor.ConfigureAppContextspin_factor_otel.OtelFactor→spin_factors.factor.Factor
- Direction
- spin_factor_otel uses spin_factors.factor. Changing spin_factors.factor can break spin_factor_otel, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→18 spin_factor_sqlite depends on spin_factors.prepare✕
- Type pairs
- 1 distinct (type in spin_factor_sqlite → type in spin_factors.prepare) reference.
- Which types
spin_factor_sqlite.SqliteFactor→spin_factors.prepare.PrepareContext
- Direction
- spin_factor_sqlite uses spin_factors.prepare. Changing spin_factors.prepare can break spin_factor_sqlite, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→19 spin_factor_sqlite depends on spin_factors.factor✕
- Type pairs
- 2 distinct (type in spin_factor_sqlite → type in spin_factors.factor) references.
- Which types
spin_factor_sqlite.SqliteFactor→spin_factors.factor.ConfigureAppContextspin_factor_sqlite.SqliteFactor→spin_factors.factor.Factor
- Direction
- spin_factor_sqlite uses spin_factors.factor. Changing spin_factors.factor can break spin_factor_sqlite, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→3 spin_factor_key_value depends on spin_connection_semaphore✕
- Type pairs
- 2 distinct (type in spin_factor_key_value → type in spin_connection_semaphore) references.
- Which types
spin_factor_key_value.AppState→spin_connection_semaphore.ConnectionSemaphorespin_factor_key_value.InstanceBuilder→spin_connection_semaphore.ConnectionSemaphore
- Direction
- spin_factor_key_value uses spin_connection_semaphore. Changing spin_connection_semaphore can break spin_factor_key_value, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→18 spin_factor_key_value depends on spin_factors.prepare✕
- Type pairs
- 2 distinct (type in spin_factor_key_value → type in spin_factors.prepare) references.
- Which types
spin_factor_key_value.InstanceBuilder→spin_factors.prepare.FactorInstanceBuilderspin_factor_key_value.KeyValueFactor→spin_factors.prepare.PrepareContext
- Direction
- spin_factor_key_value uses spin_factors.prepare. Changing spin_factors.prepare can break spin_factor_key_value, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→19 spin_factor_key_value depends on spin_factors.factor✕
- Type pairs
- 2 distinct (type in spin_factor_key_value → type in spin_factors.factor) references.
- Which types
spin_factor_key_value.KeyValueFactor→spin_factors.factor.ConfigureAppContextspin_factor_key_value.KeyValueFactor→spin_factors.factor.Factor
- Direction
- spin_factor_key_value uses spin_factors.factor. Changing spin_factors.factor can break spin_factor_key_value, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→20 spin_factor_key_value depends on spin_factor_otel✕
- Type pairs
- 1 distinct (type in spin_factor_key_value → type in spin_factor_otel) reference.
- Which types
spin_factor_key_value.InstanceBuilder→spin_factor_otel.OtelFactorState
- Direction
- spin_factor_key_value uses spin_factor_otel. Changing spin_factor_otel can break spin_factor_key_value, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→4 spin_factor_llm depends on spin_expressions✕
- Type pairs
- 1 distinct (type in spin_factor_llm → type in spin_expressions) reference.
- Which types
spin_factor_llm.InstanceState→spin_expressions.Error
- Direction
- spin_factor_llm uses spin_expressions. Changing spin_expressions can break spin_factor_llm, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→13 spin_factor_llm depends on spin_llm_local✕
- Type pairs
- 2 distinct (type in spin_factor_llm → type in spin_llm_local) references.
- Which types
spin_factor_llm.InstanceState→spin_llm_local.InferencingModelspin_factor_llm.LlmEngine→spin_llm_local.InferencingModel
- Direction
- spin_factor_llm uses spin_llm_local. Changing spin_llm_local can break spin_factor_llm, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→18 spin_factor_llm depends on spin_factors.prepare✕
- Type pairs
- 2 distinct (type in spin_factor_llm → type in spin_factors.prepare) references.
- Which types
spin_factor_llm.InstanceState→spin_factors.prepare.SelfInstanceBuilderspin_factor_llm.LlmFactor→spin_factors.prepare.PrepareContext
- Direction
- spin_factor_llm uses spin_factors.prepare. Changing spin_factors.prepare can break spin_factor_llm, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→19 spin_factor_llm depends on spin_factors.factor✕
- Type pairs
- 2 distinct (type in spin_factor_llm → type in spin_factors.factor) references.
- Which types
spin_factor_llm.LlmFactor→spin_factors.factor.ConfigureAppContextspin_factor_llm.LlmFactor→spin_factors.factor.Factor
- Direction
- spin_factor_llm uses spin_factors.factor. Changing spin_factors.factor can break spin_factor_llm, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→20 spin_factor_llm depends on spin_factor_otel✕
- Type pairs
- 1 distinct (type in spin_factor_llm → type in spin_factor_otel) reference.
- Which types
spin_factor_llm.InstanceState→spin_factor_otel.OtelFactorState
- Direction
- spin_factor_llm uses spin_factor_otel. Changing spin_factor_otel can break spin_factor_llm, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→3 spin_factor_outbound_http.wasi depends on spin_connection_semaphore✕
- Type pairs
- 3 distinct (type in spin_factor_outbound_http.wasi → type in spin_connection_semaphore) references.
- Which types
spin_factor_outbound_http.wasi.ConnectOptions→spin_connection_semaphore.ConnectionSemaphorespin_factor_outbound_http.wasi.PermittedTcpStream→spin_connection_semaphore.ConnectionPermitspin_factor_outbound_http.wasi.RequestSender→spin_connection_semaphore.ConnectionSemaphore
- Direction
- spin_factor_outbound_http.wasi uses spin_connection_semaphore. Changing spin_connection_semaphore can break spin_factor_outbound_http.wasi, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→4 spin_factor_outbound_http.wasi depends on spin_expressions✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_http.wasi → type in spin_expressions) reference.
- Which types
spin_factor_outbound_http.wasi.wasi$module→spin_expressions.Error
- Direction
- spin_factor_outbound_http.wasi uses spin_expressions. Changing spin_expressions can break spin_factor_outbound_http.wasi, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→8 spin_factor_outbound_http.wasi depends on spin_outbound_networking_config.allowed_hosts✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_http.wasi → type in spin_outbound_networking_config.allowed_hosts) reference.
- Which types
spin_factor_outbound_http.wasi.RequestSender→spin_outbound_networking_config.allowed_hosts.OutboundAllowedHosts
- Direction
- spin_factor_outbound_http.wasi uses spin_outbound_networking_config.allowed_hosts. Changing spin_outbound_networking_config.allowed_hosts can break spin_factor_outbound_http.wasi, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→21 spin_factor_outbound_http.wasi depends on spin_factor_sqlite✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_http.wasi → type in spin_factor_sqlite) references.
- Which types
spin_factor_outbound_http.wasi.PermittedTcpStream→spin_factor_sqlite.Connectionspin_factor_outbound_http.wasi.RustlsStream→spin_factor_sqlite.Connection
- Direction
- spin_factor_outbound_http.wasi uses spin_factor_sqlite. Changing spin_factor_sqlite can break spin_factor_outbound_http.wasi, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→29 spin_factor_outbound_http.wasi depends on spin_factor_outbound_http cycle✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_http.wasi → type in spin_factor_outbound_http) reference.
- Which types
spin_factor_outbound_http.wasi.RequestSender→spin_factor_outbound_http.SelfRequestOrigin
- Direction
- spin_factor_outbound_http.wasi uses spin_factor_outbound_http. Changing spin_factor_outbound_http can break spin_factor_outbound_http.wasi, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
25→3 spin_factor_outbound_mqtt.host depends on spin_connection_semaphore✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_mqtt.host → type in spin_connection_semaphore) reference.
- Which types
spin_factor_outbound_mqtt.host.InstanceState→spin_connection_semaphore.ConnectionSemaphore
- Direction
- spin_factor_outbound_mqtt.host uses spin_connection_semaphore. Changing spin_connection_semaphore can break spin_factor_outbound_mqtt.host, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→4 spin_factor_outbound_mqtt.host depends on spin_expressions✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_mqtt.host → type in spin_expressions) references.
- Which types
spin_factor_outbound_mqtt.host.InstanceState→spin_expressions.Errorspin_factor_outbound_mqtt.host.host$module→spin_expressions.Error
- Direction
- spin_factor_outbound_mqtt.host uses spin_expressions. Changing spin_expressions can break spin_factor_outbound_mqtt.host, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→8 spin_factor_outbound_mqtt.host depends on spin_outbound_networking_config.allowed_hosts✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_mqtt.host → type in spin_outbound_networking_config.allowed_hosts) reference.
- Which types
spin_factor_outbound_mqtt.host.InstanceState→spin_outbound_networking_config.allowed_hosts.OutboundAllowedHosts
- Direction
- spin_factor_outbound_mqtt.host uses spin_outbound_networking_config.allowed_hosts. Changing spin_outbound_networking_config.allowed_hosts can break spin_factor_outbound_mqtt.host, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→9 spin_factor_outbound_mqtt.host depends on spin_resource_table✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_mqtt.host → type in spin_resource_table) reference.
- Which types
spin_factor_outbound_mqtt.host.InstanceState→spin_resource_table.Table
- Direction
- spin_factor_outbound_mqtt.host uses spin_resource_table. Changing spin_resource_table can break spin_factor_outbound_mqtt.host, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→18 spin_factor_outbound_mqtt.host depends on spin_factors.prepare✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_mqtt.host → type in spin_factors.prepare) reference.
- Which types
spin_factor_outbound_mqtt.host.InstanceState→spin_factors.prepare.SelfInstanceBuilder
- Direction
- spin_factor_outbound_mqtt.host uses spin_factors.prepare. Changing spin_factors.prepare can break spin_factor_outbound_mqtt.host, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→20 spin_factor_outbound_mqtt.host depends on spin_factor_otel✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_mqtt.host → type in spin_factor_otel) reference.
- Which types
spin_factor_outbound_mqtt.host.InstanceState→spin_factor_otel.OtelFactorState
- Direction
- spin_factor_outbound_mqtt.host uses spin_factor_otel. Changing spin_factor_otel can break spin_factor_outbound_mqtt.host, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→2 spin_factor_outbound_mysql depends on spin_cli.commands.new✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_mysql → type in spin_cli.commands.new) references.
- Which types
spin_factor_outbound_mysql.InstanceState→spin_cli.commands.new.ParameterValuespin_factor_outbound_mysql.MysqlFactorData→spin_cli.commands.new.ParameterValue
- Direction
- spin_factor_outbound_mysql uses spin_cli.commands.new. Changing spin_cli.commands.new can break spin_factor_outbound_mysql, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→3 spin_factor_outbound_mysql depends on spin_connection_semaphore✕
- Type pairs
- 3 distinct (type in spin_factor_outbound_mysql → type in spin_connection_semaphore) references.
- Which types
spin_factor_outbound_mysql.AppState→spin_connection_semaphore.ConnectionSemaphorespin_factor_outbound_mysql.InstanceState→spin_connection_semaphore.ConnectionSemaphorespin_factor_outbound_mysql.InstanceStateInner→spin_connection_semaphore.ConnectionPermit
- Direction
- spin_factor_outbound_mysql uses spin_connection_semaphore. Changing spin_connection_semaphore can break spin_factor_outbound_mysql, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→4 spin_factor_outbound_mysql depends on spin_expressions✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_mysql → type in spin_expressions) reference.
- Which types
spin_factor_outbound_mysql.InstanceState→spin_expressions.Error
- Direction
- spin_factor_outbound_mysql uses spin_expressions. Changing spin_expressions can break spin_factor_outbound_mysql, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→8 spin_factor_outbound_mysql depends on spin_outbound_networking_config.allowed_hosts✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_mysql → type in spin_outbound_networking_config.allowed_hosts) reference.
- Which types
spin_factor_outbound_mysql.InstanceStateInner→spin_outbound_networking_config.allowed_hosts.OutboundAllowedHosts
- Direction
- spin_factor_outbound_mysql uses spin_outbound_networking_config.allowed_hosts. Changing spin_outbound_networking_config.allowed_hosts can break spin_factor_outbound_mysql, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→9 spin_factor_outbound_mysql depends on spin_resource_table✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_mysql → type in spin_resource_table) reference.
- Which types
spin_factor_outbound_mysql.InstanceStateInner→spin_resource_table.Table
- Direction
- spin_factor_outbound_mysql uses spin_resource_table. Changing spin_resource_table can break spin_factor_outbound_mysql, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→18 spin_factor_outbound_mysql depends on spin_factors.prepare✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_mysql → type in spin_factors.prepare) references.
- Which types
spin_factor_outbound_mysql.InstanceState→spin_factors.prepare.SelfInstanceBuilderspin_factor_outbound_mysql.OutboundMysqlFactor→spin_factors.prepare.PrepareContext
- Direction
- spin_factor_outbound_mysql uses spin_factors.prepare. Changing spin_factors.prepare can break spin_factor_outbound_mysql, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→19 spin_factor_outbound_mysql depends on spin_factors.factor✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_mysql → type in spin_factors.factor) references.
- Which types
spin_factor_outbound_mysql.OutboundMysqlFactor→spin_factors.factor.ConfigureAppContextspin_factor_outbound_mysql.OutboundMysqlFactor→spin_factors.factor.Factor
- Direction
- spin_factor_outbound_mysql uses spin_factors.factor. Changing spin_factors.factor can break spin_factor_outbound_mysql, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→20 spin_factor_outbound_mysql depends on spin_factor_otel✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_mysql → type in spin_factor_otel) reference.
- Which types
spin_factor_outbound_mysql.InstanceStateInner→spin_factor_otel.OtelFactorState
- Direction
- spin_factor_outbound_mysql uses spin_factor_otel. Changing spin_factor_otel can break spin_factor_outbound_mysql, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→2 spin_factor_outbound_pg depends on spin_cli.commands.new✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_pg → type in spin_cli.commands.new) references.
- Which types
spin_factor_outbound_pg.InstanceState→spin_cli.commands.new.ParameterValuespin_factor_outbound_pg.PgFactorData→spin_cli.commands.new.ParameterValue
- Direction
- spin_factor_outbound_pg uses spin_cli.commands.new. Changing spin_cli.commands.new can break spin_factor_outbound_pg, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→3 spin_factor_outbound_pg depends on spin_connection_semaphore✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_pg → type in spin_connection_semaphore) references.
- Which types
spin_factor_outbound_pg.AppState→spin_connection_semaphore.ConnectionSemaphorespin_factor_outbound_pg.InstanceState→spin_connection_semaphore.ConnectionSemaphore
- Direction
- spin_factor_outbound_pg uses spin_connection_semaphore. Changing spin_connection_semaphore can break spin_factor_outbound_pg, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→4 spin_factor_outbound_pg depends on spin_expressions✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_pg → type in spin_expressions) reference.
- Which types
spin_factor_outbound_pg.InstanceState→spin_expressions.Error
- Direction
- spin_factor_outbound_pg uses spin_expressions. Changing spin_expressions can break spin_factor_outbound_pg, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→9 spin_factor_outbound_pg depends on spin_resource_table✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_pg → type in spin_resource_table) reference.
- Which types
spin_factor_outbound_pg.InstanceState→spin_resource_table.Table
- Direction
- spin_factor_outbound_pg uses spin_resource_table. Changing spin_resource_table can break spin_factor_outbound_pg, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→18 spin_factor_outbound_pg depends on spin_factors.prepare✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_pg → type in spin_factors.prepare) references.
- Which types
spin_factor_outbound_pg.InstanceState→spin_factors.prepare.SelfInstanceBuilderspin_factor_outbound_pg.OutboundPgFactor→spin_factors.prepare.PrepareContext
- Direction
- spin_factor_outbound_pg uses spin_factors.prepare. Changing spin_factors.prepare can break spin_factor_outbound_pg, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→19 spin_factor_outbound_pg depends on spin_factors.factor✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_pg → type in spin_factors.factor) references.
- Which types
spin_factor_outbound_pg.OutboundPgFactor→spin_factors.factor.ConfigureAppContextspin_factor_outbound_pg.OutboundPgFactor→spin_factors.factor.Factor
- Direction
- spin_factor_outbound_pg uses spin_factors.factor. Changing spin_factors.factor can break spin_factor_outbound_pg, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→20 spin_factor_outbound_pg depends on spin_factor_otel✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_pg → type in spin_factor_otel) reference.
- Which types
spin_factor_outbound_pg.InstanceState→spin_factor_otel.OtelFactorState
- Direction
- spin_factor_outbound_pg uses spin_factor_otel. Changing spin_factor_otel can break spin_factor_outbound_pg, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→3 spin_factor_key_value.host depends on spin_connection_semaphore✕
- Type pairs
- 2 distinct (type in spin_factor_key_value.host → type in spin_connection_semaphore) references.
- Which types
spin_factor_key_value.host.KeyValueDispatch→spin_connection_semaphore.ConnectionSemaphorespin_factor_key_value.host.host$module→spin_connection_semaphore.ConnectionSemaphore
- Direction
- spin_factor_key_value.host uses spin_connection_semaphore. Changing spin_connection_semaphore can break spin_factor_key_value.host, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→4 spin_factor_key_value.host depends on spin_expressions✕
- Type pairs
- 2 distinct (type in spin_factor_key_value.host → type in spin_expressions) references.
- Which types
spin_factor_key_value.host.KeyValueDispatch→spin_expressions.Errorspin_factor_key_value.host.host$module→spin_expressions.Error
- Direction
- spin_factor_key_value.host uses spin_expressions. Changing spin_expressions can break spin_factor_key_value.host, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→9 spin_factor_key_value.host depends on spin_resource_table✕
- Type pairs
- 1 distinct (type in spin_factor_key_value.host → type in spin_resource_table) reference.
- Which types
spin_factor_key_value.host.KeyValueDispatch→spin_resource_table.Table
- Direction
- spin_factor_key_value.host uses spin_resource_table. Changing spin_resource_table can break spin_factor_key_value.host, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→20 spin_factor_key_value.host depends on spin_factor_otel✕
- Type pairs
- 1 distinct (type in spin_factor_key_value.host → type in spin_factor_otel) reference.
- Which types
spin_factor_key_value.host.KeyValueDispatch→spin_factor_otel.OtelFactorState
- Direction
- spin_factor_key_value.host uses spin_factor_otel. Changing spin_factor_otel can break spin_factor_key_value.host, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→22 spin_factor_key_value.host depends on spin_factor_key_value✕
- Type pairs
- 1 distinct (type in spin_factor_key_value.host → type in spin_factor_key_value) reference.
- Which types
spin_factor_key_value.host.host$module→spin_factor_key_value.SwapError
- Direction
- spin_factor_key_value.host uses spin_factor_key_value. Changing spin_factor_key_value can break spin_factor_key_value.host, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→3 spin_factor_outbound_http depends on spin_connection_semaphore✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_http → type in spin_connection_semaphore) references.
- Which types
spin_factor_outbound_http.AppState→spin_connection_semaphore.ConnectionSemaphorespin_factor_outbound_http.InstanceHttpHooks→spin_connection_semaphore.ConnectionSemaphore
- Direction
- spin_factor_outbound_http uses spin_connection_semaphore. Changing spin_connection_semaphore can break spin_factor_outbound_http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→8 spin_factor_outbound_http depends on spin_outbound_networking_config.allowed_hosts✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_http → type in spin_outbound_networking_config.allowed_hosts) reference.
- Which types
spin_factor_outbound_http.InstanceHttpHooks→spin_outbound_networking_config.allowed_hosts.OutboundAllowedHosts
- Direction
- spin_factor_outbound_http uses spin_outbound_networking_config.allowed_hosts. Changing spin_outbound_networking_config.allowed_hosts can break spin_factor_outbound_http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→12 spin_factor_outbound_http depends on spin_factor_outbound_mysql.client✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_http → type in spin_factor_outbound_mysql.client) reference.
- Which types
spin_factor_outbound_http.InstanceHttpHooks→spin_factor_outbound_mysql.client.Client
- Direction
- spin_factor_outbound_http uses spin_factor_outbound_mysql.client. Changing spin_factor_outbound_mysql.client can break spin_factor_outbound_http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→18 spin_factor_outbound_http depends on spin_factors.prepare✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_http → type in spin_factors.prepare) references.
- Which types
spin_factor_outbound_http.InstanceState→spin_factors.prepare.SelfInstanceBuilderspin_factor_outbound_http.OutboundHttpFactor→spin_factors.prepare.PrepareContext
- Direction
- spin_factor_outbound_http uses spin_factors.prepare. Changing spin_factors.prepare can break spin_factor_outbound_http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→19 spin_factor_outbound_http depends on spin_factors.factor✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_http → type in spin_factors.factor) references.
- Which types
spin_factor_outbound_http.OutboundHttpFactor→spin_factors.factor.ConfigureAppContextspin_factor_outbound_http.OutboundHttpFactor→spin_factors.factor.Factor
- Direction
- spin_factor_outbound_http uses spin_factors.factor. Changing spin_factors.factor can break spin_factor_outbound_http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→20 spin_factor_outbound_http depends on spin_factor_otel✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_http → type in spin_factor_otel) reference.
- Which types
spin_factor_outbound_http.InstanceHttpHooks→spin_factor_otel.OtelFactorState
- Direction
- spin_factor_outbound_http uses spin_factor_otel. Changing spin_factor_otel can break spin_factor_outbound_http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→24 spin_factor_outbound_http depends on spin_factor_outbound_http.wasi✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_http → type in spin_factor_outbound_http.wasi) references.
- Which types
spin_factor_outbound_http.AppState→spin_factor_outbound_http.wasi.HttpClientsspin_factor_outbound_http.InstanceHttpHooks→spin_factor_outbound_http.wasi.HttpClients
- Direction
- spin_factor_outbound_http uses spin_factor_outbound_http.wasi. Changing spin_factor_outbound_http.wasi can break spin_factor_outbound_http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→3 spin_factor_outbound_networking depends on spin_connection_semaphore✕
- Type pairs
- 3 distinct (type in spin_factor_outbound_networking → type in spin_connection_semaphore) references.
- Which types
spin_factor_outbound_networking.AppState→spin_connection_semaphore.ConnectionSemaphorespin_factor_outbound_networking.AppState→spin_connection_semaphore.LimitedSemaphorespin_factor_outbound_networking.spin_factor_outbound_networking$module→spin_connection_semaphore.ConnectionSemaphore
- Direction
- spin_factor_outbound_networking uses spin_connection_semaphore. Changing spin_connection_semaphore can break spin_factor_outbound_networking, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→8 spin_factor_outbound_networking depends on spin_outbound_networking_config.allowed_hosts✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_networking → type in spin_outbound_networking_config.allowed_hosts) references.
- Which types
spin_factor_outbound_networking.InstanceBuilder→spin_outbound_networking_config.allowed_hosts.OutboundAllowedHostsspin_factor_outbound_networking.spin_factor_outbound_networking$module→spin_outbound_networking_config.allowed_hosts.OutboundAllowedHosts
- Direction
- spin_factor_outbound_networking uses spin_outbound_networking_config.allowed_hosts. Changing spin_outbound_networking_config.allowed_hosts can break spin_factor_outbound_networking, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→18 spin_factor_outbound_networking depends on spin_factors.prepare✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_networking → type in spin_factors.prepare) references.
- Which types
spin_factor_outbound_networking.InstanceBuilder→spin_factors.prepare.FactorInstanceBuilderspin_factor_outbound_networking.OutboundNetworkingFactor→spin_factors.prepare.PrepareContext
- Direction
- spin_factor_outbound_networking uses spin_factors.prepare. Changing spin_factors.prepare can break spin_factor_outbound_networking, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→19 spin_factor_outbound_networking depends on spin_factors.factor✕
- Type pairs
- 2 distinct (type in spin_factor_outbound_networking → type in spin_factors.factor) references.
- Which types
spin_factor_outbound_networking.OutboundNetworkingFactor→spin_factors.factor.ConfigureAppContextspin_factor_outbound_networking.OutboundNetworkingFactor→spin_factors.factor.Factor
- Direction
- spin_factor_outbound_networking uses spin_factors.factor. Changing spin_factors.factor can break spin_factor_outbound_networking, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→22 spin_factor_outbound_networking depends on spin_factor_key_value✕
- Type pairs
- 1 distinct (type in spin_factor_outbound_networking → type in spin_factor_key_value) reference.
- Which types
spin_factor_outbound_networking.spin_factor_outbound_networking$module→spin_factor_key_value.AppState
- Direction
- spin_factor_outbound_networking uses spin_factor_key_value. Changing spin_factor_key_value can break spin_factor_outbound_networking, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→5 spin_factors_executor depends on spin_factor_key_value.runtime_config✕
- Type pairs
- 1 distinct (type in spin_factors_executor → type in spin_factor_key_value.runtime_config) reference.
- Which types
spin_factors_executor.FactorsExecutor→spin_factor_key_value.runtime_config.RuntimeConfig
- Direction
- spin_factors_executor uses spin_factor_key_value.runtime_config. Changing spin_factor_key_value.runtime_config can break spin_factors_executor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→10 spin_factors_executor depends on spin_core.store✕
- Type pairs
- 2 distinct (type in spin_factors_executor → type in spin_core.store) references.
- Which types
spin_factors_executor.FactorsInstanceBuilder→spin_core.store.StoreBuilderspin_factors_executor.InstanceState→spin_core.store.AsState
- Direction
- spin_factors_executor uses spin_core.store. Changing spin_core.store can break spin_factors_executor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→14 spin_factors_executor depends on spin_locked_app.locked✕
- Type pairs
- 1 distinct (type in spin_factors_executor → type in spin_locked_app.locked) reference.
- Which types
spin_factors_executor.TriggerDependency→spin_locked_app.locked.LockedComponentDependency
- Direction
- spin_factors_executor uses spin_locked_app.locked. Changing spin_locked_app.locked can break spin_factors_executor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→15 spin_factors_executor depends on spin_manifest.schema.v2.component✕
- Type pairs
- 1 distinct (type in spin_factors_executor → type in spin_manifest.schema.v2.component) reference.
- Which types
spin_factors_executor.FactorsInstanceBuilder→spin_manifest.schema.v2.component.Component
- Direction
- spin_factors_executor uses spin_manifest.schema.v2.component. Changing spin_manifest.schema.v2.component can break spin_factors_executor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→16 spin_factors_executor depends on spin_app✕
- Type pairs
- 4 distinct (type in spin_factors_executor → type in spin_app) references.
- Which types
spin_factors_executor.ComponentLoader→spin_app.AppComponentspin_factors_executor.FactorsExecutor→spin_app.Appspin_factors_executor.FactorsExecutorApp→spin_app.Appspin_factors_executor.FactorsInstanceBuilder→spin_app.AppComponent
- Direction
- spin_factors_executor uses spin_app. Changing spin_app can break spin_factors_executor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→17 spin_factors_executor depends on spin_core✕
- Type pairs
- 5 distinct (type in spin_factors_executor → type in spin_core) references.
- Which types
spin_factors_executor.ComponentLoader→spin_core.Enginespin_factors_executor.FactorsExecutor→spin_core.Enginespin_factors_executor.FactorsExecutor→spin_core.EngineBuilderspin_factors_executor.FactorsExecutorApp→spin_core.Enginespin_factors_executor.InstanceState→spin_core.State
- Direction
- spin_factors_executor uses spin_core. Changing spin_core can break spin_factors_executor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→19 spin_factors_executor depends on spin_factors.factor✕
- Type pairs
- 2 distinct (type in spin_factors_executor → type in spin_factors.factor) references.
- Which types
spin_factors_executor.ExecutorHooks→spin_factors.factor.ConfiguredAppspin_factors_executor.FactorsExecutorApp→spin_factors.factor.ConfiguredApp
- Direction
- spin_factors_executor uses spin_factors.factor. Changing spin_factors.factor can break spin_factors_executor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→22 spin_factors_executor depends on spin_factor_key_value✕
- Type pairs
- 1 distinct (type in spin_factors_executor → type in spin_factor_key_value) reference.
- Which types
spin_factors_executor.FactorsInstanceBuilder→spin_factor_key_value.InstanceBuilder
- Direction
- spin_factors_executor uses spin_factor_key_value. Changing spin_factor_key_value can break spin_factors_executor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→23 spin_factors_executor depends on spin_factor_llm✕
- Type pairs
- 1 distinct (type in spin_factors_executor → type in spin_factor_llm) reference.
- Which types
spin_factors_executor.CpuTimeCallHook→spin_factor_llm.InstanceState
- Direction
- spin_factors_executor uses spin_factor_llm. Changing spin_factor_llm can break spin_factors_executor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→9 spin_manifest.schema.v2.trigger depends on spin_resource_table✕
- Type pairs
- 1 distinct (type in spin_manifest.schema.v2.trigger → type in spin_resource_table) reference.
- Which types
spin_manifest.schema.v2.trigger.Trigger→spin_resource_table.Table
- Direction
- spin_manifest.schema.v2.trigger uses spin_resource_table. Changing spin_resource_table can break spin_manifest.schema.v2.trigger, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→31 spin_manifest.schema.v2.trigger depends on spin_factors_executor✕
- Type pairs
- 1 distinct (type in spin_manifest.schema.v2.trigger → type in spin_factors_executor) reference.
- Which types
spin_manifest.schema.v2.trigger.TriggerDependencies→spin_factors_executor.TriggerDependency
- Direction
- spin_manifest.schema.v2.trigger uses spin_factors_executor. Changing spin_factors_executor can break spin_manifest.schema.v2.trigger, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→20 spin_runtime_factors depends on spin_factor_otel✕
- Type pairs
- 1 distinct (type in spin_runtime_factors → type in spin_factor_otel) reference.
- Which types
spin_runtime_factors.TriggerFactors→spin_factor_otel.OtelFactor
- Direction
- spin_runtime_factors uses spin_factor_otel. Changing spin_factor_otel can break spin_runtime_factors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→21 spin_runtime_factors depends on spin_factor_sqlite✕
- Type pairs
- 1 distinct (type in spin_runtime_factors → type in spin_factor_sqlite) reference.
- Which types
spin_runtime_factors.TriggerFactors→spin_factor_sqlite.SqliteFactor
- Direction
- spin_runtime_factors uses spin_factor_sqlite. Changing spin_factor_sqlite can break spin_runtime_factors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→22 spin_runtime_factors depends on spin_factor_key_value✕
- Type pairs
- 1 distinct (type in spin_runtime_factors → type in spin_factor_key_value) reference.
- Which types
spin_runtime_factors.TriggerFactors→spin_factor_key_value.KeyValueFactor
- Direction
- spin_runtime_factors uses spin_factor_key_value. Changing spin_factor_key_value can break spin_runtime_factors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→23 spin_runtime_factors depends on spin_factor_llm✕
- Type pairs
- 1 distinct (type in spin_runtime_factors → type in spin_factor_llm) reference.
- Which types
spin_runtime_factors.TriggerFactors→spin_factor_llm.LlmFactor
- Direction
- spin_runtime_factors uses spin_factor_llm. Changing spin_factor_llm can break spin_runtime_factors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→26 spin_runtime_factors depends on spin_factor_outbound_mysql✕
- Type pairs
- 1 distinct (type in spin_runtime_factors → type in spin_factor_outbound_mysql) reference.
- Which types
spin_runtime_factors.TriggerFactors→spin_factor_outbound_mysql.OutboundMysqlFactor
- Direction
- spin_runtime_factors uses spin_factor_outbound_mysql. Changing spin_factor_outbound_mysql can break spin_runtime_factors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→27 spin_runtime_factors depends on spin_factor_outbound_pg✕
- Type pairs
- 1 distinct (type in spin_runtime_factors → type in spin_factor_outbound_pg) reference.
- Which types
spin_runtime_factors.TriggerFactors→spin_factor_outbound_pg.OutboundPgFactor
- Direction
- spin_runtime_factors uses spin_factor_outbound_pg. Changing spin_factor_outbound_pg can break spin_runtime_factors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→29 spin_runtime_factors depends on spin_factor_outbound_http✕
- Type pairs
- 1 distinct (type in spin_runtime_factors → type in spin_factor_outbound_http) reference.
- Which types
spin_runtime_factors.TriggerFactors→spin_factor_outbound_http.OutboundHttpFactor
- Direction
- spin_runtime_factors uses spin_factor_outbound_http. Changing spin_factor_outbound_http can break spin_runtime_factors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→30 spin_runtime_factors depends on spin_factor_outbound_networking✕
- Type pairs
- 2 distinct (type in spin_runtime_factors → type in spin_factor_outbound_networking) references.
- Which types
spin_runtime_factors.TriggerFactors→spin_factor_outbound_networking.OutboundNetworkingFactorspin_runtime_factors.spin_runtime_factors$module→spin_factor_outbound_networking.OutboundNetworkingFactor
- Direction
- spin_runtime_factors uses spin_factor_outbound_networking. Changing spin_factor_outbound_networking can break spin_runtime_factors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→1 spin_cli.commands.deps depends on spin_capabilities✕
- Type pairs
- 2 distinct (type in spin_cli.commands.deps → type in spin_capabilities) references.
- Which types
spin_cli.commands.deps.Inheritance→spin_capabilities.InheritConfigurationspin_cli.commands.deps.deps$module→spin_capabilities.InheritConfiguration
- Direction
- spin_cli.commands.deps uses spin_capabilities. Changing spin_capabilities can break spin_cli.commands.deps, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→7 spin_cli.commands.deps depends on spin_manifest.schema.v2✕
- Type pairs
- 1 distinct (type in spin_cli.commands.deps → type in spin_manifest.schema.v2) reference.
- Which types
spin_cli.commands.deps.deps$module→spin_manifest.schema.v2.AppManifest
- Direction
- spin_cli.commands.deps uses spin_manifest.schema.v2. Changing spin_manifest.schema.v2 can break spin_cli.commands.deps, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→15 spin_cli.commands.deps depends on spin_manifest.schema.v2.component✕
- Type pairs
- 1 distinct (type in spin_cli.commands.deps → type in spin_manifest.schema.v2.component) reference.
- Which types
spin_cli.commands.deps.deps$module→spin_manifest.schema.v2.component.Component
- Direction
- spin_cli.commands.deps uses spin_manifest.schema.v2.component. Changing spin_manifest.schema.v2.component can break spin_cli.commands.deps, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→31 spin_cli.commands.deps depends on spin_factors_executor✕
- Type pairs
- 1 distinct (type in spin_cli.commands.deps → type in spin_factors_executor) reference.
- Which types
spin_cli.commands.deps.deps$module→spin_factors_executor.TriggerDependency
- Direction
- spin_cli.commands.deps uses spin_factors_executor. Changing spin_factors_executor can break spin_cli.commands.deps, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→32 spin_cli.commands.deps depends on spin_manifest.schema.v2.trigger✕
- Type pairs
- 1 distinct (type in spin_cli.commands.deps → type in spin_manifest.schema.v2.trigger) reference.
- Which types
spin_cli.commands.deps.deps$module→spin_manifest.schema.v2.trigger.Trigger
- Direction
- spin_cli.commands.deps uses spin_manifest.schema.v2.trigger. Changing spin_manifest.schema.v2.trigger can break spin_cli.commands.deps, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→1 spin_loader.local depends on spin_capabilities✕
- Type pairs
- 1 distinct (type in spin_loader.local → type in spin_capabilities) reference.
- Which types
spin_loader.local.local$module→spin_capabilities.InheritConfiguration
- Direction
- spin_loader.local uses spin_capabilities. Changing spin_capabilities can break spin_loader.local, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→4 spin_loader.local depends on spin_expressions✕
- Type pairs
- 3 distinct (type in spin_loader.local → type in spin_expressions) references.
- Which types
spin_loader.local.LocalLoader→spin_expressions.Errorspin_loader.local.LocalLoader→spin_expressions.Resolverspin_loader.local.local$module→spin_expressions.Error
- Direction
- spin_loader.local uses spin_expressions. Changing spin_expressions can break spin_loader.local, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→7 spin_loader.local depends on spin_manifest.schema.v2✕
- Type pairs
- 1 distinct (type in spin_loader.local → type in spin_manifest.schema.v2) reference.
- Which types
spin_loader.local.LocalLoader→spin_manifest.schema.v2.AppManifest
- Direction
- spin_loader.local uses spin_manifest.schema.v2. Changing spin_manifest.schema.v2 can break spin_loader.local, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→14 spin_loader.local depends on spin_locked_app.locked✕
- Type pairs
- 1 distinct (type in spin_loader.local → type in spin_locked_app.locked) reference.
- Which types
spin_loader.local.local$module→spin_locked_app.locked.Variable
- Direction
- spin_loader.local uses spin_locked_app.locked. Changing spin_locked_app.locked can break spin_loader.local, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→15 spin_loader.local depends on spin_manifest.schema.v2.component✕
- Type pairs
- 3 distinct (type in spin_loader.local → type in spin_manifest.schema.v2.component) references.
- Which types
spin_loader.local.LocalLoader→spin_manifest.schema.v2.component.Componentspin_loader.local.LocalLoader→spin_manifest.schema.v2.component.ComponentDependenciesspin_loader.local.local$module→spin_manifest.schema.v2.component.Component
- Direction
- spin_loader.local uses spin_manifest.schema.v2.component. Changing spin_manifest.schema.v2.component can break spin_loader.local, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→31 spin_loader.local depends on spin_factors_executor✕
- Type pairs
- 2 distinct (type in spin_loader.local → type in spin_factors_executor) references.
- Which types
spin_loader.local.LocalLoader→spin_factors_executor.TriggerDependencyspin_loader.local.WasmLoader→spin_factors_executor.TriggerDependency
- Direction
- spin_loader.local uses spin_factors_executor. Changing spin_factors_executor can break spin_loader.local, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→32 spin_loader.local depends on spin_manifest.schema.v2.trigger✕
- Type pairs
- 1 distinct (type in spin_loader.local → type in spin_manifest.schema.v2.trigger) reference.
- Which types
spin_loader.local.LocalLoader→spin_manifest.schema.v2.trigger.Trigger
- Direction
- spin_loader.local uses spin_manifest.schema.v2.trigger. Changing spin_manifest.schema.v2.trigger can break spin_loader.local, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→37 spin_loader.local depends on spin_environments.loader cycle✕
- Type pairs
- 2 distinct (type in spin_loader.local → type in spin_environments.loader) references.
- Which types
spin_loader.local.LocalLoader→spin_environments.loader.ComponentSourcespin_loader.local.WasmLoader→spin_environments.loader.ComponentSource
- Direction
- spin_loader.local uses spin_environments.loader. Changing spin_environments.loader can break spin_loader.local, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
36→4 spin_trigger_http depends on spin_expressions✕
- Type pairs
- 1 distinct (type in spin_trigger_http → type in spin_expressions) reference.
- Which types
spin_trigger_http.spin_trigger_http$module→spin_expressions.Error
- Direction
- spin_trigger_http uses spin_expressions. Changing spin_expressions can break spin_trigger_http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→16 spin_trigger_http depends on spin_app✕
- Type pairs
- 1 distinct (type in spin_trigger_http → type in spin_app) reference.
- Which types
spin_trigger_http.HttpTrigger→spin_app.App
- Direction
- spin_trigger_http uses spin_app. Changing spin_app can break spin_trigger_http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→32 spin_trigger_http depends on spin_manifest.schema.v2.trigger✕
- Type pairs
- 1 distinct (type in spin_trigger_http → type in spin_manifest.schema.v2.trigger) reference.
- Which types
spin_trigger_http.HttpTrigger→spin_manifest.schema.v2.trigger.Trigger
- Direction
- spin_trigger_http uses spin_manifest.schema.v2.trigger. Changing spin_manifest.schema.v2.trigger can break spin_trigger_http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→1 spin_environments.loader depends on spin_capabilities✕
- Type pairs
- 1 distinct (type in spin_environments.loader → type in spin_capabilities) reference.
- Which types
spin_environments.loader.WrappedComponentDependency→spin_capabilities.InheritConfiguration
- Direction
- spin_environments.loader uses spin_capabilities. Changing spin_capabilities can break spin_environments.loader, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→7 spin_environments.loader depends on spin_manifest.schema.v2✕
- Type pairs
- 1 distinct (type in spin_environments.loader → type in spin_manifest.schema.v2) reference.
- Which types
spin_environments.loader.ApplicationToValidate→spin_manifest.schema.v2.AppManifest
- Direction
- spin_environments.loader uses spin_manifest.schema.v2. Changing spin_manifest.schema.v2 can break spin_environments.loader, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→15 spin_environments.loader depends on spin_manifest.schema.v2.component✕
- Type pairs
- 3 distinct (type in spin_environments.loader → type in spin_manifest.schema.v2.component) references.
- Which types
spin_environments.loader.ComponentSourceLoader→spin_manifest.schema.v2.component.Componentspin_environments.loader.ComponentToValidate→spin_manifest.schema.v2.component.Componentspin_environments.loader.WrappedComponentDependencies→spin_manifest.schema.v2.component.ComponentDependencies
- Direction
- spin_environments.loader uses spin_manifest.schema.v2.component. Changing spin_manifest.schema.v2.component can break spin_environments.loader, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→32 spin_environments.loader depends on spin_manifest.schema.v2.trigger✕
- Type pairs
- 1 distinct (type in spin_environments.loader → type in spin_manifest.schema.v2.trigger) reference.
- Which types
spin_environments.loader.ApplicationToValidate→spin_manifest.schema.v2.trigger.Trigger
- Direction
- spin_environments.loader uses spin_manifest.schema.v2.trigger. Changing spin_manifest.schema.v2.trigger can break spin_environments.loader, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→35 spin_environments.loader depends on spin_loader.local✕
- Type pairs
- 2 distinct (type in spin_environments.loader → type in spin_loader.local) references.
- Which types
spin_environments.loader.ApplicationToValidate→spin_loader.local.WasmLoaderspin_environments.loader.ComponentSourceLoader→spin_loader.local.WasmLoader
- Direction
- spin_environments.loader uses spin_loader.local. Changing spin_loader.local can break spin_environments.loader, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→5 spin_trigger.cli depends on spin_factor_key_value.runtime_config✕
- Type pairs
- 1 distinct (type in spin_trigger.cli → type in spin_factor_key_value.runtime_config) reference.
- Which types
spin_trigger.cli.RuntimeFactorsBuilder→spin_factor_key_value.runtime_config.RuntimeConfig
- Direction
- spin_trigger.cli uses spin_factor_key_value.runtime_config. Changing spin_factor_key_value.runtime_config can break spin_trigger.cli, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→16 spin_trigger.cli depends on spin_app✕
- Type pairs
- 1 distinct (type in spin_trigger.cli → type in spin_app) reference.
- Which types
spin_trigger.cli.TriggerAppBuilder→spin_app.App
- Direction
- spin_trigger.cli uses spin_app. Changing spin_app can break spin_trigger.cli, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→31 spin_trigger.cli depends on spin_factors_executor✕
- Type pairs
- 1 distinct (type in spin_trigger.cli → type in spin_factors_executor) reference.
- Which types
spin_trigger.cli.RuntimeFactorsBuilder→spin_factors_executor.FactorsExecutor
- Direction
- spin_trigger.cli uses spin_factors_executor. Changing spin_factors_executor can break spin_trigger.cli, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→36 spin_trigger.cli depends on spin_trigger_http✕
- Type pairs
- 3 distinct (type in spin_trigger.cli → type in spin_trigger_http) references.
- Which types
spin_trigger.cli.FactorsTriggerCommand→spin_trigger_http.CliArgsspin_trigger.cli.RuntimeFactorsBuilder→spin_trigger_http.CliArgsspin_trigger.cli.TriggerAppBuilder→spin_trigger_http.CliArgs
- Direction
- spin_trigger.cli uses spin_trigger_http. Changing spin_trigger_http can break spin_trigger.cli, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→6 spin_trigger_http.server depends on spin_http_routes✕
- Type pairs
- 3 distinct (type in spin_trigger_http.server → type in spin_http_routes) references.
- Which types
spin_trigger_http.server.HttpServer→spin_http_routes.RouteMatchspin_trigger_http.server.HttpServer→spin_http_routes.Routerspin_trigger_http.server.HttpServer→spin_http_routes.TriggerLookupKey
- Direction
- spin_trigger_http.server uses spin_http_routes. Changing spin_http_routes can break spin_trigger_http.server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→10 spin_trigger_http.server depends on spin_core.store✕
- Type pairs
- 2 distinct (type in spin_trigger_http.server → type in spin_core.store) references.
- Which types
spin_trigger_http.server.HttpWorkerState→spin_core.store.Storespin_trigger_http.server.server$module→spin_core.store.Store
- Direction
- spin_trigger_http.server uses spin_core.store. Changing spin_core.store can break spin_trigger_http.server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→36 spin_trigger_http.server depends on spin_trigger_http✕
- Type pairs
- 4 distinct (type in spin_trigger_http.server → type in spin_trigger_http) references.
- Which types
spin_trigger_http.server.HttpHandlerState→spin_trigger_http.InstanceReuseConfigspin_trigger_http.server.HttpServer→spin_trigger_http.InstanceReuseConfigspin_trigger_http.server.HttpServer→spin_trigger_http.NotFoundRouteKindspin_trigger_http.server.HttpServer→spin_trigger_http.OutputFormat
- Direction
- spin_trigger_http.server uses spin_trigger_http. Changing spin_trigger_http can break spin_trigger_http.server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→4 spin_build.manifest depends on spin_expressions✕
- Type pairs
- 1 distinct (type in spin_build.manifest → type in spin_expressions) reference.
- Which types
spin_build.manifest.ManifestBuildInfo→spin_expressions.Error
- Direction
- spin_build.manifest uses spin_expressions. Changing spin_expressions can break spin_build.manifest, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→7 spin_build.manifest depends on spin_manifest.schema.v2✕
- Type pairs
- 2 distinct (type in spin_build.manifest → type in spin_manifest.schema.v2) references.
- Which types
spin_build.manifest.ManifestBuildInfo→spin_manifest.schema.v2.AppManifestspin_build.manifest.manifest$module→spin_manifest.schema.v2.AppManifest
- Direction
- spin_build.manifest uses spin_manifest.schema.v2. Changing spin_manifest.schema.v2 can break spin_build.manifest, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→15 spin_build.manifest depends on spin_manifest.schema.v2.component✕
- Type pairs
- 1 distinct (type in spin_build.manifest → type in spin_manifest.schema.v2.component) reference.
- Which types
spin_build.manifest.ComponentBuildInfo→spin_manifest.schema.v2.component.ComponentDependencies
- Direction
- spin_build.manifest uses spin_manifest.schema.v2.component. Changing spin_manifest.schema.v2.component can break spin_build.manifest, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→37 spin_build.manifest depends on spin_environments.loader✕
- Type pairs
- 1 distinct (type in spin_build.manifest → type in spin_environments.loader) reference.
- Which types
spin_build.manifest.ComponentBuildInfo→spin_environments.loader.ComponentSource
- Direction
- spin_build.manifest uses spin_environments.loader. Changing spin_environments.loader can break spin_build.manifest, 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 — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2021 — Injection | 112 | High / Critical |
| A06:2021 — Vulnerable & Outdated Components | 30 | High / Critical |
| A05:2021 — Security Misconfiguration | 15 | High / Critical |
Roadmap
Begin by establishing a formal architecture decision record process to document key design choices and resolve the current lack of ADRs. Simultaneously, improve project onboarding and release transparency by adding a testing section to the README and maintaining a changelog for every release. Finally, harden the system against external failures by enforcing request timeouts and implementing retry logic with back-off for all outbound HTTP calls.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +4.7 pts | Low | ADR Quality |
| 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). | +4.8 pts | Medium | Architecture documentation |
| Add a 'Testing' section to the root README — how to run the test suite. | +4.6 pts | Medium | Documentation (README) |
| Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release. | +4.4 pts | Medium | Release Hygiene |
| 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. | +4.4 pts | Medium | Outbound HTTP resilience |
| Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding. | +4.1 pts | Medium | Deployment & Rollback |
| Reconcile the README with reality: README advertises a microservices architecture, but the repo is a single project with no service manifests. | +3.5 pts | Medium | Documentation accuracy |
| Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. | +1.8 pts | Low | Documentation Quality |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 1.9 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.4 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.5 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.5 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.5 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 5.1 | Mixed | IaC & Container Security: High IaC: REDACTED |
| crates/factor-key-value/src/host.rs | 5.6 | Mixed | God Classes: FileTooLong: src/host.rs |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| crates/dependency-wit/src/lib.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
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. 41 of 45 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 — 45 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, 372 of 416 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 READ here — but this repository measures it: a coverage step in CI (`cargo tarpaulin`) shows that coverage is collected and tracked in your own CI. The built-in collector has no runner for this ecosystem (.rs), so the analyzer could not read the number — a gap in the analyzer's language coverage, not an unmeasured repo. Not scored. To have the real number read, produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This repository declares 1 of its own test(s) unreliable. The built-in reliability runner does not support this repository's ecosystem (.rs), so the suite was not re-run and no reliability score is given — these are the repository's own declarations, not our measurement.
- 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 reads Microsoft.Extensions.DependencyInjection registrations in C# and Spring beans in Java/Kotlin only, and no container it models, or knows cannot hold a captive, was found in this repository's source, 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.
- 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.
- 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.
- 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.
- 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.
- 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 reads C# and Python syntax only, and no C# or Python 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.
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.
- 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.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- 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 REDACTED (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.
- 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
2 function(s) exceeded the cyclomatic complexity threshold of 15; the worst was spin_dependency_wit::extract_wits at 19. A further 5 function(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being spin_world::wasi_otel::log_conversions::severity_from_u8 at 26 — 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/world/src/wasi_otel/log_conversions.rs (spin_world::wasi_otel::log_conversions::severity_from_u8 at 26), crates/factor-outbound-pg/src/types.rs (spin_factor_outbound_pg::types::to_sql_parameter at 25), src/lib.rs (SpinApp::run at 18). 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 1 spin_dependency_wit finding(s) in Cyclomatic Complexity — start with lib.rs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 FactorsTriggerCommand finding(s) in Cyclomatic Complexity — start with cli.rs. — One of this dimension's main actionable groups (1 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
24 function(s) exceeded the cognitive complexity threshold of 15; the worst was spin_dependency_wit::extract_wits at 41.
What to do
- Resolve the 3 spin_manifest finding(s) in Cognitive Complexity — start with normalize.rs (3). — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 List finding(s) in Cognitive Complexity — start with templates.rs, plugins.rs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 spin_dependency_wit finding(s) in Cognitive Complexity — start with lib.rs. — One of this dimension's main actionable groups (1 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
22 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 14 FileTooLong finding(s) in God Classes — start with wasi_2023_11_10.rs (2), host.rs (2), lib.rs. — One of this dimension's main actionable groups (14 warning-level).
- Resolve the 6 ClassTooLong finding(s) in God Classes — start with lib.rs, sockets.rs, client.rs. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 2 FunctionTooLong finding(s) in God Classes — start with lib.rs (2). — One of this dimension's main actionable groups (2 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
54 duplicated block group(s) detected. A further 4 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted. 4 of the 58 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 7 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with host.rs (3), wasi_2023_10_18.rs (2), wasi.rs. — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 6 Duplicated block (11 lines × 2) finding(s) in Code Duplication — start with wasi_2023_10_18.rs (2), store.rs, logs.rs. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 6 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with host.rs (2), lib.rs, stdio.rs. — One of this dimension's main actionable groups (6 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
66 production modules (Cargo+Go), 0 dependency cycle(s), 6 unstable depended-on module(s). Read from the build's own module declarations; 14 module(s) off the main sequence, with abstractness counted on 60 of the 66 (the rest declare no modelled class or interface, export only macros, or have no source directory of their own).
What to do
- Resolve the 14 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (14 warning-level).
- Resolve the 1 Unstable project spin-build finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Unstable project spin-factor-outbound-pg 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)
4 of 173 classes have LCOM4 above 3.
What to do
- Resolve the 4 Low cohesion finding(s) in Cohesion (LCOM4) — start with host.rs, test_key_value.rs, template.rs. — One of this dimension's main actionable groups (4 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
491 test methods: 369 unit, 122 integration, 0 BDD, 0 e2e. The Rust suite contributes 491 `#[test]` function(s) across 90 file(s) declaring at least one; its unit/integration split is Cargo's own — 15 of those file(s) are integration-test targets under a crate's tests/ directory, and the rest are #[test] functions compiled into the crate they test.
D12 · Dependency Hygiene
0 outdated, 0 author-deprecated direct Go module(s), 0 pinning or checksum defect(s). Whether any of these modules is UNMAINTAINED is not graded — proxy.golang.org publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: that is a source question, not a registry one. Known CVEs in this module graph are D30's question, read from go.mod and go.sum there.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 1090 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. A further 8 crate(s) in the closure resolve from git, a path or a private registry and publish no licence this pass can read; they are outside this verdict. This repository publishes itself under Apache-2.0 WITH LLVM-exception, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
Top hotspots: src/lib.rs (2×18=36)
What to do
- Resolve the 1 Hotspot finding(s) in Churn × Complexity Hotspots — start with lib.rs. — One of this dimension's main actionable groups (1 warning-level).
D16 · Bus Factor
18 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is crates/factor-outbound-http/src/wasi_2026_03_15.rs. Counted over 210 of the 310 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
81 deducted task-comment markers across 67396 LoC (0.1/KLoC) → score 9.8. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 79 TodoComment finding(s) in Explicit Debt — start with lib.rs (11), template.rs (7), bert.rs (6). — One of this dimension's main actionable groups (79 warning-level).
- Resolve the 2 FixmeComment finding(s) in Explicit Debt — start with integration_test.rs (2). — One of this dimension's main actionable groups (2 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README gives a strong overview of Spin as the WebAssembly microservice framework and links to documentation, plus installation and usage. The cross/READMEs are focused on specific dependencies (a SIMD polyfill for cross-rs) and an upstream issue, while deploy/, docs/, examples/, tests/, and crates directories each document their own subdirectories with clear purpose statements. There is no single missing section across the visible documents; every named outline section exists in its respective README or a clipped trailing entry. The repository's READMEs are mostly test-component directories with usage and expectations sections; there is no overview of the project (what it does), no installation/build instructions, no contribution guidance, and no architecture/design docs. The visible content is thin and unstructured.
What to do
- Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. — One of this dimension's main actionable groups (1 recommendation-level).
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D22 · Internal API Consistency
5 API inconsistencies across a 400-member sample of 501 exposed types.
What to do
- Resolve the 1 Inconsistent error handling strategy for metadata retrieval.… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Redundant methods for retrieving the App ID. `id()` and `id_shared()`… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Ambiguous naming for build functions. `build` takes many parameters… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D26 · Project Cohesion
0 of 66 build units (Cargo) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
112 finding(s): 0 critical, 109 high, 3 medium, 0 low. 71 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 1 file(s) — `crates/oci/src/client.rs` (line 398, line 977) — 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 6 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 19 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (4), REDACTED (3), REDACTED (3). — One of this dimension's main actionable groups (19 issue-level).
- Resolve the 5 REDACTED finding(s) charged to Static Analysis (SAST) — the other 71 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 (76 issue-level, 5 of them charged here).
- Resolve the 6 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (3), REDACTED (2), REDACTED. — One of this dimension's main actionable groups (6 issue-level).
D30 · Dependency Vulnerabilities
30 finding(s): 0 critical, 4 high, 25 medium, 1 low.
What to do
- Resolve the 4 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (4). — One of this dimension's main actionable groups (4 issue-level).
- 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 8 Medium vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED (8). — One of this dimension's main actionable groups (8 warning-level).
D31 · IaC & Container Security
15 finding(s): 0 critical, 4 high, 6 medium, 5 low.
What to do
- Resolve the 4 High IaC finding(s) in IaC & Container Security — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 6 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (4), REDACTED, REDACTED. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 5 Low IaC finding(s) in IaC & Container Security — start with REDACTED (5). — One of this dimension's main actionable groups (5 recommendation-level).
D34 · Knowledge Freshness
3 of 210 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is crates/llm-remote-http/src/default.rs. Counted over 210 of the 310 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 82%; lib.rs↔runtime_factors.rs 79%; spin.rs↔wasi.rs 71%
What to do
- Resolve the 10 Change coupling finding(s) in Change Coupling — start with lib.rs (5), spin.rs, util.rs. — One of this dimension's main actionable groups (10 warning-level).
D36 · Supply-chain Provenance & Signing
1/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D37 · Vulnerability-disclosure Policy
A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 4 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.
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
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 69 of 74 project(s) that lack one — worth up to 1.9 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
M3 · Folder & project structure
M4 · Documentation accuracy
- README advertises a microservices architecture, but the repo is a single project with no service manifests — searched for: `microservice`, `service-mesh`, `istio`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, REDACTED); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong.
What to do
- Reconcile the README with reality: README advertises a microservices architecture, but the repo is a single project with no service manifests.
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
- Only 37/39 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `templates/http-go/content`, `templates/redis-go/content`.
What to do
- Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
- Add a health-check endpoint (a /health route on your axum/actix router) so orchestrators and load balancers can probe liveness/readiness.
P3 · Security & performance tooling
What to do
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
P7 · Outbound HTTP resilience
- `reqwest::get(` 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. 9 of the 9 files that make outbound calls are unbounded; the first 9 are listed. — crates/doctor/src/rustlang/target.rs:189
- `reqwest::get(` 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/environments/src/environment/env_loader.rs:141, crates/loader/src/http.rs:45, crates/templates/src/source.rs:229
- `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. (×2) — crates/factor-outbound-http/src/spin.rs:103, crates/telemetry/src/lib.rs:123
- `Client::builder(TokioExecutor` 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/factor-outbound-http/src/wasi.rs:549
- `reqwest::ClientBuilder::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/key-value-azure/src/store.rs:105
- `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/plugins/src/manager.rs:225
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.
PF3 · Async & latency hygiene
- `run` is async and calls block_on — a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs. — src/commands/watch.rs:80
What to do
- Rust: `.await` the future instead of `block_on` (on a Tokio runtime thread it panics outright) and use `tokio::time::sleep(..).await` instead of `std::thread::sleep`; where synchronous code must run, move it to `tokio::task::spawn_blocking` or `block_in_place`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 92% | Exemplary | Solid. |
| Architecture | 97% | Exemplary | Strongest area. |
| Maturity | 62% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 63% | Adequate — gated by P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 67% | Adequate — gated by D29, D30, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 85% | Strong | Solid. |
Unscored — 2 check(s) recorded observations but carry no score
- D11 Test Reliability — 1 observation(s) recorded · This repository declares 1 of its own test(s) unreliable. The built-in reliability runner does not support this repository's ecosystem (.rs), so the suite was not re-run and no reliability score is given — these are the repository's own declarations, not our measurement.
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
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 — 70 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 applicable: Rust's compiler refuses unsynchronised shared mutation — a value shared across threads must be Sync — so the race this check looks for cannot be written.
- 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 — compose up failed (exit 18 — an image could not be pulled) — grafana Pulling prometheus Pulling otel-collector Pulling jaeger Pulling loki Pulling tempo Pulling prometheus Error Get "https://registry-1.docker.io/v2/": Forbidden grafana Error context canceled otel-collector Error context canceled tempo Error context canceled jaeger Error context canceled loki Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: otel-collector Pulling prometheus Error Get "https://registry-1.docker.io/v2/": Forbidden otel-collector Error Get "https://registry-1.docker.io/v2/": Forbidden loki Error Get "https://registry-1.docker.io/v2/": Forbidden jaeger Error context canceled grafana Error context canceled tempo Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; 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.
- D10 Test Quality — ~10564 lines of test source are present (.rs) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — symbol resolution incomplete — navigability not assessed
- 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.
- 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 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (27 value object(s))
- 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.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- 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
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- 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 applicable: no benchmark suite was found. This check searched for `#[bench]`, criterion's `bench_function`/`bench_with_input`, `#[divan::bench]` or `#[library_benchmark]` in any `.rs` file, or criterion, divan, iai or a `[[bench]]` target in a Cargo.toml, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: allocation awareness is rated where code engineers for it — at least 400 production lines that ship benchmarks or already use allocation-aware idioms (8 or more). This repository's Go has 37 production line(s), 0 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — 118 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Test declared unreliable: disallowed_private_ips_fails crates/factor-outbound-http/tests/factor_test.rs:92
- REDACTED
- REDACTED
- REDACTED
Serious — 278 finding(s)
- TodoComment crates/componentize/src/module_info.rs:97
- TodoComment crates/componentize/src/abi_conformance/test_wasi.rs:199
- TodoComment crates/core/src/lib.rs:88
- TodoComment crates/dependency-wit/src/lib.rs:163
- TodoComment crates/doctor/src/wasm.rs:45
- TodoComment crates/doctor/src/rustlang/target.rs:15
- TodoComment crates/environments/src/lib.rs:198
- TodoComment crates/environments/src/environment/env_loader.rs:196
- TodoComment crates/environments/src/environment/env_loader.rs:197
- TodoComment crates/environments/src/environment/env_loader.rs:327
- TodoComment crates/environments/src/environment/catalogue.rs:122
- TodoComment crates/environments/src/environment/catalogue.rs:248
- TodoComment crates/plugins/src/git.rs:64
- TodoComment crates/environments/src/environment/catalogue.rs:284
- TodoComment crates/plugins/src/git.rs:100
- TodoComment crates/templates/src/git.rs:41
- TodoComment crates/factor-key-value/src/lib.rs:83
- TodoComment crates/factor-key-value/src/lib.rs:90
- TodoComment crates/factor-outbound-http/src/wasi_2023_10_18.rs:372
- TodoComment crates/factor-outbound-http/src/wasi_2023_10_18.rs:541
- TodoComment crates/factor-outbound-http/src/wasi.rs:158
- TodoComment crates/factor-outbound-http/src/lib.rs:110
- TodoComment crates/factor-outbound-mysql/src/client.rs:312
- TodoComment crates/factor-outbound-mysql/tests/factor_test.rs:108
- TodoComment crates/factor-outbound-pg/tests/factor_test.rs:109
- FileTooLong: src/lib.rs crates/capabilities/deny-adapter/src/lib.rs
- FileTooLong: src/wasi_2023_10_18.rs crates/factor-wasi/src/wasi_2023_10_18.rs
- FileTooLong: src/wasi_2023_11_10.rs crates/factor-wasi/src/wasi_2023_11_10.rs
- FileTooLong: src/wasi_2026_03_15.rs crates/factor-wasi/src/wasi_2026_03_15.rs
- FileTooLong: src/local.rs crates/loader/src/local.rs
- FileTooLong: commands/plugins.rs src/commands/plugins.rs
- FileTooLong: src/client.rs crates/oci/src/client.rs
- FileTooLong: src/sockets.rs crates/factor-wasi/src/sockets.rs
- FileTooLong: src/host.rs crates/factor-key-value/src/host.rs
- FileTooLong: src/server.rs crates/trigger-http/src/server.rs
- FileTooLong: src/host.rs crates/factor-outbound-redis/src/host.rs
- FileTooLong: src/wasi.rs crates/factor-outbound-http/src/wasi.rs
- FileTooLong: commands/deps.rs src/commands/deps.rs
- FileTooLong: src/wasi_2023_11_10.rs crates/factor-outbound-http/src/wasi_2023_11_10.rs
- Off the main sequence: spin-common
- Off the main sequence: spin-componentize
- Off the main sequence: spin-resource-table
- Off the main sequence: spin-serde
- Off the main sequence: terminal
- Off the main sequence: spin-telemetry
- Off the main sequence: spin-app
- Off the main sequence: spin-core
- Off the main sequence: spin-wasi-async
- Off the main sequence: spin-http-routes
- Off the main sequence: spin-locked-app
- Off the main sequence: spin-connection-semaphore
- Off the main sequence: spin-manifest
- Off the main sequence: spin-factor-otel
- Change coupling: lib.rs ↔ lib.rs crates/variables-env/src/lib.rs
- Change coupling: lib.rs ↔ runtime_factors.rs crates/factors-derive/src/lib.rs
- Change coupling: spin.rs ↔ wasi.rs crates/factor-outbound-http/src/spin.rs
- Change coupling: util.rs ↔ lib.rs crates/factor-key-value/src/util.rs
- Change coupling: lib.rs ↔ lib.rs crates/factors-derive/src/lib.rs
- Change coupling: client.rs ↔ conversions.rs crates/factor-outbound-pg/src/client.rs
- Change coupling: lib.rs ↔ lib.rs crates/sqlite-inproc/src/lib.rs
- Change coupling: lib.rs ↔ lib.rs crates/factor-variables/src/lib.rs
- Change coupling: registry.rs ↔ up.rs src/commands/registry.rs
- Change coupling: metrics.rs ↔ traces.rs crates/telemetry/src/metrics.rs
- Outbound HTTP without resilience crates/doctor/src/rustlang/target.rs:189
- Outbound HTTP without resilience crates/environments/src/environment/env_loader.rs:141
- Outbound HTTP without resilience crates/factor-outbound-http/src/spin.rs:103
- Outbound HTTP without resilience crates/factor-outbound-http/src/wasi.rs:549
- Outbound HTTP without resilience crates/key-value-azure/src/store.rs:105
- Outbound HTTP without resilience crates/loader/src/http.rs:45
- Outbound HTTP without resilience crates/plugins/src/manager.rs:225
- Outbound HTTP without resilience crates/telemetry/src/lib.rs:123
- Outbound HTTP without resilience crates/templates/src/source.rs:229
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (8 lines × 2) crates/factor-llm/src/host.rs:17
- Duplicated block (8 lines × 2) crates/factor-sqlite/src/host.rs:123
- Duplicated block (8 lines × 2) crates/factor-wasi/src/wasi_2023_10_18.rs:1620
- Duplicated block (8 lines × 2) crates/factor-outbound-http/src/wasi.rs:850
- Duplicated block (8 lines × 2) crates/factor-outbound-mqtt/src/host.rs:92
- Duplicated block (8 lines × 2) crates/dependency-wit/src/lib.rs:328
- Duplicated block (8 lines × 2) crates/factor-wasi/src/wasi_2023_10_18.rs:142
- ClassTooLong: Adapter crates/capabilities/deny-adapter/src/lib.rs:61
- ClassTooLong: SpinSocketsView crates/factor-wasi/src/sockets.rs:47
- ClassTooLong: Client crates/oci/src/client.rs:87
- ClassTooLong: LocalLoader crates/loader/src/local.rs:26
- ClassTooLong: HttpServer crates/trigger-http/src/server.rs:78
- ClassTooLong: KeyValueDispatch crates/factor-key-value/src/host.rs:70
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (11 lines × 2) crates/key-value-redis/src/store.rs:82
- Duplicated block (11 lines × 2) crates/telemetry/src/logs.rs:75
- Duplicated block (11 lines × 2) src/commands/templates.rs:173
- Duplicated block (11 lines × 2) crates/factor-wasi/src/wasi_2023_10_18.rs:915
- Duplicated block (11 lines × 2) crates/llm-remote-http/src/open_ai/mod.rs:75
- Duplicated block (11 lines × 2) crates/factor-wasi/src/wasi_2023_10_18.rs:155
- Duplicated block (9 lines × 2) crates/factor-sqlite/src/host.rs:124
- Duplicated block (9 lines × 2) crates/factor-sqlite/src/host.rs:139
- Duplicated block (9 lines × 2) crates/factors-executor/src/lib.rs:298
- Duplicated block (9 lines × 2) crates/trigger/src/cli/stdio.rs:286
- Duplicated block (9 lines × 2) crates/factor-wasi/src/wasi_2023_10_18.rs:1575
- Duplicated block (9 lines × 2) crates/componentize/src/abi_conformance/test_mysql.rs:139
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (13 lines × 2) crates/factor-sqlite/src/host.rs:236
- Duplicated block (13 lines × 2) src/commands/templates.rs:203
- Duplicated block (13 lines × 2) src/commands/plugins.rs:959
- Duplicated block (13 lines × 2) crates/runtime-config/src/lib.rs:263
- Duplicated block (10 lines × 2) crates/factor-outbound-mqtt/src/host.rs:129
- Duplicated block (10 lines × 2) crates/factor-wasi/src/wasi_2023_10_18.rs:1292
- Duplicated block (10 lines × 2) crates/llm-local/src/bert.rs:338
- Duplicated block (10 lines × 2) crates/oci/src/client.rs:323
- Duplicated block (7 lines × 2) crates/factor-outbound-http/src/spin.rs:195
- Duplicated block (7 lines × 2) crates/factor-variables/src/host.rs:106
- Duplicated block (7 lines × 2) crates/oci/src/client.rs:422
- Duplicated block (7 lines × 2) crates/environments/src/environment/catalogue.rs:206
- Low cohesion: KeyValueDispatch (LCOM4 8) crates/factor-key-value/src/host.rs:70
- Low cohesion: KeyValue (LCOM4 6) crates/componentize/src/abi_conformance/test_key_value.rs:26
- Low cohesion: Template (LCOM4 4) crates/templates/src/template.rs:23
- Low cohesion: ComponentStdioWriter (LCOM4 4) crates/trigger/src/cli/stdio.rs:165
- spin_manifest::normalize::normalize_inline_components (cognitive 22) crates/manifest/src/normalize.rs:21
- spin_manifest::normalize::normalize_dependency_component_refs (cognitive 21) crates/manifest/src/normalize.rs:186
- spin_manifest::normalize::normalize_trigger_ids (cognitive 20) crates/manifest/src/normalize.rs:75
- REDACTED
- REDACTED
- REDACTED
- Members sharing a duplicated core (4 members, 50+ identical tokens) crates/factor-key-value/src/host.rs:350
- Members sharing a duplicated core (4 members, 50+ identical tokens) crates/factor-sqlite/src/host.rs:122
- Members sharing a duplicated core (4 members, 50+ identical tokens) crates/llm-remote-http/src/default.rs:39
- Duplicated block (14 lines × 2) crates/compose/src/lib.rs:134
- Duplicated block (14 lines × 2) crates/factor-outbound-http/src/wasi.rs:265
- Duplicated block (14 lines × 2) crates/componentize/src/abi_conformance/test_mysql.rs:149
- Duplicated block (6 lines × 2) crates/factor-outbound-mysql/src/host.rs:125
- Duplicated block (6 lines × 2) crates/componentize/src/abi_conformance/test_mysql.rs:93
- Duplicated block (6 lines × 2) crates/componentize/src/abi_conformance/test_inbound_http.rs:13
- FixmeComment crates/core/tests/integration_test.rs:45
- FixmeComment crates/core/tests/integration_test.rs:107
- List::print_templates_table (cognitive 17) src/commands/templates.rs:568
- List::print_plain (cognitive 16) src/commands/plugins.rs:817
- FunctionTooLong: spin_factors_derive::expand_factors crates/factors-derive/src/lib.rs:23
- FunctionTooLong: spin_dependency_wit::extract_wits crates/dependency-wit/src/lib.rs:149
- Duplicated block (12 lines × 2) crates/environments/src/environment/catalogue.rs:234
- Duplicated block (12 lines × 2) src/commands/plugins.rs:1080
- Duplicated block (4–8 lines × 3) crates/expressions/src/lib.rs:73
- Duplicated block (4–8 lines × 3) crates/factor-key-value/src/host.rs:427
- spin_dependency_wit::extract_wits (cyclomatic 19) crates/dependency-wit/src/lib.rs:149
- FactorsTriggerCommand::run (cyclomatic 18) crates/trigger/src/cli.rs:186
- Hotspot: src/lib.rs src/lib.rs:143
- spin_dependency_wit::extract_wits (cognitive 41) crates/dependency-wit/src/lib.rs:149
- ModuleInfo::from_module (cognitive 28) crates/componentize/src/module_info.rs:20
- DoctorCommand::run (cognitive 24) src/commands/doctor.rs:26
- Catalogue::list (cognitive 21) crates/environments/src/environment/catalogue.rs:136
- ComponentStdioWriter::poll_write (cognitive 21) crates/trigger/src/cli/stdio.rs:220
- TemplateNewCommandCore::run (cognitive 21) src/commands/new.rs:148
- Upgrade::repos_to_upgrade (cognitive 20) src/commands/templates.rs:277
- WitBindgenVersion::detect (cognitive 19) crates/componentize/src/lib.rs:75
- UpCommandInner::run (cognitive 19) src/commands/up.rs:174
- spin_cli::commands::new::env_templates_and_plugins (cognitive 19) src/commands/new.rs:295
- spin_build::build (cognitive 18) crates/build/src/lib.rs:23
- Id::try_from (cognitive 18) crates/serde/src/id.rs:35
- Install::print_installed_templates (cognitive 18) src/commands/templates.rs:163
- spin_componentize::retarget_imports_and_get_exports (cognitive 17) crates/componentize/src/lib.rs:183
- PooledTokioClient::query_async (cognitive 17) crates/factor-outbound-pg/src/client.rs:266
- spin_http::wagi::compose_response (cognitive 17) crates/http/src/wagi/mod.rs:217
- ResolvedRuntimeConfig::summarize (cognitive 17) crates/runtime-config/src/lib.rs:58
- FactorsTriggerCommand::run (cognitive 17) crates/trigger/src/cli.rs:186
- Uppificator::run (cognitive 16) src/commands/watch/uppificator.rs:30
- Inconsistent error handling strategy for metadata retrieval. `get_metadata` implies a Result (likely returning an error on missing key), while `require_metadata` implies a Result (likely panicking or returning a specific 'not found' error variant). The naming convention is inconsistent with standard Rust patterns where `get` often returns `Option` and `require`/`expect` panics, or `get` returns `Result` and `require` is not present. Here, both return `Result`, making the distinction unclear and redundant.
- Redundant methods for retrieving the App ID. `id()` and `id_shared()` appear to return the same type (`str`) and likely the same value. The distinction between 'shared' and non-shared is not visible in the signature and suggests an internal implementation detail leaking into the public API.
- Ambiguous naming for build functions. `build` takes many parameters including `target_checks` and `wit_generation`, while `build_default` takes fewer. The name `build_default` suggests it is a convenience wrapper, but `build` is not named `build_full` or `build_advanced`. This creates confusion about which method to use for standard builds.
- Overlapping functionality for path resolution. `find_manifest_file_path` and `resolve_manifest_file_path` have similar names and likely similar purposes (locating a manifest file). The difference in input types (`str` vs `impl AsRef<Path>`) is minor, but the semantic difference between 'find' and 'resolve' is not clear from the signatures alone.
- Ambiguous API for componentization. `componentize_if_necessary` suggests a check-then-act pattern, while `componentize` suggests an unconditional action. However, without clear documentation, it is unclear if `componentize` also performs a check internally or if it always transforms. This leads to potential double-processing or confusion about when to use which.
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Members sharing a duplicated core (5 members, 50+ identical tokens) crates/key-value-azure/src/store.rs:154
- Duplicated block (25 lines × 2) crates/key-value-aws/src/store.rs:412
- Duplicated block (19 lines × 2) crates/factor-outbound-http/src/spin.rs:206
- Duplicated block (15 lines × 2) crates/environments/src/environment/catalogue.rs:216
- Duplicated block (10–15 lines × 2) crates/factor-outbound-mysql/src/host.rs:307
- Duplicated block (10 lines × 5) crates/key-value-azure/src/store.rs:162
- Duplicated block (9–10 lines × 4) crates/factor-key-value/src/host.rs:351
- Duplicated block (10 lines × 4) crates/llm-remote-http/src/default.rs:40
- Duplicated block (8–10 lines × 2) crates/oci/src/client.rs:633
- Duplicated block (9 lines × 3) crates/environments/src/environment/catalogue.rs:258
- Duplicated block (8 lines × 3) crates/environments/src/loader.rs:237
- Duplicated block (12 lines × 3) crates/factor-outbound-http/src/wasi.rs:823
- Duplicated block (5 lines × 2) crates/factor-outbound-http/src/wasi_2023_10_18.rs:61
- Duplicated block (16 lines × 2) crates/llm-local/src/lib.rs:188
- Unstable project spin-build
- Unstable project spin-factor-outbound-pg
- Unstable project spin-runtime-config
- Unstable project spin-runtime-factors
- Unstable project spin-trigger-http
- Unstable project spin-trigger-redis
- Coverage collected but not gated
- Sync-over-async blocking src/commands/watch.rs:80
Minor — 20 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Off-boarding risk: anonymized user #1
- Off-boarding risk: anonymized user #2
- Further sole-owners (lower concentration)
- Documentation: no project overview README.md
- No ADRs found
- REDACTED
- Orphaned files with no living knowledge
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- README/code drift
- Logging is not universal
- No rollback/health safety
- No changelog
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-b5210f5cf3dd41189a9289cd30e15680/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-b5210f5cf3dd41189a9289cd30e15680/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 . | 112 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive . | 30 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 15 | 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 | — |
| 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 |