Skip to content

feat(claws): publish CLAW.md prompts - #3262

Merged
Patrick-Erichsen merged 6 commits into
openclaw:mainfrom
giodl73-repo:user/giodl/clawhub-claw-md-soul
Jul 29, 2026
Merged

feat(claws): publish CLAW.md prompts#3262
Patrick-Erichsen merged 6 commits into
openclaw:mainfrom
giodl73-repo:user/giodl/clawhub-claw-md-soul

Conversation

@giodl73-repo

@giodl73-repo giodl73-repo commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Follows merged #3092
Related: openclaw/rfcs#48 and merged openclaw/openclaw#113454

What Problem This Solves

ClawHub's first four experimental slices introduced Claw publication, discovery, and the hosted feed. Their initial CLAW.md body handling required a body and carried its text in the validated package object, which did not match the approved portable prompt contract.

Why This Change Was Made

Publication now treats only a non-whitespace CLAW.md body as the implicit SOUL.md source, allows frontmatter-only CLAW.md, rejects exact or hierarchical workspace conflicts with implicit SOUL.md, and derives the existing bounded capability summary without retaining a second prompt copy. ClawHub validates OpenClaw profile shape without freezing the applying OpenClaw version's evolving built-in profile registry. The hosted fixture proves the exact artifact produces a managed SOUL.md dry-run action without exposing prompt text.

This is the fifth ClawHub slice after the merged #3089-#3092 track. It remains gated by CLAWHUB_EXPERIMENTAL_CLAWS=1.

User Impact

Experimental ClawHub packages can use one human-readable CLAW.md as both manifest envelope and portable agent prompt. Search, detail, and feed summaries report the resulting SOUL.md capability while the exact prompt remains only in the stored artifact. Frontmatter-only packages and grouped JSON with explicit SOUL.md sidecars remain valid.

AI-assisted: implementation and review were completed with Codex; I understand the validation, storage, and feed behavior.

Evidence

  • Restacked onto current ClawHub main after Add gated Claw hosted feed and lifecycle proof #3092 merged; the cross-repo contract now uses canonical openclaw/openclaw.
  • Focused shared-schema and publication suite passes: 363/363.
  • Exact Claw CLI publication test passes.
  • Generated schema output and git diff checks are clean.
  • The pre-restack feed/archive suite passed 5 tests with 2 environment-gated, and autoreview reported no actionable findings.

Post-review validation

  • Three independent model reviews were reconciled across the RFC, OpenClaw, and ClawHub implementation.
  • Exact-head CI run 30143787190 passes the cross-repo OpenClaw contract plus static, unit, package, type/build, HTTP, and browser lanes.
  • Focused package and workflow tests pass: 56/56.
  • Shared-schema generation and both schema/CLI TypeScript builds pass.
  • The cross-repo contract job is pinned to merged OpenClaw #113454 commit e79faff8aa755b201302edd286976a03f9ed79ea, which includes prompt lifecycle validation.
  • Changed files pass Oxfmt, zero-warning Oxlint, and git diff --check.

@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

@giodl73-repo is attempting to deploy a commit to the OpenClaw Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@giodl73-repo
giodl73-repo force-pushed the user/giodl/clawhub-claw-md-soul branch from 31fc649 to 5df9ef2 Compare July 27, 2026 21:33
@giodl73-repo
giodl73-repo marked this pull request as ready for review July 27, 2026 21:33
@giodl73-repo
giodl73-repo requested a review from a team as a code owner July 27, 2026 21:33
@Patrick-Erichsen
Patrick-Erichsen merged commit 79ef4af into openclaw:main Jul 29, 2026
37 of 38 checks passed
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.

2 participants