From 382e42d888fd29e5da2dc069cb4a6f655d8b6532 Mon Sep 17 00:00:00 2001 From: Ryan Orban Date: Mon, 11 May 2026 02:10:53 -0700 Subject: [PATCH] add knowledge-ingest run report 2026-05-11 Per-source counts: pinboard 2, papers 0, github 100, email error (keychain). Total: 102 new items. Nightshift-Task: knowledge-ingest Nightshift-Ref: https://github.com/marcus/nightshift --- reports/knowledge-ingest/2026-05-11.md | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 reports/knowledge-ingest/2026-05-11.md diff --git a/reports/knowledge-ingest/2026-05-11.md b/reports/knowledge-ingest/2026-05-11.md new file mode 100644 index 0000000..f9fd842 --- /dev/null +++ b/reports/knowledge-ingest/2026-05-11.md @@ -0,0 +1,39 @@ +# Knowledge Ingest Report — 2026-05-11 + +Run of `bun run src/cli.ts ingest` against `~/dev/knowledge-intake`. + +## Per-source counts + +| Source | New items | Status | +|----------|-----------|--------| +| pinboard | 2 | ok | +| papers | 0 | ok | +| github | 100 | ok | +| email | — | error (see below) | + +**Total new items ingested: 102** + +## Run metadata + +- Command: `cd ~/dev/knowledge-intake && source .env && bun run src/cli.ts ingest` +- Exit code: 0 +- Duration: ~25s +- Started (UTC): 2026-05-11T09:05:36Z +- Log: `/tmp/knowledge-ingest-20260511T090536Z.log` (on the runner host) + +## Raw CLI output + +``` +[pinboard] fetched 2 new items +[papers] fetched 0 new items +[github] fetched 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 + +Ingestion complete: 102 new items +``` + +## Notes + +- The `email` (Gmail) adapter failed because `gog` couldn't read its OAuth token from the macOS Keychain — the Keychain prompt requires interactive approval that an autonomous session can't satisfy. Fix per the CLI hint: run `gog auth list` in a regular terminal and click "Always Allow", or switch to the file-backed keyring by setting `GOG_KEYRING_BACKEND=file` and `GOG_KEYRING_PASSWORD=…` in `~/dev/knowledge-intake/.env`. +- The CLI exited 0 despite the email error because each adapter is wrapped in try/catch in `src/cli.ts:runIngest` — errors are logged but don't fail the run. +- `github` hit the round number 100, which is the default page size for the GitHub stars API. If recent stars exceed that, the next ingest will pick up the remainder.