# v1.4.0 写作工作流快速使用

本页给外部使用者看，优先说明最短可用路径。AIOS 用于生成和改写工程文档初稿，并辅助复核资料链，不替代投标负责人、技术负责人、总工、专家、法务或审批主体。

## 1. 安装到 WorkBuddy

```bash
npx @archsight/aios@latest install --target workbuddy --scope user
```

安装后，WorkBuddy 会读取个人 Skills 目录中的 AIOS 技能包。

## 2. 创建写作工作台

在你的项目资料目录执行：

```bash
npx @archsight/aios@latest writing:init --type tender --name document-writing
```

专项施工方案场景：

```bash
npx @archsight/aios@latest writing:init --type scheme --name document-writing
```

想先看样板：

```bash
npx @archsight/aios@latest writing:init --type tender --sample --name tender-sample
npx @archsight/aios@latest writing:init --type scheme --sample --name scheme-sample
```

## 3. 放入资料

按顺序填写：

- `source-normalized.md`：脱敏后的招标文件、方案初稿、专家意见、评分办法、图纸目录、计算书目录等。
- `material-index.md`：历史标书或历史方案素材，并标注可复用、仅参考、不可套用或需人工确认。
- `writing-brief.md`：本次要写什么章节、输出格式、禁止结论和人工复核岗位。

## 4. 触发写作 Skill

标书 / 技术标：

```text
$aios-tender-write 请基于 document-writing 工作台生成或改写 draft.md，并保留待补资料和审核门禁。
```

专项施工方案：

```text
$aios-scheme-write 请基于 document-writing 工作台生成或改写 draft.md，并保留危险源、计算书待补项和审核门禁。
```

## 5. 触发审核门禁

标书 / 技术标生成后：

```text
$aios-tender-audit 请复核 draft.md 的评分点响应、资料缺口、历史素材误套、废标风险和人工复核岗位。
```

专项施工方案生成后：

```text
$aios-scheme-audit 请复核 draft.md 的危险源、规范依据、计算书缺口、专家意见回查和交底要点。
```

## 6. 检查工作台完整性

```bash
npx @archsight/aios@latest writing:validate --name document-writing
```

该命令只检查文件链和关键边界是否存在，不判断内容专业正确。

## 不能直接交付的事项

- AI 生成稿不能直接作为正式标书、正式方案或盖章文件。
- 缺少资料时必须保留 `待补`、`需核验` 或 `转人工复核`。
- 不输出中标概率、评标结论、最终投标决策。
- 不输出方案合格、计算正确、专家论证通过、审批通过。
