feat(cli): blueprints — dawn add for served integration guides (item 1)#275
Conversation
Flat dawn add <name> addressing (research-backed: 6/7 analogous systems drop kind from the address), directory=category, served-from-dawnai.org markdown guides applied by a coding agent. v1 = mechanism + 4 exemplars. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…aceholder) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…reload guidance new Resource(...) was removed in @opentelemetry/resources 2.x (the version the guide installs); use resourceFromAttributes. Correct the stated versions and the --import path for a TypeScript otel.ts. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # apps/web/content/docs/cli.mdx
|
Claude finished @blove's task in 2m 59s —— View job PR Review: feat(cli): blueprints — dawn add for served integration guides
SummaryThe architecture is clean and well-structured: the shared loader in Four issues worth addressing before merge, all in
Three missing test cases are also flagged on Everything else looks good: the web routes are correct, |
…ts from repo root) loadBlueprints/getBlueprint/validateBlueprints defaulted to process.cwd()/ content/blueprints, which is empty when the workspace test runner runs the web project from the repo root — fall back to a module-relative path. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Claude finished @blove's task in 2m 35s —— View job PR Review: feat(cli): blueprints — dawn add for served integration guides
SummaryThe new commit ( All four issues flagged in the 2026-06-25 review remain open in
Note on issue #2: the Three test gaps from the prior review also remain (non-200/non-404 path, non-array catalog JSON, |
…h timeout Addresses code-review findings: reject path-y blueprint names, validate the catalog JSON is a well-shaped array, and abort fetches after 15s. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Claude finished @blove's task in 1m 53s —— View job PR Review: feat(cli): blueprints — dawn add for served integration guides
SummaryThe latest commit ( Resolved since last review:
Still open (low severity):
The remaining issues are all low severity — the third-party frontmatter inconsistency is the most visible one. Everything else (web routes, blueprint content, catalog structure, loader logic) looks correct. |
Summary
Adds flue's highest-leverage distribution idea to Dawn: integration blueprints — Markdown guides served from
dawnai.orgthat a coding agent applies to a user's project. Ships the mechanism + four exemplars.dawn add <name>fetchesdawnai.org/blueprints/<name>.mdand prints the guide for your coding agent to apply (dawn addlists the catalog;dawn add <url>applies a third-party guide). Override the host withDAWN_BLUEPRINTS_URL.kindfrom the address): identity = filename, category = directory, never in the address/URL.apps/web/lib/blueprints.ts,gray-matter) feeds two routes (/blueprints/[name].md+/blueprints/index.json) and a catalog-integrity test.retrieval/pgvector+retrieval/pinecone(tools),observability/opentelemetry(instrumentation),deploy/docker(artifact). Each carries a// dawn-blueprint: <name>@1marker for a futuredawn update.blueprints.mdxpage (auto-ships in the bundled CLI docs) +cli.mdxentries (also fills adawn docsdoc gap from feat(cli): bundle version-matched docs + SKILL.md, add 'dawn docs' (item 2) #263).Design:
docs/superpowers/specs/2026-06-24-blueprints-design.md· Plan:docs/superpowers/plans/2026-06-24-blueprints.mdTest Plan
pnpm --filter web exec vitest run app/blueprints(11) — loader, routes, catalog integrity over the real fourpnpm --filter @dawn-ai/cli exec vitest run test/add-command.test.ts(5)pnpm build/typecheck/lintclean; changeset gate passesresourceFromAttributesAPIDAWN_BLUEPRINTS_URL=<preview> dawn add+dawn add pgvectoragainst a deploy preview🤖 Generated with Claude Code