| | |
| | | # Apptag Project Rules |
| | | |
| | | ## Checkpoint workflow |
| | | Authoritative workflow standard: |
| | | |
| | | 每次开始任务前:`git status` 检查当前状态。 |
| | | - `Docs/ProjectManagement/Apptag_Development_Workflow_Standard_v1.0.md` |
| | | |
| | | 每次完成一个独立的功能或修复后,做一次 checkpoint commit: |
| | | Hermes and any coder working in this repository must follow that document as the single workflow authority. |
| | | |
| | | ``` |
| | | git add -A && git commit -m "checkpoint: <简短描述>" |
| | | ``` |
| | | |
| | | 任何时候用户可以喊:**"rollback to last checkpoint"** — 执行 `git reset --hard HEAD~1` 回滚到上一个 commit。 |
| | | |
| | | ## 恢复已删除的 checkpoint |
| | | |
| | | 如果用户后悔回滚了,可以用 `git reflog` 找回被丢弃的 commit,然后 `git reset --hard <hash>` 恢复。 |
| | | If a task request conflicts with the workflow standard, the coder must pause, cite the exact violated clause, and resolve the conflict before proceeding. |