Skip to content

docs(claws): define application project lifecycle - #56

Closed
giodl73-repo wants to merge 10 commits into
openclaw:mainfrom
giodl73-repo:user/giodl/claw-project-framework
Closed

giodl73-repo wants to merge 10 commits into
openclaw:mainfrom
giodl73-repo:user/giodl/claw-project-framework

Conversation

@giodl73-repo

@giodl73-repo giodl73-repo commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Depends on RFC #48 and RFC 0031 / PR #52.

Status

Waiting for prerequisite implementation and RFC landings.

Summary

This RFC 0016 addendum defines the complete Claw application-development lifecycle while keeping OpenClaw as the runtime and canonical mutation owner. It distinguishes:

  1. a human-authored Claw project;
  2. a deterministic immutable npm-compatible .tgz package; and
  3. one applied Claw with canonical OpenClaw provenance.

The author flow is create -> validate -> offline dev -> deterministic build. ClawHub accepts and returns the exact already-built bytes rather than rebuilding source.

Completed Implementation Series

  1. OpenClaw #117037 - local authoring lifecycle.
  2. ClawHub #3359 - exact built-artifact publication.
  3. Awesome Claws #5 - Golden Claw and clean-recipient proof.

Golden artifact SHA-256: 02ab968af17c75d473bcf0a839735a1104dcaf135838651d5af4e59899e2f916

Landing Order

Land OpenClaw #121327, merge RFC #48, rebase and merge RFC 0031, then rebase this branch and request an exact-head re-review before merging it last.

@giodl73-repo
giodl73-repo force-pushed the user/giodl/claw-project-framework branch from 4074436 to 1d41b8f Compare July 31, 2026 19:02
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. labels Jul 31, 2026
@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown

Codex review: needs real behavior proof before merge. Reviewed August 11, 2026, 9:57 PM ET / August 12, 2026, 01:57 UTC.

ClawSweeper review

What this changes

The RFC adds a Claw project lifecycle for creating, validating, developing, deterministically building, publishing, and applying Claw packages.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep this draft RFC open: it introduces a new public authoring lifecycle and explicitly depends on two still-open RFCs plus prerequisite runtime work, so it needs maintainer product sequencing rather than closure.

Priority: P3
Reviewed head: 7635e39dcf2b5e1f2d92d01e3df8cc36c2a9420f
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The documentation proposal is coherent, but its landing depends on maintainer acceptance of prerequisite contracts.
Proof confidence 🌊 off-meta tidepool Not applicable: All changed paths are RFC Markdown, so runtime proof is not required; the cited implementation work remains a prerequisite for accepting this contract.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: All changed paths are RFC Markdown, so runtime proof is not required; the cited implementation work remains a prerequisite for accepting this contract.
Evidence reviewed 5 items Current lifecycle boundary: Current main documents only inspect/add/status/update/remove/export; the proposed create/validate/build/dev authoring layer is not present.
Existing ownership model: RFC 0016 keeps agent, workspace, package, MCP, schedule, and provenance mutation under OpenClaw ownership, which this proposal must preserve.
Feature provenance: The existing Claws RFC was introduced by this merged commit; its author is the strongest current-history routing candidate.
Findings None None.
Security None None.

How this fits together

Claws package a new OpenClaw agent with its workspace, dependencies, MCP declarations, schedules, and provenance. This proposal adds an authoring layer that produces an immutable package before ClawHub distributes it and OpenClaw applies it.

flowchart LR
A[Claw project source] --> B[Validate and build]
B --> C[Immutable package]
C --> D[ClawHub publication]
D --> E[OpenClaw apply]
E --> F[Agent workspace and resources]
Loading

Decision needed

Question Recommendation
After the prerequisite RFCs and runtime work land, should OpenClaw adopt first-class Claw project commands for create, validate, build, and offline development? Sequence after prerequisites: Keep the draft open, then rebase and review it against the accepted prerequisite contracts before deciding on merge.

Why: This RFC creates new public lifecycle and package-contract surface; only maintainers can decide whether that product direction and sequencing belong in core.

Before merge

  • Add real behavior proof - Not applicable: All changed paths are RFC Markdown, so runtime proof is not required; the cited implementation work remains a prerequisite for accepting this contract.
  • Resolve merge risk (P1) - Merging before the referenced portable-profile and composition RFCs are accepted could lock the project lifecycle to contracts that later change.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
RFC surface 3 Markdown files; +633/-1 lines This is a substantial normative lifecycle and implementation-plan addition, not a small clarification.

Merge-risk options

Maintainer options:

  1. Rebase after accepted contracts (recommended)
    Require reconciliation with the final portable-profile and composition contracts before merge.
  2. Defer this lifecycle
    Pause the RFC if maintainers prefer to keep Claws limited to the existing package-application lifecycle.

Technical review

Best possible solution:

Accept and land the prerequisite runtime and RFC contracts first, then rebase this addendum and review the resulting public authoring lifecycle against those final boundaries.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this is a documentation-only proposal for new behavior, not a report of failing current behavior.

Is this the best way to solve the issue?

Unclear: dependency ordering is appropriate, but maintainers must accept the prerequisite portable-profile and composition contracts before this becomes the narrowest durable solution.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against af708f0ddb6f.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P3: This is a draft product RFC rather than a current user-impacting defect.
  • merge-risk: 🚨 compatibility: The proposed public authoring commands and immutable-package contract would create future user and tool compatibility expectations.
  • merge-risk: 🚨 security-boundary: The RFC specifies authority boundaries between local project material, immutable packages, ClawHub, and OpenClaw mutation ownership.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • feature: ✨ showcase: ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. The proposal offers a coherent end-to-end author-to-recipient model while preserving OpenClaw as the sole runtime and mutation owner.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: All changed paths are RFC Markdown, so runtime proof is not required; the cited implementation work remains a prerequisite for accepting this contract.

Evidence

What I checked:

  • Current lifecycle boundary: Current main documents only inspect/add/status/update/remove/export; the proposed create/validate/build/dev authoring layer is not present. (rfcs/0016-claws.md:582, af708f0ddb6f)
  • Existing ownership model: RFC 0016 keeps agent, workspace, package, MCP, schedule, and provenance mutation under OpenClaw ownership, which this proposal must preserve. (rfcs/0016-claws.md:16, 13819ef73d3a)
  • Feature provenance: The existing Claws RFC was introduced by this merged commit; its author is the strongest current-history routing candidate. (rfcs/0016-claws.md:1, 13819ef73d3a)
  • RFC merge gate: Repository guidance says draft RFCs should not merge until accepted, then require an implementation issue and accepted metadata. (README.md:78, af708f0ddb6f)
  • Branch inspection limitation: The local checkout could inspect current main, but fetching the PR object failed because the promisor remote could not resolve github.com; branch-specific assessment therefore uses the supplied PR diff and discussion context.

Likely related people:

  • Gio Della-Libera: Authored the merged RFC 0016 commit that established the lifecycle this proposal extends. (role: introduced the existing Claws RFC; confidence: high; commits: 13819ef73d3a; files: rfcs/0016-claws.md)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Rebase after the stated prerequisite RFCs and runtime work land.
  • Request an exact-head review confirming the final contracts still match this lifecycle.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (52 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-07T07:30:50.624Z sha b700fcf :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-07T08:58:57.606Z sha b700fcf :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-07T11:42:35.214Z sha b700fcf :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-07T12:50:55.913Z sha b700fcf :: needs real behavior proof before merge. :: [P1] Reject scripts on every accepted V1 artifact
  • reviewed 2026-08-09T21:51:51.887Z sha bb9cc91 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-09T23:04:31.674Z sha 7635e39 :: needs real behavior proof before merge. :: [P3] Renumber the appended acceptance criteria consecutively
  • reviewed 2026-08-09T23:19:12.717Z sha 7635e39 :: needs real behavior proof before merge. :: [P3] Renumber the appended acceptance criteria consecutively
  • reviewed 2026-08-10T01:41:14.146Z sha 7635e39 :: needs real behavior proof before merge. :: none

@giodl73-repo

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The RFC contract has been hardened after two role-review passes: default dev is offline and non-mutating, live effects require explicit selection and consent, interrupted disposable state is durably reclaimable, package scripts are rejected, cross-platform deterministic proof is required, and a strict project-only test-v1 sidecar now defines supported checks and live-test boundaries. Codex review found one check-list contradiction; it was fixed and the rerun was clean. Please review signed head 9c61d35.

@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@giodl73-repo

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Refocused this proposal on the smallest vertical proof after the latest product review. V1 is now four PRs: core contract, complete offline local authoring lifecycle, exact ClawHub publication, and one polished clean-recipient reference Claw. The custom test-v1 sidecar, provider-backed evaluation, live disposable dev, interruption recovery, and broad corpus matrix are deferred until the initial workflow provides evidence. Codex review is clean on signed head f63b48b.

@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 1, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 6, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 6, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. merge-risk: 🚨 security-boundary 🚨 Merging this PR could weaken sandboxing, authorization, credentials, or sensitive data. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 7, 2026
Co-authored-by: Copilot <[email protected]>

Copilot-Session: db3a73db-01ff-428e-a451-b7b710cd5085
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 9, 2026
Co-authored-by: Copilot <[email protected]>

Copilot-Session: db3a73db-01ff-428e-a451-b7b710cd5085
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. feature: ✨ showcase ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 9, 2026
@giodl73-repo

Copy link
Copy Markdown
Contributor Author

Superseded by the consolidated RFC 0016 contract in #48.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: ✨ showcase ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. merge-risk: 🚨 security-boundary 🚨 Merging this PR could weaken sandboxing, authorization, credentials, or sensitive data. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant