diff --git a/docs/reports/2026-06-09-knowledge-intake-ingestion-run.md b/docs/reports/2026-06-09-knowledge-intake-ingestion-run.md new file mode 100644 index 0000000..33a3a82 --- /dev/null +++ b/docs/reports/2026-06-09-knowledge-intake-ingestion-run.md @@ -0,0 +1,51 @@ +# Knowledge Intake Ingestion Run — 2026-06-09 + +Operational run of the `knowledge-intake` ingestion pipeline, capturing how many items each source returned during the requested command execution and noting the one source that still could not produce a fetched-item count in this environment. + +## Command + +```bash +cd ~/dev/knowledge-intake && source .env && bun run src/cli.ts ingest +``` + +- **Run date**: 2026-06-09 +- **Repo**: `~/dev/knowledge-intake` (sibling to `intent-layer`) +- **Runtime**: `bun` +- **Exit code**: `0` +- **Follow-up auth check**: `cd ~/dev/knowledge-intake && source .env && gog auth list` produced no terminal output and hung until interrupted, consistent with the Gmail token lookup blocking on macOS Keychain access + +## Per-source results + +| Source | Items fetched | Status | +|------------|--------------:|--------| +| pinboard | 0 | OK | +| papers | 0 | OK | +| github | 100 | OK | +| email | 0 | Error before fetch; actual count unavailable in this environment | +| **Total** | **100** | 3 of 4 sources completed | + +The reported total of **100 new items** equals pinboard (0) + papers (0) + github (100). The run did not obtain an `email` fetched-item count because the Gmail auth step failed before any search results were returned. + +## Source-level error: email + +The `email` source failed during the Gmail search step via the `gog` CLI: + +```text +[email] error: gog gmail search failed (exit 1): gmail options: token source: get token for ryan.orban@gmail.com: read token: keyring connection timed out after 10s while reading keyring item (macOS Keychain may be waiting for a permission prompt; run `gog auth list` from a terminal and click "Always Allow" when prompted); set GOG_KEYRING_BACKEND=file and GOG_KEYRING_PASSWORD= to use encrypted file storage instead +``` + +This means the 2026-06-09 ingestion run was only able to report concrete fetched counts for `pinboard`, `papers`, and `github`. The `email` source remained operationally incomplete in this non-interactive environment. + +## Raw log + +```text +$ cd ~/dev/knowledge-intake && source .env && bun run src/cli.ts ingest + +[pinboard] fetched 0 new items +[papers] fetched 0 new items +[github] fetched 100 new items +Ingestion complete: 100 new items +[email] error: gog gmail search failed (exit 1): gmail options: token source: get token for ryan.orban@gmail.com: read token: keyring connection timed out after 10s while reading keyring item (macOS Keychain may be waiting for a permission prompt; run `gog auth list` from a terminal and click "Always Allow" when prompted); set GOG_KEYRING_BACKEND=file and GOG_KEYRING_PASSWORD= to use encrypted file storage instead + +EXIT_CODE=0 +```