Architecture pass: extract Calendar and Agenda modules #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "architecture-pass"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Two deepening passes informed by the new
CONTEXT.md:internal/calendar— owns the Calendar aggregate (Local file as source of truth, optionally mirrored to a Remote). Verbs:Local,Fetch,Mutate,Edit,Roundtrip. Auto-pulls before mutations, auto-pushes after, auto-purges past events on save. Internaltransportseam with HTTP and in-memory adapters. Subsumes the deletedinternal/storeandinternal/remotepackages and the sync-orchestration helpers previously stranded incmd/cal/main.go.internal/agenda— pure projection module (Week,Upcoming,Soonest) producing typedDaybuckets.parse.Event.InProgress(now)replaces three duplicated predicates.internal/viewandinternal/htmlviewbecome pure formatters.cmd/cal/main.goshrinks from a hand-composed sync orchestrator to a thin cobra-to-Calendar shim.Test plan