Repository navigation
feat(claws): discover official ClawHub packages and installed status - #163295
Patrick-Erichsen wants to merge 6 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. What this changesThe branch adds Gateway discovery and installed-health reporting for official ClawHub agent packages, tightens portable profiles, changes agent ownership digests, and preserves package licenses. Review scores
Merge readiness⛔ Blocked before merge - 7 items remain Keep open: this is useful, actively maintained stack work, but the reviewed layer still has correctness defects and is not a safe independent landing unit. Priority: P2 Before merge
Findings
Agent review detailsHow this fits togetherClaws package an agent’s identity, workspace content, and requirements. The Gateway combines ClawHub metadata with local ownership records to give clients catalog entries and installed-resource health. flowchart TD
A[ClawHub package metadata] --> B[Official publisher validation]
B --> C[Gateway catalog]
D[Local ownership records] --> E[Read-only inventory worker]
E --> F[Live resource comparison]
F --> G[Installed health report]
C --> H[Gateway clients]
G --> H
Technical reviewBest possible solution: One reconciled landing unit should preserve operator settings, complete every ownership consumer, isolate concurrent status reads, and demonstrate compatibility with existing packages and consent records. Do we have a high-confidence way to reproduce the issue? Yes at source level: configured model/delegation fields reach the rejecting export parser, and operator-edited agents reach incompatible lifecycle digest checks. Runtime tests were not executed during this read-only review. Is this the best way to solve the issue? The canonical reader and inventory-worker approach fits the existing owners, but this standalone layer is incomplete; the coordinated stack must supply the producer, consumer, and compatibility cutover. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d794f3d9b248. Merge-risk optionsMaintainer options:
SecurityNone. EvidenceWhat I checked:
PR surfaceSource +1627, Tests +1722. Total +3349 across 52 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (2 earlier review cycles)
Reviewed October 7, 2026, 7:26 PM ET / 23:26 UTC (Revision 3). |
1baf83d to
d0ed023
Compare
|
Closing as superseded: #171623 replaced the Claws plan/review/update/remove lifecycle with a one-way Add operation, and Closed by Roboclaw at the author's request after an audit of his open PRs. The branch is kept, so this can be reopened if needed. |
Publication Refresh: October 7
Layer 1/16. Base:
main| Next: #163296. Published checkpoint:d0ed023909c1.The stack now includes 45 previously local follow-up commits in four additional draft PRs, ending at #166801 (
9e653a8ed286). Fresh combined-tip checks passed: 100 backend tests and 13 built-UI browser tests with a mocked Gateway. Before/after review captures are attached. Evidence below that names6765a8741e4remains historical evidence for that revision, not a new real-ClawHub run or per-layer CI result.The stack remains draft and its first layer conflicts with current
main. Reconciliation, exact-head CI/review, and the existing release gates remain outstanding. No merge or deployment is authorized by this publication.What Problem This Solves
OpenClaw cannot give the Control UI a trustworthy list of official Claws or a consistent installed-package status.
User Impact
The Gateway can discover
@openclawClaws from ClawHub and report installed Claw health and ownership. This layer adds no install UI or public enablement by itself.Why This Change Was Made
It defines the portable package/profile contract, validates official publisher and package identity at the registry boundary, and exposes typed read-only catalog/status methods backed by inventory reads. Published Claws do not set a user's model or name delegate agents.
Evidence
Protocol, official-source, Gateway catalog, and inventory/status regression tests are included in this diff. At final stack tip
6765a8741e4,pnpm check:changedpassed and the installable tarball's build-info commit matched that tip. An installed host pointed at local ClawHub displayed 30 official@openclawClaws after Labs was enabled; discovery was unavailable while Labs was off by default. All 30 latest official artifacts downloaded with matching size/SHA-256 and produced zero-blocker Gateway Add plans. Its plugin-backed task, Labs-off status, and Remove succeeded. After correcting Executive Assistant's version, the local 30-package source-sync dry run reports 30 exact-match skips. Production publication and security review remain outstanding; this layer is not a standalone launch.Release gate: Land the OpenClaw stack together only after ClawHub #3883 and local publish-to-real-task lifecycle proof.