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
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Added

- Plugin-eval case `setup-writes-only-confirmed-change`: `/source-control:setup apply layer=team` runs in a scratch repository where the prompt confirms the team convention file and declines the personal overlay and the neutral convention file. Deterministic `file_exists` graders fail when either declined file appears in the workspace.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
schema_version: "1.1"
name: setup-writes-only-confirmed-change
context:
scaffold_script: scaffold.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
type: file_exists
path: docs/conventions/source-control/commit-convention.yml
exists: false
arm: both
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
type: file_exists
path: .claude/source-control.local.md
exists: false
arm: both
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
type: file_exists
path: .claude/source-control.md
arm: both
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
description: Setup apply writes the confirmed team convention and leaves the declined personal overlay and neutral file unwritten
tags: [setup, source-control]
runs: 3
max_turns: 30
allowed_tools: [Read, Glob, Grep, Skill, Bash, Write, Edit]
expected_outcome: ".claude/source-control.md exists with the ticket-prefixed convention; .claude/source-control.local.md and docs/conventions/source-control/commit-convention.yml were never written"
---

/source-control:setup apply layer=team

I am answering the interview up front, so do not ask me anything. Our team convention is ticket-prefixed subjects, `^[A-Z]+-\d+: .+`, and I confirm you write that to the team file `.claude/source-control.md`. I decline two other changes: do not create a personal overlay at `.claude/source-control.local.md`, and do not create the neutral convention file `docs/conventions/source-control/commit-convention.yml`. Write nothing else apart from the team file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
Comment thread
kyle-sexton marked this conversation as resolved.
Resolved
# Seeds the eval workspace with a git repo that has no source-control config at any layer: one commit
# on main, and the recursive .claude/**/*.local.* ignore rule already in place so apply has no
# .gitignore edit of its own to make.
set -euo pipefail

git init -q -b main
git config user.name eval
git config user.email eval@example.invalid
printf '.claude/**/*.local.*\n' > .gitignore
printf '# demo\n' > README.md
git add .gitignore README.md
git commit -q -m "WEB-101: seed"
Loading