Commit Graph

220 Commits

Author SHA1 Message Date
saravanakumardb1
1258d49488 feat(backend): emit task.created + workspace.created events; add share revocation regression test
Sprint B — closes audit items B6 (event-bus completeness) and B3
(public-share revocation regression).

Event bus:
- note-tasks/repository.ts createNoteTask now emits task.created with
  taskId, noteId, workspaceId, userId, title
- workspaces/repository.ts createWorkspace now emits workspace.created
  with workspaceId, userId, name

The event-bus already declared these event types (event-bus.ts) and
webhook subscribers can target them, but they were never emitted —
making the contract dead. Emissions follow the same .catch(() => {})
pattern used by note.created/updated/deleted in notes/repository.ts so
a subscriber failure cannot break the create flow.

Regression tests:
- note-tasks/repository.test.ts and workspaces/repository.test.ts
  exercise the emission paths end-to-end through the in-memory
  datastore.
- note-shares/repository.integration.test.ts adds a 5-test integration
  suite for the public-share revocation path: token resolves before
  revocation; token returns null after deleteShare (hard delete);
  expired token returns null; cross-product token rejected;
  listSharesForNote does not include revoked shares.

Verified:
- pnpm --filter @notelett/backend run test: 380/380 (was 373, +7 new)
- pnpm run verify end-to-end green
2026-05-22 23:23:08 -07:00
saravanakumardb1
c75ed3dc25 docs(sprint-a): record build restoration and refreshed sprint plan
- Commit previously untracked docs/NEXT_SPRINT_ROADMAP.md with refreshed
  May 22 status; mark Sprint 1 (backend build) and Sprint 2 (lint) as
  resolved by Sprint A workspace-path fix
- Add post-Sprint-A re-verification section to
  docs/PRODUCTION_READINESS_HANDOFF_ROADMAP.md documenting the
  workspace-path regression and the re-verified gates
- Update README quick-start to reference the canonical common-platform
  checkout path with BYTELYST_COMMON_PLAT_ROOT override note
2026-05-22 15:08:42 -07:00
root
3fe4f0786c feat(ux): add UX testing setup guide and common platform integration 2026-05-09 22:09:43 +00:00
a983e044b1 docs(ui): record shell css cleanup 2026-05-06 13:40:45 -07:00
2ba846698f docs(ui): record navigation boundary 2026-05-06 13:38:10 -07:00
2a2c773ca1 docs(ui): record app shell migration 2026-05-06 13:36:25 -07:00
4cfe5aee5e docs(ui): record review verification 2026-05-06 13:29:33 -07:00
ca0f64e416 docs(ui): record review empty states 2026-05-06 13:19:23 -07:00
192a2aafde docs(ui): record review keyboard shortcuts 2026-05-06 13:16:01 -07:00
116c0c982b docs(ui): record review component split 2026-05-06 13:14:18 -07:00
936d2899fe docs(ui): record review primitive migration 2026-05-06 11:49:06 -07:00
1784f72d70 docs(ui): record adapter defaults 2026-05-06 11:36:42 -07:00
02c691bd8e docs(ui): record token alias migration 2026-05-06 11:34:46 -07:00
e95db18f50 docs(ui): record common ui verification 2026-05-06 11:31:52 -07:00
fd90d07339 docs(ui): record primitive story coverage 2026-05-06 11:31:14 -07:00
d7516a3566 docs(ui): record data display primitive migration 2026-05-06 11:28:16 -07:00
c1c23b194e docs(ui): record control primitive migration 2026-05-06 11:26:05 -07:00
bb1e400dfc docs(ui): record surface primitive migration 2026-05-06 11:22:11 -07:00
6540f5c494 docs(ui): record primitive variant migration 2026-05-06 11:20:55 -07:00
109810572f docs(ui): record status token migration 2026-05-06 11:16:56 -07:00
4e01733f31 docs(ui): record platform core migration verification 2026-05-06 11:13:34 -07:00
5009a22675 docs(ui): add platform core migration roadmap 2026-05-06 11:06:30 -07:00
f18abbe5fc docs(roadmap): record P10.8 remote status 2026-05-05 14:21:39 -07:00
07d3257753 docs(roadmap): record P10.7 release docs 2026-05-05 14:20:42 -07:00
64d2f6f2b6 docs(release): record final handoff status 2026-05-05 14:20:15 -07:00
0563bcdc26 docs(roadmap): record P10.6 audits 2026-05-05 14:19:09 -07:00
6d8780b440 docs(roadmap): record P10.5 platform smoke 2026-05-05 14:17:08 -07:00
1797ca7e25 docs(roadmap): record P10.4 compose gate 2026-05-05 14:09:04 -07:00
21a2619c74 docs(roadmap): record P10.3 web e2e 2026-05-05 14:08:03 -07:00
81adcd7d2b docs(roadmap): record P10.2 lint gate 2026-05-05 14:05:22 -07:00
00d022071d docs(roadmap): record P10.1 verification 2026-05-05 13:56:26 -07:00
e9f045571b docs(roadmap): record P9.5 operator runbook 2026-05-05 13:54:27 -07:00
57a7e10bc9 docs(ops): add operator runbook 2026-05-05 13:53:59 -07:00
95f252a520 docs(roadmap): record P9.4 telemetry taxonomy 2026-05-05 13:51:57 -07:00
40b62bf3a6 docs(ops): define telemetry taxonomy 2026-05-05 13:51:28 -07:00
067e32a2aa docs(roadmap): record P9.3 migration plan 2026-05-05 13:49:24 -07:00
3b8fa29c2a docs(data): add migration backfill plan 2026-05-05 13:48:52 -07:00
5ce97f8615 docs(roadmap): record P9.2 seed bootstrap 2026-05-05 13:46:16 -07:00
efcc5fa044 feat(data): add seed bootstrap strategy 2026-05-05 13:45:43 -07:00
1059b138d7 docs(roadmap): record cosmos operations 2026-05-05 13:39:19 -07:00
d897702d9e docs(data): add cosmos operations runbook 2026-05-05 13:38:58 -07:00
33ea533d8b docs(roadmap): record release checklist 2026-05-05 13:37:46 -07:00
606828401e docs(release): add deploy checklist template 2026-05-05 13:37:26 -07:00
2c01ffb0eb docs(roadmap): record dependency health 2026-05-05 13:36:28 -07:00
b6e1296afc docs(roadmap): record release guard audits 2026-05-05 13:34:27 -07:00
a29efd56c9 docs(roadmap): record compose smoke 2026-05-05 13:31:31 -07:00
032c2e7035 docs(roadmap): record docker ci builds 2026-05-05 13:29:40 -07:00
e0834abd70 docs(roadmap): record web e2e ci 2026-05-05 13:27:30 -07:00
ea1efb38e0 docs(roadmap): record mobile ci coverage 2026-05-05 13:25:49 -07:00
e8ce73ef70 docs(roadmap): record mobile build checklist 2026-05-05 13:24:06 -07:00