Skip to content

Commit 533eda6

Browse files
At0mFlowAt0mFlow
authored andcommitted
Keep public tool links complete
1 parent c89d7b3 commit 533eda6

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Audit collector, its tests, synthetic examples, documentation and brand assets.
2828
`https://github.com/At0mFlow/At0mFlow-ScriptAudit.git` or its equivalent
2929
GitHub SSH URL.
3030
- Use synthetic examples and fixtures only.
31+
- Keep the README's `Other public At0mFlow tools` section current. It must link
32+
every other public At0mFlow tool and must not link this repository to itself.
3133
- Before every commit and push, run `./scripts/Test-PublicBoundary.ps1` and
3234
`./tests/Run-Tests.ps1`.
3335
- Stop if the boundary check fails. Do not bypass or weaken it without reviewing

‎scripts/Test-PublicBoundary.ps1‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,18 @@ try {
170170
}
171171
}
172172

173+
$readmeContent = Get-Content -LiteralPath (Join-Path $repositoryRoot 'README.md') -Raw
174+
$requiredPublicToolLinks = @(
175+
'https://github.com/At0mFlow/At0mFlow-PSAnalyzer',
176+
'https://github.com/At0mFlow/At0mFlow-UptimeMonitor',
177+
'https://github.com/At0mFlow/At0mFlow-RepoSync'
178+
)
179+
foreach ($requiredPublicToolLink in $requiredPublicToolLinks) {
180+
if (-not $readmeContent.Contains($requiredPublicToolLink)) {
181+
$failures.Add("README is missing public-tool link: $requiredPublicToolLink")
182+
}
183+
}
184+
173185
if (Test-Path -LiteralPath (Join-Path $repositoryRoot '.git')) {
174186
$remotes = @(git remote)
175187
if ($remotes -contains 'origin') {

0 commit comments

Comments
 (0)