Skip to content

feat(check): opt-in --log-format=json and onEvent hook for match events - #230

Merged
hivecommons-hive[bot] merged 1 commit into
mainfrom
scanner/fix-229
Oct 12, 2026
Merged

hivecommons-hive[bot] merged 1 commit into
mainfrom
scanner/fix-229

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Completes the remaining local, opt-in telemetry recommendations (watch --log-format=json already shipped in #218).

  • check --log-format=json writes one JSON line per match to stderr: event, category, confidence, matched (count only, no text).
  • check(text, config, { onEvent }) lets embedders feed their own counters; hook errors are swallowed.
  • Default behavior unchanged. OTel wiring (rec. 3) is deferred until a backend is confirmed.

Closes #229

— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: scanner <scanner@hive.kubestellar.io>
@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Oct 12, 2026
@kubestellar-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow kubestellar-prow Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 12, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

hive/awaiting-ci: CI pending — sweep will merge when green.


🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown

— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive
hivecommons-hive Bot merged commit eda93fd into main Oct 12, 2026
12 of 13 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the scanner/fix-229 branch October 12, 2026 09:00
@github-actions

Copy link
Copy Markdown

Thank you for your contribution! Your PR has been merged.

We'd love to hear how your experience was: share feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates the PR's author has signed the DCO. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[telemetry] No observability signals; recommendations (no backend configured)

0 participants