Commit f9c2e8545578e68bb9a2cc9cf8c750180587678b
1 parent
bb18746d
graphlemon: test_report artifact for task 7fc3a7a3-ebe3-48ae-97de-a98f7f3c9d35
Showing
1 changed file
with
11 additions
and
0 deletions
.graphlemon/runs/7fc3a7a3-ebe3-48ae-97de-a98f7f3c9d35/test_report.md
0 → 100644
| 1 | +The graphlemon Work Node (coder) workflow (task wa4wewx1g) completed successfully. | ||
| 2 | + | ||
| 3 | +Task: Fix the /#/skills detail page not showing real skill content — it previously only read DB rows, never the actual skills/<skill_id>/SKILL.md files on disk. | ||
| 4 | + | ||
| 5 | +Changes made (uncommitted, left for Validator review): | ||
| 6 | +- src/skill_query.py — added get_skill_content() with path-traversal protection (realpath + commonpath containment check) and a new SkillContentMissingError; lists sibling references/templates/scripts as support file names. | ||
| 7 | +- src/backend_server.py — new route GET /api/skills/:skill_id/content. | ||
| 8 | +- frontend/app.js — new "Skill 内容" panel on the skill audit log view, alongside the existing iteration history panel. | ||
| 9 | +- Tests: src/test_skill_query.py (+7 cases incl. traversal attempts) and src/test_backend_server.py (+3 cases). | ||
| 10 | + | ||
| 11 | +Verification: full src (530 tests) and supervisor (125 tests) suites pass except two pre-existing failures confirmed unrelated via git stash comparison. A manual live HTTP smoke test against a real skill file succeeded, including a rejected path-traversal attempt. Nothing was committed — next step is the normal Validator review. | ||
| 0 | \ No newline at end of file | 12 | \ No newline at end of file |