7.4 KiB
7.4 KiB
Changelog
All notable changes to this skill are documented here, including anything an
agent or user must do when upgrading. Format follows
Keep a Changelog; versions follow
SemVer and match version in SKILL.md frontmatter.
Read this before upgrading. General upgrade rules:
- OpenClaw hook changes only take effect after re-copying and restarting.
The hook runs from a copy: re-run
cp -r ~/.openclaw/skills/self-improving-agent/hooks/openclaw ~/.openclaw/hooks/self-improvementand restart the gateway after upgrading. .learnings/files are user data and are never migrated or overwritten by upgrades; first-use initialisation is idempotent and only creates missing files.
[Unreleased]
[4.0.2] - 2026-08-06
4.0.1 is skipped: that version number was already used by a build published to ClawHub, so it is not reusable here.
Fixed
- Install commands and clone URL in the docs were wrong (#24). The
advertised
clawdhub installcommand does not exist. The documented commands are nowopenclaw skills install @pskoett/self-improving-agent(built-in, installs into the active workspace) andclawhub install @pskoett/self-improving-agent(ClawHub CLI,npm i -g clawhub, installs into./skillsunder the current working directory). Both take the@owner/slugform — a bare slug is only accepted for already-installed or unambiguous skills. Fixed inREADME.md,SKILL.md, andreferences/openclaw-integration.md. - The manual
git cloneURL used the wrong owner handle (peterskoett→pskoett). The old handle only resolved via a web redirect, whichgit clonedoes not follow, so manual installs failed on a fresh machine.
Added
- GitHub Actions CI (
.github/workflows/ci.ymlat the repo root): runs the hook test suite, type-checkshandler.ts(strict mode, against a CI-only type stub), and syntax-checksextract-skill.shon every push to master and every PR.
Changed
- Repo restructured for ClawHub publishing: the skill package now lives
in the repo's
self-improving-agent/subfolder (SKILL.md, assets, hooks, references, scripts, this changelog), keeping repo-level files (README,.github/) out of the published skill. Install by copying the subfolder, not the repo root — install/upgrade commands in the docs are updated. SKILL.mdfrontmatternamecorrected fromself-improvementtoself-improving-agentto match the skill folder name, as the Agent Skills spec requires. The OpenClaw hook keeps itsself-improvementname, so existing hook installs andopenclaw hooks enable self-improvementare unaffected.
Upgrade notes (4.0.x → 4.0.2)
Documentation only — no skill behavior, hook, or .learnings/ changes. No
action needed beyond reinstalling if you want the corrected install docs.
[4.0.0] - 2026-07-04
Removed
- This distribution is now OpenClaw-only. Removed the Claude Code /
Codex / Copilot integrations:
scripts/activator.sh,scripts/error-detector.sh,references/hooks-setup.md, and the multi-agent setup/support sections inSKILL.mdandreferences/uninstall.md. For other agents, use the original multi-agent version: https://github.com/pskoett/pskoett-ai-skills.
Changed
- Promotion targets are now the OpenClaw workspace files (
SOUL.md,TOOLS.md,AGENTS.md), with the project's own agent file as the target for project-specific patterns. - Hook docs and code comments describe the session-end sweep on its own terms (OpenClaw has no per-tool-call event) instead of contrasting with other platforms.
Upgrade notes (0.3.0 → 4.0.0)
- If you configured the Claude Code/Codex hooks from earlier versions,
remove the stale
.claude/settings.json/.codex/settings.jsonentries pointing atactivator.sh/error-detector.sh, and switch to the original multi-agent skill for those platforms. - Nothing changes for OpenClaw installs beyond the usual re-copy of the
hook directory;
.learnings/data and entry formats are unaffected.
[0.3.0] - 2026-07-04
Added
- Pattern-Key generalized to all three log files: the
ERRORS.mdandFEATURE_REQUESTS.mdentry formats now carry aPattern-Keyfield (recommended for errors, optional for features), joiningLEARNINGS.mdwhere it was previously limited to the simplify-and-harden feed. - Pattern-Key Taxonomy section in
SKILL.md: controlledarea.symptomnamespaces (api,auth,build,config,deps,fs,net,runtime,shell,vcs, plussimplify/harden), with reuse-before-mint and one-key-per-entry rules. - The OpenClaw session-end error sweep stamps deterministic
Pattern-Keyvalues on auto-detected entries (e.g.ModuleNotFoundError→deps.module-not-found), making them recurrence-countable with no agent discipline required.
Changed
- Grep-by-
Pattern-Keyis now the documented default dedup step when logging; keyword grep is the fallback. Recurrences are folded into the existing entry (Recurrence-Count,Last-Seen,See Also) instead of duplicated. - Tightened
SKILL.md(hook sections, taxonomy, duplicated setup blocks) to keep the always-loaded skill prompt compact.
Fixed
scripts/extract-skill.shis now committed with the executable bit set — previously every install needed a manualchmod +x.
Upgrade notes (0.2.0 → 0.3.0)
- Re-copy the OpenClaw hook and restart the gateway (see general rules above) to get Pattern-Key stamping on swept entries.
- Existing
.learnings/entries withoutPattern-Keyremain valid — the field is additive. Add keys opportunistically when touching old entries.
[0.2.0] - 2026-07-04
Added
- OpenClaw session-end error sweep (
hooks/openclaw/): the hook now also fires oncommand:new/command:reset, scans the ended session's transcript for the same error patterns asscripts/error-detector.sh, and appends pending entries (Source: openclaw-error-sweep) to<workspace>/.learnings/ERRORS.md. Opt-in: runs only when<workspace>/.learnings/exists. Excerpts are capped, truncated, redacted, and deduplicated. - Pending-triage note in the bootstrap reminder when auto-detected error entries await review.
- Test suite:
node --test hooks/openclaw/handler.test.js(no dependencies). - Docs: "Error Detection on OpenClaw" section and platform support matrix in
references/openclaw-integration.md; uninstall guide inreferences/uninstall.md; this changelog.
Changed
hooks/openclaw/HOOK.mdevents metadata is now["agent:bootstrap", "command:new", "command:reset"].- Docs now state explicitly that
scripts/error-detector.shis Claude Code only (OpenClaw has noPostToolUseequivalent).
Upgrade notes (0.1.x → 0.2.0)
- Re-copy the hook and restart the gateway (see general rules above).
- To enable the new error sweep:
mkdir -p ~/.openclaw/workspace/.learnings. Without that directory, behavior is identical to 0.1.0. - No breaking changes; no
.learnings/migration needed.
[0.1.0] - 2026-01-31
Added
- Initial release:
SKILL.mdwith logging formats (LEARNINGS.md,ERRORS.md,FEATURE_REQUESTS.md), promotion workflow, and skill extraction. - OpenClaw bootstrap-reminder hook (
agent:bootstrap). - Claude Code hook scripts:
activator.sh(UserPromptSubmit) anderror-detector.sh(PostToolUse). - Reference guides for hooks setup and OpenClaw integration.