saravanakumardb1
|
623d02c32f
|
test(notes): verify phase1 transcript→note import against @bytelyst/events schemas
- Add @bytelyst/events dependency for contract validation
- Expand ecosystem-phase1 tests from 1 to 13 focused tests:
- transcript artifact import from disk
- transcript capture event load + missing file graceful
- note creation with productId, sourceType, links, tags
- note artifact doc for internal persistence
- artifact.created event with upstream causation propagation
- artifact.linked event chained from artifact.created
- provenance lineage preservation (lysnrai→notelett)
- NoteArtifactEnvelopeSchema conformance (no contract drift)
- ArtifactCreatedEventSchema conformance
- ArtifactLinkedEventSchema conformance
- disk persistence + index file verification
- graceful degradation without capture event
- Fix server.test.ts route count (7→8) for ecosystem-phase1 route
|
2026-04-03 19:13:55 -07:00 |
|