Compare commits

..

4 Commits

Author SHA1 Message Date
pzhang_zywl e59f69943c test: 升级 Layer C QE Audit 模型 deepseek-v4-flash → deepseek-v4-pro - Closes #90
CI / test (pull_request) Successful in 20s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-08 14:11:26 +08:00
pzhang_dev_agent_01 3644594c09 Merge pull request 'fix: [bug] Dev-Agent 启动时无法读取 PROJECT_CHARTER.md / GLOBAL_STATE.md — Glob 工具对项目目录返回空 - Closes #113' (#114) from dev/issue-113-glob-agent-startup into main
CI / test (push) Successful in 19s
2026-06-08 12:39:52 +08:00
pzhang_zywl 687e2efbf6 fix: Dev-Agent 启动流程使用绝对路径读取项目文档 - Closes #113
CI / test (pull_request) Successful in 19s
Glob 工具在 Windows 下对项目目录持续返回空结果,导致 agent 启动时无法
读取 PROJECT_CHARTER.md 和 GLOBAL_STATE.md。改用绝对路径 + Read 工具。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-08 12:39:09 +08:00
pzhang_dev_agent_01 83a793d3e8 Merge pull request 'fix: DEV_AGENT.md / QE_AGENT.md 未在 session 启动时自动加载 - Closes #108' (#112) from dev/issue-108-claude-md into main
CI / test (push) Successful in 22s
2026-06-08 12:09:46 +08:00
2 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -63,7 +63,9 @@ export GITEA_USER=pzhang_dev_agent_01 # Dev-Agent 账号
**每次新 session 启动时,立即执行:** **每次新 session 启动时,立即执行:**
1. 读取项目章程和全局状态`docs/PROJECT_CHARTER.md``docs/GLOBAL_STATE.md` 1. 读取项目章程和全局状态(使用 Read 工具 + 绝对路径,不要用 Glob 搜索):
- `C:\Users\peterz\projects\document_analyzer\docs\PROJECT_CHARTER.md`
- `C:\Users\peterz\projects\document_analyzer\docs\GLOBAL_STATE.md`
2. 确认环境变量已设置(GITEA_USER + ~/.gitea/config.yaml 2. 确认环境变量已设置(GITEA_USER + ~/.gitea/config.yaml
3.`/loop 10m` 开启 10 分钟间隔的自动轮询 3.`/loop 10m` 开启 10 分钟间隔的自动轮询
4. 轮询内容(多轮递进): 4. 轮询内容(多轮递进):
+4 -4
View File
@@ -9,7 +9,7 @@ LLM configuration is read from secrets.yaml (searched in order):
2. ~/.openclaw/config/secrets.yaml 2. ~/.openclaw/config/secrets.yaml
3. ~/.openclaw/workspace-document-analyzer/config/secrets.yaml 3. ~/.openclaw/workspace-document-analyzer/config/secrets.yaml
deepseek.apiKey / deepseek.baseUrl → text model (deepseek-v4-flash) deepseek.apiKey / deepseek.baseUrl → text model (deepseek-v4-pro)
Environment variables: Environment variables:
TEST_IR_PATH — path to IR JSON (default: output/final/ir_final.json) TEST_IR_PATH — path to IR JSON (default: output/final/ir_final.json)
@@ -198,11 +198,11 @@ def parsed_data(parsed_path: str | None) -> dict | None:
class _AcceptanceLLM: class _AcceptanceLLM:
"""Thin LLM wrapper for acceptance tests. """Thin LLM wrapper for acceptance tests.
Uses deepseek-v4-flash for text (Layer C QE audit) via OpenAI-compatible API, Uses deepseek-v4-pro for text (Layer C QE audit) via OpenAI-compatible API,
configured from ~/.openclaw/config/secrets.yaml. configured from ~/.openclaw/config/secrets.yaml.
""" """
TEXT_MODEL = "deepseek-v4-flash" TEXT_MODEL = "deepseek-v4-pro"
IMAGE_MODEL = "qwen3-vl-plus" IMAGE_MODEL = "qwen3-vl-plus"
TIMEOUT = 180 TIMEOUT = 180
MAX_RETRIES = 3 MAX_RETRIES = 3
@@ -277,7 +277,7 @@ class _AcceptanceLLM:
def llm_client(): def llm_client():
"""Create an LLM client for acceptance tests. """Create an LLM client for acceptance tests.
Uses deepseek-v4-flash for text (Layer C QE audit), configured from Uses deepseek-v4-pro for text (Layer C QE audit), configured from
~/.openclaw/config/secrets.yaml deepseek section. ~/.openclaw/config/secrets.yaml deepseek section.
""" """
return _AcceptanceLLM() return _AcceptanceLLM()