Feat/eng 2697#733
Conversation
Guide the in-daemon curate agent to surface the ByteRover dashboard (http://localhost:7700, Contexts page) once a topic is saved, so users can actually see what was curated. - SKILL.md: add `brv webui` to the Quick Reference and command list, noting the daemon already serves the dashboard on port 7700 - curate.md: on `data.status: "done"`, hand the user the clickable dashboard URL alongside `filePath`; add a "View What You Saved" section and a "Example Session Responses" walkthrough (kickoff → correction → completion JSON envelopes); add a Common Mistakes row for reporting a save without showing where to view it - skill-connector tests: assert SKILL.md mentions `brv webui` and curate.md mentions `localhost:7700` + the new examples section
|
Claude finished @DatPham-6996's task in 2m 37s —— View job Review Summary — Score: 4 / 5
A focused, well-scoped documentation PR. The behavioral contract change ("after What's strong
What's worth addressing
Untouched but worth a quick second look
5 inline comments queued (1 praise on the test, 1 suggestion on SKILL.md, 1 nit + 1 issue + 1 question on curate.md). |
Summary
brv curate, the skill instructed the in-daemon agent to report onlydata.filePath. It never pointed users at the ByteRover dashboard where the saved topic is actually viewable, so users had no obvious way to see what was just curated.http://localhost:7700by default — but the skill never surfaced it, leaving a working capability undiscovered and the curate loop ending at "a file path" instead of "here's your knowledge, rendered."done, the agent now hands the user the clickable dashboard URL (Contexts page) alongsidefilePath. Addedbrv webuito SKILL.md's Quick Reference + command list, an "Example Session Responses" JSON walkthrough and a "View What You Saved" section to curate.md, plus a new Common Mistakes row. Tightened the connector test to guard the new content.brv webuicommand, the webui server, the curate engine, and port handling are untouched — this is documentation/behavioral-contract text plus a test assertion. The7700default is referenced, not introduced.Type of change
Scope (select all touched areas)
(Skill templates live under
src/server/templates/skill/and are deployed/read via the SkillConnector inserver/infra/connectors/skill/.)Linked issues
Root cause (bug fixes only, otherwise write
N/A)Test plan
test/unit/infra/connectors/skill/skill-connector.test.tsSKILL.mdincludesbrv webui.curate.mdincludeslocalhost:7700and the## Example Session Responsessection.User-visible changes
brv curate, the agent now gives the user the dashboard URLhttp://localhost:7700(Contexts page) alongside the savedfilePath, instead of reporting only the path.SKILL.mdQuick Reference and command list now documentbrv webui.brvCLI flags, defaults, or command output changed.Evidence
Attach at least one:
Before (old templates against the new assertions):
37 passing
2 failing
AssertionError: expected '---\nname: byterover...' to include 'brv webui'
AssertionError: expected '---\nname: byterover-curate...' to include 'localhost:7700'
After (
npx mocha "test/unit/infra/connectors/skill/skill-connector.test.ts"):39 passing (62ms)
Checklist
npm testnot run locally)npm run lint) — not runnpm run typecheck) — not runnpm run build) — not rundocs(skill): point users to the webui dashboard after curate)main(origin/main is an ancestor of HEAD)Risks and mitigations
http://localhost:7700; if the user changed the webui port (BRV_WEBUI_PORTor a persisted port), the URL the agent surfaces will be wrong.7700is the documented first-run default and the most common case; the docs also tell the agent thatbrv webuiopens the same dashboard. Templating the actual port into the message is a reasonable follow-up.brvis running, so a curate succeeding implies the daemon is up; worst case is a stale link, no functional impact.