Skip to content

feat(capture): optional titles — let the AI name captures (Phase 2D)#21

Merged
gurdenbatra merged 1 commit into
mainfrom
phase-2-optional-titles
Jun 13, 2026
Merged

feat(capture): optional titles — let the AI name captures (Phase 2D)#21
gurdenbatra merged 1 commit into
mainfrom
phase-2-optional-titles

Conversation

@gurdenbatra

Copy link
Copy Markdown
Member

Last Phase 2 piece. Pasting a transcript or jotting a thought required typing a title, even though extraction already produces a better one and the backend already backfills empty titles for single-node and document captures.

Changes

  • QuickCaptureForm: submit enables on a title or a description (file mode unchanged). Title relabelled "(optional)" with a hint placeholder ("Leave blank — the AI will name it from your notes").
  • capture/route.ts: the title-required check relaxes to require title OR description OR attachment — only an entirely-empty capture is rejected ("Add a title or some content").
  • capture/process (meeting branch): backfill the parent title from the LLM's meeting_title when none was given. The single-node and document branches already backfilled; this brings the call/transcript path to parity, so untitled call captures still get a name.

Test plan

  • QuickCaptureForm: submit enabled with description-only (title empty); disabled when both empty; existing submit/data tests still green
  • clean tsc → 0 · eslint . → 0 · vitest run → 562 pass

Spec: docs/superpowers/specs/2026-06-12-optional-capture-titles-design.md. Completes Phase 2.

Phase 2, piece D. Capturing a thought or pasting a transcript required typing a
title even though extraction produces a better one and the backend already
backfills empty titles.

- QuickCaptureForm: submit enables on a title OR a description (file mode
  unchanged). Title relabelled "(optional)" with a hint placeholder.
- capture/route: the title-required check relaxes to require title OR
  description OR attachment — only an entirely-empty capture is rejected
  ("Add a title or some content").
- capture/process meeting branch: backfill the parent title from the LLM's
  meeting_title when none was given (single-node + document branches already
  backfill; this brings the call/transcript path to parity).

Tests: QuickCaptureForm now covers description-only submit (title optional) and
both-empty disabled. tsc 0, lint 0, 562 pass.
@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
cof-learning-system Ready Ready Preview, Comment Jun 13, 2026 9:28am

Request Review

@gurdenbatra gurdenbatra merged commit 1952a74 into main Jun 13, 2026
3 checks passed
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