Executive summary
yerinadler/typescript-event-sourcing-sample-app scores 42 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged. Watchdog judged it as a template, sample or demo, meant to be read or copied, so the dimensions about building, releasing and running a product don't apply, and its lenses are rated against a lower bar. The score itself is worked out as for any repository.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 15 and is rated Weak. Its Test Distribution 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 No tests found finding(s) in Test Distribution and to resolve the 7 Deprecated finding(s) in Dependency Hygiene, and if Production Readiness rose to 70, the score would rise from 42 to about 64.
28 findings are critical: 24 in Dependency Vulnerabilities, three in Dependency Hygiene and one in IaC & Container Security.
Watchdog couldn't measure 10 dimensions in this code, among them Navigability, Platform End-of-Life and Data Protection, so they are left out of the score. The product code is 1,407 lines, which would take an estimated 0.1 person-years, around €1,900, to rebuild.
If Production Readiness rose from 15 to 70, the lowest score rated Strong, the score would rise from 42 to about 64.
New since the last survey: 10 findings
- Dependency Hygiene · Deprecated: uuid packages/application/package.json
- Dependency Hygiene · Deprecated: eslint packages/application/package.json
- Dependency Hygiene · Deprecated: uuid packages/job/package.json
- Dependency Hygiene · Deprecated: @types/cassandra-driver packages/job/package.json
- Dependency Hygiene · Deprecated: eslint packages/job/package.json
- Dependency Hygiene · Unused dependency 'http-status-codes'
- Dependency Hygiene · Unused dependency 'module-alias'
- Dependency Hygiene · Unused dependency 'nanoid'
- Constructible invalid state · Constructible in an invalid state: Application packages/application/src/domain/application.ts
- Constructible invalid state · Constructible in an invalid state: Job packages/job/src/domain/job.ts
Rebuild cost: about €1,900 · Estimate
| Cost to rebuild | €620 to €3,100, for 10 to 33 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | High, 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 | Very small: 1,407 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 application.src.application.queries.definitions.get-all-applications-query | 2 application.src.domain.application-repository_interface | 3 core.src.Command | 4 core.src.EventDescriptor | 5 core.src.interfaces.ICommandHandler | 6 core.src.interfaces.IEvent | 7 core.src.interfaces.IEventHandler | 8 core.src.interfaces.IEventStore | 9 core.src.interfaces.IQueryHandler | 10 job.src.domain.job-repository_interface | 11 job.src.domain.status | 12 application.src.application.commands.definitions.create-application | 13 application.src.application.queries.handlers.get-all-applications-query-handler | 14 core.src.AggregateRoot | 15 core.src.Event | 16 core.src.EventSourcedRepository | 17 core.src.interfaces.ICommandBus | 18 core.src.interfaces.IEventBus | 19 core.src.interfaces.IQueryBus | 20 job.src.application.commands.handlers.archive-job-handler | 21 job.src.application.commands.handlers.create-job-handler | 22 job.src.application.commands.handlers.update-job-handler | 23 application.src.api.http.controllers.application_controller | 24 application.src.application.commands.handlers.create-application-handler | 25 application.src.application.events.definitions.job-created | 26 application.src.domain.events.application-created | 27 application.src.infrastructure.commandBus | 28 application.src.infrastructure.eventbus.kafka | 29 application.src.infrastructure.query-bus | 30 application.src.infrastructure.repositories.application-repository | 31 core.src.EventStore | 32 job.src.domain.events.job-archived | 33 job.src.domain.events.job-updated | 34 job.src.infrastructure.repositories.job-repository | 35 application.src.application.events.handlers.application-created-handler | 36 application.src.application.events.handlers.job-created-handler | 37 application.src.domain.application | 38 application.src.infrastructure.eventstore.application-event-store | 39 job.src.domain.job | 40 job.src.infrastructure.event-store.job-event-store |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 application.src.application.queries.definitions.get-all-applications-query | ||||||||||||||||||||||||||||||||||||||||
| 2 application.src.domain.application-repository_interface | ||||||||||||||||||||||||||||||||||||||||
| 3 core.src.Command | ||||||||||||||||||||||||||||||||||||||||
| 4 core.src.EventDescriptor | ||||||||||||||||||||||||||||||||||||||||
| 5 core.src.interfaces.ICommandHandler | ||||||||||||||||||||||||||||||||||||||||
| 6 core.src.interfaces.IEvent | ||||||||||||||||||||||||||||||||||||||||
| 7 core.src.interfaces.IEventHandler | ||||||||||||||||||||||||||||||||||||||||
| 8 core.src.interfaces.IEventStore | ||||||||||||||||||||||||||||||||||||||||
| 9 core.src.interfaces.IQueryHandler | ||||||||||||||||||||||||||||||||||||||||
| 10 job.src.domain.job-repository_interface | ||||||||||||||||||||||||||||||||||||||||
| 11 job.src.domain.status | ||||||||||||||||||||||||||||||||||||||||
| 12 application.src.application.commands.definitions.create-application | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 application.src.application.queries.handlers.get-all-applications-query-handler | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 14 core.src.AggregateRoot | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 core.src.Event | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 core.src.EventSourcedRepository | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 core.src.interfaces.ICommandBus | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 core.src.interfaces.IEventBus | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 core.src.interfaces.IQueryBus | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 job.src.application.commands.handlers.archive-job-handler | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 job.src.application.commands.handlers.create-job-handler | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 22 job.src.application.commands.handlers.update-job-handler | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 23 application.src.api.http.controllers.application_controller | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 application.src.application.commands.handlers.create-application-handler | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 25 application.src.application.events.definitions.job-created | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 application.src.domain.events.application-created | 1 | |||||||||||||||||||||||||||||||||||||||
| 27 application.src.infrastructure.commandBus | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 28 application.src.infrastructure.eventbus.kafka | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 29 application.src.infrastructure.query-bus | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 application.src.infrastructure.repositories.application-repository | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 31 core.src.EventStore | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 32 job.src.domain.events.job-archived | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 33 job.src.domain.events.job-updated | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 34 job.src.infrastructure.repositories.job-repository | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 35 application.src.application.events.handlers.application-created-handler | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 36 application.src.application.events.handlers.job-created-handler | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 37 application.src.domain.application | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 application.src.infrastructure.eventstore.application-event-store | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 job.src.domain.job | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 40 job.src.infrastructure.event-store.job-event-store | 1 | 1 |
12→3 application.src.application.commands.definitions.create-application uses core.src.Command✕
- Connections
- 1 pair of types, where a type in application.src.application.commands.definitions.create-application uses a type in core.src.Command.
- The types involved
packages.application.src.application.commands.definitions.create-application.CreateApplicationCommand→packages.core.src.Command.Command
- Direction
- application.src.application.commands.definitions.create-application uses core.src.Command, so a change to core.src.Command can break application.src.application.commands.definitions.create-application, while a change to application.src.application.commands.definitions.create-application can't break core.src.Command.
- Position
- Below the diagonal: application.src.application.commands.definitions.create-application uses a module listed above it, which is the healthy direction.
13→1 application.src.application.queries.handlers.get-all-applications-query-handler uses application.src.application.queries.definitions.get-all-applications-query✕
- Connections
- 1 pair of types, where a type in application.src.application.queries.handlers.get-all-applications-query-handler uses a type in application.src.application.queries.definitions.get-all-applications-query.
- The types involved
packages.application.src.application.queries.handlers.get-all-applications-query-handler.GetAllApplicationsQueryHandler→packages.application.src.application.queries.definitions.get-all-applications-query.GetAllApplicationsQuery
- Direction
- application.src.application.queries.handlers.get-all-applications-query-handler uses application.src.application.queries.definitions.get-all-applications-query, so a change to application.src.application.queries.definitions.get-all-applications-query can break application.src.application.queries.handlers.get-all-applications-query-handler, while a change to application.src.application.queries.handlers.get-all-applications-query-handler can't break application.src.application.queries.definitions.get-all-applications-query.
- Position
- Below the diagonal: application.src.application.queries.handlers.get-all-applications-query-handler uses a module listed above it, which is the healthy direction.
13→9 application.src.application.queries.handlers.get-all-applications-query-handler uses core.src.interfaces.IQueryHandler✕
- Connections
- 1 pair of types, where a type in application.src.application.queries.handlers.get-all-applications-query-handler uses a type in core.src.interfaces.IQueryHandler.
- The types involved
packages.application.src.application.queries.handlers.get-all-applications-query-handler.GetAllApplicationsQueryHandler→packages.core.src.interfaces.IQueryHandler.IQueryHandler
- Direction
- application.src.application.queries.handlers.get-all-applications-query-handler uses core.src.interfaces.IQueryHandler, so a change to core.src.interfaces.IQueryHandler can break application.src.application.queries.handlers.get-all-applications-query-handler, while a change to application.src.application.queries.handlers.get-all-applications-query-handler can't break core.src.interfaces.IQueryHandler.
- Position
- Below the diagonal: application.src.application.queries.handlers.get-all-applications-query-handler uses a module listed above it, which is the healthy direction.
14→6 core.src.AggregateRoot uses core.src.interfaces.IEvent✕
- Connections
- 1 pair of types, where a type in core.src.AggregateRoot uses a type in core.src.interfaces.IEvent.
- The types involved
packages.core.src.AggregateRoot.AggregateRoot→packages.core.src.interfaces.IEvent.IEvent
- Direction
- core.src.AggregateRoot uses core.src.interfaces.IEvent, so a change to core.src.interfaces.IEvent can break core.src.AggregateRoot, while a change to core.src.AggregateRoot can't break core.src.interfaces.IEvent.
- Position
- Below the diagonal: core.src.AggregateRoot uses a module listed above it, which is the healthy direction.
15→6 core.src.Event uses core.src.interfaces.IEvent✕
- Connections
- 1 pair of types, where a type in core.src.Event uses a type in core.src.interfaces.IEvent.
- The types involved
packages.core.src.Event.Event→packages.core.src.interfaces.IEvent.IEvent
- Direction
- core.src.Event uses core.src.interfaces.IEvent, so a change to core.src.interfaces.IEvent can break core.src.Event, while a change to core.src.Event can't break core.src.interfaces.IEvent.
- Position
- Below the diagonal: core.src.Event uses a module listed above it, which is the healthy direction.
16→8 core.src.EventSourcedRepository uses core.src.interfaces.IEventStore✕
- Connections
- 1 pair of types, where a type in core.src.EventSourcedRepository uses a type in core.src.interfaces.IEventStore.
- The types involved
packages.core.src.EventSourcedRepository.EventSourcedRepository→packages.core.src.interfaces.IEventStore.IEventStore
- Direction
- core.src.EventSourcedRepository uses core.src.interfaces.IEventStore, so a change to core.src.interfaces.IEventStore can break core.src.EventSourcedRepository, while a change to core.src.EventSourcedRepository can't break core.src.interfaces.IEventStore.
- Position
- Below the diagonal: core.src.EventSourcedRepository uses a module listed above it, which is the healthy direction.
17→5 core.src.interfaces.ICommandBus uses core.src.interfaces.ICommandHandler✕
- Connections
- 1 pair of types, where a type in core.src.interfaces.ICommandBus uses a type in core.src.interfaces.ICommandHandler.
- The types involved
packages.core.src.interfaces.ICommandBus.ICommandBus→packages.core.src.interfaces.ICommandHandler.ICommandHandler
- Direction
- core.src.interfaces.ICommandBus uses core.src.interfaces.ICommandHandler, so a change to core.src.interfaces.ICommandHandler can break core.src.interfaces.ICommandBus, while a change to core.src.interfaces.ICommandBus can't break core.src.interfaces.ICommandHandler.
- Position
- Below the diagonal: core.src.interfaces.ICommandBus uses a module listed above it, which is the healthy direction.
18→4 core.src.interfaces.IEventBus uses core.src.EventDescriptor✕
- Connections
- 1 pair of types, where a type in core.src.interfaces.IEventBus uses a type in core.src.EventDescriptor.
- The types involved
packages.core.src.interfaces.IEventBus.IEventBus→packages.core.src.EventDescriptor.EventDescriptor
- Direction
- core.src.interfaces.IEventBus uses core.src.EventDescriptor, so a change to core.src.EventDescriptor can break core.src.interfaces.IEventBus, while a change to core.src.interfaces.IEventBus can't break core.src.EventDescriptor.
- Position
- Below the diagonal: core.src.interfaces.IEventBus uses a module listed above it, which is the healthy direction.
19→9 core.src.interfaces.IQueryBus uses core.src.interfaces.IQueryHandler✕
- Connections
- 1 pair of types, where a type in core.src.interfaces.IQueryBus uses a type in core.src.interfaces.IQueryHandler.
- The types involved
packages.core.src.interfaces.IQueryBus.IQueryBus→packages.core.src.interfaces.IQueryHandler.IQueryHandler
- Direction
- core.src.interfaces.IQueryBus uses core.src.interfaces.IQueryHandler, so a change to core.src.interfaces.IQueryHandler can break core.src.interfaces.IQueryBus, while a change to core.src.interfaces.IQueryBus can't break core.src.interfaces.IQueryHandler.
- Position
- Below the diagonal: core.src.interfaces.IQueryBus uses a module listed above it, which is the healthy direction.
20→5 job.src.application.commands.handlers.archive-job-handler uses core.src.interfaces.ICommandHandler✕
- Connections
- 1 pair of types, where a type in job.src.application.commands.handlers.archive-job-handler uses a type in core.src.interfaces.ICommandHandler.
- The types involved
packages.job.src.application.commands.handlers.archive-job-handler.ArchiveJobCommandHandler→packages.core.src.interfaces.ICommandHandler.ICommandHandler
- Direction
- job.src.application.commands.handlers.archive-job-handler uses core.src.interfaces.ICommandHandler, so a change to core.src.interfaces.ICommandHandler can break job.src.application.commands.handlers.archive-job-handler, while a change to job.src.application.commands.handlers.archive-job-handler can't break core.src.interfaces.ICommandHandler.
- Position
- Below the diagonal: job.src.application.commands.handlers.archive-job-handler uses a module listed above it, which is the healthy direction.
20→10 job.src.application.commands.handlers.archive-job-handler uses job.src.domain.job-repository_interface✕
- Connections
- 1 pair of types, where a type in job.src.application.commands.handlers.archive-job-handler uses a type in job.src.domain.job-repository_interface.
- The types involved
packages.job.src.application.commands.handlers.archive-job-handler.ArchiveJobCommandHandler→packages.job.src.domain.job-repository_interface.IJobRepository
- Direction
- job.src.application.commands.handlers.archive-job-handler uses job.src.domain.job-repository_interface, so a change to job.src.domain.job-repository_interface can break job.src.application.commands.handlers.archive-job-handler, while a change to job.src.application.commands.handlers.archive-job-handler can't break job.src.domain.job-repository_interface.
- Position
- Below the diagonal: job.src.application.commands.handlers.archive-job-handler uses a module listed above it, which is the healthy direction.
21→5 job.src.application.commands.handlers.create-job-handler uses core.src.interfaces.ICommandHandler✕
- Connections
- 1 pair of types, where a type in job.src.application.commands.handlers.create-job-handler uses a type in core.src.interfaces.ICommandHandler.
- The types involved
packages.job.src.application.commands.handlers.create-job-handler.CreateJobCommandHandler→packages.core.src.interfaces.ICommandHandler.ICommandHandler
- Direction
- job.src.application.commands.handlers.create-job-handler uses core.src.interfaces.ICommandHandler, so a change to core.src.interfaces.ICommandHandler can break job.src.application.commands.handlers.create-job-handler, while a change to job.src.application.commands.handlers.create-job-handler can't break core.src.interfaces.ICommandHandler.
- Position
- Below the diagonal: job.src.application.commands.handlers.create-job-handler uses a module listed above it, which is the healthy direction.
21→10 job.src.application.commands.handlers.create-job-handler uses job.src.domain.job-repository_interface✕
- Connections
- 1 pair of types, where a type in job.src.application.commands.handlers.create-job-handler uses a type in job.src.domain.job-repository_interface.
- The types involved
packages.job.src.application.commands.handlers.create-job-handler.CreateJobCommandHandler→packages.job.src.domain.job-repository_interface.IJobRepository
- Direction
- job.src.application.commands.handlers.create-job-handler uses job.src.domain.job-repository_interface, so a change to job.src.domain.job-repository_interface can break job.src.application.commands.handlers.create-job-handler, while a change to job.src.application.commands.handlers.create-job-handler can't break job.src.domain.job-repository_interface.
- Position
- Below the diagonal: job.src.application.commands.handlers.create-job-handler uses a module listed above it, which is the healthy direction.
22→5 job.src.application.commands.handlers.update-job-handler uses core.src.interfaces.ICommandHandler✕
- Connections
- 1 pair of types, where a type in job.src.application.commands.handlers.update-job-handler uses a type in core.src.interfaces.ICommandHandler.
- The types involved
packages.job.src.application.commands.handlers.update-job-handler.UpdateJobCommandHandler→packages.core.src.interfaces.ICommandHandler.ICommandHandler
- Direction
- job.src.application.commands.handlers.update-job-handler uses core.src.interfaces.ICommandHandler, so a change to core.src.interfaces.ICommandHandler can break job.src.application.commands.handlers.update-job-handler, while a change to job.src.application.commands.handlers.update-job-handler can't break core.src.interfaces.ICommandHandler.
- Position
- Below the diagonal: job.src.application.commands.handlers.update-job-handler uses a module listed above it, which is the healthy direction.
22→10 job.src.application.commands.handlers.update-job-handler uses job.src.domain.job-repository_interface✕
- Connections
- 1 pair of types, where a type in job.src.application.commands.handlers.update-job-handler uses a type in job.src.domain.job-repository_interface.
- The types involved
packages.job.src.application.commands.handlers.update-job-handler.UpdateJobCommandHandler→packages.job.src.domain.job-repository_interface.IJobRepository
- Direction
- job.src.application.commands.handlers.update-job-handler uses job.src.domain.job-repository_interface, so a change to job.src.domain.job-repository_interface can break job.src.application.commands.handlers.update-job-handler, while a change to job.src.application.commands.handlers.update-job-handler can't break job.src.domain.job-repository_interface.
- Position
- Below the diagonal: job.src.application.commands.handlers.update-job-handler uses a module listed above it, which is the healthy direction.
23→17 application.src.api.http.controllers.application_controller uses core.src.interfaces.ICommandBus✕
- Connections
- 1 pair of types, where a type in application.src.api.http.controllers.application_controller uses a type in core.src.interfaces.ICommandBus.
- The types involved
packages.application.src.api.http.controllers.application_controller.ApplicationController→packages.core.src.interfaces.ICommandBus.ICommandBus
- Direction
- application.src.api.http.controllers.application_controller uses core.src.interfaces.ICommandBus, so a change to core.src.interfaces.ICommandBus can break application.src.api.http.controllers.application_controller, while a change to application.src.api.http.controllers.application_controller can't break core.src.interfaces.ICommandBus.
- Position
- Below the diagonal: application.src.api.http.controllers.application_controller uses a module listed above it, which is the healthy direction.
23→19 application.src.api.http.controllers.application_controller uses core.src.interfaces.IQueryBus✕
- Connections
- 1 pair of types, where a type in application.src.api.http.controllers.application_controller uses a type in core.src.interfaces.IQueryBus.
- The types involved
packages.application.src.api.http.controllers.application_controller.ApplicationController→packages.core.src.interfaces.IQueryBus.IQueryBus
- Direction
- application.src.api.http.controllers.application_controller uses core.src.interfaces.IQueryBus, so a change to core.src.interfaces.IQueryBus can break application.src.api.http.controllers.application_controller, while a change to application.src.api.http.controllers.application_controller can't break core.src.interfaces.IQueryBus.
- Position
- Below the diagonal: application.src.api.http.controllers.application_controller uses a module listed above it, which is the healthy direction.
24→2 application.src.application.commands.handlers.create-application-handler uses application.src.domain.application-repository_interface✕
- Connections
- 1 pair of types, where a type in application.src.application.commands.handlers.create-application-handler uses a type in application.src.domain.application-repository_interface.
- The types involved
packages.application.src.application.commands.handlers.create-application-handler.CreateApplicationCommandHandler→packages.application.src.domain.application-repository_interface.IApplicationRepository
- Direction
- application.src.application.commands.handlers.create-application-handler uses application.src.domain.application-repository_interface, so a change to application.src.domain.application-repository_interface can break application.src.application.commands.handlers.create-application-handler, while a change to application.src.application.commands.handlers.create-application-handler can't break application.src.domain.application-repository_interface.
- Position
- Below the diagonal: application.src.application.commands.handlers.create-application-handler uses a module listed above it, which is the healthy direction.
24→5 application.src.application.commands.handlers.create-application-handler uses core.src.interfaces.ICommandHandler✕
- Connections
- 1 pair of types, where a type in application.src.application.commands.handlers.create-application-handler uses a type in core.src.interfaces.ICommandHandler.
- The types involved
packages.application.src.application.commands.handlers.create-application-handler.CreateApplicationCommandHandler→packages.core.src.interfaces.ICommandHandler.ICommandHandler
- Direction
- application.src.application.commands.handlers.create-application-handler uses core.src.interfaces.ICommandHandler, so a change to core.src.interfaces.ICommandHandler can break application.src.application.commands.handlers.create-application-handler, while a change to application.src.application.commands.handlers.create-application-handler can't break core.src.interfaces.ICommandHandler.
- Position
- Below the diagonal: application.src.application.commands.handlers.create-application-handler uses a module listed above it, which is the healthy direction.
24→12 application.src.application.commands.handlers.create-application-handler uses application.src.application.commands.definitions.create-application✕
- Connections
- 1 pair of types, where a type in application.src.application.commands.handlers.create-application-handler uses a type in application.src.application.commands.definitions.create-application.
- The types involved
packages.application.src.application.commands.handlers.create-application-handler.CreateApplicationCommandHandler→packages.application.src.application.commands.definitions.create-application.CreateApplicationCommand
- Direction
- application.src.application.commands.handlers.create-application-handler uses application.src.application.commands.definitions.create-application, so a change to application.src.application.commands.definitions.create-application can break application.src.application.commands.handlers.create-application-handler, while a change to application.src.application.commands.handlers.create-application-handler can't break application.src.application.commands.definitions.create-application.
- Position
- Below the diagonal: application.src.application.commands.handlers.create-application-handler uses a module listed above it, which is the healthy direction.
25→15 application.src.application.events.definitions.job-created uses core.src.Event✕
- Connections
- 1 pair of types, where a type in application.src.application.events.definitions.job-created uses a type in core.src.Event.
- The types involved
packages.application.src.application.events.definitions.job-created.JobCreated→packages.core.src.Event.Event
- Direction
- application.src.application.events.definitions.job-created uses core.src.Event, so a change to core.src.Event can break application.src.application.events.definitions.job-created, while a change to application.src.application.events.definitions.job-created can't break core.src.Event.
- Position
- Below the diagonal: application.src.application.events.definitions.job-created uses a module listed above it, which is the healthy direction.
26→15 application.src.domain.events.application-created uses core.src.Event✕
- Connections
- 1 pair of types, where a type in application.src.domain.events.application-created uses a type in core.src.Event.
- The types involved
packages.application.src.domain.events.application-created.ApplicationCreated→packages.core.src.Event.Event
- Direction
- application.src.domain.events.application-created uses core.src.Event, so a change to core.src.Event can break application.src.domain.events.application-created, while a change to application.src.domain.events.application-created can't break core.src.Event.
- Position
- Below the diagonal: application.src.domain.events.application-created uses a module listed above it, which is the healthy direction.
27→5 application.src.infrastructure.commandBus uses core.src.interfaces.ICommandHandler✕
- Connections
- 1 pair of types, where a type in application.src.infrastructure.commandBus uses a type in core.src.interfaces.ICommandHandler.
- The types involved
packages.application.src.infrastructure.commandBus.CommandBus→packages.core.src.interfaces.ICommandHandler.ICommandHandler
- Direction
- application.src.infrastructure.commandBus uses core.src.interfaces.ICommandHandler, so a change to core.src.interfaces.ICommandHandler can break application.src.infrastructure.commandBus, while a change to application.src.infrastructure.commandBus can't break core.src.interfaces.ICommandHandler.
- Position
- Below the diagonal: application.src.infrastructure.commandBus uses a module listed above it, which is the healthy direction.
27→17 application.src.infrastructure.commandBus uses core.src.interfaces.ICommandBus✕
- Connections
- 1 pair of types, where a type in application.src.infrastructure.commandBus uses a type in core.src.interfaces.ICommandBus.
- The types involved
packages.application.src.infrastructure.commandBus.CommandBus→packages.core.src.interfaces.ICommandBus.ICommandBus
- Direction
- application.src.infrastructure.commandBus uses core.src.interfaces.ICommandBus, so a change to core.src.interfaces.ICommandBus can break application.src.infrastructure.commandBus, while a change to application.src.infrastructure.commandBus can't break core.src.interfaces.ICommandBus.
- Position
- Below the diagonal: application.src.infrastructure.commandBus uses a module listed above it, which is the healthy direction.
28→4 application.src.infrastructure.eventbus.kafka uses core.src.EventDescriptor✕
- Connections
- 1 pair of types, where a type in application.src.infrastructure.eventbus.kafka uses a type in core.src.EventDescriptor.
- The types involved
packages.application.src.infrastructure.eventbus.kafka.KafkaEventBus→packages.core.src.EventDescriptor.EventDescriptor
- Direction
- application.src.infrastructure.eventbus.kafka uses core.src.EventDescriptor, so a change to core.src.EventDescriptor can break application.src.infrastructure.eventbus.kafka, while a change to application.src.infrastructure.eventbus.kafka can't break core.src.EventDescriptor.
- Position
- Below the diagonal: application.src.infrastructure.eventbus.kafka uses a module listed above it, which is the healthy direction.
28→18 application.src.infrastructure.eventbus.kafka uses core.src.interfaces.IEventBus✕
- Connections
- 1 pair of types, where a type in application.src.infrastructure.eventbus.kafka uses a type in core.src.interfaces.IEventBus.
- The types involved
packages.application.src.infrastructure.eventbus.kafka.KafkaEventBus→packages.core.src.interfaces.IEventBus.IEventBus
- Direction
- application.src.infrastructure.eventbus.kafka uses core.src.interfaces.IEventBus, so a change to core.src.interfaces.IEventBus can break application.src.infrastructure.eventbus.kafka, while a change to application.src.infrastructure.eventbus.kafka can't break core.src.interfaces.IEventBus.
- Position
- Below the diagonal: application.src.infrastructure.eventbus.kafka uses a module listed above it, which is the healthy direction.
29→9 application.src.infrastructure.query-bus uses core.src.interfaces.IQueryHandler✕
- Connections
- 1 pair of types, where a type in application.src.infrastructure.query-bus uses a type in core.src.interfaces.IQueryHandler.
- The types involved
packages.application.src.infrastructure.query-bus.QueryBus→packages.core.src.interfaces.IQueryHandler.IQueryHandler
- Direction
- application.src.infrastructure.query-bus uses core.src.interfaces.IQueryHandler, so a change to core.src.interfaces.IQueryHandler can break application.src.infrastructure.query-bus, while a change to application.src.infrastructure.query-bus can't break core.src.interfaces.IQueryHandler.
- Position
- Below the diagonal: application.src.infrastructure.query-bus uses a module listed above it, which is the healthy direction.
29→19 application.src.infrastructure.query-bus uses core.src.interfaces.IQueryBus✕
- Connections
- 1 pair of types, where a type in application.src.infrastructure.query-bus uses a type in core.src.interfaces.IQueryBus.
- The types involved
packages.application.src.infrastructure.query-bus.QueryBus→packages.core.src.interfaces.IQueryBus.IQueryBus
- Direction
- application.src.infrastructure.query-bus uses core.src.interfaces.IQueryBus, so a change to core.src.interfaces.IQueryBus can break application.src.infrastructure.query-bus, while a change to application.src.infrastructure.query-bus can't break core.src.interfaces.IQueryBus.
- Position
- Below the diagonal: application.src.infrastructure.query-bus uses a module listed above it, which is the healthy direction.
30→2 application.src.infrastructure.repositories.application-repository uses application.src.domain.application-repository_interface✕
- Connections
- 1 pair of types, where a type in application.src.infrastructure.repositories.application-repository uses a type in application.src.domain.application-repository_interface.
- The types involved
packages.application.src.infrastructure.repositories.application-repository.ApplicationRepository→packages.application.src.domain.application-repository_interface.IApplicationRepository
- Direction
- application.src.infrastructure.repositories.application-repository uses application.src.domain.application-repository_interface, so a change to application.src.domain.application-repository_interface can break application.src.infrastructure.repositories.application-repository, while a change to application.src.infrastructure.repositories.application-repository can't break application.src.domain.application-repository_interface.
- Position
- Below the diagonal: application.src.infrastructure.repositories.application-repository uses a module listed above it, which is the healthy direction.
30→16 application.src.infrastructure.repositories.application-repository uses core.src.EventSourcedRepository✕
- Connections
- 1 pair of types, where a type in application.src.infrastructure.repositories.application-repository uses a type in core.src.EventSourcedRepository.
- The types involved
packages.application.src.infrastructure.repositories.application-repository.ApplicationRepository→packages.core.src.EventSourcedRepository.EventSourcedRepository
- Direction
- application.src.infrastructure.repositories.application-repository uses core.src.EventSourcedRepository, so a change to core.src.EventSourcedRepository can break application.src.infrastructure.repositories.application-repository, while a change to application.src.infrastructure.repositories.application-repository can't break core.src.EventSourcedRepository.
- Position
- Below the diagonal: application.src.infrastructure.repositories.application-repository uses a module listed above it, which is the healthy direction.
31→8 core.src.EventStore uses core.src.interfaces.IEventStore✕
- Connections
- 1 pair of types, where a type in core.src.EventStore uses a type in core.src.interfaces.IEventStore.
- The types involved
packages.core.src.EventStore.EventStore→packages.core.src.interfaces.IEventStore.IEventStore
- Direction
- core.src.EventStore uses core.src.interfaces.IEventStore, so a change to core.src.interfaces.IEventStore can break core.src.EventStore, while a change to core.src.EventStore can't break core.src.interfaces.IEventStore.
- Position
- Below the diagonal: core.src.EventStore uses a module listed above it, which is the healthy direction.
31→18 core.src.EventStore uses core.src.interfaces.IEventBus✕
- Connections
- 1 pair of types, where a type in core.src.EventStore uses a type in core.src.interfaces.IEventBus.
- The types involved
packages.core.src.EventStore.EventStore→packages.core.src.interfaces.IEventBus.IEventBus
- Direction
- core.src.EventStore uses core.src.interfaces.IEventBus, so a change to core.src.interfaces.IEventBus can break core.src.EventStore, while a change to core.src.EventStore can't break core.src.interfaces.IEventBus.
- Position
- Below the diagonal: core.src.EventStore uses a module listed above it, which is the healthy direction.
32→11 job.src.domain.events.job-archived uses job.src.domain.status✕
- Connections
- 1 pair of types, where a type in job.src.domain.events.job-archived uses a type in job.src.domain.status.
- The types involved
packages.job.src.domain.events.job-archived.JobArchived→packages.job.src.domain.status.JobStatus
- Direction
- job.src.domain.events.job-archived uses job.src.domain.status, so a change to job.src.domain.status can break job.src.domain.events.job-archived, while a change to job.src.domain.events.job-archived can't break job.src.domain.status.
- Position
- Below the diagonal: job.src.domain.events.job-archived uses a module listed above it, which is the healthy direction.
32→15 job.src.domain.events.job-archived uses core.src.Event✕
- Connections
- 1 pair of types, where a type in job.src.domain.events.job-archived uses a type in core.src.Event.
- The types involved
packages.job.src.domain.events.job-archived.JobArchived→packages.core.src.Event.Event
- Direction
- job.src.domain.events.job-archived uses core.src.Event, so a change to core.src.Event can break job.src.domain.events.job-archived, while a change to job.src.domain.events.job-archived can't break core.src.Event.
- Position
- Below the diagonal: job.src.domain.events.job-archived uses a module listed above it, which is the healthy direction.
33→11 job.src.domain.events.job-updated uses job.src.domain.status✕
- Connections
- 1 pair of types, where a type in job.src.domain.events.job-updated uses a type in job.src.domain.status.
- The types involved
packages.job.src.domain.events.job-updated.JobUpdated→packages.job.src.domain.status.JobStatus
- Direction
- job.src.domain.events.job-updated uses job.src.domain.status, so a change to job.src.domain.status can break job.src.domain.events.job-updated, while a change to job.src.domain.events.job-updated can't break job.src.domain.status.
- Position
- Below the diagonal: job.src.domain.events.job-updated uses a module listed above it, which is the healthy direction.
33→15 job.src.domain.events.job-updated uses core.src.Event✕
- Connections
- 1 pair of types, where a type in job.src.domain.events.job-updated uses a type in core.src.Event.
- The types involved
packages.job.src.domain.events.job-updated.JobUpdated→packages.core.src.Event.Event
- Direction
- job.src.domain.events.job-updated uses core.src.Event, so a change to core.src.Event can break job.src.domain.events.job-updated, while a change to job.src.domain.events.job-updated can't break core.src.Event.
- Position
- Below the diagonal: job.src.domain.events.job-updated uses a module listed above it, which is the healthy direction.
34→8 job.src.infrastructure.repositories.job-repository uses core.src.interfaces.IEventStore✕
- Connections
- 1 pair of types, where a type in job.src.infrastructure.repositories.job-repository uses a type in core.src.interfaces.IEventStore.
- The types involved
packages.job.src.infrastructure.repositories.job-repository.JobRepository→packages.core.src.interfaces.IEventStore.IEventStore
- Direction
- job.src.infrastructure.repositories.job-repository uses core.src.interfaces.IEventStore, so a change to core.src.interfaces.IEventStore can break job.src.infrastructure.repositories.job-repository, while a change to job.src.infrastructure.repositories.job-repository can't break core.src.interfaces.IEventStore.
- Position
- Below the diagonal: job.src.infrastructure.repositories.job-repository uses a module listed above it, which is the healthy direction.
34→10 job.src.infrastructure.repositories.job-repository uses job.src.domain.job-repository_interface✕
- Connections
- 1 pair of types, where a type in job.src.infrastructure.repositories.job-repository uses a type in job.src.domain.job-repository_interface.
- The types involved
packages.job.src.infrastructure.repositories.job-repository.JobRepository→packages.job.src.domain.job-repository_interface.IJobRepository
- Direction
- job.src.infrastructure.repositories.job-repository uses job.src.domain.job-repository_interface, so a change to job.src.domain.job-repository_interface can break job.src.infrastructure.repositories.job-repository, while a change to job.src.infrastructure.repositories.job-repository can't break job.src.domain.job-repository_interface.
- Position
- Below the diagonal: job.src.infrastructure.repositories.job-repository uses a module listed above it, which is the healthy direction.
34→16 job.src.infrastructure.repositories.job-repository uses core.src.EventSourcedRepository✕
- Connections
- 1 pair of types, where a type in job.src.infrastructure.repositories.job-repository uses a type in core.src.EventSourcedRepository.
- The types involved
packages.job.src.infrastructure.repositories.job-repository.JobRepository→packages.core.src.EventSourcedRepository.EventSourcedRepository
- Direction
- job.src.infrastructure.repositories.job-repository uses core.src.EventSourcedRepository, so a change to core.src.EventSourcedRepository can break job.src.infrastructure.repositories.job-repository, while a change to job.src.infrastructure.repositories.job-repository can't break core.src.EventSourcedRepository.
- Position
- Below the diagonal: job.src.infrastructure.repositories.job-repository uses a module listed above it, which is the healthy direction.
35→7 application.src.application.events.handlers.application-created-handler uses core.src.interfaces.IEventHandler✕
- Connections
- 1 pair of types, where a type in application.src.application.events.handlers.application-created-handler uses a type in core.src.interfaces.IEventHandler.
- The types involved
packages.application.src.application.events.handlers.application-created-handler.ApplicationCreatedEventHandler→packages.core.src.interfaces.IEventHandler.IEventHandler
- Direction
- application.src.application.events.handlers.application-created-handler uses core.src.interfaces.IEventHandler, so a change to core.src.interfaces.IEventHandler can break application.src.application.events.handlers.application-created-handler, while a change to application.src.application.events.handlers.application-created-handler can't break core.src.interfaces.IEventHandler.
- Position
- Below the diagonal: application.src.application.events.handlers.application-created-handler uses a module listed above it, which is the healthy direction.
35→26 application.src.application.events.handlers.application-created-handler uses application.src.domain.events.application-created✕
- Connections
- 1 pair of types, where a type in application.src.application.events.handlers.application-created-handler uses a type in application.src.domain.events.application-created.
- The types involved
packages.application.src.application.events.handlers.application-created-handler.ApplicationCreatedEventHandler→packages.application.src.domain.events.application-created.ApplicationCreated
- Direction
- application.src.application.events.handlers.application-created-handler uses application.src.domain.events.application-created, so a change to application.src.domain.events.application-created can break application.src.application.events.handlers.application-created-handler, while a change to application.src.application.events.handlers.application-created-handler can't break application.src.domain.events.application-created.
- Position
- Below the diagonal: application.src.application.events.handlers.application-created-handler uses a module listed above it, which is the healthy direction.
36→7 application.src.application.events.handlers.job-created-handler uses core.src.interfaces.IEventHandler✕
- Connections
- 1 pair of types, where a type in application.src.application.events.handlers.job-created-handler uses a type in core.src.interfaces.IEventHandler.
- The types involved
packages.application.src.application.events.handlers.job-created-handler.JobCreatedEventHandler→packages.core.src.interfaces.IEventHandler.IEventHandler
- Direction
- application.src.application.events.handlers.job-created-handler uses core.src.interfaces.IEventHandler, so a change to core.src.interfaces.IEventHandler can break application.src.application.events.handlers.job-created-handler, while a change to application.src.application.events.handlers.job-created-handler can't break core.src.interfaces.IEventHandler.
- Position
- Below the diagonal: application.src.application.events.handlers.job-created-handler uses a module listed above it, which is the healthy direction.
36→25 application.src.application.events.handlers.job-created-handler uses application.src.application.events.definitions.job-created✕
- Connections
- 1 pair of types, where a type in application.src.application.events.handlers.job-created-handler uses a type in application.src.application.events.definitions.job-created.
- The types involved
packages.application.src.application.events.handlers.job-created-handler.JobCreatedEventHandler→packages.application.src.application.events.definitions.job-created.JobCreated
- Direction
- application.src.application.events.handlers.job-created-handler uses application.src.application.events.definitions.job-created, so a change to application.src.application.events.definitions.job-created can break application.src.application.events.handlers.job-created-handler, while a change to application.src.application.events.handlers.job-created-handler can't break application.src.application.events.definitions.job-created.
- Position
- Below the diagonal: application.src.application.events.handlers.job-created-handler uses a module listed above it, which is the healthy direction.
37→14 application.src.domain.application uses core.src.AggregateRoot✕
- Connections
- 1 pair of types, where a type in application.src.domain.application uses a type in core.src.AggregateRoot.
- The types involved
packages.application.src.domain.application.Application→packages.core.src.AggregateRoot.AggregateRoot
- Direction
- application.src.domain.application uses core.src.AggregateRoot, so a change to core.src.AggregateRoot can break application.src.domain.application, while a change to application.src.domain.application can't break core.src.AggregateRoot.
- Position
- Below the diagonal: application.src.domain.application uses a module listed above it, which is the healthy direction.
37→26 application.src.domain.application uses application.src.domain.events.application-created✕
- Connections
- 1 pair of types, where a type in application.src.domain.application uses a type in application.src.domain.events.application-created.
- The types involved
packages.application.src.domain.application.Application→packages.application.src.domain.events.application-created.ApplicationCreated
- Direction
- application.src.domain.application uses application.src.domain.events.application-created, so a change to application.src.domain.events.application-created can break application.src.domain.application, while a change to application.src.domain.application can't break application.src.domain.events.application-created.
- Position
- Below the diagonal: application.src.domain.application uses a module listed above it, which is the healthy direction.
38→8 application.src.infrastructure.eventstore.application-event-store uses core.src.interfaces.IEventStore✕
- Connections
- 1 pair of types, where a type in application.src.infrastructure.eventstore.application-event-store uses a type in core.src.interfaces.IEventStore.
- The types involved
packages.application.src.infrastructure.eventstore.application-event-store.ApplicationEventStore→packages.core.src.interfaces.IEventStore.IEventStore
- Direction
- application.src.infrastructure.eventstore.application-event-store uses core.src.interfaces.IEventStore, so a change to core.src.interfaces.IEventStore can break application.src.infrastructure.eventstore.application-event-store, while a change to application.src.infrastructure.eventstore.application-event-store can't break core.src.interfaces.IEventStore.
- Position
- Below the diagonal: application.src.infrastructure.eventstore.application-event-store uses a module listed above it, which is the healthy direction.
38→18 application.src.infrastructure.eventstore.application-event-store uses core.src.interfaces.IEventBus✕
- Connections
- 1 pair of types, where a type in application.src.infrastructure.eventstore.application-event-store uses a type in core.src.interfaces.IEventBus.
- The types involved
packages.application.src.infrastructure.eventstore.application-event-store.ApplicationEventStore→packages.core.src.interfaces.IEventBus.IEventBus
- Direction
- application.src.infrastructure.eventstore.application-event-store uses core.src.interfaces.IEventBus, so a change to core.src.interfaces.IEventBus can break application.src.infrastructure.eventstore.application-event-store, while a change to application.src.infrastructure.eventstore.application-event-store can't break core.src.interfaces.IEventBus.
- Position
- Below the diagonal: application.src.infrastructure.eventstore.application-event-store uses a module listed above it, which is the healthy direction.
38→31 application.src.infrastructure.eventstore.application-event-store uses core.src.EventStore✕
- Connections
- 1 pair of types, where a type in application.src.infrastructure.eventstore.application-event-store uses a type in core.src.EventStore.
- The types involved
packages.application.src.infrastructure.eventstore.application-event-store.ApplicationEventStore→packages.core.src.EventStore.EventStore
- Direction
- application.src.infrastructure.eventstore.application-event-store uses core.src.EventStore, so a change to core.src.EventStore can break application.src.infrastructure.eventstore.application-event-store, while a change to application.src.infrastructure.eventstore.application-event-store can't break core.src.EventStore.
- Position
- Below the diagonal: application.src.infrastructure.eventstore.application-event-store uses a module listed above it, which is the healthy direction.
39→11 job.src.domain.job uses job.src.domain.status✕
- Connections
- 1 pair of types, where a type in job.src.domain.job uses a type in job.src.domain.status.
- The types involved
packages.job.src.domain.job.Job→packages.job.src.domain.status.JobStatus
- Direction
- job.src.domain.job uses job.src.domain.status, so a change to job.src.domain.status can break job.src.domain.job, while a change to job.src.domain.job can't break job.src.domain.status.
- Position
- Below the diagonal: job.src.domain.job uses a module listed above it, which is the healthy direction.
39→14 job.src.domain.job uses core.src.AggregateRoot✕
- Connections
- 1 pair of types, where a type in job.src.domain.job uses a type in core.src.AggregateRoot.
- The types involved
packages.job.src.domain.job.Job→packages.core.src.AggregateRoot.AggregateRoot
- Direction
- job.src.domain.job uses core.src.AggregateRoot, so a change to core.src.AggregateRoot can break job.src.domain.job, while a change to job.src.domain.job can't break core.src.AggregateRoot.
- Position
- Below the diagonal: job.src.domain.job uses a module listed above it, which is the healthy direction.
39→25 job.src.domain.job uses application.src.application.events.definitions.job-created✕
- Connections
- 1 pair of types, where a type in job.src.domain.job uses a type in application.src.application.events.definitions.job-created.
- The types involved
packages.job.src.domain.job.Job→packages.application.src.application.events.definitions.job-created.JobCreated
- Direction
- job.src.domain.job uses application.src.application.events.definitions.job-created, so a change to application.src.application.events.definitions.job-created can break job.src.domain.job, while a change to job.src.domain.job can't break application.src.application.events.definitions.job-created.
- Position
- Below the diagonal: job.src.domain.job uses a module listed above it, which is the healthy direction.
39→32 job.src.domain.job uses job.src.domain.events.job-archived✕
- Connections
- 1 pair of types, where a type in job.src.domain.job uses a type in job.src.domain.events.job-archived.
- The types involved
packages.job.src.domain.job.Job→packages.job.src.domain.events.job-archived.JobArchived
- Direction
- job.src.domain.job uses job.src.domain.events.job-archived, so a change to job.src.domain.events.job-archived can break job.src.domain.job, while a change to job.src.domain.job can't break job.src.domain.events.job-archived.
- Position
- Below the diagonal: job.src.domain.job uses a module listed above it, which is the healthy direction.
39→33 job.src.domain.job uses job.src.domain.events.job-updated✕
- Connections
- 1 pair of types, where a type in job.src.domain.job uses a type in job.src.domain.events.job-updated.
- The types involved
packages.job.src.domain.job.Job→packages.job.src.domain.events.job-updated.JobUpdated
- Direction
- job.src.domain.job uses job.src.domain.events.job-updated, so a change to job.src.domain.events.job-updated can break job.src.domain.job, while a change to job.src.domain.job can't break job.src.domain.events.job-updated.
- Position
- Below the diagonal: job.src.domain.job uses a module listed above it, which is the healthy direction.
40→18 job.src.infrastructure.event-store.job-event-store uses core.src.interfaces.IEventBus✕
- Connections
- 1 pair of types, where a type in job.src.infrastructure.event-store.job-event-store uses a type in core.src.interfaces.IEventBus.
- The types involved
packages.job.src.infrastructure.event-store.job-event-store.JobEventStore→packages.core.src.interfaces.IEventBus.IEventBus
- Direction
- job.src.infrastructure.event-store.job-event-store uses core.src.interfaces.IEventBus, so a change to core.src.interfaces.IEventBus can break job.src.infrastructure.event-store.job-event-store, while a change to job.src.infrastructure.event-store.job-event-store can't break core.src.interfaces.IEventBus.
- Position
- Below the diagonal: job.src.infrastructure.event-store.job-event-store uses a module listed above it, which is the healthy direction.
40→31 job.src.infrastructure.event-store.job-event-store uses core.src.EventStore✕
- Connections
- 1 pair of types, where a type in job.src.infrastructure.event-store.job-event-store uses a type in core.src.EventStore.
- The types involved
packages.job.src.infrastructure.event-store.job-event-store.JobEventStore→packages.core.src.EventStore.EventStore
- Direction
- job.src.infrastructure.event-store.job-event-store uses core.src.EventStore, so a change to core.src.EventStore can break job.src.infrastructure.event-store.job-event-store, while a change to job.src.infrastructure.event-store.job-event-store can't break core.src.EventStore.
- Position
- Below the diagonal: job.src.infrastructure.event-store.job-event-store 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 | 41 | High / Critical |
| A02:2025 — Security Misconfiguration | 10 | High / Critical |
Roadmap
Begin by resolving the single missing test in Test Distribution and addressing the seven deprecated dependencies in REDACTED to stabilize the codebase. Next, update the six outdated npm packages listed in package.json to ensure current and secure library versions. Finally, implement a CI workflow to automatically build and test on every push, and write new tests for the currently unreachable production modules to establish baseline coverage.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No tests found finding(s) in Test Distribution. | +23.1 pts | Low | Test Distribution |
| Resolve the 7 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (7). | +4.4 pts | Low | Dependency Hygiene |
| Resolve the 6 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (6). | +3.7 pts | Low | Dependency Hygiene |
| Resolve the 2 Orphaned file finding(s) in Knowledge Freshness — start with startup.ts (2). | +1.9 pts | Low | Knowledge Freshness |
| Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. | +1.5 pts | Low | Knowledge Freshness |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +2.6 pts | Medium | CI/CD gates |
| Add tests that import the unreached modules (directly or through their public entry). | +2.6 pts | Medium | Test Coverage |
| Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure. | +1.9 pts | Medium | Constructible invalid state |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 4.4 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 5.8 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| packages/application/package.json | 6.8 | Near-clean | Dependency Hygiene: Deprecated: uuid |
| packages/job/package.json | 7.4 | Near-clean | Dependency Hygiene: Deprecated: uuid |
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. 75 of 79 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 79 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, 103 of 132 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (2 contributor(s) across 72 commit(s) sampled, automation and bot accounts excluded). One of them holds 99% of the history; the other 1 hold 1% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D44 Platform End-of-Life — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a REDACTED) is simply not read here yet.
- 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) — mongodb Error Get "https://registry-1.docker.io/v2/": Forbidden init-kafka Error Get "https://registry-1.docker.io/v2/": Forbidden cassandra Error Get "https://registry-1.docker.io/v2/": Forbidden zookeeper 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: mongodb Pulling zookeeper Pulling kafka Pulling cassandra Pulling redis Pulling redis Error Get "https://registry-1.docker.io/v2/": Forbidden cassandra Error context canceled kafka Error context canceled mongodb Error context canceled zookeeper Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'mongodb' is imported (packages/application/src/infrastructure/module.ts:5), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'mongodb' is imported (packages/application/src/infrastructure/module.ts:5), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'mongodb' is imported (packages/application/src/infrastructure/module.ts:5), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'mongodb' is imported (packages/application/src/infrastructure/module.ts:5), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- 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.
- 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. 89 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.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- D23 Boundary Type-Coupling: Boundary leakage is detected from type references across detected contexts — leaks that flow through primitives, serialization or shared infrastructure may not surface as a typed reference.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D5 · Coupling
4 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 0 module(s) off the main sequence, with abstractness counted on 3 of the 4 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
D6 · Cohesion (LCOM4)
0 of 12 classes have LCOM4 above 3.
D9 · Test Distribution
No test suite found.
What to do
- Resolve the 1 No tests found finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).
D12 · Dependency Hygiene
19 outdated direct production npm dependency(ies) of 20 graded, 0 pinning defect(s), across 3 package.json (3 of them the product) and 1 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 3 direct dependency(ies) — production, development or optional — are marked DEPRECATED by their publisher (the registry's per-version mark, or the lockfile's copy of it when the registry could not be asked); deprecated transitive packages are listed but not charged. Whether any is UNMAINTAINED is not graded — the registry publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: that is a source question, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.
What to do
- Resolve the 7 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (7). — One of this dimension's main actionable groups (7 recommendation-level).
- Resolve the 6 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (6). — One of this dimension's main actionable groups (6 recommendation-level).
- Resolve the 5 Deprecated finding(s) in Dependency Hygiene — start with package.json (5). — One of this dimension's main actionable groups (5 warning-level).
- Stand up a CI pipeline, then gate Dependency Hygiene 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 Verified — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 20 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 20 production dependency(ies) this repository's committed lockfile resolves, across 3 product package.json manifest(s). Its 30 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. This repository publishes itself under MIT, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 1407 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 a well-written project overview that states what it is (an experimental CQRS and event-sourcing boilerplate for job application) and the strategic design phases it serves. It begins with a business scenario and an author foreword covering objectives like maintainable enterprise-grade application, SOLID principles, stakeholder benefit, read/write decoupling, and CQRS/event sourcing, then dives into architecture (DDD/Onion Architecture, command/bus, event store). The document is rich in context but the body clips mid-architecture before a complete outline emerges; this leaves only the root README as the visible documentation for the boilerplate.
What to do
- Improve Documentation Quality — currently 7.0/10. — The repository's root README is a well-written project overview that states what it is (an experimental CQRS and event-sourcing boilerplate for job application) and the strategic design phases it serves. It begins with a business scenario and an author foreword covering objectives like maintainable enterprise-grade application, SOLID principles, stakeholder benefit, read/write decoupling, and CQRS/event sourcing, then dives into architecture (DDD/Onion Architecture, command/bus, event store). The document is rich in context but the body clips mid-architecture before a complete outline emerges; this leaves only the root README as the visible documentation for the boilerplate.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D22 · Internal API Consistency
3 API inconsistencies across 28 exposed types.
What to do
- Resolve the 1 Parameter naming inconsistency between interface and implementation. The… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Inconsistent verb naming for bus operations. Commands use 'send' while… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Inconsistent return type handling. IRepository and IReadModelFacade… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D23 · Boundary Type-Coupling
No domain types leak across context boundaries (3 contexts).
D26 · Project Cohesion
0 of 3 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. semgrep hit a parse error in 1 file(s) — `REDACTED` (lines 4–13, line 13) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
D30 · Dependency Vulnerabilities
41 finding(s): 3 critical, 21 high, 10 medium, 7 low.
What to do
- Resolve the 21 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (21). — One of this dimension's main actionable groups (21 issue-level).
- Resolve the 10 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (10). — One of this dimension's main actionable groups (10 warning-level).
- Resolve the 3 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
D31 · IaC & Container Security
10 finding(s): 0 critical, 1 high, 8 medium, 1 low.
What to do
- Resolve the 1 High IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 8 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (7), REDACTED. — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 1 Low IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 recommendation-level).
D34 · Knowledge Freshness
2 of 2 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is packages/job/src/startup.ts. Counted over 2 of the 89 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 2 Orphaned file finding(s) in Knowledge Freshness — start with startup.ts (2). — One of this dimension's main actionable groups (2 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code — check that business logic isn't leaking into the application/infrastructure layers (a thin domain is the anemic-domain smell).
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
AX9 · CQS / query purity
DM1 · Aggregate boundaries
DM11 · Constructible invalid state
- `Application`'s public constructor takes `guid`, `jobId`, `firstname`, `lastname`, … as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was checked for any branch (`if`, ternary, `switch`) or any call — it has neither, only assignments; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `Application` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — packages/application/src/domain/application.ts:14
- `Job`'s public constructor takes `guid`, `title`, `description` as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was checked for any branch (`if`, ternary, `switch`) or any call — it has neither, only assignments; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `Job` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — packages/job/src/domain/job.ts:16
What to do
- Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure.
DM2 · Strongly-typed ids
- `ApplicationCreated.jobId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — packages/application/src/domain/events/application-created.ts:9
What to do
- Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs.
DM5 · Encapsulated state
DM6 · Domain ↔ infrastructure boundary
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add a README to the 3 of 3 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record 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
What to do
- Start a test surface where your build system looks for one (tests/, test/, spec/, or your ecosystem's test source set) — the separation follows from putting the first tests in the right place.
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, REDACTED); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong. — README.md:44
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.
P10 · Library API & versioning
P2 · Observability
What to do
- Add OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) so requests are traceable across the system, not just health-probable.
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, and the service already exposes health probe endpoints (healthz/livez/readyz or a container healthcheck), but no compose service declares a `healthcheck:` that uses them and nothing pins a previous image to fall back to — so a release that starts but does not serve looks healthy, and reversing it is a manual step.
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).
P6 · Release Hygiene
- The changelog this check read carries 0 versioned entries, against a bar of 3. Counted as either the distinct `x.y.z` versions it names (a link's target is not counted) or its version-shaped section headings (`## [1.2.0]`, `## V14.x.x`, `## Updates in 8.0.x`), whichever is the larger — so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read — release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository — are not counted here, and this row is about what is re-findable in the tree rather than about how often you release.
What to do
- Keep the changelog current — add a versioned entry (Keep-a-Changelog ## [x.y.z]) for each release so the history isn't a stub.
PF3 · Async & latency hygiene
R1 · Type Safety
R10 · Code Duplication
- 15 duplicated blocks under packages/ have copies in at least two of the sibling directories application, job — 10 of them are reported below, and 5 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 15 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 15 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 15 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — packages/application/src/infrastructure/eventbus/kafka.ts:8
- packages/application/src/infrastructure/eventbus/kafka.ts:8 · packages/job/src/infrastructure/eventbus/kafka.ts:7 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — packages/application/src/infrastructure/eventbus/kafka.ts:8
- packages/application/src/startup.ts:41 · packages/job/src/startup.ts:46 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — packages/application/src/startup.ts:41
- packages/application/src/infrastructure/commandBus/index.ts:4 · packages/job/src/infrastructure/commandBus/index.ts:4 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — packages/application/src/infrastructure/commandBus/index.ts:4
- packages/application/src/infrastructure/query-bus/index.ts:4 · packages/job/src/infrastructure/query-bus/index.ts:4 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — packages/application/src/infrastructure/query-bus/index.ts:4
- packages/application/src/types.ts:2 · packages/job/src/types.ts:3 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — packages/application/src/types.ts:2
- packages/application/src/subscribers/index.ts:12 · packages/job/src/subscribers/index.ts:11 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — packages/application/src/subscribers/index.ts:12
- packages/application/src/api/index.ts:3 · packages/application/src/subscribers/index.ts:3 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — packages/application/src/api/index.ts:3
- packages/application/src/infrastructure/module.ts:20 · packages/job/src/infrastructure/module.ts:26 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/application/src/infrastructure/module.ts:20
- packages/application/src/application/commands/handlers/create-application-handler.ts:5 · packages/job/src/application/commands/handlers/archive-job-handler.ts:3 · packages/job/src/application/commands/handlers/create-job-handler.ts:5 · packages/job/src/application/commands/handlers/update-job-handler.ts:3 — the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — packages/application/src/application/commands/handlers/create-application-handler.ts:5
- packages/application/src/application/events/handlers/application-created-handler.ts:9 · packages/application/src/application/events/handlers/job-created-handler.ts:10 · packages/job/src/application/events/handlers/job-created-handler.ts:9 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/application/src/application/events/handlers/application-created-handler.ts:9
- packages/application/src/infrastructure/db/mongodb.ts:11 · packages/job/src/infrastructure/db/mongodb.ts:10 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/application/src/infrastructure/db/mongodb.ts:11
- packages/job/src/application/commands/handlers/archive-job-handler.ts:9 · packages/job/src/application/commands/handlers/update-job-handler.ts:9 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/job/src/application/commands/handlers/archive-job-handler.ts:9
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.
R11 · Import Boundaries
R2 · Cyclomatic Complexity
- (top-level) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/job/src/config/main.ts:1
R3 · Large Files
R4 · Test Coverage
- 0% of 67 production file(s) reachable from 0 test file(s) via the import graph — 'production' here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace's file count
What to do
- Add tests that import the unreached modules (directly or through their public entry).
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 a test runner (vitest / jest / playwright) as package.json scripts and run them in CI.
R7 · Dead Code
- Nothing ultimately consumes this binding: its only referrer is the re-export in packages/application/src/api/http/controllers/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in packages/application/src/api/http/controllers/index.ts in the same commit, or the barrel will import a name that no longer exists. (×2) — packages/application/src/api/http/controllers/application.controller.ts:13, packages/application/src/api/http/controllers/common-controller.ts:7
- Nothing ultimately consumes this binding: its only referrer is the re-export in packages/job/src/api/http/controllers/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in packages/job/src/api/http/controllers/index.ts in the same commit, or the barrel will import a name that no longer exists. (×2) — packages/job/src/api/http/controllers/common-controller.ts:7, packages/job/src/api/http/controllers/job.controller.ts:15
- 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. — packages/job/src/application/queries/handlers/get-all-jobs-query-handler.ts:11
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) — packages/core/src/EventSourcedRepository.ts:1, packages/core/src/EventStore.ts:2, packages/core/src/utilities/Logger.ts:1
- Declared in packages/application/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
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
- `info` at line 28 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.info({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.info('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. — packages/application/src/application/events/handlers/job-created-handler.ts:28
- `info` at line 40 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.info({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.info('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. — packages/application/src/application/events/handlers/application-created-handler.ts:40
- `info` at line 27 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.info({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.info('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. — packages/job/src/application/events/handlers/job-created-handler.ts:27
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 73% | Adequate — gated by X4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 69% | Strong | Solid. |
| Maturity | 62% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 15% | Weak — gated by D9, R4, 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 | 60% | Adequate — gated by DM2, DM11 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Unscored — 1 check(s) recorded observations but carry no score
- X10 Duplicated predicate — 3 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 3 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: this repository stores data through 'mongodb' (packages/application/src/infrastructure/module.ts:5) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether its changes need an audit trail could not be established, and the trail's absence is not scored.
- C4 Data Retention — Not assessed: this repository stores data through 'mongodb' (packages/application/src/infrastructure/module.ts:5) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether a retention limit applies here could not be established, and its absence is not scored.
- C5 Data-Subject Rights — Not assessed: this repository stores data through 'mongodb' (packages/application/src/infrastructure/module.ts:5) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether data-subject rights apply here could not be established, and their absence is not scored.
Not included — 57 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).
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- 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) — mongodb Error Get "https://registry-1.docker.io/v2/": Forbidden init-kafka Error Get "https://registry-1.docker.io/v2/": Forbidden cassandra Error Get "https://registry-1.docker.io/v2/": Forbidden zookeeper 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: mongodb Pulling zookeeper Pulling kafka Pulling cassandra Pulling redis Pulling redis Error Get "https://registry-1.docker.io/v2/": Forbidden cassandra Error context canceled kafka Error context canceled mongodb Error context canceled zookeeper Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — Not assessed: this repository stores data through 'mongodb' (packages/application/src/infrastructure/module.ts:5) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so the absence of a personal-data field here is not evidence that none is stored, and encryption at rest is not scored over a subject that could not be established.
- 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.
- D10 Test Quality — No tests were found in the analyzed repository to assess for quality.
- D11 Test Reliability — No test suite was found to re-run, so reliability couldn't be assessed. Two searches produced that zero and both came back empty: the classifier that reads the loaded workspace recognised no suite it could run, and a walk of the source on disk — which covers the JS/TS `*.test.*` and `*.spec.*` conventions and probes for a Pester suite — found no test source in any other ecosystem either. Neither search reaches a suite that is missing from the loaded workspace and carries no name either walk recognises, so this is 'no suite found by those two searches', not a verdict that the repository has none.
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D20 ADR Quality — N/A — this repo declares itself a template / kata / sample / demo; a formal ADR log is deferred to a real application built from it.
- 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.
- 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.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — This repo declares itself a template / kata / sample; tests are deferred to the application built from it, so coverage is not scored here.
- DM10 One transaction, one aggregate — no repository writes detected — no operation to judge against the one-aggregate rule
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM4 Rich vs anemic model — no data-bearing entities detected — rich-vs-anemic model not assessable
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- ED1 Event-Driven — not scored — this repository shows only 1 of the 3 signals this lens looks for (6 CQRS handler(s))
- ED5 Idempotency — 4 mutating command handler(s)/consumer(s) detected and 4 handler method(s) walked, but no persistent write was recognised in any of them — idempotency not assessed
- ES1 Event Sourcing — not scored — this repository shows only 1 of the 3 signals this lens looks for (an append-only event-store seam (IEventStore/Append-of-events))
- 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 — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — 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.
- R5 Dependency Freshness — uses a yarn lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- S1 Web-Security Posture — Not assessed: 89 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.
- 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 — 28 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
- Unlisted import 'inversify' packages/core/src/EventSourcedRepository.ts:1
- Unlisted import 'mongodb' packages/core/src/EventStore.ts:2
- Unlisted import 'winston' packages/core/src/utilities/Logger.ts:1
Serious — 48 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Deprecated: uuid packages/application/package.json:42
- Deprecated: eslint packages/application/package.json:49
- Deprecated: uuid packages/job/package.json:43
- Deprecated: @types/cassandra-driver packages/job/package.json:47
- Deprecated: eslint packages/job/package.json:52
- Constructible in an invalid state: Application packages/application/src/domain/application.ts:14
- Constructible in an invalid state: Job packages/job/src/domain/job.ts:16
- Duplicated block (16 lines × 2 locations) packages/application/src/infrastructure/commandBus/index.ts:4
- Duplicated block (16 lines × 2 locations) packages/application/src/infrastructure/query-bus/index.ts:4
- Duplicated block (9 lines × 2 locations) packages/application/src/api/index.ts:3
- Duplicated block (9 lines × 2 locations) packages/application/src/infrastructure/module.ts:20
- Parameter naming inconsistency between interface and implementation. The interface uses 'version' while the implementation uses 'expectedVersion'. While semantically similar in optimistic locking contexts, the mismatch is confusing for consumers implementing the interface or mocking it.
- Inconsistent verb naming for bus operations. Commands use 'send' while Queries use 'execute'. In CQRS patterns, 'send' is often used for commands (fire-and-forget or request-response) and 'execute' or 'query' for queries, but this inconsistency breaks the symmetry of the API surface. Additionally, the return types differ significantly ('any' vs 'Promise<R>'), with 'any' being a code smell.
- Inconsistent return type handling. IRepository and IReadModelFacade return 'Promise<T>', but EventSourcedRepository.getById does not explicitly show a return type in the signature list (though likely returns T or Promise<T>). If EventSourcedRepository.getById returns a rehydrated AggregateRoot directly (synchronously or without Promise), it breaks the async consistency with the interface and ReadModel. If it returns Promise<T>, the signature listing is incomplete. Assuming it returns the aggregate, the lack of explicit Promise in the listing suggests a potential sync/async mismatch or documentation error.
- No CI pipeline
- Duplication concentrated across 2 sibling directories (15 clone groups) packages/application/src/infrastructure/eventbus/kafka.ts:8
- Duplicated block (38 lines × 2 locations) packages/application/src/infrastructure/eventbus/kafka.ts:8
- Duplicated block (21 lines × 2 locations) packages/application/src/startup.ts:41
- Duplicated block (14 lines × 2 locations) packages/application/src/types.ts:2
- Duplicated block (10 lines × 2 locations) packages/application/src/subscribers/index.ts:12
- Duplicated block (8 lines × 4 locations) packages/application/src/application/commands/handlers/create-application-handler.ts:5
- Duplicated block (8 lines × 3 locations) packages/application/src/application/events/handlers/application-created-handler.ts:9
- Duplicated block (8 lines × 2 locations) packages/application/src/infrastructure/db/mongodb.ts:11
- Duplicated block (7 lines × 2 locations) packages/job/src/application/commands/handlers/archive-job-handler.ts:9
- Complex function (top-level) (cyclomatic 11, cognitive 10) packages/job/src/config/main.ts:1
- Test Coverage
- No test script
- Unused dependency 'http-status-codes'
- Unused dependency 'module-alias'
- Unused dependency 'nanoid'
Minor — 43 finding(s)
- Deprecated: @humanwhocodes/config-array REDACTED:55
- Deprecated: @humanwhocodes/object-schema REDACTED:64
- Deprecated: debug REDACTED:674
- Deprecated: glob REDACTED:1248
- Deprecated: glob REDACTED:1260
- Deprecated: inflight REDACTED:1413
- Deprecated: rimraf REDACTED:2139
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Outdated (npm): @types/uuid packages/application/package.json:29
- Outdated (npm): dotenv packages/application/package.json:31
- Outdated (npm): inversify packages/application/package.json:34
- Outdated (npm): mongodb packages/application/package.json:39
- Outdated (npm): nanoid packages/application/package.json:40
- Outdated (npm): uuid packages/application/package.json:42
- Duplicated predicate packages/application/src/config/main.ts:6
- Duplicated predicate packages/application/src/config/main.ts:3
- Duplicated predicate packages/application/src/config/main.ts:5
- Interpolated log message defeats structured logging packages/application/src/application/events/handlers/job-created-handler.ts:28
- Interpolated log message defeats structured logging packages/application/src/application/events/handlers/application-created-handler.ts:40
- Interpolated log message defeats structured logging packages/job/src/application/events/handlers/job-created-handler.ts:27
- Orphaned file packages/job/src/startup.ts:1
- Orphaned file packages/application/src/startup.ts:1
- Unused export 'CommonController' packages/application/src/api/http/controllers/common-controller.ts:7
- Unused export 'CommonController' packages/job/src/api/http/controllers/common-controller.ts:7
- REDACTED
- Orphaned files with no living knowledge
- No tests — template/sample
- No tests found
- Primitive id on a domain type: ApplicationCreated.jobId packages/application/src/domain/events/application-created.ts:9
- No ADRs
- README/code drift README.md:44
- No SAST
- No rollback/health safety
- Changelog looks stale/thin
- Unused export 'ApplicationController' packages/application/src/api/http/controllers/application.controller.ts:13
- Unused export 'JobController' packages/job/src/api/http/controllers/job.controller.ts:15
- Unused module-local declaration 'JobRow' packages/job/src/application/queries/handlers/get-all-jobs-query-handler.ts:11
Minor — 13 finding(s)
- Outdated (npm): @types/body-parser
- Outdated (npm): @types/express
- Outdated (npm): @types/ioredis
- Outdated (npm): @types/mongodb
- Outdated (npm): cassandra-driver
- Outdated (npm): express
- Outdated (npm): http-status-codes
- Outdated (npm): inversify-express-utils
- Outdated (npm): ioredis
- Outdated (npm): kafkajs
- Outdated (npm): module-alias
- Outdated (npm): reflect-metadata
- Outdated (npm): winston
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-1408c766423d4905905f21d98bbcb4ef/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-1408c766423d4905905f21d98bbcb4ef/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 | 41 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 10 | 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 |