Skip to content

Commit 4c775ad

Browse files
committed
docs(i18n): add agent team playbook and enforce EN-first parity
1 parent 54d175b commit 4c775ad

17 files changed

Lines changed: 323 additions & 0 deletions

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
run: |
2424
python3 -m unittest \
2525
scripts.tests.test_ci_workflows \
26+
scripts.tests.test_check_i18n_parity \
2627
scripts.tests.test_check_openharness_upstream \
2728
scripts.tests.test_verify_version_changelog \
2829
scripts.tests.test_verify_release_consistency \

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ LoopForge is a **personal AI engineer** for software delivery: long-running wor
1515
- Docs site: https://os.rexai.top
1616
- (If the custom domain isn’t configured yet) GitHub Pages: https://rexleimo.github.io/LoopForge/
1717
- 5-minute outcomes: `docs-site/tutorials/five-minute-outcomes.md`
18+
- Agent Team playbook: `docs-site/how-to/agent-team-playbook.md`
1819
- Positioning: `docs-site/explanation/why-loopforge.md`
1920
- Runtime architecture: `docs-site/explanation/runtime-architecture.md`
2021
- Internal maintainer map: `docs/internal/runtime-module-map.md`
@@ -74,6 +75,17 @@ After onboarding, LoopForge writes:
7475
- `loopforge-onboard-demo/.loopforge/onboard-report.json`
7576
- `loopforge-onboard-demo/.loopforge/onboard-report.md`
7677

78+
## Agent Team mode (recommended for teams)
79+
80+
Treat LoopForge as a compact agent team with clear ownership:
81+
82+
- Planner agent: breaks down scope, risks, and acceptance criteria into `notes/plan.md`
83+
- Builder agent: ships implementation and runs verification gates
84+
- Reviewer agent: runs findings-first review and writes `notes/review.md`
85+
- Release agent: runs `loopforge release check` and prepares cap/release actions
86+
87+
Playbook: `docs-site/how-to/agent-team-playbook.md`
88+
7789
## Run with Ollama (OpenAI-compatible)
7890

7991
LoopForge defaults to `ollama` at `http://127.0.0.1:11434/v1` in `~/.loopforge/config.toml`.

README.zh-CN.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ LoopForge是一个面向软件交付的 **个人研发助理(Personal AI Engin
1515
- 文档站点:https://os.rexai.top
1616
- (如自定义域名未配置)GitHub Pages:https://rexleimo.github.io/LoopForge/
1717
- 5 分钟可见结果:`docs-site/tutorials/five-minute-outcomes.md`
18+
- Agent Team 作战手册:`docs-site/how-to/agent-team-playbook.md`
1819
- 产品定位说明:`docs-site/explanation/why-loopforge.md`
1920
- 运行时架构说明:`docs-site/explanation/runtime-architecture.md`
2021
- 仓库内部维护者地图:`docs/internal/runtime-module-map.md`
@@ -66,6 +67,17 @@ loopforge agent run --workspace /tmp/loopforge-work --prompt "Create hello.txt w
6667
可选的 Ollama smoke test:`LOOPFORGE_OLLAMA_MODEL=<your-model> cargo test --workspace --test ollama_smoke -- --ignored`
6768
可选的 NVIDIA NIM smoke test:`NVIDIA_API_KEY=<key> cargo test --workspace --test nvidia_nim_smoke -- --ignored`
6869

70+
## Agent Team 模式(团队推荐)
71+
72+
把 LoopForge 当作一个“小型 Agent Team”来用,并明确分工:
73+
74+
- Planner Agent:拆解范围、风险和验收标准,沉淀到 `notes/plan.md`
75+
- Builder Agent:完成实现并执行验证门禁
76+
- Reviewer Agent:做 findings-first 评审,输出 `notes/review.md`
77+
- Release Agent:执行 `loopforge release check`,准备 cap/发版动作
78+
79+
操作手册:`docs-site/how-to/agent-team-playbook.md`
80+
6981
## 发版(维护者)
7082

7183
推送一个 `v*` tag 仍然会触发 Release 工作流,构建并把预编译压缩包上传到 GitHub Release。
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Agent Team Playbook
2+
3+
LoopForge is most effective when you run it as an **agent team**, not a single long chat thread.
4+
5+
This page gives you a practical team operating model you can demo and reuse.
6+
7+
## Team Topology
8+
9+
| Role | Primary output | Suggested artifact |
10+
|---|---|---|
11+
| Planner Agent | Scope, milestones, risk map | `notes/plan.md` |
12+
| Builder Agent | Verified implementation | code diff + test output |
13+
| Reviewer Agent | Findings-first review | `notes/review.md` |
14+
| Release Agent | Release readiness + publish gate | `notes/release-check.md` |
15+
16+
## Operating Loop
17+
18+
1. Intake and planning
19+
- Capture objective, constraints, and acceptance criteria.
20+
- Run one planning task and write `notes/plan.md`.
21+
2. Execution
22+
- Build in small slices and checkpoint each verified slice.
23+
- Keep one artifact per slice (report, checklist, or fix memo).
24+
3. Review
25+
- Run findings-first review before merge/release.
26+
- Record severity, impacted files, and decision.
27+
4. Release gate
28+
- Run `loopforge release check --tag vX.Y.Z`.
29+
- Ensure version/changelog/CI gates are green before publish.
30+
31+
## Command Baseline
32+
33+
```bash
34+
# bootstrap
35+
loopforge onboard --workspace loopforge-team-demo --starter workspace-brief
36+
37+
# builder execution
38+
loopforge agent run --workspace loopforge-team-demo --prompt "Implement task from notes/plan.md"
39+
40+
# release gate
41+
loopforge release check --tag v1.3.0
42+
```
43+
44+
## Copy/Paste Role Prompts
45+
46+
- Planner: "Create a 5-step implementation plan with risks and verification commands. Write `notes/plan.md`."
47+
- Builder: "Execute step 1 from `notes/plan.md`, keep behavior unchanged, and output a short verification report."
48+
- Reviewer: "Review current diff with findings first (severity + file/line), then list residual risks."
49+
- Release: "Run release readiness checks and write `notes/release-check.md` with pass/fail per gate."
50+
51+
## What To Show In Team Demos
52+
53+
- Time to first verified artifact
54+
- Verification pass rate per slice
55+
- Release-check pass/fail trend
56+
57+
If those three metrics improve, your agent team is getting stronger in the right way.
58+
59+
## Next Links
60+
61+
- [Harness long task workflow](../tutorials/harness-long-task.md)
62+
- [Case task library](../examples/case-tasks/index.md)
63+
- [Release readiness audit task](../examples/case-tasks/release-readiness-audit.md)

docs-site/how-to/use-cases.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ If you want a quick path, start here:
1616
- [Setup Sanity Check](../examples/sanity-check.md)
1717
- [Case Tasks (Copy/Paste)](../examples/case-tasks/index.md)
1818
- [Harness Recipes (Checkpoints)](../examples/harness-recipes.md)
19+
- [Agent Team Playbook](agent-team-playbook.md)
1920
- [Mechanical Edits](../examples/mechanical-edits.md)
2021
- [Routing Recipes](../examples/routing-recipes.md)
2122
- [Daemon Health Check](../examples/daemon-health.md)

docs-site/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ These files tell you what passed, what failed, and what to do next.
6363
Keep a clear trail: change -> verify -> checkpoint.
6464
[Harness workflow](tutorials/harness-long-task.md)
6565

66+
- :material-account-group: **Agent Team Playbook**
67+
Organize Planner / Builder / Reviewer / Release roles with one artifact trail.
68+
[Open playbook](how-to/agent-team-playbook.md)
69+
6670
- :material-sitemap: **Runtime Architecture**
6771
Understand how CLI, runtime, tools, memory, and audits fit together.
6872
[Open architecture guide](explanation/runtime-architecture.md)
@@ -81,5 +85,6 @@ These files tell you what passed, what failed, and what to do next.
8185
- [Starter tasks](tutorials/first-day-starter-tasks.md)
8286
- [Onboarding troubleshooting](how-to/onboarding-troubleshooting.md)
8387
- [5-minute outcomes](tutorials/five-minute-outcomes.md)
88+
- [Agent Team playbook](how-to/agent-team-playbook.md)
8489
- [Case task library](examples/case-tasks/index.md)
8590
- [Runtime architecture](explanation/runtime-architecture.md)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# 为什么你的 AI 助手记不住上下文?Agent 记忆设计指南
2+
3+
> 本页按 EN 源文档同步维护。当前内容请先阅读英文目录中的同名页面(内容一致,后续以 EN 基线持续补齐多语言版本)。
4+
5+
- 英文源页面:[`docs-site/blog/agent-memory-design.md`](../../blog/agent-memory-design.md)
6+
7+
如果你正在评估 LoopForge 的记忆体系,建议配合阅读:
8+
9+
- [概念与记忆模型](../explanation/concepts.md)
10+
- [Harness 长任务执行](../tutorials/harness-long-task.md)

docs-site/zh-CN/blog/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
## 最新文章
66

77
- [LoopForge v1.0.0 发布说明](loopforge-v1-0-0-release-notes.md)
8+
- [5分钟学会 MCP:让 AI Agent 真正掌控你的开发环境](mcp-integration-guide.md)
9+
- [为什么你的 AI 助手记不住上下文?Agent 记忆设计指南](agent-memory-design.md)
10+
- [让 AI 放心执行代码:隔离执行环境的最佳实践](safe-code-execution.md)
811
- [LoopForge:不是泛助手,而是个人研发助理](personal-ai-engineer.md)
912
- [什么是 LoopForge?](what-is-loopforge.md)
1013

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# 5分钟学会 MCP:让 AI Agent 真正掌控你的开发环境
2+
3+
> 本页按 EN 源文档同步维护。当前内容请先阅读英文目录中的同名页面(内容一致,后续以 EN 基线持续补齐多语言版本)。
4+
5+
- 英文源页面:[`docs-site/blog/mcp-integration-guide.md`](../../blog/mcp-integration-guide.md)
6+
7+
配套建议阅读:
8+
9+
- [Quickstart(Ollama)](../tutorials/quickstart-ollama.md)
10+
- [MCP 诊断命令参考](../reference/cli.md)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# 让 AI 放心执行代码:隔离执行环境的最佳实践
2+
3+
> 本页按 EN 源文档同步维护。当前内容请先阅读英文目录中的同名页面(内容一致,后续以 EN 基线持续补齐多语言版本)。
4+
5+
- 英文源页面:[`docs-site/blog/safe-code-execution.md`](../../blog/safe-code-execution.md)
6+
7+
配套建议阅读:
8+
9+
- [安全与沙盒](../explanation/security.md)
10+
- [工具参考](../reference/tools.md)

0 commit comments

Comments
 (0)