Skip to content

docs(readme): rewrite around the AI-writes-it narrative#3121

Merged
os-zhuang merged 1 commit into
mainfrom
docs/readme-rewrite
Jul 17, 2026
Merged

docs(readme): rewrite around the AI-writes-it narrative#3121
os-zhuang merged 1 commit into
mainfrom
docs/readme-rewrite

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

背景

用户反馈:"目前开源项目的 docs、readme 我觉得写的很多不是重点"。README 开头是类目词("A metadata protocol and TypeScript toolkit"),前 100 行讲架构分层与协议理论——都不是访客来这里要看的东西。本 PR 按已定稿的叙事(landing v2 / #3090)重写。

新结构(与首页同构)

  1. Hero:"AI writes the app. ObjectStack is what it writes." + 防错链一拍 + proof strip
  2. The loop:① 创建项目(脚手架装 skills + AGENTS.md,agent 开局就带协议规则)② 描述需求给 Claude Code(附真实 prompt 示例)③ npx os dev --ui 浏览器预览;需求变更同一循环
  3. What can it actually build?:12 项元数据能力表 + 差异点论证(agent 对着空仓库写 = 一次性代码库;这里 = 从运行时已认识的词汇表里组合)+ 一段真实 object 示例
  4. Why the mistakes don't ship:四道闸表 + 为什么 TypeScript 是对的宿主语言(agent 的错误变成它自己能读能修的定位化文本)+ context window 论证
  5. Your app is AI-operable, for free:MCP 三行接入
  6. This repo / 架构 / ObjectOS 互链:压到尾部

参考性章节(Package Directory / CLI / Monorepo Scripts)原样保留。

顺带

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jul 17, 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 17, 2026 1:53pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/m and removed documentation Improvements or additions to documentation labels Jul 17, 2026
xuyushun441-sys pushed a commit that referenced this pull request Jul 17, 2026
…g the ratchet

#3113's lifecycle walkthrough re-stated a warning the page already makes
better 80 lines up (§3 The approval node: position vs the membership tier,
including the `os lint` rule that flags it). The duplicate pushed the
reserved-word count (ADR-0090 D3) from 5 to 9, so check-role-word failed
on every PR cut from main since — #3121 tripped over it.

Removing the duplicate and pointing at the original brings the count back
to exactly the baselined 5: **no baseline change needed**. The walkthrough
keeps a one-line pointer that names the approver kinds and links to the
existing callout, which is what a reader needs at that point anyway.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
os-zhuang added a commit that referenced this pull request Jul 17, 2026
…g the ratchet (#3130)

#3113's lifecycle walkthrough re-stated a warning the page already makes
better 80 lines up (§3 The approval node: position vs the membership tier,
including the `os lint` rule that flags it). The duplicate pushed the
reserved-word count (ADR-0090 D3) from 5 to 9, so check-role-word failed
on every PR cut from main since — #3121 tripped over it.

Removing the duplicate and pointing at the original brings the count back
to exactly the baselined 5: **no baseline change needed**. The walkthrough
keeps a one-line pointer that names the approver kinds and links to the
existing callout, which is what a reader needs at that point anyway.

Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
The README opened with a category label ("A metadata protocol and
TypeScript toolkit") and spent its first 100 lines on architecture layers
and protocol theory — none of it the point a visitor is here for. It now
mirrors the landing page (objectstack.ai, #3090) and tells the story the
project is actually about:

- hero: "AI writes the app. ObjectStack is what it writes." + the
  correctness chain (typed → validated → reviewed → governed)
- The loop: create → describe to Claude Code → preview in the browser;
  requirement changes run the same loop
- What can it actually build? — the 12 metadata capabilities, framed
  against the alternative (an agent on an empty repo writes a one-off
  codebase; here it composes from a vocabulary the runtime already runs)
- Why the mistakes don't ship — the four gates, why TypeScript was the
  right host language (errors become corrective text the agent fixes
  itself), and the context-window argument
- Your app is AI-operable, for free — MCP in three lines
- This repo / architecture / ObjectOS cross-link, compressed to the tail

Reference sections (packages, CLI, scripts) are kept as-is. Drops the
stale v4.0.1 version badge (CLI is 15.x — the badge had drifted three
majors). Quick Start's duplicate scaffold snippet folds into the loop.

Also fixes a third missing-braces decision expression in flows.mdx:155
(same class as the two fixed in #3113 — without braces the comparison
degrades to a string compare that never matches as intended).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 17, 2026
@os-zhuang
os-zhuang merged commit a702efc into main Jul 17, 2026
14 of 15 checks passed
@os-zhuang
os-zhuang deleted the docs/readme-rewrite branch July 17, 2026 12:43
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/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant