Skip to content

chore: gitignore .claude/worktrees/ - #19

Merged
github-actions[bot] merged 1 commit into
mainfrom
chore/ignore-worktrees
Sep 17, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
chore/ignore-worktrees

Conversation

@atrawog

@atrawog atrawog commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds .gitignore with .claude/worktrees/.

The defect (RCA). AGENTS.md "Hard Cutover by Default" mandates every session
work in .claude/worktrees/<slug>/. That path is per-session, per-machine
ephemeral state and must stay out of git (the charly repo ignores .check/ and
scratchpad/ for the same reason). This repo had no .gitignore at all, so a
checkout following the mandated convention reads dirty.

Consequence: the umbrella's scripts/verify-pins.sh fails with
FAIL: <this repo>: dirty working tree on a tree that is actually clean of source
changes.

How tested

$ git check-ignore -v .claude/worktrees/
.gitignore:7:.claude/worktrees/	.claude/worktrees/
$ git status --short
(clean — only the new .gitignore is staged)

Rulebook compliance

  • R1: the failure was root-caused (missing ignore entry for the mandated dir).
  • R3: one entry, matching the charly convention.
  • R4: fixed at the source, not worked around per-checkout.

Change classification

  • Class: repository config (.gitignore).
  • Verification gate: git check-ignore + git status (pasted).
  • Attribution tier: analysed on a live system.

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)

…e dir)

`AGENTS.md` mandates every session work in `.claude/worktrees/<slug>/`; that path
is per-session, per-machine ephemeral state and must stay out of git. Without
this entry a checkout following the convention reads dirty and the umbrella's
`scripts/verify-pins.sh` fails with `FAIL: plugin-deploy-vm: dirty working tree`.

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 052ed00d2c61d132a696cadb04b1f214884e2d08 (branch not returned by get_pr_meta; base e8acf1b9d6d0)

Security screen: PASS — no secrets/egress/obfuscation; the single added .gitignore entry ignores the AGENTS.md-mandated ephemeral .claude/worktrees/ path and does not disable or loosen any gate, spec, or rulebook.

Checklist: All applicable rules PASS or NA. Change class: non-runtime repository config (.gitignore, 1 file, +7). Diff matches the body exactly (new file mode, 7 lines, line 7 = .claude/worktrees/), the pasted git check-ignore -v output (.gitignore:7:.claude/worktrees/<TAB>.claude/worktrees/) is format-correct and internally consistent with the 6-comment + 1-rule line count, the compliance section answers the risk-carrying rules (R1/R3/R4) with HOW, the tier (analysed on a live system) is not inflated, and the body ends with the italicized *Assisted-by: …* line. Bed/R10, CUE/plugin, Go-quality, disposable-only and placement rules are NA for a comment-only gitignore addition (placement verdict: CORRECT — no code layer involved). Comment intake: thread is empty, nothing to reconcile.

Verdict: PASS


opencode/deepseek-v4.1-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

[step: review]

Review — PASS

Head SHA: 052ed00d2c61d132a696cadb04b1f214884e2d08 (branch not returned by get_pr_meta; base e8acf1b9d6d0)

Security screen: PASS — no secrets/egress/obfuscation; the single added .gitignore entry ignores the AGENTS.md-mandated ephemeral .claude/worktrees/ path and does not disable or loosen any gate, spec, or rulebook.

Checklist: All applicable rules PASS or NA. Change class: non-runtime repository config (.gitignore, 1 file, +7). Diff matches the body exactly (new file mode, 7 lines, line 7 = .claude/worktrees/), the pasted git check-ignore -v output (.gitignore:7:.claude/worktrees/<TAB>.claude/worktrees/) is format-correct and internally consistent with the 6-comment + 1-rule line count, the compliance section answers the risk-carrying rules (R1/R3/R4) with HOW, the tier (analysed on a live system) is not inflated, and the body ends with the italicized *Assisted-by: …* line. Bed/R10, CUE/plugin, Go-quality, disposable-only and placement rules are NA for a comment-only gitignore addition (placement verdict: CORRECT — no code layer involved). Comment intake: thread is empty, nothing to reconcile.

Verdict: PASS


opencode/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 17, 2026 13:14
@github-actions
github-actions Bot merged commit 50ca4b5 into main Sep 17, 2026
2 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Sep 17, 2026
@aitrawog
aitrawog deleted the chore/ignore-worktrees branch September 25, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant