Feat/eng 2697#751
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
Update ByteRover skill docs to avoid hardcoded localhost:7700 links now that brv webui resolves the active port. - point post-curate and onboarding guidance to the URL printed by brv webui - document brv webui --port <port> for port conflicts or custom ports - add skill connector regression coverage to reject fixed Web UI localhost URLs
Update ByteRover skill docs to avoid hardcoded localhost:7700 links now that brv webui resolves the active port. - point post-curate and onboarding guidance to the URL printed by brv webui - document brv webui --port <port> for port conflicts or custom ports - add skill connector regression coverage to reject fixed Web UI localhost URLs
|
Claude finished @DatPham-6996's task in 3m 40s —— View job PR Review: docs(skill) — point users to the webui dashboard after curateOverall score: 3 / 5 — Low-risk docs/test change with a sensible goal, but the central
SummaryThis PR closes a real UX gap (curate's The core concern is that the new
In practice the agent will either always emit
Findings
Security / build
Inline comments (5) are buffered and will post with this review. |
Update ByteRover skill docs to avoid hardcoded localhost:7700 links now that brv webui resolves the active port. - point post-curate and onboarding guidance to the URL printed by brv webui - document brv webui --port <port> for port conflicts or custom ports - add skill connector regression coverage to reject fixed Web UI localhost URLs
|
Claude finished @DatPham-6996's task in 2m 45s —— View job PR Review — docs(skill): use printed webui URL in skill guidanceOverall score: 4 / 5 — The headline correctness issue from the prior review is fixed:
SummaryThe followup commits ( What's solid:
What's still nitty:
None of these block the fix; they're a follow-up tightening pass. Security / build
|
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.