[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CF4J0S8MPEDQ5MNE0FMG97":3,"skill-same:01M6CF4J0S8MPEDQ5MNE0FMG97":96},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":74,"commitSha":75,"skillDirectory":76,"forksCount":77,"repositoryHtmlUrl":78,"repositoryHomepageUrl":17,"ownerHtmlUrl":79,"ownerBlogUrl":17,"ownerDescription":80,"updatedAt":81,"install":82,"resources":95},"01M6CF4J0S8MPEDQ5MNE0FMG97","label-doctrine","GitHub Issue 标签管理","cnos's GitHub issue-label control plane — generic lifecycle and dispatchability labels owned by cnos.core, plus the per-package protocol qualifier rule that namespaces multi-protocol dispatch.","cnos 的 GitHub issue 标签控制平面——由 cnos.core 维护的通用生命周期与可派发性标签，以及按包（package）协议限定符规则，用于为多协议派发划分命名空间。","usurobor\u002Fcnos","usurobor","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F182342826?v=4","01M6CEXJCRMYD8HB2315FGB1Q8","Peter Lisovin","01M6CEXJH2RW04GQ2SNXY40F5S",9,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.core\u002Fskills\u002Fagent\u002Flabel-doctrine\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C2MZSDTE56BDKER3VPW2JM","工单与问题跟踪管理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C76K09CC8W2T14CWAVWBKD","开源社区运营专员","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"label doctrine","lifecycle","provider","issue","github issue","queue","dispatch","public","template","boundary","github","SET","sigma","control plane","admin","package","protocol","core","packages","status","2026-11-10 10:12:30",false,"---\nname: label-doctrine\ndescription: cnos's GitHub issue-label control plane — generic lifecycle and dispatchability labels owned by cnos.core, plus the per-package protocol qualifier rule that namespaces multi-protocol dispatch.\nartifact_class: skill\nkata_surface: none\ngoverning_question: Which labels does cnos use, who owns each, and what may Sigma do with them?\nvisibility: public\nparent: agent\ntriggers:\n  - label\n  - status\n  - dispatch\n  - protocol qualifier\n  - issue queue\nscope: task-local\ninputs:\n  - none (doctrine reference)\noutputs:\n  - canonical generic label set\n  - protocol qualifier rule\n  - ownership split between cnos.core and protocol packages\n  - Sigma admin boundary on labels\nrequires:\n  - none (foundational; consumed by `cnos.core\u002Fskills\u002Fagent\u002Fdispatch-protocol\u002FSKILL.md` per cnos#454, the wake-template renderer per cnos#450, and the agent-admin wake provider per cnos#467)\n---\n\n# Label doctrine\n\ncnos's issue-label control plane. Two layers, two owners.\n\n## Core Principle\n\n**Labels are a control plane, not free text.** Each label has an owner (a package), a meaning (what carrying it asserts about the issue), and a role in the dispatch protocol. Without ownership, label semantics drift across packages; without semantics, the dispatch protocol cannot select work safely.\n\nLabels split into two layers:\n\n- **Generic** — lifecycle and dispatchability. Owned by `cnos.core`. The same set in every cnos-using repo.\n- **Per-protocol qualifier** — names which package's runtime owns a given cell. Owned by the protocol package. New packages add their qualifier as part of their install.\n\nSigma (the human-facing admin\u002Fconsole actor) may *apply* labels when authorized by the operator. Sigma does **not** own label semantics, define new labels, or execute the cells the labels gate.\n\n---\n\n## 1. Generic label set (owned by cnos.core)\n\nThe generic labels live at `cnos.core`. They are installed in a repo by `cn install cnos.core`. The data manifest is at `src\u002Fpackages\u002Fcnos.core\u002Flabels.json`.\n\n### 1.1. Lifecycle labels\n\nEvery open issue carries **exactly one** `status:*` label. The label names where the issue is in its lifecycle.\n\n| Label | Meaning | Allowed transitions |\n|---|---|---|\n| `status:backlog` | well-formed scope but not yet refined to dispatch readiness | `status:ready` |\n| `status:ready` | spec'd; ACs converged; awaiting operator authorization | `status:todo`, `status:backlog` |\n| `status:todo` | operator-authorized; dispatch wake may claim | `status:in-progress` |\n| `status:in-progress` | claimed by a dispatch wake; cycle running | `status:review`, `status:blocked` |\n| `status:review` | cell complete; awaiting external\u002Foperator review of the receipt\u002Fresult | `status:changes`, closed |\n| `status:changes` | external review requested changes; issue must be revised before re-dispatch | `status:ready`, `status:todo` |\n| `status:blocked` | gated on external input (operator, infra, external authority) | `status:ready`, `status:todo` |\n\nClosed issue = done. There is no `status:done` (closing the issue is the terminal state).\n\n### 1.2. Dispatchability label\n\n| Label | Meaning |\n|---|---|\n| `dispatch:cell` | executable cell; claimable by a dispatch wake with `status:todo` and a matching `protocol:{id}`. |\n\nIssues that are NOT cells (master trackers, RFCs, planning issues, design notes, conversations) MUST NOT carry `dispatch:cell`. A `kind\u002Fwave` (or `tracking`) master that coordinates cells is not itself a cell — sub-issues are.\n\n---\n\n## 2. Protocol qualifier (owned per package)\n\nEvery `dispatch:cell` issue carries **exactly one** `protocol:{id}` label. The qualifier names which package's runtime owns this cell's execution.\n\n| Qualifier | Owner | What its presence asserts |\n|---|---|---|\n| `protocol:cds` | `cnos.cds` | runtime = CDS software-cell shape (per cnos.cds's spec) |\n| `protocol:cdr` | `cnos.cdr` | runtime = CDR research-cell shape (per cnos.cdr's spec) |\n| `protocol:cdw` | `cnos.cdw` (when the package exists) | runtime = CDW writing-cell shape (per cnos.cdw's spec) |\n| `protocol:{name}` | future package | each future protocol package registers its own qualifier at install |\n\n**Note on cnos.cdd:** `cnos.cdd` is the generic *cell-runtime framework* — it defines the γ\u002Fα\u002Fβ\u002Fδ role contracts, the cell mechanics, and the dispatch protocol that the concrete protocol packages (`cnos.cds`, `cnos.cdr`, `cnos.cdw`, ...) all use under the hood. It does **not** own a `protocol:cdd` qualifier of its own; cells are always labeled with the qualifier of the concrete protocol whose runtime executes them (a software cell carries `protocol:cds`, not `protocol:cdd`).\n\nThe qualifier label is created in the repo when the owning package is installed via `cn install {pkg}`. cnos.core does NOT create these labels — that would conflate the layers.\n\n### 2.1. Required for dispatch\n\nThe authoritative dispatchable selector (defined in detail by `cnos.core\u002Fskills\u002Fagent\u002Fdispatch-protocol\u002FSKILL.md` per cnos#454):\n\n```\nopen\n+ dispatch:cell\n+ protocol:{P}            ← matches the wake's owning package\n+ status:todo\n- status:in-progress\n- status:blocked\n- status:review\n- status:changes\n```\n\nA wake owned by package `{P}` claims **only** issues whose `protocol:{P}` matches. Cross-protocol claims are a protocol violation. A `dispatch:cell + status:todo` issue WITHOUT a `protocol:{id}` label is under-specified and is rejected by every dispatch wake's selector.\n\n### 2.2. Where the cell goes\n\nOnce claimed, the issue is passed to the owning package's runtime — whichever package owns the matched `protocol:{id}`. The generic dispatch protocol does not name any specific runtime; runtime selection is implicit in the qualifier match.\n\n---\n\n## 3. Ownership split\n\nThe two layers have distinct owners and distinct install paths.\n\n| Layer | Owner package | Install responsibility |\n|---|---|---|\n| Generic lifecycle + dispatchability | `cnos.core` (or a future `cnos.agent` sub-package) | `cn install cnos.core` creates `status:backlog`, `status:ready`, `status:todo`, `status:in-progress`, `status:review`, `status:changes`, `status:blocked`, `dispatch:cell` |\n| Per-protocol qualifier | each concrete protocol package | `cn install cnos.cds` creates `protocol:cds`; `cn install cnos.cdr` creates `protocol:cdr`; per-package (cnos.cdd is the framework, not a concrete protocol; it does not create a protocol qualifier) |\n\nCrossing the split is a doctrine violation:\n\n- cnos.core MUST NOT create `protocol:{id}` labels — those are package-owned\n- A protocol package MUST NOT create generic lifecycle labels — those are cnos.core-owned\n- A protocol package MAY depend on cnos.core (its install assumes the generic set exists in the repo)\n\nInstalls are idempotent on label creation. Repeated `cn install cnos.core` runs are no-ops on generic label state; repeated `cn install cnos.cds` (or `cnos.cdr`, future `cnos.cdw`) runs are no-ops on each concrete protocol's `protocol:{id}` label state.\n\n---\n\n## 4. Sigma admin boundary\n\nSigma is the human-facing admin\u002Fconsole actor. Per `cn-sigma:.cn-sigma\u002Fspec\u002FOPERATOR.md §\"CDD role assignment\"`, Sigma plays δ in CDD cycles and the agent-admin role in channel\u002Fwake work. Sigma's relationship with labels is bounded.\n\n### 4.1. Sigma may\n\n- **apply** `status:*` labels when instructed by the operator (e.g., flip `status:ready → status:todo` after operator approval)\n- **apply** `protocol:{id}` labels when the issue body clearly cites a single protocol; ask the operator when ambiguous\n- **apply** `dispatch:cell` when an issue clearly meets the cell criteria (concrete ACs, single-protocol scope, ready for implementation)\n- **report** which issues are dispatchable under each protocol\n- **suggest** label changes to the operator\n\n### 4.2. Sigma may not\n\n- **define** new labels or alter the semantics of existing labels — that is package-owned doctrine (this skill + the protocol packages' contracts)\n- **invent** new lifecycle states or dispatchability markers\n- **execute** the cells the labels gate — execution is the dispatch wake's job, and each dispatch wake belongs to a protocol package\n- **own** the issue queue or its selection algorithm — that's the dispatch protocol (cnos#454)\n- **own** any protocol's `protocol:{id}` label — that's the protocol package\n\nSigma's role with labels is **route \u002F refine \u002F report**, not **define \u002F execute**. This matches Sigma's broader admin\u002Fconsole scope: read directives, surface state, prepare work for the right runtime, never run the runtime itself.\n\n---\n\n## 5. Manifest\n\nThe generic labels' data manifest is at `src\u002Fpackages\u002Fcnos.core\u002Flabels.json`. The manifest is data-only — a `cn install cnos.core` consumer (out of scope here; downstream cycle) reads it and creates the labels in the repo. The manifest lives in `cnos.core` so it travels with the package.\n\nEach entry has at minimum:\n\n| Field | Purpose |\n|---|---|\n| `name` | label name (e.g., `status:todo`) |\n| `description` | one-line meaning |\n| `color` | hex color (no `#`) |\n| `owner` | always `cnos.core` for generic labels |\n| `group` | `lifecycle` or `dispatchability` |\n\nImplementers MAY add fields (e.g., `constraints`, `notes`); the manifest schema is forward-compatible.\n\n---\n\n## 6. Cross-references\n\nThis skill is part of the wake-orchestration cluster (cnos#467). It defines doctrine consumed by:\n\n- **cnos#454** (`agent\u002Fdispatch-protocol`) — defines the claim mechanics, lifecycle transitions, drift handling, and concurrency discipline; consumes this skill's label set and ownership rules\n- **cnos#450** (`agent\u002Fwake-template`) — renders package-owned wake providers; each rendered wake pins its `protocol:{P}` filter at render time per this skill's qualifier rule\n- **cnos#467** (`agent\u002Fwake-orchestration`) — the master architecture; this skill is its first sub (cnos#468)\n\nAdjacent operator\u002Fpersona doctrine:\n\n- `cn-sigma:.cn-sigma\u002Fspec\u002FOPERATOR.md §\"CDD role assignment\"` — Sigma's CDD role; admin boundary context\n- `cn-sigma:.cn-sigma\u002Fspec\u002FPERSONA.md` — Sigma identity\n\nThe skill format:\n\n- `cnos.core\u002Fskills\u002Fagent\u002Fcap\u002FSKILL.md` — example skill format reference\n\n---\n\n## 7. Failure modes\n\n- **Cross-layer label creation.** A package creates a label it does not own (e.g., cnos.cds creates `status:todo`, or cnos.core creates `protocol:cds`). _Fix:_ per-package install commands create only labels in the package's owned set; `cn install` checks ownership before write.\n- **Missing protocol qualifier.** A `dispatch:cell` issue without `protocol:{id}`. _Fix:_ dispatch wakes reject the issue with `degraded_reason: dispatch_protocol_missing` and a repair-instruction comment (per cnos#454 AC9).\n- **Cross-protocol mismatch.** A wake owning `{P}` encounters a cell labeled `protocol:{Q}` where `Q ≠ P`. The handling differs by the wake's entry path:\n  - **Scheduled sweep:** the wake passes over the cell silently (it is not eligible under the wake's selector). The matching wake claims it on its own sweep. Not a drift event.\n  - **Attempted claim \u002F event-targeted dispatch** (e.g., the wake was invoked on this specific issue via a label-trigger or explicit dispatch handle and discovers the protocol mismatch at claim-time): the wake **rejects** the claim and **reports** `degraded_reason: dispatch_protocol_mismatch` with a comment naming the mismatch (per cnos#454 AC9 drift-handling catalogue). This is a drift event.\n  The distinction matters because a sweep over a heterogeneous queue is expected behavior, but a targeted claim attempt landing on a wrong-protocol cell signals upstream label drift or a misrouted trigger and must surface for repair.\n- **Sigma defines new label.** Sigma adds a label not declared by any package's doctrine. _Fix:_ this is a Sigma-admin boundary violation; new labels must originate from a package's doctrine update + manifest change.\n- **Lifecycle skip.** An issue moves from `status:ready` directly to `status:in-progress` without `status:todo`. _Fix:_ dispatch wakes require `status:todo` for claim; transition discipline is enforced by the dispatch protocol (cnos#454 AC4 + AC7).\n- **Body\u002Flabel authorization drift.** A design-first issue's body carries stale hold-state prose (\"Not dispatched — status:ready ... dispatch on explicit operator authorization.\") that contradicts its actual `status:*` label (cnos#614 → cnos#633 recurrence). _Fix:_ the `status:*` label alone is the source of truth for dispatch readiness — see `dispatch-protocol\u002FSKILL.md` §1.2 \"Labels are the sole source of truth for dispatch readiness\" (this skill does not restate that doctrine; §1.2 is its one canonical home) and its D13 failure-mode entry. `cn issues dispatch --issue N` (cnos#640) performs the authorization label flip and the legacy body cleanup as one operator-invoked operation.\n\n---\n\n## 8. Versioning\n\nThis skill is doctrine-adjacent. Future changes follow the constitutive-change approval discipline that governs other doctrine-adjacent skills. Drift between this skill and `cnos.core\u002Flabels.json` is resolved in favor of this skill (the manifest must match the doctrine).\n\nIf a future cycle introduces a new lifecycle state, a new dispatchability marker, or a new label-ownership tier, this skill is the canonical source; the manifest follows.\n","# Label doctrine\n\ncnos's issue-label control plane. Two layers, two owners.\n\n## Core Principle\n\n**Labels are a control plane, not free text.** Each label has an owner (a package), a meaning (what carrying it asserts about the issue), and a role in the dispatch protocol. Without ownership, label semantics drift across packages; without semantics, the dispatch protocol cannot select work safely.\n\nLabels split into two layers:\n\n- **Generic** — lifecycle and dispatchability. Owned by `cnos.core`. The same set in every cnos-using repo.\n- **Per-protocol qualifier** — names which package's runtime owns a given cell. Owned by the protocol package. New packages add their qualifier as part of their install.\n\nSigma (the human-facing admin\u002Fconsole actor) may *apply* labels when authorized by the operator. Sigma does **not** own label semantics, define new labels, or execute the cells the labels gate.\n\n---\n\n## 1. Generic label set (owned by cnos.core)\n\nThe generic labels live at `cnos.core`. They are installed in a repo by `cn install cnos.core`. The data manifest is at `src\u002Fpackages\u002Fcnos.core\u002Flabels.json`.\n\n### 1.1. Lifecycle labels\n\nEvery open issue carries **exactly one** `status:*` label. The label names where the issue is in its lifecycle.\n\n| Label | Meaning | Allowed transitions |\n|---|---|---|\n| `status:backlog` | well-formed scope but not yet refined to dispatch readiness | `status:ready` |\n| `status:ready` | spec'd; ACs converged; awaiting operator authorization | `status:todo`, `status:backlog` |\n| `status:todo` | operator-authorized; dispatch wake may claim | `status:in-progress` |\n| `status:in-progress` | claimed by a dispatch wake; cycle running | `status:review`, `status:blocked` |\n| `status:review` | cell complete; awaiting external\u002Foperator review of the receipt\u002Fresult | `status:changes`, closed |\n| `status:changes` | external review requested changes; issue must be revised before re-dispatch | `status:ready`, `status:todo` |\n| `status:blocked` | gated on external input (operator, infra, external authority) | `status:ready`, `status:todo` |\n\nClosed issue = done. There is no `status:done` (closing the issue is the terminal state).\n\n### 1.2. Dispatchability label\n\n| Label | Meaning |\n|---|---|\n| `dispatch:cell` | executable cell; claimable by a dispatch wake with `status:todo` and a matching `protocol:{id}`. |\n\nIssues that are NOT cells (master trackers, RFCs, planning issues, design notes, conversations) MUST NOT carry `dispatch:cell`. A `kind\u002Fwave` (or `tracking`) master that coordinates cells is not itself a cell — sub-issues are.\n\n---\n\n## 2. Protocol qualifier (owned per package)\n\nEvery `dispatch:cell` issue carries **exactly one** `protocol:{id}` label. The qualifier names which package's runtime owns this cell's execution.\n\n| Qualifier | Owner | What its presence asserts |\n|---|---|---|\n| `protocol:cds` | `cnos.cds` | runtime = CDS software-cell shape (per cnos.cds's spec) |\n| `protocol:cdr` | `cnos.cdr` | runtime = CDR research-cell shape (per cnos.cdr's spec) |\n| `protocol:cdw` | `cnos.cdw` (when the package exists) | runtime = CDW writing-cell shape (per cnos.cdw's spec) |\n| `protocol:{name}` | future package | each future protocol package registers its own qualifier at install |\n\n**Note on cnos.cdd:** `cnos.cdd` is the generic *cell-runtime framework* — it defines the γ\u002Fα\u002Fβ\u002Fδ role contracts, the cell mechanics, and the dispatch protocol that the concrete protocol packages (`cnos.cds`, `cnos.cdr`, `cnos.cdw`, ...) all use under the hood. It does **not** own a `protocol:cdd` qualifier of its own; cells are always labeled with the qualifier of the concrete protocol whose runtime executes them (a software cell carries `protocol:cds`, not `protocol:cdd`).\n\nThe qualifier label is created in the repo when the owning package is installed via `cn install {pkg}`. cnos.core does NOT create these labels — that would conflate the layers.\n\n### 2.1. Required for dispatch\n\nThe authoritative dispatchable selector (defined in detail by `cnos.core\u002Fskills\u002Fagent\u002Fdispatch-protocol\u002FSKILL.md` per cnos#454):\n\n```\nopen\n+ dispatch:cell\n+ protocol:{P}            ← matches the wake's owning package\n+ status:todo\n- status:in-progress\n- status:blocked\n- status:review\n- status:changes\n```\n\nA wake owned by package `{P}` claims **only** issues whose `protocol:{P}` matches. Cross-protocol claims are a protocol violation. A `dispatch:cell + status:todo` issue WITHOUT a `protocol:{id}` label is under-specified and is rejected by every dispatch wake's selector.\n\n### 2.2. Where the cell goes\n\nOnce claimed, the issue is passed to the owning package's runtime — whichever package owns the matched `protocol:{id}`. The generic dispatch protocol does not name any specific runtime; runtime selection is implicit in the qualifier match.\n\n---\n\n## 3. Ownership split\n\nThe two layers have distinct owners and distinct install paths.\n\n| Layer | Owner package | Install responsibility |\n|---|---|---|\n| Generic lifecycle + dispatchability | `cnos.core` (or a future `cnos.agent` sub-package) | `cn install cnos.core` creates `status:backlog`, `status:ready`, `status:todo`, `status:in-progress`, `status:review`, `status:changes`, `status:blocked`, `dispatch:cell` |\n| Per-protocol qualifier | each concrete protocol package | `cn install cnos.cds` creates `protocol:cds`; `cn install cnos.cdr` creates `protocol:cdr`; per-package (cnos.cdd is the framework, not a concrete protocol; it does not create a protocol qualifier) |\n\nCrossing the split is a doctrine violation:\n\n- cnos.core MUST NOT create `protocol:{id}` labels — those are package-owned\n- A protocol package MUST NOT create generic lifecycle labels — those are cnos.core-owned\n- A protocol package MAY depend on cnos.core (its install assumes the generic set exists in the repo)\n\nInstalls are idempotent on label creation. Repeated `cn install cnos.core` runs are no-ops on generic label state; repeated `cn install cnos.cds` (or `cnos.cdr`, future `cnos.cdw`) runs are no-ops on each concrete protocol's `protocol:{id}` label state.\n\n---\n\n## 4. Sigma admin boundary\n\nSigma is the human-facing admin\u002Fconsole actor. Per `cn-sigma:.cn-sigma\u002Fspec\u002FOPERATOR.md §\"CDD role assignment\"`, Sigma plays δ in CDD cycles and the agent-admin role in channel\u002Fwake work. Sigma's relationship with labels is bounded.\n\n### 4.1. Sigma may\n\n- **apply** `status:*` labels when instructed by the operator (e.g., flip `status:ready → status:todo` after operator approval)\n- **apply** `protocol:{id}` labels when the issue body clearly cites a single protocol; ask the operator when ambiguous\n- **apply** `dispatch:cell` when an issue clearly meets the cell criteria (concrete ACs, single-protocol scope, ready for implementation)\n- **report** which issues are dispatchable under each protocol\n- **suggest** label changes to the operator\n\n### 4.2. Sigma may not\n\n- **define** new labels or alter the semantics of existing labels — that is package-owned doctrine (this skill + the protocol packages' contracts)\n- **invent** new lifecycle states or dispatchability markers\n- **execute** the cells the labels gate — execution is the dispatch wake's job, and each dispatch wake belongs to a protocol package\n- **own** the issue queue or its selection algorithm — that's the dispatch protocol (cnos#454)\n- **own** any protocol's `protocol:{id}` label — that's the protocol package\n\nSigma's role with labels is **route \u002F refine \u002F report**, not **define \u002F execute**. This matches Sigma's broader admin\u002Fconsole scope: read directives, surface state, prepare work for the right runtime, never run the runtime itself.\n\n---\n\n## 5. Manifest\n\nThe generic labels' data manifest is at `src\u002Fpackages\u002Fcnos.core\u002Flabels.json`. The manifest is data-only — a `cn install cnos.core` consumer (out of scope here; downstream cycle) reads it and creates the labels in the repo. The manifest lives in `cnos.core` so it travels with the package.\n\nEach entry has at minimum:\n\n| Field | Purpose |\n|---|---|\n| `name` | label name (e.g., `status:todo`) |\n| `description` | one-line meaning |\n| `color` | hex color (no `#`) |\n| `owner` | always `cnos.core` for generic labels |\n| `group` | `lifecycle` or `dispatchability` |\n\nImplementers MAY add fields (e.g., `constraints`, `notes`); the manifest schema is forward-compatible.\n\n---\n\n## 6. Cross-references\n\nThis skill is part of the wake-orchestration cluster (cnos#467). It defines doctrine consumed by:\n\n- **cnos#454** (`agent\u002Fdispatch-protocol`) — defines the claim mechanics, lifecycle transitions, drift handling, and concurrency discipline; consumes this skill's label set and ownership rules\n- **cnos#450** (`agent\u002Fwake-template`) — renders package-owned wake providers; each rendered wake pins its `protocol:{P}` filter at render time per this skill's qualifier rule\n- **cnos#467** (`agent\u002Fwake-orchestration`) — the master architecture; this skill is its first sub (cnos#468)\n\nAdjacent operator\u002Fpersona doctrine:\n\n- `cn-sigma:.cn-sigma\u002Fspec\u002FOPERATOR.md §\"CDD role assignment\"` — Sigma's CDD role; admin boundary context\n- `cn-sigma:.cn-sigma\u002Fspec\u002FPERSONA.md` — Sigma identity\n\nThe skill format:\n\n- `cnos.core\u002Fskills\u002Fagent\u002Fcap\u002FSKILL.md` — example skill format reference\n\n---\n\n## 7. Failure modes\n\n- **Cross-layer label creation.** A package creates a label it does not own (e.g., cnos.cds creates `status:todo`, or cnos.core creates `protocol:cds`). _Fix:_ per-package install commands create only labels in the package's owned set; `cn install` checks ownership before write.\n- **Missing protocol qualifier.** A `dispatch:cell` issue without `protocol:{id}`. _Fix:_ dispatch wakes reject the issue with `degraded_reason: dispatch_protocol_missing` and a repair-instruction comment (per cnos#454 AC9).\n- **Cross-protocol mismatch.** A wake owning `{P}` encounters a cell labeled `protocol:{Q}` where `Q ≠ P`. The handling differs by the wake's entry path:\n  - **Scheduled sweep:** the wake passes over the cell silently (it is not eligible under the wake's selector). The matching wake claims it on its own sweep. Not a drift event.\n  - **Attempted claim \u002F event-targeted dispatch** (e.g., the wake was invoked on this specific issue via a label-trigger or explicit dispatch handle and discovers the protocol mismatch at claim-time): the wake **rejects** the claim and **reports** `degraded_reason: dispatch_protocol_mismatch` with a comment naming the mismatch (per cnos#454 AC9 drift-handling catalogue). This is a drift event.\n  The distinction matters because a sweep over a heterogeneous queue is expected behavior, but a targeted claim attempt landing on a wrong-protocol cell signals upstream label drift or a misrouted trigger and must surface for repair.\n- **Sigma defines new label.** Sigma adds a label not declared by any package's doctrine. _Fix:_ this is a Sigma-admin boundary violation; new labels must originate from a package's doctrine update + manifest change.\n- **Lifecycle skip.** An issue moves from `status:ready` directly to `status:in-progress` without `status:todo`. _Fix:_ dispatch wakes require `status:todo` for claim; transition discipline is enforced by the dispatch protocol (cnos#454 AC4 + AC7).\n- **Body\u002Flabel authorization drift.** A design-first issue's body carries stale hold-state prose (\"Not dispatched — status:ready ... dispatch on explicit operator authorization.\") that contradicts its actual `status:*` label (cnos#614 → cnos#633 recurrence). _Fix:_ the `status:*` label alone is the source of truth for dispatch readiness — see `dispatch-protocol\u002FSKILL.md` §1.2 \"Labels are the sole source of truth for dispatch readiness\" (this skill does not restate that doctrine; §1.2 is its one canonical home) and its D13 failure-mode entry. `cn issues dispatch --issue N` (cnos#640) performs the authorization label flip and the legacy body cleanup as one operator-invoked operation.\n\n---\n\n## 8. Versioning\n\nThis skill is doctrine-adjacent. Future changes follow the constitutive-change approval discipline that governs other doctrine-adjacent skills. Drift between this skill and `cnos.core\u002Flabels.json` is resolved in favor of this skill (the manifest must match the doctrine).\n\nIf a future cycle introduces a new lifecycle state, a new dispatchability marker, or a new label-ownership tier, this skill is the canonical source; the manifest follows.\n",{"name":5,"scope":56,"inputs":57,"parent":59,"outputs":60,"requires":65,"triggers":67,"visibility":38,"description":7,"kata_surface":71,"artifact_class":72,"governing_question":73},"task-local",[58],"none (doctrine reference)","agent",[61,62,63,64],"canonical generic label set","protocol qualifier rule","ownership split between cnos.core and protocol packages","Sigma admin boundary on labels",[66],"none (foundational; consumed by `cnos.core\u002Fskills\u002Fagent\u002Fdispatch-protocol\u002FSKILL.md` per cnos#454, the wake-template renderer per cnos#450, and the agent-admin wake provider per cnos#467)",[68,50,37,69,70],"label","protocol qualifier","issue queue","none","skill","Which labels does cnos use, who owns each, and what may Sigma do with them?","main","fb527e6c4bfb75c71fa75d6471b3aa3da32106d4","src\u002Fpackages\u002Fcnos.core\u002Fskills\u002Fagent\u002Flabel-doctrine",0,"https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos","https:\u002F\u002Fgithub.com\u002Fusurobor","Coherence engineer. Building git-CN.","2026-11-07 14:25:44",{"source":9,"skillName":5,"commands":83,"prompt":93,"zipAvailable":94},[84,87,90],{"tool":85,"command":86},"npx","npx skills add usurobor\u002Fcnos --skill label-doctrine",{"tool":88,"command":89},"bunx","bunx skills add usurobor\u002Fcnos --skill label-doctrine",{"tool":91,"command":92},"pnpm","pnpm dlx skills add usurobor\u002Fcnos --skill label-doctrine","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.core\u002Fskills\u002Fagent\u002Flabel-doctrine\u002FSKILL.md",true,[],[97,118,134,152,167,188],{"skillNo":98,"name":99,"nameZh":100,"description":101,"descriptionZh":102,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":103,"categories":104,"keywords":109,"publishedAt":51},"01M6CF8RWQPM0VXZG06XMR0FFX","issues\u002Ftriage","Issue 分诊与判定","Issue triage doctrine pointer. Use when classifying a new issue, deciding dispatch eligibility, or deciding whether to close\u002Fsupersede\u002Fdefer.","Issue 分诊规则指引。在对新 issue 进行分类、判定其是否符合派发条件，或决定将其关闭\u002F取代\u002F延后时使用。","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.issues\u002Fskills\u002Ftriage\u002FSKILL.md",[105,108],{"categoryNo":106,"categoryName":107,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[110,111,112,113,42,114,115,38,116,37,34,117],"triage","issues","issues triage","issue triage","how","decision","use","doctrine",{"skillNo":119,"name":120,"nameZh":121,"description":122,"descriptionZh":123,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":124,"categories":125,"keywords":128,"publishedAt":51},"01M6CF8PJ812DD4APZ3WE8X67B","issues\u002Ftaxonomy","Issue 标签分类体系","Issue label taxonomy pointer. Use when classifying an issue's kind\u002Farea\u002Fpriority\u002Feffort\u002Fstatus\u002Fprotocol\u002Fdispatch labels, or when the board needs to interpret them.","Issue 标签分类体系指引。在对 issue 的 kind\u002Farea\u002Fpriority\u002Feffort\u002Fstatus\u002Fprotocol\u002Fdispatch 标签进行分类，或看板需要解读这些标签时使用。","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.issues\u002Fskills\u002Ftaxonomy\u002FSKILL.md",[126,127],{"categoryNo":106,"categoryName":107,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[111,129,130,41,50,47,42,131,38,132,116,37,35,34,133],"taxonomy","issues taxonomy","open","board","issue labels",{"skillNo":135,"name":136,"nameZh":17,"description":137,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":51},"01M6CF8KBMZ4D0CDJQ3PF1YVTP","issues\u002Fmap","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\u002FHTML output contract.","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.issues\u002Fskills\u002Fmap\u002FSKILL.md",[],[111,141,41,142,143,144,42,145,129,131,114,146,147,132,148,149,150,151,116,34],"issues map","reasoning","data","pipeline","api","json","README","edit","interactive","fetch","generated",{"skillNo":153,"name":111,"nameZh":17,"description":154,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":51},"01M6CF8CZQH7G7B7RZPANQWR4G","cnos.issues package entrypoint. Use when reasoning about issue taxonomy, the Issue Pivot \u002F 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.","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.issues\u002FSKILL.md",[],[111,41,158,159,160,161,162,46,40,129,131,114,115,163,147,164,116,165,37,166],"pr","current state","run","artifacts","state","branch","command","only","cds",{"skillNo":168,"name":169,"nameZh":17,"description":170,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":51},"01M6CF896XKSRQVB1CSHY8GSXB","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\u002Fiterations\u002FINDEX.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.","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.handoff\u002Fskills\u002Fhandoff\u002Freceipt-stream\u002FSKILL.md",[],[174,175,161,47,176,114,177,178,179,38,180,181,182,183,116,184,185,186,187,117],"receipt stream","handoff","index","learning","format","trace","repo","closeout","read","channel","embedded","patch","shape","cdd",{"skillNo":189,"name":190,"nameZh":17,"description":191,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":192,"categories":193,"keywords":194,"publishedAt":51},"01M6CF84VCBME6RK8V6HAVDM8Z","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\u002Fmain while α\u002Fβ polling sessions are in-flight.","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.handoff\u002Fskills\u002Fhandoff\u002Fmid-flight\u002FSKILL.md",[],[195,41,196,197,198,199,114,200,201,163,180,182,116,165,37,202,35,203,204,205],"mid flight","change","sessions","file","cache","pin","coordination","up","Legacy","gamma","artifact channel"]