AGENT SKILL

Issue 标签分类与选择

issue/labels

Issue 标签分类体系——类型(kind)、优先级和可选的 surface 标签。为 cnos Issue 选择或审查标签时使用。

License 许可
Apache-2.0
所属仓库
usurobor/cnos
最近更新
2026-11-07
Stars
★ 9
Forks
0

01 前言 Front Matter

name
issue/labels
scope
task-local
inputs
[ "issue title and problem statement" ]
parent
issue
outputs
[ "one kind label", "one priority label", "zero or more surface/domain labels" ]
triggers
[ "label", "kind label", "priority label" ]
visibility
internal
description
Issue label taxonomy — kind, priority, and optional surface labels. Use when selecting or reviewing labels for a cnos issue.
kata_surface
none
artifact_class
reference
governing_question
Which labels does a cnos issue require, and what do they mean?

02 资源文件 5

03 SKILL.md 正文

Issue Labels

Rule

Every issue requires exactly one kind label and exactly one priority label. Surface/domain labels are optional.


Kind labels

Label Use when
bug Shipped behavior is broken, regressed, misleading, or incoherent with its contract.
enhancement Adds or improves capability, behavior, package surface, workflow, or contract.
docs Primary artifact is documentation, source map, README, spec wording, operator guidance, or status-truth correction.
design Primary work is deciding architecture, doctrine, contract shape, or boundary before implementation.
test Primary work is tests, fixtures, katas, validation, checker coverage, or proof surface.
refactor Internal restructuring with no intended behavior or contract change.
chore Maintenance, cleanup, dependency, CI hygiene, release plumbing, or non-user-facing upkeep.
tracking Umbrella or coordination issue that links child issues and does not itself implement the work.

Exactly one kind label per issue.

  • ❌ An issue with no kind label, multiple kind labels, or an unlisted kind without justification.
  • ✅ An issue with exactly one of the eight kind labels above.

Priority labels

Label Meaning
P0 Emergency. Active breakage, data/security risk, release-blocking failure, or no safe workaround.
P1 High. Blocks important planned work, onboarding, correctness, status truth, or core architecture. Should be scheduled soon.
P2 Normal. Valuable scoped work, coherent enhancement, cleanup, package/doc improvement, or non-blocking system refinement. Default for most real work.
P3 Low. Nice-to-have, polish, exploratory, backlog, or work safe to defer indefinitely.

Exactly one priority label per issue.

  • ❌ An issue with no priority label, multiple priority labels, or P0/P1 without a blocking/emergency rationale.
  • ✅ An issue with exactly one priority label that matches the urgency described in the problem and impact.

Surface/domain labels (optional)

Surface labels help routing. They do not replace source-of-truth paths or ACs.

Suggested surface labels:

Label Scope
cli Command-line interface, operator-facing commands
core Core runtime, kernel, bootstrap
cdd CDD lifecycle, roles, skills, protocol
ctb CTB language spec, frontmatter, module system
cdw CDW writing/doc system
runtime Runtime behavior, execution, platform
package Package system, distribution, install
ci CI/CD, workflows, automation
security Security, auth, permissions

Rules:

  • Multiple surface labels are allowed.

  • Keep surface labels minimal — only what helps routing.

  • Surface labels must not duplicate a kind label. For a CTB docs issue, use docs, P2, ctb rather than docs, P2, docs.

  • ❌ Surface label docs on an issue that already carries kind label docs.

  • ✅ Surface label ctb on an issue with kind label docs (the kind is docs; the surface is ctb).


Discipline

Labels do not replace issue content. An issue with correct labels but no problem statement, ACs, or scope is still incoherent.

  • ❌ Rely on labels to signal scope instead of writing a scope section.
  • ✅ Labels route; the issue body governs.

Examples

docs: README activation step       → docs, P1
feat(cli): cn activate             → enhancement, P1, cli
package(cdw): writing package      → enhancement, P2
tracking umbrella                  → tracking, P2
skill(cdd/issue): split subskills  → refactor, P2, cdd
bug: cn doctor reports false green → bug, P0

04 同仓库更多 Skills

usurobor
usurobor/cnos

Issue 分诊与判定

issues/triage

Issue 分诊规则指引。在对新 issue 进行分类、判定其是否符合派发条件,或决定将其关闭/取代/延后时使用。

软件开发工程师工单与问题跟踪管理
★ 9
usurobor
usurobor/cnos

Issue 标签分类体系

issues/taxonomy

Issue 标签分类体系指引。在对 issue 的 kind/area/priority/effort/status/protocol/dispatch 标签进行分类,或看板需要解读这些标签时使用。

软件开发工程师工单与问题跟踪管理
★ 9
usurobor
usurobor/cnos

issues/map

Issue-board (Issue Pivot) generation domain. Use when reasoning about `cn issues map`'s fetch, taxonomy-parse, effort-computation, and render pipeline, or about the board's JSON/HTML output contract.

★ 9
usurobor
usurobor/cnos

issues

cnos.issues package entrypoint. Use when reasoning about issue taxonomy, the Issue Pivot / issue-board (`cn issues map`), the read-only CDS issue-state evaluator (`cn issues fsm evaluate`), or the current command-dispatch disposition of issue tooling.

★ 9
usurobor
usurobor/cnos

receipt-stream

Cross-cycle receipt-stream doctrine for protocol-iteration. Use when γ closes a cycle and writes the per-cycle iteration artifact (`cdd-iteration.md`), when γ updates the cross-cycle aggregator at `.cdd/iterations/INDEX.md`, when ε reads the receipt stream across cycles to surface protocol-gap patterns, when a finding's disposition lands a cross-repo patch and the cross-repo trace bundle attaches, or when a courtesy empty-findings stub is written for a `protocol_gap_count == 0` cycle.

★ 9
usurobor
usurobor/cnos

mid-flight

Mid-flight γ→in-flight-α rescue channel. Use when γ needs to change a load-bearing fact (pinned axis, scope, AC, blocker) after α has begun coding, when γ edits the cycle's GitHub issue body mid-cycle, or when a spec change lands on origin/main while α/β polling sessions are in-flight.

★ 9