release-check
Skill4 starsChanged 4 days agoMITView on GitHub
Pre-release end-to-end test for this repo (@aidemd-mcp/aidemd) only. Packs the build exactly as it would publish, installs it into a throwaway project under a temp npm prefix, and checks `aidemd-mcp init`, an upgrade of a project set up by the previous release, the hooks merge, the hook command, the observer (port list, HALT, end-session, page) and headless `/aide` sessions — isolated from the real global install, the real observer and the real per-user app data. Run it before every publish, when the user asks to test a change before release, or when they type /release-check. Not shipped and not installed into host projects.
- Installs packages
16 other projects use a version of this.
Adopted by
Most recently taken up by
- MohibShaikh/clawvettheir own version, first seen Nov 22, 2026
- maximilienGilet/skillstheir own version, first seen Nov 15, 2026
- langchain-ai/design-agenttheir own version, first seen Oct 25, 2026
- phatysddev/skillstheir own version, first seen Oct 9, 2026
- ruby/rdoctheir own version, first seen Oct 8, 2026
- thoughtfulllc/gridlandtheir own version, first seen Oct 8, 2026
Used with
Projects with it also use review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillreview
Fixture review skill.
Also in 5 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- samuelgursky/davinci-resolve-mcp★ 4.5ksame name
- ruby/rdoc★ 931same name
- langchain-ai/design-agent★ 780same name
- thoughtfulllc/gridland★ 363same name
- Thank-you-Linus/Linus-Dashboard★ 214same name
- MohibShaikh/clawvet★ 15same name
- lglucas/ai-dev-operating-system★ 12same name
- acailic/agent_debugger★ 9same name
- phatysddev/skills★ 8same name
- YorkWong1995/OPC-Harness★ 4same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- aide-brain-authorSkill
- aide-handoffSkill
- aide-observerSkill
- aideSkill
- brainSkill
- kanbanSkill
- study-playbookSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Make sure the working tree holds what the release would ship (built from the current source.
- Distinctive: line 22
Run, in the background (it takes ~2 minutes, longer with the headless sessions):
- Very specific: line 29
Read the PASS / FAIL / SKIP table it prints and report.json in the temp folder.
- Distinctive: line 46
Never run it against, or let it modify, the real global npm install, the real observer, the real per-user app data or the user's brain …
- Very specific: line 48
When a check proves wrong or the environment changes, fix run.mjs and record what you learned in NOTES.md.
- Distinctive: line 49
When a release adds or changes user-facing behaviour, add a check for it here in the same piece of work.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
release-check — test the package before it ships
The harness is run.mjs beside this file. What it relies on, and why, is in NOTES.md; read it when a check fails or the environment looks different.
Run it
- Make sure the working tree holds what the release would ship (built from the current source;
npm run buildis part of the run). Run, in the background (it takes ~2 minutes, longer with the headless sessions):
node .claude/skills/release-check/run.mjs --keepFlags:
--keepkeeps the temp folder for inspection (always print its path to the user);--skip-buildreusesdist/;--no-claudeskips the headlessclaude -psessions.- Read the PASS / FAIL / SKIP table it prints and
report.jsonin the temp folder. Exit code 0 means every check that ran passed.
What it checks
- Pack and install: the
.tgznpm packproduces, installed into a temp npm prefix that every test process sees first on PATH; the CLI andaide_inforeport the packed version; the MCP handshake reports it too. - Fresh project:
aidemd-mcp initwrites theaideandbrainMCP entries, AIDE's five hook entries in.claude/settings.local.json(eachnode "<installed entry>" hook, SessionEnd with"timeout": 10, nothing in.claude/settings.json, the local file ignored by git) and theaide-observerskill, installs nothing globally, and a second run changes no file. The brain is wired to a temp vault the same way/aide:brain configdoes it. - Existing settings: a user's own
.claude/settings.json(comments, a user hook, another key) is left byte-identical while the hooks land in the local file; one still holding the previous release's AIDE hooks is left untouched with the/aide:upgradefollow-up, andaide_infolistshooks; a malformed one gets[skipped-malformed]. - Hook:
aidemd-mcp hookfor each hook event exits 0, prints nothing, moves presence working → linked → waiting → ended, and writes nothing into the project. - Observer, simulated agent (no login needed): drives the packed server over MCP stdio — start binds a port other than the real observer's, the session links, a fake open Claude session causes a HALT naming it,
aide_observer_end_sessionends it (and refuses the caller's own session), the next start passes; the page and JSON API answer with liveness states and refuse a missing token. - Headless
/aidesessions: realclaude -pruns in the test project, loading only its own MCP servers and settings: one plain boot, then a HALT against an open session, then an approved end. These need a signed-in Claude CLI; when it is not signed in they SKIP — say so plainly, never as a pass. - One-time move (Windows): a packed server with a fake home and a fake
%LOCALAPPDATA%moves seeded history from the old%LOCALAPPDATA%\aidemdinto%USERPROFILE%\.aidemdbyte for byte, deletes the old observer record and token, and changes nothing on a second start. - Former package only: with just
@aidemd-mcp/server(the package's former name) in its own temp prefix, the packedinitexits 1 with the refusal naming that package andnpm i -g --force <package>, advises no uninstall, and leaves the project and that prefix unchanged. Offline, it SKIPs. - Upgrade from the previous release: the latest published version (or
AIDE_RC_PREVIOUS=<x.y.z>) is installed into its own temp prefix and sets up a project with its owninit; the packed server then runs the/aide:upgradepath on it —aide_infoand theaide_upgradesummary find the drift, every package-owned category is applied (mcp, brain and ide are left to the interactive flow) — and afterwards nothing is outdated, the previous release's hooks have moved from.claude/settings.jsonto.claude/settings.local.json, every reference page is byte-identical to the shipped one, and the user's own files (a spec, code,package.json, the brain config, the session record) are unchanged. Offline, it SKIPs. - Your setup untouched: the real global install, the real observer's record and port, and both real per-user folders (
AIDEMD_HOMEor%USERPROFILE%\.aidemd, and the old%LOCALAPPDATA%\aidemd) are snapshotted before and after and must match. If port 24680 is listening but no observer record can be read, the check fails rather than passing blind.
Rules
- Never run it against, or let it modify, the real global npm install, the real observer, the real per-user app data or the user's brain vault. If a check would need that, stop and tell the user.
- A FAIL is reported to the user with its evidence and fixed through the normal path (code through
/aide, prose directly). Never patch the harness to make a product defect pass. - When a check proves wrong or the environment changes, fix
run.mjsand record what you learned inNOTES.md. - When a release adds or changes user-facing behaviour, add a check for it here in the same piece of work.
- A release ships only when every check that ran passes. Headless SKIPs must be named in the release report; run them from a signed-in terminal before publishing when the change touches the boot, the skills or the hooks.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

