Skip to content

docs: reframe getting-started around the AI build/verify loop#2666

Merged
os-zhuang merged 2 commits into
mainfrom
docs/ai-dev-getting-started
Jul 6, 2026
Merged

docs: reframe getting-started around the AI build/verify loop#2666
os-zhuang merged 2 commits into
mainfrom
docs/ai-dev-getting-started

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

What & why

The docs said ObjectStack is "AI-native" but the getting-started track still read as "a human hand-writes TypeScript metadata." This PR makes the actual workflow the spine of the docs: an AI agent (Claude Code) authors the typed metadata → a validation gate catches mistakes that fail silently at runtime → the human verifies in the visual Console → iterate → the built app is itself AI-operable over MCP.

Changes

New pages (Get Started)

  • Build with Claude Code — flagship tutorial running the whole loop on a live-built Support Desk app. All commands, generated metadata, and the os validate error are grounded in real local CLI output (not fabricated).
  • How AI Development Works — the "why it's fast and safe" companion (skills+AGENTS.md, os validate, contract-first, draft-gating, worktree isolation).

Reframes

  • Old hand-authoring Quick StartAnatomy of an ObjectStack App (read-the-metadata-to-verify-it). Slug /quick-start kept, so inbound links/SEO survive.
  • Landing + ai/index + cli + examples reframed around the loop; ai/index gets a two-axes signpost (AI builds the app vs the app exposes AI).
  • MCP "your app is AI-operable" thread pulled together: env-var value-prop, a dedicated api/index section + request-path diagram, a deployment pointer.
  • Organize by real development layering — Data / Automation / Interface / Access / AI — instead of the ObjectQL/ObjectOS/ObjectUI protocol trinity (the deep architecture page keeps the trinity as an engine reference, with a mapping note).

Diagrams — added Mermaid (build loop, AI architecture, protocol stack, MCP request path) using the site's existing Mermaid support.

Docs-site chrome — removed the meaningless "Documentation" self-link, fixed the UI Engine sidebar icon (deprecated LayoutLayoutDashboard), hid the single-language switcher.

Verification

Ran the docs site (apps/docs) and checked every changed page in the browser: all pages return 200 with zero MDX/Mermaid compile errors, nav order is correct, new anchors (#your-app-as-an-mcp-server, #mcp-server, #what-you-build) resolve, and all four Mermaid diagrams render as themed SVG. Sidebar chrome fixes verified via DOM inspection + screenshot.

🤖 Generated with Claude Code

os-zhuang and others added 2 commits July 7, 2026 06:04
feat(studio): per-object API / Hooks / Actions tabs + Data-pillar polish (#2330)

objectui@c27bd3264f394bec5f5f71326118bfb115fbe884
Center the docs on the actual ObjectStack workflow: an AI agent (Claude Code)
authors typed metadata, a validation gate catches silent-at-runtime mistakes,
the human verifies in the visual Console, and the built app is itself AI-operable
over MCP.

- New flagship tutorial "Build with Claude Code" — the whole loop on a
  live-built Support Desk app, grounded in real `os` CLI output.
- New concept page "How AI Development Works" — why the loop is fast and safe
  (skills+AGENTS.md, os validate, contract-first, draft-gating, worktree).
- Repurpose the old hand-authoring Quick Start into "Anatomy of an ObjectStack
  App" (read-to-verify); keep the /quick-start slug so inbound links survive.
- Front-load the "your app is an MCP server" story: env-var value-prop, a
  dedicated api/index section + request-path diagram, deployment pointer.
- Reframe by real development layering (Data / Automation / Interface / Access /
  AI) instead of the ObjectQL/ObjectOS/ObjectUI protocol trinity.
- Add Mermaid diagrams (build loop, AI architecture, protocol stack, MCP request
  path) using the site's existing Mermaid support.
- Docs-site chrome: drop the meaningless "Documentation" self-link, fix the UI
  Engine icon (deprecated `Layout` -> `LayoutDashboard`), hide the
  single-language switcher.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 6, 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 Jul 6, 2026 11:09pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/l labels Jul 6, 2026
@os-zhuang
os-zhuang merged commit 5bb7a65 into main Jul 6, 2026
15 checks passed
@os-zhuang
os-zhuang deleted the docs/ai-dev-getting-started branch July 6, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant