Skip to content

Add the POC Onboarding Toolkit (slice 1) and the cb-poc-onboarding skill - #95

Open
mbomb67 wants to merge 5 commits into
mainfrom
poc-onboarding-diagnostics
Open

mbomb67 wants to merge 5 commits into
mainfrom
poc-onboarding-diagnostics

Conversation

@mbomb67

@mbomb67 mbomb67 commented Oct 19, 2026

Copy link
Copy Markdown
Owner

What

An AI agent connected to a CloudBolt appliance over MCP can now take a fresh instance through the POC Test Plan: read what is configured, send the user a UI link for every step that needs a secret, verify resource handlers and read the appliance's own logs when something fails, record each test-plan item as done or not applicable, and report. This is the first of four slices (diagnostics and handlers); environments, governance and extensibility tools follow.

  • Eight MCP tool actions (onb_ prefix, admin-guarded in code, synchronous for ORM reads, asynchronous for cloud calls): onb_status, onb_ui_link, onb_recent_errors, onb_failure_trace, onb_verify_resource_handler, onb_playbook, onb_install, onb_set_item_status.
  • Content package packages/PKG-8aaadefz (POC Onboarding Toolkit) with those eight plus the three testing tools they reuse (sync_from_source_control_repo, fetch_job_log, manage_blueprint_permissions).
  • Skill .claude/skills/cb-poc-onboarding/ (Agent Skills format): hard rules, the phase loop, and references for bootstrap, resource handlers per technology, phases 2 to 9, troubleshooting, and the full test-plan map with weights, evidence, docs links and skippability. onb_playbook serves the same text over MCP for clients without skill support.
  • Setup runbook docs/poc-onboarding-setup.md for a customer appliance.

onb_install flips Synchronous Action on the inline tools after a sync or package import (the importer leaves it off, CMPITK-1391), so the customer runs one tool instead of visiting eleven edit forms.

Tested on mb-dev (CloudBolt 2026.3.78)

Function Evidence
Sync of the eight tools from this branch JOB-qqv0qtzg (8 success); refresh after fixes JOB-z6ji5ooc (4 success)
onb_install JOB-7lpui7qe: 11 present, 7 flipped to synchronous; JOB-sgq737vx: 0 changed after refresh, 404 on main reported as "not published yet"
onb_status inline: licence, SMTP, proxy, Content Library, 7 handlers with 13 environments, Custom Server orders, groups, LDAP, toolkit, recorded items, next steps with links; shows stored verify results
onb_ui_link inline: new_resource_handler:aws and a global id
onb_recent_errors inline: 61 entries in 4 groups over 120 minutes, WSMan timeout traceback with hint, secrets redaction path
onb_failure_trace inline: success job (note path) and ORD-wimh76ur (2 failed jobs with errors, progress tail, next step)
onb_verify_resource_handler JOB-e8ssba4h AWS verified; JOB-j8upp31p SCVMM failed with the real ConnectTimeout text and SCVMM plus connectivity hints
onb_set_item_status inline: P1 recorded; state field poc_onboarding_state created in namespace poc_onboarding
onb_playbook 404 path on main (skill not merged yet); success from this branch with onb_ref (5231 characters)

Not covered: the first-class custom_onb_* names in a fresh client session (this session's tool list was cached), and a Content Package Manager import of PKG-8aaadefz.

After merge

  1. Sync the eleven mcp_tool_actions/MTA-* folders from main (sync_from_source_control_repo, sync_branch: main) so their remote source URLs leave this branch, run onb_install, reconnect the client.
  2. onb_playbook works without onb_ref once the skill is on main.

🤖 Generated with Claude Code

mbomb67 and others added 4 commits October 19, 2026 10:41
Eight MCP tool actions an agent uses to take a new appliance through the
POC Test Plan: onb_status (inventory plus next steps with links),
onb_ui_link (admin page and object links so secrets are entered in the
UI), onb_recent_errors (grouped log tail with hints), onb_failure_trace
(order or job down to the failed job), onb_verify_resource_handler (the
real Verify Connection error with a technology hint), onb_playbook (the
skill text over MCP), onb_install (Synchronous flags and egress checks
after import) and onb_set_item_status (done or not applicable per test
plan item). Packaged with the three testing tools they reuse as
PKG-8aaadefz, with a setup runbook and the skill's bootstrap, handler,
phase, troubleshooting and test-plan references.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…t an unpublished playbook as such

A 404 from GitHub meant the skill was not yet on main, not that GitHub was
unreachable; onb_install now says so and onb_playbook takes onb_ref.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…rrors

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.

1 participant