Commit 31bcdae
Add LOC breakdown canvas extension (#17829)
* Add LOC breakdown canvas extension
A project-scoped Copilot CLI canvas that breaks down the lines of code
changed on the current branch by project/category, sorts by total churn,
and tags each category with a heuristic review characterization
(mechanical / documentation / detailed / careful).
Lives in .github/extensions/loc-breakdown so anyone using Copilot CLI
in this repo picks it up automatically.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Address review feedback: drop unused import, validate refs
- Remove unused 'node:path' import.
- Reject user-supplied base/head refs that start with '-' or contain
characters outside the safe set, before passing them to git. Prevents
option-injection if a caller passes e.g. '--upload-pack=evil' as a ref.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add screenshot of LOC breakdown canvas to README
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f8eca3a commit 31bcdae
3 files changed
Lines changed: 598 additions & 0 deletions
| 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 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
0 commit comments