Skip to content

実装: .gitignore に tmp/ を追加して作業中ファイル汚染を防ぐ #35

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: none
goal_ref: ".gitignore に tmp/ を追加して作業中ファイル汚染を防ぐ"
change_kind: workflow

Parent Issue

なし(単独改善)

Parent Goal Ref

Current Validated Scope

  • .gitignore の Local AI workspace settings セクションに tmp/ の 1 行を追加

Remaining Parent Gaps

なし(単独改善)

Outcome

.gitignore に tmp/ 単独行が追加されたコミットが main にマージされ、git check-ignore tmp/foo.md が exit 0(ignored)を返す状態。既存の tmp/nlm/ エントリは保持される(より具体的なエントリは冗長だが残しても挙動に影響なし)。

In Scope

  • .gitignore への tmp/ 行追加

Out of Scope

  • 既存 tmp/nlm/ エントリの削除(冗長だが挙動影響なし)
  • tmp/ 配下の既追跡ファイル削除(現状追跡ファイルは存在しない想定)
  • .claude/skills/*/tmp/ 等の skill 内 tmp ディレクトリ除外(必要時別 Issue)

Acceptance Criteria

  • AC1: .gitignore に ^tmp/$ または ^tmp/ 行が存在する
  • AC2: git check-ignore tmp/test.md が exit 0 を返す(実行は実装者が PR 検証時に確認)

Verification Commands

  • rg -n "^tmp/" .gitignore — # AC1: tmp/ 行存在確認
  • git check-ignore tmp/test.md && echo PASS || echo FAIL — # AC2: ignore 判定確認

Allowed Paths

  • .gitignore

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • 既存 tmp/nlm/ エントリ削除や tmp/ 配下の追跡ファイル削除が必要と判明した場合(別 Issue 化)
  • 他 skill の tmp 仕様変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割)
  • 外部サービス利用・権限昇格が必要になった場合
  • 既存テスト大規模改変が必要になった場合

Required Skills

なし

Notes for Reviewer

観測元: Issue #33 refinement loop の人間コメント。本 Issue は人間指示「作業のついで」を 1 Issue 1 PR 原則に従って独立化したもの。

Activity

  1. added
    enhancement
    phase/implementation
    state/queued
    agent/implementer
    on May 19, 2026
  2. added 2 commits that reference this issue on May 20, 2026
  3. squne121 commented on May 21, 2026

    @squne121
    OwnerAuthor

    implement-issue: 実装完了 (2026-05-21T00:05:24Z)

    検証コマンド結果

    $ rg -n "^tmp/" .gitignore
    28:tmp/
    29:tmp/nlm/
    
    $ git check-ignore tmp/test.md && echo PASS || echo FAIL
    tmp/test.md
    PASS
    
    • Allowed Paths 遵守: true(.gitignore のみ変更)
    • 後続: PR レビュー(pr-review-judge)→ マージ → post-merge-cleanup
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

    agent/implementerenhancementphase/implementationstate/queued

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions