Skip to content

Commit 25bb1da

Browse files
steipetePeter Steinberger
andauthored
fix(packaging): keep tracked skills visible without a brittle global ignore list (#116766)
* fix(ci): keep tracked repository skills visible without allowlists * style(skills): format newly visible issue sweep skill --------- Co-authored-by: Peter Steinberger <[email protected]>
1 parent aced042 commit 25bb1da

2 files changed

Lines changed: 5 additions & 102 deletions

File tree

‎.gitignore‎

Lines changed: 2 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -131,101 +131,8 @@ USER.md
131131
# local QA evidence mirrors; CI publishes canonical Mantis files as Actions artifacts
132132
/mantis/
133133

134-
# Local project-agent skill installs. Only repo-owned skills are visible by
135-
# default; keep every tracked repo skill allowlisted for Git-aware sync tools.
136-
.agents/skills/*
137-
!.agents/skills/agent-transcript/
138-
!.agents/skills/agent-transcript/**
139-
!.agents/skills/auto-qa/
140-
!.agents/skills/auto-qa/**
141-
!.agents/skills/autoreview/
142-
!.agents/skills/autoreview/**
143-
!.agents/skills/channel-message-flows/
144-
!.agents/skills/channel-message-flows/**
145-
!.agents/skills/claw-score/
146-
!.agents/skills/claw-score/**
147-
!.agents/skills/clawdtributor/
148-
!.agents/skills/clawdtributor/**
149-
!.agents/skills/clawsweeper/
150-
!.agents/skills/clawsweeper/**
151-
!.agents/skills/control-ui-e2e/
152-
!.agents/skills/control-ui-e2e/**
153-
!.agents/skills/crabbox/
154-
!.agents/skills/crabbox/**
155-
!.agents/skills/discord-clawd/
156-
!.agents/skills/discord-clawd/**
157-
!.agents/skills/discord-user-post/
158-
!.agents/skills/discord-user-post/**
159-
!.agents/skills/discrawl/
160-
!.agents/skills/discrawl/**
161-
!.agents/skills/gitcrawl/
162-
!.agents/skills/gitcrawl/**
163-
!.agents/skills/graincrawl/
164-
!.agents/skills/graincrawl/**
165-
!.agents/skills/notcrawl/
166-
!.agents/skills/notcrawl/**
167-
!.agents/skills/openclaw-autonomous-issue-sweep/
168-
!.agents/skills/openclaw-autonomous-issue-sweep/**
169-
!.agents/skills/openclaw-changelog-update/
170-
!.agents/skills/openclaw-changelog-update/**
171-
!.agents/skills/openclaw-ci-limits/
172-
!.agents/skills/openclaw-ci-limits/**
173-
!.agents/skills/openclaw-debugging/
174-
!.agents/skills/openclaw-debugging/**
175-
!.agents/skills/openclaw-docker-e2e-authoring/
176-
!.agents/skills/openclaw-docker-e2e-authoring/**
177-
!.agents/skills/openclaw-ghsa-maintainer/
178-
!.agents/skills/openclaw-ghsa-maintainer/**
179-
!.agents/skills/openclaw-landable-bug-sweep/
180-
!.agents/skills/openclaw-landable-bug-sweep/**
181-
!.agents/skills/openclaw-live-updater/
182-
!.agents/skills/openclaw-live-updater/**
183-
!.agents/skills/openclaw-parallels-smoke/
184-
!.agents/skills/openclaw-parallels-smoke/**
185-
!.agents/skills/openclaw-pr-maintainer/
186-
!.agents/skills/openclaw-pr-maintainer/**
187-
!.agents/skills/prototype-openclaw-tui/
188-
!.agents/skills/prototype-openclaw-tui/**
189-
!.agents/skills/openclaw-qa-testing/
190-
!.agents/skills/openclaw-qa-testing/**
191-
!.agents/skills/openclaw-refactor-docs/
192-
!.agents/skills/openclaw-refactor-docs/**
193-
!.agents/skills/openclaw-secret-scanning-maintainer/
194-
!.agents/skills/openclaw-secret-scanning-maintainer/**
195-
!.agents/skills/openclaw-small-bugfix-sweep/
196-
!.agents/skills/openclaw-small-bugfix-sweep/**
197-
!.agents/skills/openclaw-test-heap-leaks/
198-
!.agents/skills/openclaw-test-heap-leaks/**
199-
!.agents/skills/openclaw-test-performance/
200-
!.agents/skills/openclaw-test-performance/**
201-
!.agents/skills/openclaw-testing/
202-
!.agents/skills/openclaw-testing/**
203-
!.agents/skills/parallels-discord-roundtrip/
204-
!.agents/skills/parallels-discord-roundtrip/**
205-
!.agents/skills/release-openclaw-announcement/
206-
!.agents/skills/release-openclaw-announcement/**
207-
!.agents/skills/release-openclaw-ci/
208-
!.agents/skills/release-openclaw-ci/**
209-
!.agents/skills/release-openclaw-mac/
210-
!.agents/skills/release-openclaw-mac/**
211-
!.agents/skills/release-openclaw-maintainer/
212-
!.agents/skills/release-openclaw-maintainer/**
213-
!.agents/skills/release-openclaw-nightly/
214-
!.agents/skills/release-openclaw-nightly/**
215-
!.agents/skills/release-openclaw-plugin-testing/
216-
!.agents/skills/release-openclaw-plugin-testing/**
217-
!.agents/skills/security-triage/
218-
!.agents/skills/security-triage/**
219-
!.agents/skills/slacrawl/
220-
!.agents/skills/slacrawl/**
221-
!.agents/skills/tag-duplicate-prs-issues/
222-
!.agents/skills/tag-duplicate-prs-issues/**
223-
!.agents/skills/technical-documentation/
224-
!.agents/skills/technical-documentation/**
225-
!.agents/skills/telegram-crabbox-e2e-proof/
226-
!.agents/skills/telegram-crabbox-e2e-proof/**
227-
!.agents/skills/verify-release/
228-
!.agents/skills/verify-release/**
134+
# Keep repository skills visible to Git-aware syncs; local-only skill ignores
135+
# belong in .git/info/exclude.
229136
.agents/skills/**/*.orig
230137
.agents/skills/**/__pycache__/
231138
.agents/skills/**/*.py[cod]

‎test/scripts/package-acceptance-workflow.test.ts‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4510,18 +4510,14 @@ wait_for_run plugin-clawhub-new.yml 123 "${expectedSha}" || status=$?
45104510
});
45114511

45124512
it("keeps every tracked repository skill visible to Git-aware syncs", () => {
4513-
const gitignore = readFileSync(".gitignore", "utf8");
45144513
const skillFiles = execFileSync("git", ["ls-files", ".agents/skills/*/SKILL.md"], {
45154514
encoding: "utf8",
45164515
})
45174516
.trim()
4518-
.split("\n");
4519-
const skillDirs = skillFiles.map((path) => path.split("/").slice(0, 3).join("/"));
4517+
.split("\n")
4518+
.filter(Boolean);
45204519

4521-
for (const skillDir of skillDirs) {
4522-
expect(gitignore).toContain(`!${skillDir}/`);
4523-
expect(gitignore).toContain(`!${skillDir}/**`);
4524-
}
4520+
expect(skillFiles.length).toBeGreaterThan(0);
45254521
const ignored = spawnSync("git", ["check-ignore", "--no-index", "--stdin"], {
45264522
encoding: "utf8",
45274523
input: `${skillFiles.join("\n")}\n`,

0 commit comments

Comments
 (0)