Skip to content

fix(examples): ADR-0079 — app-todo uses nameField, not retired titleFormat#2465

Merged
os-zhuang merged 1 commit into
mainfrom
claude/adr-0079-examples-todo
Jun 29, 2026
Merged

fix(examples): ADR-0079 — app-todo uses nameField, not retired titleFormat#2465
os-zhuang merged 1 commit into
mainfrom
claude/adr-0079-examples-todo

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Last titleFormat user in framework examples. Migrates examples/app-todo task object from the retired render-only titleFormat: tmpl\{{record.subject}}`to the canonicalnameField: 'subject', and drops the now-unused tmpl` import.

With autoprov (#2458) designating a derived nameField at registry, a leftover titleFormat is shadowed — so the example would otherwise silently stop demonstrating the intended title. tsc clean. Follows #2434/#2458/#2463.

…itleFormat

The app-todo example modeled the retired `titleFormat` pattern. With
autoprov (provisionPrimary at registry) now designating a derived
nameField, a render-only titleFormat is at best advisory and at worst
shadowed. Migrate to the canonical `nameField: 'subject'` so the example
demonstrates ADR-0079 best practice and the record-title gate stays
clean. Drops the now-unused `tmpl` import.
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 29, 2026 3:25pm

Request Review

@os-zhuang
os-zhuang merged commit 6b5779d into main Jun 29, 2026
15 checks passed
@os-zhuang
os-zhuang deleted the claude/adr-0079-examples-todo branch June 29, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant