trellis-governance-closeout 归档 Trellis 任务

这个提交包含在:
2026-05-26 12:39:16 +08:00
父节点 48da0d8b42
当前提交 e10fb4a9cf
共修改 5 个文件,包含 2 行新增和 2 行删除
@@ -0,0 +1,4 @@
{"file": ".trellis/spec/hyb-oa/index.md", "reason": "hyb-oa spec entry point for verification"}
{"file": ".trellis/spec/hyb-oa/project-governance.md", "reason": "verify Trellis task contract and closeout rules"}
{"file": ".trellis/spec/hyb-oa/docs-and-evidence.md", "reason": "verify docs registry and historical evidence consistency"}
{"file": ".trellis/spec/hyb-oa/security-privacy.md", "reason": "verify no sensitive data is introduced"}
@@ -0,0 +1,4 @@
{"file": ".trellis/spec/hyb-oa/index.md", "reason": "hyb-oa spec entry point for Trellis-only governance closeout"}
{"file": ".trellis/spec/hyb-oa/project-governance.md", "reason": "Trellis task contract and commit/approval rules"}
{"file": ".trellis/spec/hyb-oa/docs-and-evidence.md", "reason": "docs registry and historical evidence boundaries"}
{"file": ".trellis/spec/hyb-oa/security-privacy.md", "reason": "privacy rules for governance documents and reports"}
@@ -0,0 +1,31 @@
# Implementation Notes
## Scope
This task closes the governance migration after TRELLIS2 and the removal of
the project-local delivery skill. It only changes Trellis task records, current
governance docs, process wording and QA governance scripts.
## Approach
1. Archive superseded setup tasks after marking their PRDs as historical or
superseded.
2. Keep historical `issues/*.csv` files untouched.
3. Update current-facing docs so new non-trivial work starts from a Trellis
task PRD and not from a new Issue CSV.
4. Preserve Issue CSV references only where they are explicitly historical,
audit evidence or legacy/export compatibility.
5. Keep `.trellis/spec/hyb-oa/` as the stable project rule entry point.
## Boundaries
- No backend or frontend business-code changes.
- No deployment, production config, database, Enterprise WeChat or payment
writes.
- No deletion or bulk rewrite of historical `issues/*.csv`.
- No resurrection of `.agents/skills/hyb-oa-delivery`.
## Verification
Run the task validation, Trellis governance gate, process contract baseline,
docs registry audit, stale wording search and `git diff --check` before commit.
@@ -0,0 +1,79 @@
# Close Out Legacy Trellis Tasks And Trellis-Only Governance Wording
## Goal
Finish the governance migration by closing stale Trellis setup tasks and
removing current Issue CSV-first wording from active governance documents, so
new hyb-oa work consistently starts from Trellis tasks/specs while historical
Issue CSVs remain audit evidence.
## Scope
- Review and close out the old active Trellis setup tasks:
- `00-bootstrap-guidelines`
- `05-26-trellis1-pilot`
- `05-26-trellis2-official-task-contract`
- Update current governance documents that still describe Issue CSV as the
default development contract.
- Preserve historical Issue CSV files and historical references.
- Keep `.trellis/spec/hyb-oa/` as the project-specific spec entry point.
- Run governance, docs and task validation after edits.
## Out Of Scope
- No backend or frontend business-code changes.
- No public deployment or live OA verification.
- No database, Enterprise WeChat, payment, production config or real-data write.
- No deletion, migration or bulk rewrite of historical `issues/*.csv` files.
- No implementation of OAOPS1, OALAUNCH1, WREAL1 or Enterprise WeChat mirror
features in this task.
## Requirements
- Active Trellis task list should no longer contain completed historical setup
tasks after this task is done.
- Current governance docs must say Trellis task is the default execution
contract for new non-trivial work.
- Issue CSVs must be described only as historical audit evidence or optional
external/export format unless a user explicitly requests legacy output.
- Existing docs fact sources and Trellis specs must remain registered and
validated.
- Historical issue references may remain when clearly historical.
## Acceptance
- `task.py list` shows no stale active setup task for bootstrap, TRELLIS1 or
TRELLIS2 after closeout.
- `docs/开发交付与变更管理规约.md` no longer instructs current work to start
from Issue CSV by default.
- `docs/文档索引.md`, `docs/文档事实源状态矩阵.md` and
`docs/Agent开发交付实践.md` remain aligned with Trellis-only governance.
- Governance scripts pass.
- Working tree is committed and clean when the task is finished.
## Test Plan
- `python3 ./.trellis/scripts/task.py validate 05-26-trellis-governance-closeout`
- `python3 ./.trellis/scripts/task.py list`
- `node --check scripts/qa/check-trellis-governance.mjs`
- `node --check scripts/qa/check-process-contract.mjs`
- `node --check scripts/qa/audit-docs.mjs`
- `node scripts/qa/check-trellis-governance.mjs`
- `node scripts/qa/check-process-contract.mjs --baseline --json`
- `node scripts/qa/audit-docs.mjs --check-registry`
- `rg -n "开发必须围绕最新 Issue CSV|先有 Issue CSV|Issue CSV.*默认|Skill quick_validate|hyb-oa-delivery|单功能 Issue CSV|最新 Issue CSV|不得跳过 Issue CSV" AGENTS.md docs scripts .trellis/spec .trellis/workflow.md`
- `git diff --check`
## Privacy
Do not write passwords, token, Secret, real invoice originals, contract bodies,
bank materials, full accounts, complete local paths or raw payloads in Trellis
tasks, docs, reports or chat.
## Implementation Plan
1. Confirm the old Trellis setup tasks are completed or superseded.
2. Update only current governance wording that still implies Issue CSV-first
execution.
3. Archive stale setup tasks after validation.
4. Run the test plan and commit the governance closeout.
@@ -0,0 +1,38 @@
{
"id": "trellis-governance-closeout",
"name": "trellis-governance-closeout",
"title": "Close out legacy Trellis tasks and Trellis-only governance wording",
"description": "Close out legacy in-progress Trellis setup tasks and remove current Issue CSV-first governance wording now that Trellis-only delivery is established.",
"status": "completed",
"dev_type": "docs",
"scope": "trellis-governance",
"package": "docs",
"priority": "P2",
"creator": "shunli",
"assignee": "shunli",
"createdAt": "2026-05-26",
"completedAt": "2026-05-26",
"branch": null,
"base_branch": "main",
"worktree_path": null,
"commit": null,
"pr_url": null,
"subtasks": [],
"children": [],
"parent": null,
"relatedFiles": [
".trellis/tasks/00-bootstrap-guidelines/",
".trellis/tasks/05-26-trellis1-pilot/",
".trellis/tasks/05-26-trellis2-official-task-contract/",
"docs/开发交付与变更管理规约.md",
"docs/文档索引.md",
"docs/文档事实源状态矩阵.md",
"docs/Agent开发交付实践.md",
".trellis/spec/hyb-oa/"
],
"notes": "No business code, no deployment, no production data writes. Historical Issue CSV files remain audit evidence and are not deleted.",
"meta": {
"contractMode": "trellis_task",
"intent": "governance_closeout"
}
}