Commit 7674e4ebee09b70fe65e67e3b7b0c5245aff0e7d
1 parent
d4105e15
graphlemon: benchmark artifact for task 7fc3a7a3-ebe3-48ae-97de-a98f7f3c9d35
Showing
1 changed file
with
9 additions
and
0 deletions
.graphlemon/runs/7fc3a7a3-ebe3-48ae-97de-a98f7f3c9d35/benchmark.md
0 → 100644
| 1 | +The graphlemon planner Work Node workflow completed successfully on retry (the first attempt hit a transient connection error; the resume succeeded). | ||
| 2 | + | ||
| 3 | +Output: a Benchmark/验收测试文档 (acceptance-test spec) for the goal "修复 #/skills 详情页不展示 Skill 真实内容" (fix the #/skills detail page not showing the real skill content). It defines 18 test scenarios across four areas: | ||
| 4 | +1. `src/skill_query.get_skill_content()` unit tests (6 cases, including two path-traversal security cases against both URL input and DB-poisoned `file_path`) | ||
| 5 | +2. Backend `GET /api/skills/:skill_id/content` endpoint tests (5 cases: happy path, missing skill, missing file-on-disk, encoded path-traversal, and regression on existing skill routes) | ||
| 6 | +3. Frontend manual/automated checks (5 cases, notably that the new "Skill content" panel must render alongside — not replace — the existing "变更审计" panel, and content must be escaped via `escapeHtml` into a `<pre>`, no markdown/highlight libs) | ||
| 7 | +4. Full regression gate (full `src/` unittest suite must stay green; diff scope limited to `skill_query.py`, `backend_server.py`, `frontend/app.js`) | ||
| 8 | + | ||
| 9 | +This benchmark is the planner's artifact for the Work Node; it now hands off to the Coder/Validator stage per graphlemon's normal Org Graph flow. No further action taken by me beyond running the node. | ||
| 0 | \ No newline at end of file | 10 | \ No newline at end of file |