Add ingest skill, CRDT-based dedup, and daemon sync mode#1
Merged
Conversation
…a sources - Add ingest skill installation during `aicontext install` - Support static/dynamic source modes; daemon skips static sources - Load agent-generated data sources from ~/.aicontext/data_sources/ - Preserve agent-added sources in config during save - Improve sync CLI with --daemon flag and better path/source validation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…rence Move reference file conflict resolution from a naive "new replaces old" method on DataSource to a CRDT function in dedup.py (larger file wins, hash tiebreak). Remove _meta.json — read existing files directly from disk. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Update google_takeout_activity.md with comprehensive action prefix list, document \xa0 non-breaking space issue, and replace defensive fallback guidance with explicit skip-if-unknown policy - Update SKILL.md to encourage parallel exploration/implementation and add no-defensive-fallbacks rule Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Reject dynamic data source requests and guide users to implement DataSource classes in aicontext/sources/ instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The ingest skill (ingest_skill.py / aicontext-ingest/) may not be bundled. Guard its import in cmd_install so the install flow doesn't crash when it's absent. Also fix a latent ValueError in _print_ingestion_table when called with an empty results list. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Correct misleading data filenames in Amazon source guides to match actual export names, add source_key field to all guides for unambiguous output file naming, and update ChatGPT guide directory name. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
aicontext-ingestskill that explores user data exports (Google Takeout, Amazon, ChatGPT, Claude, Chrome history), identifies ingestible sources, and generates DataSource classes to parse them into AIContext's unified activity databasemerge_referencewithshould_replace_referenceusing CRDT logic for more robust conflict resolutionTest plan
aicontext ingestcommand works with a sample data exportshould_replace_referencecorrectly handles merge conflicts🤖 Generated with Claude Code