Commit 2c19914b871576c39963337ece2787b260edfc8e
1 parent
5d6a9a68
graphlemon: brd artifact for task b243dfe8-4da8-49bd-895b-8b9e9ed17280
Showing
1 changed file
with
9 additions
and
0 deletions
.graphlemon/runs/b243dfe8-4da8-49bd-895b-8b9e9ed17280/brd.md
0 → 100644
| 1 | +The planner Work Node finished. It produced a BRD for fixing a bug where the Skill detail page (`#/skills/:skill_id/audit`) doesn't show a skill's actual content — only the iteration/audit log, which is often empty since `src/skill_query.py` never reads `SKILL.md` off disk. | |
| 2 | + | |
| 3 | +Key points from the BRD: | |
| 4 | +- **Root cause**: `skill_query.py` has no function reading `skills/<skill_id>/SKILL.md`; only iteration-log and diff queries exist. | |
| 5 | +- **Scope**: add a read API for skill content (with path-traversal protection on `skill_id`), show it alongside (not replacing) the existing iteration panel, plain `<pre>` text rendering (no markdown lib, matching `v_artifact_browser` convention), and list any supporting files (`references/`, `templates/`, `scripts/`). | |
| 6 | +- **Non-goals**: no changes to migration logic, no edits to iteration-log display, no write/edit capability, no generic binary-file preview. | |
| 7 | +- **Acceptance criteria**: 7 concrete checks including path-traversal rejection and zero regression in existing skill tests. | |
| 8 | + | |
| 9 | +This is BRD-stage output only — no code was changed. Next step per the doc is PRD/SDD refinement of two open design points (how to surface supporting files, and the new endpoint's shape). | |
| 0 | 10 | \ No newline at end of file | ... | ... |