Rename the "brief" surfaces to "session report"
Context
The feature that shows what SageOx gave a session currently carries three names a coworker
sees: the Claude Code pane command /ox-brief, the text skill /ox-cli-brief, and the CLI
ox brief (plus the brief_pane setting). Dev finds "brief" unclear and the skill name
confusing next to the pane command. Decision from Dev:
| Surface | Today | After |
|---|---|---|
| Claude Code pane command | /ox-brief [off|refresh] | /ox-session-report [off|refresh], pane titled ox session report |
| Agent skill (Claude + Codex + Gemini) | /ox-cli-brief | /ox-cli-session-report; old name retired |
| CLI | ox brief, ox brief pane … | ox session report, ox session report pane …; ox brief hidden alias for one release |
| User setting | brief_pane (usage_pane deprecated) | session_report_pane; brief_pane accepted as deprecated alias; usage_pane dropped |
| Plugin / marketplace IDs | ox-cli-brief-pane@ox-cli-brief | unchanged (no reinstall or legacy-uninstall path needed) |
None of ox usage, ox brief, usage_pane, or brief_pane ever shipped in a tagged
release (all sit under ## [Unreleased] in CHANGELOG.md; v0.24.2 predates them). Aliases
exist only for dogfooders, so ox usage and usage_pane can simply go. Go package and
identifier names (internal/usage, usageCmd, usagepane, briefUsesCache …) stay as
they are: this is a user-facing rename, not a code reorganisation.
Changes
1. CLI: ox session report
cmd/ox/usage.go:usageCmd.Use = "report", rewriteShort/Long/Exampleto sayox session report …. RepurposeusageDeprecatedCmdas the hiddenbriefalias (Deprecated: "use 'ox session report' instead"), delete theusagealias.cmd/ox/root.go: stop addingusageCmdto root and drop itsknowledgeGroupID; keep the hiddenbriefalias on root.cmd/ox/session.go:sessionCmd.AddCommand(usageCmd); addox session reportto theCommands:list inLong.cmd/ox/usage_pane.go: wordingox session report pane enable, hint strings/ox-session-report; subcommand stays attached tousageCmd.internal/usage/types.goguidanceTextandnext_actions,internal/usage/render.go,me.go,team.go,build.go: anyox briefin user-visible strings →ox session report.cmd/ox/statusline.go:86,cmd/ox/doctor.go:914,cmd/ox/integrate.go:781,cmd/ox/session_consult_tagging.go,cmd/ox/usage_trace.go,cmd/ox/usage_live_uses.go: comments and strings mentioningox brief//ox-brief.internal/oxactivity/classify.go: check whetherbriefis matched as a command name for activity classification; if so addsession reportand keepbrief.- Setting:
cmd/ox/config_settings.gokeybrief_pane→session_report_pane(label "Session report pane"), keep thebrief_paneentry as the deprecated alias in the pattern the currentusage_paneentry uses, removeusage_pane.cmd/ox/config_get.goapply map:session_report_pane,brief_pane.internal/config/user_config.go: addSessionReportPaneEnabled *bool yaml:"session_report_pane_enabled", makeIsBriefPaneEnabled(rename toIsSessionReportPaneEnabled) prefer it, thenbrief_pane_enabled, then default on; drop theusage_pane_enabledfallback. - Doctor check
cmd/ox/doctor_usage_pane.go: descriptions and the ready hint say/ox-session-report; legacyox-cli-usage-paneremoval stays as is.
2. Claude Code pane: /ox-session-report
internal/usagepane/mod/hooks/logic.ts:PANE = 'ox-session-report'; comment text.internal/usagepane/mod/hooks/register.tsx:command.registername andcommand.runfilter'ox-session-report';TITLE = 'ox session report'; pane heading'● ox session report';USAGE; the three hardcoded'ox-brief'matchers inui.close/ui.scroll/ui.render→ usePANE; user-facing reply text ('ox session report pane opened.'etc.); header comments.internal/usagepane/mod/.claude-plugin/plugin.jsondescription;types/index.d.tsif it mentions/ox-brief.internal/usagepane/install.gocomments (plugin/marketplace constants unchanged).- Tests:
mod/tests/desktop-pane.test.tsx,usage-pane.test.tsx(command,id,title,requestId, test names),internal/usagepane/install_test.go(command: 'ox-session-report'). - The atoms keyed
{ plugin: 'ox-cli-brief-pane', … }and theautoOpenstore key are untouched, so a person's "keep closed" choice survives the upgrade.
3. Skill: /ox-cli-session-report
git mv extensions/skills/ox-cli-brief extensions/skills/ox-cli-session-report; setname: ox-cli-session-report, command line$ox session report --json <flags>.extensions/skills/catalog.go:lifecyclebundleox-cli-brief→ox-cli-session-report; append"ox-cli-brief"toRetired(comment:ox briefbecameox session report).ox doctor --fixthen removes the old skill from dogfooders' repos through the existing retired sweep incmd/ox/skill_migrate.go.- Tests that pin the name:
cmd/ox/skill_projection_test.go:50,cmd/ox/init_staging_test.go:521,cmd/ox/skill_ignore_test.go:74,178,cmd/ox/skill_migrate_classify_test.go:44.extensions/skills/catalog_test.goalready asserts no retired name is in the default catalog; it will guard the new entry for free. - Comment in
internal/usage/types.go:271("ox-cli-brief skill body").
4. Tests touched by the CLI rename
cmd/ox/usage_test.go, usage_views_test.go, usage_pane_test.go,
config_settings_usage_pane_test.go, config_settings_coverage_test.go,
doctor_usage_pane_test.go, doctor_usage_pane_errors_test.go, integrate_usage_pane_test.go,
main_test.go:109, internal/config/user_config_test.go, internal/usage/*_test.go,
internal/oxactivity/classify_command_test.go, internal/recap/sessions_test.go: update
expected strings (ox session report, /ox-session-report, session_report_pane), and add
one test each for the ox brief hidden alias and the brief_pane setting alias still
resolving.
5. Docs and release notes
cmd/ox/release_notes.mdandCHANGELOG.md[Unreleased]: edit the existingox brief//ox-brief//ox-cli-brief/brief_paneentries in place to the new names (they are unreleased, so no separate "renamed" entry); drop the sentence aboutox usagestaying as an alias.docs/guides/agent-compatibility.md"Brief pane" and/ox-cli-briefparagraphs.tests/acceptance/README.md:54andgit mv tests/acceptance/brief tests/acceptance/session-report(fix anyox briefsteps inside).- Regenerate reference docs:
go build -o ox-tmp ./cmd/ox && ./ox-tmp docs --output docs/reference && rm ox-tmp(movesdocs/reference/brief/**underdocs/reference/session/report/**; delete the old folder).
Verification
make build && make install, thenox session report --json | head,ox brief --json(prints the cobra deprecation line, same output),ox usage(unknown command).ox config set session_report_pane off && ox config get session_report_pane;ox config set brief_pane onstill toggles the same value.ox session report pane enable→ in a Claude Code session/reload-plugins, then/ox-session-reportopens the pane titled "ox session report";/ox-session-report offcloses it;/ox-briefis gone from the slash menu.cd internal/usagepane/mod && claude plugin test(TSX tests).ox doctor --fixin this repo:.claude/skills/ox-cli-brief/removed,.claude/skills/ox-cli-session-report/present;/ox-cli-session-reportappears in the slash menu.make lint && make test;make format.- Confirm with Dev before
git commit; open one PR (header viaox pr header, trailerSageOx-Session: https://sageox.ai/c/ses_01a184a7-142c-7e5f-a4d0-d9bcc8bc3492).

