Skip to content

[WAYFINDER] Add a local SQLite mirror for Partiful entities #77

Open
1 of 4 issues completed
Open

Description

@KalebCole

Destination

A decision-complete implementation specification and executable issue breakdown for a local SQLite mirror of Partiful entities, ready for a later implementation effort. This map plans the mirror; it does not implement it.

Notes

Decisions so far

  • The SQLite layer exists to make repeated reads, search, and historical joins local. It should prevent the CLI from calling Partiful again every time a user asks another question about data already fetched.
  • Partiful remains authoritative. SQLite is a read mirror, not a write queue or competing source of truth.
  • Sync is explicit. partiful sync may call Partiful and update the mirror. Local search and query commands must not silently refresh or fall back to live API reads.
  • A user can explicitly request network activity with a command or flag such as --refresh or --data-source live. The final command spelling belongs in the implementation spec.
  • Local reads report their source and freshness. Human output warns when data is stale; JSON includes machine-readable sync metadata. A missing mirror returns an empty machine result plus a clear partiful sync instruction rather than creating an empty database that looks current.
  • The first user contract is offline-first search and repeated querying over synced Partiful entities. Exact initial resource coverage remains with the remote-contract and schema frontiers.
  • No background daemon or surprise auto-refresh in the first version.

Not yet specified

  • Initial entity inventory, schema and raw-payload retention boundary, stable IDs, sync cursors/checkpoints, and reconciliation behavior.
  • Database location/default and override policy, driver/library choice, lifecycle, migration strategy, corruption/recovery policy, and the test seam needed for the existing CLI.
  • The first concrete search/query command set, stale_after thresholds by resource, and final spellings for explicit refresh or live reads.
  • Minimum supported Node version and whether the implementation can use built-in node:sqlite or needs an external driver. A local Node 25 spike confirmed built-in SQLite 3.53.3 and FTS5 work, but the published runtime floor still needs an explicit decision.
  • Privacy/security boundaries, retention/deletion, sensitive-field handling, and offline-query scope.

Out of scope

  • Implementing the database or shipping any SQLite-backed command in this map.
  • A background daemon, automatic pre-read refresh, cloud sync, cross-device sync, UI, or a remote mutation queue. These require a later, separate decision if ever needed.
  • Re-scoping the adjacent contacts, analytics, or attendee-mutuals work linked above.

Sub-issues

Sub-issues

1 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. KalebCole commented on Nov 14, 2026

    @KalebCole
    OwnerAuthor

    Triage bot: held for Kaleb. The offline read-only SQLite copy of events is wanted, but it always needs his review and never auto-merges (draft VISION (#256)). Keep the scope to a read-only events copy; the remote API stays authoritative.

  2. added
    held
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    heldwayfinder:map

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions