Commit cb77640
feat(git-tidy): add confidence-rated git repository hygiene skill (#50)
* feat(git-tidy): add confidence-rated git repository hygiene skill
Add the git-tidy skill: a read-only-by-default audit of branches,
worktrees, stashes, tags, remotes, merge artifacts, ignored-but-tracked
files, large history blobs, and maintenance health. Every finding is
classified by confidence (safe, review, keep). Nothing is deleted, no
history is rewritten, and no protected branch is touched without an
explicit approval gate. Ported from the internal devx git-clean skill
and adapted to this repo's conventions, with a Vally capability eval,
a cross-surface registration test, and a gpt-image-2 thumbnail.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 875e3648-1626-4968-ba79-ca7e78eea43d
* fix(git-tidy): make two eval stimuli require skill invocation
The require-approval-before-cleanup and metadata-is-untrusted stimuli
were answerable without opening the skill: an open-ended "clean up my
repo" prompt in CI's non-repo working directory drew a clarifying
question, and a single-branch classification was trivial by direct
reasoning. Both failed the CI per-trial skill-invocation gate even
though the overall eval scored 90.4 percent. Rewrite both to supply
explicit multi-branch repository state so answering requires the
git-tidy confidence taxonomy, matching the four passing stimuli.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 875e3648-1626-4968-ba79-ca7e78eea43d
* fix(git-tidy): force skill invocation across all eval stimuli
The protect-default-and-release stimulus intermittently failed the CI
per-trial skill-invocation gate: git hygiene is common knowledge, so a
capable agent answered the simple protected-branch question by direct
reasoning without opening the skill. The overall eval still scored 94.4
percent. Make every stimulus request each item's git-tidy status label
(merged, orphan-tracking, stash-ancient, blob-history-only, protected
skipped, and so on). Those labels are defined only in SKILL.md, so
producing them requires opening the skill on every trial.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 875e3648-1626-4968-ba79-ca7e78eea43d
---------
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 875e3648-1626-4968-ba79-ca7e78eea43d1 parent c114241 commit cb77640
19 files changed
Lines changed: 2951 additions & 2 deletions
File tree
- .github/workflows
- docs
- site
- public/images
- src/content/skills
- skills/git-tidy
- evals
- git-tidy
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments