Skip to content

再発防止: 複数入力レーンの aggregate PASS が片側の欠陥を隠さない fixture 作成指針を追加 #3021

Open

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "複数の独立入力経路を集合・重複排除・fallback 等で合流するテストで、片側の欠陥が aggregate PASS に隠れないよう Issue/VC 作成指針を明文化する"
change_kind: docs
dedupe_key: "issue-authoring:multi-input-aggregate-fixture-isolation-guidance:v1"

Parent Issue

none(独立の authoring guidance follow-up)。#3016 の refinement・実装をブロックしない。

Evidence / Dedupe

  • #3016 OWNER review: HTML と Markdown に同じ P2 を含む合成 fixture は、片方の collector だけが実装されても ["P2"] になる。HTML-only の独立入力でないと mutant を検出できない。
  • #2994 / merged PR #3011: HTML-only と Markdown の独立ケース、および test-first behavioral RED を既に実践した先行例。
  • #2966: HOME/XDG という独立した設定入力レーンが単一 regression で覆い隠される同系の false-green。既に個別修正済み。
  • #2765: enumerated AC の PR review 側の evidence rule。今回の対象はIssue / VC 作成時のテスト入力構成の guidanceであり、PR reviewer gate の追加や重複実装ではない。
  • docs/dev/dor.md には AC ごとの独立検証と pytest exit 5 非採用は既存だが、合流ソースを独立 fixture として検証する入力設計の具体例は無い(起票時 main c81d956abbca0062ce24500405b6fd1961c70cc3)。

Outcome

複数ソースから同一値へ合流・重複排除する parser / collector / config fallback 等の Issue を作成するとき、aggregate の PASS だけで全入力レーンの機能を立証したと誤認しないための短い実践的ガイダンスを docs/dev/dor.md に追加する。恒久 gate、新 schema、linter、新 CI、承認レイヤーは設けない。

In Scope

Out of Scope

Acceptance Criteria

  • AC1: docs/dev/dor.md に多入力の合流結果だけを証拠にしない guidance を追加。HTML-only / Markdown-only / mixed と HOME-only / XDG-only の具体例が明示される。
  • AC2: 同 guidance が source-isolated positive/negative + aggregation/dedup の検証を推奨し、既存 behavioral RED と pytest exit 5 の区別を参照する。特定の全 Issue に対する新規 mandatory gate として記述しない。

Runtime Verification Applicability

  • decision: not_applicable
  • reason: docs-only の作成指針であり、既存 runtime 動作を変更しない。

Verification Commands

# AC1
$ rg -n '^### 複数入力の合流結果と独立 fixture' docs/dev/dor.md

# AC2
# preflight-scope: pr_review_only
$ git diff -- docs/dev/dor.md

AC2 の判定は diff 内容の人手/既存 reviewer による意味確認を要する。単に git diff が exit 0 だから達成とは判定しない。

Allowed Paths

  • docs/dev/dor.md

Delivery Rule

独立の docs-only follow-up。既存 issue-refinement-loop / impl-review-loop を用いる。1 Issue = 1 PR。merge は人間判断まで保留する。

Activity

  1. added
    enhancement
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions