ocoda/event-sourcing
58.2
Adequate · 9 November 2026
24.3k
lines of production code
TypeScript
with JavaScript
4
measurements over time
What this system is
Behavioural changes
1 commit (0 fixes) modifying packages/config/vitest
A change to existing behaviour in packages/config/vitest — 1 commit, 1 file: “test: migrate from Jest to Vitest 5 (\#535)” (refs \#535).
packages/config/vitest · medium confidence · unverified
1 commit (0 fixes) modifying packages/integration/postgres/lib/migration, packages/integration/postgres/migrations
A change to existing behaviour in packages/integration/postgres/lib/migration, packages/integration/postgres/migrations — 1 commit, 5 files: “feat(postgres)!: schema v2 — native store contract, global positions, readAll, migrate() (\#570)” (refs \#570).
packages/integration/postgres/lib/migration, packages/integration/postgres/migrations · medium confidence · unverified
10 commits (0 fixes) modifying packages/core/lib/interfaces/module
A change to existing behaviour in packages/core/lib/interfaces/module — 10 commits, 2 files: “feat(core)!: JSON event serializer as the default, class-transformer entry point (ADR 0001 §6) (\#578)”; “♻️ make registering events in the global module optional”; “feat(core)!: module configuration: one global module, bootstrap registration and checks, request-scoped handlers (ADR 0001 §3) (\#579)”; and 7 more (refs \#578, \#579, \#569).
packages/core/lib/interfaces/module · medium confidence · unverified
129 commits (6 fixes) modifying (repo-wide)
A change to existing behaviour in (repo-wide) — 129 commits (6 fixs), 21 files: “⚗️ test ci workflow for libraries”; “:tada: create a nestjs event-sourcing library”; “build(turbo): keep turbo from writing agent rules into AGENTS.md (\#545)”; and 121 more (refs \#545, \#612, \#616, \#578, \#598, …).
(repo-wide) · low confidence · unverified
16 commits (0 fixes) modifying packages/core/lib/interfaces/aggregate
A change to existing behaviour in packages/core/lib/interfaces/aggregate — 16 commits, 13 files: “✨ add a filter for listing event-/snapshot-collections”; “:sparkles: create a default event- and snapshot-pool if not explicitly disabled”; “🚚 move the latest-snapshot-filter interface to the interfaces directory”; and 13 more (refs \#563, \#577).
packages/core/lib/interfaces/aggregate · medium confidence · unverified
16 commits (2 fixes) modifying packages/core/lib/decorators
A change to existing behaviour in packages/core/lib/decorators — 16 commits (2 fixs), 12 files: “feat(core)!: v4 store template, native in-memory store with readAll, conformance v2 (\#565)”; “♻️ rename Errors to Exceptions”; “♻️ rename Eventhandlers to EventSubscribers”; and 13 more (refs \#565, \#577, \#556, \#568).
packages/core/lib/decorators · medium confidence · unverified
17 commits (2 fixes) modifying packages/core/lib/models
A change to existing behaviour in packages/core/lib/models — 17 commits (2 fixs), 16 files: “🗃️ add additional indices and add a getAllEnvelopes method to each event-store”; “feat(core): additive groundwork for the v4 store contract (types, validators, exceptions) (\#561)”; “♻️ rename Errors to Exceptions”; and 14 more (refs \#561, \#592, \#577, \#524, \#589, …).
packages/core/lib/models · medium confidence · unverified
2 commits (0 fixes) modifying packages/core/lib/interfaces/migration
A change to existing behaviour in packages/core/lib/interfaces/migration — 2 commits, 4 files: “feat(core): additive groundwork for the v4 store contract (types, validators, exceptions) (\#561)”; “feat(mariadb): minimal manual operations for the 3.x migration (one stream id per 3.x stream) (\#596)” (refs \#561, \#596).
packages/core/lib/interfaces/migration · medium confidence · unverified
20 commits (0 fixes) modifying packages/core/lib/interfaces/events
A change to existing behaviour in packages/core/lib/interfaces/events — 20 commits, 22 files: “🚚 move the event-filter interface to the interfaces directory”; “feat(core)!: JSON event serializer as the default, class-transformer entry point (ADR 0001 §6) (\#578)”; “feat(core)!: v4 store template, native in-memory store with readAll, conformance v2 (\#565)”; and 17 more (refs \#578, \#565, \#561, \#579, \#569, …).
packages/core/lib/interfaces/events · medium confidence · unverified
21 commits (2 fixes) modifying packages/core/lib/exceptions/application
A change to existing behaviour in packages/core/lib/exceptions/application — 21 commits (2 fixs), 31 files: “feat(core)!: JSON event serializer as the default, class-transformer entry point (ADR 0001 §6) (\#578)”; “feat(core)!: v4 store template, native in-memory store with readAll, conformance v2 (\#565)”; “feat(core): additive groundwork for the v4 store contract (types, validators, exceptions) (\#561)”; and 18 more (refs \#578, \#565, \#561, \#579, \#563, …).
packages/core/lib/exceptions/application · medium confidence · unverified
21 commits (2 fixes) modifying packages/core/lib/integration/event-store
A change to existing behaviour in packages/core/lib/integration/event-store — 21 commits (2 fixs), 2 files: “🚚 move the event-filter interface to the interfaces directory”; “:sparkles: add listCollections methods to all store integrations”; “feat(core)!: v4 store template, native in-memory store with readAll, conformance v2 (\#565)”; and 18 more (refs \#565, \#524, \#556, \#540).
packages/core/lib/integration/event-store · medium confidence · unverified
23 commits (1 fix) modifying example/src
A change to existing behaviour in example/src — 23 commits (1 fix), 4 files: “♻️ refactor example to showcase forFeature registration”; “:sparkles: perform basic benchmarking scripts”; “♻️ refactor the example to include a domain-exception filter”; and 19 more (refs \#582).
example/src · medium confidence · unverified
28 commits (3 fixes) modifying packages/core/lib/integration/snapshot-store
A change to existing behaviour in packages/core/lib/integration/snapshot-store — 28 commits (3 fixs), 2 files: “:recycle: rename getLastEnvelopes to getlastAggregateEnvelopes”; “:sparkles: add listCollections methods to all store integrations”; “✨ implement getManyLastSnapshotEnvelopes for the integrations”; and 23 more (refs \#563, \#524, \#556).
packages/core/lib/integration/snapshot-store · medium confidence · unverified
32 commits (3 fixes) modifying packages/integration/mongodb/lib
A change to existing behaviour in packages/integration/mongodb/lib — 32 commits (3 fixs), 19 files: “:recycle: rename getLastEnvelopes to getlastAggregateEnvelopes”; “🚚 move the event-filter interface to the interfaces directory”; “:sparkles: add listCollections methods to all store integrations”; and 27 more (refs \#648, \#572, \#526, \#556).
packages/integration/mongodb/lib · medium confidence · unverified
35 commits (0 fixes) modifying packages/core
A change to existing behaviour in packages/core — 35 commits, 5 files: “\[ci\] release”; “\[ci\] release (next) (\#557)”; “docs: community health files (issue forms, security policy, support) (\#554)”; and 17 more (refs \#557, \#554, \#555, \#645, \#562, …).
packages/core · medium confidence · unverified
36 commits (3 fixes) modifying lib
A change to existing behaviour in lib — 36 commits (3 fixs), 2 files: “:sparkles: add an event-envelope for wrapping events”; “:tada: create a nestjs event-sourcing library”; “:sparkles: export the event-map”; and 32 more.
lib · medium confidence · unverified
36 commits (4 fixes) modifying packages/integration/postgres/lib
A change to existing behaviour in packages/integration/postgres/lib — 36 commits (4 fixs), 6 files: “:recycle: rename getLastEnvelopes to getlastAggregateEnvelopes”; “🚚 move the event-filter interface to the interfaces directory”; “:sparkles: add listCollections methods to all store integrations”; and 31 more (refs \#525, \#570, \#556).
packages/integration/postgres/lib · medium confidence · unverified
37 commits (1 fix) modifying packages/integration/postgres
A change to existing behaviour in packages/integration/postgres — 37 commits (1 fix), 7 files: “\[ci\] release”; “👷 refactor test configuration to output coverage”; “\[ci\] release (next) (\#557)”; and 19 more (refs \#557, \#554, \#564, \#555, \#645, …).
packages/integration/postgres · medium confidence · unverified
38 commits (3 fixes) modifying packages/integration/mariadb/lib
A change to existing behaviour in packages/integration/mariadb/lib — 38 commits (3 fixs), 16 files: “:recycle: rename getLastEnvelopes to getlastAggregateEnvelopes”; “🚚 move the event-filter interface to the interfaces directory”; “:sparkles: add listCollections methods to all store integrations”; and 33 more (refs \#571, \#648, \#526, \#556, \#540, …).
packages/integration/mariadb/lib · medium confidence · unverified
39 commits (1 fix) modifying packages/integration/mariadb
A change to existing behaviour in packages/integration/mariadb — 39 commits (1 fix), 7 files: “\[ci\] release”; “👷 refactor test configuration to output coverage”; “\[ci\] release (next) (\#557)”; and 21 more (refs \#557, \#554, \#649, \#564, \#555, …).
packages/integration/mariadb · medium confidence · unverified
39 commits (2 fixes) modifying packages/integration/mongodb
A change to existing behaviour in packages/integration/mongodb — 39 commits (2 fixs), 7 files: “\[ci\] release”; “👷 refactor test configuration to output coverage”; “\[ci\] release (next) (\#557)”; and 21 more (refs \#557, \#554, \#564, \#555, \#645, …).
packages/integration/mongodb · medium confidence · unverified
4 commits (0 fixes) modifying packages/core/lib/interfaces/commands, packages/core/lib/interfaces/queries
A change to existing behaviour in packages/core/lib/interfaces/commands, packages/core/lib/interfaces/queries — 4 commits, 15 files: “:truck: move files around”; “refactor: spell out .js extensions in relative imports”; “:recycle: export and import types as types”; and 1 more (refs \#568).
packages/core/lib/interfaces/commands, packages/core/lib/interfaces/queries · medium confidence · unverified
5 commits (1 fix) modifying packages/core/lib/helpers/observables
A change to existing behaviour in packages/core/lib/helpers/observables — 5 commits (1 fix), 3 files: “:truck: move files around”; “refactor: spell out .js extensions in relative imports”; “🔧 configure shared tsconfig files”; and 2 more (refs \#524).
packages/core/lib/helpers/observables · medium confidence · unverified
54 commits (4 fixes) modifying packages/core/lib
A change to existing behaviour in packages/core/lib — 54 commits (4 fixs), 33 files: “♻️ refactor example to showcase forFeature registration”; “🚨 fix missing import”; “💡 add jsdocs to the event- and snapshot-store”; and 49 more (refs \#578, \#565, \#561, \#532, \#579, …).
packages/core/lib · medium confidence · unverified
6 commits (0 fixes) modifying packages/core/lib/interfaces
A change to existing behaviour in packages/core/lib/interfaces — 6 commits, 2 files: “feat(core): additive groundwork for the v4 store contract (types, validators, exceptions) (\#561)”; “refactor(core): use DiscoveryService instead of @nestjs/core deep imports (\#532)”; “:truck: move the event-sourcing-options interface”; and 3 more (refs \#561, \#532).
packages/core/lib/interfaces · medium confidence · unverified
6 commits (0 fixes) modifying scripts
A change to existing behaviour in scripts — 6 commits, 4 files: “feat(core)!: JSON event serializer as the default, class-transformer entry point (ADR 0001 §6) (\#578)”; “ci: gate the package shape and real consumers of the tarballs”; “test: cross-version fixture, 3.0.2 writes and master reads (\#564)”; and 3 more (refs \#578, \#564, \#576, \#558).
scripts · medium confidence · unverified
7 commits (0 fixes) modifying example/src/catalogue, example/src/loaning
A change to existing behaviour in example/src/catalogue, example/src/loaning — 7 commits, 63 files: “♻️ refactor example to showcase forFeature registration”; “feat(example): Nest 12 ESM example on PostgreSQL, compose quickstart, e2e in CI (\#582)”; “build: replace Biome with oxlint and oxfmt”; and 4 more (refs \#582, \#592, \#577).
example/src/catalogue, example/src/loaning · medium confidence · unverified
7 commits (0 fixes) modifying fixtures
A change to existing behaviour in fixtures — 7 commits, 9 files: “feat(core)!: JSON event serializer as the default, class-transformer entry point (ADR 0001 §6) (\#578)”; “feat(core)!: v4 store template, native in-memory store with readAll, conformance v2 (\#565)”; “ci: gate the package shape and real consumers of the tarballs”; and 4 more (refs \#578, \#565, \#564, \#576, \#569, …).
fixtures · medium confidence · unverified
7 commits (0 fixes) modifying packages/core/lib/exceptions/integration
A change to existing behaviour in packages/core/lib/exceptions/integration — 7 commits, 9 files: “✨ add a snapshot-store-version-conflict exception”; “feat(core): additive groundwork for the v4 store contract (types, validators, exceptions) (\#561)”; “✨ add an event-store-version-conflict exception”; and 4 more (refs \#561, \#556).
packages/core/lib/exceptions/integration · medium confidence · unverified
7 commits (0 fixes) modifying packages/core/lib/helpers/metadata
A change to existing behaviour in packages/core/lib/helpers/metadata — 7 commits, 12 files: “♻️ rename Eventhandlers to EventSubscribers”; “:truck: move files around”; “refactor: spell out .js extensions in relative imports”; and 4 more (refs \#568).
packages/core/lib/helpers/metadata · medium confidence · unverified
7 commits (0 fixes) modifying packages/integration/postgres/lib/interfaces
A change to existing behaviour in packages/integration/postgres/lib/interfaces — 7 commits, 5 files: “:truck: consistently name the stores”; “:sparkles: implement the postgres snapshot-store”; “feat(postgres)!: schema v2 — native store contract, global positions, readAll, migrate() (\#570)”; and 4 more (refs \#570).
packages/integration/postgres/lib/interfaces · medium confidence · unverified
7 commits (1 fix) modifying example
A change to existing behaviour in example — 7 commits (1 fix), 8 files: “allow to dev run the example”; “feat(example): Nest 12 ESM example on PostgreSQL, compose quickstart, e2e in CI (\#582)”; “feat(core)!: event handlers may apply events, markCommitted(events) (ADR 0001 D42) (\#592)”; and 4 more (refs \#582, \#592, \#536, \#589).
example · medium confidence · unverified
8 commits (0 fixes) modifying packages/core/lib/exceptions
A change to existing behaviour in packages/core/lib/exceptions — 8 commits, 3 files: “feat(core)!: JSON event serializer as the default, class-transformer entry point (ADR 0001 §6) (\#578)”; “feat(core): additive groundwork for the v4 store contract (types, validators, exceptions) (\#561)”; “feat(core)!: module configuration: one global module, bootstrap registration and checks, request-scoped handlers (ADR 0001 §3) (\#579)”; and 5 more (refs \#578, \#561, \#579, \#577, \#556).
packages/core/lib/exceptions · medium confidence · unverified
8 commits (0 fixes) modifying packages/core/lib/exceptions/domain
A change to existing behaviour in packages/core/lib/exceptions/domain — 8 commits, 5 files: “♻️ rename Errors to Exceptions”; “:truck: move files around”; “feat(core)!: aggregate API and polymorphic ids (ADR 0001 §4) (\#577)”; and 5 more (refs \#577, \#556).
packages/core/lib/exceptions/domain · medium confidence · unverified
Test coverage
10 commits adding/updating tests in packages/core/tests/e2e; 13 commits adding/updating tests in packages/testing/e2e/application; 14 commits adding/updating tests in packages/testing/e2e; 2 commits adding/updating tests in example/tests; 2 commits adding/updating tests in packages/core/lib/testing; 3 commits adding/updating tests in packages/integration/mongodb/tests/cross-version; 3 commits adding/updating tests in packages/integration/postgres/tests/cross-version; 3 commits adding/updating tests in packages/testing/cross-version; 3 commits adding/updating tests in packages/testing/e2e/fixtures; 39 commits adding/updating tests in packages/integration/postgres/tests/unit; 4 commits adding/updating tests in packages/integration/mariadb/tests/cross-version; 4 commits adding/updating tests in packages/integration/postgres/tests/e2e/src; 44 commits adding/updating tests in packages/integration/mongodb/tests/unit; 46 commits adding/updating tests in packages/integration/mariadb/tests/unit; 6 commits adding/updating tests in packages/integration/mariadb/tests/e2e, packages/integration/mongodb/tests/e2e; 6 commits adding/updating tests in packages/integration/postgres/tests/e2e; 69 commits adding/updating tests in packages/core/tests/unit; 7 commits adding/updating tests in packages/testing/e2e/domain; 9 commits adding/updating tests in packages/testing/unit.
Dependencies
473 commits updating dependencies (12 manifests)
A dependency / build maintenance change in (dependencies) — 473 commits (11 fixs), 12 files: “:tada: create a nestjs event-sourcing library”; “\[ci\] release”; “:wrench: also format and lint the example”; and 418 more (refs \#247, \#667, \#612, \#583, \#91, …).
(dependencies) · high confidence · unverified
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Baseline
- First survey — no prior run to compare against. CAI 58.
Lenses
- Code Health 70
- Architecture 88
- Maturity 50
- Readiness 54
- Security 69
- Domain Modelling 100
- Performance 85
Changes since last survey
- 300 commits — 274 feature/other, 26 fixes
By area
- (root) — 73 commits
- packages/integration — 66 commits
- .github/workflows — 34 commits
- packages/core — 34 commits
- (repo) — 33 commits
- docs/src — 11 commits
- example/src — 8 commits
- docs/pages — 5 commits
- docs/decisions — 3 commits
- packages/testing — 3 commits
- .changeset/pre — 2 commits
- .claude/skills — 2 commits
- .github/actions — 2 commits
- .changeset/bright-houses-rush.md — 1 commit
- .changeset/bright-radios-play.md — 1 commit
- .changeset/cold-pillows-jump.md — 1 commit
- .changeset/cyan-meals-sip.md — 1 commit
- .changeset/eighty-cycles-hang.md — 1 commit
- .changeset/eighty-ravens-matter.md — 1 commit
- .changeset/fluffy-doodles-stare.md — 1 commit
Notable commits
- fix: Enable strictNullChecks in Typescript to fix multiple typing errors, preventing to implement an custom EventStore and a SnapshotStore properly
- fix: Merge pull request #668 from ocoda/fix/osv-launch-editor
- fix: chore(skills): scope charter after MySQL support; fix skill paths (#650)
- fix: fix inmemory implementation e2e tests
- fix: fix(core)!: EventEnvelope.toJSON() writes the event id as a string (#589)
- fix: fix(core): isolate subscriber/publisher failures, fix forRootAsync useClass, snapshot interval crossing, bus observables (#524)
- fix: fix(deps): clear new OSV advisories in transitive dependencies (#627)
- fix: fix(deps): update dependency @astrojs/starlight to v0.42.5
- fix: fix(deps): update dependency astro to v7.3.7
- fix: fix(deps): update docs site
- fix: fix(deps): update docs site
- fix: fix(dynamodb): conditional transactional writes, consistent reads, correct CreateTable, Date payloads (#527)
- fix: fix(dynamodb): raise the AWS SDK peer floor to ^3.582.0
- fix: fix(mariadb)!: require mariadb ^3.5.3 (connector advisories) (#597)
- fix: fix(mariadb,mongodb): claim gap-safe only on InnoDB and on MongoDB (#648)
- fix: fix(mariadb,mongodb): surface read errors, release connections/cursors, map duplicate keys to version conflicts (#526)
- fix: fix(postgres): per-operation connections, cursor cleanup, conflict mapping, safe per-table indexes (#525)
- fix: fix(release): configure npm registry-url for OIDC publishing
- fix: fix(release): upgrade npm to v11+ for OIDC trusted publishing support
- fix: fix(release): use Node 24 with native OIDC trusted publishing
- …and 280 more
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
ocoda/event-sourcing was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 9 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 2b03e22dd8107d0ea6c8fdc511e48b35829a2ae3 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-bb0cb800cd0f.