Emacs llm-log-corpus-mode: bounded corpus browser, session/task views and org-roam report export #95

Open
opened 2026-09-20 01:19:24 +00:00 by nsaspy · 0 comments
Owner

Parent: corpus workbench epic.

Goal

Ship a first-class Emacs major mode for the entire llm-log corpus without opening/parsing events.jsonl directly.

UX

Provide llm-log-corpus-mode backed by the bounded localhost query API/CLI:

  • tabulated session/task/request list
  • filter by time/provider/model/client/classification/outcome/cost state
  • drill session -> tasks -> requests -> exact event
  • lazy body/evidence fetch on selection
  • cost/token summaries
  • retry/attempt chain view
  • refresh and cursor pagination
  • jump to raw evidence metadata without loading the corpus file

Use ordinary Emacs buffers and standard navigation; work under Doom and non-Doom configs.

Org / org-roam export

Export a selected query/session/task/report to Org with:

  • stable IDs/properties
  • query parameters + timestamp
  • token/cost totals and unknown states
  • classification/outcome summaries
  • links/references to event/task/session IDs
  • provenance/manifests

If org-roam is available, create/update a normal org-roam node under a configurable directory; do not make org-roam the canonical datastore.

Acceptance

Opening the mode against a large corpus fetches only the first bounded page. ERT tests prove no direct 50GB file read occurs.

Parent: corpus workbench epic. ## Goal Ship a first-class Emacs major mode for the entire llm-log corpus without opening/parsing events.jsonl directly. ## UX Provide `llm-log-corpus-mode` backed by the bounded localhost query API/CLI: - tabulated session/task/request list - filter by time/provider/model/client/classification/outcome/cost state - drill session -> tasks -> requests -> exact event - lazy body/evidence fetch on selection - cost/token summaries - retry/attempt chain view - refresh and cursor pagination - jump to raw evidence metadata without loading the corpus file Use ordinary Emacs buffers and standard navigation; work under Doom and non-Doom configs. ## Org / org-roam export Export a selected query/session/task/report to Org with: - stable IDs/properties - query parameters + timestamp - token/cost totals and unknown states - classification/outcome summaries - links/references to event/task/session IDs - provenance/manifests If org-roam is available, create/update a normal org-roam node under a configurable directory; do not make org-roam the canonical datastore. ## Acceptance Opening the mode against a large corpus fetches only the first bounded page. ERT tests prove no direct 50GB file read occurs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/llm-log#95
No description provided.