Skip to content

Cite every line of meeting notes and check decisions against the transcript. - #105

Merged
dillonstreator merged 1 commit into
mainfrom
claude/session-summary-citations-c18cbf
Dec 2, 2026
Merged

dillonstreator merged 1 commit into
mainfrom
claude/session-summary-citations-c18cbf

Conversation

@dillonstreator

Copy link
Copy Markdown
Member

What changed

  • Citations: each summary sentence, decision, action item and open question ends with a [m:ss] time (plain text in the .txt/.md). The summary card renders it as a link that reveals and flashes that transcript line (switching to the Transcript tab on a narrow window). The search index strips the times from action items.
  • Quote-checked lists: decisions and open questions now carry a quote like action items. An item is kept only if its quote matches one to three consecutive transcript lines (60% of its words), which drops made-up items and gives the citation. Summary sentences are cited by IDF-weighted word overlap with sections (long meetings) or lines (short ones).
  • Prompts: decisions state what was settled (not "X discussed/suggested"); summaries say what was concluded; titles drop filler; prompt examples are made up and unlike real meetings.
  • Code filters for what a small model ignores: copied prompt examples, "discussed/suggested/considered" decisions, "None"-style items, talk-only tasks ("Discuss…", "Understand…"), and open questions past three per part.
  • NOTES_PIPELINE → 3 so Settings offers to rewrite older notes.

Why

A real 3h20m session's notes were poor: a decision copied verbatim from the prompt ("let's ship it Monday"), "X and Y discussed…" as decisions, vague tasks ("Get the info"), "No open questions are raised" as a question. Replaying that transcript through the pipeline on local models via Ollama:

old prompts new prompts
Qwen 2.5 3B (built in) copied examples, topic-only decisions, vague tasks still copies and invents quotes; the new checks drop many
Qwen 2.5 7B zero decisions, topic-list summary concluded summary with citations, 16 mostly real decisions, concrete tasks

So the prompts were a large part of the problem, and the built-in 3B is the ceiling on what's left.

How it was verified

  • pnpm check: typecheck, lint, 670 unit tests (new: quoteAt, citeSentences, list filters, open-question cap, notesCites, actionItemsOf).
  • pnpm smoke:ui: ui-smoke: ok.
  • pnpm screenshot --review: the summary card renders the citation links in light and dark. Clicking a link wasn't exercised in a live app.
  • Side-by-side replay of the real session on 3B and 7B, old vs new prompts (above). The 3B and 9B reruns with the final filters couldn't complete because Ollama got stuck on an aborted 14B load.

…script.

- Each summary sentence, decision, action item and open question ends with a [m:ss] time; the summary card links it to that line in the transcript.
- Decisions and open questions quote what was said, like action items; a quote must match one to three lines in a row, which drops made-up items and locates the citation.
- Prompts ask for what was settled rather than "X discussed", with made-up examples; code drops copied examples, "discussed/suggested" decisions, "None" items, talk-only tasks, and open questions past three per part.
- NOTES_PIPELINE 3, so Settings offers to rewrite older notes.
@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lyra Ready Ready Preview Dec 2, 2026 2:00am UTC

@dillonstreator
dillonstreator merged commit 24cc665 into main Dec 2, 2026
13 checks passed
@dillonstreator
dillonstreator deleted the claude/session-summary-citations-c18cbf branch December 2, 2026 02:49
@angelrdavila angelrdavila mentioned this pull request Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant