diff --git a/.claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1 b/.claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1 index ce362cb..1c78729 100644 --- a/.claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1 +++ b/.claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1 @@ -160,7 +160,9 @@ Describe 'Test-GitleaksBaseline' { $r = Invoke-Scan @(Get-ChildItem -LiteralPath $r.Work -Filter '*.toml') | Should -HaveCount 0 - @(Get-ChildItem -LiteralPath ([IO.Path]::GetTempPath()) -Filter 'gitleaks-ai-sdlc-*.toml' -ErrorAction SilentlyContinue | Where-Object { $_.LastWriteTime -gt (Get-Date).AddMinutes(-1) -and (Get-Content -LiteralPath $_.FullName -Raw) -match [regex]::Escape($r.Work.Replace('\', '/')) }) | Should -HaveCount 0 + # Other test files run in parallel and share this temp folder, so a scan of theirs can delete its own + # file between the listing and the read. A file that is gone was not left behind, so it is skipped. + @(Get-ChildItem -LiteralPath ([IO.Path]::GetTempPath()) -Filter 'gitleaks-ai-sdlc-*.toml' -ErrorAction SilentlyContinue | Where-Object { $_.LastWriteTime -gt (Get-Date).AddMinutes(-1) -and (Get-Content -LiteralPath $_.FullName -Raw -ErrorAction SilentlyContinue) -match [regex]::Escape($r.Work.Replace('\', '/')) }) | Should -HaveCount 0 } It 'downloads the rule set that names' -ForEach @( diff --git a/.claude/skills/ai-sdlc-gates/sync-manifest.json b/.claude/skills/ai-sdlc-gates/sync-manifest.json index e00a756..f52a5f0 100644 --- a/.claude/skills/ai-sdlc-gates/sync-manifest.json +++ b/.claude/skills/ai-sdlc-gates/sync-manifest.json @@ -96,7 +96,7 @@ ".claude/skills/ai-sdlc-gates/scripts/Sync-AllowRules.ps1": "0466893efb2128502dfe5367058d70231a1c14c3", ".claude/skills/ai-sdlc-gates/scripts/Sync-AllowRules.Tests.ps1": "93de3d86a94954e2a57b6ab417454018efebf041", ".claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.ps1": "d90af9f6881677ca4308cd4b67f7e0cd8a628533", - ".claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1": "ce362cbde96a8fcf61eb8793f075fe5f58ac9c3a", + ".claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1": "1c787298ae7006c185e33ecf53f2b21e721cab03", ".claude/skills/ai-sdlc-gates/scripts/Test-PushReceipt.ps1": "54ec6a3e42d488994ee91d0f4993ba5d3366d96a", ".claude/skills/ai-sdlc-gates/scripts/Test-PushReceipt.Tests.ps1": "74968692c13e072622dcc86e75759a5de35a62b4", ".claude/skills/ai-sdlc-gates/scripts/Test-PushSendsNothingNew.ps1": "79da28786523f1f0c908c66032cce19d5b07f541", diff --git a/CHANGELOG.md b/CHANGELOG.md index b4d1455..d405510 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ merge is ready to tag, and no second pull request is needed to name the version. Each entry names its issue, as `#42`. +## v1.3.3 - 2026-11-09 + +- A `Test-GitleaksBaseline` test no longer fails when a test file that runs in parallel deletes its own + temp file while the test reads the shared temp folder (#22). + ## v1.3.2 - 2026-11-09 - On a network share, the pre-push git hook runs the blocking gates on a local checkout of the pushed diff --git a/apm.lock.yaml b/apm.lock.yaml index cb389b3..dd845af 100644 --- a/apm.lock.yaml +++ b/apm.lock.yaml @@ -3,7 +3,7 @@ apm_version: 0.31.0 dependencies: - repo_url: _local/core name: ai-sdlc-core - version: 1.3.2 + version: 1.3.3 package_type: apm_package deployed_files: - .claude/agents/architect.md @@ -315,7 +315,7 @@ dependencies: .claude/skills/ai-sdlc-gates/scripts/Sync-AgentsFile.ps1: sha256:26d154d3a0e17c5d2e84bc1d388ac7fe292dcf08933e696293b7801cf1a21cd1 .claude/skills/ai-sdlc-gates/scripts/Sync-AllowRules.Tests.ps1: sha256:f5fcd4a5d50f6e617802eaf7ddabf6ec4ae4530dc2f7a4bc7105d4e1b96ee70f .claude/skills/ai-sdlc-gates/scripts/Sync-AllowRules.ps1: sha256:85c9eb910410b46d70124159a7a58599adf0537b3c6200c67de05e40b2d9ed20 - .claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1: sha256:4f5e844252b7ad0a9429d9e4444a4f4a5caeba1c35ffe76be29040fb1f32676a + .claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1: sha256:e8a5763be910fade0018de12453febe990fb84c4ec265e7f9757da4459c55f63 .claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.ps1: sha256:79059d12e703af2ab5534c954f4accd0cce08a102ff8853bef66118fce80a093 .claude/skills/ai-sdlc-gates/scripts/Test-PushReceipt.Tests.ps1: sha256:54ed79f8f67be5481ee9613a12bbfa4b71aa508f2d143e661afbe518db8f40ef .claude/skills/ai-sdlc-gates/scripts/Test-PushReceipt.ps1: sha256:12cb640a6acf0d1966b43798f9bbde65bffc76ad05781e5dfc8338599f329158 @@ -331,7 +331,7 @@ dependencies: .claude/skills/ai-sdlc-gates/scripts/gitleaks-rules.json: sha256:6a8a75c5dbcf2378a1c52d046e34ce275aac7ce08a0ae61408d25c18e1e27014 .claude/skills/ai-sdlc-gates/scripts/gitleaks-version.json: sha256:c54acb854f87a1bbdf0e90c670b72b5de3cd37f7e460d82eca599c3c7af23a84 .claude/skills/ai-sdlc-gates/skill-catalog.json: sha256:5537684656bf189a740ba7e9e7050083af05668d00501ce1e9c6909cb8b91203 - .claude/skills/ai-sdlc-gates/sync-manifest.json: sha256:547a69750aed8c4ff59aed2ad698dc7e9a52414a2e301ce6a7468a192938960e + .claude/skills/ai-sdlc-gates/sync-manifest.json: sha256:6912b15b11efef78b071cddfafa6b4ccd56358a00677e9e9a302070383daba35 .claude/skills/ai-sdlc-handbook/SKILL.md: sha256:548e6b9ad79d3d2afa2f5779835988eeb12c49cda08917c4bbaa9ac0486a47a0 .claude/skills/ai-sdlc-handbook/references/README.md: sha256:654afcaa2b81f560eff93dbdef521b09ced06137a1dbb85d70a4e14ef7502248 .claude/skills/ai-sdlc-handbook/references/artifact-graph.md: sha256:d7ddfe20e5ee6565bcf25f9cef0f578da2a4ab1590033d791b8814d4688fd1f0 @@ -427,7 +427,7 @@ dependencies: local_path: ./core - repo_url: _local/discovery name: ai-sdlc-discovery - version: 1.3.2 + version: 1.3.3 package_type: apm_package deployed_files: - .claude/skills/draw-customer-journey @@ -444,7 +444,7 @@ dependencies: local_path: ./packs/discovery - repo_url: _local/github name: ai-sdlc-github - version: 1.3.2 + version: 1.3.3 package_type: apm_package deployed_files: - .claude/skills/fix-pr-feedback @@ -534,7 +534,7 @@ dependencies: local_path: ./packs/github - repo_url: _local/github-issues name: ai-sdlc-github-issues - version: 1.3.2 + version: 1.3.3 package_type: apm_package deployed_files: - .claude/agents/draft-reviewer.md @@ -1407,7 +1407,7 @@ deployments: owners: - ./core active_owner: ./core - content_hash: sha256:4f5e844252b7ad0a9429d9e4444a4f4a5caeba1c35ffe76be29040fb1f32676a + content_hash: sha256:e8a5763be910fade0018de12453febe990fb84c4ec265e7f9757da4459c55f63 - kind: project-relative target: claude value: .claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.ps1 @@ -1551,7 +1551,7 @@ deployments: owners: - ./core active_owner: ./core - content_hash: sha256:547a69750aed8c4ff59aed2ad698dc7e9a52414a2e301ce6a7468a192938960e + content_hash: sha256:6912b15b11efef78b071cddfafa6b4ccd56358a00677e9e9a302070383daba35 - kind: project-relative target: claude value: .claude/skills/ai-sdlc-handbook diff --git a/core/.apm/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1 b/core/.apm/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1 index ce362cb..1c78729 100644 --- a/core/.apm/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1 +++ b/core/.apm/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1 @@ -160,7 +160,9 @@ Describe 'Test-GitleaksBaseline' { $r = Invoke-Scan @(Get-ChildItem -LiteralPath $r.Work -Filter '*.toml') | Should -HaveCount 0 - @(Get-ChildItem -LiteralPath ([IO.Path]::GetTempPath()) -Filter 'gitleaks-ai-sdlc-*.toml' -ErrorAction SilentlyContinue | Where-Object { $_.LastWriteTime -gt (Get-Date).AddMinutes(-1) -and (Get-Content -LiteralPath $_.FullName -Raw) -match [regex]::Escape($r.Work.Replace('\', '/')) }) | Should -HaveCount 0 + # Other test files run in parallel and share this temp folder, so a scan of theirs can delete its own + # file between the listing and the read. A file that is gone was not left behind, so it is skipped. + @(Get-ChildItem -LiteralPath ([IO.Path]::GetTempPath()) -Filter 'gitleaks-ai-sdlc-*.toml' -ErrorAction SilentlyContinue | Where-Object { $_.LastWriteTime -gt (Get-Date).AddMinutes(-1) -and (Get-Content -LiteralPath $_.FullName -Raw -ErrorAction SilentlyContinue) -match [regex]::Escape($r.Work.Replace('\', '/')) }) | Should -HaveCount 0 } It 'downloads the rule set that names' -ForEach @( diff --git a/core/.apm/skills/ai-sdlc-gates/sync-manifest.json b/core/.apm/skills/ai-sdlc-gates/sync-manifest.json index e00a756..f52a5f0 100644 --- a/core/.apm/skills/ai-sdlc-gates/sync-manifest.json +++ b/core/.apm/skills/ai-sdlc-gates/sync-manifest.json @@ -96,7 +96,7 @@ ".claude/skills/ai-sdlc-gates/scripts/Sync-AllowRules.ps1": "0466893efb2128502dfe5367058d70231a1c14c3", ".claude/skills/ai-sdlc-gates/scripts/Sync-AllowRules.Tests.ps1": "93de3d86a94954e2a57b6ab417454018efebf041", ".claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.ps1": "d90af9f6881677ca4308cd4b67f7e0cd8a628533", - ".claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1": "ce362cbde96a8fcf61eb8793f075fe5f58ac9c3a", + ".claude/skills/ai-sdlc-gates/scripts/Test-GitleaksBaseline.Tests.ps1": "1c787298ae7006c185e33ecf53f2b21e721cab03", ".claude/skills/ai-sdlc-gates/scripts/Test-PushReceipt.ps1": "54ec6a3e42d488994ee91d0f4993ba5d3366d96a", ".claude/skills/ai-sdlc-gates/scripts/Test-PushReceipt.Tests.ps1": "74968692c13e072622dcc86e75759a5de35a62b4", ".claude/skills/ai-sdlc-gates/scripts/Test-PushSendsNothingNew.ps1": "79da28786523f1f0c908c66032cce19d5b07f541", diff --git a/core/apm.yml b/core/apm.yml index 31e4e15..4b8a2c3 100644 --- a/core/apm.yml +++ b/core/apm.yml @@ -1,3 +1,3 @@ name: ai-sdlc-core -version: "1.3.2" +version: "1.3.3" description: The AI-SDLC core for every repository - workflow skills, review agents, hooks, core gates and the handbook. diff --git a/packs/bicep/apm.yml b/packs/bicep/apm.yml index f4adc63..d520944 100644 --- a/packs/bicep/apm.yml +++ b/packs/bicep/apm.yml @@ -1,3 +1,3 @@ name: ai-sdlc-bicep -version: "1.3.2" +version: "1.3.3" description: The Bicep pack - Bicep conventions for infrastructure templates. diff --git a/packs/blazor/apm.yml b/packs/blazor/apm.yml index 4051d28..6ed757a 100644 --- a/packs/blazor/apm.yml +++ b/packs/blazor/apm.yml @@ -1,3 +1,3 @@ name: ai-sdlc-blazor -version: "1.3.2" +version: "1.3.3" description: The Blazor pack - portal UI conventions, component authorization and the Razor gates. diff --git a/packs/discovery/apm.yml b/packs/discovery/apm.yml index 5f4be68..daec5fc 100644 --- a/packs/discovery/apm.yml +++ b/packs/discovery/apm.yml @@ -1,3 +1,3 @@ name: ai-sdlc-discovery -version: "1.3.2" +version: "1.3.3" description: The discovery pack - the discovery workflows that write a research summary, a journey map and a hypothesis canvas as markdown files in the repository. diff --git a/packs/dotnet/apm.yml b/packs/dotnet/apm.yml index 22b28d8..de17529 100644 --- a/packs/dotnet/apm.yml +++ b/packs/dotnet/apm.yml @@ -1,3 +1,3 @@ name: ai-sdlc-dotnet -version: "1.3.2" +version: "1.3.3" description: The .NET pack - C# conventions, test-first, the .NET gates and the code graph. diff --git a/packs/github-issues/apm.yml b/packs/github-issues/apm.yml index 9e69908..846a255 100644 --- a/packs/github-issues/apm.yml +++ b/packs/github-issues/apm.yml @@ -1,3 +1,3 @@ name: ai-sdlc-github-issues -version: "1.3.2" +version: "1.3.3" description: The GitHub Issues pack - issue conventions and the issue contract gates. diff --git a/packs/github/apm.yml b/packs/github/apm.yml index af67ef0..a60c638 100644 --- a/packs/github/apm.yml +++ b/packs/github/apm.yml @@ -1,3 +1,3 @@ name: ai-sdlc-github -version: "1.3.2" +version: "1.3.3" description: The GitHub pack - pull requests, review threads, pull request delivery metrics and the GitHub Actions workflows. diff --git a/packs/knowledge/apm.yml b/packs/knowledge/apm.yml index 10737dc..cd0da5f 100644 --- a/packs/knowledge/apm.yml +++ b/packs/knowledge/apm.yml @@ -1,3 +1,3 @@ name: ai-sdlc-knowledge -version: "1.3.2" +version: "1.3.3" description: The knowledge pack - the conventions and the workflow for platform knowledge notes in the knowledge repository. diff --git a/packs/sonarcloud/apm.yml b/packs/sonarcloud/apm.yml index c5779dc..6c79dba 100644 --- a/packs/sonarcloud/apm.yml +++ b/packs/sonarcloud/apm.yml @@ -1,5 +1,5 @@ name: ai-sdlc-sonarcloud -version: "1.3.2" +version: "1.3.3" description: The SonarQube Cloud pack - the SonarQube MCP server for the agent session, and the gate that keeps the token and the organization out of the repository. dependencies: mcp: