Executive summary
This system is a small, low-cost asset with a fragile foundation. While the code is clean and the architecture is sound, the business logic is poorly defined, creating a significant risk that changes will break core functionality. The overall health score is weak, driven primarily by this structural ambiguity rather than technical debt or operational instability.
The value at stake is minimal, with a rebuild cost of approximately €6,800. This low barrier to entry means the organization is not locked in by complexity, but it also means the current state offers little protection against business logic errors. The system is small enough to be restructured quickly, but the current domain model is so weak that it undermines confidence in any feature development.
The primary risk is poor domain modeling. With a score of ten percent, the system lacks a clear representation of business rules. This means developers must guess intent, leading to high defect rates and slow delivery. It is not a technical failure, but a business alignment failure that will cause rework and confusion for any new team member.
A secondary concern is operational readiness. The system scores poorly on production safety, lacking robust disaster recovery and security scanning. While not immediately catastrophic, this exposes the business to potential outages and security regressions. The build pipeline also lacks integrity checks, meaning supply chain risks are unmonitored.
On the positive side, the code is well-structured and maintainable. The architecture is clean, and there is no boilerplate bloat. This technical cleanliness is a strong asset that makes remediation easier. The system is not broken; it is just misaligned with business needs.
Focus first on clarifying the domain model. Restructure the data mapping to separate business logic from database interactions. This single action will provide the highest return on investment by stabilizing the core logic. Once the domain is clear, address the operational gaps in security and recovery. The picture is partial, as some modern practices were not measured, but the core risks are clear.
Raise Domain Modelling 10 → 70 (the Healthy floor) ⇒ headline 31 → ~48.
New since the last scan (100+)
- D2 · REDACTED.expressAuthentication (cognitive 29) src/building-blocks/jwt/jwt.ts
- D8 · Coverage not measured — JavaScript/TypeScript suite
- D11 · Test suite declares a test script but contains no test files: src/booking/
- D11 · Test suite declares a test script but contains no test files: src/flight/
- D11 · Test suite declares a test script but contains no test files: src/passenger/
- D12 · One package at two majors across the workspace: @opentelemetry/sdk-trace-node
- D28 · REDACTED
- D28 · REDACTED
- D28 · REDACTED
- D28 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
Rebuild cost & value ~ Modeled — €2,300–€11,000
| Cost to rebuild | €2,300–€11,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.7× (at 31% quality) |
| Size & shape | Small · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
| Dead frontend code | ~211 LoC unreachable (6 file(s)) |
This codebase represents roughly ~0.1 person-years of build effort (about ~€6,800 to rebuild). Its weakest lens is Domain Modelling at 10% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency matrix
| depends on → | 1 building-blocks.contracts.flight_contract | 2 building-blocks.contracts.identity_contract | 3 building-blocks.contracts.passenger_contract | 4 building-blocks.logging.logger | 5 building-blocks.mediatr-js.mediatr-js | 6 building-blocks.rabbitmq.rabbitmq-connection-options-builder | 7 building-blocks.rabbitmq.rabbitmq-consumer | 8 building-blocks.rabbitmq.rabbitmq-publisher | 9 identity.src.auth.dtos.auth_dto | 10 identity.src.auth.enums.token-type_enum | 11 booking.src.booking.features.v1.create-booking.create-booking | 12 building-blocks.open-telemetry.otel-diagnostics-provider | 13 building-blocks.rabbitmq.rabbitmq-connection | 14 flight.src.aircraft.features.v1.create-aircraft.create-aircraft | 15 flight.src.airport.features.v1.create-airport.create-airport | 16 flight.src.flight.entities.flight_entity | 17 identity.src.user.dtos.user_dto | 18 identity.src.user.entities.user_entity | 19 booking.src.extensions | 20 flight.src.data.repositories.flight_repository | 21 flight.src.extensions | 22 flight.src.seat.entities.seat_entity | 23 identity.src.auth.entities.token_entity | 24 identity.src.data.repositories.user_repository | 25 identity.src.extensions | 26 flight.src.data.repositories.seat_repository | 27 flight.src.flight.features.v1.create-flight.create-flight | 28 flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id | 29 identity.src.auth.features.v1.login.login | 30 identity.src.data.repositories.auth_repository | 31 identity.src.user.features.v1.create-user.create-user | 32 identity.src.user.features.v1.delete-user-by-id.delete-user-by-id | 33 identity.src.user.features.v1.get-user-by-id.get-user-by-id | 34 identity.src.user.features.v1.update-user.update-user | 35 flight.src.seat.features.v1.create-seat.create-seat | 36 flight.src.seat.features.v1.reserve-seat.reserve-seat | 37 identity.src.auth.features.v1.generate-token.generate-token | 38 identity.src.auth.features.v1.refresh-token.refresh-token | 39 identity.src.auth.features.v1.validate-token.validate-token | 40 identity.test.shared.fixtures.integration-test_fixture |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 building-blocks.contracts.flight_contract | ||||||||||||||||||||||||||||||||||||||||
| 2 building-blocks.contracts.identity_contract | ||||||||||||||||||||||||||||||||||||||||
| 3 building-blocks.contracts.passenger_contract | ||||||||||||||||||||||||||||||||||||||||
| 4 building-blocks.logging.logger | ||||||||||||||||||||||||||||||||||||||||
| 5 building-blocks.mediatr-js.mediatr-js | ||||||||||||||||||||||||||||||||||||||||
| 6 building-blocks.rabbitmq.rabbitmq-connection-options-builder | ||||||||||||||||||||||||||||||||||||||||
| 7 building-blocks.rabbitmq.rabbitmq-consumer | ||||||||||||||||||||||||||||||||||||||||
| 8 building-blocks.rabbitmq.rabbitmq-publisher | ||||||||||||||||||||||||||||||||||||||||
| 9 identity.src.auth.dtos.auth_dto | ||||||||||||||||||||||||||||||||||||||||
| 10 identity.src.auth.enums.token-type_enum | ||||||||||||||||||||||||||||||||||||||||
| 11 booking.src.booking.features.v1.create-booking.create-booking | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 12 building-blocks.open-telemetry.otel-diagnostics-provider | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 building-blocks.rabbitmq.rabbitmq-connection | 2 | |||||||||||||||||||||||||||||||||||||||
| 14 flight.src.aircraft.features.v1.create-aircraft.create-aircraft | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 15 flight.src.airport.features.v1.create-airport.create-airport | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 16 flight.src.flight.entities.flight_entity | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 identity.src.user.dtos.user_dto | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 identity.src.user.entities.user_entity | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 booking.src.extensions | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 20 flight.src.data.repositories.flight_repository | 2 | |||||||||||||||||||||||||||||||||||||||
| 21 flight.src.extensions | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 22 flight.src.seat.entities.seat_entity | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 23 identity.src.auth.entities.token_entity | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 identity.src.data.repositories.user_repository | 2 | |||||||||||||||||||||||||||||||||||||||
| 25 identity.src.extensions | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 26 flight.src.data.repositories.seat_repository | 2 | |||||||||||||||||||||||||||||||||||||||
| 27 flight.src.flight.features.v1.create-flight.create-flight | 4 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 28 flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 29 identity.src.auth.features.v1.login.login | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 30 identity.src.data.repositories.auth_repository | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 31 identity.src.user.features.v1.create-user.create-user | 2 | 2 | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||
| 32 identity.src.user.features.v1.delete-user-by-id.delete-user-by-id | 2 | 1 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 33 identity.src.user.features.v1.get-user-by-id.get-user-by-id | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 34 identity.src.user.features.v1.update-user.update-user | 2 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 35 flight.src.seat.features.v1.create-seat.create-seat | 6 | 2 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 36 flight.src.seat.features.v1.reserve-seat.reserve-seat | 3 | 2 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 37 identity.src.auth.features.v1.generate-token.generate-token | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 38 identity.src.auth.features.v1.refresh-token.refresh-token | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 identity.src.auth.features.v1.validate-token.validate-token | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 40 identity.test.shared.fixtures.integration-test_fixture | 1 | 1 | 1 | 1 | 1 |
11→5 booking.src.booking.features.v1.create-booking.create-booking depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in booking.src.booking.features.v1.create-booking.create-booking → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.booking.src.booking.features.v1.create-booking.create-booking.CreateBooking→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.booking.src.booking.features.v1.create-booking.create-booking.CreateBookingHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- booking.src.booking.features.v1.create-booking.create-booking uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break booking.src.booking.features.v1.create-booking.create-booking, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→8 booking.src.booking.features.v1.create-booking.create-booking depends on building-blocks.rabbitmq.rabbitmq-publisher✕
- Type pairs
- 1 distinct (type in booking.src.booking.features.v1.create-booking.create-booking → type in building-blocks.rabbitmq.rabbitmq-publisher) reference.
- Which types
src.booking.src.booking.features.v1.create-booking.create-booking.CreateBookingHandler→src.building-blocks.rabbitmq.rabbitmq-publisher.IPublisher
- Direction
- booking.src.booking.features.v1.create-booking.create-booking uses building-blocks.rabbitmq.rabbitmq-publisher. Changing building-blocks.rabbitmq.rabbitmq-publisher can break booking.src.booking.features.v1.create-booking.create-booking, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→4 building-blocks.open-telemetry.otel-diagnostics-provider depends on building-blocks.logging.logger✕
- Type pairs
- 1 distinct (type in building-blocks.open-telemetry.otel-diagnostics-provider → type in building-blocks.logging.logger) reference.
- Which types
src.building-blocks.open-telemetry.otel-diagnostics-provider.OtelDiagnosticsProvider→src.building-blocks.logging.logger.Logger
- Direction
- building-blocks.open-telemetry.otel-diagnostics-provider uses building-blocks.logging.logger. Changing building-blocks.logging.logger can break building-blocks.open-telemetry.otel-diagnostics-provider, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→6 building-blocks.rabbitmq.rabbitmq-connection depends on building-blocks.rabbitmq.rabbitmq-connection-options-builder✕
- Type pairs
- 2 distinct (type in building-blocks.rabbitmq.rabbitmq-connection → type in building-blocks.rabbitmq.rabbitmq-connection-options-builder) references.
- Which types
src.building-blocks.rabbitmq.rabbitmq-connection.IRabbitMQConnection→src.building-blocks.rabbitmq.rabbitmq-connection-options-builder.RabbitmqConnectionOptionssrc.building-blocks.rabbitmq.rabbitmq-connection.RabbitMQConnection→src.building-blocks.rabbitmq.rabbitmq-connection-options-builder.RabbitmqConnectionOptions
- Direction
- building-blocks.rabbitmq.rabbitmq-connection uses building-blocks.rabbitmq.rabbitmq-connection-options-builder. Changing building-blocks.rabbitmq.rabbitmq-connection-options-builder can break building-blocks.rabbitmq.rabbitmq-connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→5 flight.src.aircraft.features.v1.create-aircraft.create-aircraft depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in flight.src.aircraft.features.v1.create-aircraft.create-aircraft → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.flight.src.aircraft.features.v1.create-aircraft.create-aircraft.CreateAircraft→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.flight.src.aircraft.features.v1.create-aircraft.create-aircraft.CreateAircraftHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- flight.src.aircraft.features.v1.create-aircraft.create-aircraft uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break flight.src.aircraft.features.v1.create-aircraft.create-aircraft, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→8 flight.src.aircraft.features.v1.create-aircraft.create-aircraft depends on building-blocks.rabbitmq.rabbitmq-publisher✕
- Type pairs
- 1 distinct (type in flight.src.aircraft.features.v1.create-aircraft.create-aircraft → type in building-blocks.rabbitmq.rabbitmq-publisher) reference.
- Which types
src.flight.src.aircraft.features.v1.create-aircraft.create-aircraft.CreateAircraftHandler→src.building-blocks.rabbitmq.rabbitmq-publisher.IPublisher
- Direction
- flight.src.aircraft.features.v1.create-aircraft.create-aircraft uses building-blocks.rabbitmq.rabbitmq-publisher. Changing building-blocks.rabbitmq.rabbitmq-publisher can break flight.src.aircraft.features.v1.create-aircraft.create-aircraft, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→5 flight.src.airport.features.v1.create-airport.create-airport depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in flight.src.airport.features.v1.create-airport.create-airport → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.flight.src.airport.features.v1.create-airport.create-airport.CreateAirport→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.flight.src.airport.features.v1.create-airport.create-airport.CreateAirportHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- flight.src.airport.features.v1.create-airport.create-airport uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break flight.src.airport.features.v1.create-airport.create-airport, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→8 flight.src.airport.features.v1.create-airport.create-airport depends on building-blocks.rabbitmq.rabbitmq-publisher✕
- Type pairs
- 1 distinct (type in flight.src.airport.features.v1.create-airport.create-airport → type in building-blocks.rabbitmq.rabbitmq-publisher) reference.
- Which types
src.flight.src.airport.features.v1.create-airport.create-airport.CreateAirportHandler→src.building-blocks.rabbitmq.rabbitmq-publisher.IPublisher
- Direction
- flight.src.airport.features.v1.create-airport.create-airport uses building-blocks.rabbitmq.rabbitmq-publisher. Changing building-blocks.rabbitmq.rabbitmq-publisher can break flight.src.airport.features.v1.create-airport.create-airport, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→1 flight.src.flight.entities.flight_entity depends on building-blocks.contracts.flight_contract✕
- Type pairs
- 1 distinct (type in flight.src.flight.entities.flight_entity → type in building-blocks.contracts.flight_contract) reference.
- Which types
src.flight.src.flight.entities.flight_entity.Flight→src.building-blocks.contracts.flight_contract.FlightStatus
- Direction
- flight.src.flight.entities.flight_entity uses building-blocks.contracts.flight_contract. Changing building-blocks.contracts.flight_contract can break flight.src.flight.entities.flight_entity, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→2 identity.src.user.dtos.user_dto depends on building-blocks.contracts.identity_contract✕
- Type pairs
- 1 distinct (type in identity.src.user.dtos.user_dto → type in building-blocks.contracts.identity_contract) reference.
- Which types
src.identity.src.user.dtos.user_dto.UserDto→src.building-blocks.contracts.identity_contract.Role
- Direction
- identity.src.user.dtos.user_dto uses building-blocks.contracts.identity_contract. Changing building-blocks.contracts.identity_contract can break identity.src.user.dtos.user_dto, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→2 identity.src.user.entities.user_entity depends on building-blocks.contracts.identity_contract✕
- Type pairs
- 1 distinct (type in identity.src.user.entities.user_entity → type in building-blocks.contracts.identity_contract) reference.
- Which types
src.identity.src.user.entities.user_entity.User→src.building-blocks.contracts.identity_contract.Role
- Direction
- identity.src.user.entities.user_entity uses building-blocks.contracts.identity_contract. Changing building-blocks.contracts.identity_contract can break identity.src.user.entities.user_entity, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→4 booking.src.extensions depends on building-blocks.logging.logger✕
- Type pairs
- 1 distinct (type in booking.src.extensions → type in building-blocks.logging.logger) reference.
- Which types
src.booking.src.extensions.logger.extensions→src.building-blocks.logging.logger.Logger
- Direction
- booking.src.extensions uses building-blocks.logging.logger. Changing building-blocks.logging.logger can break booking.src.extensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→6 booking.src.extensions depends on building-blocks.rabbitmq.rabbitmq-connection-options-builder✕
- Type pairs
- 1 distinct (type in booking.src.extensions → type in building-blocks.rabbitmq.rabbitmq-connection-options-builder) reference.
- Which types
src.booking.src.extensions.rabbitmq.extensions→src.building-blocks.rabbitmq.rabbitmq-connection-options-builder.RabbitmqConnectionOptions
- Direction
- booking.src.extensions uses building-blocks.rabbitmq.rabbitmq-connection-options-builder. Changing building-blocks.rabbitmq.rabbitmq-connection-options-builder can break booking.src.extensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→12 booking.src.extensions depends on building-blocks.open-telemetry.otel-diagnostics-provider✕
- Type pairs
- 1 distinct (type in booking.src.extensions → type in building-blocks.open-telemetry.otel-diagnostics-provider) reference.
- Which types
src.booking.src.extensions.otel.extensions→src.building-blocks.open-telemetry.otel-diagnostics-provider.OtelDiagnosticsProvider
- Direction
- booking.src.extensions uses building-blocks.open-telemetry.otel-diagnostics-provider. Changing building-blocks.open-telemetry.otel-diagnostics-provider can break booking.src.extensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→16 flight.src.data.repositories.flight_repository depends on flight.src.flight.entities.flight_entity✕
- Type pairs
- 2 distinct (type in flight.src.data.repositories.flight_repository → type in flight.src.flight.entities.flight_entity) references.
- Which types
src.flight.src.data.repositories.flight_repository.FlightRepository→src.flight.src.flight.entities.flight_entity.Flightsrc.flight.src.data.repositories.flight_repository.IFlightRepository→src.flight.src.flight.entities.flight_entity.Flight
- Direction
- flight.src.data.repositories.flight_repository uses flight.src.flight.entities.flight_entity. Changing flight.src.flight.entities.flight_entity can break flight.src.data.repositories.flight_repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→4 flight.src.extensions depends on building-blocks.logging.logger✕
- Type pairs
- 1 distinct (type in flight.src.extensions → type in building-blocks.logging.logger) reference.
- Which types
src.flight.src.extensions.logger.extensions→src.building-blocks.logging.logger.Logger
- Direction
- flight.src.extensions uses building-blocks.logging.logger. Changing building-blocks.logging.logger can break flight.src.extensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→6 flight.src.extensions depends on building-blocks.rabbitmq.rabbitmq-connection-options-builder✕
- Type pairs
- 1 distinct (type in flight.src.extensions → type in building-blocks.rabbitmq.rabbitmq-connection-options-builder) reference.
- Which types
src.flight.src.extensions.rabbitmq.extensions→src.building-blocks.rabbitmq.rabbitmq-connection-options-builder.RabbitmqConnectionOptions
- Direction
- flight.src.extensions uses building-blocks.rabbitmq.rabbitmq-connection-options-builder. Changing building-blocks.rabbitmq.rabbitmq-connection-options-builder can break flight.src.extensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→12 flight.src.extensions depends on building-blocks.open-telemetry.otel-diagnostics-provider✕
- Type pairs
- 1 distinct (type in flight.src.extensions → type in building-blocks.open-telemetry.otel-diagnostics-provider) reference.
- Which types
src.flight.src.extensions.otel.extensions→src.building-blocks.open-telemetry.otel-diagnostics-provider.OtelDiagnosticsProvider
- Direction
- flight.src.extensions uses building-blocks.open-telemetry.otel-diagnostics-provider. Changing building-blocks.open-telemetry.otel-diagnostics-provider can break flight.src.extensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→1 flight.src.seat.entities.seat_entity depends on building-blocks.contracts.flight_contract✕
- Type pairs
- 2 distinct (type in flight.src.seat.entities.seat_entity → type in building-blocks.contracts.flight_contract) references.
- Which types
src.flight.src.seat.entities.seat_entity.Seat→src.building-blocks.contracts.flight_contract.SeatClasssrc.flight.src.seat.entities.seat_entity.Seat→src.building-blocks.contracts.flight_contract.SeatType
- Direction
- flight.src.seat.entities.seat_entity uses building-blocks.contracts.flight_contract. Changing building-blocks.contracts.flight_contract can break flight.src.seat.entities.seat_entity, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→16 flight.src.seat.entities.seat_entity depends on flight.src.flight.entities.flight_entity✕
- Type pairs
- 1 distinct (type in flight.src.seat.entities.seat_entity → type in flight.src.flight.entities.flight_entity) reference.
- Which types
src.flight.src.seat.entities.seat_entity.Seat→src.flight.src.flight.entities.flight_entity.Flight
- Direction
- flight.src.seat.entities.seat_entity uses flight.src.flight.entities.flight_entity. Changing flight.src.flight.entities.flight_entity can break flight.src.seat.entities.seat_entity, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→10 identity.src.auth.entities.token_entity depends on identity.src.auth.enums.token-type_enum✕
- Type pairs
- 1 distinct (type in identity.src.auth.entities.token_entity → type in identity.src.auth.enums.token-type_enum) reference.
- Which types
src.identity.src.auth.entities.token_entity.Token→src.identity.src.auth.enums.token-type_enum.TokenType
- Direction
- identity.src.auth.entities.token_entity uses identity.src.auth.enums.token-type_enum. Changing identity.src.auth.enums.token-type_enum can break identity.src.auth.entities.token_entity, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→18 identity.src.auth.entities.token_entity depends on identity.src.user.entities.user_entity✕
- Type pairs
- 1 distinct (type in identity.src.auth.entities.token_entity → type in identity.src.user.entities.user_entity) reference.
- Which types
src.identity.src.auth.entities.token_entity.Token→src.identity.src.user.entities.user_entity.User
- Direction
- identity.src.auth.entities.token_entity uses identity.src.user.entities.user_entity. Changing identity.src.user.entities.user_entity can break identity.src.auth.entities.token_entity, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→18 identity.src.data.repositories.user_repository depends on identity.src.user.entities.user_entity✕
- Type pairs
- 2 distinct (type in identity.src.data.repositories.user_repository → type in identity.src.user.entities.user_entity) references.
- Which types
src.identity.src.data.repositories.user_repository.IUserRepository→src.identity.src.user.entities.user_entity.Usersrc.identity.src.data.repositories.user_repository.UserRepository→src.identity.src.user.entities.user_entity.User
- Direction
- identity.src.data.repositories.user_repository uses identity.src.user.entities.user_entity. Changing identity.src.user.entities.user_entity can break identity.src.data.repositories.user_repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→4 identity.src.extensions depends on building-blocks.logging.logger✕
- Type pairs
- 1 distinct (type in identity.src.extensions → type in building-blocks.logging.logger) reference.
- Which types
src.identity.src.extensions.logger.extensions→src.building-blocks.logging.logger.Logger
- Direction
- identity.src.extensions uses building-blocks.logging.logger. Changing building-blocks.logging.logger can break identity.src.extensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→6 identity.src.extensions depends on building-blocks.rabbitmq.rabbitmq-connection-options-builder✕
- Type pairs
- 1 distinct (type in identity.src.extensions → type in building-blocks.rabbitmq.rabbitmq-connection-options-builder) reference.
- Which types
src.identity.src.extensions.rabbitmq.extensions→src.building-blocks.rabbitmq.rabbitmq-connection-options-builder.RabbitmqConnectionOptions
- Direction
- identity.src.extensions uses building-blocks.rabbitmq.rabbitmq-connection-options-builder. Changing building-blocks.rabbitmq.rabbitmq-connection-options-builder can break identity.src.extensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→12 identity.src.extensions depends on building-blocks.open-telemetry.otel-diagnostics-provider✕
- Type pairs
- 1 distinct (type in identity.src.extensions → type in building-blocks.open-telemetry.otel-diagnostics-provider) reference.
- Which types
src.identity.src.extensions.otel.extensions→src.building-blocks.open-telemetry.otel-diagnostics-provider.OtelDiagnosticsProvider
- Direction
- identity.src.extensions uses building-blocks.open-telemetry.otel-diagnostics-provider. Changing building-blocks.open-telemetry.otel-diagnostics-provider can break identity.src.extensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→22 flight.src.data.repositories.seat_repository depends on flight.src.seat.entities.seat_entity✕
- Type pairs
- 2 distinct (type in flight.src.data.repositories.seat_repository → type in flight.src.seat.entities.seat_entity) references.
- Which types
src.flight.src.data.repositories.seat_repository.ISeatRepository→src.flight.src.seat.entities.seat_entity.Seatsrc.flight.src.data.repositories.seat_repository.SeatRepository→src.flight.src.seat.entities.seat_entity.Seat
- Direction
- flight.src.data.repositories.seat_repository uses flight.src.seat.entities.seat_entity. Changing flight.src.seat.entities.seat_entity can break flight.src.data.repositories.seat_repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→1 flight.src.flight.features.v1.create-flight.create-flight depends on building-blocks.contracts.flight_contract✕
- Type pairs
- 4 distinct (type in flight.src.flight.features.v1.create-flight.create-flight → type in building-blocks.contracts.flight_contract) references.
- Which types
src.flight.src.flight.features.v1.create-flight.create-flight.CreateFlight→src.building-blocks.contracts.flight_contract.FlightStatussrc.flight.src.flight.features.v1.create-flight.create-flight.CreateFlightController→src.building-blocks.contracts.flight_contract.FlightDtosrc.flight.src.flight.features.v1.create-flight.create-flight.CreateFlightHandler→src.building-blocks.contracts.flight_contract.FlightDtosrc.flight.src.flight.features.v1.create-flight.create-flight.CreateFlightRequestDto→src.building-blocks.contracts.flight_contract.FlightStatus
- Direction
- flight.src.flight.features.v1.create-flight.create-flight uses building-blocks.contracts.flight_contract. Changing building-blocks.contracts.flight_contract can break flight.src.flight.features.v1.create-flight.create-flight, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→5 flight.src.flight.features.v1.create-flight.create-flight depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in flight.src.flight.features.v1.create-flight.create-flight → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.flight.src.flight.features.v1.create-flight.create-flight.CreateFlight→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.flight.src.flight.features.v1.create-flight.create-flight.CreateFlightHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- flight.src.flight.features.v1.create-flight.create-flight uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break flight.src.flight.features.v1.create-flight.create-flight, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→8 flight.src.flight.features.v1.create-flight.create-flight depends on building-blocks.rabbitmq.rabbitmq-publisher✕
- Type pairs
- 1 distinct (type in flight.src.flight.features.v1.create-flight.create-flight → type in building-blocks.rabbitmq.rabbitmq-publisher) reference.
- Which types
src.flight.src.flight.features.v1.create-flight.create-flight.CreateFlightHandler→src.building-blocks.rabbitmq.rabbitmq-publisher.IPublisher
- Direction
- flight.src.flight.features.v1.create-flight.create-flight uses building-blocks.rabbitmq.rabbitmq-publisher. Changing building-blocks.rabbitmq.rabbitmq-publisher can break flight.src.flight.features.v1.create-flight.create-flight, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→20 flight.src.flight.features.v1.create-flight.create-flight depends on flight.src.data.repositories.flight_repository✕
- Type pairs
- 1 distinct (type in flight.src.flight.features.v1.create-flight.create-flight → type in flight.src.data.repositories.flight_repository) reference.
- Which types
src.flight.src.flight.features.v1.create-flight.create-flight.CreateFlightHandler→src.flight.src.data.repositories.flight_repository.IFlightRepository
- Direction
- flight.src.flight.features.v1.create-flight.create-flight uses flight.src.data.repositories.flight_repository. Changing flight.src.data.repositories.flight_repository can break flight.src.flight.features.v1.create-flight.create-flight, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→1 flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id depends on building-blocks.contracts.flight_contract✕
- Type pairs
- 2 distinct (type in flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id → type in building-blocks.contracts.flight_contract) references.
- Which types
src.flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id.GetFlightByIdHandler→src.building-blocks.contracts.flight_contract.FlightDtosrc.flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id.GetUserByIdController→src.building-blocks.contracts.flight_contract.FlightDto
- Direction
- flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id uses building-blocks.contracts.flight_contract. Changing building-blocks.contracts.flight_contract can break flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→5 flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id.GetFlightById→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id.GetFlightByIdHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→20 flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id depends on flight.src.data.repositories.flight_repository✕
- Type pairs
- 1 distinct (type in flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id → type in flight.src.data.repositories.flight_repository) reference.
- Which types
src.flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id.GetFlightByIdHandler→src.flight.src.data.repositories.flight_repository.IFlightRepository
- Direction
- flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id uses flight.src.data.repositories.flight_repository. Changing flight.src.data.repositories.flight_repository can break flight.src.flight.features.v1.get-flight-by-id.get-flight-by-id, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→5 identity.src.auth.features.v1.login.login depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in identity.src.auth.features.v1.login.login → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.identity.src.auth.features.v1.login.login.Login→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.identity.src.auth.features.v1.login.login.LoginHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- identity.src.auth.features.v1.login.login uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break identity.src.auth.features.v1.login.login, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→9 identity.src.auth.features.v1.login.login depends on identity.src.auth.dtos.auth_dto✕
- Type pairs
- 2 distinct (type in identity.src.auth.features.v1.login.login → type in identity.src.auth.dtos.auth_dto) references.
- Which types
src.identity.src.auth.features.v1.login.login.LoginController→src.identity.src.auth.dtos.auth_dto.AuthDtosrc.identity.src.auth.features.v1.login.login.LoginHandler→src.identity.src.auth.dtos.auth_dto.AuthDto
- Direction
- identity.src.auth.features.v1.login.login uses identity.src.auth.dtos.auth_dto. Changing identity.src.auth.dtos.auth_dto can break identity.src.auth.features.v1.login.login, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→24 identity.src.auth.features.v1.login.login depends on identity.src.data.repositories.user_repository✕
- Type pairs
- 1 distinct (type in identity.src.auth.features.v1.login.login → type in identity.src.data.repositories.user_repository) reference.
- Which types
src.identity.src.auth.features.v1.login.login.LoginHandler→src.identity.src.data.repositories.user_repository.IUserRepository
- Direction
- identity.src.auth.features.v1.login.login uses identity.src.data.repositories.user_repository. Changing identity.src.data.repositories.user_repository can break identity.src.auth.features.v1.login.login, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→10 identity.src.data.repositories.auth_repository depends on identity.src.auth.enums.token-type_enum✕
- Type pairs
- 2 distinct (type in identity.src.data.repositories.auth_repository → type in identity.src.auth.enums.token-type_enum) references.
- Which types
src.identity.src.data.repositories.auth_repository.AuthRepository→src.identity.src.auth.enums.token-type_enum.TokenTypesrc.identity.src.data.repositories.auth_repository.IAuthRepository→src.identity.src.auth.enums.token-type_enum.TokenType
- Direction
- identity.src.data.repositories.auth_repository uses identity.src.auth.enums.token-type_enum. Changing identity.src.auth.enums.token-type_enum can break identity.src.data.repositories.auth_repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→23 identity.src.data.repositories.auth_repository depends on identity.src.auth.entities.token_entity✕
- Type pairs
- 2 distinct (type in identity.src.data.repositories.auth_repository → type in identity.src.auth.entities.token_entity) references.
- Which types
src.identity.src.data.repositories.auth_repository.AuthRepository→src.identity.src.auth.entities.token_entity.Tokensrc.identity.src.data.repositories.auth_repository.IAuthRepository→src.identity.src.auth.entities.token_entity.Token
- Direction
- identity.src.data.repositories.auth_repository uses identity.src.auth.entities.token_entity. Changing identity.src.auth.entities.token_entity can break identity.src.data.repositories.auth_repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→2 identity.src.user.features.v1.create-user.create-user depends on building-blocks.contracts.identity_contract✕
- Type pairs
- 2 distinct (type in identity.src.user.features.v1.create-user.create-user → type in building-blocks.contracts.identity_contract) references.
- Which types
src.identity.src.user.features.v1.create-user.create-user.CreateUser→src.building-blocks.contracts.identity_contract.Rolesrc.identity.src.user.features.v1.create-user.create-user.CreateUserRequestDto→src.building-blocks.contracts.identity_contract.Role
- Direction
- identity.src.user.features.v1.create-user.create-user uses building-blocks.contracts.identity_contract. Changing building-blocks.contracts.identity_contract can break identity.src.user.features.v1.create-user.create-user, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→5 identity.src.user.features.v1.create-user.create-user depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in identity.src.user.features.v1.create-user.create-user → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.identity.src.user.features.v1.create-user.create-user.CreateUser→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.identity.src.user.features.v1.create-user.create-user.CreateUserHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- identity.src.user.features.v1.create-user.create-user uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break identity.src.user.features.v1.create-user.create-user, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→8 identity.src.user.features.v1.create-user.create-user depends on building-blocks.rabbitmq.rabbitmq-publisher✕
- Type pairs
- 1 distinct (type in identity.src.user.features.v1.create-user.create-user → type in building-blocks.rabbitmq.rabbitmq-publisher) reference.
- Which types
src.identity.src.user.features.v1.create-user.create-user.CreateUserHandler→src.building-blocks.rabbitmq.rabbitmq-publisher.IPublisher
- Direction
- identity.src.user.features.v1.create-user.create-user uses building-blocks.rabbitmq.rabbitmq-publisher. Changing building-blocks.rabbitmq.rabbitmq-publisher can break identity.src.user.features.v1.create-user.create-user, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→17 identity.src.user.features.v1.create-user.create-user depends on identity.src.user.dtos.user_dto✕
- Type pairs
- 2 distinct (type in identity.src.user.features.v1.create-user.create-user → type in identity.src.user.dtos.user_dto) references.
- Which types
src.identity.src.user.features.v1.create-user.create-user.CreateUserController→src.identity.src.user.dtos.user_dto.UserDtosrc.identity.src.user.features.v1.create-user.create-user.CreateUserHandler→src.identity.src.user.dtos.user_dto.UserDto
- Direction
- identity.src.user.features.v1.create-user.create-user uses identity.src.user.dtos.user_dto. Changing identity.src.user.dtos.user_dto can break identity.src.user.features.v1.create-user.create-user, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→24 identity.src.user.features.v1.create-user.create-user depends on identity.src.data.repositories.user_repository✕
- Type pairs
- 1 distinct (type in identity.src.user.features.v1.create-user.create-user → type in identity.src.data.repositories.user_repository) reference.
- Which types
src.identity.src.user.features.v1.create-user.create-user.CreateUserHandler→src.identity.src.data.repositories.user_repository.IUserRepository
- Direction
- identity.src.user.features.v1.create-user.create-user uses identity.src.data.repositories.user_repository. Changing identity.src.data.repositories.user_repository can break identity.src.user.features.v1.create-user.create-user, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→5 identity.src.user.features.v1.delete-user-by-id.delete-user-by-id depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in identity.src.user.features.v1.delete-user-by-id.delete-user-by-id → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.identity.src.user.features.v1.delete-user-by-id.delete-user-by-id.DeleteUserById→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.identity.src.user.features.v1.delete-user-by-id.delete-user-by-id.DeleteUserByIdHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- identity.src.user.features.v1.delete-user-by-id.delete-user-by-id uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break identity.src.user.features.v1.delete-user-by-id.delete-user-by-id, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→8 identity.src.user.features.v1.delete-user-by-id.delete-user-by-id depends on building-blocks.rabbitmq.rabbitmq-publisher✕
- Type pairs
- 1 distinct (type in identity.src.user.features.v1.delete-user-by-id.delete-user-by-id → type in building-blocks.rabbitmq.rabbitmq-publisher) reference.
- Which types
src.identity.src.user.features.v1.delete-user-by-id.delete-user-by-id.DeleteUserByIdHandler→src.building-blocks.rabbitmq.rabbitmq-publisher.IPublisher
- Direction
- identity.src.user.features.v1.delete-user-by-id.delete-user-by-id uses building-blocks.rabbitmq.rabbitmq-publisher. Changing building-blocks.rabbitmq.rabbitmq-publisher can break identity.src.user.features.v1.delete-user-by-id.delete-user-by-id, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→17 identity.src.user.features.v1.delete-user-by-id.delete-user-by-id depends on identity.src.user.dtos.user_dto✕
- Type pairs
- 2 distinct (type in identity.src.user.features.v1.delete-user-by-id.delete-user-by-id → type in identity.src.user.dtos.user_dto) references.
- Which types
src.identity.src.user.features.v1.delete-user-by-id.delete-user-by-id.DeleteUserByIdController→src.identity.src.user.dtos.user_dto.UserDtosrc.identity.src.user.features.v1.delete-user-by-id.delete-user-by-id.DeleteUserByIdHandler→src.identity.src.user.dtos.user_dto.UserDto
- Direction
- identity.src.user.features.v1.delete-user-by-id.delete-user-by-id uses identity.src.user.dtos.user_dto. Changing identity.src.user.dtos.user_dto can break identity.src.user.features.v1.delete-user-by-id.delete-user-by-id, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→24 identity.src.user.features.v1.delete-user-by-id.delete-user-by-id depends on identity.src.data.repositories.user_repository✕
- Type pairs
- 1 distinct (type in identity.src.user.features.v1.delete-user-by-id.delete-user-by-id → type in identity.src.data.repositories.user_repository) reference.
- Which types
src.identity.src.user.features.v1.delete-user-by-id.delete-user-by-id.DeleteUserByIdHandler→src.identity.src.data.repositories.user_repository.IUserRepository
- Direction
- identity.src.user.features.v1.delete-user-by-id.delete-user-by-id uses identity.src.data.repositories.user_repository. Changing identity.src.data.repositories.user_repository can break identity.src.user.features.v1.delete-user-by-id.delete-user-by-id, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→5 identity.src.user.features.v1.get-user-by-id.get-user-by-id depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in identity.src.user.features.v1.get-user-by-id.get-user-by-id → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.identity.src.user.features.v1.get-user-by-id.get-user-by-id.GetUserById→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.identity.src.user.features.v1.get-user-by-id.get-user-by-id.GetUserByIdHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- identity.src.user.features.v1.get-user-by-id.get-user-by-id uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break identity.src.user.features.v1.get-user-by-id.get-user-by-id, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→17 identity.src.user.features.v1.get-user-by-id.get-user-by-id depends on identity.src.user.dtos.user_dto✕
- Type pairs
- 2 distinct (type in identity.src.user.features.v1.get-user-by-id.get-user-by-id → type in identity.src.user.dtos.user_dto) references.
- Which types
src.identity.src.user.features.v1.get-user-by-id.get-user-by-id.GetUserByIdController→src.identity.src.user.dtos.user_dto.UserDtosrc.identity.src.user.features.v1.get-user-by-id.get-user-by-id.GetUserByIdHandler→src.identity.src.user.dtos.user_dto.UserDto
- Direction
- identity.src.user.features.v1.get-user-by-id.get-user-by-id uses identity.src.user.dtos.user_dto. Changing identity.src.user.dtos.user_dto can break identity.src.user.features.v1.get-user-by-id.get-user-by-id, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→24 identity.src.user.features.v1.get-user-by-id.get-user-by-id depends on identity.src.data.repositories.user_repository✕
- Type pairs
- 1 distinct (type in identity.src.user.features.v1.get-user-by-id.get-user-by-id → type in identity.src.data.repositories.user_repository) reference.
- Which types
src.identity.src.user.features.v1.get-user-by-id.get-user-by-id.GetUserByIdHandler→src.identity.src.data.repositories.user_repository.IUserRepository
- Direction
- identity.src.user.features.v1.get-user-by-id.get-user-by-id uses identity.src.data.repositories.user_repository. Changing identity.src.data.repositories.user_repository can break identity.src.user.features.v1.get-user-by-id.get-user-by-id, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→2 identity.src.user.features.v1.update-user.update-user depends on building-blocks.contracts.identity_contract✕
- Type pairs
- 2 distinct (type in identity.src.user.features.v1.update-user.update-user → type in building-blocks.contracts.identity_contract) references.
- Which types
src.identity.src.user.features.v1.update-user.update-user.UpdateUser→src.building-blocks.contracts.identity_contract.Rolesrc.identity.src.user.features.v1.update-user.update-user.UpdateUserRequestDto→src.building-blocks.contracts.identity_contract.Role
- Direction
- identity.src.user.features.v1.update-user.update-user uses building-blocks.contracts.identity_contract. Changing building-blocks.contracts.identity_contract can break identity.src.user.features.v1.update-user.update-user, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→5 identity.src.user.features.v1.update-user.update-user depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in identity.src.user.features.v1.update-user.update-user → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.identity.src.user.features.v1.update-user.update-user.UpdateUser→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.identity.src.user.features.v1.update-user.update-user.UpdateUserHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- identity.src.user.features.v1.update-user.update-user uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break identity.src.user.features.v1.update-user.update-user, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→8 identity.src.user.features.v1.update-user.update-user depends on building-blocks.rabbitmq.rabbitmq-publisher✕
- Type pairs
- 1 distinct (type in identity.src.user.features.v1.update-user.update-user → type in building-blocks.rabbitmq.rabbitmq-publisher) reference.
- Which types
src.identity.src.user.features.v1.update-user.update-user.UpdateUserHandler→src.building-blocks.rabbitmq.rabbitmq-publisher.IPublisher
- Direction
- identity.src.user.features.v1.update-user.update-user uses building-blocks.rabbitmq.rabbitmq-publisher. Changing building-blocks.rabbitmq.rabbitmq-publisher can break identity.src.user.features.v1.update-user.update-user, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→24 identity.src.user.features.v1.update-user.update-user depends on identity.src.data.repositories.user_repository✕
- Type pairs
- 1 distinct (type in identity.src.user.features.v1.update-user.update-user → type in identity.src.data.repositories.user_repository) reference.
- Which types
src.identity.src.user.features.v1.update-user.update-user.UpdateUserHandler→src.identity.src.data.repositories.user_repository.IUserRepository
- Direction
- identity.src.user.features.v1.update-user.update-user uses identity.src.data.repositories.user_repository. Changing identity.src.data.repositories.user_repository can break identity.src.user.features.v1.update-user.update-user, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→1 flight.src.seat.features.v1.create-seat.create-seat depends on building-blocks.contracts.flight_contract✕
- Type pairs
- 6 distinct (type in flight.src.seat.features.v1.create-seat.create-seat → type in building-blocks.contracts.flight_contract) references.
- Which types
src.flight.src.seat.features.v1.create-seat.create-seat.CreateSeat→src.building-blocks.contracts.flight_contract.SeatClasssrc.flight.src.seat.features.v1.create-seat.create-seat.CreateSeat→src.building-blocks.contracts.flight_contract.SeatTypesrc.flight.src.seat.features.v1.create-seat.create-seat.CreateSeatController→src.building-blocks.contracts.flight_contract.SeatDtosrc.flight.src.seat.features.v1.create-seat.create-seat.CreateSeatHandler→src.building-blocks.contracts.flight_contract.SeatDtosrc.flight.src.seat.features.v1.create-seat.create-seat.CreateSeatRequestDto→src.building-blocks.contracts.flight_contract.SeatClasssrc.flight.src.seat.features.v1.create-seat.create-seat.CreateSeatRequestDto→src.building-blocks.contracts.flight_contract.SeatType
- Direction
- flight.src.seat.features.v1.create-seat.create-seat uses building-blocks.contracts.flight_contract. Changing building-blocks.contracts.flight_contract can break flight.src.seat.features.v1.create-seat.create-seat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→5 flight.src.seat.features.v1.create-seat.create-seat depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in flight.src.seat.features.v1.create-seat.create-seat → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.flight.src.seat.features.v1.create-seat.create-seat.CreateSeat→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.flight.src.seat.features.v1.create-seat.create-seat.CreateSeatHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- flight.src.seat.features.v1.create-seat.create-seat uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break flight.src.seat.features.v1.create-seat.create-seat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→8 flight.src.seat.features.v1.create-seat.create-seat depends on building-blocks.rabbitmq.rabbitmq-publisher✕
- Type pairs
- 1 distinct (type in flight.src.seat.features.v1.create-seat.create-seat → type in building-blocks.rabbitmq.rabbitmq-publisher) reference.
- Which types
src.flight.src.seat.features.v1.create-seat.create-seat.CreateSeatHandler→src.building-blocks.rabbitmq.rabbitmq-publisher.IPublisher
- Direction
- flight.src.seat.features.v1.create-seat.create-seat uses building-blocks.rabbitmq.rabbitmq-publisher. Changing building-blocks.rabbitmq.rabbitmq-publisher can break flight.src.seat.features.v1.create-seat.create-seat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→20 flight.src.seat.features.v1.create-seat.create-seat depends on flight.src.data.repositories.flight_repository✕
- Type pairs
- 1 distinct (type in flight.src.seat.features.v1.create-seat.create-seat → type in flight.src.data.repositories.flight_repository) reference.
- Which types
src.flight.src.seat.features.v1.create-seat.create-seat.CreateSeatHandler→src.flight.src.data.repositories.flight_repository.IFlightRepository
- Direction
- flight.src.seat.features.v1.create-seat.create-seat uses flight.src.data.repositories.flight_repository. Changing flight.src.data.repositories.flight_repository can break flight.src.seat.features.v1.create-seat.create-seat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→26 flight.src.seat.features.v1.create-seat.create-seat depends on flight.src.data.repositories.seat_repository✕
- Type pairs
- 1 distinct (type in flight.src.seat.features.v1.create-seat.create-seat → type in flight.src.data.repositories.seat_repository) reference.
- Which types
src.flight.src.seat.features.v1.create-seat.create-seat.CreateSeatHandler→src.flight.src.data.repositories.seat_repository.ISeatRepository
- Direction
- flight.src.seat.features.v1.create-seat.create-seat uses flight.src.data.repositories.seat_repository. Changing flight.src.data.repositories.seat_repository can break flight.src.seat.features.v1.create-seat.create-seat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→1 flight.src.seat.features.v1.reserve-seat.reserve-seat depends on building-blocks.contracts.flight_contract✕
- Type pairs
- 3 distinct (type in flight.src.seat.features.v1.reserve-seat.reserve-seat → type in building-blocks.contracts.flight_contract) references.
- Which types
src.flight.src.seat.features.v1.reserve-seat.reserve-seat.ReserveSeatController→src.building-blocks.contracts.flight_contract.ReserveSeatRequestDtosrc.flight.src.seat.features.v1.reserve-seat.reserve-seat.ReserveSeatHandler→src.building-blocks.contracts.flight_contract.SeatDtosrc.flight.src.seat.features.v1.reserve-seat.reserve-seat.ReserveSeatRequestDto→src.building-blocks.contracts.flight_contract.ReserveSeatRequestDto
- Direction
- flight.src.seat.features.v1.reserve-seat.reserve-seat uses building-blocks.contracts.flight_contract. Changing building-blocks.contracts.flight_contract can break flight.src.seat.features.v1.reserve-seat.reserve-seat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→5 flight.src.seat.features.v1.reserve-seat.reserve-seat depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in flight.src.seat.features.v1.reserve-seat.reserve-seat → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.flight.src.seat.features.v1.reserve-seat.reserve-seat.ReserveSeat→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.flight.src.seat.features.v1.reserve-seat.reserve-seat.ReserveSeatHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- flight.src.seat.features.v1.reserve-seat.reserve-seat uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break flight.src.seat.features.v1.reserve-seat.reserve-seat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→8 flight.src.seat.features.v1.reserve-seat.reserve-seat depends on building-blocks.rabbitmq.rabbitmq-publisher✕
- Type pairs
- 1 distinct (type in flight.src.seat.features.v1.reserve-seat.reserve-seat → type in building-blocks.rabbitmq.rabbitmq-publisher) reference.
- Which types
src.flight.src.seat.features.v1.reserve-seat.reserve-seat.ReserveSeatHandler→src.building-blocks.rabbitmq.rabbitmq-publisher.IPublisher
- Direction
- flight.src.seat.features.v1.reserve-seat.reserve-seat uses building-blocks.rabbitmq.rabbitmq-publisher. Changing building-blocks.rabbitmq.rabbitmq-publisher can break flight.src.seat.features.v1.reserve-seat.reserve-seat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→20 flight.src.seat.features.v1.reserve-seat.reserve-seat depends on flight.src.data.repositories.flight_repository✕
- Type pairs
- 1 distinct (type in flight.src.seat.features.v1.reserve-seat.reserve-seat → type in flight.src.data.repositories.flight_repository) reference.
- Which types
src.flight.src.seat.features.v1.reserve-seat.reserve-seat.ReserveSeatHandler→src.flight.src.data.repositories.flight_repository.IFlightRepository
- Direction
- flight.src.seat.features.v1.reserve-seat.reserve-seat uses flight.src.data.repositories.flight_repository. Changing flight.src.data.repositories.flight_repository can break flight.src.seat.features.v1.reserve-seat.reserve-seat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→22 flight.src.seat.features.v1.reserve-seat.reserve-seat depends on flight.src.seat.entities.seat_entity✕
- Type pairs
- 1 distinct (type in flight.src.seat.features.v1.reserve-seat.reserve-seat → type in flight.src.seat.entities.seat_entity) reference.
- Which types
src.flight.src.seat.features.v1.reserve-seat.reserve-seat.ReserveSeatController→src.flight.src.seat.entities.seat_entity.Seat
- Direction
- flight.src.seat.features.v1.reserve-seat.reserve-seat uses flight.src.seat.entities.seat_entity. Changing flight.src.seat.entities.seat_entity can break flight.src.seat.features.v1.reserve-seat.reserve-seat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→26 flight.src.seat.features.v1.reserve-seat.reserve-seat depends on flight.src.data.repositories.seat_repository✕
- Type pairs
- 1 distinct (type in flight.src.seat.features.v1.reserve-seat.reserve-seat → type in flight.src.data.repositories.seat_repository) reference.
- Which types
src.flight.src.seat.features.v1.reserve-seat.reserve-seat.ReserveSeatHandler→src.flight.src.data.repositories.seat_repository.ISeatRepository
- Direction
- flight.src.seat.features.v1.reserve-seat.reserve-seat uses flight.src.data.repositories.seat_repository. Changing flight.src.data.repositories.seat_repository can break flight.src.seat.features.v1.reserve-seat.reserve-seat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→5 identity.src.auth.features.v1.generate-token.generate-token depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in identity.src.auth.features.v1.generate-token.generate-token → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.identity.src.auth.features.v1.generate-token.generate-token.GenerateToken→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.identity.src.auth.features.v1.generate-token.generate-token.GenerateTokenHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- identity.src.auth.features.v1.generate-token.generate-token uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break identity.src.auth.features.v1.generate-token.generate-token, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→9 identity.src.auth.features.v1.generate-token.generate-token depends on identity.src.auth.dtos.auth_dto✕
- Type pairs
- 1 distinct (type in identity.src.auth.features.v1.generate-token.generate-token → type in identity.src.auth.dtos.auth_dto) reference.
- Which types
src.identity.src.auth.features.v1.generate-token.generate-token.GenerateTokenHandler→src.identity.src.auth.dtos.auth_dto.AuthDto
- Direction
- identity.src.auth.features.v1.generate-token.generate-token uses identity.src.auth.dtos.auth_dto. Changing identity.src.auth.dtos.auth_dto can break identity.src.auth.features.v1.generate-token.generate-token, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→30 identity.src.auth.features.v1.generate-token.generate-token depends on identity.src.data.repositories.auth_repository✕
- Type pairs
- 1 distinct (type in identity.src.auth.features.v1.generate-token.generate-token → type in identity.src.data.repositories.auth_repository) reference.
- Which types
src.identity.src.auth.features.v1.generate-token.generate-token.GenerateTokenHandler→src.identity.src.data.repositories.auth_repository.IAuthRepository
- Direction
- identity.src.auth.features.v1.generate-token.generate-token uses identity.src.data.repositories.auth_repository. Changing identity.src.data.repositories.auth_repository can break identity.src.auth.features.v1.generate-token.generate-token, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→5 identity.src.auth.features.v1.refresh-token.refresh-token depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in identity.src.auth.features.v1.refresh-token.refresh-token → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.identity.src.auth.features.v1.refresh-token.refresh-token.RefreshToken→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.identity.src.auth.features.v1.refresh-token.refresh-token.RefreshTokenHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- identity.src.auth.features.v1.refresh-token.refresh-token uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break identity.src.auth.features.v1.refresh-token.refresh-token, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→9 identity.src.auth.features.v1.refresh-token.refresh-token depends on identity.src.auth.dtos.auth_dto✕
- Type pairs
- 2 distinct (type in identity.src.auth.features.v1.refresh-token.refresh-token → type in identity.src.auth.dtos.auth_dto) references.
- Which types
src.identity.src.auth.features.v1.refresh-token.refresh-token.RefreshTokenController→src.identity.src.auth.dtos.auth_dto.AuthDtosrc.identity.src.auth.features.v1.refresh-token.refresh-token.RefreshTokenHandler→src.identity.src.auth.dtos.auth_dto.AuthDto
- Direction
- identity.src.auth.features.v1.refresh-token.refresh-token uses identity.src.auth.dtos.auth_dto. Changing identity.src.auth.dtos.auth_dto can break identity.src.auth.features.v1.refresh-token.refresh-token, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→30 identity.src.auth.features.v1.refresh-token.refresh-token depends on identity.src.data.repositories.auth_repository✕
- Type pairs
- 1 distinct (type in identity.src.auth.features.v1.refresh-token.refresh-token → type in identity.src.data.repositories.auth_repository) reference.
- Which types
src.identity.src.auth.features.v1.refresh-token.refresh-token.RefreshTokenHandler→src.identity.src.data.repositories.auth_repository.IAuthRepository
- Direction
- identity.src.auth.features.v1.refresh-token.refresh-token uses identity.src.data.repositories.auth_repository. Changing identity.src.data.repositories.auth_repository can break identity.src.auth.features.v1.refresh-token.refresh-token, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→5 identity.src.auth.features.v1.validate-token.validate-token depends on building-blocks.mediatr-js.mediatr-js✕
- Type pairs
- 2 distinct (type in identity.src.auth.features.v1.validate-token.validate-token → type in building-blocks.mediatr-js.mediatr-js) references.
- Which types
src.identity.src.auth.features.v1.validate-token.validate-token.ValidateToken→src.building-blocks.mediatr-js.mediatr-js.IRequestsrc.identity.src.auth.features.v1.validate-token.validate-token.ValidateTokenHandler→src.building-blocks.mediatr-js.mediatr-js.IRequestHandler
- Direction
- identity.src.auth.features.v1.validate-token.validate-token uses building-blocks.mediatr-js.mediatr-js. Changing building-blocks.mediatr-js.mediatr-js can break identity.src.auth.features.v1.validate-token.validate-token, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→10 identity.src.auth.features.v1.validate-token.validate-token depends on identity.src.auth.enums.token-type_enum✕
- Type pairs
- 1 distinct (type in identity.src.auth.features.v1.validate-token.validate-token → type in identity.src.auth.enums.token-type_enum) reference.
- Which types
src.identity.src.auth.features.v1.validate-token.validate-token.ValidateToken→src.identity.src.auth.enums.token-type_enum.TokenType
- Direction
- identity.src.auth.features.v1.validate-token.validate-token uses identity.src.auth.enums.token-type_enum. Changing identity.src.auth.enums.token-type_enum can break identity.src.auth.features.v1.validate-token.validate-token, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→23 identity.src.auth.features.v1.validate-token.validate-token depends on identity.src.auth.entities.token_entity✕
- Type pairs
- 1 distinct (type in identity.src.auth.features.v1.validate-token.validate-token → type in identity.src.auth.entities.token_entity) reference.
- Which types
src.identity.src.auth.features.v1.validate-token.validate-token.ValidateTokenHandler→src.identity.src.auth.entities.token_entity.Token
- Direction
- identity.src.auth.features.v1.validate-token.validate-token uses identity.src.auth.entities.token_entity. Changing identity.src.auth.entities.token_entity can break identity.src.auth.features.v1.validate-token.validate-token, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→30 identity.src.auth.features.v1.validate-token.validate-token depends on identity.src.data.repositories.auth_repository✕
- Type pairs
- 1 distinct (type in identity.src.auth.features.v1.validate-token.validate-token → type in identity.src.data.repositories.auth_repository) reference.
- Which types
src.identity.src.auth.features.v1.validate-token.validate-token.ValidateTokenHandler→src.identity.src.data.repositories.auth_repository.IAuthRepository
- Direction
- identity.src.auth.features.v1.validate-token.validate-token uses identity.src.data.repositories.auth_repository. Changing identity.src.data.repositories.auth_repository can break identity.src.auth.features.v1.validate-token.validate-token, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→7 identity.test.shared.fixtures.integration-test_fixture depends on building-blocks.rabbitmq.rabbitmq-consumer✕
- Type pairs
- 1 distinct (type in identity.test.shared.fixtures.integration-test_fixture → type in building-blocks.rabbitmq.rabbitmq-consumer) reference.
- Which types
src.identity.test.shared.fixtures.integration-test_fixture.Fixture→src.building-blocks.rabbitmq.rabbitmq-consumer.IConsumer
- Direction
- identity.test.shared.fixtures.integration-test_fixture uses building-blocks.rabbitmq.rabbitmq-consumer. Changing building-blocks.rabbitmq.rabbitmq-consumer can break identity.test.shared.fixtures.integration-test_fixture, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→8 identity.test.shared.fixtures.integration-test_fixture depends on building-blocks.rabbitmq.rabbitmq-publisher✕
- Type pairs
- 1 distinct (type in identity.test.shared.fixtures.integration-test_fixture → type in building-blocks.rabbitmq.rabbitmq-publisher) reference.
- Which types
src.identity.test.shared.fixtures.integration-test_fixture.Fixture→src.building-blocks.rabbitmq.rabbitmq-publisher.IPublisher
- Direction
- identity.test.shared.fixtures.integration-test_fixture uses building-blocks.rabbitmq.rabbitmq-publisher. Changing building-blocks.rabbitmq.rabbitmq-publisher can break identity.test.shared.fixtures.integration-test_fixture, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→13 identity.test.shared.fixtures.integration-test_fixture depends on building-blocks.rabbitmq.rabbitmq-connection✕
- Type pairs
- 1 distinct (type in identity.test.shared.fixtures.integration-test_fixture → type in building-blocks.rabbitmq.rabbitmq-connection) reference.
- Which types
src.identity.test.shared.fixtures.integration-test_fixture.Fixture→src.building-blocks.rabbitmq.rabbitmq-connection.RabbitMQConnection
- Direction
- identity.test.shared.fixtures.integration-test_fixture uses building-blocks.rabbitmq.rabbitmq-connection. Changing building-blocks.rabbitmq.rabbitmq-connection can break identity.test.shared.fixtures.integration-test_fixture, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→24 identity.test.shared.fixtures.integration-test_fixture depends on identity.src.data.repositories.user_repository✕
- Type pairs
- 1 distinct (type in identity.test.shared.fixtures.integration-test_fixture → type in identity.src.data.repositories.user_repository) reference.
- Which types
src.identity.test.shared.fixtures.integration-test_fixture.Fixture→src.identity.src.data.repositories.user_repository.IUserRepository
- Direction
- identity.test.shared.fixtures.integration-test_fixture uses identity.src.data.repositories.user_repository. Changing identity.src.data.repositories.user_repository can break identity.test.shared.fixtures.integration-test_fixture, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→30 identity.test.shared.fixtures.integration-test_fixture depends on identity.src.data.repositories.auth_repository✕
- Type pairs
- 1 distinct (type in identity.test.shared.fixtures.integration-test_fixture → type in identity.src.data.repositories.auth_repository) reference.
- Which types
src.identity.test.shared.fixtures.integration-test_fixture.Fixture→src.identity.src.data.repositories.auth_repository.IAuthRepository
- Direction
- identity.test.shared.fixtures.integration-test_fixture uses identity.src.data.repositories.auth_repository. Changing identity.src.data.repositories.auth_repository can break identity.test.shared.fixtures.integration-test_fixture, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2021 — Security Misconfiguration | 305 | REDACTED / Critical |
| A03:2021 — Injection | 13 | REDACTED / Critical |
| A02:2021 — Cryptographic Failures | 5 | REDACTED / Critical |
| A06:2021 — Vulnerable & Outdated Components | 2 | REDACTED |
Roadmap
First, enforce strict separation between domain logic and infrastructure by keeping entities framework-free and using repositories for data mapping. Second, integrate security scanning into the CI pipeline to prevent regressions, while simultaneously cleaning up unused dependencies and moving test-only packages to development. Finally, establish disaster recovery procedures in infrastructure code and improve test coverage by refactoring unreachable entry points into importable modules.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Keep the ORM/table mapping on a boundary data-model + mapper; leave the domain entity framework-free (map row↔domain through a repository). | +19.0 pts | REDACTED | Domain ↔ infrastructure boundary |
| 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. | +9.6 pts | REDACTED | Security & performance tooling |
| Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery. | +9.6 pts | REDACTED | DR & Backup |
| Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies. | +9.6 pts | REDACTED | Dependency Hygiene |
| 5 of the 83 unreached modules are entry points — something executes or loads them by path at run time, so no import specifier addresses them and no public entry publishes them. An importing test cannot be written for them as they ship, and two different things are worth doing here — they are not the same thing. To EXERCISE them, a test that runs the script the way its caller does; that is worth having, but it will NOT clear this row, because reachability is measured over the import graph and running a file by path adds no edge to it. To CLEAR it, make them addressable: lift the logic into a module a test can import and leave the entry points thin shims over it, or put their bodies behind a main-guard (`import.meta.url === argv[1]`) and export them. Add tests that import the other 78 — directly or through their public entry. | +9.4 pts | REDACTED | Test Coverage |
| Add an approval/environment gate (required reviewers / protection rules) before production promotion. | +5.1 pts | REDACTED | Deployment & Rollback |
| Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. | +1.6 pts | Low | Knowledge Freshness |
| Resolve the 2 Documentation finding(s) in Documentation Quality — start with README.md (2). | +1.3 pts | Low | Documentation Quality |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 1.3 | Slop | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 5.1 | Mixed | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 5.8 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): REDACTED: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): REDACTED: REDACTED |
| REDACTED | 6.1 | Mixed | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 6.1 | Mixed | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 6.1 | Mixed | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 6.1 | Mixed | IaC & Container Security: REDACTED IaC: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
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. 37 of 40 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — 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 — 40 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, 441 of 461 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
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability not scored — the JavaScript/TypeScript suite (jest via `npm install --ignore-scripts` (no lockfile) in src/booking/ (0 tests); jest via `npm install --ignore-scripts` (no lockfile) in src/flight/ (0 tests); jest via `npm install --ignore-scripts` (no lockfile) in src/passenger/ (0 tests)) ran but surfaced no test cases to the runner, so flakiness couldn't be exercised.
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — 179 production npm declaration(s) across 5 package.json (5 of them the product) were read for PINNING discipline (1 defect(s) reported), but the outdated/deprecated signal needs registry.npmjs.org, and no committed lockfile here resolves to the concrete versions that question is asked about, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — this repository declares package.json manifests but commits no lockfile this pass can resolve (npm, pnpm, yarn and bun each write a different one, and `bun.lockb` is a binary format with no published shape), so the set of packages it actually ships is not resolvable from the checkout: its declarations carry version RANGES, and grading whichever release happens to be newest today would be a verdict about a dependency graph this repository has not pinned. Commit the lock and this dimension grades its production dependencies against registry.npmjs.org. NOT a finding that this repository's licences are compliant: this dimension asserts nothing about its licensing in either direction.
- 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 (2 contributor(s) across 170 commit(s) sampled, automation and bot accounts excluded). One of them holds 98% of the history; the other 1 hold 2% 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.
- D22 Internal API Consistency — 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. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: D22 has no public-API collector for any other ecosystem, and the remedy is to write one — no change to the scan image can close it.
- D30 Dependency Vulnerabilities — measured, with a gap in what it reached — 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. The scanner produced no output at all, so no dependency was actually scanned. 1 of 2 declared ecosystem(s) (npm) WERE scanned and every vulnerability they reported is included in this result; REDACTED was not, so this dimension's score covers less than the dependency surface this repository declares, and nothing here is evidence that REDACTED is free of known-vulnerable dependencies.
- 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. `src/building-blocks/logging/logger.js`, `src/identity/jest.config.ts` 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.
- D43 Malicious Dependencies — measured, with a gap in what it reached — 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. The scanner produced no output at all, so no dependency was actually scanned. 1 of 2 declared ecosystem(s) (npm) WERE scanned and every vulnerability they reported is included in this result; REDACTED was not, so this dimension's score covers less than the dependency surface this repository declares, and nothing here is evidence that REDACTED is free of known-vulnerable dependencies.
- 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, 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 (go.mod, a Gemfile's ruby directive, a REDACTED) is simply not read here yet.
- AX3 Project dependency cycles — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over which project references which — facts that live in .csproj references. This repository either commits no MSBuild project at all (its C# may still have been parsed as syntax-only projects, which carry no references between them) or its projects failed to load, so there was no graph to read. That is a gap in this analyzer's reach — not a finding that the repository is free of what this check looks for.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX8 Test isolation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over which projects are test projects, and what they reference — facts that live in .csproj references. This repository either commits no MSBuild project at all (its C# may still have been parsed as syntax-only projects, which carry no references between them) or its projects failed to load, so there was no graph to read. That is a gap in this analyzer's reach — not a finding that the repository is free of what this check looks for.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- DM1 Aggregate boundaries — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored for TypeScript: a class holding another class reads the same whether the inner type is an aggregate or a value object, so this cannot be decided from source without guessing — reported as guidance rather than measured.
- DM2 Strongly-typed ids — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored for TypeScript: branded ids (`type Id = string & { __brand }`) are an uncommon idiom, so a bare-string id is not on its own evidence of a missing typed id — reported as guidance rather than measured.
- DM3 Integration-event coupling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored for TypeScript: a domain type used across packages is indistinguishable in source from a deliberate shared-kernel package, so this is reported as guidance rather than measured.
- DM4 Rich vs anemic model — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored for TypeScript: telling a rich domain entity from an anemic data holder needs the behaviour a source-only read cannot always attribute (components, DTOs and readonly value objects are all legitimately data-shaped), so this is reported as guidance rather than measured.
- DM5 Encapsulated state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored for TypeScript: the language already steers state behind #private/private/readonly, so a mutable public field is rare enough that we report this as guidance rather than measuring it.
- DM7 Repository granularity — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored for TypeScript: deciding whether a repository belongs to an aggregate root needs the aggregate structure, which source alone does not state — reported as guidance rather than measured.
- ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- R4 Test Coverage — 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. 44 further occurrence(s) are not listed individually; the score already reflects all 84.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X32 Type resolved by simple name across every loaded assembly — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
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.
- 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.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- 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.
- D40 Network Egress Confinement: Egress confinement is read from committed Kubernetes manifests — a policy applied out-of-band (cluster-default deny, a service mesh, or a cloud firewall/security group off-repo) is invisible, and a present NetworkPolicy is declared config, not proof the cluster admission-controller actually enforces it at runtime.
- D41 Kernel & Syscall Confinement: Syscall/MAC confinement is read from committed manifests — a profile applied by a cluster-wide PodSecurity default or a mutating webhook off-repo isn't seen, and a declared seccomp/AppArmor profile is config presence, not proof the node's kernel actually loaded and enforced it.
- 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.
- 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".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
- 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
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
1 method(s) exceeded the cognitive complexity threshold of 15; the worst was REDACTED.expressAuthentication at 29.
What to do
- Resolve the 1 REDACTED.expressAuthentication (cognitive 29) finding(s) in Cognitive Complexity — start with REDACTED.ts. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
0 god class(es) detected.
D9 · Test Distribution
3 test methods: 3 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 3 `it`/`test` case(s) across 3 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 3 tests.
D13 · REDACTED Scanning
REDACTED scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 4887 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The README is a well-structured single document with an impressive table of contents (Goals, Plan, Technologies - Libraries, The Domain and Bounded Context - Service Boundary, Structure of Project, How to Use Migrations, How to Run, Documentation Apis, Support, Contribution) plus links to CI, license, GitHub Codespaces, and a Kubernetes manifests README. It is clear and complete for an express/Node.Js microservices project but lacks the installation/build setup (which appears only in the table of contents outline), any usage examples beyond the How-to-Run section, and contribution guidance.
What to do
- Resolve the 2 Documentation finding(s) in Documentation Quality — start with README.md (2). — One of this dimension's main actionable groups (2 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D28 · Secrets (history)
4 finding(s): 0 critical, 4 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 4 REDACTED finding(s) in Secrets (history) — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
13 finding(s): 0 critical, 4 high, 9 medium, 0 low. 3 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 5 file(s) — `REDACTED` (lines 85–116), `src/building-blocks/logging/logger.js` (line 56, line 57, line 65, …), `REDACTED` (lines 84–115), `src/identity/jest.config.ts` (line 9), `REDACTED` (lines 84–115) — 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.
What to do
- Resolve the 9 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (9 warning-level).
- Resolve the 1 REDACTED finding(s) charged to Static Analysis (SAST) — the other 3 are reported here at file:line but scored by D36 (supply-chain provenance), which charges them once. — One of this dimension's main actionable groups (4 issue-level, 1 of them charged here).
D30 · Dependency Vulnerabilities
No known-vulnerable dependencies in the 1 ecosystem(s) that were scanned (npm). Partial dependency scan: 1 of 2 declared ecosystem(s) were scanned (npm), and the findings above are real and complete for them. REDACTED was not scanned (REDACTED: the scanner produced no output at all, so no dependency was actually scanned), so this is not the whole dependency surface and the result is reported at reduced confidence.
D31 · IaC & Container Security
305 finding(s): 0 critical, 23 high, 237 medium, 45 low.
What to do
- Resolve the 237 REDACTED IaC finding(s) in IaC & Container Security — start with REDACTED (26), REDACTED (26), REDACTED (26). — One of this dimension's main actionable groups (237 warning-level).
- Resolve the 23 REDACTED IaC finding(s) in IaC & Container Security — start with REDACTED (12), REDACTED, REDACTED. — One of this dimension's main actionable groups (23 issue-level).
- Resolve the 45 Low IaC finding(s) in IaC & Container Security — start with REDACTED (5), REDACTED (5), REDACTED (5). — One of this dimension's main actionable groups (45 recommendation-level).
D34 · Knowledge Freshness
18 of 19 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/building-blocks/logging/logger.ts. Counted over 19 of the 148 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D40 · Network Egress Confinement
0/2 network-egress controls present (network policy, egress restriction).
What to do
- Resolve the 1 No network policy finding(s) in Network Egress Confinement. — One of this dimension's main actionable groups (1 recommendation-level).
D41 · Kernel & Syscall Confinement
0/2 syscall-confinement controls present (seccomp, AppArmor/SELinux).
What to do
- Resolve the 1 No seccomp profile finding(s) in Kernel & Syscall Confinement. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 No AppArmor/SELinux confinement finding(s) in Kernel & Syscall Confinement. — One of this dimension's main actionable groups (1 recommendation-level).
D43 · Malicious Dependencies
No known-vulnerable dependencies in the 1 ecosystem(s) that were scanned (npm). Partial dependency scan: 1 of 2 declared ecosystem(s) were scanned (npm), and the findings above are real and complete for them. REDACTED was not scanned (REDACTED: the scanner produced no output at all, so no dependency was actually scanned), so this is not the whole dependency surface and the result is reported at reduced confidence.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX5 · Architecture & structure
DM6 · Domain ↔ infrastructure boundary
- Booking is a domain type carrying TypeORM (@Entity/@Column) persistence decorators fused ON ITS OWN DECLARATION in the domain layer (with domain behaviour, no separated infrastructure model) — a domain ↔ infrastructure leak: the domain entity IS the persistence row (an active-record fusion). Separate the persistence model from the domain aggregate with a mapper. — src/booking/src/booking/entities/booking.entity.ts:3
- Airport is a domain type carrying TypeORM (@Entity/@Column) persistence decorators fused ON ITS OWN DECLARATION in the domain layer (with domain behaviour, no separated infrastructure model) — a domain ↔ infrastructure leak: the domain entity IS the persistence row (an active-record fusion). Separate the persistence model from the domain aggregate with a mapper. — src/flight/src/airport/entities/airport.entity.ts:4
- Seat is a domain type carrying TypeORM (@Entity/@Column) persistence decorators fused ON ITS OWN DECLARATION in the domain layer (with domain behaviour, no separated infrastructure model) — a domain ↔ infrastructure leak: the domain entity IS the persistence row (an active-record fusion). Separate the persistence model from the domain aggregate with a mapper. — src/flight/src/seat/entities/seat.entity.ts:6
- Flight is a domain type carrying TypeORM (@Entity/@Column) persistence decorators fused ON ITS OWN DECLARATION in the domain layer (with domain behaviour, no separated infrastructure model) — a domain ↔ infrastructure leak: the domain entity IS the persistence row (an active-record fusion). Separate the persistence model from the domain aggregate with a mapper. — src/flight/src/flight/entities/flight.entity.ts:13
- Aircraft is a domain type carrying TypeORM (@Entity/@Column) persistence decorators fused ON ITS OWN DECLARATION in the domain layer (with domain behaviour, no separated infrastructure model) — a domain ↔ infrastructure leak: the domain entity IS the persistence row (an active-record fusion). Separate the persistence model from the domain aggregate with a mapper. — src/flight/src/aircraft/entities/aircraft.entity.ts:4
- Token is a domain type carrying TypeORM (@Entity/@Column) persistence decorators fused ON ITS OWN DECLARATION in the domain layer (with domain behaviour, no separated infrastructure model) — a domain ↔ infrastructure leak: the domain entity IS the persistence row (an active-record fusion). Separate the persistence model from the domain aggregate with a mapper. — src/identity/src/auth/entities/token.entity.ts:5
- User is a domain type carrying TypeORM (@Entity/@Column) persistence decorators fused ON ITS OWN DECLARATION in the domain layer (with domain behaviour, no separated infrastructure model) — a domain ↔ infrastructure leak: the domain entity IS the persistence row (an active-record fusion). Separate the persistence model from the domain aggregate with a mapper. — src/identity/src/user/entities/user.entity.ts:5
- Passenger is a domain type carrying TypeORM (@Entity/@Column) persistence decorators fused ON ITS OWN DECLARATION in the domain layer (with domain behaviour, no separated infrastructure model) — a domain ↔ infrastructure leak: the domain entity IS the persistence row (an active-record fusion). Separate the persistence model from the domain aggregate with a mapper. — src/passenger/src/passenger/entities/passenger.entity.ts:4
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).
M1 · Documentation (README)
What to do
- Add a 'Testing' section to the root README — how to run the test suite.
- Add a README to the 5 of 5 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
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 1559 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
What to do
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P6 · Release Hygiene
R1 · Type Safety
What to do
- Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication
- 47 duplicated blocks under src/ have copies in at least two of the sibling directories booking, building-blocks, flight, identity, passenger — 24 of them are reported below, and 23 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 47 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 47 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 47 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. — src/identity/src/user/features/v1/get-users/get-users.ts:11
- src/flight/src/aircraft/features/v1/create-aircraft/create-aircraft.ts:14 · src/flight/src/airport/features/v1/create-airport/create-airport.ts:14 — 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. — src/flight/src/aircraft/features/v1/create-aircraft/create-aircraft.ts:14
- src/identity/src/user/features/v1/get-users/get-users.ts:11 · src/passenger/src/passenger/features/v1/get-passengers/get-passengers.ts:11 — 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. — src/identity/src/user/features/v1/get-users/get-users.ts:11
- src/booking/src/app.ts:1 · src/flight/src/app.ts:1 · src/identity/src/app.ts:1 · src/passenger/src/app.ts:1 — these 4 files are line-for-line copies of one another — 52 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — src/booking/src/app.ts:1
- src/booking/src/booking/features/v1/create-booking/create-booking.ts:16 · src/flight/src/aircraft/features/v1/create-aircraft/create-aircraft.ts:14 · src/flight/src/airport/features/v1/create-airport/create-airport.ts:14 — the 3 copies are spread across 3 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. — src/booking/src/booking/features/v1/create-booking/create-booking.ts:16
- src/flight/src/seat/features/v1/create-seat/create-seat.ts:47 · src/flight/src/seat/features/v1/reserve-seat/reserve-seat.ts:35 — 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. — src/flight/src/seat/features/v1/create-seat/create-seat.ts:47
- src/flight/src/flight/features/v1/create-flight/create-flight.ts:67 · src/identity/src/user/features/v1/create-user/create-user.ts:46 — 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. — src/flight/src/flight/features/v1/create-flight/create-flight.ts:67
- src/flight/src/flight/features/v1/get-flight-by-id/get-flight-by-id.ts:11 · src/passenger/src/passenger/features/v1/get-passenger-by-id/get-passenger-by-id.ts:11 — 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. — src/flight/src/flight/features/v1/get-flight-by-id/get-flight-by-id.ts:11
- src/building-blocks/rabbitmq/rabbitmq-consumer.ts:14 · src/building-blocks/rabbitmq/rabbitmq-publisher.ts:13 — the two spans are one implementation copied and then locally edited — 224 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. — src/building-blocks/rabbitmq/rabbitmq-consumer.ts:14
- src/identity/src/user/features/v1/create-user/create-user.ts:18 · src/identity/src/user/features/v1/update-user/update-user.ts:18 — 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. — src/identity/src/user/features/v1/create-user/create-user.ts:18
- src/booking/src/booking/mappings.ts:5 · src/flight/src/seat/mappings.ts:5 · src/identity/src/user/mapping.ts:5 — the 3 copies are spread across 3 files, and each CITED SPAN is a SPECIALISATION DECLARATION — a type whose `extends` clause names a base and whose body hands that base its own values through `super(…)`. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the `super(…)` call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row — there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base — a type argument, a service, an alias, a cache — the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited. — src/booking/src/booking/mappings.ts:5
- src/identity/src/user/features/v1/delete-user-by-id/delete-user-by-id.ts:14 · src/identity/src/user/features/v1/get-user-by-id/get-user-by-id.ts:11 · src/passenger/src/passenger/features/v1/get-passenger-by-id/get-passenger-by-id.ts:11 — the 3 copies are spread across 3 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. — src/identity/src/user/features/v1/delete-user-by-id/delete-user-by-id.ts:14
- src/identity/src/data/repositories/user.repository.ts:45 · src/passenger/src/data/repositories/passenger.repository.ts:35 — 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. — src/identity/src/data/repositories/user.repository.ts:45
- src/booking/src/booking/http-client/services/flight/flight.client.ts:17 · src/booking/src/booking/http-client/services/passenger/passenger.client.ts:8 — 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. — src/booking/src/booking/http-client/services/flight/flight.client.ts:17
- src/flight/src/aircraft/entities/aircraft.entity.ts:4 · src/flight/src/airport/entities/airport.entity.ts:4 — 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. — src/flight/src/aircraft/entities/aircraft.entity.ts:4
- src/flight/src/aircraft/mappings.ts:5 · src/flight/src/airport/mappings.ts:5 · src/flight/src/flight/mappings.ts:5 · src/flight/src/seat/mappings.ts:5 · +2 more site(s) not listed — the 6 copies are spread across 6 files, and each CITED SPAN is a SPECIALISATION DECLARATION — a type whose `extends` clause names a base and whose body hands that base its own values through `super(…)`. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the `super(…)` call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row — there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base — a type argument, a service, an alias, a cache — the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited. — src/flight/src/aircraft/mappings.ts:5
- src/flight/src/flight/entities/flight.entity.ts:15 · src/identity/src/user/entities/user.entity.ts:13 — 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. — src/flight/src/flight/entities/flight.entity.ts:15
- src/flight/src/flight/features/v1/get-flight-by-id/get-flight-by-id.ts:11 · src/flight/src/seat/features/v1/get-available-seats/get-available-seats.ts:10 — 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. — src/flight/src/flight/features/v1/get-flight-by-id/get-flight-by-id.ts:11
- src/identity/src/user/entities/user.entity.ts:10 · src/passenger/src/passenger/entities/passenger.entity.ts:6 — 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. — src/identity/src/user/entities/user.entity.ts:10
- src/booking/src/booking/mappings.ts:50 · src/flight/src/aircraft/mappings.ts:26 · src/flight/src/airport/mappings.ts:26 · src/flight/src/flight/mappings.ts:58 · +2 more site(s) not listed — the 6 copies are spread across 6 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. — src/booking/src/booking/mappings.ts:50
- src/building-blocks/types/exception/application.exception.ts:7 · src/building-blocks/types/exception/conflict.exception.ts:7 · src/building-blocks/types/exception/forbidden.exception.ts:7 · src/building-blocks/types/exception/http-client.exception.ts:7 · +2 more site(s) not listed — the 6 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — src/building-blocks/types/exception/application.exception.ts:7
- src/flight/src/data/db.context.ts:9 · src/identity/src/data/db.context.ts:9 — 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. — src/flight/src/data/db.context.ts:9
- src/identity/src/auth/features/v1/login/login.ts:33 · src/identity/src/auth/features/v1/refresh-token/refresh-token.ts:25 — 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. — src/identity/src/auth/features/v1/login/login.ts:33
- src/booking/src/booking/entities/booking.entity.ts:1 · src/flight/src/aircraft/entities/aircraft.entity.ts:2 · src/flight/src/airport/entities/airport.entity.ts:2 · src/identity/src/auth/entities/token.entity.ts:3 · +1 more site(s) not listed — the 5 copies are spread across 5 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. — src/booking/src/booking/entities/booking.entity.ts:1
- src/booking/src/extensions/rabbitmq.extensions.ts:6 · src/flight/src/extensions/rabbitmq.extensions.ts:6 · src/identity/src/extensions/rabbitmq.extensions.ts:6 — the 3 copies are spread across 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — src/booking/src/extensions/rabbitmq.extensions.ts:6
- src/booking/src/extensions/rabbitmq.extensions.ts:2 · src/flight/src/extensions/rabbitmq.extensions.ts:2 · src/identity/src/extensions/rabbitmq.extensions.ts:2 · src/passenger/src/extensions/rabbitmq.extensions.ts:3 — the 4 copies are spread across 4 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. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — src/booking/src/extensions/rabbitmq.extensions.ts:2
- src/building-blocks/contracts/flight.contract.ts:42 · src/building-blocks/contracts/flight.contract.ts:92 — 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. — src/building-blocks/contracts/flight.contract.ts:42
- src/building-blocks/contracts/identity.contract.ts:35 · src/building-blocks/contracts/passenger.contract.ts:2 — 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. — src/building-blocks/contracts/identity.contract.ts:35
- src/booking/src/booking/mappings.ts:16 · src/flight/src/seat/mappings.ts:24 · src/identity/src/auth/mappings.ts:12 · src/identity/src/user/mapping.ts:24 — the 4 copies are spread across 4 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. — src/booking/src/booking/mappings.ts:16
- src/building-blocks/rabbitmq/rabbitmq-connection.ts:38 · src/building-blocks/rabbitmq/rabbitmq-connection.ts:82 — the two spans are one implementation copied and then locally edited — 67 tokens are still identical, in the same order in both spans, 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. — src/building-blocks/rabbitmq/rabbitmq-connection.ts:38
- src/building-blocks/contracts/flight.contract.ts:105 · src/flight/src/seat/features/v1/reserve-seat/reserve-seat.ts:17 · src/identity/src/auth/features/v1/login/login.ts:14 — the 3 copies are spread across 3 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. — src/building-blocks/contracts/flight.contract.ts:105
- src/building-blocks/error-handler/error-handler.ts:16 · src/building-blocks/error-handler/error-handler.ts:31 · src/building-blocks/error-handler/error-handler.ts:46 · src/building-blocks/error-handler/error-handler.ts:61 · +4 more site(s) not listed — all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. — src/building-blocks/error-handler/error-handler.ts:16
- src/flight/src/flight/features/v1/get-flight-by-id/get-flight-by-id.ts:11 · src/flight/src/seat/features/v1/get-available-seats/get-available-seats.ts:10 · src/identity/src/auth/features/v1/logout/logout.ts:10 · src/identity/src/auth/features/v1/refresh-token/refresh-token.ts:13 — the 4 copies are spread across 4 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. — src/flight/src/flight/features/v1/get-flight-by-id/get-flight-by-id.ts:11
- src/identity/src/auth/features/v1/generate-token/generate-token.ts:12 · src/identity/src/user/features/v1/delete-user-by-id/delete-user-by-id.ts:14 · src/identity/src/user/features/v1/get-user-by-id/get-user-by-id.ts:11 · src/passenger/src/passenger/features/v1/get-passenger-by-id/get-passenger-by-id.ts:11 — the 4 copies are spread across 4 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. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — src/identity/src/auth/features/v1/generate-token/generate-token.ts:12
- src/booking/src/booking/entities/booking.entity.ts:33 · src/flight/src/seat/entities/seat.entity.ts:35 · src/passenger/src/passenger/entities/passenger.entity.ts:23 — the 3 copies are spread across 3 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. — src/booking/src/booking/entities/booking.entity.ts:33
- src/booking/src/booking/features/v1/create-booking/create-booking.ts:28 · src/flight/src/aircraft/features/v1/create-aircraft/create-aircraft.ts:26 · src/flight/src/airport/features/v1/create-airport/create-airport.ts:26 · src/flight/src/flight/features/v1/create-flight/create-flight.ts:41 · +4 more site(s) not listed — the 8 copies are spread across 8 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. — src/booking/src/booking/features/v1/create-booking/create-booking.ts:28
- src/booking/src/data/db.context.ts:6 · src/passenger/src/data/db.context.ts:6 — 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. — src/booking/src/data/db.context.ts:6
- src/identity/src/data/repositories/auth.repository.ts:8 · src/identity/src/data/repositories/auth.repository.ts:30 — the two spans are one implementation copied and then locally edited — 75 tokens are still identical, in the same order in both spans, 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. — src/identity/src/data/repositories/auth.repository.ts:8
- src/flight/src/extensions/mediatr.extensions.ts:24 · src/identity/src/extensions/mediatr.extensions.ts:21 — 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. — src/flight/src/extensions/mediatr.extensions.ts:24
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
R3 · Large Files
R4 · Test Coverage
- src/identity/test/shared/fixtures/integration-test.fixture.ts:3 imports '../../../src/routes/routes', which names no file in this repository — and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing. — src/identity/test/shared/fixtures/integration-test.fixture.ts
- 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. (×39) — src/building-blocks/contracts/flight.contract.ts, src/flight/src/flight/features/v1/create-flight/create-flight.ts, src/flight/src/data/seeds/flight.seed.ts, …
What to do
- 5 of the 83 unreached modules are entry points — something executes or loads them by path at run time, so no import specifier addresses them and no public entry publishes them. An importing test cannot be written for them as they ship, and two different things are worth doing here — they are not the same thing. To EXERCISE them, a test that runs the script the way its caller does; that is worth having, but it will NOT clear this row, because reachability is measured over the import graph and running a file by path adds no edge to it. To CLEAR it, make them addressable: lift the logic into a module a test can import and leave the entry points thin shims over it, or put their bodies behind a main-guard (`import.meta.url === argv[1]`) and export them. Add tests that import the other 78 — directly or through their public entry.
R6 · Tooling
- This repository declares test tooling, and the ✓ above records that declaration — but src/identity/test/shared/fixtures/integration-test.fixture.ts cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) — each one is reported with its failing import under Test Coverage — then the declared script exercises what it claims to. — src/identity/test/shared/fixtures/integration-test.fixture.ts
R7 · Dead Code
- Unreachable from the 10 application, 49 tooling and 14 test entry point(s) detected in this repo. Gate removals on `npm run dev` — an undetected custom entry would make these reachable.
- no import path from any entry point (10 application, 49 tooling, 14 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×6) — src/building-blocks/jwt/jwt.ts, src/flight/src/data/migrations/1702553492495-create-flight-table.ts, src/identity/src/auth/mappings.ts, …
- Nothing imports this binding — it is safe to review for removal. (×18) — src/booking/src/booking/features/v1/create-booking/create-booking.ts:43, src/flight/src/aircraft/features/v1/create-aircraft/create-aircraft.ts:41, src/flight/src/airport/features/v1/create-airport/create-airport.ts:41, …
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Imported but not declared in any reachable package.json — installs work only by hoisting accident. — src/identity/src/auth/features/v1/generate-token/generate-token.ts:4
- Declared in src/booking/package.json 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. (×3)
- Only test files import it — move it to devDependencies. — src/identity/test/unit-test/user/features/create-user.test.ts:2
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
- src/flight/src/aircraft/entities/aircraft.entity.ts → src/flight/src/flight/entities/flight.entity.ts → src/flight/src/aircraft/entities/aircraft.entity.ts (one verified cycle inside a mutually-dependent group of 4 files) — src/flight/src/aircraft/entities/aircraft.entity.ts
- src/identity/src/auth/entities/token.entity.ts → src/identity/src/user/entities/user.entity.ts → src/identity/src/auth/entities/token.entity.ts — src/identity/src/auth/entities/token.entity.ts
What to do
- Break each cycle by extracting the shared piece into a module both sides can import.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 83% | Strong | Strongest area. |
| Architecture | 83% | Strong | Solid. |
| Maturity | 67% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 30% | Weak — gated by R4, R8, P3, P5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 55% | Adequate — gated by D31 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 10% | Critical — gated by DM6 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Unscored — 1 check(s) recorded observations but carry no score
- SC1 Supply-chain hygiene — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Not evidenced — 3 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
Not included — 89 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — no DI registrations detected
- AX2 Stateful singletons — no singleton implementations detected
- AX3 Project dependency cycles — not assessed — project cycles and dependency direction are computed over a project-reference graph 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
- AX4 Dependency direction — not applicable to a vertical-slice architecture (the inward-dependency rule is for layered/clean styles)
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — vertical-slice architecture detected, but individual slices could not be resolved from namespaces or project layout
- AX8 Test isolation — not assessed — test isolation is computed from a project graph (which projects are test projects, and what they reference) 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
- 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.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D11 Test Reliability — No tests discovered
- D12 Dependency Hygiene — Not scored — 179 production npm declaration(s) across 5 package.json (5 of them the product) were read for PINNING discipline (1 defect(s) reported), but the outdated/deprecated signal needs registry.npmjs.org, and no committed lockfile here resolves to the concrete versions that question is asked about, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — npm licences not graded — this npm repository commits no lockfile this pass can resolve
- 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.
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — Production source is present (.ts) but bounded contexts are resolved over the C#/VB project set, which exposed none, so context scope could not be assessed. Not scored — this is a gap in the analyzer, not a verdict about this repository. Declaring the codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed — see the recommendation on this dimension for where. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D26 Project Cohesion — Project cohesion is assessed over the .NET project set; this target exposed no projects, so project size and spread could not be assessed. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
- D27 Navigability — symbol resolution incomplete — navigability not assessed
- D32 Data Compliance (PII/GDPR) — 2 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D36 Supply-chain Provenance & Signing — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
- 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) 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.
- D42 Runtime Threat Enforcement — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- D5 Coupling — Inter-project coupling could not be assessed — no analyzable project graph was found for this repository. Not scored: a gap in the analyzer's reach, not a verdict about this repository. (Coupling here is Martin afferent/efferent/instability plus reference cycles across a project-reference graph, read today from .NET project files; other ecosystems' module graphs are not read yet.)
- D6 Cohesion (LCOM4) — Cohesion (LCOM4) is measured over a CS/VB/GO/SCALA/SWIFT/DART class graph, and this repository's production source is .ts, which this pass does not read — so no class could be assessed. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured — the jest suite in src/booking/ ran and not one test passed (No tests found, exiting with code 1), so the coverage would describe the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository's maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run.
- DM1 Aggregate boundaries — not scored for TypeScript: a class holding another class reads the same whether the inner type is an aggregate or a value object, so this cannot be decided from source without guessing — reported as guidance rather than measured
- DM2 Strongly-typed ids — not scored for TypeScript: branded ids (`type Id = string & { __brand }`) are an uncommon idiom, so a bare-string id is not on its own evidence of a missing typed id — reported as guidance rather than measured
- DM3 Integration-event coupling — not scored for TypeScript: a domain type used across packages is indistinguishable in source from a deliberate shared-kernel package, so this is reported as guidance rather than measured
- DM4 Rich vs anemic model — not scored for TypeScript: telling a rich domain entity from an anemic data holder needs the behaviour a source-only read cannot always attribute (components, DTOs and readonly value objects are all legitimately data-shaped), so this is reported as guidance rather than measured
- DM5 Encapsulated state — not scored for TypeScript: the language already steers state behind #private/private/readonly, so a mutable public field is rare enough that we report this as guidance rather than measuring it
- DM7 Repository granularity — not scored for TypeScript: deciding whether a repository belongs to an aggregate root needs the aggregate structure, which source alone does not state — reported as guidance rather than measured
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P2 Observability — Observability was not assessed: this check reads a source model that does not carry this repository's product — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of a logging idiom this check recognises is NOT evidence that this repo lacks structured logging (it may log through its own ecosystem's logger). This is a gap in the analyzer, not a finding about this repository.
- P7 Outbound HTTP resilience — not measured — the application kind could not be determined for this repo
- P8 Schema migrations — not assessed — schema-migration practice is read from 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
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
- PF2 Allocation hygiene — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
- PF3 Async & latency hygiene — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
- R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
- R5 Dependency Freshness — no package-lock.json — dependency freshness not measured (would require an npm lockfile); JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X27 Collection changed while being enumerated — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X28 Index access outside its own emptiness guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- 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 — 45 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
- Domain fused to persistence infrastructure: Booking src/booking/src/booking/entities/booking.entity.ts:3
- Domain fused to persistence infrastructure: Airport src/flight/src/airport/entities/airport.entity.ts:4
- Domain fused to persistence infrastructure: Seat src/flight/src/seat/entities/seat.entity.ts:6
- Domain fused to persistence infrastructure: Flight src/flight/src/flight/entities/flight.entity.ts:13
- Domain fused to persistence infrastructure: Aircraft src/flight/src/aircraft/entities/aircraft.entity.ts:4
- Domain fused to persistence infrastructure: Token src/identity/src/auth/entities/token.entity.ts:5
- Domain fused to persistence infrastructure: User src/identity/src/user/entities/user.entity.ts:5
- Domain fused to persistence infrastructure: Passenger src/passenger/src/passenger/entities/passenger.entity.ts:4
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Test suite declares a test script but contains no test files: src/booking/
- Test suite declares a test script but contains no test files: src/flight/
- Test suite declares a test script but contains no test files: src/passenger/
- Import cycle (2 files) src/flight/src/aircraft/entities/aircraft.entity.ts
- Import cycle (2 files) src/identity/src/auth/entities/token.entity.ts
- Unlisted import 'jsonwebtoken' src/identity/src/auth/features/v1/generate-token/generate-token.ts:4
Serious — 340 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
- No test reaches this file src/building-blocks/contracts/flight.contract.ts
- No test reaches this file src/flight/src/flight/features/v1/create-flight/create-flight.ts
- No test reaches this file src/flight/src/data/seeds/flight.seed.ts
- No test reaches this file src/booking/src/booking/features/v1/create-booking/create-booking.ts
- No test reaches this file src/flight/src/seat/features/v1/create-seat/create-seat.ts
- No test reaches this file src/flight/src/seat/features/v1/reserve-seat/reserve-seat.ts
- No test reaches this file src/flight/src/aircraft/features/v1/create-aircraft/create-aircraft.ts
- No test reaches this file src/flight/src/airport/features/v1/create-airport/create-airport.ts
- No test reaches this file src/booking/src/app.ts
- No test reaches this file src/passenger/src/passenger/features/v1/get-passengers/get-passengers.ts
- No test reaches this file src/flight/src/app.ts
- No test reaches this file src/identity/src/app.ts
- No test reaches this file src/passenger/src/app.ts
- No test reaches this file src/flight/src/flight/entities/flight.entity.ts
- No test reaches this file src/flight/src/flight/mappings.ts
- No test reaches this file src/booking/src/booking/mappings.ts
- No test reaches this file src/booking/src/booking/http-client/services/flight/flight.client.ts
- No test reaches this file src/building-blocks/jwt/jwt.ts
- No test reaches this file src/flight/src/data/migrations/1702553492495-create-flight-table.ts
- No test reaches this file src/building-blocks/open-telemetry/open-telemetry.ts
- No test reaches this file src/flight/src/data/repositories/seat.repository.ts
- No test reaches this file src/passenger/src/data/repositories/passenger.repository.ts
- No test reaches this file src/passenger/src/passenger/features/v1/get-passenger-by-id/get-passenger-by-id.ts
- No test reaches this file src/flight/src/flight/features/v1/get-flight-by-id/get-flight-by-id.ts
- No test reaches this file src/flight/src/seat/features/v1/get-available-seats/get-available-seats.ts
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (17 lines × 2 locations) src/flight/src/flight/entities/flight.entity.ts:15
- Duplicated block (17 lines × 2 locations) src/flight/src/flight/features/v1/get-flight-by-id/get-flight-by-id.ts:11
- Duplicated block (17 lines × 2 locations) src/identity/src/user/entities/user.entity.ts:10
- Duplicated block (38 lines × 2 locations) src/flight/src/flight/features/v1/create-flight/create-flight.ts:67
- Duplicated block (38 lines × 2 locations) src/flight/src/flight/features/v1/get-flight-by-id/get-flight-by-id.ts:11
- Duplicated block (21 lines × 2 locations) src/booking/src/booking/http-client/services/flight/flight.client.ts:17
- Duplicated block (21 lines × 2 locations) src/flight/src/aircraft/entities/aircraft.entity.ts:4
- Duplicated block (15 lines × 6 locations) src/booking/src/booking/mappings.ts:50
- Duplicated block (15 lines × 6 locations) src/building-blocks/types/exception/application.exception.ts:7
- Duplicated block (15 lines × 2 locations) src/flight/src/data/db.context.ts:9
- Duplicated block (15 lines × 2 locations) src/identity/src/auth/features/v1/login/login.ts:33
- Duplicated block (14 lines × 2 locations) src/building-blocks/contracts/flight.contract.ts:42
- Duplicated block (14 lines × 2 locations) src/building-blocks/contracts/identity.contract.ts:35
- Dead file (~61 LoC) src/building-blocks/jwt/jwt.ts
- Dead file (~61 LoC) src/flight/src/data/migrations/1702553492495-create-flight-table.ts
- REDACTED.expressAuthentication (cognitive 29) src/building-blocks/jwt/jwt.ts:7
- REDACTED
- Coverage not measured — JavaScript/TypeScript suite
- No DR/backup evidence
- Duplication concentrated across 5 sibling directories (47 clone groups) src/identity/src/user/features/v1/get-users/get-users.ts:11
- Duplicated block (62 lines × 2 locations) src/flight/src/aircraft/features/v1/create-aircraft/create-aircraft.ts:14
- Duplicated block (58 lines × 2 locations) src/identity/src/user/features/v1/get-users/get-users.ts:11
- Wholesale file copy (52 identical lines × 4 files) src/booking/src/app.ts:1
- Duplicated block (47 lines × 3 locations) src/booking/src/booking/features/v1/create-booking/create-booking.ts:16
- Duplicated block (40 lines × 2 locations) src/flight/src/seat/features/v1/create-seat/create-seat.ts:47
- Duplicated block with local edits (36 matched lines × 2 locations) src/building-blocks/rabbitmq/rabbitmq-consumer.ts:14
- Duplicated block (32 lines × 2 locations) src/identity/src/user/features/v1/create-user/create-user.ts:18
- Duplicated block (29 lines × 3 locations) src/booking/src/booking/mappings.ts:5
- Duplicated block (25 lines × 3 locations) src/identity/src/user/features/v1/delete-user-by-id/delete-user-by-id.ts:14
- Duplicated block (23 lines × 2 locations) src/identity/src/data/repositories/user.repository.ts:45
- Duplicated block (17 lines × 6 locations) src/flight/src/aircraft/mappings.ts:5
- Duplicated block (14 lines × 5 locations) src/booking/src/booking/entities/booking.entity.ts:1
- Duplicated block (14 lines × 3 locations) src/booking/src/extensions/rabbitmq.extensions.ts:6
- Duplicated block (14 lines × 4 locations) src/booking/src/extensions/rabbitmq.extensions.ts:2
- Duplicated block (13 lines × 4 locations) src/booking/src/booking/mappings.ts:16
- Duplicated block with local edits (13 matched lines × 2 locations) src/building-blocks/rabbitmq/rabbitmq-connection.ts:38
- Duplicated block (12 lines × 3 locations) src/building-blocks/contracts/flight.contract.ts:105
- Duplicated block (12 lines × 8 locations) src/building-blocks/error-handler/error-handler.ts:16
- Duplicated block (12 lines × 4 locations) src/flight/src/flight/features/v1/get-flight-by-id/get-flight-by-id.ts:11
- Duplicated block (11 lines × 4 locations) src/identity/src/auth/features/v1/generate-token/generate-token.ts:12
- Duplicated block (10 lines × 3 locations) src/booking/src/booking/entities/booking.entity.ts:33
- Duplicated block (9 lines × 8 locations) src/booking/src/booking/features/v1/create-booking/create-booking.ts:28
- Duplicated block (9 lines × 2 locations) src/booking/src/data/db.context.ts:6
- Duplicated block with local edits (9 matched lines × 2 locations) src/identity/src/data/repositories/auth.repository.ts:8
- Duplicated block (5 lines × 2 locations) src/flight/src/extensions/mediatr.extensions.ts:24
- This test file cannot be loaded src/identity/test/shared/fixtures/integration-test.fixture.ts
- The declared test suite includes a file that cannot be loaded src/identity/test/shared/fixtures/integration-test.fixture.ts
- Dead file (~30 LoC) src/identity/src/auth/mappings.ts
- Dead file (~25 LoC) src/identity/src/data/migrations/1702550291057-create-user-table.ts
- Dead file (~19 LoC) src/passenger/src/data/migrations/1702553578224-create-passenger-table.ts
- Dead file (~15 LoC) src/booking/src/data/migrations/1702553396443-create-booking-table.ts
- Unused dependency '@eslint/js'
- Unused dependency '@faker-js/faker'
- Unused dependency '@opentelemetry/sdk-trace-node'
- JavaScript dependencies are not locked
Minor — 76 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
- Documentation: no installation or build instructions README.md
- Documentation: no usage examples README.md
- Unused export 'GetUserByIdController' src/flight/src/flight/features/v1/get-flight-by-id/get-flight-by-id.ts:26
- Unused export 'GetUserByIdController' src/identity/src/user/features/v1/get-user-by-id/get-user-by-id.ts:26
- REDACTED
- REDACTED
- Orphaned files with no living knowledge
- REDACTED
- No network policy
- No seccomp profile
- No AppArmor/SELinux confinement
- REDACTED
- No ADRs
- No SAST
- Unused export 'CreateBookingController' src/booking/src/booking/features/v1/create-booking/create-booking.ts:43
- Unused export 'CreateAircraftController' src/flight/src/aircraft/features/v1/create-aircraft/create-aircraft.ts:41
- Unused export 'CreateAirportController' src/flight/src/airport/features/v1/create-airport/create-airport.ts:41
- Unused export 'CreateFlightController' src/flight/src/flight/features/v1/create-flight/create-flight.ts:71
- Unused export 'CreateSeatController' src/flight/src/seat/features/v1/create-seat/create-seat.ts:51
- Unused export 'GetAvailableSeatsController' src/flight/src/seat/features/v1/get-available-seats/get-available-seats.ts:25
- Unused export 'ReserveSeatController' src/flight/src/seat/features/v1/reserve-seat/reserve-seat.ts:39
- Unused export 'LoginController' src/identity/src/auth/features/v1/login/login.ts:36
- Unused export 'LogoutController' src/identity/src/auth/features/v1/logout/logout.ts:25
- Unused export 'RefreshTokenController' src/identity/src/auth/features/v1/refresh-token/refresh-token.ts:28
- Unused export 'CreateUserController' src/identity/src/user/features/v1/create-user/create-user.ts:50
- Unused export 'DeleteUserByIdController' src/identity/src/user/features/v1/delete-user-by-id/delete-user-by-id.ts:29
- Unused export 'GetUsersController' src/identity/src/user/features/v1/get-users/get-users.ts:32
- Unused export 'UpdateUserController' src/identity/src/user/features/v1/update-user/update-user.ts:50
- Unused export 'GetPassengerByIdController' src/passenger/src/passenger/features/v1/get-passenger-by-id/get-passenger-by-id.ts:26
- Unused export 'GetPassengersController' src/passenger/src/passenger/features/v1/get-passengers/get-passengers.ts:32
- Test-only dependency 'typemoq' in production deps src/identity/test/unit-test/user/features/create-user.test.ts:2
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-4c7f8667b13e49378edde32f80027b5e/history.json --exit-code 0 --source . | 5 | 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-4c7f8667b13e49378edde32f80027b5e/tree.json --exit-code 0 --source . | 2 | 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 . | 13 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive . | 0 | — |
| 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 | 0 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 305 | 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 2 file(s) — `src/building-blocks/logging/logger.js`, `src/identity/jest.config.ts` — 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 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive . | 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 |