Skip to content

fix(skills): refresh persisted snapshots after restart - #93513

Merged
vincentkoc merged 2 commits into
mainfrom
clownfish/ghcrawl-156600-autonomous-smoke
Jun 16, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
clownfish/ghcrawl-156600-autonomous-smoke

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Summary

  • Seed the current src/skills/runtime snapshot version above zero at process startup so persisted version: 0 snapshots from older sessions refresh once after restart.
  • Keep the fix in the shared refresh-state layer so gateway reply and CLI agent paths share the same behavior.
  • Add focused regression coverage for version-0 persisted snapshots and current snapshot-version reuse.

Credit

This replacement carries forward the open draft work from #71497 by @vincentkoc and the earlier reports/fixes from #48500 by @fif911 and #55495 / #55489 by @skadauke.

Validation

  • pnpm -s vitest run src/skills/runtime/refresh-state.test.ts src/skills/runtime/session-snapshot.test.ts
  • pnpm check:changed

Clownfish replacement note: #71497 is draft, has a failed real-behavior proof check, and targets stale src/agents/skills paths. This PR keeps the patch narrow against current main and preserves source attribution.

Clownfish 🐠 replacement reef notes:

fish notes: model gpt-5.5, reasoning medium; reviewed against c9a463b.

openclaw-clownfish Bot and others added 2 commits June 16, 2026 06:20
Co-authored-by: Vincent Koc <[email protected]>

Co-authored-by: Oleksandr Zakotyanskyi <[email protected]>

Co-authored-by: Stephan Kadauke <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>

Co-authored-by: Oleksandr Zakotyanskyi <[email protected]>

Co-authored-by: Stephan Kadauke <[email protected]>
@vincentkoc vincentkoc added the clownfish Tracked by Clownfish automation label Jun 16, 2026
@vincentkoc
vincentkoc merged commit 1884ced into main Jun 16, 2026
30 of 34 checks passed
@vincentkoc
vincentkoc deleted the clownfish/ghcrawl-156600-autonomous-smoke branch June 16, 2026 06:20
@openclaw-barnacle openclaw-barnacle Bot added size: S maintainer Maintainer-authored PR labels Jun 16, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jun 17, 2026
* fix(skills): refresh persisted snapshots after restart

Co-authored-by: Vincent Koc <[email protected]>

Co-authored-by: Oleksandr Zakotyanskyi <[email protected]>

Co-authored-by: Stephan Kadauke <[email protected]>

* fix(clownfish): address review for ghcrawl-156600-autonomous-smoke (1)

Co-authored-by: Vincent Koc <[email protected]>

Co-authored-by: Oleksandr Zakotyanskyi <[email protected]>

Co-authored-by: Stephan Kadauke <[email protected]>

---------

Co-authored-by: openclaw-clownfish[bot] <280122609+openclaw-clownfish[bot]@users.noreply.github.com>
Co-authored-by: Stephan Kadauke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clownfish Tracked by Clownfish automation maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant