Skip to content

feat: positronick blog read commands (list/show) - #33

Merged
nsollazzo merged 1 commit into
mainfrom
feat/blog-read-commands
Jul 8, 2026
Merged

feat: positronick blog read commands (list/show)#33
nsollazzo merged 1 commit into
mainfrom
feat/blog-read-commands

Conversation

@nsollazzo

Copy link
Copy Markdown
Contributor

Adds the public, read-only positronick blog command group — blog list (newest first, optional --kind article/release/link) and blog show <slug> (--raw prints the markdown body verbatim; did-you-mean hints, exit 3, on a missing slug). Read-only and unauthenticated, mirroring the soul/listing reads. Backed by the public GET /api/blog, /api/blog/{slug}, and /api/blog/{slug}.md endpoints.

Rebased onto main; supersedes #26 (auto-closed when its stacked base branch was deleted after merge).

Public, read-only blog reader over the product blog endpoints, mirroring
the soul/listing reads and the `research` feed:

- api: PostCard/Post wire types (mirror PostMeta/Post in src/lib/types.ts);
  Posts(kind)/Post(slug)/PostMarkdown(slug) over GET /api/blog,
  /api/blog/{slug}, and /api/blog/{slug}.md.
- cli: `blog list` (--kind) and `blog show <slug>` (--raw), with did-you-mean
  hints (exit 3) on a missing slug. --raw reads the .md endpoint, which —
  unlike soul .md — never bumps a counter.
- mockapi: serves the three endpoints over a frozen Posts fixture.
- goldens: blog-list/blog-show (.json/.txt) + regenerated agent-docs.

Reuses PostKinds from the research branch (#24); stacked on it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@nsollazzo
nsollazzo merged commit e17705b into main Jul 8, 2026
9 checks passed
@nsollazzo
nsollazzo deleted the feat/blog-read-commands branch July 8, 2026 13:57
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