Repository navigation
Closed
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasestate/queuedQueued for implementation
Description
Machine-Readable Contract
contract_schema_version: v1
issue_kind: implementation
parent_issue: none
goal_ref: ".gitignore に tmp/ を追加して作業中ファイル汚染を防ぐ"
change_kind: workflowParent Issue
なし(単独改善)
Parent Goal Ref
- Goal: 各 skill / SubAgent が一時ファイルを書き出す
tmp/ディレクトリを.gitignoreで除外し、誤コミットを防ぐ - 背景: edit-issue / issue-author / refinement-loop は本文書き出しに
tmp/を使うが、現在の.gitignoreはtmp/nlm/のみ除外している。Issue 実装: gemini-cli-headless-delegation のランタイムセットアップテンプレを整備し SubAgent 起動可能状態にする #33 refinement loop の人間コメント 実装: gemini-cli-headless-delegation のランタイムセットアップテンプレを整備し SubAgent 起動可能状態にする #33 (comment) で「作業のついでに tmp/ は gitignore にして」と指示された - 関連:
.gitignore(既存)
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 原則に従って独立化したもの。
Metadata
Metadata
Assignees
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasestate/queuedQueued for implementation
Activity
fix(#84): clarify artifacts/ ops design and pivot execution responsib…
docs: add runtime-verification-policy.md as SSOT for runtime AC ops (#84
squne121 commentedon May 21, 2026
implement-issue: 実装完了 (2026-05-21T00:05:24Z)
.claude/worktrees/issue-35-gitignore-tmpworktree-issue-35-gitignore-tmp検証コマンド結果
chore: .gitignore に tmp/ を追加して作業中ファイル汚染を防ぐ (#35) (#111)