bootstrap
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesebootstrap — create the brain
bootstrap — 创建大脑
Interview the operator and create the minimum brain. Do not ask about scope: the building layer is
activated per initiative, not per user.
向操作者提问并创建最小化大脑。无需询问范围:构建层会针对每个任务启动,而非针对单个用户。
Step 0 — install the OS if it is missing
步骤0 — 若系统缺失则安装OS
Everything below assumes the product is hooked into the brain ( resolves). If it does
not — you were installed standalone, e.g. from skills.sh — install it first:
.os/core- Clone to a fixed local folder outside the brain (the operator will need it to update later).
github.com/pedroromeroluna/ai-first-os - Run — idempotent; it hooks the session contract, the resolvers, the subagents and all sixteen skills by symlink.
<clone>/core/install.sh <brain-path> - Continue with the interview below.
If already resolves, skip this step entirely.
.os/core以下所有操作均假设产品已连接至大脑(可解析)。若未连接——例如你是从skills.sh单独安装的——请先执行安装:
.os/core- 将克隆至大脑外部的固定本地文件夹(操作者后续需要此文件夹进行更新)。
github.com/pedroromeroluna/ai-first-os - 运行——此操作具有幂等性;它会通过符号链接关联会话契约、解析器、子Agent以及全部16项技能。
<clone>/core/install.sh <brain-path> - 继续进行下方的提问环节。
若已可解析,请直接跳过此步骤。
.os/coreThe interview
提问环节
Five questions. One at a time, and do not move on until you have the answer.
- What is your name?
- Profile: what you do, what you are on today, what you decide.
- Voice: how you write when you write well — language, register, words you do not use.
- How you want to be answered: what you expect from an agent. Length, order, what annoys you.
- Your organizations: where you work. For the typical case —one person, one employer— that is one. For each one ask what it does and what you do there; the role is written by the system.
Return the answers summarized and wait for approval before writing anything.
共五个问题。每次仅提问一个,得到答案后再继续下一个。
- 你的名字是什么?
- 个人简介:你的工作内容、当前状态、职责权限。
- 语气风格:你写作时的理想风格——语言类型、语体级别、禁用词汇。
- 期望回复方式:你对Agent的回复要求。包括长度、结构、反感点。
- 所属组织:你的工作单位。对于典型情况——一人就职于一家雇主——只需回答一个。针对每个组织,需询问组织业务和你的职位;角色信息将由系统写入。
汇总答案并等待操作者确认后,再进行后续写入操作。
What it writes
写入内容
Build an answers file and run the deterministic part:
.os/core/lib/bootstrap.sh --brain . --answers <file>Format of the answers file, one key per line:
name: <name>
profile: <one item>
voice: <one item>
reply: <one item>
org: <Name> | <role> | <owner> | <identity file>profilevoicereplyorgorgThe result is , , , and one folder per organization.
is the operator's voice — it used to live in a section of , and from now on
it is its own file: one identity, two questions, never the same sentence in both. Nothing else: the
inbox, the root's own work (initiatives, backlog, decisions, learnings) and the environment table
are born with their first piece of data, like any node.
operator.mdvoice.mdresolver.mdtree.mdvoice.mdoperator.mdIt runs once per brain. If the root pieces already exist, the script stops instead of rewriting
them. Adding an organization to a brain that already exists is 's job.
new-org创建答案文件并执行确定性部分:
.os/core/lib/bootstrap.sh --brain . --answers <file>答案文件格式,每行一个键值对:
name: <姓名>
profile: <一项内容>
voice: <一项内容>
reply: <一项内容>
org: <名称> | <角色> | <所有者> | <身份文件>profilevoicereplyorgorg执行后将生成、、、以及每个组织对应的一个文件夹。记录操作者的语气风格——它曾是中的一个章节,现在成为独立文件:一个身份信息,两个问题,两份文件中不会出现相同语句。除此之外:收件箱、根节点自身的工作内容(任务、待办事项、决策、学习记录)以及环境表会在首次加入数据时生成,与其他节点一致。
operator.mdvoice.mdresolver.mdtree.mdvoice.mdoperator.md每个大脑仅执行一次此操作。若根节点文件已存在,脚本将停止运行,不会覆盖重写。向已存在的大脑添加组织是的职责。
new-orgWhen it finishes
完成后操作
- Show the tree created and what each file answers, in outcomes and not in canonical names.
- If the identity cap warning appears, pass it through as is: the operator chooses the way out.
- If the script reports or
sin dato:, pass it through whole and ask again for what is missing. A gap nobody names is a gap nobody fills.sin crear: - Handoff: if the operator wants to add another organization, the add an organization capability is needed. If it is not available, say so and continue.
- 展示创建的路径树,以及每个文件对应的用途,用成果描述而非标准名称。
- 若出现身份上限警告,直接原样告知操作者:由操作者选择解决方式。
- 若脚本提示或
sin dato:,完整传达该信息并再次询问缺失内容。无人提及的缺口将永远无法填补。sin crear: - 交接:若操作者想要添加另一个组织,需使用添加组织功能。若该功能不可用,需告知操作者并继续后续流程。