feat(import): ICS/GPX/CSV/git/JSON importers + drop-folder watcher #7
All Vouch review confidence checks passed
Residual risk 0.35 = Change Risk (0.39) × (1 − Review Confidence (0.11)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 251 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 7% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.331
Real PR Conversation Timeline
1 comments
"Review active on #7"
general
weight: 0.35
copilot-pull-request-reviewer[bot]
Summary
This PR lets you backfill years of real-world history into the event log from files you already have. Every importer is dependency-free and keyless, and imports are idempotent through the existing
content_hash/external_iddedupe.src/events/importers.ts(pure parsers):- ICS: RFC 5545 line unfolding and unescaping.
VALUE=DATEall-day events are supported.external_id = UID[@RECURRENCE-ID]. Output iscalendar/event, with summary, location, organizer and rrule indata. TZID/floating times are treated as UTC (best effort).- GPX: produces
trkptaslocation/point(keeps lat/lon, downsampled withminIntervalSec, default 60) andwpt/rteptaswaypoint.- CSV: an RFC 4180 parser. The first time-like column becomes
occurred_at, and numeric columns become typeddata. Optional columns:stream,kind/type,id,lat/lon, and text-like columns. Hex values such as0x1Fstay strings.- git: reads
git logwith\x1e/\x1fseparators and producesgit/commitwithexternal_id = sha.-
detectFormatdetects the format from the file extension, falling back to sniffing the content.importPath()(src/commands/import.ts) ingests inmax_batchchunks and returns per-row errors. Both the CLI and the watcher use it.dendrite import <file|repo-dir> [-f fmt] [-s stream] [-k kind] [--limit n] [--json]inputs.drop_folder.{enabled,path,poll_seconds}):servepolls the folder. A file is imported only once its mtime is at least 2s old, so partly written files are skipped. Imported files move toprocessed/; failed files move tofailed/along with an.error.txt.Link to Devin session: https://app.devin.ai/sessions/af5d3b29a40c4e0cbe388b087a3486a7
Open in Devin Desktop: https://app.devin.ai/desktop/session/af5d3b29a40c4e0cbe388b087a3486a7?variant=devin
Requested by: @mosesman831