Skip to content

Feat/desktop starter templates#272

Merged
robdmac merged 2 commits into
mainfrom
feat/desktop-starter-templates
Jul 17, 2026
Merged

Feat/desktop starter templates#272
robdmac merged 2 commits into
mainfrom
feat/desktop-starter-templates

Conversation

@robdmac

@robdmac robdmac commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

No description provided.

robdmac and others added 2 commits July 18, 2026 00:13
Desktop starts with an empty DB, so the dashboard picker fell back to hardcoded
placeholder cards that all created a blank dashboard (templates are otherwise a
cloud-only, user-submitted feature). Seed three real starter templates —
Agentic Coding (Claude Code terminal + intro note), Automation (shell + note),
Documentation (note + todo) — from /init-db.

Gated to desktop (SURFACE_TOKEN is set only by the desktop app) and seeded once
per DB via a schema_migrations marker, so it's a no-op on cloud and a user who
deletes them isn't re-seeded. Verified live: GET /templates returns the three and
creating a dashboard from one populates the real blocks (not blank).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014t8Ukp4NPWtqJ55X261wMZ
Replace the hand-made starter templates with verbatim copies of the curated prod
templates — Council of Experts, Code and Review, Agents Chess — pulled from the
production D1. Their blocks/edges/viewport live in starter-templates.json;
seedStarterTemplates now inserts from it (bumped to the v2 marker, which also
drops the old hand-made starter ids so an already-seeded desktop DB is upgraded).

Verified live: /init-db seeds the three; creating a dashboard from Council of
Experts populates the real prompt→multi-LLM layout with edges + viewport.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014t8Ukp4NPWtqJ55X261wMZ
@robdmac
robdmac merged commit a87c266 into main Jul 17, 2026
1 check passed
@robdmac
robdmac deleted the feat/desktop-starter-templates branch July 17, 2026 23:42
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