plus tests proportional to risk.
5. Review the diff for regressions, generated files, secrets, and unrelated edits.
6. Record durable knowledge in code, tests, or docs; do not leave
dispatched as `OpencodeEvent: ` User autocmds. OpenCode v2 events are shaped `{ id, type, data }`.
- **Edit review**: opens diff in new tab via `:diffpatch`, keymaps `da`/`dr` to accept/reject
given file or shared worktree at
a time. Parallel agents investigate, test, or review in isolation unless
explicit file ownership or separate worktrees are assigned.
- **Completion:** the lead integrates
expect(true).toBe(true)` is forbidden.
### Correctness Review Checklist
Before committing, verify these for every changed file:
1. **Ownership** — Does this code close/release/shutdown only resources it created?
2. **Terminal paths
recovered)?
>
> - Yes -> it must live in `packages/agent/host` (tuttid and tsh write only
> delegate/adapter code).
> - No (transport, DTO, query, presentation, product policy) -> adapter.
> - Unsure -> answer in the PR description: "Does
tutti` or `__tsh`, and product bridge methods out of `browser/*`
- do not move code into `packages/` until there is a real multi-consumer boundary
- treat a public npm package
dashes)
- Prefer file-scoped changes over project-wide modifications when possible
- Always review your own code for consistency, maintainability, and testability
- Always ask for clarifications if the request is ambiguous
when working with code in this repository.
## 项目概述
Codeg(Code Generation)是一个多智能体编码工作台,它将多个智能体(Claude Code、Codex CLI、OpenCode、Gemini CLI、OpenClaw、Cline 等)统一到一个工作区中,支持会话聚合和多智能体协作,支持桌面安装,服务器/Docker 部署。
## 技术栈
shipped paths clearly.
3. If a feature is not backed by current code or release assets, do not describe it as shipped.
4. Prefer short, operational instructions over marketing copy
policy.** No deprecation wrappers. When code moves, callers update in the same PR. Dead code is deleted immediately.
- **Tests mock externals.** No Docker needed to run the test suite
session traces** with conversation replay, span tree, and token counts
- **Admin operations** such as review queue, user management, insights, and audit logs
- **Agent building** with component assembly and live YAML
synthetic prompt that would reproduce the PR diff if given to a fresh Claude Code session. Don't copy the user's first message — distill the conversation into a single
bash qa/L0_pytorch_lint/test.sh
TE_PATH="$PWD" bash qa/L0_jax_lint/test.sh
```
Both lint scripts also inspect common code. Use `CPP_ONLY=1` or `PYTHON_ONLY=1`
to select one half during iteration.
## Documentation
Update
Policy
English is mandatory for all project-facing work and communication.
- Write all source code, comments, tests, fixtures, documentation, examples, configuration text, scripts, and user-facing strings in English
along with the pending English diff — then translate and backfill those changes into `README_TW.md`. Reviewers assess translation quality.
## Configuration
Resolve config using the Config Resolution Protocol in `llm-wiki/SKILL.md
described in `SECURITY.md`;
never disclose them in public issues, pull requests, or discussions.
## CodeReview Rules
- Use `$openai-go-pr-review` for an exhaustive review of a pull request,
committed
human review.
- NEVER close an issue. Leave issues open for the reviewer.
- Always add the label `agent:open-code` to every issue and PR you touch.
- Always add labels