You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merged PR #355 correctly removed direct pseudo-CalDAV access from LineageWeave, but its compatibility contract treats Naruon as the calendar-provider authority and publishes application/vnd.contextualwisdomlab.naruon-calendar.v1+json.
CalendarWeave PR #1 now defines the organization target Context Map: CalendarWeave is the future authoritative generic calendar-resource/iCalendar/CalDAV/provider-sync bounded context; Naruon retains workspace commitment/conflict policy and cross-context scheduling decisions.
This issue does not invalidate #355. #355 remains a valid compatibility step that prevented LineageWeave from owning provider credentials, CalDAV state or writeback. The follow-up prevents that temporary Naruon projection from becoming the permanent calendar source of truth.
Target authority boundary
LineageWeave owns
post-grounded commitments and issue/todo identity;
lineage/ontology/provenance links and authorization;
the combined buyer-facing calendar/evidence presentation;
immutable observation evidence necessary to explain what was shown.
CalendarWeave owns after its production contract is released
authoritative generic calendar event/occurrence references and revisions;
iCalendar/CalDAV/provider calendar semantics;
recurrence/timezone/provider mapping and sync evidence;
calendar-resource authorization/audit receipts and read projections.
Naruon owns
commitment meaning and confirmed/tentative/desired policy;
conflict/resolution recommendations and private-context bridge;
approval/correction workflow and business evidence that affects scheduling.
LineageWeave may later consume both CalendarWeave calendar observations and Naruon scheduling-decision evidence as separate typed sources. It must not collapse the two authorities into one DTO.
Migration rule
Do not rewrite or delete the merged #355 contract until CalendarWeave publishes a released, versioned read projection and immutable conformance fixtures.
Characterize the current naruon-calendar.v1 parser/client behavior and buyer UI.
Introduce a new CalendarWeave consumer adapter/ACL in LineageWeave; do not rename the old media type in place.
If Naruon decision/conflict evidence is also needed, consume it through a separate Naruon scheduling-decision contract rather than using Naruon as generic calendar authority.
Prove parity for opaque identities, revisions, intervals, timezone/all-day, disclosure, observation provenance, bounds, timeout/degraded behavior and tenant authorization.
Only after parity retire the compatibility Naruon calendar projection path through an explicit version/deprecation window.
Add architecture-fitness tests forbidding direct CalDAV/provider access and forbidding Naruon provider DTOs from becoming the permanent LineageWeave calendar domain model.
DDD consequence
The LineageWeave Calendar surface is a composition/read-model boundary, not a Calendar aggregate. External calendar observations remain external evidence. LineageWeave commitments remain LineageWeave facts. CalendarWeave resources remain CalendarWeave facts. Naruon commitment decisions remain Naruon facts.
Done
Close only when the buyer-facing calendar composition uses the correct versioned authorities without direct provider credentials or foreign database access, the compatibility path is either deliberately retained or safely retired, and exact-head tests/docs/coverage/security/review evidence pass.
Why this follow-up exists
Merged PR #355 correctly removed direct pseudo-CalDAV access from LineageWeave, but its compatibility contract treats Naruon as the calendar-provider authority and publishes
application/vnd.contextualwisdomlab.naruon-calendar.v1+json.CalendarWeave PR #1 now defines the organization target Context Map: CalendarWeave is the future authoritative generic calendar-resource/iCalendar/CalDAV/provider-sync bounded context; Naruon retains workspace commitment/conflict policy and cross-context scheduling decisions.
This issue does not invalidate #355. #355 remains a valid compatibility step that prevented LineageWeave from owning provider credentials, CalDAV state or writeback. The follow-up prevents that temporary Naruon projection from becoming the permanent calendar source of truth.
Target authority boundary
LineageWeave owns
CalendarWeave owns after its production contract is released
Naruon owns
LineageWeave may later consume both CalendarWeave calendar observations and Naruon scheduling-decision evidence as separate typed sources. It must not collapse the two authorities into one DTO.
Migration rule
Do not rewrite or delete the merged #355 contract until CalendarWeave publishes a released, versioned read projection and immutable conformance fixtures.
naruon-calendar.v1parser/client behavior and buyer UI.DDD consequence
The LineageWeave
Calendarsurface is a composition/read-model boundary, not a Calendar aggregate. External calendar observations remain external evidence. LineageWeave commitments remain LineageWeave facts. CalendarWeave resources remain CalendarWeave facts. Naruon commitment decisions remain Naruon facts.Done
Close only when the buyer-facing calendar composition uses the correct versioned authorities without direct provider credentials or foreign database access, the compatibility path is either deliberately retained or safely retired, and exact-head tests/docs/coverage/security/review evidence pass.