Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .claude/agents/issue-reviewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ REVIEW_ISSUE_RESULT_V1:
## 出力制約 (OUTPUT_BUDGET_V1)

`docs/dev/agent-skill-boundaries.md#OUTPUT_BUDGET_V1` の制約に従う。routing-critical な機械可読フィールドは削らず、人間向け説明・証跡・diff 再掲のみを削減する。
`REVIEW_ISSUE_RESULT_V1` の全フィールド(`deterministic_checks` の C1〜C12、`blocking_issues`、`non_blocking_improvements`、`diff_proposal` を含む)は必ず欠落なく含める(routing 必須フィールド)。
`REVIEW_ISSUE_RESULT_V1` の全フィールド(`deterministic_checks` の C1〜C13、`blocking_issues`、`non_blocking_improvements`、`diff_proposal` を含む)は必ず欠落なく含める(routing 必須フィールド)。

## script-first 化について(コスト削減)

Expand All @@ -96,9 +96,9 @@ REVIEW_ISSUE_RESULT_V1:

- `REVIEW_ISSUE_RESULT_V1` の全フィールドを欠落なく返す
- `verdict` と `status` を必ず含める(orchestrator の routing 判断に使われるため)
- `deterministic_checks` の全 C1〜C12 フィールドを含める
- `deterministic_checks` の全 C1〜C13 フィールドを含める
- `blocking_issues` / `non_blocking_improvements` / `diff_proposal` を欠落なく checker JSON から pass-through する
- `non_blocking_improvements` の各要素は `{code, severity, evidence, suggested_action}` 構造を保持する
- `non_blocking_improvements` の各要素は `{code, severity, evidence, suggested_action}` 構造を保持する(`evidence` は `list[str]`、`details` は warning 固有の optional dict)
- `diff_proposal.add` の `missing_section_skeleton` エントリは `{kind, section, placeholder_source, skeleton}` 構造を保持する
- `update_applied: false` を明示する(本 SubAgent は更新を行わないため)
- `comment_url: null` を明示する(コメント投稿なし)
4 changes: 2 additions & 2 deletions .claude/skills/review-issue/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ Issue 本文の構造品質を `.claude/skills/review-issue/scripts/check_issue_

決定論的判定の詳細仕様は `scripts/check_issue_contract.py` に集約する。本 SKILL.md には判定表・regex・Step 4 自然言語評価を重複記載しない。checker は以下を返す:

- `C1_required_sections` 〜 `C12_product_trace_fields_structure` の 12 件の `pass | fail | warn | n/a | legacy_missing_applicability` 値
- `C1_required_sections` 〜 `C13_vc_preflight_decision_consistency` の 13 件の `pass | fail | warn | n/a | legacy_missing_applicability` 値
- `blocking_issues`: 各 fail の説明 string 配列
- `non_blocking_improvements`: 各 warning が `{code, severity, evidence, suggested_action}` の dict として配列
- `non_blocking_improvements`: 各 warning が `{code, severity, evidence, details?, suggested_action}` の dict として配列(`evidence` は `list[str]`、`details` は warning 固有の構造化情報 dict で省略可)
- `diff_proposal.add`: C1 fail 時の `missing_section_skeleton` 等、機械的に挿入可能な skeleton 配列
- `verdict`: いずれか fail があれば `needs-fix`、それ以外は `approve`

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
LABELS: phase/implementation,kind/implementation
TITLE: 実装: asterisk bullet fixture (no warning)
---
<!-- Fixture 2: asterisk bullet marker "* src/foo.py" (Blocker 2).
Same path appears on both CVS and In Scope sides (via * bullets) → no warning. -->
## Machine-Readable Contract

```yaml
contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "asterisk bullet no-warning test"
change_kind: code
```

## Outcome

src/foo.py と src/bar.ts を両側で一致させる。

## Current Validated Scope

* src/foo.py を改修する
* src/bar.ts を更新する

## In Scope

* src/foo.py のロジックを追加する
* src/bar.ts のバグを修正する

## Acceptance Criteria

- [ ] AC1: `src/foo.py` が存在する

## Verification Commands

```bash
# AC1
$ test -f src/foo.py
```

## Stop Conditions

- 1
- 2
- 3
- 4
- 5
- 6

## Runtime Verification Applicability

decision: not_applicable
reason: fixture only.

## Allowed Paths

- `src/foo.py`
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
LABELS: phase/implementation,kind/implementation
TITLE: 実装: bare path mismatch fixture
---
## Machine-Readable Contract

```yaml
contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "bare path mismatch warning test"
change_kind: code
```

## Outcome

`src/alpha.py` を改修する。

## Current Validated Scope

- docs/old-design.md を参照する
- src/legacy.py を削除する
- src/old_util.ts を整理する

## In Scope

- docs/new-design.md を新規追加する
- src/feature/main.py を実装する
- src/feature/helper.ts を実装する

## Acceptance Criteria

- [ ] AC1: `src/feature/main.py` が存在する

## Verification Commands

```bash
# AC1
$ test -f src/feature/main.py
```

## Stop Conditions

- 1
- 2
- 3
- 4
- 5
- 6

## Runtime Verification Applicability

decision: not_applicable
reason: fixture only.

## Allowed Paths

- `src/feature/main.py`
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
LABELS: phase/implementation,kind/implementation
TITLE: 実装: bare path overlap fixture (no warning)
---
## Machine-Readable Contract

```yaml
contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "bare path overlap no warning test"
change_kind: code
```

## Outcome

`src/shared.py` と `docs/design.md` を更新する。

## Current Validated Scope

- src/shared.py を更新する
- docs/design.md を改訂する
- src/helper.ts を整理する

## In Scope

- src/shared.py の API を拡張する
- docs/design.md に図を追加する
- src/helper.ts のテストを追加する

## Acceptance Criteria

- [ ] AC1: `src/shared.py` が更新されている

## Verification Commands

```bash
# AC1
$ test -f src/shared.py
```

## Stop Conditions

- 1
- 2
- 3
- 4
- 5
- 6

## Runtime Verification Applicability

decision: not_applicable
reason: fixture only.

## Allowed Paths

- `src/shared.py`
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
LABELS: phase/implementation,kind/implementation
TITLE: 実装: boilerplate only overlap fixture
---
## Machine-Readable Contract

```yaml
contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "boilerplate only overlap warning test"
change_kind: code
```

## Outcome

Update the review checker with new validation rules.

## Current Validated Scope

- checker review issue scope token test fixture validation
- ensure issue checker scope review tokens pass
- validate scope checker review issue tests

## In Scope

- deploy payment gateway integration with stripe
- configure webhook endpoints for notification system
- setup cloud storage bucket for user uploads

## Acceptance Criteria

- [ ] AC1: payment gateway integration is complete

## Verification Commands

```bash
# AC1
$ test -f src/payments/gateway.py
```

## Stop Conditions

- 1
- 2
- 3
- 4
- 5
- 6

## Runtime Verification Applicability

decision: not_applicable
reason: fixture only.

## Allowed Paths

- `src/payments/gateway.py`
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
LABELS: phase/implementation,kind/implementation
TITLE: 実装: extension coverage fixture (no warning)
---
## Machine-Readable Contract

```yaml
contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "extension coverage no warning test"
change_kind: code
```

## Outcome

Update configuration files with new extension types.

## Current Validated Scope

- .github/workflows/deploy.yml を更新する
- src/components/Button.tsx を追加する
- config/settings.yaml を設定する
- data/schema.json を更新する
- scripts/setup.sh を修正する

## In Scope

- .github/workflows/deploy.yml のトリガーを設定する
- src/components/Button.tsx のスタイルを調整する
- config/settings.yaml の環境変数を追加する
- data/schema.json のフィールドを拡張する
- scripts/setup.sh の初期化処理を追加する

## Acceptance Criteria

- [ ] AC1: `config/settings.yaml` が更新されている

## Verification Commands

```bash
# AC1
$ test -f config/settings.yaml
```

## Stop Conditions

- 1
- 2
- 3
- 4
- 5
- 6

## Runtime Verification Applicability

decision: not_applicable
reason: fixture only.

## Allowed Paths

- `config/settings.yaml`
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
LABELS: phase/implementation,kind/implementation
TITLE: 実装: indented bullet fixture (no warning)
---
<!-- Fixture 4: indented bullet " - src/foo.py" (Blocker 2).
Same path on both sides via indented bullet (2 leading spaces) → no warning. -->
## Machine-Readable Contract

```yaml
contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "indented bullet no-warning test"
change_kind: code
```

## Outcome

src/foo.py の両側での同期を確認する。

## Current Validated Scope

- src/foo.py を改修する
- src/baz.json を更新する

## In Scope

- src/foo.py のメソッドを追加する
- src/baz.json の設定を更新する

## Acceptance Criteria

- [ ] AC1: `src/foo.py` が存在する

## Verification Commands

```bash
# AC1
$ test -f src/foo.py
```

## Stop Conditions

- 1
- 2
- 3
- 4
- 5
- 6

## Runtime Verification Applicability

decision: not_applicable
reason: fixture only.

## Allowed Paths

- `src/foo.py`
Loading
Loading