Skip to content

Add knowledge base starter#40

Merged
nkgentile merged 9 commits into
sanity-labs:mainfrom
Ojself:feat-knowledge-base-starter
Jun 22, 2026
Merged

Add knowledge base starter#40
nkgentile merged 9 commits into
sanity-labs:mainfrom
Ojself:feat-knowledge-base-starter

Conversation

@nkgentile

Copy link
Copy Markdown
Contributor

No description provided.

Ojself and others added 9 commits June 3, 2026 10:35
A governed, AI-queryable knowledge base starter built on the Use-Case
Centricity 'Agent Knowledge Base' brief:

- studio/: schema (helpArticle, faq, playbook, policy + taxonomy),
  governance (Needs Review queue, Content Health dashboard), two
  Agent Context configs (external/internal), seed data ('Beacon' SaaS)
- app/: external Next.js help center — browse/filter, hybrid search,
  AI chat via the external Agent Context MCP (server-side token only)
- dashboard/ + dashboard-server/: internal Sanity App SDK tool + a
  Hono chat proxy holding the internal token (App SDK is browser-only)
- functions/: set-review-date (90-day review clock on publish)
- bootstrap automates project setup (private dataset, embeddings,
  tokens, deploy, seed)

Portable Text throughout for clean embeddings. Phases 0-6 of 7;
skill/docs/CI packaging remain.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… tags

Bootstrap's two `sanity tokens add` calls ran from repo root without
--project-id, failing with ProjectRootNotFoundError on a fresh run. Pass
projectId like the deploy steps already do.

Add requestTagPrefix to match the repo convention (PR sanity-labs#36): frontend.knowledge-base
on the app client, and ${prefix}.knowledge-base via unstable_clientFactory in Studio.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… README row

Also fix pre-commit hook to handle root-level dirs without a package.json
(.github) by formatting with the root oxfmt.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ataset

defineLive only uses serverToken for draft fetches; published reads went
through the tokenless base client and silently returned empty on the
private dataset. Token is server-only (non-NEXT_PUBLIC env var).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

@Ojself is attempting to deploy a commit to the Sanity Sandbox Team on Vercel.

A member of the Team first needs to authorize it.

@nkgentile nkgentile had a problem deploying to agentic-localization June 16, 2026 15:59 — with GitHub Actions Error
@nkgentile nkgentile had a problem deploying to agentic-localization June 16, 2026 15:59 — with GitHub Actions Failure
@nkgentile nkgentile temporarily deployed to ai-shopping-assistant June 16, 2026 15:59 — with GitHub Actions Inactive
@nkgentile nkgentile merged commit 7e74daa into sanity-labs:main Jun 22, 2026
4 of 8 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.

2 participants