docs(#47): unify harness command references
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
generated: true (请先修改 Gitea Wiki,禁止直接编辑本文件)
|
||||
wiki_page: Common-Changes
|
||||
wiki_url: https://git.ilapage.cn/OPC/goauto/wiki/Common-Changes.-
|
||||
wiki_revision: 6a77eb2e0d389ae34cdca04a1cb268ff4a7c233a
|
||||
synchronized_at: 2026-08-19T01:19:56Z
|
||||
wiki_revision: bba4d9558ccf9c6b5953ac99b958e81dc52a0637
|
||||
synchronized_at: 2026-08-19T01:22:30Z
|
||||
<!-- gitea-wiki-mirror:end -->
|
||||
|
||||
# 常见修改指南
|
||||
@@ -66,7 +66,7 @@ GoAuto 的长期文档采用 Wiki-first:
|
||||
2. 修改对应 Gitea Wiki 页面,不写入密码、Token、个人数据或生产数据。
|
||||
3. 通过 API 或页面回读确认正文和 revision。
|
||||
4. 运行 `python dev_scripts/harness.py sync` 导出核心镜像。
|
||||
5. 运行 `python dev_scripts/sync_wiki_docs.py --check` 和 `git diff --check`,再审查差异。
|
||||
5. 运行 `python dev_scripts/harness.py sync --check` 和 `git diff --check`,再审查差异。
|
||||
|
||||
停止条件:需要删除/重命名 Wiki 页面、修改映射、改变事实来源边界,或映射镜像存在未提交修改;这些必须在工单中单独确认,不得强制覆盖。
|
||||
|
||||
|
||||
+7
-7
@@ -2,8 +2,8 @@
|
||||
generated: true (请先修改 Gitea Wiki,禁止直接编辑本文件)
|
||||
wiki_page: Home
|
||||
wiki_url: https://git.ilapage.cn/OPC/goauto/wiki/Home
|
||||
wiki_revision: c590a3531c050ef7d5378db54f96639f9ef0780b
|
||||
synchronized_at: 2026-08-17T03:27:39Z
|
||||
wiki_revision: e054c1907f06dc9f579287d57cb289317ad54e27
|
||||
synchronized_at: 2026-08-19T01:22:14Z
|
||||
<!-- gitea-wiki-mirror:end -->
|
||||
|
||||
# GoAuto 文档中心
|
||||
@@ -45,7 +45,7 @@ GoAuto 使用 Gitea 工单记录任务过程,使用 Gitea Wiki 维护长期开
|
||||
|
||||
```powershell
|
||||
git status --short --branch
|
||||
python dev_scripts/sync_wiki_docs.py --check
|
||||
python dev_scripts/harness.py sync --check
|
||||
python -m unittest discover -s tests -v
|
||||
.\scripts\verify.ps1 -Component all
|
||||
```
|
||||
@@ -56,16 +56,16 @@ python -m unittest discover -s tests -v
|
||||
|
||||
```powershell
|
||||
# 从 Wiki 单向导出核心文档
|
||||
python dev_scripts/sync_wiki_docs.py
|
||||
python dev_scripts/harness.py sync
|
||||
|
||||
# 只检查一致性
|
||||
python dev_scripts/sync_wiki_docs.py --check
|
||||
python dev_scripts/harness.py sync --check
|
||||
|
||||
# 创建 Wiki 任务归档草稿,不自动导出本地
|
||||
python dev_scripts/new_task_archive.py 43 "升级 DevHarness 文档基线"
|
||||
python dev_scripts/harness.py archive 43 "升级 DevHarness 文档基线"
|
||||
|
||||
# 仅在用户明确要求时导出任务归档
|
||||
python dev_scripts/export_task_archives.py
|
||||
python dev_scripts/harness.py export
|
||||
```
|
||||
|
||||
凭据只通过 `GITEA_TOKEN` 环境变量提供,不写入配置、日志、工单、Wiki 或文档。
|
||||
|
||||
Reference in New Issue
Block a user