Executive summary
dlydiard/ddd-cqrs-es-aws-sam scores 42 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 16 and is rated Critical. Its Dependency Hygiene dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 1 Leaked secret finding(s) in Secret Scanning and to make entity setters private/init-only and hand collections out as IReadOnlyList/IReadOnlyCollection over a private backing field; change state only through methods that enforce the invariants (Marten/EF can bind via constructor or private setters), and if Production Readiness rose to 70, the score would rise from 42 to about 63.
60 findings are critical: 46 in Dependency Vulnerabilities, eight in IaC & Container Security, three in Dependency Hygiene, two in Circular Imports and one in Secret Scanning.
Watchdog couldn't measure 8 dimensions in this code, among them Dependency Hygiene, License Compliance and Internal API Consistency, so they are left out of the score. The product code is 2,362 lines, which would take an estimated 0.1 person-years, around €2,400, to rebuild.
If Production Readiness rose from 16 to 70, the lowest score rated Strong, the score would rise from 42 to about 63.
New since the last survey: 3 findings
- Secret Scanning · REDACTED
- Dependency Hygiene · Unlisted import '@node-ts/bus-messages' src/event-store/events/event.ts
- Dependency Hygiene · Unlisted import '@node-ts/ddd-types' src/app/service/service.interface.ts
Fixed since the last survey: 11 findings
- Test Coverage · No test reaches this file src/iam/user/dtos/user-addRole.dto.ts
- Test Coverage · No test reaches this file src/iam/user/dtos/user-post.dto.ts
- Test Coverage · No test reaches this file src/iam/user/dtos/user-removeRole.dto.ts
- Test Coverage · No test reaches this file src/iam/role/dtos/role-post.dto.ts
- Test Coverage · No test reaches this file src/iam/user/dtos/user-put.dto.ts
- Test Coverage · No test reaches this file src/iam/role/dtos/role-disable.dto.ts
- Test Coverage · No test reaches this file src/iam/role/dtos/role-get.dto.ts
- Test Coverage · No test reaches this file src/iam/user/dtos/user-disable.dto.ts
- Test Coverage · No test reaches this file src/iam/user/dtos/user-get.dto.ts
- Test Coverage · No test reaches this file src/iam/role/dtos/role-list.dto.ts
- Test Coverage · No test reaches this file src/iam/user/dtos/user-list.dto.ts
Rebuild cost: about €2,400 · Estimate
| Cost to rebuild | €800 to €4,000, for 13 to 42 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 42. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 2,362 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 app.repository.repository_interface | 2 app.repository.set-validation-repository_interface | 3 app.service.service_interface | 4 app.validation.domain-validator | 5 event-store.events.enrich_interface | 6 event-store.events.event | 7 event-store.projections.repository.projection-repository_interface | 8 iam.role.commands.create-role_command | 9 iam.role.commands.disable-role_command | 10 iam.user.commands.add-user-role_command | 11 app.dto.list_dto | 12 app.repository.dynamo_repository | 13 event-store.handler.event-handler_interface | 14 event-store.projections.projection | 15 event-store.publisher.event-publisher_interface | 16 iam.role.events.role-created | 17 iam.role.events.role-disabled | 18 iam.user.events.user-disabled | 19 iam.user.events.user-registered | 20 iam.user.events.user-role-added | 21 iam.user.events.user-role-removed | 22 iam.user.events.user-updated | 23 app.repository.dynamo-set-validation_repository | 24 event-store.handler.projection-event_handler | 25 event-store.projections.repository.dynamo-projection_repository | 26 event-store.publisher.dynamo-event-publisher | 27 iam.role.models.role | 28 iam.role.projections.role_projection | 29 iam.user.models.user | 30 iam.user.projections.user_projection | 31 iam.role.events.role_handler | 32 iam.role.services.role_service | 33 iam.user.events.user-role-added_enricher | 34 iam.user.events.user-role-removed_enricher | 35 iam.user.events.user-updated_enricher | 36 iam.user.events.user_handler | 37 iam.user.services.user_service | 38 iam.role.commands.create-role_handler | 39 iam.role.commands.disable-role_handler | 40 iam.user.commands.add-user-role_handler |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 app.repository.repository_interface | ||||||||||||||||||||||||||||||||||||||||
| 2 app.repository.set-validation-repository_interface | ||||||||||||||||||||||||||||||||||||||||
| 3 app.service.service_interface | ||||||||||||||||||||||||||||||||||||||||
| 4 app.validation.domain-validator | ||||||||||||||||||||||||||||||||||||||||
| 5 event-store.events.enrich_interface | ||||||||||||||||||||||||||||||||||||||||
| 6 event-store.events.event | ||||||||||||||||||||||||||||||||||||||||
| 7 event-store.projections.repository.projection-repository_interface | ||||||||||||||||||||||||||||||||||||||||
| 8 iam.role.commands.create-role_command | ||||||||||||||||||||||||||||||||||||||||
| 9 iam.role.commands.disable-role_command | ||||||||||||||||||||||||||||||||||||||||
| 10 iam.user.commands.add-user-role_command | ||||||||||||||||||||||||||||||||||||||||
| 11 app.dto.list_dto | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 app.repository.dynamo_repository | 2 | |||||||||||||||||||||||||||||||||||||||
| 13 event-store.handler.event-handler_interface | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 event-store.projections.projection | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 event-store.publisher.event-publisher_interface | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 iam.role.events.role-created | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 iam.role.events.role-disabled | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 iam.user.events.user-disabled | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 iam.user.events.user-registered | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 iam.user.events.user-role-added | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 iam.user.events.user-role-removed | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 iam.user.events.user-updated | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 app.repository.dynamo-set-validation_repository | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 event-store.handler.projection-event_handler | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 25 event-store.projections.repository.dynamo-projection_repository | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 26 event-store.publisher.dynamo-event-publisher | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 27 iam.role.models.role | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 28 iam.role.projections.role_projection | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 29 iam.user.models.user | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 30 iam.user.projections.user_projection | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 31 iam.role.events.role_handler | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 32 iam.role.services.role_service | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 33 iam.user.events.user-role-added_enricher | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 34 iam.user.events.user-role-removed_enricher | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 35 iam.user.events.user-updated_enricher | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 36 iam.user.events.user_handler | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 37 iam.user.services.user_service | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 38 iam.role.commands.create-role_handler | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 39 iam.role.commands.disable-role_handler | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 40 iam.user.commands.add-user-role_handler | 1 | 1 |
11→1 app.dto.list_dto uses app.repository.repository_interface✕
- Connections
- 1 pair of types, where a type in app.dto.list_dto uses a type in app.repository.repository_interface.
- The types involved
src.app.dto.list_dto.ListDto→src.app.repository.repository_interface.RepositoryFilter
- Direction
- app.dto.list_dto uses app.repository.repository_interface, so a change to app.repository.repository_interface can break app.dto.list_dto, while a change to app.dto.list_dto can't break app.repository.repository_interface.
- Position
- Below the diagonal: app.dto.list_dto uses a module listed above it, which is the healthy direction.
12→1 app.repository.dynamo_repository uses app.repository.repository_interface✕
- Connections
- 2 pairs of types, where a type in app.repository.dynamo_repository uses a type in app.repository.repository_interface.
- The types involved
src.app.repository.dynamo_repository.DynamoRepository→src.app.repository.repository_interface.Repositorysrc.app.repository.dynamo_repository.DynamoRepository→src.app.repository.repository_interface.RepositoryFilter
- Direction
- app.repository.dynamo_repository uses app.repository.repository_interface, so a change to app.repository.repository_interface can break app.repository.dynamo_repository, while a change to app.repository.dynamo_repository can't break app.repository.repository_interface.
- Position
- Below the diagonal: app.repository.dynamo_repository uses a module listed above it, which is the healthy direction.
13→6 event-store.handler.event-handler_interface uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in event-store.handler.event-handler_interface uses a type in event-store.events.event.
- The types involved
src.event-store.handler.event-handler_interface.EventHandler→src.event-store.events.event.Event
- Direction
- event-store.handler.event-handler_interface uses event-store.events.event, so a change to event-store.events.event can break event-store.handler.event-handler_interface, while a change to event-store.handler.event-handler_interface can't break event-store.events.event.
- Position
- Below the diagonal: event-store.handler.event-handler_interface uses a module listed above it, which is the healthy direction.
14→6 event-store.projections.projection uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in event-store.projections.projection uses a type in event-store.events.event.
- The types involved
src.event-store.projections.projection.Projection→src.event-store.events.event.Event
- Direction
- event-store.projections.projection uses event-store.events.event, so a change to event-store.events.event can break event-store.projections.projection, while a change to event-store.projections.projection can't break event-store.events.event.
- Position
- Below the diagonal: event-store.projections.projection uses a module listed above it, which is the healthy direction.
15→6 event-store.publisher.event-publisher_interface uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in event-store.publisher.event-publisher_interface uses a type in event-store.events.event.
- The types involved
src.event-store.publisher.event-publisher_interface.EventItem→src.event-store.events.event.Event
- Direction
- event-store.publisher.event-publisher_interface uses event-store.events.event, so a change to event-store.events.event can break event-store.publisher.event-publisher_interface, while a change to event-store.publisher.event-publisher_interface can't break event-store.events.event.
- Position
- Below the diagonal: event-store.publisher.event-publisher_interface uses a module listed above it, which is the healthy direction.
16→6 iam.role.events.role-created uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in iam.role.events.role-created uses a type in event-store.events.event.
- The types involved
src.iam.role.events.role-created.RoleCreated→src.event-store.events.event.Event
- Direction
- iam.role.events.role-created uses event-store.events.event, so a change to event-store.events.event can break iam.role.events.role-created, while a change to iam.role.events.role-created can't break event-store.events.event.
- Position
- Below the diagonal: iam.role.events.role-created uses a module listed above it, which is the healthy direction.
17→6 iam.role.events.role-disabled uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in iam.role.events.role-disabled uses a type in event-store.events.event.
- The types involved
src.iam.role.events.role-disabled.RoleDisabled→src.event-store.events.event.Event
- Direction
- iam.role.events.role-disabled uses event-store.events.event, so a change to event-store.events.event can break iam.role.events.role-disabled, while a change to iam.role.events.role-disabled can't break event-store.events.event.
- Position
- Below the diagonal: iam.role.events.role-disabled uses a module listed above it, which is the healthy direction.
18→6 iam.user.events.user-disabled uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-disabled uses a type in event-store.events.event.
- The types involved
src.iam.user.events.user-disabled.UserDisabled→src.event-store.events.event.Event
- Direction
- iam.user.events.user-disabled uses event-store.events.event, so a change to event-store.events.event can break iam.user.events.user-disabled, while a change to iam.user.events.user-disabled can't break event-store.events.event.
- Position
- Below the diagonal: iam.user.events.user-disabled uses a module listed above it, which is the healthy direction.
19→6 iam.user.events.user-registered uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-registered uses a type in event-store.events.event.
- The types involved
src.iam.user.events.user-registered.UserRegistered→src.event-store.events.event.Event
- Direction
- iam.user.events.user-registered uses event-store.events.event, so a change to event-store.events.event can break iam.user.events.user-registered, while a change to iam.user.events.user-registered can't break event-store.events.event.
- Position
- Below the diagonal: iam.user.events.user-registered uses a module listed above it, which is the healthy direction.
20→6 iam.user.events.user-role-added uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-role-added uses a type in event-store.events.event.
- The types involved
src.iam.user.events.user-role-added.UserRoleAdded→src.event-store.events.event.Event
- Direction
- iam.user.events.user-role-added uses event-store.events.event, so a change to event-store.events.event can break iam.user.events.user-role-added, while a change to iam.user.events.user-role-added can't break event-store.events.event.
- Position
- Below the diagonal: iam.user.events.user-role-added uses a module listed above it, which is the healthy direction.
21→6 iam.user.events.user-role-removed uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-role-removed uses a type in event-store.events.event.
- The types involved
src.iam.user.events.user-role-removed.UserRoleRemoved→src.event-store.events.event.Event
- Direction
- iam.user.events.user-role-removed uses event-store.events.event, so a change to event-store.events.event can break iam.user.events.user-role-removed, while a change to iam.user.events.user-role-removed can't break event-store.events.event.
- Position
- Below the diagonal: iam.user.events.user-role-removed uses a module listed above it, which is the healthy direction.
22→6 iam.user.events.user-updated uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-updated uses a type in event-store.events.event.
- The types involved
src.iam.user.events.user-updated.UserUpdated→src.event-store.events.event.Event
- Direction
- iam.user.events.user-updated uses event-store.events.event, so a change to event-store.events.event can break iam.user.events.user-updated, while a change to iam.user.events.user-updated can't break event-store.events.event.
- Position
- Below the diagonal: iam.user.events.user-updated uses a module listed above it, which is the healthy direction.
23→2 app.repository.dynamo-set-validation_repository uses app.repository.set-validation-repository_interface✕
- Connections
- 1 pair of types, where a type in app.repository.dynamo-set-validation_repository uses a type in app.repository.set-validation-repository_interface.
- The types involved
src.app.repository.dynamo-set-validation_repository.DynamoSetValidationRepository→src.app.repository.set-validation-repository_interface.SetValidationRepository
- Direction
- app.repository.dynamo-set-validation_repository uses app.repository.set-validation-repository_interface, so a change to app.repository.set-validation-repository_interface can break app.repository.dynamo-set-validation_repository, while a change to app.repository.dynamo-set-validation_repository can't break app.repository.set-validation-repository_interface.
- Position
- Below the diagonal: app.repository.dynamo-set-validation_repository uses a module listed above it, which is the healthy direction.
23→12 app.repository.dynamo-set-validation_repository uses app.repository.dynamo_repository✕
- Connections
- 1 pair of types, where a type in app.repository.dynamo-set-validation_repository uses a type in app.repository.dynamo_repository.
- The types involved
src.app.repository.dynamo-set-validation_repository.DynamoSetValidationRepository→src.app.repository.dynamo_repository.DynamoRepository
- Direction
- app.repository.dynamo-set-validation_repository uses app.repository.dynamo_repository, so a change to app.repository.dynamo_repository can break app.repository.dynamo-set-validation_repository, while a change to app.repository.dynamo-set-validation_repository can't break app.repository.dynamo_repository.
- Position
- Below the diagonal: app.repository.dynamo-set-validation_repository uses a module listed above it, which is the healthy direction.
24→6 event-store.handler.projection-event_handler uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in event-store.handler.projection-event_handler uses a type in event-store.events.event.
- The types involved
src.event-store.handler.projection-event_handler.ProjectionEventHandler→src.event-store.events.event.Event
- Direction
- event-store.handler.projection-event_handler uses event-store.events.event, so a change to event-store.events.event can break event-store.handler.projection-event_handler, while a change to event-store.handler.projection-event_handler can't break event-store.events.event.
- Position
- Below the diagonal: event-store.handler.projection-event_handler uses a module listed above it, which is the healthy direction.
24→7 event-store.handler.projection-event_handler uses event-store.projections.repository.projection-repository_interface✕
- Connections
- 1 pair of types, where a type in event-store.handler.projection-event_handler uses a type in event-store.projections.repository.projection-repository_interface.
- The types involved
src.event-store.handler.projection-event_handler.ProjectionEventHandler→src.event-store.projections.repository.projection-repository_interface.ProjectionRepository
- Direction
- event-store.handler.projection-event_handler uses event-store.projections.repository.projection-repository_interface, so a change to event-store.projections.repository.projection-repository_interface can break event-store.handler.projection-event_handler, while a change to event-store.handler.projection-event_handler can't break event-store.projections.repository.projection-repository_interface.
- Position
- Below the diagonal: event-store.handler.projection-event_handler uses a module listed above it, which is the healthy direction.
24→13 event-store.handler.projection-event_handler uses event-store.handler.event-handler_interface✕
- Connections
- 1 pair of types, where a type in event-store.handler.projection-event_handler uses a type in event-store.handler.event-handler_interface.
- The types involved
src.event-store.handler.projection-event_handler.ProjectionEventHandler→src.event-store.handler.event-handler_interface.EventHandler
- Direction
- event-store.handler.projection-event_handler uses event-store.handler.event-handler_interface, so a change to event-store.handler.event-handler_interface can break event-store.handler.projection-event_handler, while a change to event-store.handler.projection-event_handler can't break event-store.handler.event-handler_interface.
- Position
- Below the diagonal: event-store.handler.projection-event_handler uses a module listed above it, which is the healthy direction.
24→14 event-store.handler.projection-event_handler uses event-store.projections.projection✕
- Connections
- 1 pair of types, where a type in event-store.handler.projection-event_handler uses a type in event-store.projections.projection.
- The types involved
src.event-store.handler.projection-event_handler.ProjectionEventHandler→src.event-store.projections.projection.Projection
- Direction
- event-store.handler.projection-event_handler uses event-store.projections.projection, so a change to event-store.projections.projection can break event-store.handler.projection-event_handler, while a change to event-store.handler.projection-event_handler can't break event-store.projections.projection.
- Position
- Below the diagonal: event-store.handler.projection-event_handler uses a module listed above it, which is the healthy direction.
25→7 event-store.projections.repository.dynamo-projection_repository uses event-store.projections.repository.projection-repository_interface✕
- Connections
- 1 pair of types, where a type in event-store.projections.repository.dynamo-projection_repository uses a type in event-store.projections.repository.projection-repository_interface.
- The types involved
src.event-store.projections.repository.dynamo-projection_repository.DynamoProjectionRepository→src.event-store.projections.repository.projection-repository_interface.ProjectionRepository
- Direction
- event-store.projections.repository.dynamo-projection_repository uses event-store.projections.repository.projection-repository_interface, so a change to event-store.projections.repository.projection-repository_interface can break event-store.projections.repository.dynamo-projection_repository, while a change to event-store.projections.repository.dynamo-projection_repository can't break event-store.projections.repository.projection-repository_interface.
- Position
- Below the diagonal: event-store.projections.repository.dynamo-projection_repository uses a module listed above it, which is the healthy direction.
25→12 event-store.projections.repository.dynamo-projection_repository uses app.repository.dynamo_repository✕
- Connections
- 1 pair of types, where a type in event-store.projections.repository.dynamo-projection_repository uses a type in app.repository.dynamo_repository.
- The types involved
src.event-store.projections.repository.dynamo-projection_repository.DynamoProjectionRepository→src.app.repository.dynamo_repository.DynamoRepository
- Direction
- event-store.projections.repository.dynamo-projection_repository uses app.repository.dynamo_repository, so a change to app.repository.dynamo_repository can break event-store.projections.repository.dynamo-projection_repository, while a change to event-store.projections.repository.dynamo-projection_repository can't break app.repository.dynamo_repository.
- Position
- Below the diagonal: event-store.projections.repository.dynamo-projection_repository uses a module listed above it, which is the healthy direction.
26→6 event-store.publisher.dynamo-event-publisher uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in event-store.publisher.dynamo-event-publisher uses a type in event-store.events.event.
- The types involved
src.event-store.publisher.dynamo-event-publisher.DynamoEventPublisher→src.event-store.events.event.Event
- Direction
- event-store.publisher.dynamo-event-publisher uses event-store.events.event, so a change to event-store.events.event can break event-store.publisher.dynamo-event-publisher, while a change to event-store.publisher.dynamo-event-publisher can't break event-store.events.event.
- Position
- Below the diagonal: event-store.publisher.dynamo-event-publisher uses a module listed above it, which is the healthy direction.
26→12 event-store.publisher.dynamo-event-publisher uses app.repository.dynamo_repository✕
- Connections
- 1 pair of types, where a type in event-store.publisher.dynamo-event-publisher uses a type in app.repository.dynamo_repository.
- The types involved
src.event-store.publisher.dynamo-event-publisher.DynamoEventPublisher→src.app.repository.dynamo_repository.DynamoRepository
- Direction
- event-store.publisher.dynamo-event-publisher uses app.repository.dynamo_repository, so a change to app.repository.dynamo_repository can break event-store.publisher.dynamo-event-publisher, while a change to event-store.publisher.dynamo-event-publisher can't break app.repository.dynamo_repository.
- Position
- Below the diagonal: event-store.publisher.dynamo-event-publisher uses a module listed above it, which is the healthy direction.
26→15 event-store.publisher.dynamo-event-publisher uses event-store.publisher.event-publisher_interface✕
- Connections
- 1 pair of types, where a type in event-store.publisher.dynamo-event-publisher uses a type in event-store.publisher.event-publisher_interface.
- The types involved
src.event-store.publisher.dynamo-event-publisher.DynamoEventPublisher→src.event-store.publisher.event-publisher_interface.EventPublisher
- Direction
- event-store.publisher.dynamo-event-publisher uses event-store.publisher.event-publisher_interface, so a change to event-store.publisher.event-publisher_interface can break event-store.publisher.dynamo-event-publisher, while a change to event-store.publisher.dynamo-event-publisher can't break event-store.publisher.event-publisher_interface.
- Position
- Below the diagonal: event-store.publisher.dynamo-event-publisher uses a module listed above it, which is the healthy direction.
27→16 iam.role.models.role uses iam.role.events.role-created✕
- Connections
- 1 pair of types, where a type in iam.role.models.role uses a type in iam.role.events.role-created.
- The types involved
src.iam.role.models.role.Role→src.iam.role.events.role-created.RoleCreated
- Direction
- iam.role.models.role uses iam.role.events.role-created, so a change to iam.role.events.role-created can break iam.role.models.role, while a change to iam.role.models.role can't break iam.role.events.role-created.
- Position
- Below the diagonal: iam.role.models.role uses a module listed above it, which is the healthy direction.
27→17 iam.role.models.role uses iam.role.events.role-disabled✕
- Connections
- 1 pair of types, where a type in iam.role.models.role uses a type in iam.role.events.role-disabled.
- The types involved
src.iam.role.models.role.Role→src.iam.role.events.role-disabled.RoleDisabled
- Direction
- iam.role.models.role uses iam.role.events.role-disabled, so a change to iam.role.events.role-disabled can break iam.role.models.role, while a change to iam.role.models.role can't break iam.role.events.role-disabled.
- Position
- Below the diagonal: iam.role.models.role uses a module listed above it, which is the healthy direction.
28→14 iam.role.projections.role_projection uses event-store.projections.projection✕
- Connections
- 1 pair of types, where a type in iam.role.projections.role_projection uses a type in event-store.projections.projection.
- The types involved
src.iam.role.projections.role_projection.RoleProjection→src.event-store.projections.projection.Projection
- Direction
- iam.role.projections.role_projection uses event-store.projections.projection, so a change to event-store.projections.projection can break iam.role.projections.role_projection, while a change to iam.role.projections.role_projection can't break event-store.projections.projection.
- Position
- Below the diagonal: iam.role.projections.role_projection uses a module listed above it, which is the healthy direction.
28→16 iam.role.projections.role_projection uses iam.role.events.role-created✕
- Connections
- 1 pair of types, where a type in iam.role.projections.role_projection uses a type in iam.role.events.role-created.
- The types involved
src.iam.role.projections.role_projection.RoleProjection→src.iam.role.events.role-created.RoleCreated
- Direction
- iam.role.projections.role_projection uses iam.role.events.role-created, so a change to iam.role.events.role-created can break iam.role.projections.role_projection, while a change to iam.role.projections.role_projection can't break iam.role.events.role-created.
- Position
- Below the diagonal: iam.role.projections.role_projection uses a module listed above it, which is the healthy direction.
28→17 iam.role.projections.role_projection uses iam.role.events.role-disabled✕
- Connections
- 1 pair of types, where a type in iam.role.projections.role_projection uses a type in iam.role.events.role-disabled.
- The types involved
src.iam.role.projections.role_projection.RoleProjection→src.iam.role.events.role-disabled.RoleDisabled
- Direction
- iam.role.projections.role_projection uses iam.role.events.role-disabled, so a change to iam.role.events.role-disabled can break iam.role.projections.role_projection, while a change to iam.role.projections.role_projection can't break iam.role.events.role-disabled.
- Position
- Below the diagonal: iam.role.projections.role_projection uses a module listed above it, which is the healthy direction.
28→20 iam.role.projections.role_projection uses iam.user.events.user-role-added✕
- Connections
- 1 pair of types, where a type in iam.role.projections.role_projection uses a type in iam.user.events.user-role-added.
- The types involved
src.iam.role.projections.role_projection.RoleProjection→src.iam.user.events.user-role-added.UserRoleAdded
- Direction
- iam.role.projections.role_projection uses iam.user.events.user-role-added, so a change to iam.user.events.user-role-added can break iam.role.projections.role_projection, while a change to iam.role.projections.role_projection can't break iam.user.events.user-role-added.
- Position
- Below the diagonal: iam.role.projections.role_projection uses a module listed above it, which is the healthy direction.
28→21 iam.role.projections.role_projection uses iam.user.events.user-role-removed✕
- Connections
- 1 pair of types, where a type in iam.role.projections.role_projection uses a type in iam.user.events.user-role-removed.
- The types involved
src.iam.role.projections.role_projection.RoleProjection→src.iam.user.events.user-role-removed.UserRoleRemoved
- Direction
- iam.role.projections.role_projection uses iam.user.events.user-role-removed, so a change to iam.user.events.user-role-removed can break iam.role.projections.role_projection, while a change to iam.role.projections.role_projection can't break iam.user.events.user-role-removed.
- Position
- Below the diagonal: iam.role.projections.role_projection uses a module listed above it, which is the healthy direction.
28→22 iam.role.projections.role_projection uses iam.user.events.user-updated✕
- Connections
- 1 pair of types, where a type in iam.role.projections.role_projection uses a type in iam.user.events.user-updated.
- The types involved
src.iam.role.projections.role_projection.RoleProjection→src.iam.user.events.user-updated.UserUpdated
- Direction
- iam.role.projections.role_projection uses iam.user.events.user-updated, so a change to iam.user.events.user-updated can break iam.role.projections.role_projection, while a change to iam.role.projections.role_projection can't break iam.user.events.user-updated.
- Position
- Below the diagonal: iam.role.projections.role_projection uses a module listed above it, which is the healthy direction.
29→18 iam.user.models.user uses iam.user.events.user-disabled✕
- Connections
- 1 pair of types, where a type in iam.user.models.user uses a type in iam.user.events.user-disabled.
- The types involved
src.iam.user.models.user.User→src.iam.user.events.user-disabled.UserDisabled
- Direction
- iam.user.models.user uses iam.user.events.user-disabled, so a change to iam.user.events.user-disabled can break iam.user.models.user, while a change to iam.user.models.user can't break iam.user.events.user-disabled.
- Position
- Below the diagonal: iam.user.models.user uses a module listed above it, which is the healthy direction.
29→19 iam.user.models.user uses iam.user.events.user-registered✕
- Connections
- 1 pair of types, where a type in iam.user.models.user uses a type in iam.user.events.user-registered.
- The types involved
src.iam.user.models.user.User→src.iam.user.events.user-registered.UserRegistered
- Direction
- iam.user.models.user uses iam.user.events.user-registered, so a change to iam.user.events.user-registered can break iam.user.models.user, while a change to iam.user.models.user can't break iam.user.events.user-registered.
- Position
- Below the diagonal: iam.user.models.user uses a module listed above it, which is the healthy direction.
29→20 iam.user.models.user uses iam.user.events.user-role-added✕
- Connections
- 1 pair of types, where a type in iam.user.models.user uses a type in iam.user.events.user-role-added.
- The types involved
src.iam.user.models.user.User→src.iam.user.events.user-role-added.UserRoleAdded
- Direction
- iam.user.models.user uses iam.user.events.user-role-added, so a change to iam.user.events.user-role-added can break iam.user.models.user, while a change to iam.user.models.user can't break iam.user.events.user-role-added.
- Position
- Below the diagonal: iam.user.models.user uses a module listed above it, which is the healthy direction.
29→21 iam.user.models.user uses iam.user.events.user-role-removed✕
- Connections
- 1 pair of types, where a type in iam.user.models.user uses a type in iam.user.events.user-role-removed.
- The types involved
src.iam.user.models.user.User→src.iam.user.events.user-role-removed.UserRoleRemoved
- Direction
- iam.user.models.user uses iam.user.events.user-role-removed, so a change to iam.user.events.user-role-removed can break iam.user.models.user, while a change to iam.user.models.user can't break iam.user.events.user-role-removed.
- Position
- Below the diagonal: iam.user.models.user uses a module listed above it, which is the healthy direction.
29→22 iam.user.models.user uses iam.user.events.user-updated✕
- Connections
- 1 pair of types, where a type in iam.user.models.user uses a type in iam.user.events.user-updated.
- The types involved
src.iam.user.models.user.User→src.iam.user.events.user-updated.UserUpdated
- Direction
- iam.user.models.user uses iam.user.events.user-updated, so a change to iam.user.events.user-updated can break iam.user.models.user, while a change to iam.user.models.user can't break iam.user.events.user-updated.
- Position
- Below the diagonal: iam.user.models.user uses a module listed above it, which is the healthy direction.
30→14 iam.user.projections.user_projection uses event-store.projections.projection✕
- Connections
- 1 pair of types, where a type in iam.user.projections.user_projection uses a type in event-store.projections.projection.
- The types involved
src.iam.user.projections.user_projection.UserProjection→src.event-store.projections.projection.Projection
- Direction
- iam.user.projections.user_projection uses event-store.projections.projection, so a change to event-store.projections.projection can break iam.user.projections.user_projection, while a change to iam.user.projections.user_projection can't break event-store.projections.projection.
- Position
- Below the diagonal: iam.user.projections.user_projection uses a module listed above it, which is the healthy direction.
30→18 iam.user.projections.user_projection uses iam.user.events.user-disabled✕
- Connections
- 1 pair of types, where a type in iam.user.projections.user_projection uses a type in iam.user.events.user-disabled.
- The types involved
src.iam.user.projections.user_projection.UserProjection→src.iam.user.events.user-disabled.UserDisabled
- Direction
- iam.user.projections.user_projection uses iam.user.events.user-disabled, so a change to iam.user.events.user-disabled can break iam.user.projections.user_projection, while a change to iam.user.projections.user_projection can't break iam.user.events.user-disabled.
- Position
- Below the diagonal: iam.user.projections.user_projection uses a module listed above it, which is the healthy direction.
30→19 iam.user.projections.user_projection uses iam.user.events.user-registered✕
- Connections
- 1 pair of types, where a type in iam.user.projections.user_projection uses a type in iam.user.events.user-registered.
- The types involved
src.iam.user.projections.user_projection.UserProjection→src.iam.user.events.user-registered.UserRegistered
- Direction
- iam.user.projections.user_projection uses iam.user.events.user-registered, so a change to iam.user.events.user-registered can break iam.user.projections.user_projection, while a change to iam.user.projections.user_projection can't break iam.user.events.user-registered.
- Position
- Below the diagonal: iam.user.projections.user_projection uses a module listed above it, which is the healthy direction.
30→20 iam.user.projections.user_projection uses iam.user.events.user-role-added✕
- Connections
- 1 pair of types, where a type in iam.user.projections.user_projection uses a type in iam.user.events.user-role-added.
- The types involved
src.iam.user.projections.user_projection.UserProjection→src.iam.user.events.user-role-added.UserRoleAdded
- Direction
- iam.user.projections.user_projection uses iam.user.events.user-role-added, so a change to iam.user.events.user-role-added can break iam.user.projections.user_projection, while a change to iam.user.projections.user_projection can't break iam.user.events.user-role-added.
- Position
- Below the diagonal: iam.user.projections.user_projection uses a module listed above it, which is the healthy direction.
30→21 iam.user.projections.user_projection uses iam.user.events.user-role-removed✕
- Connections
- 1 pair of types, where a type in iam.user.projections.user_projection uses a type in iam.user.events.user-role-removed.
- The types involved
src.iam.user.projections.user_projection.UserProjection→src.iam.user.events.user-role-removed.UserRoleRemoved
- Direction
- iam.user.projections.user_projection uses iam.user.events.user-role-removed, so a change to iam.user.events.user-role-removed can break iam.user.projections.user_projection, while a change to iam.user.projections.user_projection can't break iam.user.events.user-role-removed.
- Position
- Below the diagonal: iam.user.projections.user_projection uses a module listed above it, which is the healthy direction.
30→22 iam.user.projections.user_projection uses iam.user.events.user-updated✕
- Connections
- 1 pair of types, where a type in iam.user.projections.user_projection uses a type in iam.user.events.user-updated.
- The types involved
src.iam.user.projections.user_projection.UserProjection→src.iam.user.events.user-updated.UserUpdated
- Direction
- iam.user.projections.user_projection uses iam.user.events.user-updated, so a change to iam.user.events.user-updated can break iam.user.projections.user_projection, while a change to iam.user.projections.user_projection can't break iam.user.events.user-updated.
- Position
- Below the diagonal: iam.user.projections.user_projection uses a module listed above it, which is the healthy direction.
31→6 iam.role.events.role_handler uses event-store.events.event✕
- Connections
- 1 pair of types, where a type in iam.role.events.role_handler uses a type in event-store.events.event.
- The types involved
src.iam.role.events.role_handler.RoleHandler→src.event-store.events.event.Event
- Direction
- iam.role.events.role_handler uses event-store.events.event, so a change to event-store.events.event can break iam.role.events.role_handler, while a change to iam.role.events.role_handler can't break event-store.events.event.
- Position
- Below the diagonal: iam.role.events.role_handler uses a module listed above it, which is the healthy direction.
31→7 iam.role.events.role_handler uses event-store.projections.repository.projection-repository_interface✕
- Connections
- 1 pair of types, where a type in iam.role.events.role_handler uses a type in event-store.projections.repository.projection-repository_interface.
- The types involved
src.iam.role.events.role_handler.RoleHandler→src.event-store.projections.repository.projection-repository_interface.ProjectionRepository
- Direction
- iam.role.events.role_handler uses event-store.projections.repository.projection-repository_interface, so a change to event-store.projections.repository.projection-repository_interface can break iam.role.events.role_handler, while a change to iam.role.events.role_handler can't break event-store.projections.repository.projection-repository_interface.
- Position
- Below the diagonal: iam.role.events.role_handler uses a module listed above it, which is the healthy direction.
31→13 iam.role.events.role_handler uses event-store.handler.event-handler_interface✕
- Connections
- 1 pair of types, where a type in iam.role.events.role_handler uses a type in event-store.handler.event-handler_interface.
- The types involved
src.iam.role.events.role_handler.RoleHandler→src.event-store.handler.event-handler_interface.EventHandler
- Direction
- iam.role.events.role_handler uses event-store.handler.event-handler_interface, so a change to event-store.handler.event-handler_interface can break iam.role.events.role_handler, while a change to iam.role.events.role_handler can't break event-store.handler.event-handler_interface.
- Position
- Below the diagonal: iam.role.events.role_handler uses a module listed above it, which is the healthy direction.
31→24 iam.role.events.role_handler uses event-store.handler.projection-event_handler✕
- Connections
- 1 pair of types, where a type in iam.role.events.role_handler uses a type in event-store.handler.projection-event_handler.
- The types involved
src.iam.role.events.role_handler.RoleHandler→src.event-store.handler.projection-event_handler.ProjectionEventHandler
- Direction
- iam.role.events.role_handler uses event-store.handler.projection-event_handler, so a change to event-store.handler.projection-event_handler can break iam.role.events.role_handler, while a change to iam.role.events.role_handler can't break event-store.handler.projection-event_handler.
- Position
- Below the diagonal: iam.role.events.role_handler uses a module listed above it, which is the healthy direction.
31→28 iam.role.events.role_handler uses iam.role.projections.role_projection✕
- Connections
- 1 pair of types, where a type in iam.role.events.role_handler uses a type in iam.role.projections.role_projection.
- The types involved
src.iam.role.events.role_handler.RoleHandler→src.iam.role.projections.role_projection.RoleProjection
- Direction
- iam.role.events.role_handler uses iam.role.projections.role_projection, so a change to iam.role.projections.role_projection can break iam.role.events.role_handler, while a change to iam.role.events.role_handler can't break iam.role.projections.role_projection.
- Position
- Below the diagonal: iam.role.events.role_handler uses a module listed above it, which is the healthy direction.
32→2 iam.role.services.role_service uses app.repository.set-validation-repository_interface✕
- Connections
- 1 pair of types, where a type in iam.role.services.role_service uses a type in app.repository.set-validation-repository_interface.
- The types involved
src.iam.role.services.role_service.RoleService→src.app.repository.set-validation-repository_interface.SetValidationRepository
- Direction
- iam.role.services.role_service uses app.repository.set-validation-repository_interface, so a change to app.repository.set-validation-repository_interface can break iam.role.services.role_service, while a change to iam.role.services.role_service can't break app.repository.set-validation-repository_interface.
- Position
- Below the diagonal: iam.role.services.role_service uses a module listed above it, which is the healthy direction.
32→3 iam.role.services.role_service uses app.service.service_interface✕
- Connections
- 1 pair of types, where a type in iam.role.services.role_service uses a type in app.service.service_interface.
- The types involved
src.iam.role.services.role_service.RoleService→src.app.service.service_interface.Service
- Direction
- iam.role.services.role_service uses app.service.service_interface, so a change to app.service.service_interface can break iam.role.services.role_service, while a change to iam.role.services.role_service can't break app.service.service_interface.
- Position
- Below the diagonal: iam.role.services.role_service uses a module listed above it, which is the healthy direction.
32→8 iam.role.services.role_service uses iam.role.commands.create-role_command✕
- Connections
- 1 pair of types, where a type in iam.role.services.role_service uses a type in iam.role.commands.create-role_command.
- The types involved
src.iam.role.services.role_service.RoleService→src.iam.role.commands.create-role_command.CreateRole
- Direction
- iam.role.services.role_service uses iam.role.commands.create-role_command, so a change to iam.role.commands.create-role_command can break iam.role.services.role_service, while a change to iam.role.services.role_service can't break iam.role.commands.create-role_command.
- Position
- Below the diagonal: iam.role.services.role_service uses a module listed above it, which is the healthy direction.
32→9 iam.role.services.role_service uses iam.role.commands.disable-role_command✕
- Connections
- 1 pair of types, where a type in iam.role.services.role_service uses a type in iam.role.commands.disable-role_command.
- The types involved
src.iam.role.services.role_service.RoleService→src.iam.role.commands.disable-role_command.DisableRole
- Direction
- iam.role.services.role_service uses iam.role.commands.disable-role_command, so a change to iam.role.commands.disable-role_command can break iam.role.services.role_service, while a change to iam.role.services.role_service can't break iam.role.commands.disable-role_command.
- Position
- Below the diagonal: iam.role.services.role_service uses a module listed above it, which is the healthy direction.
32→15 iam.role.services.role_service uses event-store.publisher.event-publisher_interface✕
- Connections
- 1 pair of types, where a type in iam.role.services.role_service uses a type in event-store.publisher.event-publisher_interface.
- The types involved
src.iam.role.services.role_service.RoleService→src.event-store.publisher.event-publisher_interface.EventPublisher
- Direction
- iam.role.services.role_service uses event-store.publisher.event-publisher_interface, so a change to event-store.publisher.event-publisher_interface can break iam.role.services.role_service, while a change to iam.role.services.role_service can't break event-store.publisher.event-publisher_interface.
- Position
- Below the diagonal: iam.role.services.role_service uses a module listed above it, which is the healthy direction.
32→27 iam.role.services.role_service uses iam.role.models.role✕
- Connections
- 1 pair of types, where a type in iam.role.services.role_service uses a type in iam.role.models.role.
- The types involved
src.iam.role.services.role_service.RoleService→src.iam.role.models.role.Role
- Direction
- iam.role.services.role_service uses iam.role.models.role, so a change to iam.role.models.role can break iam.role.services.role_service, while a change to iam.role.services.role_service can't break iam.role.models.role.
- Position
- Below the diagonal: iam.role.services.role_service uses a module listed above it, which is the healthy direction.
33→5 iam.user.events.user-role-added_enricher uses event-store.events.enrich_interface✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-role-added_enricher uses a type in event-store.events.enrich_interface.
- The types involved
src.iam.user.events.user-role-added_enricher.UserRoleAddedEnricher→src.event-store.events.enrich_interface.Enrich
- Direction
- iam.user.events.user-role-added_enricher uses event-store.events.enrich_interface, so a change to event-store.events.enrich_interface can break iam.user.events.user-role-added_enricher, while a change to iam.user.events.user-role-added_enricher can't break event-store.events.enrich_interface.
- Position
- Below the diagonal: iam.user.events.user-role-added_enricher uses a module listed above it, which is the healthy direction.
33→20 iam.user.events.user-role-added_enricher uses iam.user.events.user-role-added✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-role-added_enricher uses a type in iam.user.events.user-role-added.
- The types involved
src.iam.user.events.user-role-added_enricher.UserRoleAddedEnricher→src.iam.user.events.user-role-added.UserRoleAdded
- Direction
- iam.user.events.user-role-added_enricher uses iam.user.events.user-role-added, so a change to iam.user.events.user-role-added can break iam.user.events.user-role-added_enricher, while a change to iam.user.events.user-role-added_enricher can't break iam.user.events.user-role-added.
- Position
- Below the diagonal: iam.user.events.user-role-added_enricher uses a module listed above it, which is the healthy direction.
33→27 iam.user.events.user-role-added_enricher uses iam.role.models.role✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-role-added_enricher uses a type in iam.role.models.role.
- The types involved
src.iam.user.events.user-role-added_enricher.UserRoleAddedEnricher→src.iam.role.models.role.Role
- Direction
- iam.user.events.user-role-added_enricher uses iam.role.models.role, so a change to iam.role.models.role can break iam.user.events.user-role-added_enricher, while a change to iam.user.events.user-role-added_enricher can't break iam.role.models.role.
- Position
- Below the diagonal: iam.user.events.user-role-added_enricher uses a module listed above it, which is the healthy direction.
33→29 iam.user.events.user-role-added_enricher uses iam.user.models.user✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-role-added_enricher uses a type in iam.user.models.user.
- The types involved
src.iam.user.events.user-role-added_enricher.UserRoleAddedEnricher→src.iam.user.models.user.User
- Direction
- iam.user.events.user-role-added_enricher uses iam.user.models.user, so a change to iam.user.models.user can break iam.user.events.user-role-added_enricher, while a change to iam.user.events.user-role-added_enricher can't break iam.user.models.user.
- Position
- Below the diagonal: iam.user.events.user-role-added_enricher uses a module listed above it, which is the healthy direction.
34→5 iam.user.events.user-role-removed_enricher uses event-store.events.enrich_interface✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-role-removed_enricher uses a type in event-store.events.enrich_interface.
- The types involved
src.iam.user.events.user-role-removed_enricher.UserRoleRemovedEnricher→src.event-store.events.enrich_interface.Enrich
- Direction
- iam.user.events.user-role-removed_enricher uses event-store.events.enrich_interface, so a change to event-store.events.enrich_interface can break iam.user.events.user-role-removed_enricher, while a change to iam.user.events.user-role-removed_enricher can't break event-store.events.enrich_interface.
- Position
- Below the diagonal: iam.user.events.user-role-removed_enricher uses a module listed above it, which is the healthy direction.
34→21 iam.user.events.user-role-removed_enricher uses iam.user.events.user-role-removed✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-role-removed_enricher uses a type in iam.user.events.user-role-removed.
- The types involved
src.iam.user.events.user-role-removed_enricher.UserRoleRemovedEnricher→src.iam.user.events.user-role-removed.UserRoleRemoved
- Direction
- iam.user.events.user-role-removed_enricher uses iam.user.events.user-role-removed, so a change to iam.user.events.user-role-removed can break iam.user.events.user-role-removed_enricher, while a change to iam.user.events.user-role-removed_enricher can't break iam.user.events.user-role-removed.
- Position
- Below the diagonal: iam.user.events.user-role-removed_enricher uses a module listed above it, which is the healthy direction.
34→27 iam.user.events.user-role-removed_enricher uses iam.role.models.role✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-role-removed_enricher uses a type in iam.role.models.role.
- The types involved
src.iam.user.events.user-role-removed_enricher.UserRoleRemovedEnricher→src.iam.role.models.role.Role
- Direction
- iam.user.events.user-role-removed_enricher uses iam.role.models.role, so a change to iam.role.models.role can break iam.user.events.user-role-removed_enricher, while a change to iam.user.events.user-role-removed_enricher can't break iam.role.models.role.
- Position
- Below the diagonal: iam.user.events.user-role-removed_enricher uses a module listed above it, which is the healthy direction.
34→29 iam.user.events.user-role-removed_enricher uses iam.user.models.user✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-role-removed_enricher uses a type in iam.user.models.user.
- The types involved
src.iam.user.events.user-role-removed_enricher.UserRoleRemovedEnricher→src.iam.user.models.user.User
- Direction
- iam.user.events.user-role-removed_enricher uses iam.user.models.user, so a change to iam.user.models.user can break iam.user.events.user-role-removed_enricher, while a change to iam.user.events.user-role-removed_enricher can't break iam.user.models.user.
- Position
- Below the diagonal: iam.user.events.user-role-removed_enricher uses a module listed above it, which is the healthy direction.
35→5 iam.user.events.user-updated_enricher uses event-store.events.enrich_interface✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-updated_enricher uses a type in event-store.events.enrich_interface.
- The types involved
src.iam.user.events.user-updated_enricher.UserUpdatedEnricher→src.event-store.events.enrich_interface.Enrich
- Direction
- iam.user.events.user-updated_enricher uses event-store.events.enrich_interface, so a change to event-store.events.enrich_interface can break iam.user.events.user-updated_enricher, while a change to iam.user.events.user-updated_enricher can't break event-store.events.enrich_interface.
- Position
- Below the diagonal: iam.user.events.user-updated_enricher uses a module listed above it, which is the healthy direction.
35→22 iam.user.events.user-updated_enricher uses iam.user.events.user-updated✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-updated_enricher uses a type in iam.user.events.user-updated.
- The types involved
src.iam.user.events.user-updated_enricher.UserUpdatedEnricher→src.iam.user.events.user-updated.UserUpdated
- Direction
- iam.user.events.user-updated_enricher uses iam.user.events.user-updated, so a change to iam.user.events.user-updated can break iam.user.events.user-updated_enricher, while a change to iam.user.events.user-updated_enricher can't break iam.user.events.user-updated.
- Position
- Below the diagonal: iam.user.events.user-updated_enricher uses a module listed above it, which is the healthy direction.
35→29 iam.user.events.user-updated_enricher uses iam.user.models.user✕
- Connections
- 1 pair of types, where a type in iam.user.events.user-updated_enricher uses a type in iam.user.models.user.
- The types involved
src.iam.user.events.user-updated_enricher.UserUpdatedEnricher→src.iam.user.models.user.User
- Direction
- iam.user.events.user-updated_enricher uses iam.user.models.user, so a change to iam.user.models.user can break iam.user.events.user-updated_enricher, while a change to iam.user.events.user-updated_enricher can't break iam.user.models.user.
- Position
- Below the diagonal: iam.user.events.user-updated_enricher uses a module listed above it, which is the healthy direction.
36→7 iam.user.events.user_handler uses event-store.projections.repository.projection-repository_interface✕
- Connections
- 1 pair of types, where a type in iam.user.events.user_handler uses a type in event-store.projections.repository.projection-repository_interface.
- The types involved
src.iam.user.events.user_handler.UserHandler→src.event-store.projections.repository.projection-repository_interface.ProjectionRepository
- Direction
- iam.user.events.user_handler uses event-store.projections.repository.projection-repository_interface, so a change to event-store.projections.repository.projection-repository_interface can break iam.user.events.user_handler, while a change to iam.user.events.user_handler can't break event-store.projections.repository.projection-repository_interface.
- Position
- Below the diagonal: iam.user.events.user_handler uses a module listed above it, which is the healthy direction.
36→13 iam.user.events.user_handler uses event-store.handler.event-handler_interface✕
- Connections
- 1 pair of types, where a type in iam.user.events.user_handler uses a type in event-store.handler.event-handler_interface.
- The types involved
src.iam.user.events.user_handler.UserHandler→src.event-store.handler.event-handler_interface.EventHandler
- Direction
- iam.user.events.user_handler uses event-store.handler.event-handler_interface, so a change to event-store.handler.event-handler_interface can break iam.user.events.user_handler, while a change to iam.user.events.user_handler can't break event-store.handler.event-handler_interface.
- Position
- Below the diagonal: iam.user.events.user_handler uses a module listed above it, which is the healthy direction.
36→24 iam.user.events.user_handler uses event-store.handler.projection-event_handler✕
- Connections
- 1 pair of types, where a type in iam.user.events.user_handler uses a type in event-store.handler.projection-event_handler.
- The types involved
src.iam.user.events.user_handler.UserHandler→src.event-store.handler.projection-event_handler.ProjectionEventHandler
- Direction
- iam.user.events.user_handler uses event-store.handler.projection-event_handler, so a change to event-store.handler.projection-event_handler can break iam.user.events.user_handler, while a change to iam.user.events.user_handler can't break event-store.handler.projection-event_handler.
- Position
- Below the diagonal: iam.user.events.user_handler uses a module listed above it, which is the healthy direction.
36→30 iam.user.events.user_handler uses iam.user.projections.user_projection✕
- Connections
- 1 pair of types, where a type in iam.user.events.user_handler uses a type in iam.user.projections.user_projection.
- The types involved
src.iam.user.events.user_handler.UserHandler→src.iam.user.projections.user_projection.UserProjection
- Direction
- iam.user.events.user_handler uses iam.user.projections.user_projection, so a change to iam.user.projections.user_projection can break iam.user.events.user_handler, while a change to iam.user.events.user_handler can't break iam.user.projections.user_projection.
- Position
- Below the diagonal: iam.user.events.user_handler uses a module listed above it, which is the healthy direction.
37→2 iam.user.services.user_service uses app.repository.set-validation-repository_interface✕
- Connections
- 1 pair of types, where a type in iam.user.services.user_service uses a type in app.repository.set-validation-repository_interface.
- The types involved
src.iam.user.services.user_service.UserService→src.app.repository.set-validation-repository_interface.SetValidationRepository
- Direction
- iam.user.services.user_service uses app.repository.set-validation-repository_interface, so a change to app.repository.set-validation-repository_interface can break iam.user.services.user_service, while a change to iam.user.services.user_service can't break app.repository.set-validation-repository_interface.
- Position
- Below the diagonal: iam.user.services.user_service uses a module listed above it, which is the healthy direction.
37→3 iam.user.services.user_service uses app.service.service_interface✕
- Connections
- 1 pair of types, where a type in iam.user.services.user_service uses a type in app.service.service_interface.
- The types involved
src.iam.user.services.user_service.UserService→src.app.service.service_interface.Service
- Direction
- iam.user.services.user_service uses app.service.service_interface, so a change to app.service.service_interface can break iam.user.services.user_service, while a change to iam.user.services.user_service can't break app.service.service_interface.
- Position
- Below the diagonal: iam.user.services.user_service uses a module listed above it, which is the healthy direction.
37→10 iam.user.services.user_service uses iam.user.commands.add-user-role_command✕
- Connections
- 1 pair of types, where a type in iam.user.services.user_service uses a type in iam.user.commands.add-user-role_command.
- The types involved
src.iam.user.services.user_service.UserService→src.iam.user.commands.add-user-role_command.AddUserRole
- Direction
- iam.user.services.user_service uses iam.user.commands.add-user-role_command, so a change to iam.user.commands.add-user-role_command can break iam.user.services.user_service, while a change to iam.user.services.user_service can't break iam.user.commands.add-user-role_command.
- Position
- Below the diagonal: iam.user.services.user_service uses a module listed above it, which is the healthy direction.
37→15 iam.user.services.user_service uses event-store.publisher.event-publisher_interface✕
- Connections
- 1 pair of types, where a type in iam.user.services.user_service uses a type in event-store.publisher.event-publisher_interface.
- The types involved
src.iam.user.services.user_service.UserService→src.event-store.publisher.event-publisher_interface.EventPublisher
- Direction
- iam.user.services.user_service uses event-store.publisher.event-publisher_interface, so a change to event-store.publisher.event-publisher_interface can break iam.user.services.user_service, while a change to iam.user.services.user_service can't break event-store.publisher.event-publisher_interface.
- Position
- Below the diagonal: iam.user.services.user_service uses a module listed above it, which is the healthy direction.
37→27 iam.user.services.user_service uses iam.role.models.role✕
- Connections
- 1 pair of types, where a type in iam.user.services.user_service uses a type in iam.role.models.role.
- The types involved
src.iam.user.services.user_service.UserService→src.iam.role.models.role.Role
- Direction
- iam.user.services.user_service uses iam.role.models.role, so a change to iam.role.models.role can break iam.user.services.user_service, while a change to iam.user.services.user_service can't break iam.role.models.role.
- Position
- Below the diagonal: iam.user.services.user_service uses a module listed above it, which is the healthy direction.
37→29 iam.user.services.user_service uses iam.user.models.user✕
- Connections
- 1 pair of types, where a type in iam.user.services.user_service uses a type in iam.user.models.user.
- The types involved
src.iam.user.services.user_service.UserService→src.iam.user.models.user.User
- Direction
- iam.user.services.user_service uses iam.user.models.user, so a change to iam.user.models.user can break iam.user.services.user_service, while a change to iam.user.services.user_service can't break iam.user.models.user.
- Position
- Below the diagonal: iam.user.services.user_service uses a module listed above it, which is the healthy direction.
38→8 iam.role.commands.create-role_handler uses iam.role.commands.create-role_command✕
- Connections
- 1 pair of types, where a type in iam.role.commands.create-role_handler uses a type in iam.role.commands.create-role_command.
- The types involved
src.iam.role.commands.create-role_handler.CreateRoleHandler→src.iam.role.commands.create-role_command.CreateRole
- Direction
- iam.role.commands.create-role_handler uses iam.role.commands.create-role_command, so a change to iam.role.commands.create-role_command can break iam.role.commands.create-role_handler, while a change to iam.role.commands.create-role_handler can't break iam.role.commands.create-role_command.
- Position
- Below the diagonal: iam.role.commands.create-role_handler uses a module listed above it, which is the healthy direction.
38→32 iam.role.commands.create-role_handler uses iam.role.services.role_service✕
- Connections
- 1 pair of types, where a type in iam.role.commands.create-role_handler uses a type in iam.role.services.role_service.
- The types involved
src.iam.role.commands.create-role_handler.CreateRoleHandler→src.iam.role.services.role_service.RoleService
- Direction
- iam.role.commands.create-role_handler uses iam.role.services.role_service, so a change to iam.role.services.role_service can break iam.role.commands.create-role_handler, while a change to iam.role.commands.create-role_handler can't break iam.role.services.role_service.
- Position
- Below the diagonal: iam.role.commands.create-role_handler uses a module listed above it, which is the healthy direction.
39→9 iam.role.commands.disable-role_handler uses iam.role.commands.disable-role_command✕
- Connections
- 1 pair of types, where a type in iam.role.commands.disable-role_handler uses a type in iam.role.commands.disable-role_command.
- The types involved
src.iam.role.commands.disable-role_handler.DisableUserRoleHandler→src.iam.role.commands.disable-role_command.DisableRole
- Direction
- iam.role.commands.disable-role_handler uses iam.role.commands.disable-role_command, so a change to iam.role.commands.disable-role_command can break iam.role.commands.disable-role_handler, while a change to iam.role.commands.disable-role_handler can't break iam.role.commands.disable-role_command.
- Position
- Below the diagonal: iam.role.commands.disable-role_handler uses a module listed above it, which is the healthy direction.
39→32 iam.role.commands.disable-role_handler uses iam.role.services.role_service✕
- Connections
- 1 pair of types, where a type in iam.role.commands.disable-role_handler uses a type in iam.role.services.role_service.
- The types involved
src.iam.role.commands.disable-role_handler.DisableUserRoleHandler→src.iam.role.services.role_service.RoleService
- Direction
- iam.role.commands.disable-role_handler uses iam.role.services.role_service, so a change to iam.role.services.role_service can break iam.role.commands.disable-role_handler, while a change to iam.role.commands.disable-role_handler can't break iam.role.services.role_service.
- Position
- Below the diagonal: iam.role.commands.disable-role_handler uses a module listed above it, which is the healthy direction.
40→10 iam.user.commands.add-user-role_handler uses iam.user.commands.add-user-role_command✕
- Connections
- 1 pair of types, where a type in iam.user.commands.add-user-role_handler uses a type in iam.user.commands.add-user-role_command.
- The types involved
src.iam.user.commands.add-user-role_handler.AddUserRoleHandler→src.iam.user.commands.add-user-role_command.AddUserRole
- Direction
- iam.user.commands.add-user-role_handler uses iam.user.commands.add-user-role_command, so a change to iam.user.commands.add-user-role_command can break iam.user.commands.add-user-role_handler, while a change to iam.user.commands.add-user-role_handler can't break iam.user.commands.add-user-role_command.
- Position
- Below the diagonal: iam.user.commands.add-user-role_handler uses a module listed above it, which is the healthy direction.
40→37 iam.user.commands.add-user-role_handler uses iam.user.services.user_service✕
- Connections
- 1 pair of types, where a type in iam.user.commands.add-user-role_handler uses a type in iam.user.services.user_service.
- The types involved
src.iam.user.commands.add-user-role_handler.AddUserRoleHandler→src.iam.user.services.user_service.UserService
- Direction
- iam.user.commands.add-user-role_handler uses iam.user.services.user_service, so a change to iam.user.services.user_service can break iam.user.commands.add-user-role_handler, while a change to iam.user.commands.add-user-role_handler can't break iam.user.services.user_service.
- Position
- Below the diagonal: iam.user.commands.add-user-role_handler uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 74 | High / Critical |
| A02:2025 — Security Misconfiguration | 28 | High / Critical |
| A07:2025 — Authentication Failures | 1 | High / Critical |
Roadmap
Immediately resolve the leaked secret in REDACTED to secure credentials, then enforce strict encapsulation by making entity setters private and exposing collections as read-only. Shift business rules into the aggregates to ensure invariants are enforced at the source rather than in services. Finally, establish a CI pipeline to run tests on every push and clean up the dependency tree by removing unused packages and explicitly declaring imports.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. | +20.2 pts | Low | Secret Scanning |
| Make entity setters private/init-only and hand collections out as IReadOnlyList/IReadOnlyCollection over a private backing field; change state only through methods that enforce the invariants (Marten/EF can bind via constructor or private setters). | +4.5 pts | Medium | Encapsulated state |
| Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services. | +4.0 pts | Medium | Rich vs anemic model |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +3.1 pts | Medium | CI/CD gates |
| Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies. | +3.1 pts | Medium | Dependency Hygiene |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +1.3 pts | Low | ADR Quality |
| Add tests that import the unreached modules (directly or through their public entry). | +1.6 pts | Medium | Test Coverage |
| Add eslint and `tsc --noEmit` as package.json scripts and run them in CI. | +1.1 pts | Medium | Tooling |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 0.0 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 7.2 | Mixed | IaC & Container Security: High IaC: 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. 71 of 74 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.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 74 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, 163 of 175 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
- 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. This repository's 1 package.json manifest(s) WERE read and their pinning discipline assessed; what went unanswered is the currency half, because answering it needs a lockfile resolved to CONCRETE versions and this repository's 1 committed lockfile(s) are in a format this engine does not resolve. The resolver reads pnpm-lock.yaml, REDACTED / npm-shrinkwrap.json at lockfileVersion 2 or 3, yarn.lock in both the classic and berry dialects, and bun's text bun.lock; what it cannot read is bun.lockb, a binary serialisation of bun's install graph with no published layout, and a lockfileVersion 1 REDACTED, which is a differently-shaped nested tree. So nothing here could be graded and registry.npmjs.org was never asked. This is OUR side and it is a COLLECTOR gap, not an environment fault: the remedy is to write the reader for the format this repository commits, and no change to the scan image or the egress allowlist can close it.
- 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.
- D15 Churn × Complexity Hotspots — 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. Git history depth insufficient — this repository has 10 commit(s), too few for a reliable trend signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
- 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-contributor repository — bus factor is not applicable (1 contributor(s) across 10 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so 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 an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published package.json's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D34 Knowledge Freshness — 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. Too few commits to judge knowledge freshness (10 commit(s) sampled).
- D35 Change Coupling — 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. Git history depth insufficient — this repository has 10 commit(s), too few for a reliable change-coupling signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
- AX1 Captive dependencies — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads Microsoft.Extensions.DependencyInjection registrations in C# and Spring beans in Java/Kotlin only, and this repository's container is InversifyJS, whose lifetimes are not modelled yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — localstack Pulling localstack Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: localstack Pulling localstack Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Arm two tells a construction that PRODUCES a measurement from one that merely passes it along, and this repository's frontend does not compute that fact. A measurement built independently in two places would not appear above.
- 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. 11 further occurrence(s) are not listed individually; the score already reflects all 51.
- 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. 73 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled certificate validation and obsolete TLS versions, and none was found. The server controls this dimension also scores were not assessed, so no score is given.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Go, PHP, Dart, Kotlin, Ruby, Scala, Java, Python and Rust source only, and no C# was loaded, and no named async function in this repository's JavaScript/TypeScript, nor any Go, PHP or Dart function or Kotlin suspend function, makes a request that can be cancelled (fetch, axios, ky, ofetch; net/http, net.Dial; amphp; Dio; Ktor, OkHttp), so there is nothing to judge, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
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.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- 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.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D6 · Cohesion (LCOM4)
0 of 11 classes have LCOM4 above 3.
D8 · Code Coverage
Line coverage 77.2%. Measured from the JavaScript/TypeScript suite (jest via `npm ci --ignore-scripts` in the repository root).
D9 · Test Distribution
5 test methods: 5 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 5 `it`/`test` case(s) across 2 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 5 tests.
D11 · Test Reliability
0 flaky across 1 measured tier(s). JavaScript/TypeScript (jest via `npm ci --ignore-scripts` in the repository root (5 tests)): measured (0 flaky).
D13 · Secret Scanning
1 secret(s) detected.
What to do
- Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Stand up a CI pipeline, then gate Secret Scanning in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 2362 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README is comprehensive: it states what the project is (DDD/CQRS/Event Sourcing example using AWS SAM), lists features with links to authoritative sources, and gives a full installation guide that includes cloning the repo, installing Docker, Postman, npm install, and creating a .env file. It also outlines build/test/run/deploy steps and architecture topics in an outline, matching its own scope.
What to do
- Improve Documentation Quality — currently 8.0/10. — The repository's root README is comprehensive: it states what the project is (DDD/CQRS/Event Sourcing example using AWS SAM), lists features with links to authoritative sources, and gives a full installation guide that includes cloning the repo, installing Docker, Postman, npm install, and creating a .env file. It also outlines build/test/run/deploy steps and architecture topics in an outline, matching its own scope.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
0 of 1 build units (npm) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
semgrep found no security issues.
D30 · Dependency Vulnerabilities
74 finding(s): 16 critical, 30 high, 22 medium, 6 low.
What to do
- Resolve the 29 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (29). — One of this dimension's main actionable groups (29 issue-level).
- Resolve the 15 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (15). — One of this dimension's main actionable groups (15 issue-level).
- Resolve the 1 Critical vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D31 · IaC & Container Security
28 finding(s): 0 critical, 8 high, 3 medium, 17 low.
What to do
- Resolve the 17 Low IaC finding(s) in IaC & Container Security — start with REDACTED (17). — One of this dimension's main actionable groups (17 recommendation-level).
- Resolve the 8 High IaC finding(s) in IaC & Container Security — start with REDACTED (7), REDACTED. — One of this dimension's main actionable groups (8 issue-level).
- Resolve the 3 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (3). — One of this dimension's main actionable groups (3 warning-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 13 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX6 · Interface segregation
DM1 · Aggregate boundaries
DM10 · One transaction, one aggregate
DM11 · Constructible invalid state
DM4 · Rich vs anemic model
- `Role` is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — src/iam/role/models/role.ts:15
- `User` is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — src/iam/user/models/user.ts:26
What to do
- Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services.
DM5 · Encapsulated state
- `Role` exposes publicly writable state (name, users, disabled). — src/iam/role/models/role.ts:15
- `User` exposes publicly writable state (email, firstName, lastName, roles, disabled). — src/iam/user/models/user.ts:26
What to do
- Make entity setters private/init-only and hand collections out as IReadOnlyList/IReadOnlyCollection over a private backing field; change state only through methods that enforce the invariants (Marten/EF can bind via constructor or private setters).
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
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 your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
- README advertises a microservices architecture, but the repo is a single project with no service manifests — searched for: `microservice`, `service-mesh`, `istio`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest and configuration files (package.json and other *.json, *.csproj, *.props, *.sln/*.slnx, *.yml, *.toml, *.config, tool configs such as eslint.config.js, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong. — README.md:5
What to do
- Reconcile the README with reality: README advertises a microservices architecture, but the repo is a single project with no service manifests.
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P2 · Observability
What to do
- Consider OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) and a health-check endpoint (@godaddy/terminus or a /health route) for operability.
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 — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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
- Run what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add 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
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
What to do
- Document RTO/RPO and a tested restore procedure (a backup config alone isn't disaster recovery).
- No persistence guard on critical data stores — use Docker named volumes (or your orchestrator's persistent-volume equivalent) so the data store can't be wiped by a container recreate (or, in cloud, set purge-protection / soft-delete / prevent_destroy).
PF3 · Async & latency hygiene
R1 · Type Safety
R10 · Code Duplication
- 8 duplicated blocks under src/iam/ have copies in at least two of the sibling directories role, user — 2 of them are reported below, and 6 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 8 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 8 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 8 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/iam/role/controllers/role-controller.ts:24
- src/iam/role/controllers/role-controller.ts:24 · src/iam/user/controllers/user-controller.ts:33 — 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/iam/role/controllers/role-controller.ts:24
- src/iam/role/services/role.service.ts:17 · src/iam/user/services/user.service.ts:28 — the two spans are one implementation copied and then locally edited — 231 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/iam/role/services/role.service.ts:17
- src/iam/user/models/user.validator.ts:43 · src/iam/user/models/user.validator.ts:68 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — src/iam/user/models/user.validator.ts:43
- src/iam/role/projections/role.projection.ts:33 · src/iam/role/projections/role.projection.ts:47 — the two spans are one implementation copied and then locally edited — 68 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/iam/role/projections/role.projection.ts:33
- src/iam/user/events/user-role-added.enricher.ts:6 · src/iam/user/events/user-role-removed.enricher.ts:6 — 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/iam/user/events/user-role-added.enricher.ts:6
- src/event-store/projections/projection.ts:19 · src/event-store/publisher/dynamo-event-publisher.ts:30 — the two spans are one implementation copied and then locally edited — 57 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/event-store/projections/projection.ts:19
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
- 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. (×40) — src/iam/user/controllers/user-controller.ts:1, src/iam/role/controllers/role-controller.ts:1, src/app/application-container.ts:1, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
- 41 outdated package(s); JS/npm CVEs scored in D30
What to do
- Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling
- test ✓ · lint ✗ · typecheck ✗ — read from this repository's package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: `test` for the suite, `lint` or `prettier` for linting, `typecheck`/`type-check`/`tsc` for type checking. ✗ therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline — a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A ✓ means the wiring is DECLARED — a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite.
What to do
- Add eslint and `tsc --noEmit` as package.json scripts and run them in CI.
R7 · Dead Code
- 77 file(s) (~3037 LoC) were excluded from dead-code analysis — declare main/module/exports or a conventional entry (src/index.*, an index.html script) so reachability can see this package.
- Nothing imports this binding — it is safe to review for removal. — src/iam/role/models/role.validator.ts:12
- This top-level declaration is not exported and its name occurs nowhere else in its module — not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it. — webpack.config.js:38
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. (×3) — src/event-store/events/event.ts:1, src/app/service/service.interface.ts:2, src/event-store/brokers/event-source-broker.ts:4
- Declared in the root 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)
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
- src/iam/role/events/role-created.ts → src/iam/role/events/role-events.ts → src/iam/role/models/role.ts → src/iam/role/events/role-created.ts (one verified cycle inside a mutually-dependent group of 4 files) — src/iam/role/events/role-created.ts:4
- src/iam/user/events/user-disabled.ts → src/iam/user/events/user-events.ts → src/iam/user/models/user.ts → src/iam/user/events/user-disabled.ts (one verified cycle inside a mutually-dependent group of 7 files) — src/iam/user/events/user-disabled.ts:4
What to do
- Break each cycle by extracting the shared piece into a module both sides can import.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X4 · Structured logging
- `debug` at line 70 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — src/event-store/publisher/dynamo-event-publisher.ts:70
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- 0/1 of this repository's type-checking configuration(s) turn on strict null checking (`"strict": true`, or `"strictNullChecks": true`). A configuration that states neither is counted as OFF, because off is tsc's own default; a solution-style one whose `"files"` is empty and whose `"references"` point at other projects is in neither number, because it checks no source itself. Where it is off, `string` admits `null` and `undefined`: passing a value that is null compiles silently and throws on the first property access.
- ~9.8 `!` null assertions per 1k TypeScript source lines — 28 assertion(s) across the 2864 source line(s) of the 73 TypeScript file(s) read, which is the only code the operator asserts anything in (a `!` in a `.js` file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: src/iam/user/models/user.validator.ts (10), src/iam/user/dtos/user-put.dto.ts (3), src/iam/role/dtos/role-post.dto.ts (2). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 69% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 81% | Strong | Solid. |
| Maturity | 68% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 16% | Critical — gated by R4, R6, R8, P1, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 78% | Adequate — gated by D30 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 53% | Adequate — gated by DM4, DM5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Not evidenced — 1 control(s) we could not find positive evidence for
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 65 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — localstack Pulling localstack Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: localstack Pulling localstack Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no data at rest for these controls to protect. If it does persist personal data (through a hosted backend configured outside this repository, for instance), the controls belong to wherever that data is stored.
- C2 Access Controls — No access-control surface detected in the analyzed source — this repository stands up no server (no Express, Fastify, Koa, Hono, NestJS or similar app, no Next.js/SvelteKit/Nuxt server route, no edge function), creates no Supabase tables and talks to no hosted backend. Access control is therefore N/A here — a browser application or library is authorized by the server it calls, not by itself; a client-side route guard hides a page and authorizes nothing. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a hosted backend configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data whose lifetime a retention limit would bound. If it does (through a hosted backend configured outside this repository, for instance), the limit belongs wherever that data is stored.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data for a data subject to erase, export or consent over. If it does (through a hosted backend configured outside this repository, for instance), the rights are served wherever that data is stored.
- D12 Dependency Hygiene — Dependency currency not established — no reader for this repository's lockfile format
- D14 License Compliance — npm licences not graded — this npm repository commits no lockfile this pass can resolve
- D16 Bus Factor — single-contributor 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.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Aggregate roots were found in only one source directory (iam), which is a layered codebase, not two contexts. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.ts), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — 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.
- D34 Knowledge Freshness — too few commits to judge knowledge freshness
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- 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.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D5 Coupling — Not applicable — this npm build ships 1 production module(s), so there is no coupling BETWEEN modules to measure. (Its test and non-production modules are not part of the shipped graph.)
- 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
- DM2 Strongly-typed ids — no id-bearing domain types detected — strongly-typed-id adoption not assessable
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM6 Domain ↔ infrastructure boundary — this TypeScript/JavaScript repository maps no type to a persistence framework (TypeORM/Prisma/MikroORM/Sequelize/Mongoose), so DM6's domain↔infrastructure fusion read has no population to be taken over
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — no CI workflow found
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JavaScript/TypeScript source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — coverage data present for 15 file(s), but no domain-layer files were identified: no covered file's path contains any of the markers this check keys on (/domain/, /aggregates/, /valueobjects/, /domainmodel/, .domain/, /entities/), which are matched case-insensitively anywhere in the path. With no domain partition there is nothing to compare the web/controller layer against — if this repository keeps its business rules under a folder named none of those, that naming is what the check cannot see, not the domain logic.
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
- S1 Web-Security Posture — Not assessed: 73 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation and obsolete TLS versions, and none was found. That half of the dimension is clean, but it is not scored on its own: a C# repository with the same clean reading is scored on its server controls as well, or is N/A for having no web surface, and neither can be decided here. The server controls — HTTPS enforcement, HSTS, cookie flags, input validation — are NOT assessed for JavaScript/TypeScript: each is scored as an absence, an absence is only reportable over the production HTTP server, and in this ecosystem the file that opens the port is build output or a framework launcher rather than a file in the source tree. Their absence here is not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — Not applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 60 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Import cycle (3 files) src/iam/role/events/role-created.ts:4
- Import cycle (3 files) src/iam/user/events/user-disabled.ts:4
- REDACTED
- REDACTED
- REDACTED
- Unlisted import '@node-ts/bus-messages' src/event-store/events/event.ts:1
- Unlisted import '@node-ts/ddd-types' src/app/service/service.interface.ts:2
- Unlisted import 'aws-lambda' src/event-store/brokers/event-source-broker.ts:4
Serious — 82 finding(s)
- No test reaches this file src/iam/user/controllers/user-controller.ts:1
- No test reaches this file src/iam/role/controllers/role-controller.ts:1
- No test reaches this file src/app/application-container.ts:1
- No test reaches this file src/iam/user/services/user.service.ts:1
- No test reaches this file src/event-store/handler/projection-event.handler.ts:1
- No test reaches this file src/app/repository/dynamo.repository.ts:1
- No test reaches this file src/event-store/brokers/event-source-broker.ts:1
- No test reaches this file src/event-store/publisher/dynamo-event-publisher.ts:1
- No test reaches this file src/iam/role/events/role.handler.ts:1
- No test reaches this file src/iam/role/services/role.service.ts:1
- No test reaches this file src/iam/role/projections/role.projection.ts:1
- No test reaches this file src/app/repository/dynamo-set-validation.repository.ts:1
- No test reaches this file src/iam/user/projections/user.projection.ts:1
- No test reaches this file src/event-store/brokers/queue-broker.ts:1
- No test reaches this file src/event-store/dynamo-kinesis-adaptor.ts:1
- No test reaches this file src/event-store/projections/projection.ts:1
- No test reaches this file src/iam/user/events/user-role-added.enricher.ts:1
- No test reaches this file src/iam/user/events/user.handler.ts:1
- No test reaches this file src/app/application.controller.ts:1
- No test reaches this file src/iam/user/events/user-role-removed.enricher.ts:1
- No test reaches this file src/app/application-error.ts:1
- No test reaches this file src/iam/user/commands/update-user.command.ts:1
- No test reaches this file src/iam/role/commands/create-role.command.ts:1
- No test reaches this file src/iam/user/commands/add-user-role.command.ts:1
- No test reaches this file src/iam/user/commands/disable-user.command.ts:1
- 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
- Anemic entity: Role src/iam/role/models/role.ts:15
- Anemic entity: User src/iam/user/models/user.ts:26
- Mutable entity: Role src/iam/role/models/role.ts:15
- Mutable entity: User src/iam/user/models/user.ts:26
- No CI pipeline
- Duplication concentrated across 2 sibling directories (8 clone groups) src/iam/role/controllers/role-controller.ts:24
- Duplicated block (42 lines × 2 locations) src/iam/role/controllers/role-controller.ts:24
- Duplicated block with local edits (23 matched lines × 2 locations) src/iam/role/services/role.service.ts:17
- Duplicated block (16 lines × 2 locations) src/iam/user/models/user.validator.ts:43
- Duplicated block with local edits (10 matched lines × 2 locations) src/iam/role/projections/role.projection.ts:33
- Duplicated block (10 lines × 2 locations) src/iam/user/events/user-role-added.enricher.ts:6
- Duplicated block with local edits (7 matched lines × 2 locations) src/event-store/projections/projection.ts:19
- Dependency Freshness
- No lint or typecheck script
- Unused dependency 'cassava'
- Unused dependency 'chai'
- Unused dependency 'dotenv'
Minor — 33 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
- No ADRs found
- No ADRs
- README/code drift README.md:5
- No SAST
- No rollback/health safety
- Unused export 'RoleDisableValidator' src/iam/role/models/role.validator.ts:12
- Unused module-local declaration 'autoDllPluginPostBuilder' webpack.config.js:38
- Interpolated log message defeats structured logging src/event-store/publisher/dynamo-event-publisher.ts:70
- Strict null checking is not enabled everywhere the repository type-checks
- Null assertions (`!`) reduce the strict null checking score
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-e548166b2c0746448f6a72cb87191957/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-e548166b2c0746448f6a72cb87191957/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 0 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 74 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 28 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |