Skip to content

feat(templates): open Control UI chat and create the agent without a plan - #198070

Merged
Patrick-Erichsen merged 33 commits into
mainfrom
template-add-chat-creation
Nov 16, 2026
Merged

Patrick-Erichsen merged 33 commits into
mainfrom
template-add-chat-creation

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Control UI Template Add waits for a plan, then can leave an empty agent when a declared plugin is disabled.

User Impact

Add opens pending chat immediately and creates the agent with its original manifest, files, skills, bundled plugins and MCP servers without a plan/review step. Failed dependencies are reported instead of rolling back; source or workspace failure removes the new agent and chat. CLI plan/consent behavior is unchanged.

Why This Change Was Made

Selects the chat path explicitly, reuses ordinary agent admission, preserves effective setup tools within explicit denies and operator ceilings, and leaves referenced plugins and automations for the following setup layer. The original workspace-root CLAW.md is reserved; a conflicting workspace declaration fails before Template writes. Its error now explains that nothing was kept and the publisher must move the conflicting file and publish a corrected release.

Warned skills or bundled plugins remain uninstalled and are reported. This does not bypass dependency trust checks.

Evidence

Current allocation-only repair

Published head 9ed5a58794db142be41f5e142e68a5cd92d72bd0 differs from b7235cc095dff0eebd90cd268b2695ca96f98a08 only in this layer’s existing test-line allocation record: 211→338 for the actual 738 net test lines above foundation. The unchanged global allowance is 400. The actual ratchet fails with the old 211 allocation and passes with 338; no tests, assertions, product source, scanners or global budgets changed. The paired tests and performance inputs below are unchanged, so those results remain applicable rather than being represented as new executions. Exact-head hosted CI and completed review remain required.

Retained source qualification

Head b7235cc095dff0eebd90cd268b2695ca96f98a08 is restacked once above foundation c1c471f63b56ad6e5908058d4bebf4e87e080454. Generated validator conflicts were resolved by canonical regeneration, not hand-editing output. The CLI retains main's canonical scoped-package resolution and the leaf result contract. Git omitted the lazy-permission fixture repair because it is already upstream; unrelated source and all original worktrees are preserved.

  • The complete strict paired performance command passes against exact foundation c1c471f63b56ad6e5908058d4bebf4e87e080454: node --import ./scripts/tsx.mjs scripts/check-control-ui-performance-base.mts c1c471f63b56ad6e5908058d4bebf4e87e080454. Document 14,016 B <=14,026 B. Chat JS 1,314,978→1,315,005 B (+27) and New Session 817,974→818,000 B (+26) meet the unchanged 64-byte differential allowance; startup JS stays 90,860 B. Requests remain chat21/new17/startup3; boot CSS is unchanged, total CSS −14 B. No budgets raised or new lazy boundary. The unnecessary connection-error adapter import is deleted; the existing trust decoder reads the already-typed protocol error directly, preserving synchronous click-to-chat.
  • Wrapper inventory now includes clawhub-trust-error-details.ts. Existing source-closure and extracted-dependency-context tests pass 2/2 (19.29s), including the actual materialized import graph.
  • Gateway manifest-collision regression fails 1/1 before for the intended generic-message mismatch. After repair the complete request-owner file passes 12/12 (92.84s; real isolated admission/config/workspace/session/rollback, external registry/model I/O fixed). It retains zero workspace writes, clean agent/chat rollback and successful Add of a corrected release, while returning actionable guidance as INVALID_REQUEST. Arbitrary internal exception text remains hidden.
  • Protocol validators pass 5/5. The original 150-second multi-lane wrapper completed those 17 cases but timed out before its CLI lane; it is not a full command pass. The separately scoped CLI state-owner command subsequently passes 19/19, exit0 (8.58s suite), including reviewed consent and retained outcomes without replay/local fallback.
  • Rendered Template Add tests pass 19/19 (5.99s), including card/detail/modal trust confirmation and duplicate-confirm handling. Four-file syntax lint, formatting, diff checks and canonical generated-validator check pass. No new test harness or mock, assertion removal, permission change, or state-schema change.
  • Full exact-head hosted compiler, lint, build, architecture, CI and completed review remain required. These bounded local results do not claim full CI or final-stack real-install/video completion.

Retained earlier proof

These results predate the current restack, not new exact-head executions:

  • The reverse result-type import is removed through a leaf contract; incomplete dependency outcomes reach the opening rather than claiming readiness.
  • Stored-checkpoint service compatibility: 11/11. Refused chat retry retains the original entry/session/workspace; the original reviewed retry completes without rewriting SOUL.md. Not historical database-migration/restart proof.
  • Paired lazy-permission fixture proof: old creation and unchanged base each pass119/fail1; unchanged assertion with existing settle helper passes120/120. Fixture-settlement proof, not conclusive attribution of the original hosted failure.
  • Earlier integrated import boundary 1/1 and Template Add plus history/live/live-before-adoption composition 22/22. Earlier pending-admission command timed out at150s after preparation and seven passes; not a full suite pass.
  • Earlier creation Gateway12/12, integrated boundary13/13 including Retry, UI Add/admission26/26, browser24/24, synthetic-model real-Gateway authority3/3. Earlier aggregate changed-check retained inherited dead exports.

Real Control UI comparison

Same original @jjjhenriksen/[email protected], Expedia installed but disabled. Baseline 4ab02e3c0879 opened chat at19.9s, failed on the disabled plugin at35.6s and left an empty workspace without goplaces/model output. Earlier integrated candidate c23e44d2811 (creation plus following setup layer) opened pending chat in104ms and produced visible output at52.2s.

The created workspace contains goplaces. Original CLAW.md matches source byte-for-byte, SHA-256 5f8be1c9add44e177fb9f783d09919c377f1f223cbdc994b1f6e322557ef9f99. Expedia remains disabled; Travel Themes remains uninstalled. No automation was created (the original declares none); stored session is done and initialization/setup continuation cleared.

That historical recording persisted the setup card but omitted it live until reload. Foundation now contains the owning repair with all three producer→renderer paths passing, but these older screenshots do not prove the final combined head. Clean final video/full setup acceptance remains open, not claimed by the images.

Stack dependency: #198065. The following layer owns tools-enabled setup. No production Gateway changed.

Before: disabled plugin leaves setup failed and workspace empty

Earlier integrated candidate: real agent output and preserved disabled plugin state; historical live-card gap

The card payload reader required official: true, so a Gateway-authored card
for a community plugin was dropped before it reached the chat. Plugin cards
now carry the registry's official flag; skill cards stay official-only.

The loading placeholder shows the official badge only for official cards.
The loaded card already rechecks the Gateway's catalog answer, shows no badge
for a community plugin, and offers View details instead of Install.
clawhub now takes either query (search, unchanged) or plugin, the exact
ClawHub package name. The exact form looks up that one package, never falls
back to search, and shows its existing card. A name ClawHub does not know,
or that is not a plugin, returns an explanation and shows no card.

Search still returns official plugins and skills only. An exactly named
community plugin is shown with the registry's own official flag.
@clawsweeper

clawsweeper Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime size: XL labels Nov 13, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 13, 2026
@clawsweeper

clawsweeper Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR opens pending Template chat immediately and creates its agent without a reviewed plan, reporting dependency failures in the conversation.

Example: Add @jjjhenriksen/[email protected] with Expedia installed but disabled.

  • Before: Add fails on the disabled referenced plugin and leaves an empty workspace.
  • After: Creation preserves the Template files and skills, leaves Expedia disabled, and opens the agent conversation.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful implementation with production-flow and stable-upgrade evidence, no new findings, and unresolved CI attribution.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The public execution report records real Control UI → Gateway → provider behavior for plan-free creation, unchanged manifest bytes, disabled Expedia, and visible assistant output, supported by inspected earlier images; coverage is from the combined stack before main integration, not a newly inspected final recording.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Template Add waits for planning and can strand an empty agent when a referenced plugin is disabled.
Reason: The owner-directed creation change has demonstrated user value, preserves operator ceilings and dependency trust, and leaves tools-enabled setup explicitly owned by the following layer.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it delivers useful, owner-directed Template creation behavior, and no new actionable correctness defect was found; two failed UI CI lanes still need attribution before landing.

Priority: P2
Reviewed head: d1cb4a406effbff60d1103393e9585b358d58759

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI sends a pinned Template coordinate to the Gateway, which uses existing agent, session, workspace, and dependency installers to create an ordinary agent and start its opening conversation.

flowchart TD
  A[Template catalog Add] --> B[Pending chat and composer]
  A --> C[Gateway chat mode]
  C --> D[Existing agent and session owners]
  D --> E[Verified workspace installer]
  E --> F[Dependency installers]
  F --> G[Opening conversation with outcomes]
Loading

Technical review

Best possible solution:

Land the focused creation layer after CI qualification, retaining shared admission and installer owners alongside the CLI’s reviewed-plan contract.

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

The inspected before image and base implementation establish the disabled-plugin failure and plan-dependent UI path; no independent runtime reproduction was performed during this read-only review.

Is this the best way to solve the issue?

The implementation is a coherent creation stage: it reuses ordinary admission, checkpoints, workspace writes, and dependency installers, removes the replaced UI review path, and preserves the distinct CLI contract.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Ordinary agent admission and pending conversation keeps the original intent (caa978c: Create a durable ordinary agent/chat before remote setup and retain the same identity for recovery.)
  • Control UI prepared review changes intended behavior with a stated reason (db428c5: Required reviews preceded apply while the application retained pending creation and drafts.)
  • Shared setup-helper request functions keeps the original intent (b58c23c: UI RPCs and delegated setup-helper installs share typed request owners and the existing installer.)
  • Lightweight trust-error decoding keeps the original intent (dfbd7d5: Keep heavyweight error formatting and protocol registries out of initial Control UI loading.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Patrick Erichsen: Raw commit caa978c adds src/templates/gateway-add-apply.ts:7 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: caa978caae7a; files: src/templates/gateway-add-apply.ts)
  • Peter Steinberger: Raw commit 71eacdf adds src/claws/gateway-add-apply.ts:11 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 71eacdfe9b5b; files: src/claws/gateway-add-apply.ts)

PR surface

Source +556, Tests +738, Docs +43, Other +10. Total +1347 across 47 files. Added test files: 2.

View PR surface stats
Area Files Added Removed Net
Source 32 1906 1350 +556
Tests 12 1143 405 +738
Docs 1 58 15 +43
Config 0 0 0 0
Generated 0 0 0 0
Other 2 10 0 +10
Total 47 3117 1770 +1347

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Gateway request contract 1 additive mode: chat The new request variant requires an agent ID and excludes reviewed-plan acknowledgements; it adds no configuration option.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P2: This improves Template creation and recovery on an optional Control UI surface with a demonstrated disabled-dependency failure.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (4 earlier review cycles)
  • reviewed 2026-11-13T04:07:20.831Z sha 02cb9b4 :: blocked before merge. :: [P2] [P2] Deliver dependency failures to the opening conversation | [P2] [P2] Remove the reverse import from the chat implementation | [P2] [P2] Remove the introduced boot-bundle growth | [P3] [P3] Document rejection of a conflicting workspace manifest
  • reviewed 2026-11-14T02:27:15.828Z sha d7996ae :: blocked before merge. :: [P2] Include the moved trust reader in the PR wrapper inventory | [P2] Remove the remaining introduced boot-bundle growth | [P2] Expose the reserved-manifest conflict with a recovery action
  • reviewed 2026-11-14T02:57:44.488Z sha b7235cc :: blocked before merge. :: none
  • reviewed 2026-11-16T02:16:09.868Z sha d1cb4a4 :: blocked before merge. :: none

Reviewed November 15, 2026, 9:26 PM ET / November 16, 2026, 02:26 UTC (Revision 5).

@Patrick-Erichsen
Patrick-Erichsen force-pushed the template-add-chat-creation branch from 02cb9b4 to d7996ae Compare November 14, 2026 02:18
@openclaw-barnacle openclaw-barnacle Bot added the cli CLI command changes label Nov 14, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Nov 14, 2026
@clawsweeper clawsweeper Bot removed the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Nov 14, 2026
Resolve docs/cli/templates.md by keeping the CLI/Control UI Add split and
applying main's disabled-routine wording, and regenerate the gateway
protocol predicates for the combined schema.
Keep the CLI/Control UI Add split in docs/cli/templates.md and carry main's
offline Add note into the CLI paragraph.
main extracted the templates.add handlers into shared request functions for
the setup helper (#199064) while this branch added chat-based Add to the same
handler. Keep main's extracted functions and carry the chat branch, progress
publication and reserved-manifest conflict disclosure into them.

- gateway-add-result.ts holds both the shared result type (with main's
  workspace and outcomes fields) and main's outcome projection.
- The apply params union names its reviewed-plan variant so the setup helper
  is typed against, and limited to, reviewed installs.
- Catalog detail agentId moves with main's catalog types module.
- The Template detail page keeps main's metadata rail without the removed
  review step.
@openclaw-barnacle openclaw-barnacle Bot added the agents Agent runtime and tooling label Nov 16, 2026
Keep both the chat-mode routing test and main's authored MCP declaration
test in templates-add.test.ts.
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 16, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Upgrade and final-flow evidence for the build that contains this layer

This answers the two proof requests in the review of d1cb4a406eff. Both runs used the combined Template Add stack (production build 4a4f2f1c80f9, source eae4a00827b6), which contains this layer plus the setup, responsive, copy and actions layers above it. They were not taken on this layer alone, and they predate the merges with current main; exact-head CI on d1cb4a406eff covers the merged code.

Latest-stable upgrade keeps existing data

An isolated Gateway ran official [email protected] (state schema 22, agent schema 27) and created an ordinary session through sessions.create. The same state directory was then opened by the candidate build.

  • doctor migrated state 22→40 and agent 27→42 and exited 0.
  • After the upgrade, and again after a cold Gateway restart, the stored session has the same sessionId, label and session root, and none of the Template-only pending fields appear on it.
  • The SHA-256 of IDENTITY.md, BOOTSTRAP.md, USER.md, SOUL.md and AGENTS.md in the agent workspace is identical before and after.
  • The Control UI opens that session's route with an editable composer (screenshot inspected, retained locally).

Limits of this run: the stable Gateway had no usable provider credential, so the session has no transcript messages to compare, and nothing here shows how an older runtime treats the new optional setup fields written by this stack.

A separate four-process real-SQLite check of those setup fields (write, cold read, clear, cold read) is described in #198637 (comment).

Final flow with Expedia installed but disabled

Real Control UI Add of @jjjhenriksen/[email protected] against an isolated real Gateway and a real provider, measured from the Add click:

Event Time from click
Chat visible 75 ms
agent-admitted progress 6.8 s
agent-ready progress 11.1 s
First assistant text visible 16.9 s
First turn finished 34.5 s
  • The only Template RPCs after the click are templates.catalog.detail and templates.add.apply; there is no plan request and no review step, and Add returned complete.
  • The opening reply states the dependency outcome: "The Expedia plugin is installed but disabled. If you'd like to use it, ask me to enable it."
  • The workspace CLAW.md has SHA-256 5f8be1c9add44e177fb9f783d09919c377f1f223cbdc994b1f6e322557ef9f99, the same as the published manifest, and the stored tool policy keeps the Template's own tools with automations, plugins and message added.
  • No alerts, toasts, consent dialogs or error text were present at the end.

The screenshots and the recording of this run are retained locally and have been inspected; they are not attached here because the attachment route had no authenticated browser session.

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. 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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 16, 2026
@Patrick-Erichsen
Patrick-Erichsen merged commit 821b5cf into main Nov 16, 2026
160 of 164 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the template-add-chat-creation branch November 16, 2026 02:32
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

Patrick-Erichsen added a commit that referenced this pull request Nov 16, 2026
The squash commit's tree equals the merge of its parent with the creation
head this branch already contains, so this branch's tree is unchanged.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 16, 2026
…plan (openclaw#198070)

* feat(clawhub): let chat plugin cards represent community plugins

The card payload reader required official: true, so a Gateway-authored card
for a community plugin was dropped before it reached the chat. Plugin cards
now carry the registry's official flag; skill cards stay official-only.

The loading placeholder shows the official badge only for official cards.
The loaded card already rechecks the Gateway's catalog answer, shows no badge
for a community plugin, and offers View details instead of Install.

* feat(message): show one exact ClawHub plugin card by package name

clawhub now takes either query (search, unchanged) or plugin, the exact
ClawHub package name. The exact form looks up that one package, never falls
back to search, and shows its existing card. A name ClawHub does not know,
or that is not a plugin, returns an explanation and shows no card.

Search still returns official plugins and skills only. An exactly named
community plugin is shown with the registry's own official flag.

* docs(control-ui): document exact ClawHub plugin cards

* fix(chat): render source reply cards before run adoption

* test(chat): classify producer display regression as Node integration

* fix(message): send ClawHub cards without generated captions

* perf(chat): consolidate source reply admission and card decoding

* test(chat): document independent card delivery proof boundaries

* refactor(chat): use native named-export lazy card loading

* refactor(outbound): keep attachment normalization in payload owner

* test(chat): attach profile isolation reason to the mock

* feat(templates): name the Template's agent in catalog detail

The release detail already validates the Template's agent id from the
ClawHub manifest summary. Return it so a client can name the agent it
wants before Add, without a plan.

* feat(templates): add a plan-free chat mode to templates.add.apply

A request with mode "chat" names the agent id it wants and carries no plan
digest. The Gateway admits the agent and chat under an unused id, fetches the
Template, writes its workspace, then installs declared skills, bundled plugins
and MCP servers one at a time. A dependency that cannot be set up is collected
instead of stopping creation, and plugins referenced on ClawHub and automations
are left to the agent's conversation. Failing to fetch the Template or write
its workspace removes the agent and chat this request created.

The agent's first turn starts after creation and receives a setup report
through buildTemplateOpeningMessage, which still returns the existing opening.
The plan-based request used by the CLI is unchanged.

* feat(templates): copy CLAW.md and allow setup tools in chat-based Add

Chat-based Add copies the Template's CLAW.md unchanged to the workspace root
as an ordinary file, bound into the same retry checkpoint as the other
workspace files. A Template whose own workspace files claim that path keeps its
file and the setup report says so.

The saved tool allowlist gains automations, plugins and message when the
Template's allowlist omits them. A Template without an allowlist inherits the
operator's policy, and a tool the Template denies stays denied.

* test(templates): cover chat-based Add at the Gateway request seam

Drive templates.add.apply in chat mode against a Template fixture shaped like
Travel Copilot, with real admission, workspace, bundled skill and plugin, MCP
and rollback owners. A declared plugin that is installed but disabled does not
block, a missing skill keeps the agent and is reported, an unfetchable Template
or failed workspace write leaves no agent, chat or workspace, and a taken id
yields the next unused one.

* feat(ui): add Templates from the Control UI without a plan

Add no longer requests templates.add.plan. It sends one chat-mode
templates.add.apply with the release's package name, exact version and an
agent id derived from the Template's own id, then opens the pending chat as
before. The review step for plugin capability grants and skill warnings is
gone from the Add path; ClawHub's audit of a flagged release still asks first.

A card Add reads the release detail once, because only the detail names the
Template's agent. When the Gateway answers a first Add with an error it kept
nothing, so the user returns to the catalog with the error on that card.

* docs(templates): describe plan-free Add from the Control UI

* fix(templates): retain effective setup tool grants in chat Add

* fix(ui): open Template chat before resolving release details

* fix(templates): reserve original manifest in chat Add

* fix(templates): extract Gateway Add result leaf contract

* perf(templates): keep trust decoder outside shared UI boot

* fix(templates): report incomplete chat Add setup truthfully

* test(templates): preserve reviewed checkpoint across chat retry refusal

* fix(pr): include the ClawHub trust reader in wrapper extraction

* perf(templates): decode trust errors without connection adapter

* fix(templates): explain reserved manifest recovery after rollback

* test(templates): reconcile creation regression allocation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui cli CLI command changes docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL 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