Skip to content

fix(skill,ci): restore ClawHub claw.json + dispatchable wallet-publish (Stage 4 re-review)#58

Merged
temrjan merged 2 commits into
mainfrom
fix/stage4-review-followups
Jul 10, 2026
Merged

fix(skill,ci): restore ClawHub claw.json + dispatchable wallet-publish (Stage 4 re-review)#58
temrjan merged 2 commits into
mainfrom
fix/stage4-review-followups

Conversation

@temrjan

@temrjan temrjan commented Jul 10, 2026

Copy link
Copy Markdown
Member

Что сделано

Фикс-PR по ре-ревью Этапа 4 (#57): финальный коммит той арки перезаписал claw.json содержимым server.json, а wallet-publish.yml не мог собрать 0.5.0.

  • skills/rustok-wallet/claw.json восстановлен в ClawHub-формате 0.4.4: версия 0.5.0, в description добавлено предложение про approval-console. Diff против 8a40956^ — ровно 2 строки (version, description).
  • wallet-publish.yml теперь запускаемый: обязательный input version → guard-шаг сверяет его с pyproject.toml до сборки (ввод через env, без shell-интерполяции) → теги vX.Y.Z/vX.Y/vX из input (type=semver,value=…), а не из git-ref → удалён CORE_IMAGE-override (пины базовых образов только в Dockerfile.wallet) → шапка переписана под реальные предусловия (GHCR-пакет rustok-core должен стать Public).
  • docs/CONFIGURATION.md: секция «Approval console» (/run/wallet/approve.sock, правило второго окна) — требование спеки Этапа 4 §4.
  • tests/test_claw_manifest.py: регрессионный гард — ClawHub-ключи присутствуют, server.json-ключей нет, entry существует, версия == pyproject. Red доказан против артефакта исходного дефекта (server.json-клон: 3 падения) и дрейфа версии (1 падение); green 4/4.

Гейты

  • ruff check src tests ✅ · ruff format --check ✅ · mypy src ✅
  • pytest ✅ 141 passed (137 + 4 новых)
  • shellcheck scripts/*.sh ✅ clean
  • claw.json / wallet-publish.yml — json.tool / yaml.safe_load ✅

Ревью

  • /check спеки: 5 находок, вшиты.
  • Fleet-ревью (5 линз + confidence-scorer): 0 блокеров, 0 важных; 1 suggestion (CI-гард claw.json) — закрыт тестом в этом же PR.

Вне скоупа (для протокола)

Релизный поезд 0.5.0 (теги core/console, Public на GHCR-пакетах, ручной запуск wallet-publish) — следующий шаг плана; podman-tmpfs и upgrade-путь старых volume — заметки Этапу 6.

temrjan added 2 commits July 10, 2026 19:49
…chable (Stage 4 re-review)

Stage 4 (#57) landed with claw.json overwritten wholesale by a server.json
copy — the ClawHub manifest fields (entry, permissions, tags,
minOpenClawVersion, license, author) were lost. Restored from the 0.4.4
manifest with only the version bump and the approval-console sentence the
Stage 4 spec asked for.

wallet-publish.yml could not produce a build: it overrode the correct
Dockerfile.wallet base pins with rustok-core:<git-ref> (nonexistent) and
derived image tags from the git ref, which yields zero tags on a
workflow_dispatch from a branch. Now the version comes in as a dispatch
input, is verified against pyproject.toml before anything builds, and the
base-image pins live only in Dockerfile.wallet.

CONFIGURATION.md gets the /run/wallet approval-console section the Stage 4
spec required.
…r.json)

The Stage 4 defect merged with green CI because nothing validates
claw.json. Four checks now pin it: the ClawHub key set from the 0.4.4
baseline, the absence of MCP-registry schema keys, an entry file that
exists, and a version that tracks pyproject.toml. Red proven against
the actual defect artifact (server.json clone: 3 failures) and a
version drift (1 failure); green 4/4 on the restored manifest.
@temrjan temrjan merged commit efdb193 into main Jul 10, 2026
7 checks passed
@temrjan temrjan deleted the fix/stage4-review-followups branch July 10, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant