Add incremental Messages archive and search#108
Open
jmcte wants to merge 5 commits into
Open
Conversation
Expose a deterministic metadata-only provider registry through JSON and text output, covering every current Apple-data command family with maturity, source, permission, sensitivity, capability, and polling declarations. Document the v1 compatibility policy.\n\nCloses #89.
Add a private read-only SQLite snapshot engine with WAL and SHM companions, query-only enforcement, busy and process timeouts, structured failures, and deterministic cleanup. Migrate Messages and Safari history and document remaining providers.\n\nCloses #90.
Add explicit scan and wall-clock budgets, structured crawl reports, cancellable Drive enumeration, Finder-tag budget metadata, and redacted watch partial-success envelopes. Extend the live audit with explicit budgets and aggregate outcomes.\n\nCloses #92.
Define versioned archive sync, storage, status, migration, retention, and privacy contracts with idempotent upserts, explicit tombstones, bounded attempts, persisted freshness and counts, private atomic files, and fail-closed sensitivity gates.\n\nCloses #93.
Archive bounded Messages metadata from consistent snapshots with cursors, deduplication, deletion tombstones, source fingerprints, and versioned search. Keep bodies behind explicit retention and confirmation gates and exclude all action capabilities.
12 tasks
jmcte
marked this pull request as ready for review
July 13, 2026 07:29
jmcte
enabled auto-merge (squash)
July 13, 2026 07:30
Hermes-omt
reviewed
Jul 17, 2026
Hermes-omt
left a comment
Contributor
There was a problem hiding this comment.
Review deferred: the live head 2d6816c is merge-conflicted with main (mergeable=false, mergeable_state=dirty). Rebase/update this branch onto main, resolve conflicts, and wait for fresh CI before substantive review. Node-local exact-head inspection and Messages archive tests completed successfully, but this stale/conflicted head cannot be approved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Governing Issue
Closes #95
Validation
Relevant local checks passed
Required PR checks are expected to satisfy
CI GateSkipped checks are explained below
swift test --disable-sandbox— 134 tests passedbash scripts/ci/run-fast-checks.sh— passed; 88.83% source line coverage, mutation checks, debug and release builds passedsynthetic DB tests cover cursor resume, deduplication, group chats, deletion tombstones, redaction, body retention, and untrusted batch rejection
No checks skipped.
Bootstrap Governance
CONTRIBUTING.md,.github/PULL_REQUEST_TEMPLATE.md, anddocs/bootstrap/onboarding.mdwhen applicableNo contributor guidance changed. This PR is stacked on #101–#104 and remains draft until those foundations merge.
Flow Contract
Flow Merge Readiness
Next actor: foundation reviewers, then independent security and architecture review.
Merge Automation
gh pr merge --auto --squash, or the reason it is unavailable/unsafe is noted belowAuto-merge is deferred only while this PR is stacked on #101–#104.
Notes