Skip to content

docs(agents): add the native classes (format, protocol) to the issue classification skill - #632

Merged
ccoltx merged 2 commits into
masterfrom
polyglot/issue-classes-native
Nov 26, 2026
Merged

ccoltx merged 2 commits into
masterfrom
polyglot/issue-classes-native

Conversation

@polyglotAI-bot

@polyglotAI-bot polyglotAI-bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This PR adds the native classes to the issue classification skill (.claude/skills/issue-classification/SKILL.md). They are a new part of the classification, next to the impacts and the area: native: format, native: protocol, or native: format, protocol.

  • Why: a shared core for the Native format and the native protocol is planned (ClickHouse/ch-core-rs). The native classes count how much maintenance this code needs in each client.
  • What: a section "Native classes" (the code of each class, six rules, examples), and the form of the Classification line ( · native: <classes> at the end). On GitHub, the labels native-format and native-protocol show the classes.
  • The native classes do not change the impacts, the area, or the priority. issue-priority/SKILL.md does not change.
  • AGENTS.md: the "When triaging issues" line names the native classes.

"Native code" in this repository

The section "This repository" now names the native code. clickhouse-cpp has only the native TCP protocol, so all of its wire code is native:

  • format: clickhouse/columns/ (LoadPrefix, LoadBody, SavePrefix, SaveBody; factory.cpp makes a column from a type name), clickhouse/types/ (type names), and ReadBlock / WriteBlock in clickhouse/client.cpp (blocks).
  • protocol: the other packet code of clickhouse/client.cpp and clickhouse/protocol.h (packets, revisions, external tables), WriteQuotedString in clickhouse/base/wire_format.cpp (parameter values), and clickhouse/base/compressed.cpp (compressed blocks).
  • Not native: Append, At, and GetItem of the columns (conversion to C++ types), and the socket, TLS, and endpoints in clickhouse/base/.

The other client repositories with this skill get the same shared text. No library code changes.

🤖 Generated with Claude Code


Note

Low Risk
Documentation and agent-triage guidance only; no application code or security-sensitive behavior changes.

Overview
Issue classification now includes native classes (format, protocol) alongside impacts and area, so issues tied to Native format codecs or native TCP protocol work can be tracked consistently across ClickHouse clients (ahead of shared ch-core-rs).

The classification skill gains a Native classes section (scope, six rules, label mapping, example lines), updated top-level rules, and an extended Classification one-liner suffix · native: …. This repository documents which clickhouse-cpp paths count as native format vs protocol vs non-native.

AGENTS.md triage text now tells agents to classify impacts, area, and native classes. No runtime or library code changes.

Reviewed by Cursor Bugbot for commit 0c6994f. Bugbot is set up for automated code reviews on this repo. Configure here.

…classification skill

The native classes are a new part of the classification, next to the
impacts and the area. They mark an issue that needs a change in the
Native format codec or in the native protocol code, to count the
maintenance of this code for a planned shared core. They do not change
the impacts, the area, or the priority.

The section "This repository" names the native code of clickhouse-cpp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@polyglotAI-bot
polyglotAI-bot requested review from a team and slabko as code owners November 26, 2026 11:47
One label for each native class. The area labels cannot stand in for them: the native class follows the code, and the area follows the effect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@security-ai-gate-reviewer security-ai-gate-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Auto-approved by the AI review gate on 9ad0030. Details in the approver's comment on this pull request.

@security-ai-gate-reviewer

Copy link
Copy Markdown

AI review gate — auto-approved

9ad00306ad9b is approved by security-ai-gate-reviewer[bot], an automated identity, not a human. The approval stands on the required AI review: Cursor Bugbot concluded green on this commit and the AI review gate is SUCCESS (its own comment has the verdict), and the change touches no path that requires a human reviewer. It is bound to this commit: a new push dismisses it and the approver re-evaluates.

History (latest 5 heads, newest first)

  • 9ad00306ad9b approved — green: Cursor Bugbot

@ccoltx
ccoltx merged commit d64b472 into master Nov 26, 2026
47 checks passed
@ccoltx
ccoltx deleted the polyglot/issue-classes-native branch November 26, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants