Skip to content

feat(cli): show extraction diagnostics in capabilities output - #2009

Merged
hidb4ai merged 1 commit into
oceanbase:masterfrom
mangeshraut712:cursor/cli-extraction-diagnostics-2b4c
Oct 15, 2026
Merged

hidb4ai merged 1 commit into
oceanbase:masterfrom
mangeshraut712:cursor/cli-extraction-diagnostics-2b4c

Conversation

@mangeshraut712

Copy link
Copy Markdown
Contributor

Which issue or RFC does this PR close?

Fixes #1927.

Rationale for this change

powercontext capabilities printed only whether Memory extraction was enabled or disabled. The Server response already includes extraction diagnostics from #1796.

What changes are included in this PR?

Human output now prints configuration, background location, role, state, and automatic processing, plus observation status and window start. Last success and last failure code, stage, and time are printed when those records exist. Missing diagnostics print as unavailable, unknown values stay unknown, and a null supervisor role prints as absent. Success and failure times stay historical observations, not a health verdict. --json still returns the Server payload. The configuration docs in both languages describe that output.

Are there any user-facing changes?

Yes. Human powercontext capabilities output includes the extraction diagnostics already present in the response. JSON output is unchanged.

How was this change tested?

make check, make unit-test, and make docs-test.

AI usage statement

Cursor Grok 4.7 drafted the CLI formatting, tests, and documentation sentences.

Human capabilities output now includes the extraction configuration,
background state, and historical observations already returned by the
Server. JSON output is unchanged.

Co-authored-by: Mangesh Raut <mangeshraut712@users.noreply.github.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@hidb4ai hidb4ai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hidb4ai
hidb4ai merged commit 58858fb into oceanbase:master Oct 15, 2026
37 of 38 checks passed
@hidb4ai hidb4ai added the 1.4.0 v1.4.0 release tracking label Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.4.0 v1.4.0 release tracking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(cli): show extraction diagnostics in capabilities output

3 participants