-
Notifications
You must be signed in to change notification settings - Fork 3.9k
(feat): Enhancements to Spec Kit #986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 24 commits
15a5630
c59be99
8e9d25e
317ae4d
dbd1437
14a574a
37e87c7
115b433
0ac76c8
9786e58
65f8787
d4d3139
e77d99a
2508d92
a877af5
72cb885
d550634
7522eb3
ba861cd
177dcad
779e1f8
5f1fc6b
0927443
dafab39
d6136cb
f7fe48b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| name: Lint | ||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| push: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,5 +20,8 @@ | |
| "MD050": { | ||
| "style": "asterisk" | ||
| } | ||
| } | ||
| }, | ||
| "ignores": [ | ||
| ".genreleases/" | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,13 +70,14 @@ | |
| 1. **Create release packages** | ||
|
|
||
| Run the following command to generate the local packages: | ||
|
|
||
| ``` | ||
|
Check failure on line 74 in CONTRIBUTING.md
|
||
| ./.github/workflows/scripts/create-release-packages.sh v1.0.0 | ||
| ``` | ||
|
|
||
| 2. **Copy the relevant package to your test project** | ||
|
|
||
| ``` | ||
|
Check failure on line 80 in CONTRIBUTING.md
|
||
| cp -r .genreleases/sdd-copilot-package-sh/. <path-to-test-project>/ | ||
| ``` | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -79,15 +79,40 @@ Set-Location $repoRoot | |||||||||||
| $specsDir = Join-Path $repoRoot 'specs' | ||||||||||||
| New-Item -ItemType Directory -Path $specsDir -Force | Out-Null | ||||||||||||
|
|
||||||||||||
| $highest = 0 | ||||||||||||
| # Get highest number from specs directory | ||||||||||||
| $highestFromSpecs = 0 | ||||||||||||
| if (Test-Path $specsDir) { | ||||||||||||
| Get-ChildItem -Path $specsDir -Directory | ForEach-Object { | ||||||||||||
| if ($_.Name -match '^(\d{3})') { | ||||||||||||
| $num = [int]$matches[1] | ||||||||||||
| if ($num -gt $highest) { $highest = $num } | ||||||||||||
| if ($num -gt $highestFromSpecs) { $highestFromSpecs = $num } | ||||||||||||
| } | ||||||||||||
| } | ||||||||||||
| } | ||||||||||||
|
|
||||||||||||
| # Get highest number from branch names (both local and remote) | ||||||||||||
| $highestFromBranches = 0 | ||||||||||||
| try { | ||||||||||||
| $branches = git branch -a 2>$null | ||||||||||||
| if ($LASTEXITCODE -eq 0) { | ||||||||||||
| foreach ($branch in $branches) { | ||||||||||||
| # Clean branch name: remove leading markers and remote prefixes | ||||||||||||
|
||||||||||||
| # Clean branch name: remove leading markers and remote prefixes | |
| # Clean branch name: remove leading markers and remote prefixes | |
| # The following regex removes: | |
| # - Git's current branch marker ('*') and leading whitespace (e.g., '* main') | |
| # - Remote prefixes (e.g., 'remotes/origin/') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't see any tools loaded anywhere—has this given you issues before? Every single time I forget to set a tool back in one of these agent files, it seems to stop everything... but as frequently as they're changing things, I've stopped trying to guess. 😆 Just calling out as something to verify before you merge.