> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trytrellis.app/llms.txt
> Use this file to discover all available pages before exploring further.

# v0.6.0-beta.8

> 2026-05-10

给 0.6 beta 工作流加入 task-creation consent gate 和 planning artifacts。

## Enhancements

### Task Triage Consent

没有 active task 时，Trellis 现在会先判断请求大小，再创建任务。

| 请求类型       | 行为                                                  |
| ---------- | --------------------------------------------------- |
| 简单对话 / 小任务 | 只问本回合是否需要创建 Trellis task；不需要时，本轮跳过 Trellis。         |
| 复杂任务       | 询问是否可以创建 Trellis task 并进入 planning。用户拒绝时，澄清范围或建议拆小。 |

### Planning Artifacts

`task.py create` 现在会创建默认 `prd.md`；复杂任务在 `task.py start` 前使用
`prd.md`、`design.md`、`implement.md` 完成 planning。

| Artifact       | 作用                                    |
| -------------- | ------------------------------------- |
| `prd.md`       | 需求、约束、验收标准、out-of-scope。              |
| `design.md`    | 复杂任务的技术设计：边界、数据流、contract、取舍。         |
| `implement.md` | 复杂任务的实施计划：checklist、验证命令、review gate。 |

### Context Loading

Implement/check context order 在 hook-push、pull-prelude、Pi extension、OpenCode
plugin 和 inline mode 中保持一致。

```text theme={null}
jsonl entries -> prd.md -> design.md if present -> implement.md if present
```

`implement.jsonl` 和 `check.jsonl` 仍是 spec/research manifest；它们不替代
`implement.md`。

### Codex Inline Mode

Codex no-task breadcrumb 会包含 `<trellis-bootstrap>` 和 `<codex-mode>` 上下文。
Inline mode 表示 Codex 主会话直接实现和检查，不 dispatch implement/check sub-agent。

## Upgrade

```bash theme={null}
npm install -g @mindfoldhq/trellis@beta
trellis update
```
