trellis2-official-task-contract 采用官方 Trellis 执行合同

这个提交包含在:
2026-05-26 10:08:06 +08:00
父节点 e7baa6c234
当前提交 1b5c7527b7
共修改 24 个文件,包含 361 行新增和 161 行删除
+14 -11
查看文件
@@ -2,29 +2,32 @@
## hyb-oa Trellis-first Overlay
hyb-oa uses Trellis as the primary development workflow from TRELLIS1 onward.
Trellis organizes task context and execution, while Issue CSV remains the
auditable contract and `docs/` remains the business fact source.
hyb-oa uses official Trellis task directories as the development contract from
TRELLIS2 onward. Trellis owns task context, planning, execution, verification
and finish records; `docs/` remains the business fact source. Historical
`issues/*.csv` files are audit evidence or optional export material, not a
mandatory prerequisite for new work.
Required project sequence for non-trivial work:
1. Create or update a `.trellis/tasks/<task>/` task with a PRD and acceptance notes.
2. Bind the task to an `issues/*.csv` file and Issue ID before implementation.
1. Create or update a `.trellis/tasks/<task>/` task with `prd.md`, acceptance notes and test plan.
2. Add `design.md` or `implement.md` for complex process, API, migration, permission, deployment or workflow-governance changes.
3. Read the relevant `.trellis/spec/hyb-oa/` files and project docs referenced there.
4. Implement only after the user has approved the plan and Issue CSV.
5. Run the task's Test_Method plus the Trellis governance gate.
4. Implement only after the user has approved the task plan.
5. Run the task's test plan plus the Trellis governance gate.
6. Update specs/docs only with stable, reusable lessons.
7. Commit in Chinese and include the Issue ID.
7. Commit in Chinese and include the Trellis task name or task ID.
Hard boundaries:
- Do not let Trellis replace Issue CSV status, docs fact sources, or production
deployment gates.
- Do not let Trellis replace docs fact sources or production deployment gates.
- Do not create new Issue CSV files unless the user explicitly needs a tabular
external audit packet or legacy compatibility export.
- Do not auto-commit Trellis workspace/session files; `session_auto_commit` is
disabled in `.trellis/config.yaml`.
- Do not write passwords, token, Secret, real invoice originals, contract bodies,
bank materials, full accounts, complete local paths, or raw payloads into
`.trellis/`, docs, Issue CSV, reports, or chat.
`.trellis/`, docs, reports, or chat.
- In Codex, this project defaults to inline dispatch. Sub-agents are optional and
must receive an explicit active task path if used.