AGENT SKILL

问题契约走查

review/issue-contract

问题契约走查——在检查 diff 之前,验证验收标准(AC)覆盖、具名文档更新、CDD 制品契约以及当前生效技能的一致性。

使用场景代码审查
License 许可
Apache-2.0
所属仓库
usurobor/cnos
最近更新
2026-11-07
Stars
★ 9
Forks
0

01 前言 Front Matter

name
review/issue-contract
calls
[]
scope
task-local
inputs
[ "issue", "PR body", ".cdd/unreleased/{N}/ artifacts", "contract integrity results from Phase 1" ]
parent
review
outputs
[ "AC coverage table", "named doc updates table", "CDD artifact contract table", "active skill consistency table" ]
requires
[ "Phase 1 (contract integrity) completed", "review orchestrator loaded" ]
triggers
[ "review issue contract", "review AC coverage" ]
visibility
internal
description
Issue contract walk — verify AC coverage, named doc updates, CDD artifact contract, and active skill consistency before diff inspection.
kata_surface
external
artifact_class
skill
governing_question
How does β verify that the branch satisfies the issue contract (ACs, named docs, CDD artifacts, active skills) before reading the diff?

02 资源文件 11

03 SKILL.md 正文

Review — Phase 2a: Issue Contract Walk

PRE-GATE: §2.0.0 Contract Integrity (Phase 1) must be completed. Verify branch is unmerged.


§2.0 Issue contract walk

Build these tables before reading the diff:

AC Coverage

# AC In diff? Status Notes

Named Doc Updates

Doc / File In diff? Status Notes

CDD Artifact Contract

Artifact Required? Present? Notes

Active Skill Consistency

Skill Required by Loaded? Applied? Notes

Verify that every Tier 3 skill the issue requires (and every active design constraint named in the project) was actually loaded by α and is applied somewhere in the diff. A required skill that is "loaded" but not "applied" is silent process theater. A skill applied without being declared is a discoverability gap.


After Phase 2a

Collect table results. Pass to Phase 2b (review/diff-context/SKILL.md) for diff and context inspection.

Return to orchestrator (review/SKILL.md) after all Phase 2 sub-skills complete for verdict rules and output format.

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