Repository navigation
Releases: gelse/AI-snippets
Releases · gelse/AI-snippets
Release list
Release v0.3.2
Highlights
- Per-mode
permissionsmatrix inmodes.json, emitted as opencode v2permissions:rules and enforced byverify.pyand the opencode install smoke test. - Breaking: v1
permission:dict replaced by v2permissions:list — migrate downstream parsers. new_task→taskrename across skills/agents; emitter fail-loud and scoped-glob oracle hardening.
Full changelog: https://github.com/gelse/AI-snippets/blob/main/CHANGELOG.md#032---2026-10-10
Release v0.3.1
Fixed
Makefileinstall-opencode-globalskill copy: the loop globbed the flatoutput/opencode/skill/*.mdpath while the generator emitsoutput/opencode/skill/<name>/SKILL.md, so no skills were installed (cp: cannot stat). The loop now iteratesoutput/opencode/skill/*/SKILL.mdand installs every skill as$(OPENCODE_CONFIG_HOME)/opencode/skills/<name>/SKILL.mdwith companion files alongside; a failingSKILL.mdcopy aborts the target. Regression test:scripts/smoke-test-opencode-install.sh.
Included fix commits
9f4b6f3Harden opencode install loop and log fix in changelog3901e24Assert skill side files in opencode smoke test4177c98Update docs for fixed opencode skill install757d731Fix install-opencode-global skill copy
Release v0.3.0
Highlights
Release v0.3.0 — Python-only installer port, agent/skill refactor, and the removal of all npm packaging.
Fixed
- OpenCode skill emitter dir form:
generate.pyemitted flatoutput/opencode/skill/<name>.mdfiles — a latent pre-existing bug, since OpenCode only discovers{skill,skills}/**/SKILL.mdand silently ignored the flat output. Skills are now written asoutput/opencode/skill/<name>/SKILL.md(frontmatter and body unchanged). docs/development.mdCLI-installer note states the CLI emits directory-form skills that OpenCode discovers; thescripts/smoke-test.shpost-overwrite assertion comment references the generatedoutput/tree.
Changed
- Agent/skill refactor: each active mode's
agents/<slug>.mdinstruction file is reduced to a stub that names itsagent-<slug>runbook skill, and ten newskills/agent-<slug>.mdskills carry the full workflows;modes.jsonwires the two together.docs/architecture.md,docs/lieutenant-workflow.md, andREADME.mdreflect the stub/runbook split. - Dispatch contract: the
target-agent/target-agent-skillheader everynew_taskdispatch must carry is specified inskills/agent-captain.mdandskills/agent-lieutenant.md.
Added
scripts/install.py— Python installer: plan-then-execute, collision prompts[o]verwrite/[s]kip/[a]bt],--yes/--dry-run,--global|--local,--skills-only|--agents-only, interactive wizard, and the non-TTY stdin contract. Readsoutput/install-manifest.json.scripts/merge-modes.pyimportablemerge()refactor with byte-identical CLI behavior.- Smoke tests (
scripts/smoke-test.sh,scripts/smoke-test-double-install.sh) rewritten to invoke the Python installer. Dockerfileanddocker-compose.ymlfor running the generators on hosts without Python 3.11.- Claude Code documented in
README.mdas a research-phase target that is not officially supported.
Removed
- npm publishing: the
npm-publishGitHub Actions workflow anddocs/npm-trusted-publishing.md;release.py finalize(GitHub release + tag onmain) is the sole release automation. - npm packaging + npx install path:
package.json,package-lock.json,tsconfig.json,tsup.config.ts, thesrc/TypeScript sources,skills/release/release.ts, and the Makefile node targets;make verifyis now a thin alias ofmake check-py.
Release v0.2.0
AI-snippets v0.2.0
Second release. Testing promoted to main; tag v0.2.0 on main HEAD.
Added
captainclassification/supervision mode (default entry point, referenced bylieutenant); five task-type skills (full-feature,small-feature,bugfix,architecture,implementation-from-milestone);documentationskill.- npm package scaffold + installer CLI (
npx @gelse/ai-snippets install <tool>for zoo, kilo, opencode, claude) with interactive wizard, collision prompts, YAML merge for zoo global modes, and non-TTY stdin contract;install-manifest.jsonemitter;make package-npx*targets; OIDC npm publish workflow (trusted publishing). models/mapping.yamlmodel mapping (v0.1): OpenCode agents emit mappedmodeland amodefield derived from the mode'sinstantiation(defaultall);docs/opencode-target-drift.mddrift report.make install-opencode-global(honorsXDG_CONFIG_HOME); double-install and merge-idempotency smoke tests;check-nodeMakefile guard; node-optional block inmake verify.
Changed
orchestratordeprecated in favour oflieutenant(gatekeeper redirects); sequential nestednew_taskspawning incode/lieutenant;review-code/review-planno longer spawn sub-tasks;merge-modes.pyhardened; docs restructure (docs/architecture.md,docs/development.md,docs/lieutenant-workflow.md); README rewritten around the captain/skills layout;github-issuerouted throughcaptain.
Fixed
- Duplicate entries on re-install:
mergeModesYaml()replaced the stale-index splice with single-pass filter by slug. - OpenCode skills docs: discovery requires directory form
{skill,skills}/**/SKILL.md. install-opencode-globalhonorsXDG_CONFIG_HOME.
Removed
- Legacy JS-only Makefile targets and dual-stack scripts (
generate.mjs,verify.mjs,scripts/package.json); Python (generate.py,verify.py) is the sole generator.
Full notes: see CHANGELOG.md → ## [0.2.0] - 2026-09-29.
Release v0.1.0
Initial development release of the AI-snippets toolkit.
Added
modes.jsonmode definitions withgenerate.pygenerator and Makefile targets for Zoo, Claude Code, OpenCode, and Kilo Code deployment.- Skills:
github-issue,grilling,writing-for-humans,release(dual-form: markdown and directory with companion scripts). release.pyCLI withpreflight,changes,check-version,finalize, andpost-verifysubcommands, plus SKILL.md with pause gates.verify.pywith dual-form skill validation and collision checks.
Fixed
release.pynow tags the release onmain(after promotion) instead oftesting.- Moved
finalizeancestry guards before checkout so aborted runs leave the tree on the original branch.