Skip to content

refactor: move internal services out of source/ into service/#95

Merged
priyanshujain merged 8 commits intomasterfrom
refactor-source-service-split
Mar 18, 2026
Merged

refactor: move internal services out of source/ into service/#95
priyanshujain merged 8 commits intomasterfrom
refactor-source-service-split

Conversation

@priyanshujain
Copy link
Copy Markdown
Collaborator

Summary

  • Move 5 non-source packages out of source/ (and top-level memory/) into a new service/ directory, so source/ only contains external service integrations and service/ contains internal data stores & system services
  • source/usageservice/usage, source/schedulerservice/scheduler, source/historyservice/history, source/contactsservice/contacts, memory/service/memory/
  • Update status.go to handle history as a direct DB query (like contacts) instead of via the source registry

Structure after

source/              # External service integrations
  applenotes/ gmail/ whatsapp/ imessage/
  slack/ websearch/ finance/

service/             # Internal data stores & system services
  contacts/ history/ memory/ scheduler/ usage/

Test plan

  • go build ./... passes
  • go vet ./... passes
  • go test ./... — full suite passes
  • No stale source/contacts, source/history, source/scheduler, source/usage, or top-level memory imports remain

@priyanshujain priyanshujain merged commit 03f4e2d into master Mar 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant