Skip to content

RFC 0023: Standard Hosting Profiles - #37

Closed
giodl73-repo wants to merge 52 commits into
openclaw:mainfrom
giodl73-repo:user/giodl/rfc-0023-standard-hosting-profiles
Closed

giodl73-repo wants to merge 52 commits into
openclaw:mainfrom
giodl73-repo:user/giodl/rfc-0023-standard-hosting-profiles

Conversation

@giodl73-repo

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

Copy link
Copy Markdown
Contributor

Decision Requested

Should OpenClaw ship a small catalog of named, release-tested hosting postures over the readiness facility proposed in RFC 0018? Readiness remains independently useful without a profile.

Why

OpenClaw runs locally, in containers, behind identity proxies, and as a controller for paired execution targets, but those labels are not reproducible support contracts. Their intent is scattered across startup flags, environment, config, probes, and private checklists. A release cannot exercise or support the posture as one coherent packaged scenario.

Proposed V1

Profiles are optional compositions of RFC 0018 criteria, not another evaluator.

Profile Supported posture Profile-specific evidence
local Foreground/local Gateway Shared serving baseline
container Directly reachable container listener Non-loopback effective listener
reverse-proxy Gateway behind a trusted identity proxy Trusted-proxy auth, identity header, trusted source, and viable topology
node-mode Gateway controlling execution targets Approved pairing, connected target, command-policy approval, and live control channel

Every profile selects the same required serving baseline and advisory operational facts. Selection precedence is gateway argument > environment > openclaw.json; unprofiled startup remains unchanged, and operators can add criteria directly.

This PR includes the normative Standard Hosting Profile v1 sidecar.

Support And Identity Contract

A profile provides a reproducible support subset: OpenClaw names the posture, reports its unmet conditions, attributes them to RFC 0018 identities that renew with their owner lifecycles, and executes matching packaged scenarios.

Docker, Kubernetes, systemd, OCC, and downstream hosts continue to consume ordinary /readyz. Profiles observe effective state; they do not generate or repair config, add Lobster/OCC resources, encode scheduler policy, or initiate subsystems.

Operator Facilities

OpenClaw PR 114636 combines catalog inspection, live validation, and package release evidence as one ordered upstream review unit at exact head 123bae7b876.

Implementation Stack

RFC 0023 builds on RFC 0018, so its complete upstream landing order is:

  1. PR 104018 provides the readiness framework and subject identity at exact head 2f131c6e220.
  2. PR 113421 provides reusable core-owner conditions at exact head c1d7f394f86.
  3. PR 113422 directly implements the four Standard Hosting Profiles and package scenario matrix at exact head 18c42a7f26a.
  4. PR 114636 directly implements profile inspection, live validation, and package release-conformance evidence at exact head 123bae7b876.

The integrated tree passes 120 focused assertions plus formatting, lint, shell syntax, and diff checks. Exact-head package-installed Docker proof passes all 13 states on GitHub-hosted Actions, independently verifies the artifact, and uploads it as release evidence.

Deliberate V1 Boundary

This RFC does not promise custom profile inheritance, host assertions, signed attestations, config generation/repair, scheduler policy, or Lobster/OCC resources. The conformance artifact is portable release evidence, not an immutable or signed attestation.

Promotion Order

  1. Accept RFC 0018 and PR 104018 independently.
  2. Land reusable owner observations in PR 113421.
  3. Decide whether the four named postures are the right initial support catalog.
  4. Land PR 113422 with its package-installed profile matrix.
  5. Land catalog inspection, live validation, and the release-conformance artifact as separable operator/release facilities.

@giodl73-repo

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 15, 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: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@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. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. 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. merge-risk: 🚨 security-boundary 🚨 Merging this PR could weaken sandboxing, authorization, credentials, or sensitive data. labels Jul 15, 2026
@clawsweeper

clawsweeper Bot commented Jul 15, 2026 •

Copy link
Copy Markdown

Codex review: blocked before merge. Reviewed October 2, 2026, 11:49 AM ET / 15:49 UTC (Revision 76).

ClawSweeper review

What this changes

Adds an RFC and companion specification for four optional hosting profiles, shared readiness checks, operator inspection and validation commands, and packaged release-conformance evidence.

Merge readiness

⛔ Blocked before merge - 2 items remain

This remains a distinct, well-supported RFC awaiting product acceptance. Main has no equivalent hosting-profile contract, and the linked implementation PRs remain open. The previous identity and workspace concerns are addressed; the RFC acceptance lifecycle remains incomplete.

Priority: P3
Reviewed head: 3c8a32e015761500aeab8947404afade804d6da3
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) The coherent specification and behavior-specific packaged evidence provide above-average review confidence; product acceptance remains a separate decision.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): The linked Docker run exercises packaged Gateway readiness and profile validation across 13 verified success, failure, recovery, and restart states at implementation parent 123bae7. Workflow source and successful artifact verification corroborate the existing proof; raw log retrieval was blocked by the reviewer’s network boundary. This RFC changes no existing stored-data contract.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The linked Docker run exercises packaged Gateway readiness and profile validation across 13 verified success, failure, recovery, and restart states at implementation parent 123bae7. Workflow source and successful artifact verification corroborate the existing proof; raw log retrieval was blocked by the reviewer’s network boundary. This RFC changes no existing stored-data contract.
Evidence reviewed 10 items Verified introduced scope: The pinned main-to-head delta adds only the 500-line RFC and 468-line specification; it changes no runtime code, dependencies, workflows, or existing configuration.
Still necessary on main: Inspection of the complete main file listing and searches for hosting profiles, readiness, and containers found adjacent proposals but no standard hosting-profile RFC. GitHub lists this proposal and its readiness dependency as open and unmerged; no same-repository merged replacement was established.
Acceptance contract: README requires a maintainer-discussion thread, acceptance, an implementation issue, and accepted frontmatter before merging a new RFC. This RFC still declares draft status and leaves its implementation issue blank.
Findings None None.
Security None None.

How this fits together

Hosting profiles would translate an operator’s selected deployment posture into checks evaluated by OpenClaw’s proposed readiness facility. The resulting readiness status would feed Gateway diagnostics, host probes, and release qualification.

flowchart TD
  A[Operator selection] --> B[Standard profile catalog]
  B --> C[Selected readiness criteria]
  D[Current runtime observations] --> E[Canonical readiness evaluation]
  C --> E
  E --> F[Host probes and diagnostics]
  E --> G[Packaged conformance evidence]
Loading

Decision needed

Question Recommendation
Should OpenClaw accept the four-profile V1 catalog under hosting.profile, and should its packaged conformance lane initially be advisory or release-blocking? Accept with an advisory rollout: Accept the four opt-in profiles and configuration home, assign support ownership, and begin conformance as an advisory release check.

Why: The proposal creates a continuing support and release-testing commitment; implementation proof cannot choose that commitment for maintainers.

Before merge

  • Complete next step (P2) - Record the support-catalog and release-rollout decision in the required maintainer discussion; if accepted, create the implementation issue and update RFC status and issue metadata before merge.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Proposal scope 2 Markdown files, +968 lines; production +0, tests +0 This PR records a design and normative contract without landing its separately reviewed runtime implementation.

Technical review

Best possible solution:

Adopt a small, opt-in support catalog over shared readiness criteria, with named support owners and an explicitly agreed release-check rollout.

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

Not applicable: this is a proposed support capability rather than a broken existing contract; its feasibility is backed by packaged Docker scenarios.

Is this the best way to solve the issue?

Yes, technically: composing opt-in profiles over one readiness evaluator avoids competing checks and preserves unprofiled behavior. The support catalog and release policy still require acceptance.

AGENTS.md: not found in the target repository.

Codex review notes: model internal, reasoning medium; reviewed against 967d9aac7472.

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.

Label justifications:

  • P3: This is a prospective support-contract RFC with no immediate runtime regression or user-facing emergency.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • feature: ✨ showcase: ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. Named support postures tied to observable readiness and reproducible package scenarios could make deployment support substantially more precise.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (linked_artifact): The linked Docker run exercises packaged Gateway readiness and profile validation across 13 verified success, failure, recovery, and restart states at implementation parent 123bae7. Workflow source and successful artifact verification corroborate the existing proof; raw log retrieval was blocked by the reviewer’s network boundary. This RFC changes no existing stored-data contract.
  • proof: sufficient: Contributor real behavior proof is sufficient. The linked Docker run exercises packaged Gateway readiness and profile validation across 13 verified success, failure, recovery, and restart states at implementation parent 123bae7. Workflow source and successful artifact verification corroborate the existing proof; raw log retrieval was blocked by the reviewer’s network boundary. This RFC changes no existing stored-data contract.

Evidence

What I checked:

  • Verified introduced scope: The pinned main-to-head delta adds only the 500-line RFC and 468-line specification; it changes no runtime code, dependencies, workflows, or existing configuration. (rfcs/0023-standard-hosting-profiles.md:1, 3c8a32e01576)
  • Still necessary on main: Inspection of the complete main file listing and searches for hosting profiles, readiness, and containers found adjacent proposals but no standard hosting-profile RFC. GitHub lists this proposal and its readiness dependency as open and unmerged; no same-repository merged replacement was established. (967d9aac7472)
  • Acceptance contract: README requires a maintainer-discussion thread, acceptance, an implementation issue, and accepted frontmatter before merging a new RFC. This RFC still declares draft status and leaves its implementation issue blank. (README.md:80, 3c8a32e01576)
  • RFC process history: Local history identifies the RFC lifecycle change at e366ea9; GitHub commit metadata and its patch identify kevinslin as its author and show the acceptance requirements being added. Local blame and historical blob reads encountered promisor-fetch HTTP 403 failures, so their results were not used as introduction proof. (README.md:80, e366ea9825a4)
  • Prior findings resolved: The current RFC explicitly keeps profile contract version in result metadata and assigns OPENCLAW_INSTANCE_ID only to the optional host-workload parent. The normative catalog requires workspace writability for every profile. The latest completed review used this same head and retained no findings. (rfcs/0023-standard-hosting-profiles.md:257, 3c8a32e01576)
  • Compatibility and security boundaries: The specification preserves unprofiled deployments, selects shared criteria rather than replacing readiness evaluation, and leaves request-time authentication with Gateway handlers. It changes no authorization-bearing runtime value or existing stored-data contract. (rfcs/0023/hosting-profile-v1-spec.md:35, 3c8a32e01576)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (75 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-08T14:23:02.354Z sha e931e8d :: needs real behavior proof before merge. :: [P2] Keep profile version out of subject generation | [P2] Give OPENCLAW_INSTANCE_ID one identity role | [P2] Make workspace writability a common criterion
  • reviewed 2026-08-08T16:20:17.027Z sha e931e8d :: needs real behavior proof before merge. :: [P2] Keep profile version out of subject generation | [P2] Give OPENCLAW_INSTANCE_ID one identity role | [P2] Make workspace writability common in the catalog
  • reviewed 2026-08-08T19:03:11.574Z sha e931e8d :: needs real behavior proof before merge. :: [P2] Keep profile version out of subject generation | [P2] Give OPENCLAW_INSTANCE_ID one identity role | [P2] Make workspace writability common in the catalog
  • reviewed 2026-08-08T19:50:09.415Z sha e931e8d :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-08T21:01:44.094Z sha e931e8d :: needs real behavior proof before merge. :: [P2] Make workspace writability a common criterion | [P2] Keep the profile contract version out of subject generation | [P2] Give OPENCLAW_INSTANCE_ID the documented host-workload role
  • reviewed 2026-08-08T21:29:01.275Z sha e931e8d :: needs real behavior proof before merge. :: [P2] Keep profile version as result metadata | [P2] Give OPENCLAW_INSTANCE_ID one identity role
  • reviewed 2026-08-12T01:54:35.831Z sha e931e8d :: needs real behavior proof before merge. :: [P2] Align profile version with the normative sidecar | [P2] Assign OPENCLAW_INSTANCE_ID one identity role
  • reviewed 2026-09-09T05:16:25.307Z sha 3c8a32e :: blocked before merge. :: none

@giodl73-repo

Copy link
Copy Markdown
Contributor Author

RFC 0023 now makes standard hosting profiles explicitly opt-in. An upgrade with no profile selected preserves RFC 0018's existing readiness baseline; selecting local, container, reverse-proxy, or node-mode adds the named support posture and its required conditions.

The implementation stack is rebased onto readiness head 17b34f792d8 and the exact package-installed proof is recorded on openclaw/openclaw#107765. It begins with an unprofiled 200 compatibility case, then exercises all four explicit profiles and their failure/recovery transitions.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 15, 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: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@giodl73-repo
giodl73-repo force-pushed the user/giodl/rfc-0023-standard-hosting-profiles branch from a61b57d to 6d7d4f4 Compare July 16, 2026 00:09
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. proof: sufficient Contributor real behavior proof is sufficient. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jul 16, 2026
@giodl73-repo
giodl73-repo force-pushed the user/giodl/rfc-0023-standard-hosting-profiles branch from 6d7d4f4 to a8cfb47 Compare July 23, 2026 01:20
@giodl73-repo

Copy link
Copy Markdown
Contributor Author

Refreshed onto current main at 3c8a32e and resolved both identity-contract findings. The RFC now matches the normative sidecar: profile contract version is result metadata, and OPENCLAW_INSTANCE_ID identifies only the optional host-workload parent without overriding generated process or Gateway identities. git diff --check passes. @clawsweeper re-review

@giodl73-repo

Copy link
Copy Markdown
Contributor Author

Closing this RFC as paused at the author's request while reducing the active proposal queue. This is a prioritization decision, not a statement that the design was rejected, accepted, shipped, or superseded. The branch, commits, and discussion history are retained. Reopen when the author and relevant maintainers choose to resume a concrete scope and refresh the proposal against current implementation and ownership boundaries. This closure does not merge, close, or change any implementation PR, fork, or deployed behavior.

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. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. proof: sufficient Contributor real behavior proof is sufficient. rating: 🦞 diamond lobster Very strong PR readiness with only minor 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