Executive summary
dogganidhal/noddde scores 52 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 43 and is rated Weak. Its Security & performance tooling dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 15 Deprecated finding(s) in Dependency Hygiene and to add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing, and if Production Readiness rose to 70, the score would rise from 52 to about 59.
81 findings are critical: 42 in Dependency Vulnerabilities, 35 in Static Analysis (SAST), two in Dependency Hygiene, one in Domain ↔ infrastructure boundary and one in Test Quality.
Watchdog couldn't measure 5 dimensions in this code, among them Navigability, Platform End-of-Life and Cancellation propagation, so they are left out of the score. The product code is 29,330 lines, which would take an estimated 0.4 person-years, around €56,000, to rebuild.
If Production Readiness rose from 43 to 70, the lowest score rated Strong, the score would rise from 52 to about 59.
New since the last survey: 95 findings
- Test Quality · Fixed-sleep synchronisation: recovers and delivers after a full broker outage mid-consume packages/adapters/nats/src/__tests__/integration/nats.reconnect.integration.test.ts
- Test Quality · Fixed-sleep synchronisation: recovers from a connection reset injected mid-flow packages/adapters/nats/src/__tests__/integration/nats.reconnect.integration.test.ts
- Test Quality · Fixed-sleep synchronisation: recovers and delivers after a full broker outage mid-consume packages/adapters/rabbitmq/src/__tests__/integration/rabbitmq.reconnect.integration.test.ts
- Test Quality · Fixed-sleep synchronisation: recovers from a connection reset injected mid-flow packages/adapters/rabbitmq/src/__tests__/integration/rabbitmq.reconnect.integration.test.ts
- Test Quality · Fixed-sleep synchronisation: survives an outage while a handler is still in flight, without a silent ack-loss or a wedged consumer packages/adapters/rabbitmq/src/__tests__/integration/rabbitmq.reconnect.integration.test.ts
- Test Quality · Fixed-sleep synchronisation: second acquire on same key blocks until first release packages/engine/src/__tests__/engine/implementations/in-memory-aggregate-locker.test.ts
- Dependency Hygiene · Deprecated: eslint packages/adapters/drizzle/REDACTED
- Dependency Hygiene · Deprecated: eslint packages/adapters/kafka/REDACTED
- Dependency Hygiene · Deprecated: eslint packages/adapters/nats/REDACTED
- Dependency Hygiene · Deprecated: nats packages/adapters/nats/REDACTED
- Dependency Hygiene · Deprecated: eslint packages/adapters/prisma/REDACTED
- Dependency Hygiene · Deprecated: eslint packages/adapters/rabbitmq/REDACTED
- Dependency Hygiene · Deprecated: eslint packages/adapters/typeorm/REDACTED
- Dependency Hygiene · Deprecated: eslint packages/cli/REDACTED
- Dependency Hygiene · Deprecated: eslint packages/core/REDACTED
- Dependency Hygiene · Deprecated: @opentelemetry/sdk-trace-base packages/engine/REDACTED
- Dependency Hygiene · Deprecated: @opentelemetry/sdk-trace-node packages/engine/REDACTED
- Dependency Hygiene · Deprecated: eslint packages/engine/REDACTED
- Dependency Hygiene · Deprecated: eslint packages/integrations/nestjs/REDACTED
- Dependency Hygiene · Deprecated: eslint packages/testing-integration/REDACTED
- Dependency Hygiene · Deprecated: eslint packages/testing/REDACTED
- Boundary Type-Coupling · Cross-context type PersistenceConfiguration (core → engine) packages/engine/src/aggregate-persistence-resolver.ts
- Boundary Type-Coupling · Cross-context type PersistenceConfiguration (core → engine) packages/engine/src/aggregate-persistence-resolver.ts
- Boundary Type-Coupling · Cross-context type PersistenceConfiguration (core → engine) packages/engine/src/aggregate-persistence-resolver.ts
- Boundary Type-Coupling · Cross-context type PersistenceConfiguration (core → engine) packages/engine/src/aggregate-persistence-resolver.ts
- Boundary Type-Coupling · Cross-context type PersistenceConfiguration (core → engine) packages/engine/src/aggregate-persistence-resolver.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts
- Boundary Type-Coupling · Cross-context type LogLevel (core → engine) packages/engine/src/logger.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-persistence.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-persistence.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-persistence.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-persistence.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-persistence.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-saga-persistence.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-saga-persistence.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/executors/metadata-enricher.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/domain.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-locker.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-locker.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-idempotency-store.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-idempotency-store.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-snapshot-store.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-snapshot-store.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-view-store.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-view-store.ts
- Boundary Type-Coupling · Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-view-store.ts
- Boundary Type-Coupling · Cross-context type ID (core → testing) packages/testing/src/metadata-helpers.ts
- Boundary Type-Coupling · Cross-context type ID (core → testing) packages/testing/src/metadata-helpers.ts
- Boundary Type-Coupling · Cross-context type ID (core → testing) packages/testing/src/metadata-helpers.ts
- Boundary Type-Coupling · Cross-context type ID (core → sample-hotel-booking) samples/sample-hotel-booking/src/infrastructure/persistence/drizzle-view-store.ts
- Boundary Type-Coupling · Cross-context type ID (core → sample-hotel-booking) samples/sample-hotel-booking/src/infrastructure/persistence/drizzle-view-store.ts
- Boundary Type-Coupling · Cross-context type ID (core → sample-hotel-booking) samples/sample-hotel-booking/src/infrastructure/persistence/drizzle-view-store.ts
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Large Files · packages/engine/src/domain.ts: 1741 lines of code packages/engine/src/domain.ts
- Large Files · packages/adapters/kafka/src/kafka-event-bus.ts: 810 lines of code packages/adapters/kafka/src/kafka-event-bus.ts
- Large Files · packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts: 717 lines of code packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts
- Large Files · packages/testing-integration/src/contracts/persistence-contract.ts: 536 lines of code packages/testing-integration/src/contracts/persistence-contract.ts
- Large Files · packages/adapters/drizzle/src/persistence.ts: 477 lines of code packages/adapters/drizzle/src/persistence.ts
- Large Files · packages/adapters/nats/src/nats-event-bus.ts: 449 lines of code packages/adapters/nats/src/nats-event-bus.ts
- Large Files · packages/adapters/typeorm/src/persistence.ts: 423 lines of code packages/adapters/typeorm/src/persistence.ts
- Dependency Hygiene · Unused dependency 'mssql'
- Dependency Hygiene · Unused dependency '@nestjs/platform-express'
- Documentation (README) · README may be stale
- Exception handling · Swallowed exception (empty catch) packages/adapters/drizzle/src/unit-of-work.ts
- Exception handling · Swallowed exception (empty catch) packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts
- Exception handling · Swallowed exception (empty catch) packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts
- Exception handling · Swallowed exception (empty catch) packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts
- Exception handling · Swallowed exception (empty catch) packages/adapters/typeorm/src/mssql/advisory-locker.ts
- Exception handling · Swallowed exception (empty catch) packages/cli/src/utils/discovery.ts
- Exception handling · Swallowed exception (empty catch) packages/cli/src/utils/discovery.ts
- Exception handling · Swallowed exception (empty catch) packages/cli/src/utils/cli-version.ts
- Exception handling · Swallowed exception (empty catch) packages/engine/src/domain.ts
- Exception handling · Swallowed exception (empty catch) packages/engine/src/domain.ts
- Exception handling · Swallowed exception (empty catch) packages/engine/src/domain.ts
- Exception handling · Swallowed exception (empty catch) packages/engine/src/domain.ts
- Exception handling · Swallowed exception (empty catch) packages/engine/src/executors/saga-executor.ts
- Exception handling · Swallowed exception (empty catch) packages/engine/src/executors/saga-executor.ts
- Exception handling · Swallowed exception (empty catch) packages/engine/src/executors/command-lifecycle-executor.ts
- Exception handling · Swallowed exception (empty catch) packages/engine/src/executors/command-lifecycle-executor.ts
- Exception handling · Swallowed exception (empty catch) packages/engine/src/executors/command-lifecycle-executor.ts
- Exception handling · Swallowed exception (empty catch) packages/engine/src/executors/command-lifecycle-executor.ts
- Schema migrations · Schema created by TypeORM synchronize: true (no migration path) samples/sample-flash-sale/src/main-optimistic.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: run-type-perf packages/core/scripts/run-type-perf.ts
Fixed since the last survey: 78 findings
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Supply-chain Provenance & Signing REDACTED
- Supply-chain Provenance & Signing REDACTED
- Code Duplication · Duplicated block (16 lines × 2 locations) packages/adapters/drizzle/src/mysql/schema.ts
- Code Duplication · Duplicated block (16 lines × 2 locations) packages/adapters/drizzle/src/persistence.ts
- Code Duplication · Duplicated block (16 lines × 2 locations) packages/adapters/drizzle/src/persistence.ts
- Code Duplication · Duplicated block (16 lines × 2 locations) packages/core/src/ddd/aggregate-root.ts
- Code Duplication · Duplicated block (16 lines × 2 locations) packages/testing-integration/src/containers/nats.ts
- Code Duplication · Duplicated block (15 lines × 3 locations) packages/adapters/drizzle/src/pg/advisory-locker.ts
- Code Duplication · Duplicated block (15 lines × 3 locations) packages/adapters/drizzle/src/unit-of-work.ts
- Code Duplication · Duplicated block (15 lines × 3 locations) packages/adapters/drizzle/vitest.integration.config.mts
- Code Duplication · Duplicated block (15 lines × 3 locations) packages/adapters/prisma/src/unit-of-work.ts
- Code Duplication · Duplicated block with local edits (15 matched lines × 2 locations) scripts/check-spec-docs-links.mjs
- Code Duplication · Duplicated block (14 lines × 2 locations) packages/adapters/typeorm/src/persistence.ts
- Code Duplication · Duplicated block (14 lines × 2 locations) packages/engine/src/implementations/in-memory-aggregate-persistence.ts
- Code Duplication · Duplicated block (14 lines × 3 locations) packages/testing-integration/src/containers/mssql.ts
- Code Duplication · Duplicated block (14 lines × 2 locations) packages/testing-integration/src/contracts/outbox-contract.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) packages/adapters/drizzle/src/dedicated-state-persistence.ts
- Code Duplication · Duplicated block with local edits (13 matched lines × 2 locations) packages/adapters/kafka/vitest.config.mts
- Code Duplication · Duplicated block with local edits (13 matched lines × 2 locations) packages/adapters/nats/vitest.config.mts
- Code Duplication · Duplicated block with local edits (13 matched lines × 2 locations) packages/adapters/rabbitmq/vitest.config.mts
- Code Duplication · Duplicated block (13 lines × 3 locations) packages/adapters/typeorm/src/dedicated-state-persistence.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) packages/core/src/ddd/domain-definition.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) packages/testing-integration/src/contracts/persistence-contract.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) packages/testing-integration/src/contracts/unit-of-work-contract.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) packages/adapters/drizzle/src/advisory-locker.ts
- Code Duplication · Duplicated block with local edits (12 matched lines × 2 locations) packages/adapters/kafka/vitest.config.mts
- Code Duplication · Duplicated block with local edits (12 matched lines × 2 locations) packages/adapters/nats/vitest.config.mts
- Code Duplication · Duplicated block (12 lines × 2 locations) packages/adapters/prisma/src/pg/advisory-locker.ts
- Code Duplication · Duplicated block with local edits (12 matched lines × 2 locations) packages/adapters/rabbitmq/vitest.config.mts
- Code Duplication · Duplicated block (12 lines × 2 locations) packages/adapters/typeorm/src/event-reader.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) packages/engine/src/executors/saga-executor.ts
- Code Duplication · Duplicated block (11 lines × 5 locations) packages/adapters/drizzle/src/persistence.ts
- Code Duplication · Duplicated block (11 lines × 2 locations) packages/adapters/drizzle/src/pg/advisory-locker.ts
- Code Duplication · Duplicated block with local edits (11 matched lines × 2 locations) packages/adapters/kafka/vitest.config.mts
- Code Duplication · Duplicated block with local edits (11 matched lines × 2 locations) packages/adapters/nats/vitest.config.mts
- Code Duplication · Duplicated block (11 lines × 3 locations) packages/adapters/typeorm/src/mssql/advisory-locker.ts
- Code Duplication · Duplicated block (11 lines × 2 locations) packages/adapters/typeorm/src/mssql/advisory-locker.ts
- Code Duplication · Duplicated block (11 lines × 2 locations) packages/adapters/typeorm/src/persistence.ts
- Code Duplication · Duplicated block (11 lines × 2 locations) packages/cli/src/generators/aggregate.ts
- Code Duplication · Duplicated block (11 lines × 2 locations) packages/core/src/infrastructure/closeable.ts
- Code Duplication · Duplicated block (11 lines × 4 locations) packages/testing-integration/src/contracts/event-reader-contract.ts
- Code Duplication · Duplicated block (11 lines × 2 locations) packages/testing-integration/src/contracts/persistence-contract.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) packages/adapters/drizzle/src/persistence.ts
- Code Duplication · Duplicated block (10 lines × 3 locations) packages/adapters/drizzle/src/persistence.ts
- Code Duplication · Duplicated block (10 lines × 4 locations) packages/adapters/prisma/src/persistence.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) packages/cli/src/commands/add.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) packages/engine/src/concurrency-strategy.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) packages/engine/src/executors/command-lifecycle-executor.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) packages/engine/src/implementations/in-memory-command-bus.ts
- Code Duplication · Duplicated block (10 lines × 3 locations) packages/testing-integration/src/contracts/event-bus-contract.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) packages/adapters/drizzle/src/pg/schema.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) packages/adapters/prisma/src/persistence.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) packages/adapters/typeorm/src/entities.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) packages/cli/src/commands/diagram.ts
- Code Duplication · Duplicated block (9 lines × 8 locations) packages/testing-integration/src/contracts/advisory-locker-contract.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) packages/testing-integration/src/contracts/event-bus-contract.ts
- Code Duplication · Duplicated block (9 lines × 3 locations) packages/testing-integration/src/contracts/outbox-contract.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) packages/testing-integration/src/contracts/persistence-contract.ts
- Code Duplication · Duplicated block (8 lines × 2 locations) packages/adapters/drizzle/src/mysql/advisory-locker.ts
- Code Duplication · Duplicated block (8 lines × 3 locations) packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts
- Code Duplication · Duplicated block (8 lines × 2 locations) packages/adapters/typeorm/src/persistence.ts
- Code Duplication · Duplicated block (8 lines × 2 locations) packages/cli/src/diagram/emit-dot.ts
- Code Duplication · Duplicated block (8 lines × 2 locations) packages/testing-integration/src/contracts/outbox-contract.ts
- Code Duplication · Duplicated block (8 lines × 2 locations) packages/testing-integration/src/contracts/persistence-contract.ts
- Code Duplication · Duplicated block (8 lines × 2 locations) packages/testing-integration/src/contracts/scale-contract.ts
- Code Duplication · Duplicated block (7 lines × 2 locations) packages/adapters/drizzle/src/dedicated-state-persistence.ts
- Code Duplication · Duplicated block (7 lines × 3 locations) packages/adapters/prisma/src/persistence.ts
- Code Duplication · Duplicated block (7 lines × 2 locations) packages/cli/src/diagram/build-graph.ts
- Code Duplication · Duplicated block (7 lines × 2 locations) packages/cli/src/utils/file-modifier.ts
- Code Duplication · Duplicated block (7 lines × 2 locations) packages/core/src/ddd/aggregate-root.ts
- Code Duplication · Duplicated block with local edits (6 matched lines × 2 locations) packages/adapters/drizzle/src/errors.ts
- Code Duplication · Duplicated block (6 lines × 3 locations) packages/adapters/drizzle/src/persistence.ts
- Code Duplication · Duplicated block (5 lines × 2 locations) packages/adapters/typeorm/src/persistence.ts
- Code Duplication · Duplicated block with local edits (5 matched lines × 2 locations) packages/core/src/infrastructure/logger.ts
Rebuild cost: about €56,000 · Estimate
| Cost to rebuild | €19,000 to €94,000, for 311 to 988 hours of work, about 0.4 person-years for one engineer |
|---|---|
| Difficulty of the problem | Low, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 52. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Medium: 29,330 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 packages.cli.src.utils.context | 2 packages.cli.src.utils.persistence | 3 packages.core.src.edd.event | 4 packages.core.src.edd.event-bus | 5 packages.core.src.edd.event-idempotency | 6 packages.core.src.id | 7 packages.core.src.infrastructure.instrumentation | 8 packages.core.src.infrastructure.logger | 9 packages.core.src.persistence.unit-of-work | 10 packages.testing-integration.src.containers | 11 packages.adapters.kafka.src.kafka-event-bus | 12 packages.adapters.prisma.src.unit-of-work | 13 packages.adapters.typeorm.src.unit-of-work | 14 packages.cli.src.utils | 15 packages.core.src.cqrs.command.command | 16 packages.core.src.infrastructure | 17 packages.core.src.persistence.aggregate-locker | 18 packages.core.src.persistence.event-reader | 19 packages.core.src.persistence.outbox | 20 packages.core.src.persistence.snapshot | 21 packages.core.src.persistence.view-store | 22 packages.adapters.drizzle.src.advisory-locker | 23 packages.core.src.ddd.projection | 24 packages.core.src.persistence | 25 packages.engine.src.concurrency-strategy | 26 samples.sample-hotel-booking.src.infrastructure.types | 27 packages.adapters.drizzle.src | 28 packages.adapters.prisma.src | 29 packages.adapters.prisma.src.persistence | 30 packages.adapters.prisma.src.prisma-adapter | 31 packages.adapters.typeorm.src | 32 packages.adapters.typeorm.src.typeorm-adapter | 33 packages.core.src.persistence.adapter | 34 packages.engine.src.executors.command-lifecycle-executor | 35 packages.engine.src.executors.saga-executor | 36 packages.engine.src.implementations.in-memory-aggregate-persistence | 37 packages.engine.src.projection-rebuild | 38 packages.testing.src | 39 packages.adapters.drizzle.src.drizzle-adapter | 40 packages.engine.src.domain |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 packages.cli.src.utils.context | ||||||||||||||||||||||||||||||||||||||||
| 2 packages.cli.src.utils.persistence | ||||||||||||||||||||||||||||||||||||||||
| 3 packages.core.src.edd.event | ||||||||||||||||||||||||||||||||||||||||
| 4 packages.core.src.edd.event-bus | ||||||||||||||||||||||||||||||||||||||||
| 5 packages.core.src.edd.event-idempotency | ||||||||||||||||||||||||||||||||||||||||
| 6 packages.core.src.id | ||||||||||||||||||||||||||||||||||||||||
| 7 packages.core.src.infrastructure.instrumentation | ||||||||||||||||||||||||||||||||||||||||
| 8 packages.core.src.infrastructure.logger | ||||||||||||||||||||||||||||||||||||||||
| 9 packages.core.src.persistence.unit-of-work | ||||||||||||||||||||||||||||||||||||||||
| 10 packages.testing-integration.src.containers | ||||||||||||||||||||||||||||||||||||||||
| 11 packages.adapters.kafka.src.kafka-event-bus | 1 | 1 | 2 | 2 | ||||||||||||||||||||||||||||||||||||
| 12 packages.adapters.prisma.src.unit-of-work | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 packages.adapters.typeorm.src.unit-of-work | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 packages.cli.src.utils | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 15 packages.core.src.cqrs.command.command | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 packages.core.src.infrastructure | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 17 packages.core.src.persistence.aggregate-locker | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 packages.core.src.persistence.event-reader | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 packages.core.src.persistence.outbox | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 packages.core.src.persistence.snapshot | 2 | |||||||||||||||||||||||||||||||||||||||
| 21 packages.core.src.persistence.view-store | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 packages.adapters.drizzle.src.advisory-locker | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 23 packages.core.src.ddd.projection | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 packages.core.src.persistence | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 25 packages.engine.src.concurrency-strategy | 4 | 2 | 3 | 1 | ||||||||||||||||||||||||||||||||||||
| 26 samples.sample-hotel-booking.src.infrastructure.types | 1 | |||||||||||||||||||||||||||||||||||||||
| 27 packages.adapters.drizzle.src | 1 | 1 | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||||
| 28 packages.adapters.prisma.src | 1 | 1 | 1 | 3 | ||||||||||||||||||||||||||||||||||||
| 29 packages.adapters.prisma.src.persistence | 5 | 1 | 3 | 3 | ||||||||||||||||||||||||||||||||||||
| 30 packages.adapters.prisma.src.prisma-adapter | 1 | 1 | 1 | 1 | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||
| 31 packages.adapters.typeorm.src | 1 | 1 | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||||
| 32 packages.adapters.typeorm.src.typeorm-adapter | 1 | 1 | 1 | 1 | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||
| 33 packages.core.src.persistence.adapter | 1 | 1 | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||||
| 34 packages.engine.src.executors.command-lifecycle-executor | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 35 packages.engine.src.executors.saga-executor | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 36 packages.engine.src.implementations.in-memory-aggregate-persistence | 1 | 2 | 2 | 1 | 2 | |||||||||||||||||||||||||||||||||||
| 37 packages.engine.src.projection-rebuild | 1 | 2 | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||
| 38 packages.testing.src | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 packages.adapters.drizzle.src.drizzle-adapter | 1 | 1 | 1 | 1 | 1 | 1 | 3 | 1 | ||||||||||||||||||||||||||||||||
| 40 packages.engine.src.domain | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 2 |
11→3 packages.adapters.kafka.src.kafka-event-bus uses packages.core.src.edd.event✕
- Connections
- 1 pair of types, where a type in packages.adapters.kafka.src.kafka-event-bus uses a type in packages.core.src.edd.event.
- The types involved
packages.adapters.kafka.src.kafka-event-bus.KafkaEventBus→packages.core.src.edd.event.Event
- Direction
- packages.adapters.kafka.src.kafka-event-bus uses packages.core.src.edd.event, so a change to packages.core.src.edd.event can break packages.adapters.kafka.src.kafka-event-bus, while a change to packages.adapters.kafka.src.kafka-event-bus can't break packages.core.src.edd.event.
- Position
- Below the diagonal: packages.adapters.kafka.src.kafka-event-bus uses a module listed above it, which is the healthy direction.
11→4 packages.adapters.kafka.src.kafka-event-bus uses packages.core.src.edd.event-bus✕
- Connections
- 1 pair of types, where a type in packages.adapters.kafka.src.kafka-event-bus uses a type in packages.core.src.edd.event-bus.
- The types involved
packages.adapters.kafka.src.kafka-event-bus.KafkaEventBus→packages.core.src.edd.event-bus.EventBus
- Direction
- packages.adapters.kafka.src.kafka-event-bus uses packages.core.src.edd.event-bus, so a change to packages.core.src.edd.event-bus can break packages.adapters.kafka.src.kafka-event-bus, while a change to packages.adapters.kafka.src.kafka-event-bus can't break packages.core.src.edd.event-bus.
- Position
- Below the diagonal: packages.adapters.kafka.src.kafka-event-bus uses a module listed above it, which is the healthy direction.
11→7 packages.adapters.kafka.src.kafka-event-bus uses packages.core.src.infrastructure.instrumentation✕
- Connections
- 2 pairs of types, where a type in packages.adapters.kafka.src.kafka-event-bus uses a type in packages.core.src.infrastructure.instrumentation.
- The types involved
packages.adapters.kafka.src.kafka-event-bus.KafkaEventBus→packages.core.src.infrastructure.instrumentation.Instrumentationpackages.adapters.kafka.src.kafka-event-bus.KafkaEventBusConfig→packages.core.src.infrastructure.instrumentation.Instrumentation
- Direction
- packages.adapters.kafka.src.kafka-event-bus uses packages.core.src.infrastructure.instrumentation, so a change to packages.core.src.infrastructure.instrumentation can break packages.adapters.kafka.src.kafka-event-bus, while a change to packages.adapters.kafka.src.kafka-event-bus can't break packages.core.src.infrastructure.instrumentation.
- Position
- Below the diagonal: packages.adapters.kafka.src.kafka-event-bus uses a module listed above it, which is the healthy direction.
11→8 packages.adapters.kafka.src.kafka-event-bus uses packages.core.src.infrastructure.logger✕
- Connections
- 2 pairs of types, where a type in packages.adapters.kafka.src.kafka-event-bus uses a type in packages.core.src.infrastructure.logger.
- The types involved
packages.adapters.kafka.src.kafka-event-bus.KafkaEventBus→packages.core.src.infrastructure.logger.Loggerpackages.adapters.kafka.src.kafka-event-bus.KafkaEventBusConfig→packages.core.src.infrastructure.logger.Logger
- Direction
- packages.adapters.kafka.src.kafka-event-bus uses packages.core.src.infrastructure.logger, so a change to packages.core.src.infrastructure.logger can break packages.adapters.kafka.src.kafka-event-bus, while a change to packages.adapters.kafka.src.kafka-event-bus can't break packages.core.src.infrastructure.logger.
- Position
- Below the diagonal: packages.adapters.kafka.src.kafka-event-bus uses a module listed above it, which is the healthy direction.
12→9 packages.adapters.prisma.src.unit-of-work uses packages.core.src.persistence.unit-of-work✕
- Connections
- 1 pair of types, where a type in packages.adapters.prisma.src.unit-of-work uses a type in packages.core.src.persistence.unit-of-work.
- The types involved
packages.adapters.prisma.src.unit-of-work.PrismaUnitOfWork→packages.core.src.persistence.unit-of-work.UnitOfWork
- Direction
- packages.adapters.prisma.src.unit-of-work uses packages.core.src.persistence.unit-of-work, so a change to packages.core.src.persistence.unit-of-work can break packages.adapters.prisma.src.unit-of-work, while a change to packages.adapters.prisma.src.unit-of-work can't break packages.core.src.persistence.unit-of-work.
- Position
- Below the diagonal: packages.adapters.prisma.src.unit-of-work uses a module listed above it, which is the healthy direction.
13→9 packages.adapters.typeorm.src.unit-of-work uses packages.core.src.persistence.unit-of-work✕
- Connections
- 1 pair of types, where a type in packages.adapters.typeorm.src.unit-of-work uses a type in packages.core.src.persistence.unit-of-work.
- The types involved
packages.adapters.typeorm.src.unit-of-work.TypeORMUnitOfWork→packages.core.src.persistence.unit-of-work.UnitOfWork
- Direction
- packages.adapters.typeorm.src.unit-of-work uses packages.core.src.persistence.unit-of-work, so a change to packages.core.src.persistence.unit-of-work can break packages.adapters.typeorm.src.unit-of-work, while a change to packages.adapters.typeorm.src.unit-of-work can't break packages.core.src.persistence.unit-of-work.
- Position
- Below the diagonal: packages.adapters.typeorm.src.unit-of-work uses a module listed above it, which is the healthy direction.
14→1 packages.cli.src.utils uses packages.cli.src.utils.context✕
- Connections
- 1 pair of types, where a type in packages.cli.src.utils uses a type in packages.cli.src.utils.context.
- The types involved
packages.cli.src.utils.context→packages.cli.src.utils.context.TemplateContext
- Direction
- packages.cli.src.utils uses packages.cli.src.utils.context, so a change to packages.cli.src.utils.context can break packages.cli.src.utils, while a change to packages.cli.src.utils can't break packages.cli.src.utils.context.
- Position
- Below the diagonal: packages.cli.src.utils uses a module listed above it, which is the healthy direction.
14→2 packages.cli.src.utils uses packages.cli.src.utils.persistence✕
- Connections
- 1 pair of types, where a type in packages.cli.src.utils uses a type in packages.cli.src.utils.persistence.
- The types involved
packages.cli.src.utils.persistence→packages.cli.src.utils.persistence.PersistenceAdapter
- Direction
- packages.cli.src.utils uses packages.cli.src.utils.persistence, so a change to packages.cli.src.utils.persistence can break packages.cli.src.utils, while a change to packages.cli.src.utils can't break packages.cli.src.utils.persistence.
- Position
- Below the diagonal: packages.cli.src.utils uses a module listed above it, which is the healthy direction.
15→6 packages.core.src.cqrs.command.command uses packages.core.src.id✕
- Connections
- 1 pair of types, where a type in packages.core.src.cqrs.command.command uses a type in packages.core.src.id.
- The types involved
packages.core.src.cqrs.command.command.Command→packages.core.src.id.ID
- Direction
- packages.core.src.cqrs.command.command uses packages.core.src.id, so a change to packages.core.src.id can break packages.core.src.cqrs.command.command, while a change to packages.core.src.cqrs.command.command can't break packages.core.src.id.
- Position
- Below the diagonal: packages.core.src.cqrs.command.command uses a module listed above it, which is the healthy direction.
16→4 packages.core.src.infrastructure uses packages.core.src.edd.event-bus✕
- Connections
- 1 pair of types, where a type in packages.core.src.infrastructure uses a type in packages.core.src.edd.event-bus.
- The types involved
packages.core.src.infrastructure.CQRSInfrastructure→packages.core.src.edd.event-bus.EventBus
- Direction
- packages.core.src.infrastructure uses packages.core.src.edd.event-bus, so a change to packages.core.src.edd.event-bus can break packages.core.src.infrastructure, while a change to packages.core.src.infrastructure can't break packages.core.src.edd.event-bus.
- Position
- Below the diagonal: packages.core.src.infrastructure uses a module listed above it, which is the healthy direction.
16→8 packages.core.src.infrastructure uses packages.core.src.infrastructure.logger✕
- Connections
- 1 pair of types, where a type in packages.core.src.infrastructure uses a type in packages.core.src.infrastructure.logger.
- The types involved
packages.core.src.infrastructure.FrameworkInfrastructure→packages.core.src.infrastructure.logger.Logger
- Direction
- packages.core.src.infrastructure uses packages.core.src.infrastructure.logger, so a change to packages.core.src.infrastructure.logger can break packages.core.src.infrastructure, while a change to packages.core.src.infrastructure can't break packages.core.src.infrastructure.logger.
- Position
- Below the diagonal: packages.core.src.infrastructure uses a module listed above it, which is the healthy direction.
17→6 packages.core.src.persistence.aggregate-locker uses packages.core.src.id✕
- Connections
- 1 pair of types, where a type in packages.core.src.persistence.aggregate-locker uses a type in packages.core.src.id.
- The types involved
packages.core.src.persistence.aggregate-locker.AggregateLocker→packages.core.src.id.ID
- Direction
- packages.core.src.persistence.aggregate-locker uses packages.core.src.id, so a change to packages.core.src.id can break packages.core.src.persistence.aggregate-locker, while a change to packages.core.src.persistence.aggregate-locker can't break packages.core.src.id.
- Position
- Below the diagonal: packages.core.src.persistence.aggregate-locker uses a module listed above it, which is the healthy direction.
18→3 packages.core.src.persistence.event-reader uses packages.core.src.edd.event✕
- Connections
- 1 pair of types, where a type in packages.core.src.persistence.event-reader uses a type in packages.core.src.edd.event.
- The types involved
packages.core.src.persistence.event-reader.EventReader→packages.core.src.edd.event.Event
- Direction
- packages.core.src.persistence.event-reader uses packages.core.src.edd.event, so a change to packages.core.src.edd.event can break packages.core.src.persistence.event-reader, while a change to packages.core.src.persistence.event-reader can't break packages.core.src.edd.event.
- Position
- Below the diagonal: packages.core.src.persistence.event-reader uses a module listed above it, which is the healthy direction.
19→3 packages.core.src.persistence.outbox uses packages.core.src.edd.event✕
- Connections
- 1 pair of types, where a type in packages.core.src.persistence.outbox uses a type in packages.core.src.edd.event.
- The types involved
packages.core.src.persistence.outbox.OutboxEntry→packages.core.src.edd.event.Event
- Direction
- packages.core.src.persistence.outbox uses packages.core.src.edd.event, so a change to packages.core.src.edd.event can break packages.core.src.persistence.outbox, while a change to packages.core.src.persistence.outbox can't break packages.core.src.edd.event.
- Position
- Below the diagonal: packages.core.src.persistence.outbox uses a module listed above it, which is the healthy direction.
20→6 packages.core.src.persistence.snapshot uses packages.core.src.id✕
- Connections
- 2 pairs of types, where a type in packages.core.src.persistence.snapshot uses a type in packages.core.src.id.
- The types involved
packages.core.src.persistence.snapshot.PartialEventLoad→packages.core.src.id.IDpackages.core.src.persistence.snapshot.SnapshotStore→packages.core.src.id.ID
- Direction
- packages.core.src.persistence.snapshot uses packages.core.src.id, so a change to packages.core.src.id can break packages.core.src.persistence.snapshot, while a change to packages.core.src.persistence.snapshot can't break packages.core.src.id.
- Position
- Below the diagonal: packages.core.src.persistence.snapshot uses a module listed above it, which is the healthy direction.
21→6 packages.core.src.persistence.view-store uses packages.core.src.id✕
- Connections
- 1 pair of types, where a type in packages.core.src.persistence.view-store uses a type in packages.core.src.id.
- The types involved
packages.core.src.persistence.view-store.ViewStore→packages.core.src.id.ID
- Direction
- packages.core.src.persistence.view-store uses packages.core.src.id, so a change to packages.core.src.id can break packages.core.src.persistence.view-store, while a change to packages.core.src.persistence.view-store can't break packages.core.src.id.
- Position
- Below the diagonal: packages.core.src.persistence.view-store uses a module listed above it, which is the healthy direction.
22→8 packages.adapters.drizzle.src.advisory-locker uses packages.core.src.infrastructure.logger✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src.advisory-locker uses a type in packages.core.src.infrastructure.logger.
- The types involved
packages.adapters.drizzle.src.advisory-locker.DrizzleAdvisoryLockerFromUrlOptions→packages.core.src.infrastructure.logger.Logger
- Direction
- packages.adapters.drizzle.src.advisory-locker uses packages.core.src.infrastructure.logger, so a change to packages.core.src.infrastructure.logger can break packages.adapters.drizzle.src.advisory-locker, while a change to packages.adapters.drizzle.src.advisory-locker can't break packages.core.src.infrastructure.logger.
- Position
- Below the diagonal: packages.adapters.drizzle.src.advisory-locker uses a module listed above it, which is the healthy direction.
22→17 packages.adapters.drizzle.src.advisory-locker uses packages.core.src.persistence.aggregate-locker✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src.advisory-locker uses a type in packages.core.src.persistence.aggregate-locker.
- The types involved
packages.adapters.drizzle.src.advisory-locker.DrizzleAdvisoryLocker→packages.core.src.persistence.aggregate-locker.AggregateLocker
- Direction
- packages.adapters.drizzle.src.advisory-locker uses packages.core.src.persistence.aggregate-locker, so a change to packages.core.src.persistence.aggregate-locker can break packages.adapters.drizzle.src.advisory-locker, while a change to packages.adapters.drizzle.src.advisory-locker can't break packages.core.src.persistence.aggregate-locker.
- Position
- Below the diagonal: packages.adapters.drizzle.src.advisory-locker uses a module listed above it, which is the healthy direction.
23→21 packages.core.src.ddd.projection uses packages.core.src.persistence.view-store✕
- Connections
- 1 pair of types, where a type in packages.core.src.ddd.projection uses a type in packages.core.src.persistence.view-store.
- The types involved
packages.core.src.ddd.projection.Projection→packages.core.src.persistence.view-store.ViewStoreFactory
- Direction
- packages.core.src.ddd.projection uses packages.core.src.persistence.view-store, so a change to packages.core.src.persistence.view-store can break packages.core.src.ddd.projection, while a change to packages.core.src.ddd.projection can't break packages.core.src.persistence.view-store.
- Position
- Below the diagonal: packages.core.src.ddd.projection uses a module listed above it, which is the healthy direction.
24→6 packages.core.src.persistence uses packages.core.src.id✕
- Connections
- 3 pairs of types, where a type in packages.core.src.persistence uses a type in packages.core.src.id.
- The types involved
packages.core.src.persistence.EventSourcedAggregatePersistence→packages.core.src.id.IDpackages.core.src.persistence.SagaPersistence→packages.core.src.id.IDpackages.core.src.persistence.StateStoredAggregatePersistence→packages.core.src.id.ID
- Direction
- packages.core.src.persistence uses packages.core.src.id, so a change to packages.core.src.id can break packages.core.src.persistence, while a change to packages.core.src.persistence can't break packages.core.src.id.
- Position
- Below the diagonal: packages.core.src.persistence uses a module listed above it, which is the healthy direction.
24→21 packages.core.src.persistence uses packages.core.src.persistence.view-store✕
- Connections
- 1 pair of types, where a type in packages.core.src.persistence uses a type in packages.core.src.persistence.view-store.
- The types involved
packages.core.src.persistence.view-store→packages.core.src.persistence.view-store.ViewStoreFactory
- Direction
- packages.core.src.persistence uses packages.core.src.persistence.view-store, so a change to packages.core.src.persistence.view-store can break packages.core.src.persistence, while a change to packages.core.src.persistence can't break packages.core.src.persistence.view-store.
- Position
- Below the diagonal: packages.core.src.persistence uses a module listed above it, which is the healthy direction.
25→6 packages.engine.src.concurrency-strategy uses packages.core.src.id✕
- Connections
- 4 pairs of types, where a type in packages.engine.src.concurrency-strategy uses a type in packages.core.src.id.
- The types involved
packages.engine.src.concurrency-strategy.ConcurrencyStrategy→packages.core.src.id.IDpackages.engine.src.concurrency-strategy.OptimisticConcurrencyStrategy→packages.core.src.id.IDpackages.engine.src.concurrency-strategy.PerAggregateConcurrencyStrategy→packages.core.src.id.IDpackages.engine.src.concurrency-strategy.PessimisticConcurrencyStrategy→packages.core.src.id.ID
- Direction
- packages.engine.src.concurrency-strategy uses packages.core.src.id, so a change to packages.core.src.id can break packages.engine.src.concurrency-strategy, while a change to packages.engine.src.concurrency-strategy can't break packages.core.src.id.
- Position
- Below the diagonal: packages.engine.src.concurrency-strategy uses a module listed above it, which is the healthy direction.
25→8 packages.engine.src.concurrency-strategy uses packages.core.src.infrastructure.logger✕
- Connections
- 2 pairs of types, where a type in packages.engine.src.concurrency-strategy uses a type in packages.core.src.infrastructure.logger.
- The types involved
packages.engine.src.concurrency-strategy.OptimisticConcurrencyStrategy→packages.core.src.infrastructure.logger.Loggerpackages.engine.src.concurrency-strategy.PessimisticConcurrencyStrategy→packages.core.src.infrastructure.logger.Logger
- Direction
- packages.engine.src.concurrency-strategy uses packages.core.src.infrastructure.logger, so a change to packages.core.src.infrastructure.logger can break packages.engine.src.concurrency-strategy, while a change to packages.engine.src.concurrency-strategy can't break packages.core.src.infrastructure.logger.
- Position
- Below the diagonal: packages.engine.src.concurrency-strategy uses a module listed above it, which is the healthy direction.
25→9 packages.engine.src.concurrency-strategy uses packages.core.src.persistence.unit-of-work✕
- Connections
- 3 pairs of types, where a type in packages.engine.src.concurrency-strategy uses a type in packages.core.src.persistence.unit-of-work.
- The types involved
packages.engine.src.concurrency-strategy.ConcurrencyStrategy→packages.core.src.persistence.unit-of-work.UnitOfWorkpackages.engine.src.concurrency-strategy.PerAggregateConcurrencyStrategy→packages.core.src.persistence.unit-of-work.UnitOfWorkpackages.engine.src.concurrency-strategy.PessimisticConcurrencyStrategy→packages.core.src.persistence.unit-of-work.UnitOfWork
- Direction
- packages.engine.src.concurrency-strategy uses packages.core.src.persistence.unit-of-work, so a change to packages.core.src.persistence.unit-of-work can break packages.engine.src.concurrency-strategy, while a change to packages.engine.src.concurrency-strategy can't break packages.core.src.persistence.unit-of-work.
- Position
- Below the diagonal: packages.engine.src.concurrency-strategy uses a module listed above it, which is the healthy direction.
25→17 packages.engine.src.concurrency-strategy uses packages.core.src.persistence.aggregate-locker✕
- Connections
- 1 pair of types, where a type in packages.engine.src.concurrency-strategy uses a type in packages.core.src.persistence.aggregate-locker.
- The types involved
packages.engine.src.concurrency-strategy.PessimisticConcurrencyStrategy→packages.core.src.persistence.aggregate-locker.AggregateLocker
- Direction
- packages.engine.src.concurrency-strategy uses packages.core.src.persistence.aggregate-locker, so a change to packages.core.src.persistence.aggregate-locker can break packages.engine.src.concurrency-strategy, while a change to packages.engine.src.concurrency-strategy can't break packages.core.src.persistence.aggregate-locker.
- Position
- Below the diagonal: packages.engine.src.concurrency-strategy uses a module listed above it, which is the healthy direction.
26→21 samples.sample-hotel-booking.src.infrastructure.types uses packages.core.src.persistence.view-store✕
- Connections
- 1 pair of types, where a type in samples.sample-hotel-booking.src.infrastructure.types uses a type in packages.core.src.persistence.view-store.
- The types involved
samples.sample-hotel-booking.src.infrastructure.types.HotelInfrastructure→packages.core.src.persistence.view-store.ViewStore
- Direction
- samples.sample-hotel-booking.src.infrastructure.types uses packages.core.src.persistence.view-store, so a change to packages.core.src.persistence.view-store can break samples.sample-hotel-booking.src.infrastructure.types, while a change to samples.sample-hotel-booking.src.infrastructure.types can't break packages.core.src.persistence.view-store.
- Position
- Below the diagonal: samples.sample-hotel-booking.src.infrastructure.types uses a module listed above it, which is the healthy direction.
27→3 packages.adapters.drizzle.src uses packages.core.src.edd.event✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src uses a type in packages.core.src.edd.event.
- The types involved
packages.adapters.drizzle.src.persistence→packages.core.src.edd.event.Event
- Direction
- packages.adapters.drizzle.src uses packages.core.src.edd.event, so a change to packages.core.src.edd.event can break packages.adapters.drizzle.src, while a change to packages.adapters.drizzle.src can't break packages.core.src.edd.event.
- Position
- Below the diagonal: packages.adapters.drizzle.src uses a module listed above it, which is the healthy direction.
27→19 packages.adapters.drizzle.src uses packages.core.src.persistence.outbox✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src uses a type in packages.core.src.persistence.outbox.
- The types involved
packages.adapters.drizzle.src.DrizzlePersistenceInfrastructure→packages.core.src.persistence.outbox.OutboxStore
- Direction
- packages.adapters.drizzle.src uses packages.core.src.persistence.outbox, so a change to packages.core.src.persistence.outbox can break packages.adapters.drizzle.src, while a change to packages.adapters.drizzle.src can't break packages.core.src.persistence.outbox.
- Position
- Below the diagonal: packages.adapters.drizzle.src uses a module listed above it, which is the healthy direction.
27→20 packages.adapters.drizzle.src uses packages.core.src.persistence.snapshot✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src uses a type in packages.core.src.persistence.snapshot.
- The types involved
packages.adapters.drizzle.src.DrizzlePersistenceInfrastructure→packages.core.src.persistence.snapshot.SnapshotStore
- Direction
- packages.adapters.drizzle.src uses packages.core.src.persistence.snapshot, so a change to packages.core.src.persistence.snapshot can break packages.adapters.drizzle.src, while a change to packages.adapters.drizzle.src can't break packages.core.src.persistence.snapshot.
- Position
- Below the diagonal: packages.adapters.drizzle.src uses a module listed above it, which is the healthy direction.
27→22 packages.adapters.drizzle.src uses packages.adapters.drizzle.src.advisory-locker✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src uses a type in packages.adapters.drizzle.src.advisory-locker.
- The types involved
packages.adapters.drizzle.src.drizzle-adapter→packages.adapters.drizzle.src.advisory-locker.DrizzleDialect
- Direction
- packages.adapters.drizzle.src uses packages.adapters.drizzle.src.advisory-locker, so a change to packages.adapters.drizzle.src.advisory-locker can break packages.adapters.drizzle.src, while a change to packages.adapters.drizzle.src can't break packages.adapters.drizzle.src.advisory-locker.
- Position
- Below the diagonal: packages.adapters.drizzle.src uses a module listed above it, which is the healthy direction.
27→24 packages.adapters.drizzle.src uses packages.core.src.persistence✕
- Connections
- 3 pairs of types, where a type in packages.adapters.drizzle.src uses a type in packages.core.src.persistence.
- The types involved
packages.adapters.drizzle.src.DrizzlePersistenceInfrastructure→packages.core.src.persistence.EventSourcedAggregatePersistencepackages.adapters.drizzle.src.DrizzlePersistenceInfrastructure→packages.core.src.persistence.SagaPersistencepackages.adapters.drizzle.src.DrizzlePersistenceInfrastructure→packages.core.src.persistence.StateStoredAggregatePersistence
- Direction
- packages.adapters.drizzle.src uses packages.core.src.persistence, so a change to packages.core.src.persistence can break packages.adapters.drizzle.src, while a change to packages.adapters.drizzle.src can't break packages.core.src.persistence.
- Position
- Below the diagonal: packages.adapters.drizzle.src uses a module listed above it, which is the healthy direction.
28→12 packages.adapters.prisma.src uses packages.adapters.prisma.src.unit-of-work✕
- Connections
- 1 pair of types, where a type in packages.adapters.prisma.src uses a type in packages.adapters.prisma.src.unit-of-work.
- The types involved
packages.adapters.prisma.src.unit-of-work→packages.adapters.prisma.src.unit-of-work.PrismaTransactionStore
- Direction
- packages.adapters.prisma.src uses packages.adapters.prisma.src.unit-of-work, so a change to packages.adapters.prisma.src.unit-of-work can break packages.adapters.prisma.src, while a change to packages.adapters.prisma.src can't break packages.adapters.prisma.src.unit-of-work.
- Position
- Below the diagonal: packages.adapters.prisma.src uses a module listed above it, which is the healthy direction.
28→19 packages.adapters.prisma.src uses packages.core.src.persistence.outbox✕
- Connections
- 1 pair of types, where a type in packages.adapters.prisma.src uses a type in packages.core.src.persistence.outbox.
- The types involved
packages.adapters.prisma.src.PrismaPersistenceInfrastructure→packages.core.src.persistence.outbox.OutboxStore
- Direction
- packages.adapters.prisma.src uses packages.core.src.persistence.outbox, so a change to packages.core.src.persistence.outbox can break packages.adapters.prisma.src, while a change to packages.adapters.prisma.src can't break packages.core.src.persistence.outbox.
- Position
- Below the diagonal: packages.adapters.prisma.src uses a module listed above it, which is the healthy direction.
28→20 packages.adapters.prisma.src uses packages.core.src.persistence.snapshot✕
- Connections
- 1 pair of types, where a type in packages.adapters.prisma.src uses a type in packages.core.src.persistence.snapshot.
- The types involved
packages.adapters.prisma.src.PrismaPersistenceInfrastructure→packages.core.src.persistence.snapshot.SnapshotStore
- Direction
- packages.adapters.prisma.src uses packages.core.src.persistence.snapshot, so a change to packages.core.src.persistence.snapshot can break packages.adapters.prisma.src, while a change to packages.adapters.prisma.src can't break packages.core.src.persistence.snapshot.
- Position
- Below the diagonal: packages.adapters.prisma.src uses a module listed above it, which is the healthy direction.
28→24 packages.adapters.prisma.src uses packages.core.src.persistence✕
- Connections
- 3 pairs of types, where a type in packages.adapters.prisma.src uses a type in packages.core.src.persistence.
- The types involved
packages.adapters.prisma.src.PrismaPersistenceInfrastructure→packages.core.src.persistence.EventSourcedAggregatePersistencepackages.adapters.prisma.src.PrismaPersistenceInfrastructure→packages.core.src.persistence.SagaPersistencepackages.adapters.prisma.src.PrismaPersistenceInfrastructure→packages.core.src.persistence.StateStoredAggregatePersistence
- Direction
- packages.adapters.prisma.src uses packages.core.src.persistence, so a change to packages.core.src.persistence can break packages.adapters.prisma.src, while a change to packages.adapters.prisma.src can't break packages.core.src.persistence.
- Position
- Below the diagonal: packages.adapters.prisma.src uses a module listed above it, which is the healthy direction.
29→12 packages.adapters.prisma.src.persistence uses packages.adapters.prisma.src.unit-of-work✕
- Connections
- 5 pairs of types, where a type in packages.adapters.prisma.src.persistence uses a type in packages.adapters.prisma.src.unit-of-work.
- The types involved
packages.adapters.prisma.src.persistence.PrismaEventSourcedAggregatePersistence→packages.adapters.prisma.src.unit-of-work.PrismaTransactionStorepackages.adapters.prisma.src.persistence.PrismaOutboxStore→packages.adapters.prisma.src.unit-of-work.PrismaTransactionStorepackages.adapters.prisma.src.persistence.PrismaSagaPersistence→packages.adapters.prisma.src.unit-of-work.PrismaTransactionStorepackages.adapters.prisma.src.persistence.PrismaSnapshotStore→packages.adapters.prisma.src.unit-of-work.PrismaTransactionStorepackages.adapters.prisma.src.persistence.PrismaStateStoredAggregatePersistence→packages.adapters.prisma.src.unit-of-work.PrismaTransactionStore
- Direction
- packages.adapters.prisma.src.persistence uses packages.adapters.prisma.src.unit-of-work, so a change to packages.adapters.prisma.src.unit-of-work can break packages.adapters.prisma.src.persistence, while a change to packages.adapters.prisma.src.persistence can't break packages.adapters.prisma.src.unit-of-work.
- Position
- Below the diagonal: packages.adapters.prisma.src.persistence uses a module listed above it, which is the healthy direction.
29→19 packages.adapters.prisma.src.persistence uses packages.core.src.persistence.outbox✕
- Connections
- 1 pair of types, where a type in packages.adapters.prisma.src.persistence uses a type in packages.core.src.persistence.outbox.
- The types involved
packages.adapters.prisma.src.persistence.PrismaOutboxStore→packages.core.src.persistence.outbox.OutboxStore
- Direction
- packages.adapters.prisma.src.persistence uses packages.core.src.persistence.outbox, so a change to packages.core.src.persistence.outbox can break packages.adapters.prisma.src.persistence, while a change to packages.adapters.prisma.src.persistence can't break packages.core.src.persistence.outbox.
- Position
- Below the diagonal: packages.adapters.prisma.src.persistence uses a module listed above it, which is the healthy direction.
29→20 packages.adapters.prisma.src.persistence uses packages.core.src.persistence.snapshot✕
- Connections
- 3 pairs of types, where a type in packages.adapters.prisma.src.persistence uses a type in packages.core.src.persistence.snapshot.
- The types involved
packages.adapters.prisma.src.persistence.PrismaEventSourcedAggregatePersistence→packages.core.src.persistence.snapshot.PartialEventLoadpackages.adapters.prisma.src.persistence.PrismaSnapshotStore→packages.core.src.persistence.snapshot.Snapshotpackages.adapters.prisma.src.persistence.PrismaSnapshotStore→packages.core.src.persistence.snapshot.SnapshotStore
- Direction
- packages.adapters.prisma.src.persistence uses packages.core.src.persistence.snapshot, so a change to packages.core.src.persistence.snapshot can break packages.adapters.prisma.src.persistence, while a change to packages.adapters.prisma.src.persistence can't break packages.core.src.persistence.snapshot.
- Position
- Below the diagonal: packages.adapters.prisma.src.persistence uses a module listed above it, which is the healthy direction.
29→24 packages.adapters.prisma.src.persistence uses packages.core.src.persistence✕
- Connections
- 3 pairs of types, where a type in packages.adapters.prisma.src.persistence uses a type in packages.core.src.persistence.
- The types involved
packages.adapters.prisma.src.persistence.PrismaEventSourcedAggregatePersistence→packages.core.src.persistence.EventSourcedAggregatePersistencepackages.adapters.prisma.src.persistence.PrismaSagaPersistence→packages.core.src.persistence.SagaPersistencepackages.adapters.prisma.src.persistence.PrismaStateStoredAggregatePersistence→packages.core.src.persistence.StateStoredAggregatePersistence
- Direction
- packages.adapters.prisma.src.persistence uses packages.core.src.persistence, so a change to packages.core.src.persistence can break packages.adapters.prisma.src.persistence, while a change to packages.adapters.prisma.src.persistence can't break packages.core.src.persistence.
- Position
- Below the diagonal: packages.adapters.prisma.src.persistence uses a module listed above it, which is the healthy direction.
30→2 packages.adapters.prisma.src.prisma-adapter uses packages.cli.src.utils.persistence✕
- Connections
- 1 pair of types, where a type in packages.adapters.prisma.src.prisma-adapter uses a type in packages.cli.src.utils.persistence.
- The types involved
packages.adapters.prisma.src.prisma-adapter.PrismaAdapter→packages.cli.src.utils.persistence.PersistenceAdapter
- Direction
- packages.adapters.prisma.src.prisma-adapter uses packages.cli.src.utils.persistence, so a change to packages.cli.src.utils.persistence can break packages.adapters.prisma.src.prisma-adapter, while a change to packages.adapters.prisma.src.prisma-adapter can't break packages.cli.src.utils.persistence.
- Position
- Below the diagonal: packages.adapters.prisma.src.prisma-adapter uses a module listed above it, which is the healthy direction.
30→12 packages.adapters.prisma.src.prisma-adapter uses packages.adapters.prisma.src.unit-of-work✕
- Connections
- 1 pair of types, where a type in packages.adapters.prisma.src.prisma-adapter uses a type in packages.adapters.prisma.src.unit-of-work.
- The types involved
packages.adapters.prisma.src.prisma-adapter.PrismaAdapter→packages.adapters.prisma.src.unit-of-work.PrismaTransactionStore
- Direction
- packages.adapters.prisma.src.prisma-adapter uses packages.adapters.prisma.src.unit-of-work, so a change to packages.adapters.prisma.src.unit-of-work can break packages.adapters.prisma.src.prisma-adapter, while a change to packages.adapters.prisma.src.prisma-adapter can't break packages.adapters.prisma.src.unit-of-work.
- Position
- Below the diagonal: packages.adapters.prisma.src.prisma-adapter uses a module listed above it, which is the healthy direction.
30→17 packages.adapters.prisma.src.prisma-adapter uses packages.core.src.persistence.aggregate-locker✕
- Connections
- 1 pair of types, where a type in packages.adapters.prisma.src.prisma-adapter uses a type in packages.core.src.persistence.aggregate-locker.
- The types involved
packages.adapters.prisma.src.prisma-adapter.PrismaAdapter→packages.core.src.persistence.aggregate-locker.AggregateLocker
- Direction
- packages.adapters.prisma.src.prisma-adapter uses packages.core.src.persistence.aggregate-locker, so a change to packages.core.src.persistence.aggregate-locker can break packages.adapters.prisma.src.prisma-adapter, while a change to packages.adapters.prisma.src.prisma-adapter can't break packages.core.src.persistence.aggregate-locker.
- Position
- Below the diagonal: packages.adapters.prisma.src.prisma-adapter uses a module listed above it, which is the healthy direction.
30→18 packages.adapters.prisma.src.prisma-adapter uses packages.core.src.persistence.event-reader✕
- Connections
- 1 pair of types, where a type in packages.adapters.prisma.src.prisma-adapter uses a type in packages.core.src.persistence.event-reader.
- The types involved
packages.adapters.prisma.src.prisma-adapter.PrismaAdapter→packages.core.src.persistence.event-reader.EventReader
- Direction
- packages.adapters.prisma.src.prisma-adapter uses packages.core.src.persistence.event-reader, so a change to packages.core.src.persistence.event-reader can break packages.adapters.prisma.src.prisma-adapter, while a change to packages.adapters.prisma.src.prisma-adapter can't break packages.core.src.persistence.event-reader.
- Position
- Below the diagonal: packages.adapters.prisma.src.prisma-adapter uses a module listed above it, which is the healthy direction.
30→19 packages.adapters.prisma.src.prisma-adapter uses packages.core.src.persistence.outbox✕
- Connections
- 1 pair of types, where a type in packages.adapters.prisma.src.prisma-adapter uses a type in packages.core.src.persistence.outbox.
- The types involved
packages.adapters.prisma.src.prisma-adapter.PrismaAdapter→packages.core.src.persistence.outbox.OutboxStore
- Direction
- packages.adapters.prisma.src.prisma-adapter uses packages.core.src.persistence.outbox, so a change to packages.core.src.persistence.outbox can break packages.adapters.prisma.src.prisma-adapter, while a change to packages.adapters.prisma.src.prisma-adapter can't break packages.core.src.persistence.outbox.
- Position
- Below the diagonal: packages.adapters.prisma.src.prisma-adapter uses a module listed above it, which is the healthy direction.
30→20 packages.adapters.prisma.src.prisma-adapter uses packages.core.src.persistence.snapshot✕
- Connections
- 1 pair of types, where a type in packages.adapters.prisma.src.prisma-adapter uses a type in packages.core.src.persistence.snapshot.
- The types involved
packages.adapters.prisma.src.prisma-adapter.PrismaAdapter→packages.core.src.persistence.snapshot.SnapshotStore
- Direction
- packages.adapters.prisma.src.prisma-adapter uses packages.core.src.persistence.snapshot, so a change to packages.core.src.persistence.snapshot can break packages.adapters.prisma.src.prisma-adapter, while a change to packages.adapters.prisma.src.prisma-adapter can't break packages.core.src.persistence.snapshot.
- Position
- Below the diagonal: packages.adapters.prisma.src.prisma-adapter uses a module listed above it, which is the healthy direction.
30→24 packages.adapters.prisma.src.prisma-adapter uses packages.core.src.persistence✕
- Connections
- 3 pairs of types, where a type in packages.adapters.prisma.src.prisma-adapter uses a type in packages.core.src.persistence.
- The types involved
packages.adapters.prisma.src.prisma-adapter.PrismaAdapter→packages.core.src.persistence.EventSourcedAggregatePersistencepackages.adapters.prisma.src.prisma-adapter.PrismaAdapter→packages.core.src.persistence.SagaPersistencepackages.adapters.prisma.src.prisma-adapter.PrismaAdapter→packages.core.src.persistence.StateStoredAggregatePersistence
- Direction
- packages.adapters.prisma.src.prisma-adapter uses packages.core.src.persistence, so a change to packages.core.src.persistence can break packages.adapters.prisma.src.prisma-adapter, while a change to packages.adapters.prisma.src.prisma-adapter can't break packages.core.src.persistence.
- Position
- Below the diagonal: packages.adapters.prisma.src.prisma-adapter uses a module listed above it, which is the healthy direction.
31→3 packages.adapters.typeorm.src uses packages.core.src.edd.event✕
- Connections
- 1 pair of types, where a type in packages.adapters.typeorm.src uses a type in packages.core.src.edd.event.
- The types involved
packages.adapters.typeorm.src.event-reader→packages.core.src.edd.event.Event
- Direction
- packages.adapters.typeorm.src uses packages.core.src.edd.event, so a change to packages.core.src.edd.event can break packages.adapters.typeorm.src, while a change to packages.adapters.typeorm.src can't break packages.core.src.edd.event.
- Position
- Below the diagonal: packages.adapters.typeorm.src uses a module listed above it, which is the healthy direction.
31→13 packages.adapters.typeorm.src uses packages.adapters.typeorm.src.unit-of-work✕
- Connections
- 1 pair of types, where a type in packages.adapters.typeorm.src uses a type in packages.adapters.typeorm.src.unit-of-work.
- The types involved
packages.adapters.typeorm.src.unit-of-work→packages.adapters.typeorm.src.unit-of-work.TypeORMTransactionStore
- Direction
- packages.adapters.typeorm.src uses packages.adapters.typeorm.src.unit-of-work, so a change to packages.adapters.typeorm.src.unit-of-work can break packages.adapters.typeorm.src, while a change to packages.adapters.typeorm.src can't break packages.adapters.typeorm.src.unit-of-work.
- Position
- Below the diagonal: packages.adapters.typeorm.src uses a module listed above it, which is the healthy direction.
31→19 packages.adapters.typeorm.src uses packages.core.src.persistence.outbox✕
- Connections
- 1 pair of types, where a type in packages.adapters.typeorm.src uses a type in packages.core.src.persistence.outbox.
- The types involved
packages.adapters.typeorm.src.TypeORMPersistenceInfrastructure→packages.core.src.persistence.outbox.OutboxStore
- Direction
- packages.adapters.typeorm.src uses packages.core.src.persistence.outbox, so a change to packages.core.src.persistence.outbox can break packages.adapters.typeorm.src, while a change to packages.adapters.typeorm.src can't break packages.core.src.persistence.outbox.
- Position
- Below the diagonal: packages.adapters.typeorm.src uses a module listed above it, which is the healthy direction.
31→20 packages.adapters.typeorm.src uses packages.core.src.persistence.snapshot✕
- Connections
- 1 pair of types, where a type in packages.adapters.typeorm.src uses a type in packages.core.src.persistence.snapshot.
- The types involved
packages.adapters.typeorm.src.TypeORMPersistenceInfrastructure→packages.core.src.persistence.snapshot.SnapshotStore
- Direction
- packages.adapters.typeorm.src uses packages.core.src.persistence.snapshot, so a change to packages.core.src.persistence.snapshot can break packages.adapters.typeorm.src, while a change to packages.adapters.typeorm.src can't break packages.core.src.persistence.snapshot.
- Position
- Below the diagonal: packages.adapters.typeorm.src uses a module listed above it, which is the healthy direction.
31→24 packages.adapters.typeorm.src uses packages.core.src.persistence✕
- Connections
- 3 pairs of types, where a type in packages.adapters.typeorm.src uses a type in packages.core.src.persistence.
- The types involved
packages.adapters.typeorm.src.TypeORMPersistenceInfrastructure→packages.core.src.persistence.EventSourcedAggregatePersistencepackages.adapters.typeorm.src.TypeORMPersistenceInfrastructure→packages.core.src.persistence.SagaPersistencepackages.adapters.typeorm.src.TypeORMPersistenceInfrastructure→packages.core.src.persistence.StateStoredAggregatePersistence
- Direction
- packages.adapters.typeorm.src uses packages.core.src.persistence, so a change to packages.core.src.persistence can break packages.adapters.typeorm.src, while a change to packages.adapters.typeorm.src can't break packages.core.src.persistence.
- Position
- Below the diagonal: packages.adapters.typeorm.src uses a module listed above it, which is the healthy direction.
32→2 packages.adapters.typeorm.src.typeorm-adapter uses packages.cli.src.utils.persistence✕
- Connections
- 1 pair of types, where a type in packages.adapters.typeorm.src.typeorm-adapter uses a type in packages.cli.src.utils.persistence.
- The types involved
packages.adapters.typeorm.src.typeorm-adapter.TypeORMAdapter→packages.cli.src.utils.persistence.PersistenceAdapter
- Direction
- packages.adapters.typeorm.src.typeorm-adapter uses packages.cli.src.utils.persistence, so a change to packages.cli.src.utils.persistence can break packages.adapters.typeorm.src.typeorm-adapter, while a change to packages.adapters.typeorm.src.typeorm-adapter can't break packages.cli.src.utils.persistence.
- Position
- Below the diagonal: packages.adapters.typeorm.src.typeorm-adapter uses a module listed above it, which is the healthy direction.
32→13 packages.adapters.typeorm.src.typeorm-adapter uses packages.adapters.typeorm.src.unit-of-work✕
- Connections
- 1 pair of types, where a type in packages.adapters.typeorm.src.typeorm-adapter uses a type in packages.adapters.typeorm.src.unit-of-work.
- The types involved
packages.adapters.typeorm.src.typeorm-adapter.TypeORMAdapter→packages.adapters.typeorm.src.unit-of-work.TypeORMTransactionStore
- Direction
- packages.adapters.typeorm.src.typeorm-adapter uses packages.adapters.typeorm.src.unit-of-work, so a change to packages.adapters.typeorm.src.unit-of-work can break packages.adapters.typeorm.src.typeorm-adapter, while a change to packages.adapters.typeorm.src.typeorm-adapter can't break packages.adapters.typeorm.src.unit-of-work.
- Position
- Below the diagonal: packages.adapters.typeorm.src.typeorm-adapter uses a module listed above it, which is the healthy direction.
32→17 packages.adapters.typeorm.src.typeorm-adapter uses packages.core.src.persistence.aggregate-locker✕
- Connections
- 1 pair of types, where a type in packages.adapters.typeorm.src.typeorm-adapter uses a type in packages.core.src.persistence.aggregate-locker.
- The types involved
packages.adapters.typeorm.src.typeorm-adapter.TypeORMAdapter→packages.core.src.persistence.aggregate-locker.AggregateLocker
- Direction
- packages.adapters.typeorm.src.typeorm-adapter uses packages.core.src.persistence.aggregate-locker, so a change to packages.core.src.persistence.aggregate-locker can break packages.adapters.typeorm.src.typeorm-adapter, while a change to packages.adapters.typeorm.src.typeorm-adapter can't break packages.core.src.persistence.aggregate-locker.
- Position
- Below the diagonal: packages.adapters.typeorm.src.typeorm-adapter uses a module listed above it, which is the healthy direction.
32→18 packages.adapters.typeorm.src.typeorm-adapter uses packages.core.src.persistence.event-reader✕
- Connections
- 1 pair of types, where a type in packages.adapters.typeorm.src.typeorm-adapter uses a type in packages.core.src.persistence.event-reader.
- The types involved
packages.adapters.typeorm.src.typeorm-adapter.TypeORMAdapter→packages.core.src.persistence.event-reader.EventReader
- Direction
- packages.adapters.typeorm.src.typeorm-adapter uses packages.core.src.persistence.event-reader, so a change to packages.core.src.persistence.event-reader can break packages.adapters.typeorm.src.typeorm-adapter, while a change to packages.adapters.typeorm.src.typeorm-adapter can't break packages.core.src.persistence.event-reader.
- Position
- Below the diagonal: packages.adapters.typeorm.src.typeorm-adapter uses a module listed above it, which is the healthy direction.
32→19 packages.adapters.typeorm.src.typeorm-adapter uses packages.core.src.persistence.outbox✕
- Connections
- 1 pair of types, where a type in packages.adapters.typeorm.src.typeorm-adapter uses a type in packages.core.src.persistence.outbox.
- The types involved
packages.adapters.typeorm.src.typeorm-adapter.TypeORMAdapter→packages.core.src.persistence.outbox.OutboxStore
- Direction
- packages.adapters.typeorm.src.typeorm-adapter uses packages.core.src.persistence.outbox, so a change to packages.core.src.persistence.outbox can break packages.adapters.typeorm.src.typeorm-adapter, while a change to packages.adapters.typeorm.src.typeorm-adapter can't break packages.core.src.persistence.outbox.
- Position
- Below the diagonal: packages.adapters.typeorm.src.typeorm-adapter uses a module listed above it, which is the healthy direction.
32→20 packages.adapters.typeorm.src.typeorm-adapter uses packages.core.src.persistence.snapshot✕
- Connections
- 1 pair of types, where a type in packages.adapters.typeorm.src.typeorm-adapter uses a type in packages.core.src.persistence.snapshot.
- The types involved
packages.adapters.typeorm.src.typeorm-adapter.TypeORMAdapter→packages.core.src.persistence.snapshot.SnapshotStore
- Direction
- packages.adapters.typeorm.src.typeorm-adapter uses packages.core.src.persistence.snapshot, so a change to packages.core.src.persistence.snapshot can break packages.adapters.typeorm.src.typeorm-adapter, while a change to packages.adapters.typeorm.src.typeorm-adapter can't break packages.core.src.persistence.snapshot.
- Position
- Below the diagonal: packages.adapters.typeorm.src.typeorm-adapter uses a module listed above it, which is the healthy direction.
32→24 packages.adapters.typeorm.src.typeorm-adapter uses packages.core.src.persistence✕
- Connections
- 3 pairs of types, where a type in packages.adapters.typeorm.src.typeorm-adapter uses a type in packages.core.src.persistence.
- The types involved
packages.adapters.typeorm.src.typeorm-adapter.TypeORMAdapter→packages.core.src.persistence.EventSourcedAggregatePersistencepackages.adapters.typeorm.src.typeorm-adapter.TypeORMAdapter→packages.core.src.persistence.SagaPersistencepackages.adapters.typeorm.src.typeorm-adapter.TypeORMAdapter→packages.core.src.persistence.StateStoredAggregatePersistence
- Direction
- packages.adapters.typeorm.src.typeorm-adapter uses packages.core.src.persistence, so a change to packages.core.src.persistence can break packages.adapters.typeorm.src.typeorm-adapter, while a change to packages.adapters.typeorm.src.typeorm-adapter can't break packages.core.src.persistence.
- Position
- Below the diagonal: packages.adapters.typeorm.src.typeorm-adapter uses a module listed above it, which is the healthy direction.
33→17 packages.core.src.persistence.adapter uses packages.core.src.persistence.aggregate-locker✕
- Connections
- 1 pair of types, where a type in packages.core.src.persistence.adapter uses a type in packages.core.src.persistence.aggregate-locker.
- The types involved
packages.core.src.persistence.adapter.PersistenceAdapter→packages.core.src.persistence.aggregate-locker.AggregateLocker
- Direction
- packages.core.src.persistence.adapter uses packages.core.src.persistence.aggregate-locker, so a change to packages.core.src.persistence.aggregate-locker can break packages.core.src.persistence.adapter, while a change to packages.core.src.persistence.adapter can't break packages.core.src.persistence.aggregate-locker.
- Position
- Below the diagonal: packages.core.src.persistence.adapter uses a module listed above it, which is the healthy direction.
33→18 packages.core.src.persistence.adapter uses packages.core.src.persistence.event-reader✕
- Connections
- 1 pair of types, where a type in packages.core.src.persistence.adapter uses a type in packages.core.src.persistence.event-reader.
- The types involved
packages.core.src.persistence.adapter.PersistenceAdapter→packages.core.src.persistence.event-reader.EventReader
- Direction
- packages.core.src.persistence.adapter uses packages.core.src.persistence.event-reader, so a change to packages.core.src.persistence.event-reader can break packages.core.src.persistence.adapter, while a change to packages.core.src.persistence.adapter can't break packages.core.src.persistence.event-reader.
- Position
- Below the diagonal: packages.core.src.persistence.adapter uses a module listed above it, which is the healthy direction.
33→19 packages.core.src.persistence.adapter uses packages.core.src.persistence.outbox✕
- Connections
- 1 pair of types, where a type in packages.core.src.persistence.adapter uses a type in packages.core.src.persistence.outbox.
- The types involved
packages.core.src.persistence.adapter.PersistenceAdapter→packages.core.src.persistence.outbox.OutboxStore
- Direction
- packages.core.src.persistence.adapter uses packages.core.src.persistence.outbox, so a change to packages.core.src.persistence.outbox can break packages.core.src.persistence.adapter, while a change to packages.core.src.persistence.adapter can't break packages.core.src.persistence.outbox.
- Position
- Below the diagonal: packages.core.src.persistence.adapter uses a module listed above it, which is the healthy direction.
33→20 packages.core.src.persistence.adapter uses packages.core.src.persistence.snapshot✕
- Connections
- 1 pair of types, where a type in packages.core.src.persistence.adapter uses a type in packages.core.src.persistence.snapshot.
- The types involved
packages.core.src.persistence.adapter.PersistenceAdapter→packages.core.src.persistence.snapshot.SnapshotStore
- Direction
- packages.core.src.persistence.adapter uses packages.core.src.persistence.snapshot, so a change to packages.core.src.persistence.snapshot can break packages.core.src.persistence.adapter, while a change to packages.core.src.persistence.adapter can't break packages.core.src.persistence.snapshot.
- Position
- Below the diagonal: packages.core.src.persistence.adapter uses a module listed above it, which is the healthy direction.
33→24 packages.core.src.persistence.adapter uses packages.core.src.persistence✕
- Connections
- 3 pairs of types, where a type in packages.core.src.persistence.adapter uses a type in packages.core.src.persistence.
- The types involved
packages.core.src.persistence.adapter.PersistenceAdapter→packages.core.src.persistence.EventSourcedAggregatePersistencepackages.core.src.persistence.adapter.PersistenceAdapter→packages.core.src.persistence.SagaPersistencepackages.core.src.persistence.adapter.PersistenceAdapter→packages.core.src.persistence.StateStoredAggregatePersistence
- Direction
- packages.core.src.persistence.adapter uses packages.core.src.persistence, so a change to packages.core.src.persistence can break packages.core.src.persistence.adapter, while a change to packages.core.src.persistence.adapter can't break packages.core.src.persistence.
- Position
- Below the diagonal: packages.core.src.persistence.adapter uses a module listed above it, which is the healthy direction.
34→7 packages.engine.src.executors.command-lifecycle-executor uses packages.core.src.infrastructure.instrumentation✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.command-lifecycle-executor uses a type in packages.core.src.infrastructure.instrumentation.
- The types involved
packages.engine.src.executors.command-lifecycle-executor.CommandLifecycleExecutor→packages.core.src.infrastructure.instrumentation.Instrumentation
- Direction
- packages.engine.src.executors.command-lifecycle-executor uses packages.core.src.infrastructure.instrumentation, so a change to packages.core.src.infrastructure.instrumentation can break packages.engine.src.executors.command-lifecycle-executor, while a change to packages.engine.src.executors.command-lifecycle-executor can't break packages.core.src.infrastructure.instrumentation.
- Position
- Below the diagonal: packages.engine.src.executors.command-lifecycle-executor uses a module listed above it, which is the healthy direction.
34→8 packages.engine.src.executors.command-lifecycle-executor uses packages.core.src.infrastructure.logger✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.command-lifecycle-executor uses a type in packages.core.src.infrastructure.logger.
- The types involved
packages.engine.src.executors.command-lifecycle-executor.CommandLifecycleExecutor→packages.core.src.infrastructure.logger.Logger
- Direction
- packages.engine.src.executors.command-lifecycle-executor uses packages.core.src.infrastructure.logger, so a change to packages.core.src.infrastructure.logger can break packages.engine.src.executors.command-lifecycle-executor, while a change to packages.engine.src.executors.command-lifecycle-executor can't break packages.core.src.infrastructure.logger.
- Position
- Below the diagonal: packages.engine.src.executors.command-lifecycle-executor uses a module listed above it, which is the healthy direction.
34→9 packages.engine.src.executors.command-lifecycle-executor uses packages.core.src.persistence.unit-of-work✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.command-lifecycle-executor uses a type in packages.core.src.persistence.unit-of-work.
- The types involved
packages.engine.src.executors.command-lifecycle-executor.CommandLifecycleExecutor→packages.core.src.persistence.unit-of-work.UnitOfWork
- Direction
- packages.engine.src.executors.command-lifecycle-executor uses packages.core.src.persistence.unit-of-work, so a change to packages.core.src.persistence.unit-of-work can break packages.engine.src.executors.command-lifecycle-executor, while a change to packages.engine.src.executors.command-lifecycle-executor can't break packages.core.src.persistence.unit-of-work.
- Position
- Below the diagonal: packages.engine.src.executors.command-lifecycle-executor uses a module listed above it, which is the healthy direction.
34→15 packages.engine.src.executors.command-lifecycle-executor uses packages.core.src.cqrs.command.command✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.command-lifecycle-executor uses a type in packages.core.src.cqrs.command.command.
- The types involved
packages.engine.src.executors.command-lifecycle-executor.CommandLifecycleExecutor→packages.core.src.cqrs.command.command.AggregateCommand
- Direction
- packages.engine.src.executors.command-lifecycle-executor uses packages.core.src.cqrs.command.command, so a change to packages.core.src.cqrs.command.command can break packages.engine.src.executors.command-lifecycle-executor, while a change to packages.engine.src.executors.command-lifecycle-executor can't break packages.core.src.cqrs.command.command.
- Position
- Below the diagonal: packages.engine.src.executors.command-lifecycle-executor uses a module listed above it, which is the healthy direction.
34→24 packages.engine.src.executors.command-lifecycle-executor uses packages.core.src.persistence✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.command-lifecycle-executor uses a type in packages.core.src.persistence.
- The types involved
packages.engine.src.executors.command-lifecycle-executor.CommandLifecycleExecutor→packages.core.src.persistence.PersistenceConfiguration
- Direction
- packages.engine.src.executors.command-lifecycle-executor uses packages.core.src.persistence, so a change to packages.core.src.persistence can break packages.engine.src.executors.command-lifecycle-executor, while a change to packages.engine.src.executors.command-lifecycle-executor can't break packages.core.src.persistence.
- Position
- Below the diagonal: packages.engine.src.executors.command-lifecycle-executor uses a module listed above it, which is the healthy direction.
34→25 packages.engine.src.executors.command-lifecycle-executor uses packages.engine.src.concurrency-strategy✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.command-lifecycle-executor uses a type in packages.engine.src.concurrency-strategy.
- The types involved
packages.engine.src.executors.command-lifecycle-executor.CommandLifecycleExecutor→packages.engine.src.concurrency-strategy.ConcurrencyStrategy
- Direction
- packages.engine.src.executors.command-lifecycle-executor uses packages.engine.src.concurrency-strategy, so a change to packages.engine.src.concurrency-strategy can break packages.engine.src.executors.command-lifecycle-executor, while a change to packages.engine.src.executors.command-lifecycle-executor can't break packages.engine.src.concurrency-strategy.
- Position
- Below the diagonal: packages.engine.src.executors.command-lifecycle-executor uses a module listed above it, which is the healthy direction.
35→3 packages.engine.src.executors.saga-executor uses packages.core.src.edd.event✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.saga-executor uses a type in packages.core.src.edd.event.
- The types involved
packages.engine.src.executors.saga-executor.SagaExecutor→packages.core.src.edd.event.Event
- Direction
- packages.engine.src.executors.saga-executor uses packages.core.src.edd.event, so a change to packages.core.src.edd.event can break packages.engine.src.executors.saga-executor, while a change to packages.engine.src.executors.saga-executor can't break packages.core.src.edd.event.
- Position
- Below the diagonal: packages.engine.src.executors.saga-executor uses a module listed above it, which is the healthy direction.
35→7 packages.engine.src.executors.saga-executor uses packages.core.src.infrastructure.instrumentation✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.saga-executor uses a type in packages.core.src.infrastructure.instrumentation.
- The types involved
packages.engine.src.executors.saga-executor.SagaExecutor→packages.core.src.infrastructure.instrumentation.Instrumentation
- Direction
- packages.engine.src.executors.saga-executor uses packages.core.src.infrastructure.instrumentation, so a change to packages.core.src.infrastructure.instrumentation can break packages.engine.src.executors.saga-executor, while a change to packages.engine.src.executors.saga-executor can't break packages.core.src.infrastructure.instrumentation.
- Position
- Below the diagonal: packages.engine.src.executors.saga-executor uses a module listed above it, which is the healthy direction.
35→8 packages.engine.src.executors.saga-executor uses packages.core.src.infrastructure.logger✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.saga-executor uses a type in packages.core.src.infrastructure.logger.
- The types involved
packages.engine.src.executors.saga-executor.SagaExecutor→packages.core.src.infrastructure.logger.Logger
- Direction
- packages.engine.src.executors.saga-executor uses packages.core.src.infrastructure.logger, so a change to packages.core.src.infrastructure.logger can break packages.engine.src.executors.saga-executor, while a change to packages.engine.src.executors.saga-executor can't break packages.core.src.infrastructure.logger.
- Position
- Below the diagonal: packages.engine.src.executors.saga-executor uses a module listed above it, which is the healthy direction.
35→9 packages.engine.src.executors.saga-executor uses packages.core.src.persistence.unit-of-work✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.saga-executor uses a type in packages.core.src.persistence.unit-of-work.
- The types involved
packages.engine.src.executors.saga-executor.SagaExecutor→packages.core.src.persistence.unit-of-work.UnitOfWork
- Direction
- packages.engine.src.executors.saga-executor uses packages.core.src.persistence.unit-of-work, so a change to packages.core.src.persistence.unit-of-work can break packages.engine.src.executors.saga-executor, while a change to packages.engine.src.executors.saga-executor can't break packages.core.src.persistence.unit-of-work.
- Position
- Below the diagonal: packages.engine.src.executors.saga-executor uses a module listed above it, which is the healthy direction.
35→24 packages.engine.src.executors.saga-executor uses packages.core.src.persistence✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.saga-executor uses a type in packages.core.src.persistence.
- The types involved
packages.engine.src.executors.saga-executor.SagaExecutor→packages.core.src.persistence.SagaPersistence
- Direction
- packages.engine.src.executors.saga-executor uses packages.core.src.persistence, so a change to packages.core.src.persistence can break packages.engine.src.executors.saga-executor, while a change to packages.engine.src.executors.saga-executor can't break packages.core.src.persistence.
- Position
- Below the diagonal: packages.engine.src.executors.saga-executor uses a module listed above it, which is the healthy direction.
35→40 packages.engine.src.executors.saga-executor uses packages.engine.src.domain part of a loop✕
- Connections
- 1 pair of types, where a type in packages.engine.src.executors.saga-executor uses a type in packages.engine.src.domain.
- The types involved
packages.engine.src.executors.saga-executor.SagaExecutor→packages.engine.src.domain.MetadataContext
- Direction
- packages.engine.src.executors.saga-executor uses packages.engine.src.domain, so a change to packages.engine.src.domain can break packages.engine.src.executors.saga-executor, while a change to packages.engine.src.executors.saga-executor can't break packages.engine.src.domain.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
36→3 packages.engine.src.implementations.in-memory-aggregate-persistence uses packages.core.src.edd.event✕
- Connections
- 1 pair of types, where a type in packages.engine.src.implementations.in-memory-aggregate-persistence uses a type in packages.core.src.edd.event.
- The types involved
packages.engine.src.implementations.in-memory-aggregate-persistence.InMemoryEventSourcedAggregatePersistence→packages.core.src.edd.event.Event
- Direction
- packages.engine.src.implementations.in-memory-aggregate-persistence uses packages.core.src.edd.event, so a change to packages.core.src.edd.event can break packages.engine.src.implementations.in-memory-aggregate-persistence, while a change to packages.engine.src.implementations.in-memory-aggregate-persistence can't break packages.core.src.edd.event.
- Position
- Below the diagonal: packages.engine.src.implementations.in-memory-aggregate-persistence uses a module listed above it, which is the healthy direction.
36→6 packages.engine.src.implementations.in-memory-aggregate-persistence uses packages.core.src.id✕
- Connections
- 2 pairs of types, where a type in packages.engine.src.implementations.in-memory-aggregate-persistence uses a type in packages.core.src.id.
- The types involved
packages.engine.src.implementations.in-memory-aggregate-persistence.InMemoryEventSourcedAggregatePersistence→packages.core.src.id.IDpackages.engine.src.implementations.in-memory-aggregate-persistence.InMemoryStateStoredAggregatePersistence→packages.core.src.id.ID
- Direction
- packages.engine.src.implementations.in-memory-aggregate-persistence uses packages.core.src.id, so a change to packages.core.src.id can break packages.engine.src.implementations.in-memory-aggregate-persistence, while a change to packages.engine.src.implementations.in-memory-aggregate-persistence can't break packages.core.src.id.
- Position
- Below the diagonal: packages.engine.src.implementations.in-memory-aggregate-persistence uses a module listed above it, which is the healthy direction.
36→18 packages.engine.src.implementations.in-memory-aggregate-persistence uses packages.core.src.persistence.event-reader✕
- Connections
- 2 pairs of types, where a type in packages.engine.src.implementations.in-memory-aggregate-persistence uses a type in packages.core.src.persistence.event-reader.
- The types involved
packages.engine.src.implementations.in-memory-aggregate-persistence.InMemoryEventSourcedAggregatePersistence→packages.core.src.persistence.event-reader.EventReadOptionspackages.engine.src.implementations.in-memory-aggregate-persistence.InMemoryEventSourcedAggregatePersistence→packages.core.src.persistence.event-reader.EventReader
- Direction
- packages.engine.src.implementations.in-memory-aggregate-persistence uses packages.core.src.persistence.event-reader, so a change to packages.core.src.persistence.event-reader can break packages.engine.src.implementations.in-memory-aggregate-persistence, while a change to packages.engine.src.implementations.in-memory-aggregate-persistence can't break packages.core.src.persistence.event-reader.
- Position
- Below the diagonal: packages.engine.src.implementations.in-memory-aggregate-persistence uses a module listed above it, which is the healthy direction.
36→20 packages.engine.src.implementations.in-memory-aggregate-persistence uses packages.core.src.persistence.snapshot✕
- Connections
- 1 pair of types, where a type in packages.engine.src.implementations.in-memory-aggregate-persistence uses a type in packages.core.src.persistence.snapshot.
- The types involved
packages.engine.src.implementations.in-memory-aggregate-persistence.InMemoryEventSourcedAggregatePersistence→packages.core.src.persistence.snapshot.PartialEventLoad
- Direction
- packages.engine.src.implementations.in-memory-aggregate-persistence uses packages.core.src.persistence.snapshot, so a change to packages.core.src.persistence.snapshot can break packages.engine.src.implementations.in-memory-aggregate-persistence, while a change to packages.engine.src.implementations.in-memory-aggregate-persistence can't break packages.core.src.persistence.snapshot.
- Position
- Below the diagonal: packages.engine.src.implementations.in-memory-aggregate-persistence uses a module listed above it, which is the healthy direction.
36→24 packages.engine.src.implementations.in-memory-aggregate-persistence uses packages.core.src.persistence✕
- Connections
- 2 pairs of types, where a type in packages.engine.src.implementations.in-memory-aggregate-persistence uses a type in packages.core.src.persistence.
- The types involved
packages.engine.src.implementations.in-memory-aggregate-persistence.InMemoryEventSourcedAggregatePersistence→packages.core.src.persistence.EventSourcedAggregatePersistencepackages.engine.src.implementations.in-memory-aggregate-persistence.InMemoryStateStoredAggregatePersistence→packages.core.src.persistence.StateStoredAggregatePersistence
- Direction
- packages.engine.src.implementations.in-memory-aggregate-persistence uses packages.core.src.persistence, so a change to packages.core.src.persistence can break packages.engine.src.implementations.in-memory-aggregate-persistence, while a change to packages.engine.src.implementations.in-memory-aggregate-persistence can't break packages.core.src.persistence.
- Position
- Below the diagonal: packages.engine.src.implementations.in-memory-aggregate-persistence uses a module listed above it, which is the healthy direction.
37→4 packages.engine.src.projection-rebuild uses packages.core.src.edd.event-bus✕
- Connections
- 1 pair of types, where a type in packages.engine.src.projection-rebuild uses a type in packages.core.src.edd.event-bus.
- The types involved
packages.engine.src.projection-rebuild.RebuildContext→packages.core.src.edd.event-bus.EventBus
- Direction
- packages.engine.src.projection-rebuild uses packages.core.src.edd.event-bus, so a change to packages.core.src.edd.event-bus can break packages.engine.src.projection-rebuild, while a change to packages.engine.src.projection-rebuild can't break packages.core.src.edd.event-bus.
- Position
- Below the diagonal: packages.engine.src.projection-rebuild uses a module listed above it, which is the healthy direction.
37→8 packages.engine.src.projection-rebuild uses packages.core.src.infrastructure.logger✕
- Connections
- 2 pairs of types, where a type in packages.engine.src.projection-rebuild uses a type in packages.core.src.infrastructure.logger.
- The types involved
packages.engine.src.projection-rebuild.ProjectionRebuildOptions→packages.core.src.infrastructure.logger.Loggerpackages.engine.src.projection-rebuild.RebuildContext→packages.core.src.infrastructure.logger.Logger
- Direction
- packages.engine.src.projection-rebuild uses packages.core.src.infrastructure.logger, so a change to packages.core.src.infrastructure.logger can break packages.engine.src.projection-rebuild, while a change to packages.engine.src.projection-rebuild can't break packages.core.src.infrastructure.logger.
- Position
- Below the diagonal: packages.engine.src.projection-rebuild uses a module listed above it, which is the healthy direction.
37→18 packages.engine.src.projection-rebuild uses packages.core.src.persistence.event-reader✕
- Connections
- 1 pair of types, where a type in packages.engine.src.projection-rebuild uses a type in packages.core.src.persistence.event-reader.
- The types involved
packages.engine.src.projection-rebuild.RebuildContext→packages.core.src.persistence.event-reader.EventReader
- Direction
- packages.engine.src.projection-rebuild uses packages.core.src.persistence.event-reader, so a change to packages.core.src.persistence.event-reader can break packages.engine.src.projection-rebuild, while a change to packages.engine.src.projection-rebuild can't break packages.core.src.persistence.event-reader.
- Position
- Below the diagonal: packages.engine.src.projection-rebuild uses a module listed above it, which is the healthy direction.
37→21 packages.engine.src.projection-rebuild uses packages.core.src.persistence.view-store✕
- Connections
- 2 pairs of types, where a type in packages.engine.src.projection-rebuild uses a type in packages.core.src.persistence.view-store.
- The types involved
packages.engine.src.projection-rebuild.RebuildContext→packages.core.src.persistence.view-store.ViewStorepackages.engine.src.projection-rebuild.RebuildContext→packages.core.src.persistence.view-store.ViewStoreFactory
- Direction
- packages.engine.src.projection-rebuild uses packages.core.src.persistence.view-store, so a change to packages.core.src.persistence.view-store can break packages.engine.src.projection-rebuild, while a change to packages.engine.src.projection-rebuild can't break packages.core.src.persistence.view-store.
- Position
- Below the diagonal: packages.engine.src.projection-rebuild uses a module listed above it, which is the healthy direction.
37→23 packages.engine.src.projection-rebuild uses packages.core.src.ddd.projection✕
- Connections
- 1 pair of types, where a type in packages.engine.src.projection-rebuild uses a type in packages.core.src.ddd.projection.
- The types involved
packages.engine.src.projection-rebuild.RebuildContext→packages.core.src.ddd.projection.Projection
- Direction
- packages.engine.src.projection-rebuild uses packages.core.src.ddd.projection, so a change to packages.core.src.ddd.projection can break packages.engine.src.projection-rebuild, while a change to packages.engine.src.projection-rebuild can't break packages.core.src.ddd.projection.
- Position
- Below the diagonal: packages.engine.src.projection-rebuild uses a module listed above it, which is the healthy direction.
38→3 packages.testing.src uses packages.core.src.edd.event✕
- Connections
- 1 pair of types, where a type in packages.testing.src uses a type in packages.core.src.edd.event.
- The types involved
packages.testing.src.metadata-helpers→packages.core.src.edd.event.Event
- Direction
- packages.testing.src uses packages.core.src.edd.event, so a change to packages.core.src.edd.event can break packages.testing.src, while a change to packages.testing.src can't break packages.core.src.edd.event.
- Position
- Below the diagonal: packages.testing.src uses a module listed above it, which is the healthy direction.
38→16 packages.testing.src uses packages.core.src.infrastructure✕
- Connections
- 1 pair of types, where a type in packages.testing.src uses a type in packages.core.src.infrastructure.
- The types involved
packages.testing.src.saga-harness→packages.core.src.infrastructure.CQRSInfrastructure
- Direction
- packages.testing.src uses packages.core.src.infrastructure, so a change to packages.core.src.infrastructure can break packages.testing.src, while a change to packages.testing.src can't break packages.core.src.infrastructure.
- Position
- Below the diagonal: packages.testing.src uses a module listed above it, which is the healthy direction.
38→23 packages.testing.src uses packages.core.src.ddd.projection✕
- Connections
- 1 pair of types, where a type in packages.testing.src uses a type in packages.core.src.ddd.projection.
- The types involved
packages.testing.src.projection-harness→packages.core.src.ddd.projection.Projection
- Direction
- packages.testing.src uses packages.core.src.ddd.projection, so a change to packages.core.src.ddd.projection can break packages.testing.src, while a change to packages.testing.src can't break packages.core.src.ddd.projection.
- Position
- Below the diagonal: packages.testing.src uses a module listed above it, which is the healthy direction.
39→2 packages.adapters.drizzle.src.drizzle-adapter uses packages.cli.src.utils.persistence✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src.drizzle-adapter uses a type in packages.cli.src.utils.persistence.
- The types involved
packages.adapters.drizzle.src.drizzle-adapter.DrizzleAdapter→packages.cli.src.utils.persistence.PersistenceAdapter
- Direction
- packages.adapters.drizzle.src.drizzle-adapter uses packages.cli.src.utils.persistence, so a change to packages.cli.src.utils.persistence can break packages.adapters.drizzle.src.drizzle-adapter, while a change to packages.adapters.drizzle.src.drizzle-adapter can't break packages.cli.src.utils.persistence.
- Position
- Below the diagonal: packages.adapters.drizzle.src.drizzle-adapter uses a module listed above it, which is the healthy direction.
39→17 packages.adapters.drizzle.src.drizzle-adapter uses packages.core.src.persistence.aggregate-locker✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src.drizzle-adapter uses a type in packages.core.src.persistence.aggregate-locker.
- The types involved
packages.adapters.drizzle.src.drizzle-adapter.DrizzleAdapter→packages.core.src.persistence.aggregate-locker.AggregateLocker
- Direction
- packages.adapters.drizzle.src.drizzle-adapter uses packages.core.src.persistence.aggregate-locker, so a change to packages.core.src.persistence.aggregate-locker can break packages.adapters.drizzle.src.drizzle-adapter, while a change to packages.adapters.drizzle.src.drizzle-adapter can't break packages.core.src.persistence.aggregate-locker.
- Position
- Below the diagonal: packages.adapters.drizzle.src.drizzle-adapter uses a module listed above it, which is the healthy direction.
39→18 packages.adapters.drizzle.src.drizzle-adapter uses packages.core.src.persistence.event-reader✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src.drizzle-adapter uses a type in packages.core.src.persistence.event-reader.
- The types involved
packages.adapters.drizzle.src.drizzle-adapter.DrizzleAdapter→packages.core.src.persistence.event-reader.EventReader
- Direction
- packages.adapters.drizzle.src.drizzle-adapter uses packages.core.src.persistence.event-reader, so a change to packages.core.src.persistence.event-reader can break packages.adapters.drizzle.src.drizzle-adapter, while a change to packages.adapters.drizzle.src.drizzle-adapter can't break packages.core.src.persistence.event-reader.
- Position
- Below the diagonal: packages.adapters.drizzle.src.drizzle-adapter uses a module listed above it, which is the healthy direction.
39→19 packages.adapters.drizzle.src.drizzle-adapter uses packages.core.src.persistence.outbox✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src.drizzle-adapter uses a type in packages.core.src.persistence.outbox.
- The types involved
packages.adapters.drizzle.src.drizzle-adapter.DrizzleAdapter→packages.core.src.persistence.outbox.OutboxStore
- Direction
- packages.adapters.drizzle.src.drizzle-adapter uses packages.core.src.persistence.outbox, so a change to packages.core.src.persistence.outbox can break packages.adapters.drizzle.src.drizzle-adapter, while a change to packages.adapters.drizzle.src.drizzle-adapter can't break packages.core.src.persistence.outbox.
- Position
- Below the diagonal: packages.adapters.drizzle.src.drizzle-adapter uses a module listed above it, which is the healthy direction.
39→20 packages.adapters.drizzle.src.drizzle-adapter uses packages.core.src.persistence.snapshot✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src.drizzle-adapter uses a type in packages.core.src.persistence.snapshot.
- The types involved
packages.adapters.drizzle.src.drizzle-adapter.DrizzleAdapter→packages.core.src.persistence.snapshot.SnapshotStore
- Direction
- packages.adapters.drizzle.src.drizzle-adapter uses packages.core.src.persistence.snapshot, so a change to packages.core.src.persistence.snapshot can break packages.adapters.drizzle.src.drizzle-adapter, while a change to packages.adapters.drizzle.src.drizzle-adapter can't break packages.core.src.persistence.snapshot.
- Position
- Below the diagonal: packages.adapters.drizzle.src.drizzle-adapter uses a module listed above it, which is the healthy direction.
39→22 packages.adapters.drizzle.src.drizzle-adapter uses packages.adapters.drizzle.src.advisory-locker✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src.drizzle-adapter uses a type in packages.adapters.drizzle.src.advisory-locker.
- The types involved
packages.adapters.drizzle.src.drizzle-adapter.DrizzleAdapter→packages.adapters.drizzle.src.advisory-locker.DrizzleDialect
- Direction
- packages.adapters.drizzle.src.drizzle-adapter uses packages.adapters.drizzle.src.advisory-locker, so a change to packages.adapters.drizzle.src.advisory-locker can break packages.adapters.drizzle.src.drizzle-adapter, while a change to packages.adapters.drizzle.src.drizzle-adapter can't break packages.adapters.drizzle.src.advisory-locker.
- Position
- Below the diagonal: packages.adapters.drizzle.src.drizzle-adapter uses a module listed above it, which is the healthy direction.
39→24 packages.adapters.drizzle.src.drizzle-adapter uses packages.core.src.persistence✕
- Connections
- 3 pairs of types, where a type in packages.adapters.drizzle.src.drizzle-adapter uses a type in packages.core.src.persistence.
- The types involved
packages.adapters.drizzle.src.drizzle-adapter.DrizzleAdapter→packages.core.src.persistence.EventSourcedAggregatePersistencepackages.adapters.drizzle.src.drizzle-adapter.DrizzleAdapter→packages.core.src.persistence.SagaPersistencepackages.adapters.drizzle.src.drizzle-adapter.DrizzleAdapter→packages.core.src.persistence.StateStoredAggregatePersistence
- Direction
- packages.adapters.drizzle.src.drizzle-adapter uses packages.core.src.persistence, so a change to packages.core.src.persistence can break packages.adapters.drizzle.src.drizzle-adapter, while a change to packages.adapters.drizzle.src.drizzle-adapter can't break packages.core.src.persistence.
- Position
- Below the diagonal: packages.adapters.drizzle.src.drizzle-adapter uses a module listed above it, which is the healthy direction.
39→27 packages.adapters.drizzle.src.drizzle-adapter uses packages.adapters.drizzle.src✕
- Connections
- 1 pair of types, where a type in packages.adapters.drizzle.src.drizzle-adapter uses a type in packages.adapters.drizzle.src.
- The types involved
packages.adapters.drizzle.src.drizzle-adapter.DrizzleAdapter→packages.adapters.drizzle.src.DrizzleTransactionStore
- Direction
- packages.adapters.drizzle.src.drizzle-adapter uses packages.adapters.drizzle.src, so a change to packages.adapters.drizzle.src can break packages.adapters.drizzle.src.drizzle-adapter, while a change to packages.adapters.drizzle.src.drizzle-adapter can't break packages.adapters.drizzle.src.
- Position
- Below the diagonal: packages.adapters.drizzle.src.drizzle-adapter uses a module listed above it, which is the healthy direction.
40→4 packages.engine.src.domain uses packages.core.src.edd.event-bus✕
- Connections
- 1 pair of types, where a type in packages.engine.src.domain uses a type in packages.core.src.edd.event-bus.
- The types involved
packages.engine.src.domain.Domain→packages.core.src.edd.event-bus.EventBus
- Direction
- packages.engine.src.domain uses packages.core.src.edd.event-bus, so a change to packages.core.src.edd.event-bus can break packages.engine.src.domain, while a change to packages.engine.src.domain can't break packages.core.src.edd.event-bus.
- Position
- Below the diagonal: packages.engine.src.domain uses a module listed above it, which is the healthy direction.
40→6 packages.engine.src.domain uses packages.core.src.id✕
- Connections
- 1 pair of types, where a type in packages.engine.src.domain uses a type in packages.core.src.id.
- The types involved
packages.engine.src.domain.MetadataContext→packages.core.src.id.ID
- Direction
- packages.engine.src.domain uses packages.core.src.id, so a change to packages.core.src.id can break packages.engine.src.domain, while a change to packages.engine.src.domain can't break packages.core.src.id.
- Position
- Below the diagonal: packages.engine.src.domain uses a module listed above it, which is the healthy direction.
40→7 packages.engine.src.domain uses packages.core.src.infrastructure.instrumentation✕
- Connections
- 1 pair of types, where a type in packages.engine.src.domain uses a type in packages.core.src.infrastructure.instrumentation.
- The types involved
packages.engine.src.domain.Domain→packages.core.src.infrastructure.instrumentation.Instrumentation
- Direction
- packages.engine.src.domain uses packages.core.src.infrastructure.instrumentation, so a change to packages.core.src.infrastructure.instrumentation can break packages.engine.src.domain, while a change to packages.engine.src.domain can't break packages.core.src.infrastructure.instrumentation.
- Position
- Below the diagonal: packages.engine.src.domain uses a module listed above it, which is the healthy direction.
40→19 packages.engine.src.domain uses packages.core.src.persistence.outbox✕
- Connections
- 1 pair of types, where a type in packages.engine.src.domain uses a type in packages.core.src.persistence.outbox.
- The types involved
packages.engine.src.domain.Domain→packages.core.src.persistence.outbox.OutboxStore
- Direction
- packages.engine.src.domain uses packages.core.src.persistence.outbox, so a change to packages.core.src.persistence.outbox can break packages.engine.src.domain, while a change to packages.engine.src.domain can't break packages.core.src.persistence.outbox.
- Position
- Below the diagonal: packages.engine.src.domain uses a module listed above it, which is the healthy direction.
40→21 packages.engine.src.domain uses packages.core.src.persistence.view-store✕
- Connections
- 1 pair of types, where a type in packages.engine.src.domain uses a type in packages.core.src.persistence.view-store.
- The types involved
packages.engine.src.domain.Domain→packages.core.src.persistence.view-store.ViewStoreFactory
- Direction
- packages.engine.src.domain uses packages.core.src.persistence.view-store, so a change to packages.core.src.persistence.view-store can break packages.engine.src.domain, while a change to packages.engine.src.domain can't break packages.core.src.persistence.view-store.
- Position
- Below the diagonal: packages.engine.src.domain uses a module listed above it, which is the healthy direction.
40→23 packages.engine.src.domain uses packages.core.src.ddd.projection✕
- Connections
- 1 pair of types, where a type in packages.engine.src.domain uses a type in packages.core.src.ddd.projection.
- The types involved
packages.engine.src.domain.Domain→packages.core.src.ddd.projection.Projection
- Direction
- packages.engine.src.domain uses packages.core.src.ddd.projection, so a change to packages.core.src.ddd.projection can break packages.engine.src.domain, while a change to packages.engine.src.domain can't break packages.core.src.ddd.projection.
- Position
- Below the diagonal: packages.engine.src.domain uses a module listed above it, which is the healthy direction.
40→34 packages.engine.src.domain uses packages.engine.src.executors.command-lifecycle-executor✕
- Connections
- 1 pair of types, where a type in packages.engine.src.domain uses a type in packages.engine.src.executors.command-lifecycle-executor.
- The types involved
packages.engine.src.domain.Domain→packages.engine.src.executors.command-lifecycle-executor.CommandLifecycleExecutor
- Direction
- packages.engine.src.domain uses packages.engine.src.executors.command-lifecycle-executor, so a change to packages.engine.src.executors.command-lifecycle-executor can break packages.engine.src.domain, while a change to packages.engine.src.domain can't break packages.engine.src.executors.command-lifecycle-executor.
- Position
- Below the diagonal: packages.engine.src.domain uses a module listed above it, which is the healthy direction.
40→35 packages.engine.src.domain uses packages.engine.src.executors.saga-executor✕
- Connections
- 1 pair of types, where a type in packages.engine.src.domain uses a type in packages.engine.src.executors.saga-executor.
- The types involved
packages.engine.src.domain.Domain→packages.engine.src.executors.saga-executor.SagaExecutor
- Direction
- packages.engine.src.domain uses packages.engine.src.executors.saga-executor, so a change to packages.engine.src.executors.saga-executor can break packages.engine.src.domain, while a change to packages.engine.src.domain can't break packages.engine.src.executors.saga-executor.
- Position
- Below the diagonal: packages.engine.src.domain uses a module listed above it, which is the healthy direction.
40→37 packages.engine.src.domain uses packages.engine.src.projection-rebuild✕
- Connections
- 2 pairs of types, where a type in packages.engine.src.domain uses a type in packages.engine.src.projection-rebuild.
- The types involved
packages.engine.src.domain.Domain→packages.engine.src.projection-rebuild.ProjectionRebuildOptionspackages.engine.src.domain.Domain→packages.engine.src.projection-rebuild.ProjectionRebuildResult
- Direction
- packages.engine.src.domain uses packages.engine.src.projection-rebuild, so a change to packages.engine.src.projection-rebuild can break packages.engine.src.domain, while a change to packages.engine.src.domain can't break packages.engine.src.projection-rebuild.
- Position
- Below the diagonal: packages.engine.src.domain uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 77 | High / Critical |
| A05:2025 — Injection | 37 | High / Critical |
Roadmap
First, resolve the fifteen deprecated dependencies in REDACTED and remove unused or misclassified packages to ensure a clean dependency tree. Next, integrate a SAST step into the CI pipeline to automatically block security regressions before they land. Finally, correct the broken links and inaccuracies in the documentation and organize architecture decision records under a dedicated docs folder for better discoverability.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 15 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (15). | +5.8 pts | Medium | Dependency Hygiene |
| Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing. | +5.0 pts | Medium | Security & performance tooling |
| Reconcile the README with reality: specs/README.md names `packages/docs/content/docs/`, but no file or folder `packages/docs/content/docs` exists; docs/content/docs/index.mdx links to `/docs/getting-started/why-noddde`, but `docs/getting-started/why-noddde` does not exist; docs/content/docs/index.mdx links to `/docs/getting-started/quick-start`, but `docs/getting-started/quick-start` does not exist; docs/content/docs/index.mdx links to `/docs/core-concepts/messages-and-types`, but `docs/core-concepts/messages-and-types` does not exist; docs/content/docs/index.mdx links to `/docs/modeling/defining-aggregates`, but `docs/modeling/defining-aggregates` does not exist. | +4.6 pts | Medium | Documentation accuracy |
| Resolve the 1 No assertions (empty test) finding(s) in Test Quality — start with typed-dispatch.test.ts. | +2.3 pts | Low | Test Quality |
| Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies. | +3.4 pts | Medium | Dependency Hygiene |
| Move ADRs under docs/adr/ (or docs/adrs/) and name them NNNN-title.md so they're easy to find. | +3.2 pts | Medium | Architecture documentation |
| Replace TypeORM synchronize: true with TypeORM migrations (`typeorm migration:generate` + `migrationsRun`) so the production schema can evolve safely and reproducibly. | +3.1 pts | Medium | Schema migrations |
| Improve ADR Quality — currently 7.0/10. | +2.5 pts | Medium | ADR Quality |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical vulnerability: REDACTED |
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.4 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.6 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.6 | Mixed | Static Analysis (SAST): High: REDACTED |
| packages/engine/src/__tests__/engine/typed-dispatch.test.ts | 5.1 | Mixed | Test Quality: No assertions (empty test): should dispatch standalone commands at runtime |
| packages/engine/src/domain.ts | 5.5 | Mixed | Cyclomatic Complexity: Domain.init (cyclomatic 113) |
| packages/engine/src/executors/command-lifecycle-executor.ts | 5.6 | Mixed | Cyclomatic Complexity: CommandLifecycleExecutor.executeLifecycle (cyclomatic 22) |
| packages/testing/src/metadata-helpers.ts | 5.9 | Mixed | Code Coverage: Low coverage: packages/testing/src/metadata-helpers.ts |
| packages/cli/src/templates/domain/domain-wiring.ts | 6.4 | Mixed | Explicit Debt: TodoComment |
| packages/cli/src/templates/saga/saga.ts | 6.6 | Mixed | Explicit Debt: TodoComment |
| packages/cli/src/templates/add/command.ts | 6.9 | Mixed | Explicit Debt: TodoComment |
| packages/cli/src/templates/aggregate/aggregate.ts | 6.9 | Mixed | Explicit Debt: TodoComment |
| packages/cli/src/templates/domain/saga-transition-handlers.ts | 6.9 | Mixed | Explicit Debt: TodoComment |
| packages/cli/src/templates/domain/projection.ts | 6.9 | Mixed | Explicit Debt: TodoComment |
| samples/sample-flash-sale/src/main-optimistic.ts | 6.9 | Mixed | Explicit Debt: TodoComment |
| REDACTED | 6.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| packages/adapters/typeorm/src/entities.ts | 7.0 | Mixed | God Classes: FunctionTooLong: entities.buildEntities |
| packages/engine/src/concurrency-strategy.ts | 7.0 | Mixed | Boundary Type-Coupling: Cross-context type ID (core → engine) |
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. 80 of 85 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 1.0 — 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 — 85 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, 740 of 780 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
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (3 contributor(s) across 458 commit(s) sampled, automation and bot accounts excluded). One of them holds 99% of the history; the other 2 hold 0.5% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D27 Navigability — 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. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D32 Data Compliance (PII/GDPR) — 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. `packages/adapters/drizzle/src/builder.ts`, `packages/adapters/nats/src/nats-event-bus.ts`, `packages/adapters/prisma/src/builder.ts`, `packages/adapters/typeorm/src/builder.ts`, `packages/core/src/cqrs/query/query.ts`, … (+3 more) produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- D44 Platform End-of-Life — 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 dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a Dockerfile) is simply not read here yet.
- AXR1 Runtime accessibility — 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. Render strategy: boot via DockerCompose (samples/sample-hotel-booking/docker-compose.yml). compose up failed (exit 18 — an image could not be pulled) — rabbitmq Pulling postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden rabbitmq Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: postgres Pulling rabbitmq Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden rabbitmq Error Get "https://registry-1.docker.io/v2/": Forbidden 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.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Arm two tells a construction that PRODUCES a measurement from one that merely passes it along, and this repository's frontend does not compute that fact. A measurement built independently in two places would not appear above.
- M4 Documentation accuracy — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 282 further occurrence(s) are not listed individually; the score already reflects all 322.
- R10 Code Duplication — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 72 further occurrence(s) are not listed individually; the score already reflects all 112.
- 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 reads C# syntax, and JavaScript/TypeScript, Go, PHP, Dart, Kotlin, Ruby, Scala, Java, Python and Rust source only, and no C# was loaded, and no named async function in this repository's JavaScript/TypeScript, nor any Go, PHP or Dart function or Kotlin suspend function, makes a request that can be cancelled (fetch, axios, ky, ofetch; net/http, net.Dial; amphp; Dio; Ktor, OkHttp), so there is nothing to judge, 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.
- 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 reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP log through no library that carries a message's values as fields (pino, winston, bunyan, tslog, LogTape, roarr; Python's logging, structlog; PHP's PSR-3 loggers), so its log calls cannot be judged, 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.
- 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.
- D7 Architectural Integrity: Layering is checked against detected/declared rules — an architecture whose boundaries live in convention or in code review, not in a rule a scanner can read, is not enforced here.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- 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.
- 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.
- D23 Boundary Type-Coupling: Boundary leakage is detected from type references across detected contexts — leaks that flow through primitives, serialization or shared infrastructure may not surface as a typed reference.
- 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.
- AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
8 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was Domain.init at 113.
What to do
- Bring the 1 body over 30 down to 30 or less in Cyclomatic Complexity — start with Domain.init (cyclomatic 113). — Refactoring it lifts Cyclomatic Complexity from 7.2 to about 8.6/10.
- 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
16 method(s) exceeded the cognitive complexity threshold of 15; the worst was Domain.init at 228.
What to do
- Bring the 1 body over 60 down to 60 or less in Cognitive Complexity — start with Domain.init (cognitive 228). — Refactoring it lifts Cognitive Complexity from 5.8 to about 7.2/10.
- 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
10 god class(es) detected.
What to do
- Resolve the 5 FunctionTooLong finding(s) in God Classes — start with persistence-contract.ts, event-bus-contract.ts, unit-of-work-contract.ts. — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 3 MethodTooLong finding(s) in God Classes — start with domain.ts, saga-executor.ts, command-lifecycle-executor.ts. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 1 FileTooLong finding(s) in God Classes — start with domain.ts. — One of this dimension's main actionable groups (1 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.
D5 · Coupling
13 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 1 module(s) off the main sequence.
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
D6 · Cohesion (LCOM4)
0 of 63 classes have LCOM4 above 3.
D7 · Architectural Integrity
All 1 mechanizable ADR(s) are enforced: 1 by analyzers, 0 by tests. Dependency cycles not checked (no project-reference graph; where this repository's language has an import-cycle lens, cycles are reported there).
D8 · Code Coverage
Line coverage 72.1% — 28 file(s) below 50%. Measured from the JavaScript/TypeScript suite (vitest + @vitest/coverage-v8 via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/drizzle/; vitest + @vitest/coverage-v8 via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/kafka/; vitest + @vitest/coverage-v8 via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/nats/; vitest + @vitest/coverage-v8 via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/prisma/; vitest + @vitest/coverage-v8 via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/rabbitmq/; vitest + @vitest/coverage-v8 via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/typeorm/; vitest + @vitest/coverage-v8 via `yarn install --frozen-lockfile --ignore-scripts` in packages/cli/; vitest + @vitest/coverage-v8 via `yarn install --frozen-lockfile --ignore-scripts` in packages/core/; vitest + @vitest/coverage-v8 via `yarn install --frozen-lockfile --ignore-scripts` in packages/engine/; vitest + @vitest/coverage-v8 via `yarn install --frozen-lockfile --ignore-scripts` in packages/integrations/nestjs/; vitest + @vitest/coverage-v8 via `yarn install --frozen-lockfile --ignore-scripts` in packages/testing/; vitest in packages/testing-integration/: not run).
What to do
- Resolve the 28 Low coverage finding(s) in Code Coverage — start with advisory-locker.ts (5), builder.ts (2), dedicated-state-persistence.ts (2). — One of this dimension's main actionable groups (28 warning-level).
- Enforce Code Coverage in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
1577 test methods: 1429 unit, 148 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 1577 `it`/`test` case(s) across 160 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 268 zero-assertion, 6 synchronised by a fixed sleep, no mocking-framework packages referenced (hand-written doubles or no mocking) across 1577 tests (1 harness-style project(s) excluded from the assertion penalty).
What to do
- Resolve the 1 No assertions (empty test) finding(s) in Test Quality — start with typed-dispatch.test.ts. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 19 No assertions finding(s) in Test Quality — start with typed-dispatch.test.ts (6), wire-domain-at-scale.test.ts (5), builder.test.ts (3). — One of this dimension's main actionable groups (19 warning-level).
- Resolve the 6 Fixed-sleep synchronisation finding(s) in Test Quality — start with rabbitmq.reconnect.integration.test.ts (3), nats.reconnect.integration.test.ts (2), in-memory-aggregate-locker.test.ts. — One of this dimension's main actionable groups (6 warning-level).
- Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D11 · Test Reliability
0 flaky across 1 measured tier(s). JavaScript/TypeScript (vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/drizzle/ (77 tests); vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/kafka/ (42 tests); vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/nats/ (32 tests); vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/prisma/ (14 tests); vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/rabbitmq/ (42 tests); vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/adapters/typeorm/ (73 tests); vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/cli/ (203 tests); vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/core/ (351 tests); vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/engine/ (414 tests); vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/integrations/nestjs/ (14 tests); vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/testing/ (45 tests); vitest via `yarn install --frozen-lockfile --ignore-scripts` in packages/testing-integration/ (0 tests)): measured (0 flaky).
D12 · Dependency Hygiene
22 outdated direct production npm dependency(ies) of 24 graded, 0 pinning defect(s), across 18 REDACTED (14 of them the product) and 1 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 4 direct dependency(ies) — production, development or optional — are marked DEPRECATED by their publisher (the registry's per-version mark, or the lockfile's copy of it when the registry could not be asked); deprecated transitive packages are listed but not charged. Whether any is UNMAINTAINED is not graded — the registry 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, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.
What to do
- Resolve the 15 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (15). — One of this dimension's main actionable groups (15 warning-level).
- Resolve the 10 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (10). — One of this dimension's main actionable groups (10 recommendation-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 24 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 24 production dependency(ies) this repository's committed lockfile resolves, across 14 product REDACTED manifest(s). Its 135 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. This repository publishes itself under MIT, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
Top hotspots: packages/engine/src/domain.ts (3×113=339); packages/adapters/kafka/src/kafka-event-bus.ts (10×19=190); packages/engine/src/executors/saga-executor.ts (4×23=92) Repeated repair below the complexity floor: packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts (5 of 5 changes were fixes); packages/testing-integration/src/contracts/persistence-contract.ts (4 of 6 changes were fixes); packages/adapters/typeorm/src/persistence.ts (4 of 5 changes were fixes)
What to do
- Resolve the 10 Repeated repair finding(s) in Churn × Complexity Hotspots — start with persistence.ts (3), advisory-locker.ts (3), rabbitmq-event-bus.ts. — One of this dimension's main actionable groups (10 warning-level).
- Resolve the 3 Hotspot finding(s) in Churn × Complexity Hotspots — start with domain.ts, kafka-event-bus.ts, saga-executor.ts. — One of this dimension's main actionable groups (3 warning-level).
D17 · Explicit Debt
41 deducted task-comment markers across 28752 LoC (0.1/KLoC) → score 9.7. 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 41 TodoComment finding(s) in Explicit Debt — start with domain-wiring.ts (9), aggregate.ts (5), saga.ts (4). — One of this dimension's main actionable groups (41 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 and the packages/core README give a strong overview of noddde as a TypeScript framework for domain modeling, event sourcing, CQRS, and testing. The architecture/Docs markdown files (20+ entries) cover design docs, adapter directories, test harnesses, and detailed usage of each package, making this an enterprise-grade documentation set. All visible documents are well-structured with headings, examples, and a consistent overview; the only unshown element is the full CI/release process for the main branch. The repository is well documented: the READMEs for each package directory (e.g. samples/sample-flash-sale/README.md) describe what the directory contains and give a quick start with test-running commands; architecture/design docs are also present (81 markdown files). The root README gives an overview of the project, installation, usage, contribution guidance, and licence. The repository is well documented: the READMEs for each packages/integrations/nestjs directory and the architecture/design docs are complete. The root README gives an overview of what noddde is (a TypeScript framework for DDD/CQRS/Event Sourcing using the functional Decider pattern) and links to a full guide, while the architecture doc explains what noddde is, its target audience, design priorities, anti-goals, and covers competitive context. The API docs are comprehensive: each class, interface, type alias, constructor, accessor, method, and their signatures are listed with links to the source.
D20 · ADR Quality
Evaluated 1 ADR(s) individually; mean quality 7.0/10 (mixed — many ADRs miss context or consequences). 0 flagged with a specific gap.
What to do
- Improve ADR Quality — currently 7.0/10. — Evaluated 1 ADR(s) individually; mean quality 7.0/10 (mixed — many ADRs miss context or consequences). 0 flagged with a specific gap.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D22 · Internal API Consistency
3 API inconsistencies across a 400-member sample of 186 exposed types.
What to do
- Resolve the 1 Duplicate intent with different naming and parameter types. Both… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicate intent with different signatures. Both mark an item as… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicate intent. Both interfaces define the same method for cleaning up… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D23 · Boundary Type-Coupling
37 domain type(s) cross context boundaries across 16 contexts.
What to do
- Resolve the 25 Cross-context type ID (core → engine) finding(s) in Boundary Type-Coupling — start with concurrency-strategy.ts (7), in-memory-aggregate-persistence.ts (5), in-memory-view-store.ts (3). — One of this dimension's main actionable groups (25 warning-level).
- Resolve the 5 Cross-context type PersistenceConfiguration (core → engine) finding(s) in Boundary Type-Coupling — start with aggregate-persistence-resolver.ts (5). — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 3 Cross-context type ID (core → testing) finding(s) in Boundary Type-Coupling — start with metadata-helpers.ts (3). — One of this dimension's main actionable groups (3 warning-level).
- Enforce Boundary Type-Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D26 · Project Cohesion
0 of 14 build units (npm) 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)
37 finding(s): 0 critical, 35 high, 2 medium, 0 low. 32 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 12 file(s) — `packages/adapters/drizzle/src/builder.ts` (line 168), `packages/adapters/nats/src/nats-event-bus.ts` (line 415), `packages/adapters/prisma/src/__tests__/ga-hardening.test.ts` (line 12), `packages/adapters/prisma/src/builder.ts` (line 154), `packages/adapters/typeorm/src/builder.ts` (line 156), … (+7 more) — 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 2 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 3 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED. — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
- No action in Static Analysis (SAST) — all 32 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (32 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
71 finding(s): 3 critical, 39 high, 24 medium, 5 low.
What to do
- Resolve the 39 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (39). — One of this dimension's main actionable groups (39 issue-level).
- Resolve the 2 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 Critical vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D31 · IaC & Container Security
trivy and checkov found no infrastructure-as-code or container misconfigurations.
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 103 of the 250 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: command-lifecycle-executor.ts↔saga-executor.ts 55%
What to do
- Resolve the 1 Change coupling finding(s) in Change Coupling — start with command-lifecycle-executor.ts. — One of this dimension's main actionable groups (1 warning-level).
D36 · Supply-chain Provenance & Signing
2/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 — start with REDACTED. — 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).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AC1 · Text alternatives
AC2 · Forms & labels
AC3 · Page structure
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. — docs/src/app/layout.tsx:59
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC5 · ARIA correctness
AC6 · Visual & motion safety
AC7 · A11y enforcement
- No accessibility enforcement found — no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 17 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y, then assert with vitest-axe in tests, then gate axe/pa11y/Lighthouse in CI.
AX10 · Code composition
AX3 · Project dependency cycles
AX5 · Architecture & structure
AX6 · Interface segregation
DM6 · Domain ↔ infrastructure boundary
- `packages/core/scripts/run-type-perf.ts` (domain layer) depends on `node:fs` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — packages/core/scripts/run-type-perf.ts:13
What to do
- Keep the ORM/table mapping on a boundary data-model + mapper; leave the domain entity framework-free (map row↔domain through a repository).
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
- 189 code files changed in the last 6 months but the README was not touched — it may no longer reflect the system.
What to do
- Add a README to the 2 of 18 project(s) that lack one — worth up to 0.2 pts.
- Review the README against recent changes; refresh the parts that drifted.
M2 · Architecture documentation
- 1 ADR-shaped document(s) detected by content — `specs/api-freeze.spec.md`. They are not under a conventional ADR folder (docs/adr/) and are not named NNNN-title.md, and this check found them by their decision signature rather than by where they live — so a reader who does not already know these paths has no route to them. Detected by content signature only: records kept outside the repository, or written without a Status/Decision/Consequences shape, are not visible to this check and are not counted here.
What to do
- Move ADRs under docs/adr/ (or docs/adrs/) and name them NNNN-title.md so they're easy to find.
M3 · Folder & project structure
M4 · Documentation accuracy
- specs/README.md names `packages/docs/content/docs/`, but no file or folder `packages/docs/content/docs` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — specs/README.md:199
- docs/content/docs/index.mdx links to `/docs/getting-started/why-noddde`, but `docs/getting-started/why-noddde` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/index.mdx:14
- docs/content/docs/index.mdx links to `/docs/getting-started/quick-start`, but `docs/getting-started/quick-start` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/index.mdx:15
- docs/content/docs/index.mdx links to `/docs/core-concepts/messages-and-types`, but `docs/core-concepts/messages-and-types` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/index.mdx:16
- docs/content/docs/index.mdx links to `/docs/modeling/defining-aggregates`, but `docs/modeling/defining-aggregates` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/index.mdx:24
- docs/content/docs/index.mdx links to `/docs/running/domain-configuration`, but `docs/running/domain-configuration` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/index.mdx:25
- docs/content/docs/index.mdx links to `/docs/running/persistence-adapters`, but `docs/running/persistence-adapters` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/index.mdx:26
- docs/content/docs/index.mdx links to `/docs/design-decisions/why-decider`, but `docs/design-decisions/why-decider` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/index.mdx:27
- docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx links to `/docs/process-managers/sagas`, but `docs/process-managers/sagas` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx:32
- docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx links to `/docs/modeling/defining-aggregates`, but `docs/modeling/defining-aggregates` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx:62
- docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx links to `/docs/read-model/projections`, but `docs/read-model/projections` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx:90
- docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx links to `/docs/running/domain-configuration`, but `docs/running/domain-configuration` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx:334
- docs/content/docs/core-concepts/decider-pattern.mdx links to `/docs/modeling/defining-aggregates`, but `docs/modeling/defining-aggregates` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/decider-pattern.mdx:335
- docs/content/docs/core-concepts/decider-pattern.mdx links to `/docs/design-decisions/why-decider`, but `docs/design-decisions/why-decider` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/decider-pattern.mdx:336
- docs/content/docs/core-concepts/decider-pattern.mdx links to `/docs/running/infrastructure`, but `docs/running/infrastructure` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/decider-pattern.mdx:337
- docs/content/docs/core-concepts/messages-and-types.mdx links to `/docs/running/idempotent-commands`, but `docs/running/idempotent-commands` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/messages-and-types.mdx:42
- docs/content/docs/core-concepts/messages-and-types.mdx links to `/docs/getting-started/quick-start`, but `docs/getting-started/quick-start` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/messages-and-types.mdx:625
- docs/content/docs/core-concepts/messages-and-types.mdx links to `/docs/modeling/defining-aggregates`, but `docs/modeling/defining-aggregates` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/messages-and-types.mdx:626
- docs/content/docs/core-concepts/messages-and-types.mdx links to `/docs/core-concepts/decider-pattern`, but `docs/core-concepts/decider-pattern` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/messages-and-types.mdx:627
- docs/content/docs/core-concepts/messages-and-types.mdx links to `/docs/design-decisions/why-aggregate-types`, but `docs/design-decisions/why-aggregate-types` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/messages-and-types.mdx:628
- docs/content/docs/core-concepts/messages-and-types.mdx links to `/docs/design-decisions/why-define-commands-events`, but `docs/design-decisions/why-define-commands-events` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/core-concepts/messages-and-types.mdx:629
- docs/content/docs/design-decisions/why-decider.mdx links to `/docs/core-concepts/decider-pattern#decider-vs-oop-aggregates`, but `docs/core-concepts/decider-pattern` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/design-decisions/why-decider.mdx:12
- docs/content/docs/design-decisions/why-injectable-infrastructure.mdx links to `/docs/running/infrastructure`, but `docs/running/infrastructure` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/design-decisions/why-injectable-infrastructure.mdx:106
- docs/content/docs/design-decisions/why-sagas-return-commands.mdx links to `/docs/process-managers/sagas#atomicity`, but `docs/process-managers/sagas` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/design-decisions/why-sagas-return-commands.mdx:64
- docs/content/docs/design-decisions/why-two-persistence-strategies.mdx links to `/docs/running/persistence#decision-matrix`, but `docs/running/persistence` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/design-decisions/why-two-persistence-strategies.mdx:74
- docs/content/docs/event-bus/kafka.mdx links to `/docs/running/event-bus-adapters#handler-error-isolation`, but `docs/running/event-bus-adapters` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/event-bus/kafka.mdx:49
- docs/content/docs/event-bus/nats.mdx links to `/docs/running/event-bus-adapters#handler-error-isolation`, but `docs/running/event-bus-adapters` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/event-bus/nats.mdx:42
- docs/content/docs/event-bus/rabbitmq.mdx links to `/docs/running/event-bus-adapters#handler-error-isolation`, but `docs/running/event-bus-adapters` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/event-bus/rabbitmq.mdx:50
- docs/content/docs/getting-started/cli.mdx links to `/docs/getting-started/project-structure`, but `docs/getting-started/project-structure` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/cli.mdx:57
- docs/content/docs/getting-started/introduction.mdx links to `/docs/getting-started/quick-start`, but `docs/getting-started/quick-start` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/introduction.mdx:6
- docs/content/docs/getting-started/introduction.mdx links to `/docs/modeling/defining-aggregates`, but `docs/modeling/defining-aggregates` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/introduction.mdx:32
- docs/content/docs/getting-started/introduction.mdx links to `/docs/core-concepts/messages-and-types`, but `docs/core-concepts/messages-and-types` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/introduction.mdx:45
- docs/content/docs/getting-started/introduction.mdx links to `/docs/read-model/projections`, but `docs/read-model/projections` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/introduction.mdx:80
- docs/content/docs/getting-started/introduction.mdx links to `/docs/process-managers/sagas`, but `docs/process-managers/sagas` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/introduction.mdx:102
- docs/content/docs/getting-started/introduction.mdx links to `/docs/running/persistence-adapters`, but `docs/running/persistence-adapters` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/introduction.mdx:118
- docs/content/docs/getting-started/introduction.mdx links to `/docs/getting-started/why-noddde`, but `docs/getting-started/why-noddde` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/introduction.mdx:124
- docs/content/docs/getting-started/quick-start.mdx runs `npx tsx account.ts`, but `account.ts` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/quick-start.mdx:184
- docs/content/docs/getting-started/quick-start.mdx links to `/docs/design-decisions/why-id-not-in-state`, but `docs/design-decisions/why-id-not-in-state` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/quick-start.mdx:251
- docs/content/docs/getting-started/quick-start.mdx links to `/docs/design-decisions/why-aggregate-types`, but `docs/design-decisions/why-aggregate-types` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/quick-start.mdx:269
- docs/content/docs/getting-started/quick-start.mdx links to `/docs/running/persistence-adapters`, but `docs/running/persistence-adapters` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/content/docs/getting-started/quick-start.mdx:321
What to do
- Reconcile the README with reality: specs/README.md names `packages/docs/content/docs/`, but no file or folder `packages/docs/content/docs` exists; docs/content/docs/index.mdx links to `/docs/getting-started/why-noddde`, but `docs/getting-started/why-noddde` does not exist; docs/content/docs/index.mdx links to `/docs/getting-started/quick-start`, but `docs/getting-started/quick-start` does not exist; docs/content/docs/index.mdx links to `/docs/core-concepts/messages-and-types`, but `docs/core-concepts/messages-and-types` does not exist; docs/content/docs/index.mdx links to `/docs/modeling/defining-aggregates`, but `docs/modeling/defining-aggregates` does not exist.
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
- Only 5/7 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `docs`, `packages/cli`.
What to do
- Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
- Add a health-check endpoint (@godaddy/terminus or a /health route) so orchestrators and load balancers can probe liveness/readiness.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 16396 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
P6 · Release Hygiene
P8 · Schema migrations
- TypeORM synchronize: true builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database — a renamed column is dropped and re-added rather than migrated. Adopt TypeORM migrations (`typeorm migration:generate` + `migrationsRun`), so every schema change is a versioned file applied the same way in every environment. (×2) — samples/sample-flash-sale/src/main-pessimistic.ts:71, samples/sample-flash-sale/src/main-optimistic.ts:72
What to do
- Replace TypeORM synchronize: true with TypeORM migrations (`typeorm migration:generate` + `migrationsRun`) so the production schema can evolve safely and reproducibly.
P9 · Domain vs controller coverage
PF3 · Async & latency hygiene
- `fs.writeFileSync` in `callback to action` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/cli/src/commands/diagram.ts:81
What to do
- TypeScript/JavaScript: use the promise APIs (fs/promises, a promisified child_process.execFile, the async zlib/crypto functions) and await them instead of the *Sync variants.
R1 · Type Safety
What to do
- Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication
- 38 duplicated blocks under packages/adapters/ have copies in at least two of the sibling directories drizzle, kafka, nats, prisma, rabbitmq, typeorm — 26 of them are reported below, and 12 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 38 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 38 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 38 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — packages/adapters/prisma/src/persistence.ts:47
- 7 duplicated blocks under packages/ have copies in at least two of the sibling directories adapters, cli, core, engine, integrations, testing — 4 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — packages/core/src/ddd/domain-definition.ts:17
- 5 of the duplicated blocks reported below have copies in at least two of the sibling directories mysql, pg, sqlite under packages/adapters/drizzle/src/. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — packages/adapters/drizzle/src/pg/schema.ts:29
- packages/adapters/prisma/src/persistence.ts:47 · packages/adapters/typeorm/src/persistence.ts:90 — the two spans are one implementation copied and then locally edited — 1313 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/adapters/prisma/src/persistence.ts:47
- packages/cli/src/generators/domain.ts:60 · packages/cli/src/generators/project.ts:65 — the two spans are one implementation copied and then locally edited — 416 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/cli/src/generators/domain.ts:60
- packages/adapters/prisma/src/builder.ts:59 · packages/adapters/typeorm/src/builder.ts:59 — the two spans are one implementation copied and then locally edited — 436 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/adapters/prisma/src/builder.ts:59
- packages/adapters/prisma/src/mysql/advisory-locker.ts:20 · packages/adapters/prisma/src/pg/advisory-locker.ts:20 — the two spans are one implementation copied and then locally edited — 371 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/adapters/prisma/src/mysql/advisory-locker.ts:20
- packages/adapters/prisma/src/unit-of-work.ts:14 · packages/adapters/typeorm/src/unit-of-work.ts:15 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — packages/adapters/prisma/src/unit-of-work.ts:14
- packages/adapters/drizzle/src/pg/schema.ts:29 · packages/adapters/drizzle/src/sqlite/schema.ts:24 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — packages/adapters/drizzle/src/pg/schema.ts:29
- packages/adapters/typeorm/src/mysql/advisory-locker.ts:16 · packages/adapters/typeorm/src/pg/advisory-locker.ts:16 — the two spans are one implementation copied and then locally edited — 294 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/adapters/typeorm/src/mysql/advisory-locker.ts:16
- packages/adapters/drizzle/src/mysql/advisory-locker.ts:17 · packages/adapters/drizzle/src/pg/advisory-locker.ts:19 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/adapters/drizzle/src/mysql/advisory-locker.ts:17
- packages/testing-integration/src/contracts/saga-contract.ts:5 · packages/testing-integration/src/contracts/snapshot-contract.ts:4 — the two spans are one implementation copied and then locally edited — 286 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/testing-integration/src/contracts/saga-contract.ts:5
- packages/integrations/nestjs/src/noddde.module.ts:180 · packages/integrations/nestjs/src/noddde.module.ts:240 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/integrations/nestjs/src/noddde.module.ts:180
- packages/adapters/kafka/src/kafka-event-bus.ts:716 · packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:554 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — packages/adapters/kafka/src/kafka-event-bus.ts:716
- packages/testing-integration/src/containers/mysql.ts:8 · packages/testing-integration/src/containers/postgres.ts:7 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — packages/testing-integration/src/containers/mysql.ts:8
- packages/cli/src/utils/discovery.ts:96 · packages/cli/src/utils/discovery.ts:135 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/cli/src/utils/discovery.ts:96
- packages/adapters/prisma/src/persistence.ts:123 · packages/adapters/prisma/src/persistence.ts:201 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/adapters/prisma/src/persistence.ts:123
- packages/adapters/drizzle/src/builder.ts:243 · packages/adapters/typeorm/src/builder.ts:191 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — packages/adapters/drizzle/src/builder.ts:243
- packages/cli/src/generators/add-command.ts:67 · packages/cli/src/generators/add-query.ts:52 — the two spans are one implementation copied and then locally edited — 198 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/cli/src/generators/add-command.ts:67
- packages/adapters/drizzle/src/persistence.ts:167 · packages/adapters/drizzle/src/persistence.ts:262 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/adapters/drizzle/src/persistence.ts:167
- packages/adapters/prisma/src/index.ts:47 · packages/adapters/typeorm/src/index.ts:50 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — packages/adapters/prisma/src/index.ts:47
- packages/adapters/prisma/src/keyed-mutex.ts:12 · packages/adapters/typeorm/src/keyed-mutex.ts:11 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — packages/adapters/prisma/src/keyed-mutex.ts:12
- packages/cli/src/generators/aggregate.ts:47 · packages/cli/src/generators/projection.ts:50 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/cli/src/generators/aggregate.ts:47
- packages/adapters/prisma/src/persistence.ts:175 · packages/adapters/prisma/src/persistence.ts:239 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/adapters/prisma/src/persistence.ts:175
- packages/adapters/drizzle/src/mysql/schema.ts:69 · packages/adapters/drizzle/src/pg/schema.ts:70 · packages/adapters/drizzle/src/sqlite/schema.ts:62 — the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — packages/adapters/drizzle/src/mysql/schema.ts:69
- packages/adapters/typeorm/src/entities.ts:237 · packages/adapters/typeorm/src/entities.ts:270 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/adapters/typeorm/src/entities.ts:237
- packages/cli/src/utils/discovery.ts:22 · packages/cli/src/utils/discovery.ts:59 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/cli/src/utils/discovery.ts:22
- packages/adapters/prisma/src/advisory-locker.ts:181 · packages/adapters/typeorm/src/advisory-locker.ts:92 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/adapters/prisma/src/advisory-locker.ts:181
- packages/testing-integration/src/contracts/unit-of-work-contract.ts:140 · packages/testing-integration/src/contracts/unit-of-work-contract.ts:187 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/testing-integration/src/contracts/unit-of-work-contract.ts:140
- packages/adapters/drizzle/src/dedicated-state-persistence.ts:85 · packages/adapters/drizzle/src/persistence.ts:214 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/adapters/drizzle/src/dedicated-state-persistence.ts:85
- packages/adapters/nats/src/nats-event-bus.ts:244 · packages/engine/src/implementations/ee-event-bus.ts:109 — the two spans are one implementation copied and then locally edited — 137 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/adapters/nats/src/nats-event-bus.ts:244
- packages/cli/src/generators/add-query.ts:48 · packages/cli/src/generators/aggregate.ts:51 · packages/cli/src/generators/projection.ts:54 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/cli/src/generators/add-query.ts:48
- packages/cli/src/generators/domain.ts:171 · packages/cli/src/generators/saga.ts:28 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/cli/src/generators/domain.ts:171
- packages/core/src/ddd/domain-definition.ts:17 · packages/engine/src/domain.ts:135 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — packages/core/src/ddd/domain-definition.ts:17
- packages/adapters/prisma/src/dedicated-state-persistence.ts:54 · packages/adapters/prisma/src/persistence.ts:57 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/adapters/prisma/src/dedicated-state-persistence.ts:54
- packages/adapters/typeorm/src/dedicated-state-persistence.ts:79 · packages/adapters/typeorm/src/persistence.ts:218 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/adapters/typeorm/src/dedicated-state-persistence.ts:79
- packages/adapters/prisma/src/dedicated-state-persistence.ts:81 · packages/adapters/prisma/src/persistence.ts:166 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/adapters/prisma/src/dedicated-state-persistence.ts:81
- packages/cli/src/generators/add-command.ts:45 · packages/cli/src/generators/add-query.ts:34 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/cli/src/generators/add-command.ts:45
- packages/testing-integration/src/contracts/persistence-contract.ts:149 · packages/testing-integration/src/contracts/persistence-contract.ts:168 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/testing-integration/src/contracts/persistence-contract.ts:149
- packages/adapters/drizzle/src/advisory-locker.ts:129 · packages/adapters/prisma/src/advisory-locker.ts:182 · packages/adapters/typeorm/src/advisory-locker.ts:93 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/adapters/drizzle/src/advisory-locker.ts:129
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R2 · Cyclomatic Complexity
- init has cyclomatic complexity 94 and cognitive complexity 183; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/engine/src/domain.ts:443
- executeLifecycle has cyclomatic complexity 23 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/engine/src/executors/command-lifecycle-executor.ts:229
- _handleMessage has cyclomatic complexity 23 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/adapters/kafka/src/kafka-event-bus.ts:683
- rebuildProjectionImpl has cyclomatic complexity 22 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/engine/src/projection-rebuild.ts:179
- introspectDomain has cyclomatic complexity 21 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/cli/src/diagram/introspect.ts:23
- rebuildProjection has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/engine/src/domain.ts:1594
- buildDomainGraph has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/cli/src/diagram/build-graph.ts:25
- execute has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/engine/src/executors/command-lifecycle-executor.ts:71
- save has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/adapters/drizzle/src/persistence.ts:270
- _handleMessage has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:539
- _connectWithRetry has cyclomatic complexity 13 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:225
- _handleMessage has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/adapters/nats/src/nats-event-bus.ts:228
- analyzeSagaCommands has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/cli/src/diagram/static-analyze.ts:24
- _consumeSubscription has cyclomatic complexity 11 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/adapters/nats/src/nats-event-bus.ts:414
- collectNameLiterals has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/cli/src/diagram/static-analyze.ts:188
- dispatch has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/engine/src/implementations/ee-event-bus.ts:98
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- packages/engine/src/domain.ts has 1741 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — packages/engine/src/domain.ts:1
- packages/adapters/kafka/src/kafka-event-bus.ts has 810 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — packages/adapters/kafka/src/kafka-event-bus.ts:1
- packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts has 717 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:1
- packages/testing-integration/src/contracts/persistence-contract.ts has 536 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — packages/testing-integration/src/contracts/persistence-contract.ts:1
- packages/adapters/drizzle/src/persistence.ts has 477 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — packages/adapters/drizzle/src/persistence.ts:1
- packages/adapters/nats/src/nats-event-bus.ts has 449 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — packages/adapters/nats/src/nats-event-bus.ts:1
- packages/adapters/typeorm/src/persistence.ts has 423 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — packages/adapters/typeorm/src/persistence.ts:1
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R4 · Test Coverage
- No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×3) — REDACTED:1, scripts/check-spec-docs-links.mjs:1, scripts/copy-license.mjs:1
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling
R7 · Dead Code
R8 · Dependency Hygiene
- Imported but not declared in any reachable REDACTED — installs work only by hoisting accident. (×2) — packages/adapters/nats/src/__tests__/integration/nats.reconnect.integration.test.ts:2, packages/adapters/rabbitmq/src/__tests__/integration/rabbitmq.reconnect.integration.test.ts:2
- Imported only as a TYPE and declared in no reachable REDACTED. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it — but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning REDACTED. — packages/eslint-config/library.js:5
- Declared in packages/adapters/typeorm/REDACTED but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
- Declared in packages/eslint-config/REDACTED but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
- Declared in packages/integrations/nestjs/REDACTED but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
S1 · Web-Security Posture
- `https://cloud.umami.is/script.js` is executed by this page with no Subresource Integrity. Whoever can answer that request — the CDN, anyone who compromises it, anyone on the network path — runs arbitrary script in this page's origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time — the executed bytes can change with nobody touching this repository. — docs/src/app/layout.tsx:81
What to do
- Pin third-party scripts and verify them: name an exact version in the URL and add an `integrity="sha384-…"` hash alongside `crossorigin="anonymous"` (both are required — an integrity hash on a cross-origin script without `crossorigin` is not evaluated, it blocks the script). Where the vendor ships a continuously-updated loader and publishes no stable hash (tag managers, analytics, chat widgets), Subresource Integrity is not available: constrain it instead with a `Content-Security-Policy` that names the exact origins allowed to execute, and drop the script from the pages that do not need it. Where the page is shipped inside a package that others host, prefer vendoring the asset and serving it from the app’s own origin, so no consumer inherits a third-party dependency they did not choose.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
- `debug` at line 353 is called with an argument built by `enrichedEvents.map((e) => e.name)` (line 356), whose cost grows with the collection it walks. JavaScript evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isLevelEnabled`/`isDebugEnabled` test, no debug flag, no `NODE_ENV` build switch. — packages/engine/src/executors/command-lifecycle-executor.ts:353
What to do
- Each finding names the diagnostic call and the expression inside its argument whose cost scales with a collection. Confirm from the two that the argument is built before the call — that is JavaScript's evaluation order, not a guess — then put the construction behind the level check the logger offers (`if (logger.isLevelEnabled('debug'))` for pino and winston, `isDebugEnabled()` for log4js, the repository's own debug flag where it has one), or hand the logger the object and a format string (`logger.debug({ payload }, 'raw request')`) so the serialising happens only when the line is written. Moving the call is not the fix: it is the join/projection/stringify in the argument that is paid, wherever the call sits.
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. (×17) — packages/adapters/drizzle/src/unit-of-work.ts:137, packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:508, packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:517, …
- `.catch(() => {})` handles the rejection by doing nothing — the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (`next(error)`, a returned rejection), or don't catch it. — packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:296
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- 1/35 of this repository's type-checking configuration(s) turn on strict null checking (`"strict": true`, or `"strictNullChecks": true`). A configuration that states neither is counted as OFF, because off is tsc's own default; a solution-style one whose `"files"` is empty and whose `"references"` point at other projects is in neither number, because it checks no source itself. Where it is off, `string` admits `null` and `undefined`: passing a value that is null compiles silently and throws on the first property access.
- ~4.7 `!` null assertions per 1k TypeScript source lines — 123 assertion(s) across the 26106 source line(s) of the 227 TypeScript file(s) read, which is the only code the operator asserts anything in (a `!` in a `.js` file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: packages/adapters/typeorm/src/entities.ts (52), packages/engine/src/domain.ts (10), packages/adapters/kafka/src/kafka-event-bus.ts (8). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC1 · Text alternatives | 1.1.1, 1.2.2, 1.2.5 | Partial signal |
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC5 · ARIA correctness | 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 61% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 87% | Strong | Strongest area. |
| Maturity | 49% | Weak — gated by M4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 43% | Weak — gated by R8, P3, P8 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 73% | Adequate — gated by D30 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 79% | Strong | Solid. |
| Accessibility | 71% | Strong | Solid. |
| Performance | 85% | Strong | Solid. |
Unscored — 3 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 7 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.
- X10 Duplicated predicate — 5 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
- X7 Silent fallback defaults — 3 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 1 control(s) we could not find positive evidence for
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 51 check(s) not relevant to this codebase
- AC4 Keyboard semantics — No interactive element found in the parsed markup — AC4 not applicable here.
- AX1 Captive dependencies — Not applicable: NestJS makes a provider that injects a request-scoped one request-scoped itself (scope bubbles up the injection chain), and gives every consumer its own transient instance by contract.
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX4 Dependency direction — not applicable to a transaction-script/CRUD architecture (the inward-dependency rule is for layered/clean styles)
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- 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) — rabbitmq Pulling postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden rabbitmq Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: postgres Pulling rabbitmq Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden rabbitmq Error Get "https://registry-1.docker.io/v2/": Forbidden 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 — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no data at rest for these controls to protect. If it does persist personal data (through a hosted backend configured outside this repository, for instance), the controls belong to wherever that data is stored.
- C2 Access Controls — No access-control surface detected in the analyzed source — this repository stands up no server (no Express, Fastify, Koa, Hono, NestJS or similar app, no Next.js/SvelteKit/Nuxt server route, no edge function), creates no Supabase tables and talks to no hosted backend. Access control is therefore N/A here — a browser application or library is authorized by the server it calls, not by itself; a client-side route guard hides a page and authorizes nothing. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a hosted backend configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data whose lifetime a retention limit would bound. If it does (through a hosted backend configured outside this repository, for instance), the limit belongs wherever that data is stored.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data for a data subject to erase, export or consent over. If it does (through a hosted backend configured outside this repository, for instance), the rights are served wherever that data is stored.
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- 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.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — none of 1 ADRs are conformance-checkable — unverifiable.
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.ts,.tsx), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — 8 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.ts, .tsx) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
- 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.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- DM1 Aggregate boundaries — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM10 One transaction, one aggregate — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM2 Strongly-typed ids — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM3 Integration-event coupling — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM4 Rich vs anemic model — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM5 Encapsulated state — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM7 Repository granularity — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JavaScript/TypeScript source, so there is no service whose uptime a failing dependency could take down
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a REDACTED, 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: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
- R5 Dependency Freshness — uses a yarn lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — Not applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and 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
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — 81 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
- Unlisted import 'testcontainers' packages/adapters/nats/src/__tests__/integration/nats.reconnect.integration.test.ts:2
- Unlisted import 'testcontainers' packages/adapters/rabbitmq/src/__tests__/integration/rabbitmq.reconnect.integration.test.ts:2
- No assertions (empty test): should dispatch standalone commands at runtime packages/engine/src/__tests__/engine/typed-dispatch.test.ts:192
- REDACTED
- Domain depends on infrastructure: run-type-perf packages/core/scripts/run-type-perf.ts:13
Serious — 330 finding(s)
- TodoComment packages/cli/src/templates/add/event-handler.ts:17
- TodoComment packages/cli/src/templates/domain/projection-view-reducers.ts:13
- TodoComment packages/cli/src/templates/add/event-handler.ts:29
- TodoComment packages/cli/src/templates/add/command.ts:19
- TodoComment packages/cli/src/templates/domain/aggregate-commands.ts:13
- TodoComment packages/cli/src/templates/add/command.ts:34
- TodoComment packages/cli/src/templates/add/command.ts:48
- TodoComment packages/cli/src/templates/domain/aggregate-evolvers.ts:18
- TodoComment packages/cli/src/templates/aggregate/aggregate.ts:16
- TodoComment packages/cli/src/templates/domain/aggregate.ts:28
- TodoComment packages/cli/src/templates/aggregate/aggregate.ts:21
- TodoComment packages/cli/src/templates/domain/aggregate.ts:33
- TodoComment packages/cli/src/templates/aggregate/aggregate.ts:30
- TodoComment packages/cli/src/templates/domain/saga-transition-handlers.ts:13
- TodoComment packages/cli/src/templates/domain/saga-transition-handlers.ts:27
- TodoComment packages/cli/src/templates/domain/saga-transition-handlers.ts:29
- TodoComment packages/cli/src/templates/domain/saga-state.ts:8
- TodoComment packages/cli/src/templates/domain/projection.ts:17
- TodoComment packages/cli/src/templates/domain/projection.ts:22
- TodoComment packages/cli/src/templates/domain/projection.ts:31
- TodoComment packages/cli/src/templates/domain/projection-view-reducers.ts:24
- TodoComment packages/cli/src/templates/domain/projection-queries.ts:11
- TodoComment packages/cli/src/templates/domain/event-model.ts:14
- TodoComment packages/cli/src/templates/domain/domain-wiring.ts:34
- TodoComment packages/cli/src/templates/domain/domain-wiring.ts:57
- Low coverage: packages/adapters/drizzle/src/advisory-locker.ts packages/adapters/drizzle/src/advisory-locker.ts:1
- Low coverage: packages/adapters/drizzle/src/builder.ts packages/adapters/drizzle/src/builder.ts:1
- Low coverage: packages/adapters/drizzle/src/dedicated-state-persistence.ts packages/adapters/drizzle/src/dedicated-state-persistence.ts:1
- Low coverage: packages/adapters/drizzle/src/drizzle-adapter.ts packages/adapters/drizzle/src/drizzle-adapter.ts:1
- Low coverage: packages/adapters/drizzle/src/event-idempotency.ts packages/adapters/drizzle/src/event-idempotency.ts:1
- Low coverage: packages/adapters/drizzle/src/event-reader.ts packages/adapters/drizzle/src/event-reader.ts:1
- Low coverage: packages/adapters/drizzle/src/index.ts packages/adapters/drizzle/src/index.ts:1
- Low coverage: packages/adapters/drizzle/src/json-state-mapper.ts packages/adapters/drizzle/src/json-state-mapper.ts:1
- Low coverage: packages/adapters/drizzle/src/persistence.ts packages/adapters/drizzle/src/persistence.ts:1
- Low coverage: packages/adapters/drizzle/src/unit-of-work.ts packages/adapters/drizzle/src/unit-of-work.ts:1
- Low coverage: packages/adapters/drizzle/src/mysql/advisory-locker.ts packages/adapters/drizzle/src/mysql/advisory-locker.ts:1
- Low coverage: packages/adapters/drizzle/src/pg/advisory-locker.ts packages/adapters/drizzle/src/pg/advisory-locker.ts:1
- Low coverage: packages/adapters/typeorm/src/builder.ts packages/adapters/typeorm/src/builder.ts:1
- Low coverage: packages/adapters/typeorm/src/dedicated-state-persistence.ts packages/adapters/typeorm/src/dedicated-state-persistence.ts:1
- Low coverage: packages/adapters/typeorm/src/entities.ts packages/adapters/typeorm/src/entities.ts:1
- Low coverage: packages/adapters/typeorm/src/event-idempotency.ts packages/adapters/typeorm/src/event-idempotency.ts:1
- Low coverage: packages/adapters/typeorm/src/event-reader.ts packages/adapters/typeorm/src/event-reader.ts:1
- Low coverage: packages/adapters/typeorm/src/index.ts packages/adapters/typeorm/src/index.ts:1
- Low coverage: packages/adapters/typeorm/src/json-state-mapper.ts packages/adapters/typeorm/src/json-state-mapper.ts:1
- Low coverage: packages/adapters/typeorm/src/persistence.ts packages/adapters/typeorm/src/persistence.ts:1
- Low coverage: packages/adapters/typeorm/src/typeorm-adapter.ts packages/adapters/typeorm/src/typeorm-adapter.ts:1
- Low coverage: packages/adapters/typeorm/src/unit-of-work.ts packages/adapters/typeorm/src/unit-of-work.ts:1
- Low coverage: packages/adapters/typeorm/src/mysql/advisory-locker.ts packages/adapters/typeorm/src/mysql/advisory-locker.ts:1
- Low coverage: packages/adapters/typeorm/src/pg/advisory-locker.ts packages/adapters/typeorm/src/pg/advisory-locker.ts:1
- Low coverage: packages/core/src/persistence/concurrency-error.ts packages/core/src/persistence/concurrency-error.ts:1
- Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts:30
- Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts:44
- Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts:73
- Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts:116
- Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts:146
- Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts:182
- Cross-context type ID (core → engine) packages/engine/src/concurrency-strategy.ts:196
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-persistence.ts:38
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-persistence.ts:62
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-persistence.ts:72
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-persistence.ts:160
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-persistence.ts:180
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-saga-persistence.ts:29
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-saga-persistence.ts:47
- Cross-context type ID (core → engine) packages/engine/src/executors/metadata-enricher.ts:37
- Cross-context type ID (core → engine) packages/engine/src/domain.ts:87
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-locker.ts:42
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-aggregate-locker.ts:87
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-idempotency-store.ts:38
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-idempotency-store.ts:83
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-snapshot-store.ts:25
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-snapshot-store.ts:41
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-view-store.ts:27
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-view-store.ts:38
- Cross-context type ID (core → engine) packages/engine/src/implementations/in-memory-view-store.ts:49
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No assertions: typed-column mapper: TS rejects mappers with mismatched row keys packages/adapters/drizzle/src/__tests__/builder.test.ts:459
- No assertions: should use .catch() on consumer loop to prevent unhandled promise rejections packages/adapters/nats/src/__tests__/nats-event-bus.test.ts:437
- No assertions: stream is created if it doesn't already exist packages/adapters/nats/src/__tests__/integration/nats.integration.test.ts:84
- No assertions: typed-column mapper: TS rejects configs missing the mapper packages/adapters/prisma/src/__tests__/builder.test.ts:329
- No assertions: typed-column mapper: TS rejects configs missing the mapper packages/adapters/typeorm/src/__tests__/builder.test.ts:315
- No assertions: should accept commands from registered aggregates packages/engine/src/__tests__/engine/typed-dispatch.test.ts:130
- No assertions: should return targetAggregateId for aggregate commands packages/engine/src/__tests__/engine/typed-dispatch.test.ts:173
- No assertions: should accept queries from registered projections packages/engine/src/__tests__/engine/typed-dispatch.test.ts:221
- No assertions: should accept queries from registered projections with typed results packages/engine/src/__tests__/engine/typed-dispatch.test.ts:242
- No assertions: should extract command union from multi-aggregate map packages/engine/src/__tests__/engine/typed-dispatch.test.ts:290
- No assertions: should extract query union from multi-projection map packages/engine/src/__tests__/engine/typed-dispatch.test.ts:311
- No assertions: acquire and release on a single key works without blocking packages/engine/src/__tests__/engine/implementations/in-memory-aggregate-locker.test.ts:6
- No assertions: release is idempotent (double release does not throw) packages/engine/src/__tests__/engine/implementations/in-memory-aggregate-locker.test.ts:55
- No assertions: different keys do not interfere packages/engine/src/__tests__/engine/implementations/in-memory-aggregate-locker.test.ts:65
- No assertions: InferDomain accumulates aggregate commands into the dispatch union packages/engine/src/__tests__/stress/wire-domain-at-scale.test.ts:123
- No assertions: InferDomain accumulates projection queries into the query union packages/engine/src/__tests__/stress/wire-domain-at-scale.test.ts:135
- No assertions: InferDomain intersects infrastructure from aggregates, projections, and sagas packages/engine/src/__tests__/stress/wire-domain-at-scale.test.ts:144
- No assertions: dispatchCommand on the inferred Domain narrows by name (compile-time) packages/engine/src/__tests__/stress/wire-domain-at-scale.test.ts:148
- No assertions: dispatchCommand rejects names that aren't in the union (compile-time) packages/engine/src/__tests__/stress/wire-domain-at-scale.test.ts:154
- Swallowed exception (empty catch) packages/adapters/drizzle/src/unit-of-work.ts:137
- Swallowed exception (empty catch) packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:296
- Swallowed exception (empty catch) packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:508
- Swallowed exception (empty catch) packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:517
- Swallowed exception (empty catch) packages/adapters/typeorm/src/mssql/advisory-locker.ts:66
- Swallowed exception (empty catch) packages/cli/src/utils/discovery.ts:46
- Swallowed exception (empty catch) packages/cli/src/utils/discovery.ts:83
- Swallowed exception (empty catch) packages/cli/src/utils/cli-version.ts:27
- Swallowed exception (empty catch) packages/engine/src/domain.ts:1307
- Swallowed exception (empty catch) packages/engine/src/domain.ts:1374
- Swallowed exception (empty catch) packages/engine/src/domain.ts:1401
- Swallowed exception (empty catch) packages/engine/src/domain.ts:1636
- Swallowed exception (empty catch) packages/engine/src/executors/saga-executor.ts:168
- Swallowed exception (empty catch) packages/engine/src/executors/saga-executor.ts:201
- Swallowed exception (empty catch) packages/engine/src/executors/command-lifecycle-executor.ts:144
- Swallowed exception (empty catch) packages/engine/src/executors/command-lifecycle-executor.ts:161
- Swallowed exception (empty catch) packages/engine/src/executors/command-lifecycle-executor.ts:174
- Swallowed exception (empty catch) packages/engine/src/executors/command-lifecycle-executor.ts:215
- Deprecated: eslint packages/adapters/drizzle/REDACTED:97
- Deprecated: eslint packages/adapters/kafka/REDACTED:66
- Deprecated: eslint packages/adapters/nats/REDACTED:66
- Deprecated: nats packages/adapters/nats/REDACTED:67
- Deprecated: eslint packages/adapters/prisma/REDACTED:70
- Deprecated: eslint packages/adapters/rabbitmq/REDACTED:69
- Deprecated: eslint packages/adapters/typeorm/REDACTED:67
- Deprecated: eslint packages/cli/REDACTED:68
- Deprecated: eslint packages/core/REDACTED:60
- Deprecated: @opentelemetry/sdk-trace-base packages/engine/REDACTED:71
- Deprecated: @opentelemetry/sdk-trace-node packages/engine/REDACTED:72
- Deprecated: eslint packages/engine/REDACTED:73
- Deprecated: eslint packages/integrations/nestjs/REDACTED:69
- Deprecated: eslint packages/testing-integration/REDACTED:38
- Deprecated: eslint packages/testing/REDACTED:60
- Repeated repair: packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:539
- Repeated repair: packages/testing-integration/src/contracts/persistence-contract.ts packages/testing-integration/src/contracts/persistence-contract.ts:87
- Repeated repair: packages/adapters/typeorm/src/persistence.ts packages/adapters/typeorm/src/persistence.ts:263
- Repeated repair: packages/adapters/prisma/src/mysql/advisory-locker.ts packages/adapters/prisma/src/mysql/advisory-locker.ts:48
- Repeated repair: packages/adapters/prisma/src/pg/advisory-locker.ts packages/adapters/prisma/src/pg/advisory-locker.ts:48
- Repeated repair: packages/adapters/prisma/src/persistence.ts packages/adapters/prisma/src/persistence.ts:35
- Repeated repair: packages/adapters/drizzle/src/persistence.ts packages/adapters/drizzle/src/persistence.ts:270
- Repeated repair: packages/adapters/drizzle/src/unit-of-work.ts packages/adapters/drizzle/src/unit-of-work.ts:122
- Repeated repair: packages/adapters/prisma/src/event-idempotency.ts packages/adapters/prisma/src/event-idempotency.ts:60
- Repeated repair: packages/adapters/prisma/src/advisory-locker.ts packages/adapters/prisma/src/advisory-locker.ts:132
- Fixed-sleep synchronisation: recovers and delivers after a full broker outage mid-consume packages/adapters/nats/src/__tests__/integration/nats.reconnect.integration.test.ts:52
- Fixed-sleep synchronisation: recovers from a connection reset injected mid-flow packages/adapters/nats/src/__tests__/integration/nats.reconnect.integration.test.ts:89
- Fixed-sleep synchronisation: recovers and delivers after a full broker outage mid-consume packages/adapters/rabbitmq/src/__tests__/integration/rabbitmq.reconnect.integration.test.ts:57
- Fixed-sleep synchronisation: recovers from a connection reset injected mid-flow packages/adapters/rabbitmq/src/__tests__/integration/rabbitmq.reconnect.integration.test.ts:95
- Fixed-sleep synchronisation: survives an outage while a handler is still in flight, without a silent ack-loss or a wedged consumer packages/adapters/rabbitmq/src/__tests__/integration/rabbitmq.reconnect.integration.test.ts:129
- Fixed-sleep synchronisation: second acquire on same key blocks until first release packages/engine/src/__tests__/engine/implementations/in-memory-aggregate-locker.test.ts:17
- Runner config excludes tests no gate runs packages/adapters/drizzle/vitest.config.mts:12
- Runner config excludes tests no gate runs packages/adapters/kafka/vitest.config.mts:14
- Runner config excludes tests no gate runs packages/adapters/nats/vitest.config.mts:14
- Runner config excludes tests no gate runs packages/adapters/prisma/vitest.config.mts:12
- Runner config excludes tests no gate runs packages/adapters/rabbitmq/vitest.config.mts:14
- Runner config excludes tests no gate runs packages/adapters/typeorm/vitest.config.mts:12
- Cross-context type PersistenceConfiguration (core → engine) packages/engine/src/aggregate-persistence-resolver.ts:19
- Cross-context type PersistenceConfiguration (core → engine) packages/engine/src/aggregate-persistence-resolver.ts:32
- Cross-context type PersistenceConfiguration (core → engine) packages/engine/src/aggregate-persistence-resolver.ts:34
- Cross-context type PersistenceConfiguration (core → engine) packages/engine/src/aggregate-persistence-resolver.ts:49
- Cross-context type PersistenceConfiguration (core → engine) packages/engine/src/aggregate-persistence-resolver.ts:51
- FunctionTooLong: persistence-contract.definePersistenceContract packages/testing-integration/src/contracts/persistence-contract.ts:87
- FunctionTooLong: event-bus-contract.defineEventBusContract packages/testing-integration/src/contracts/event-bus-contract.ts:47
- FunctionTooLong: unit-of-work-contract.defineUnitOfWorkContract packages/testing-integration/src/contracts/unit-of-work-contract.ts:26
- FunctionTooLong: outbox-contract.defineOutboxContract packages/testing-integration/src/contracts/outbox-contract.ts:22
- FunctionTooLong: entities.buildEntities packages/adapters/typeorm/src/entities.ts:201
- Duplicated block (24 lines × 2 locations) packages/adapters/drizzle/src/persistence.ts:167
- Duplicated block (24 lines × 2 locations) packages/adapters/prisma/src/index.ts:47
- Duplicated block (24 lines × 2 locations) packages/adapters/prisma/src/keyed-mutex.ts:12
- Duplicated block (24 lines × 2 locations) packages/cli/src/generators/aggregate.ts:47
- Hotspot: packages/engine/src/domain.ts packages/engine/src/domain.ts:443
- Hotspot: packages/adapters/kafka/src/kafka-event-bus.ts packages/adapters/kafka/src/kafka-event-bus.ts:683
- Hotspot: packages/engine/src/executors/saga-executor.ts packages/engine/src/executors/saga-executor.ts:55
- Cross-context type ID (core → testing) packages/testing/src/metadata-helpers.ts:98
- Cross-context type ID (core → testing) packages/testing/src/metadata-helpers.ts:104
- Cross-context type ID (core → testing) packages/testing/src/metadata-helpers.ts:108
- Cross-context type ID (core → sample-hotel-booking) samples/sample-hotel-booking/src/infrastructure/persistence/drizzle-view-store.ts:44
- Cross-context type ID (core → sample-hotel-booking) samples/sample-hotel-booking/src/infrastructure/persistence/drizzle-view-store.ts:76
- Cross-context type ID (core → sample-hotel-booking) samples/sample-hotel-booking/src/infrastructure/persistence/drizzle-view-store.ts:99
- MethodTooLong: Domain.init packages/engine/src/domain.ts:443
- MethodTooLong: SagaExecutor.execute packages/engine/src/executors/saga-executor.ts:55
- MethodTooLong: CommandLifecycleExecutor.executeLifecycle packages/engine/src/executors/command-lifecycle-executor.ts:229
- Duplicated block (19 lines × 2 locations) packages/adapters/drizzle/src/dedicated-state-persistence.ts:85
- Duplicated block (19 lines × 2 locations) packages/cli/src/generators/domain.ts:171
- Duplicated block (19 lines × 2 locations) packages/core/src/ddd/domain-definition.ts:17
- Duplicated block (17 lines × 2 locations) packages/adapters/prisma/src/dedicated-state-persistence.ts:81
- Duplicated block (17 lines × 2 locations) packages/cli/src/generators/add-command.ts:45
- Duplicated block (17 lines × 2 locations) packages/testing-integration/src/contracts/persistence-contract.ts:149
- No test reaches this file REDACTED:1
- No test reaches this file scripts/check-spec-docs-links.mjs:1
- No test reaches this file scripts/copy-license.mjs:1
- REDACTED
- REDACTED
- Schema created by TypeORM synchronize: true (no migration path) samples/sample-flash-sale/src/main-pessimistic.ts:71
- Schema created by TypeORM synchronize: true (no migration path) samples/sample-flash-sale/src/main-optimistic.ts:72
- Duplicated block (22 lines × 2 locations) packages/adapters/typeorm/src/entities.ts:237
- Duplicated block (22 lines × 2 locations) packages/cli/src/utils/discovery.ts:22
- Duplicated block (21 lines × 2 locations) packages/adapters/prisma/src/advisory-locker.ts:181
- Duplicated block (21 lines × 2 locations) packages/testing-integration/src/contracts/unit-of-work-contract.ts:140
- Duplicated block (18 lines × 2 locations) packages/adapters/prisma/src/dedicated-state-persistence.ts:54
- Duplicated block (18 lines × 2 locations) packages/adapters/typeorm/src/dedicated-state-persistence.ts:79
- Page without a main landmark docs/src/app/layout.tsx:59
- Accessibility enforcement below the top rung
- Domain.init (cyclomatic 113) packages/engine/src/domain.ts:443
- SagaExecutor.execute (cyclomatic 23) packages/engine/src/executors/saga-executor.ts:55
- CommandLifecycleExecutor.executeLifecycle (cyclomatic 22) packages/engine/src/executors/command-lifecycle-executor.ts:229
- projection-rebuild.rebuildProjectionImpl (cyclomatic 20) packages/engine/src/projection-rebuild.ts:179
- KafkaEventBus._handleMessage (cyclomatic 19) packages/adapters/kafka/src/kafka-event-bus.ts:683
- CommandLifecycleExecutor.execute (cyclomatic 19) packages/engine/src/executors/command-lifecycle-executor.ts:71
- Domain.rebuildProjection (cyclomatic 18) packages/engine/src/domain.ts:1594
- build-graph.buildDomainGraph (cyclomatic 16) packages/cli/src/diagram/build-graph.ts:25
- Domain.init (cognitive 228) packages/engine/src/domain.ts:443
- CommandLifecycleExecutor.execute (cognitive 36) packages/engine/src/executors/command-lifecycle-executor.ts:71
- SagaExecutor.execute (cognitive 34) packages/engine/src/executors/saga-executor.ts:55
- CommandLifecycleExecutor.executeLifecycle (cognitive 29) packages/engine/src/executors/command-lifecycle-executor.ts:229
- projection-rebuild.rebuildProjectionImpl (cognitive 29) packages/engine/src/projection-rebuild.ts:179
- KafkaEventBus._handleMessage (cognitive 25) packages/adapters/kafka/src/kafka-event-bus.ts:683
- RabbitMqEventBus._connectWithRetry (cognitive 23) packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:225
- Domain.rebuildProjection (cognitive 23) packages/engine/src/domain.ts:1594
- NatsEventBus._consumeSubscription (cognitive 21) packages/adapters/nats/src/nats-event-bus.ts:414
- build-graph.buildDomainGraph (cognitive 21) packages/cli/src/diagram/build-graph.ts:25
- introspect.introspectDomain (cognitive 20) packages/cli/src/diagram/introspect.ts:23
- static-analyze.collectNameLiterals (cognitive 20) packages/cli/src/diagram/static-analyze.ts:188
- RabbitMqEventBus._handleMessage (cognitive 18) packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:539
- NatsEventBus._handleMessage (cognitive 17) packages/adapters/nats/src/nats-event-bus.ts:228
- domain.resolveAggregatePersistence (cognitive 17) packages/engine/src/domain.ts:184
- static-analyze.analyzeSagaCommands (cognitive 16) packages/cli/src/diagram/static-analyze.ts:24
- Duplicate intent with different naming and parameter types. Both interfaces check for the existence of a processed key/command. One uses 'hasProcessed' with a string key, the other uses 'exists' with an ID type.
- Duplicate intent with different signatures. Both mark an item as processed. One takes a simple key string, the other takes a full record object.
- Duplicate intent. Both interfaces define the same method for cleaning up expired entries.
- Cross-context type LogLevel (core → engine) packages/engine/src/logger.ts:97
- FileTooLong: src/domain.ts packages/engine/src/domain.ts
- ClassTooLong: Domain packages/engine/src/domain.ts:380
- Change coupling: command-lifecycle-executor.ts ↔ saga-executor.ts packages/engine/src/executors/command-lifecycle-executor.ts:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Off the main sequence: @noddde/engine
- README may be stale
- Coverage collected but not gated
- Sync-over-async blocking packages/cli/src/commands/diagram.ts:81
- Duplication concentrated across 6 sibling directories (38 clone groups) packages/adapters/prisma/src/persistence.ts:47
- Duplication concentrated across 6 sibling directories (7 clone groups) packages/core/src/ddd/domain-definition.ts:17
- Duplication concentrated across 3 sibling directories (5 clone groups) packages/adapters/drizzle/src/pg/schema.ts:29
- Duplicated block with local edits (231 matched lines × 2 locations) packages/adapters/prisma/src/persistence.ts:47
- Duplicated block with local edits (90 matched lines × 2 locations) packages/cli/src/generators/domain.ts:60
- Duplicated block with local edits (86 matched lines × 2 locations) packages/adapters/prisma/src/builder.ts:59
- Duplicated block with local edits (68 matched lines × 2 locations) packages/adapters/prisma/src/mysql/advisory-locker.ts:20
- Duplicated block (60 lines × 2 locations) packages/adapters/prisma/src/unit-of-work.ts:14
- Duplicated block (55 lines × 2 locations) packages/adapters/drizzle/src/pg/schema.ts:29
- Duplicated block with local edits (55 matched lines × 2 locations) packages/adapters/typeorm/src/mysql/advisory-locker.ts:16
- Duplicated block (48 lines × 2 locations) packages/adapters/drizzle/src/mysql/advisory-locker.ts:17
- Duplicated block with local edits (45 matched lines × 2 locations) packages/testing-integration/src/contracts/saga-contract.ts:5
- Duplicated block (42 lines × 2 locations) packages/integrations/nestjs/src/noddde.module.ts:180
- Duplicated block (39 lines × 2 locations) packages/adapters/kafka/src/kafka-event-bus.ts:716
- Duplicated block (34 lines × 2 locations) packages/testing-integration/src/containers/mysql.ts:8
- Duplicated block (33 lines × 2 locations) packages/cli/src/utils/discovery.ts:96
- Duplicated block (31 lines × 2 locations) packages/adapters/prisma/src/persistence.ts:123
- Duplicated block (27 lines × 2 locations) packages/adapters/drizzle/src/builder.ts:243
- Duplicated block with local edits (27 matched lines × 2 locations) packages/cli/src/generators/add-command.ts:67
- Duplicated block (23 lines × 2 locations) packages/adapters/prisma/src/persistence.ts:175
- Duplicated block (22 lines × 3 locations) packages/adapters/drizzle/src/mysql/schema.ts:69
- Duplicated block with local edits (19 matched lines × 2 locations) packages/adapters/nats/src/nats-event-bus.ts:244
- Duplicated block (19 lines × 3 locations) packages/cli/src/generators/add-query.ts:48
- Duplicated block (16 lines × 3 locations) packages/adapters/drizzle/src/advisory-locker.ts:129
- Complex function init (cyclomatic 94, cognitive 183) packages/engine/src/domain.ts:443
- Complex function executeLifecycle (cyclomatic 23, cognitive 32) packages/engine/src/executors/command-lifecycle-executor.ts:229
- Complex function _handleMessage (cyclomatic 23, cognitive 31) packages/adapters/kafka/src/kafka-event-bus.ts:683
- Complex function rebuildProjectionImpl (cyclomatic 22, cognitive 31) packages/engine/src/projection-rebuild.ts:179
- Complex function introspectDomain (cyclomatic 21, cognitive 28) packages/cli/src/diagram/introspect.ts:23
- Complex function rebuildProjection (cyclomatic 19, cognitive 24) packages/engine/src/domain.ts:1594
- Complex function buildDomainGraph (cyclomatic 18, cognitive 23) packages/cli/src/diagram/build-graph.ts:25
- Complex function execute (cyclomatic 15, cognitive 26) packages/engine/src/executors/command-lifecycle-executor.ts:71
- Complex function save (cyclomatic 15, cognitive 13) packages/adapters/drizzle/src/persistence.ts:270
- Complex function _handleMessage (cyclomatic 14, cognitive 19) packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:539
- Complex function _connectWithRetry (cyclomatic 13, cognitive 26) packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:225
- Complex function _handleMessage (cyclomatic 13, cognitive 18) packages/adapters/nats/src/nats-event-bus.ts:228
- Complex function analyzeSagaCommands (cyclomatic 12, cognitive 17) packages/cli/src/diagram/static-analyze.ts:24
- Complex function _consumeSubscription (cyclomatic 11, cognitive 22) packages/adapters/nats/src/nats-event-bus.ts:414
- Complex function collectNameLiterals (cyclomatic 11, cognitive 21) packages/cli/src/diagram/static-analyze.ts:188
- Complex function dispatch (cyclomatic 11, cognitive 14) packages/engine/src/implementations/ee-event-bus.ts:98
- packages/engine/src/domain.ts: 1741 lines of code packages/engine/src/domain.ts:1
- packages/adapters/kafka/src/kafka-event-bus.ts: 810 lines of code packages/adapters/kafka/src/kafka-event-bus.ts:1
- packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts: 717 lines of code packages/adapters/rabbitmq/src/rabbitmq-event-bus.ts:1
- packages/testing-integration/src/contracts/persistence-contract.ts: 536 lines of code packages/testing-integration/src/contracts/persistence-contract.ts:1
- packages/adapters/drizzle/src/persistence.ts: 477 lines of code packages/adapters/drizzle/src/persistence.ts:1
- packages/adapters/nats/src/nats-event-bus.ts: 449 lines of code packages/adapters/nats/src/nats-event-bus.ts:1
- packages/adapters/typeorm/src/persistence.ts: 423 lines of code packages/adapters/typeorm/src/persistence.ts:1
- Unlisted import 'eslint' packages/eslint-config/library.js:5
- Unused dependency 'mssql'
- Unused dependency '@vercel/style-guide'
- Unused dependency '@nestjs/platform-express'
- Third-party script without Subresource Integrity docs/src/app/layout.tsx:81
Minor — 347 finding(s)
- No direct assertions: should accept string packages/core/src/__tests__/id.test.ts:5
- No direct assertions: should accept number packages/core/src/__tests__/id.test.ts:9
- No direct assertions: should accept bigint packages/core/src/__tests__/id.test.ts:13
- No direct assertions: should not accept boolean packages/core/src/__tests__/id.test.ts:19
- No direct assertions: should not accept symbol packages/core/src/__tests__/id.test.ts:23
- No direct assertions: should not accept object packages/core/src/__tests__/id.test.ts:27
- No direct assertions: should accept branded string packages/core/src/__tests__/id.test.ts:36
- No direct assertions: should accept branded number packages/core/src/__tests__/id.test.ts:40
- No direct assertions: should accept a basic query object packages/core/src/__tests__/cqrs/query.test.ts:7
- No direct assertions: should accept query with payload packages/core/src/__tests__/cqrs/query.test.ts:12
- No direct assertions: should extract the result type from Query packages/core/src/__tests__/cqrs/query.test.ts:23
- No direct assertions: should work with complex result types packages/core/src/__tests__/cqrs/query.test.ts:28
- No direct assertions: should return any for Query<any> packages/core/src/__tests__/cqrs/query.test.ts:38
- No direct assertions: should produce members with payload when specified packages/core/src/__tests__/cqrs/query.test.ts:55
- No direct assertions: should produce members without explicit payload when omitted packages/core/src/__tests__/cqrs/query.test.ts:61
- No direct assertions: should allow QueryResult to extract the result type packages/core/src/__tests__/cqrs/query.test.ts:66
- No direct assertions: should allow QueryResult on the no-payload member packages/core/src/__tests__/cqrs/query.test.ts:71
- No direct assertions: should not have an explicit payload property in the intersected type packages/core/src/__tests__/cqrs/query.test.ts:83
- No direct assertions: should produce never packages/core/src/__tests__/cqrs/query.test.ts:93
- No direct assertions: should receive query payload as first parameter packages/core/src/__tests__/cqrs/query-handler.test.ts:27
- No direct assertions: should receive infrastructure as second parameter packages/core/src/__tests__/cqrs/query-handler.test.ts:31
- No direct assertions: should return the query result type or a promise of it packages/core/src/__tests__/cqrs/query-handler.test.ts:35
- No direct assertions: should not have commandBus in infrastructure packages/core/src/__tests__/cqrs/query-handler.test.ts:63
- No direct assertions: should return typed result for a specific query packages/core/src/__tests__/cqrs/query-bus.test.ts:22
- No direct assertions: should return array type for list queries packages/core/src/__tests__/cqrs/query-bus.test.ts:29
- README/code drift specs/README.md:199
- README/code drift docs/content/docs/index.mdx:14
- README/code drift docs/content/docs/index.mdx:15
- README/code drift docs/content/docs/index.mdx:16
- README/code drift docs/content/docs/index.mdx:24
- README/code drift docs/content/docs/index.mdx:25
- README/code drift docs/content/docs/index.mdx:26
- README/code drift docs/content/docs/index.mdx:27
- README/code drift docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx:32
- README/code drift docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx:62
- README/code drift docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx:90
- README/code drift docs/content/docs/core-concepts/cqrs-and-event-sourcing.mdx:334
- README/code drift docs/content/docs/core-concepts/decider-pattern.mdx:335
- README/code drift docs/content/docs/core-concepts/decider-pattern.mdx:336
- README/code drift docs/content/docs/core-concepts/decider-pattern.mdx:337
- README/code drift docs/content/docs/core-concepts/messages-and-types.mdx:42
- README/code drift docs/content/docs/core-concepts/messages-and-types.mdx:625
- README/code drift docs/content/docs/core-concepts/messages-and-types.mdx:626
- README/code drift docs/content/docs/core-concepts/messages-and-types.mdx:627
- README/code drift docs/content/docs/core-concepts/messages-and-types.mdx:628
- README/code drift docs/content/docs/core-concepts/messages-and-types.mdx:629
- README/code drift docs/content/docs/design-decisions/why-decider.mdx:12
- README/code drift docs/content/docs/design-decisions/why-injectable-infrastructure.mdx:106
- README/code drift docs/content/docs/design-decisions/why-sagas-return-commands.mdx:64
- README/code drift docs/content/docs/design-decisions/why-two-persistence-strategies.mdx:74
- Mock-dominated test: should explicitly commit offsets after handling packages/adapters/kafka/src/__tests__/kafka-event-bus.test.ts:451
- Mock-dominated test: should use provided logger for warn logging with structured data packages/adapters/kafka/src/__tests__/kafka-event-bus.test.ts:697
- Mock-dominated test: should publish event to subject derived from event name packages/adapters/nats/src/__tests__/nats-event-bus.test.ts:6
- Mock-dominated test: should set maxDeliver on consumer options when resilience.maxRetries is configured packages/adapters/nats/src/__tests__/nats-event-bus.test.ts:213
- Mock-dominated test: should term a poison message (malformed JSON) and continue packages/adapters/nats/src/__tests__/nats-event-bus.test.ts:254
- Mock-dominated test: should ack message when all handlers succeed packages/adapters/nats/src/__tests__/nats-event-bus.test.ts:314
- Mock-dominated test: should use consumerGroup as prefix in durable consumer name packages/adapters/nats/src/__tests__/nats-event-bus.test.ts:477
- Mock-dominated test: should use provided logger for error and warn logging with structured data packages/adapters/nats/src/__tests__/nats-event-bus.test.ts:596
- Mock-dominated test: should call msg.nak() when any handler fails (existing redelivery behavior is preserved) packages/adapters/nats/src/__tests__/nats-event-bus.test.ts:713
- Mock-dominated test: should set deliverGroup to the durable name so replicas compete for messages packages/adapters/nats/src/__tests__/nats-event-bus.test.ts:749
- Mock-dominated test: should not resubscribe when a second handler is registered for an already-subscribed event packages/adapters/nats/src/__tests__/nats-event-bus.test.ts:784
- Mock-dominated test: should publish to the DLQ subject and term when delivery count reaches maxRetries packages/adapters/nats/src/__tests__/nats-event-bus.test.ts:869
- Mock-dominated test: dedicated persistence participates in UoW transaction via shared txStore packages/adapters/prisma/src/__tests__/prisma.test.ts:707
- Mock-dominated test: warns via the provided logger about session affinity packages/adapters/prisma/src/__tests__/advisory-locker.test.ts:81
- Mock-dominated test: should publish event to exchange with event name as routing key packages/adapters/rabbitmq/src/__tests__/rabbitmq-event-bus.test.ts:12
- Mock-dominated test: should call channel.prefetch with configured prefetchCount packages/adapters/rabbitmq/src/__tests__/rabbitmq-event-bus.test.ts:146
- Mock-dominated test: should use createConfirmChannel instead of createChannel packages/adapters/rabbitmq/src/__tests__/rabbitmq-event-bus.test.ts:447
- Mock-dominated test: should call waitForConfirms after publish in dispatch packages/adapters/rabbitmq/src/__tests__/rabbitmq-event-bus.test.ts:477
- Mock-dominated test: should register error and close handlers on connection after connect packages/adapters/rabbitmq/src/__tests__/rabbitmq-event-bus.test.ts:521
- Mock-dominated test: should track delivery count in memory and discard after maxRetries packages/adapters/rabbitmq/src/__tests__/rabbitmq-event-bus.test.ts:594
- Mock-dominated test: should ack poison messages in _setupConsumer consumer packages/adapters/rabbitmq/src/__tests__/rabbitmq-event-bus.test.ts:781
- Mock-dominated test: should call channel.nack(msg, false, true) when any handler fails (existing redelivery behavior is preserved) packages/adapters/rabbitmq/src/__tests__/rabbitmq-event-bus.test.ts:1148
- Mock-dominated test: should not discard 10 distinct same-type messages with no messageId packages/adapters/rabbitmq/src/__tests__/rabbitmq-event-bus.test.ts:1379
- Mock-dominated test: should dead-letter a message redelivered past maxRetries packages/adapters/rabbitmq/src/__tests__/rabbitmq-event-bus.test.ts:1421
- Mock-dominated test: should log an error via the framework logger when _setupConsumer fails packages/adapters/rabbitmq/src/__tests__/rabbitmq-event-bus.test.ts:1480
- Deprecated: @humanwhocodes/config-array REDACTED:1111
- Deprecated: @humanwhocodes/object-schema REDACTED:1125
- Deprecated: @ungap/structured-clone REDACTED:3329
- Deprecated: @ungap/structured-clone REDACTED:3334
- Deprecated: glob REDACTED:6440
- Deprecated: glob REDACTED:6452
- Deprecated: inflight REDACTED:6842
- Deprecated: prebuild-install REDACTED:9322
- Deprecated: rimraf REDACTED:9922
- Deprecated: uuid REDACTED:11384
- Duplicated predicate packages/adapters/drizzle/src/errors.ts:18
- Duplicated predicate packages/adapters/prisma/src/dedicated-state-persistence.ts:58
- Duplicated predicate packages/adapters/kafka/src/kafka-event-bus.ts:732
- Duplicated predicate packages/engine/src/executors/command-lifecycle-executor.ts:171
- Duplicated predicate packages/adapters/drizzle/src/errors.ts:22
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Silent fallback default in catch packages/cli/src/utils/discovery.ts:30
- Silent fallback default in catch packages/cli/src/utils/discovery.ts:67
- Silent fallback default in catch packages/testing-integration/src/contracts/event-bus-contract.ts:91
- REDACTED
- REDACTED
- REDACTED
- ADRs not easily discoverable
- Logging is not universal
- No SAST
- Diagnostic log message is built whether or not it is wanted packages/engine/src/executors/command-lifecycle-executor.ts:353
- Strict null checking is not enabled everywhere the repository type-checks
- Null assertions (`!`) reduce the strict null checking score
Minor — 22 finding(s)
- Outdated (npm): @inquirer/prompts
- Outdated (npm): @prisma/client
- Outdated (npm): @testcontainers/postgresql
- Outdated (npm): amqplib
- Outdated (npm): commander
- Outdated (npm): drizzle-orm
- Outdated (npm): fastify
- Outdated (npm): fastify-plugin
- Outdated (npm): fumadocs-core
- Outdated (npm): fumadocs-mdx
- Outdated (npm): fumadocs-typescript
- Outdated (npm): fumadocs-ui
- Outdated (npm): mermaid
- Outdated (npm): next
- Outdated (npm): pg
- Outdated (npm): react
- Outdated (npm): react-dom
- Outdated (npm): testcontainers
- Outdated (npm): tsx
- Outdated (npm): type-fest
- Outdated (npm): typeorm
- Outdated (npm): typescript
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-d1aea663d5bd4d80aa9c4bd172bf4287/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-d1aea663d5bd4d80aa9c4bd172bf4287/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 . | 37 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 71 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 0 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 8 file(s) — `packages/adapters/drizzle/src/builder.ts`, `packages/adapters/nats/src/nats-event-bus.ts`, `packages/adapters/prisma/src/builder.ts`, `packages/adapters/typeorm/src/builder.ts`, `packages/core/src/cqrs/query/query.ts`, … (+3 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |