robot-gate 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. {robot_gate-0.2.0 → robot_gate-0.2.1}/.gitignore +3 -0
  2. {robot_gate-0.2.0 → robot_gate-0.2.1}/PKG-INFO +7 -7
  3. {robot_gate-0.2.0 → robot_gate-0.2.1}/README.md +6 -6
  4. {robot_gate-0.2.0 → robot_gate-0.2.1}/pyproject.toml +3 -3
  5. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/__init__.py +1 -1
  6. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/cli.py +128 -12
  7. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/mcp_server.py +26 -19
  8. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/onboard.py +7 -5
  9. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/server.py +52 -1
  10. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/ui.py +842 -260
  11. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_onboard_cli.py +2 -2
  12. robot_gate-0.2.1/tests/test_ux_console_cli.py +303 -0
  13. {robot_gate-0.2.0 → robot_gate-0.2.1}/ci/cloudflare-build.sh +0 -0
  14. {robot_gate-0.2.0 → robot_gate-0.2.1}/ci/run_ci_gate.py +0 -0
  15. {robot_gate-0.2.0 → robot_gate-0.2.1}/scripts/build_wheels.sh +0 -0
  16. {robot_gate-0.2.0 → robot_gate-0.2.1}/scripts/capture_bob_ev03_live.py +0 -0
  17. {robot_gate-0.2.0 → robot_gate-0.2.1}/scripts/launch_bob_console.py +0 -0
  18. {robot_gate-0.2.0 → robot_gate-0.2.1}/scripts/run_microduck_live.py +0 -0
  19. {robot_gate-0.2.0 → robot_gate-0.2.1}/scripts/run_set_live_bob.py +0 -0
  20. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/audit.py +0 -0
  21. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/bounded_bridge.py +0 -0
  22. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/compliance_pack.py +0 -0
  23. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/device_discovery.py +0 -0
  24. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/fingerprint.py +0 -0
  25. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/gate.py +0 -0
  26. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/intent.py +0 -0
  27. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/manifest.py +0 -0
  28. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/mechanics.py +0 -0
  29. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/microduck_mapper.py +0 -0
  30. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/ros2_adapter.py +0 -0
  31. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/semantic_guard.py +0 -0
  32. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/set_kit.py +0 -0
  33. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/shop_swarm.py +0 -0
  34. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/skillpacks.py +0 -0
  35. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/telemetry.py +0 -0
  36. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/trust.py +0 -0
  37. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/vault_client.py +0 -0
  38. {robot_gate-0.2.0 → robot_gate-0.2.1}/src/robot_gate/world_model.py +0 -0
  39. {robot_gate-0.2.0 → robot_gate-0.2.1}/systemd/robot-gate.service +0 -0
  40. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_bob_live_controls.py +0 -0
  41. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_bounded_embodiment_bridge.py +0 -0
  42. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_cell_console.py +0 -0
  43. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_cli_e2e.py +0 -0
  44. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_compliance_and_ci.py +0 -0
  45. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_device_discovery.py +0 -0
  46. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_end_effector_hal.py +0 -0
  47. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_gate_regression.py +0 -0
  48. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_intent_and_mcp.py +0 -0
  49. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_manifest_and_signing.py +0 -0
  50. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_mcp_plugin_v05.py +0 -0
  51. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_microduck_mapper.py +0 -0
  52. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_mujoco_contact_gate.py +0 -0
  53. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_p1_hardening.py +0 -0
  54. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_ros2_adapter.py +0 -0
  55. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_rust_kernel.py +0 -0
  56. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_semantic_guard.py +0 -0
  57. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_server_hard_latch.py +0 -0
  58. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_set_kit.py +0 -0
  59. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_shop_swarm.py +0 -0
  60. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_skillpacks.py +0 -0
  61. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_telemetry_and_mjcf.py +0 -0
  62. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_trust_ladder.py +0 -0
  63. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_vault_client.py +0 -0
  64. {robot_gate-0.2.0 → robot_gate-0.2.1}/tests/test_world_model_fusion.py +0 -0
@@ -53,3 +53,6 @@ Thumbs.db
53
53
  *.swo
54
54
  .vscode/
55
55
  .idea/
56
+
57
+ # Archived legacy docs & decks (retained locally, untracked by git)
58
+ docs-and-deck/_archive/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: robot-gate
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Deterministic on-robot deployment harness, ROS 2 pre-flight boundary interceptor, ISO 10218:2025 / EU 2023/1230 compliance pack generator, and change-triggered regression test gate.
5
5
  Project-URL: Homepage, https://graftrobotics.ai
6
6
  Project-URL: Documentation, https://graftrobotics.ai/docs/
@@ -56,7 +56,7 @@ Every time anything on a robot changes—`ROBOT.md` bounds, a skill/policy, an e
56
56
 
57
57
  ## `<10s` Zero-ROS-Install Demo (`robot-gate demo --ros2`)
58
58
 
59
- Run the full Wedge A-Upmarket end-to-end verification in one command—**zero ROS 2 or robot hardware required**:
59
+ Run the full ROS 2 & compliance pre-flight verification in one command—**zero ROS 2 or robot hardware required**:
60
60
 
61
61
  ```bash
62
62
  robot-gate demo --ros2
@@ -77,11 +77,11 @@ In under 10 seconds, `robot-gate demo --ros2`:
77
77
 
78
78
  - **ROS 2 Pre-Flight Boundary Interceptor (`robot-gate ros2-bridge`):** Drops cleanly between AI/VLA planners (MoveIt 2, OpenVLA, Isaac ROS, custom policies) and `ros2_control` / UR RTDE / Fairino FR5 / xArm6 without replacing ROS 2. Enforces signed `ROBOT.md` + Hard Receipt Latch + Trust Ladder speed clamping (`L0_OBSERVE` = 0% shadow deny, `L1` = 30%, `L2` = 60%, `L3` = 100%) and generates drop-in `graft_ros2_gate.launch.py` & `graft_ros2_params.yaml` bundles.
79
79
  - **1-Click ISO 10218:2025 & EU 2023/1230 Compliance Pack (`robot-gate compliance-pack`):** Produces a tamper-evident `graft-compliance-pack.zip` (`compliance_manifest.json` + Warm Workshop printable `compliance_dossier.html` + SHA-256 SBOM, strictly excluding all private keys) with fail-closed offline `--verify`.
80
- - **Opt-In Hosted Fleet Receipt Vault (`robot-gate vault push` / `status`):** Zero phone-home when `GRAFT_VAULT_API_KEY` is unset (100% air-gap / ITAR-EAR safe). When opted in, pushes signed receipt hashes, verdicts, and drift telemetry to the Cloudflare D1 Fleet Vault (`POST /api/vault/receipts`) with 5-year retention.
81
- - **Rust `graft-core 0.1.0` + `graft-watchdog`:** Microsecond-scale PyO3 Rust spatial kernel (`box_signed_distance`, `check_swept_path_fast`, and 3D point-cloud voxel-to-OBJ meshing with pure-Python fallback) paired with `bounded-embodiment` RFC 8785 JCS SHA-256 canonical hashing / Ed25519 Envelope 0.2 signing and an independent OS-level `graft-watchdog` heartbeat supervisor.
80
+ - **Opt-In Hosted Fleet Receipt Vault (`robot-gate vault push` / `status`):** Zero phone-home when `GRAFT_VAULT_API_KEY` is unset (100% air-gap / ITAR-EAR safe). When opted in, pushes signed receipt hashes, verdicts, and drift telemetry to the Cloudflare D1 Fleet Vault (`POST /api/vault/receipts`) with 5-year active retention (+ 10-year offline-verifiable compliance archive export for EU 2023/1230 Annex IV).
81
+ - **Rust `graft-core 0.1.0` + `graft-watchdog`:** Microsecond-scale PyO3 Rust spatial kernel (`box_signed_distance`, `check_swept_path_fast` at `1.96 µs/check`, and `316 Hz` / `3.16 ms p50` LAN 3D LiDAR point-cloud voxel-to-OBJ meshing with pure-Python fallback) paired with `bounded-embodiment` RFC 8785 JCS SHA-256 canonical hashing / Ed25519 Envelope 0.2 signing and an independent OS-level `graft-watchdog` heartbeat supervisor (`0.22 ms p50` `/stop`).
82
82
  - **6-Family Hand HAL (`mechanics.py`):** Deterministic grasp physics and interlock enforcement across `parallel_2f`, `concentric_3f`, `dexterous_5f`, `vacuum_suction`, `magnetic_atc`, and `bimanual_coordinated`.
83
83
  - **Semantic-to-Deterministic Ratchet (`semantic_guard.py`):** Monotonic 4-tier trust ladder (`L0_OBSERVE` → `L1_ATOMIC_ASSIST` → `L2_SUPERVISED_CHAIN` → `L3_AUTONOMOUS_FROZEN`) freezing 100%-verified skills into zero-LLM-jitter `skills/<name>.yaml`.
84
- - **Graft Cell Console (`robot-gate serve --dir ... --port 8788`):** Local-first, zero-cloud FastAPI harness + operator UI with hard receipt latch, live actuator telemetry, trust-ladder controls, software hold/release, and EV-03 offline JSON audit export.
84
+ - **Graft Cell Console (`robot-gate serve --dir ... --port 8785`):** Local-first, zero-cloud FastAPI harness + operator UI with hard receipt latch, live actuator telemetry, trust-ladder controls, software hold/release, and EV-03 offline JSON audit export.
85
85
  - **Guided Onboarding (`6 personas`), Portable SET Kit & Shop CapEx Planner:** `robot-gate onboard` (`cnc`, `lab`, `oem`, `benchtop`, `ehs`, `ros2`), `robot-gate set` RoboCurve Six Easy Tasks rehearsal, and `robot-gate plan` 20-asset Shop Swarm ROI optimizer.
86
86
 
87
87
  ---
@@ -96,7 +96,7 @@ uvx robot-gate demo --ros2
96
96
  uvx robot-gate connect --client claude --robot ur5e --env industrial --out ./my-cell
97
97
 
98
98
  # 3. Install locally as a persistent CLI tool (or with Cell Console FastAPI server):
99
- uv tool install "robot-gate[server]"
99
+ uv tool install --upgrade "robot-gate[server]"
100
100
  # Install companion RRF core CLI tools with executable shims:
101
101
  uv tool install robot-md-gateway --with-executables-from robot-md
102
102
  ```
@@ -144,7 +144,7 @@ robot-gate install-hook --dir ./my-cell
144
144
  robot-gate install-systemd --dir /opt/graft-cell --port 8785 --user robot --out /tmp/robot-gate.service
145
145
 
146
146
  # Start the offline on-robot Graft Cell Console UI (boots safely in L0_OBSERVE)
147
- robot-gate serve --dir ./my-cell --host 127.0.0.1 --port 8788
147
+ robot-gate serve --dir ./my-cell --host 127.0.0.1 --port 8785
148
148
  ```
149
149
 
150
150
  ### Portable RoboCurve SET Verification (`robot-gate set`) & CapEx Planner (`robot-gate plan`)
@@ -10,7 +10,7 @@ Every time anything on a robot changes—`ROBOT.md` bounds, a skill/policy, an e
10
10
 
11
11
  ## `<10s` Zero-ROS-Install Demo (`robot-gate demo --ros2`)
12
12
 
13
- Run the full Wedge A-Upmarket end-to-end verification in one command—**zero ROS 2 or robot hardware required**:
13
+ Run the full ROS 2 & compliance pre-flight verification in one command—**zero ROS 2 or robot hardware required**:
14
14
 
15
15
  ```bash
16
16
  robot-gate demo --ros2
@@ -31,11 +31,11 @@ In under 10 seconds, `robot-gate demo --ros2`:
31
31
 
32
32
  - **ROS 2 Pre-Flight Boundary Interceptor (`robot-gate ros2-bridge`):** Drops cleanly between AI/VLA planners (MoveIt 2, OpenVLA, Isaac ROS, custom policies) and `ros2_control` / UR RTDE / Fairino FR5 / xArm6 without replacing ROS 2. Enforces signed `ROBOT.md` + Hard Receipt Latch + Trust Ladder speed clamping (`L0_OBSERVE` = 0% shadow deny, `L1` = 30%, `L2` = 60%, `L3` = 100%) and generates drop-in `graft_ros2_gate.launch.py` & `graft_ros2_params.yaml` bundles.
33
33
  - **1-Click ISO 10218:2025 & EU 2023/1230 Compliance Pack (`robot-gate compliance-pack`):** Produces a tamper-evident `graft-compliance-pack.zip` (`compliance_manifest.json` + Warm Workshop printable `compliance_dossier.html` + SHA-256 SBOM, strictly excluding all private keys) with fail-closed offline `--verify`.
34
- - **Opt-In Hosted Fleet Receipt Vault (`robot-gate vault push` / `status`):** Zero phone-home when `GRAFT_VAULT_API_KEY` is unset (100% air-gap / ITAR-EAR safe). When opted in, pushes signed receipt hashes, verdicts, and drift telemetry to the Cloudflare D1 Fleet Vault (`POST /api/vault/receipts`) with 5-year retention.
35
- - **Rust `graft-core 0.1.0` + `graft-watchdog`:** Microsecond-scale PyO3 Rust spatial kernel (`box_signed_distance`, `check_swept_path_fast`, and 3D point-cloud voxel-to-OBJ meshing with pure-Python fallback) paired with `bounded-embodiment` RFC 8785 JCS SHA-256 canonical hashing / Ed25519 Envelope 0.2 signing and an independent OS-level `graft-watchdog` heartbeat supervisor.
34
+ - **Opt-In Hosted Fleet Receipt Vault (`robot-gate vault push` / `status`):** Zero phone-home when `GRAFT_VAULT_API_KEY` is unset (100% air-gap / ITAR-EAR safe). When opted in, pushes signed receipt hashes, verdicts, and drift telemetry to the Cloudflare D1 Fleet Vault (`POST /api/vault/receipts`) with 5-year active retention (+ 10-year offline-verifiable compliance archive export for EU 2023/1230 Annex IV).
35
+ - **Rust `graft-core 0.1.0` + `graft-watchdog`:** Microsecond-scale PyO3 Rust spatial kernel (`box_signed_distance`, `check_swept_path_fast` at `1.96 µs/check`, and `316 Hz` / `3.16 ms p50` LAN 3D LiDAR point-cloud voxel-to-OBJ meshing with pure-Python fallback) paired with `bounded-embodiment` RFC 8785 JCS SHA-256 canonical hashing / Ed25519 Envelope 0.2 signing and an independent OS-level `graft-watchdog` heartbeat supervisor (`0.22 ms p50` `/stop`).
36
36
  - **6-Family Hand HAL (`mechanics.py`):** Deterministic grasp physics and interlock enforcement across `parallel_2f`, `concentric_3f`, `dexterous_5f`, `vacuum_suction`, `magnetic_atc`, and `bimanual_coordinated`.
37
37
  - **Semantic-to-Deterministic Ratchet (`semantic_guard.py`):** Monotonic 4-tier trust ladder (`L0_OBSERVE` → `L1_ATOMIC_ASSIST` → `L2_SUPERVISED_CHAIN` → `L3_AUTONOMOUS_FROZEN`) freezing 100%-verified skills into zero-LLM-jitter `skills/<name>.yaml`.
38
- - **Graft Cell Console (`robot-gate serve --dir ... --port 8788`):** Local-first, zero-cloud FastAPI harness + operator UI with hard receipt latch, live actuator telemetry, trust-ladder controls, software hold/release, and EV-03 offline JSON audit export.
38
+ - **Graft Cell Console (`robot-gate serve --dir ... --port 8785`):** Local-first, zero-cloud FastAPI harness + operator UI with hard receipt latch, live actuator telemetry, trust-ladder controls, software hold/release, and EV-03 offline JSON audit export.
39
39
  - **Guided Onboarding (`6 personas`), Portable SET Kit & Shop CapEx Planner:** `robot-gate onboard` (`cnc`, `lab`, `oem`, `benchtop`, `ehs`, `ros2`), `robot-gate set` RoboCurve Six Easy Tasks rehearsal, and `robot-gate plan` 20-asset Shop Swarm ROI optimizer.
40
40
 
41
41
  ---
@@ -50,7 +50,7 @@ uvx robot-gate demo --ros2
50
50
  uvx robot-gate connect --client claude --robot ur5e --env industrial --out ./my-cell
51
51
 
52
52
  # 3. Install locally as a persistent CLI tool (or with Cell Console FastAPI server):
53
- uv tool install "robot-gate[server]"
53
+ uv tool install --upgrade "robot-gate[server]"
54
54
  # Install companion RRF core CLI tools with executable shims:
55
55
  uv tool install robot-md-gateway --with-executables-from robot-md
56
56
  ```
@@ -98,7 +98,7 @@ robot-gate install-hook --dir ./my-cell
98
98
  robot-gate install-systemd --dir /opt/graft-cell --port 8785 --user robot --out /tmp/robot-gate.service
99
99
 
100
100
  # Start the offline on-robot Graft Cell Console UI (boots safely in L0_OBSERVE)
101
- robot-gate serve --dir ./my-cell --host 127.0.0.1 --port 8788
101
+ robot-gate serve --dir ./my-cell --host 127.0.0.1 --port 8785
102
102
  ```
103
103
 
104
104
  ### Portable RoboCurve SET Verification (`robot-gate set`) & CapEx Planner (`robot-gate plan`)
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "robot-gate"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "Deterministic on-robot deployment harness, ROS 2 pre-flight boundary interceptor, ISO 10218:2025 / EU 2023/1230 compliance pack generator, and change-triggered regression test gate."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -52,8 +52,8 @@ Issues = "https://github.com/craigm26/graft-robotics/issues"
52
52
 
53
53
  [project.optional-dependencies]
54
54
  # Note on optional Rust hot-path kernel (`graft-core>=0.1.0`):
55
- # Build local/reproducible wheels via `./scripts/build_wheels.sh` (`maturin build --release`)
56
- # or install from PyPI once published. `robot-gate` runs with pure-Python fallback if absent.
55
+ # Live on PyPI (`uv pip install graft-core`), or build local/reproducible wheels via
56
+ # `./scripts/build_wheels.sh` (`maturin build --release`). `robot-gate` runs with pure-Python fallback if absent.
57
57
  server = [
58
58
  "fastapi>=0.110",
59
59
  "uvicorn>=0.27",
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- __version__ = "0.2.0"
5
+ __version__ = "0.2.1"
6
6
 
7
7
  SAFETY_BOUNDARY_STATEMENT = (
8
8
  "robot-gate and robot-md-gateway provide a deterministic, default-deny software "
@@ -4,7 +4,7 @@ Commands:
4
4
  robot-gate init Scaffold ROBOT.md, gate.yaml, optional Ed25519 keys, and baseline profile
5
5
  robot-gate connect 3-click LLM-to-Robot connect kit (connect-graft.sh, AI client config, ROBOT.md, FIRST_PROMPT.md)
6
6
  robot-gate onboard Guided offline self-serve onboarding wizard (6 personas incl. ros2, ROBOT.md v1.1, L0 self-test)
7
- robot-gate demo 1-command local demo (Mission Control UI or `--ros2` zero-ROS-install ROS 2 + compliance demo)
7
+ robot-gate demo 1-command local demo (Graft Cell Console or `--ros2` zero-ROS-install ROS 2 + compliance demo)
8
8
  robot-gate set Safe L0_OBSERVE RoboCurve Six Easy Tasks (SET) verification & portable bundle export
9
9
  robot-gate plan Deterministic Shop Swarm & CapEx ROI planner (20-asset catalog, bottleneck & payback)
10
10
  robot-gate snapshot Capture measured hardware telemetry (and optionally patch MuJoCo MJCF)
@@ -27,7 +27,9 @@ import shlex
27
27
  import stat
28
28
  import sys
29
29
  import tempfile
30
+ import threading
30
31
  import time
32
+ import webbrowser
31
33
  from dataclasses import replace
32
34
  from pathlib import Path
33
35
 
@@ -39,6 +41,47 @@ def _c(text: str, code: str) -> str:
39
41
  return text
40
42
  return f"\033[{code}m{text}\033[0m"
41
43
 
44
+
45
+ def _print_next_actions_footer(root: Path | str | None = None) -> None:
46
+ """Print guided 3-step next-actions footer (strictly suppressed under --json)."""
47
+ root_str = str(root) if root is not None else "."
48
+ print("\nNext Actions:")
49
+ print(f' 1. robot-gate serve --dir "{root_str}" --port 8785 --open')
50
+ print(" 2. robot-gate connect --client claude --robot ur5e --env industrial")
51
+ print(
52
+ " 3. https://graftrobotics.ai/vault/?demo=1 (1-click Demo Fleet) · "
53
+ "https://graftrobotics.ai/compliance/#verify"
54
+ )
55
+ print(
56
+ " Offline by default — 0 network calls unless GRAFT_VAULT_API_KEY is exported. "
57
+ "Paired with hardwired ISO 13850 E-stops (0 PL/SIL credit)."
58
+ )
59
+
60
+
61
+ def _render_ros2_demo_workspace_map() -> list[str]:
62
+ """Return a compact 7-line Unicode top-down UR5e workspace & gate trace diagram."""
63
+ ok_mark = _c("✓", "32;1")
64
+ deny_mark = _c("✗", "31;1")
65
+ return [
66
+ " Top-Down UR5e Workspace (X[-0.75,+0.75]m × Y[-0.65,+0.65]m):",
67
+ " ┌──────────────────────────────────┐ Legend:",
68
+ " │░░░░░│ │ │ ░░ operator_front_aisle (keep-out)",
69
+ f" │░░░░░│ {ok_mark} │██{deny_mark}██│ ██ cnc_spindle_head (keep-out)",
70
+ " │░░░░░│ (0.10, 0.00) │█████│ ✓ nominal ALLOW (L1, h > 0)",
71
+ " │░░░░░│ │ │ ✗ spindle DENY (KEEPOUT_VIOLATION)",
72
+ " └──────────────────────────────────┘ X: -0.75m ─────────────── +0.75m",
73
+ ]
74
+
75
+
76
+ def _schedule_browser_open(host: str, port: int, delay_s: float = 0.6) -> threading.Timer:
77
+ """Open local Graft Cell Console in the default browser shortly after server bind."""
78
+ display_host = "127.0.0.1" if host in ("0.0.0.0", "::", "") else host
79
+ url = f"http://{display_host}:{int(port)}/"
80
+ timer = threading.Timer(delay_s, webbrowser.open, args=(url,))
81
+ timer.daemon = True
82
+ timer.start()
83
+ return timer
84
+
42
85
  from . import SAFETY_BOUNDARY_STATEMENT, __version__
43
86
  from .audit import verify_audit_chain
44
87
  from .bounded_bridge import (
@@ -137,9 +180,15 @@ def _cmd_init(args: argparse.Namespace) -> int:
137
180
  print(f"Initialized robot-gate workspace in {root}")
138
181
  print(f" Preset: {args.preset} ({emb.dof}-DoF)")
139
182
  print(f" Manifest: {manifest_path} ({'Ed25519 signed' if args.sign else 'unsigned'})")
183
+ if not args.sign:
184
+ print(
185
+ " Tip: Pass `--sign` to generate an Ed25519 keypair and cryptographically "
186
+ "sign ROBOT.md for production receipt latches."
187
+ )
140
188
  print(f" Config: {gate_yaml}")
141
189
  print(f" Baseline: {root / cfg.hardware_profile_path}")
142
190
  print(f"\nNext: run `robot-gate check --dir {root} --sim-only`")
191
+ _print_next_actions_footer(root)
143
192
  return 0
144
193
 
145
194
 
@@ -375,14 +424,21 @@ def _cmd_serve(args: argparse.Namespace) -> int:
375
424
  root = Path(args.dir).resolve()
376
425
  cfg = GateConfig.load(root / "gate.yaml")
377
426
  app = create_app(root, cfg, bind_host=args.host)
378
- print(f"Graft Robotics robot-gate Mission Control -> http://{args.host}:{args.port}/")
427
+ print(f"Graft Robotics Cell Console -> http://{args.host}:{args.port}/")
379
428
  print(SAFETY_BOUNDARY_STATEMENT)
380
- uvicorn.run(app, host=args.host, port=args.port)
429
+ timer: threading.Timer | None = None
430
+ if getattr(args, "open", False):
431
+ timer = _schedule_browser_open(args.host, int(args.port))
432
+ try:
433
+ uvicorn.run(app, host=args.host, port=args.port)
434
+ finally:
435
+ if timer is not None:
436
+ timer.cancel()
381
437
  return 0
382
438
 
383
439
 
384
440
  def _run_ros2_zero_install_demo(args: argparse.Namespace) -> int:
385
- """<10s zero-ROS-install Wedge A demo: signed UR5e -> 4-stage gate -> ROS 2 stream -> compliance pack."""
441
+ """<10s zero-ROS-install demo: signed UR5e -> 4-stage gate -> ROS 2 stream -> compliance pack."""
386
442
  t0 = time.perf_counter()
387
443
  if args.dir:
388
444
  root = Path(args.dir).resolve()
@@ -684,13 +740,27 @@ def _run_ros2_zero_install_demo(args: argparse.Namespace) -> int:
684
740
  )
685
741
  print(f" ZIP archive : {pack.zip_path}")
686
742
  print(f" Safety Boundary: {SAFETY_BOUNDARY_STATEMENT}")
743
+ print("-" * 76)
744
+ for line in _render_ros2_demo_workspace_map():
745
+ print(line)
687
746
  print("=" * 76)
747
+ _print_next_actions_footer(root)
748
+
749
+ if overall_passed and getattr(args, "serve", False):
750
+ return _cmd_serve(
751
+ argparse.Namespace(
752
+ dir=str(root),
753
+ host=getattr(args, "host", "127.0.0.1"),
754
+ port=getattr(args, "port", 8785),
755
+ open=bool(getattr(args, "open", False)),
756
+ )
757
+ )
688
758
 
689
759
  return 0 if overall_passed else 1
690
760
 
691
761
 
692
762
  def _cmd_demo(args: argparse.Namespace) -> int:
693
- """Zero-friction 1-command local demo: Mission Control UI or `--ros2` zero-ROS-install demo."""
763
+ """Zero-friction 1-command local demo: Graft Cell Console or `--ros2` zero-ROS-install demo."""
694
764
  if getattr(args, "ros2", False):
695
765
  return _run_ros2_zero_install_demo(args)
696
766
 
@@ -709,7 +779,14 @@ def _cmd_demo(args: argparse.Namespace) -> int:
709
779
  return rc
710
780
  cfg = GateConfig.load(root / "gate.yaml")
711
781
  run_gate_check(root, cfg, sim_only=True)
712
- return _cmd_serve(argparse.Namespace(dir=str(root), host=args.host, port=args.port))
782
+ return _cmd_serve(
783
+ argparse.Namespace(
784
+ dir=str(root),
785
+ host=args.host,
786
+ port=args.port,
787
+ open=bool(getattr(args, "open", False)),
788
+ )
789
+ )
713
790
 
714
791
 
715
792
  def _cmd_mcp(args: argparse.Namespace) -> int:
@@ -1224,6 +1301,7 @@ def _cmd_compliance_pack(args: argparse.Namespace) -> int:
1224
1301
  print(f" HTML dossier: {pack.dossier_html_path}")
1225
1302
  print(f" Evidence : {pack.evidence_count} hashed artifact(s) · 0 private keys bundled")
1226
1303
  print(f" Verify : robot-gate compliance-pack --verify {pack.zip_path}")
1304
+ _print_next_actions_footer(root)
1227
1305
  return 0
1228
1306
 
1229
1307
 
@@ -1271,6 +1349,7 @@ def _cmd_vault_status(args: argparse.Namespace) -> int:
1271
1349
  print(f" [{alert.severity.upper()}] {alert.robot_id} {alert.metric}: {alert.message}")
1272
1350
  elif res.offline:
1273
1351
  print(f"Vault status [OFFLINE]: {res.error}")
1352
+ _print_next_actions_footer(None)
1274
1353
  else:
1275
1354
  print(f"Vault status [ERROR]: {res.error}", file=sys.stderr)
1276
1355
  return 0 if (res.ok or res.offline) else 1
@@ -1569,7 +1648,8 @@ def _render_connect_script(
1569
1648
  [
1570
1649
  "# 1. ITAR / Air-Gapped Offline Install (strictly zero cloud downloads or phone-home)",
1571
1650
  'if [ -d "$WORKSPACE_DIR/wheelhouse" ]; then',
1572
- ' uv pip install --no-index --find-links "$WORKSPACE_DIR/wheelhouse" robot-md bounded-embodiment robot-md-gateway castor-hal',
1651
+ ' uv pip install --no-index --find-links "$WORKSPACE_DIR/wheelhouse" robot-md bounded-embodiment robot-md-gateway castor-hal "robot-gate[server]" graft-core || \\',
1652
+ ' uv pip install --no-index --find-links "$WORKSPACE_DIR/wheelhouse" robot-md bounded-embodiment robot-md-gateway castor-hal "robot-gate[server]"',
1573
1653
  "fi",
1574
1654
  "unset GRAFT_VAULT_API_KEY || true",
1575
1655
  "",
@@ -1582,8 +1662,8 @@ def _render_connect_script(
1582
1662
  "if ! command -v robot-md-gateway >/dev/null 2>&1; then",
1583
1663
  " uv tool install --upgrade robot-md-gateway --with bounded-embodiment --with castor-hal --with robot-md --with-executables-from robot-md",
1584
1664
  "fi",
1585
- 'if ! command -v robot-gate >/dev/null 2>&1 && [ -d "./robot-gate" ]; then',
1586
- " uv tool install --editable './robot-gate[server]'",
1665
+ "if ! command -v robot-gate >/dev/null 2>&1; then",
1666
+ ' uv tool install --upgrade "robot-gate[server]"',
1587
1667
  "fi",
1588
1668
  "",
1589
1669
  ]
@@ -1908,9 +1988,30 @@ def _cmd_connect(args: argparse.Namespace) -> int:
1908
1988
 
1909
1989
 
1910
1990
  def build_parser() -> argparse.ArgumentParser:
1991
+ epilog = (
1992
+ "Workflow Tracks (Offline by Default · 0 Phone-Home):\n"
1993
+ " 1. Quickstart & Local Cell Console\n"
1994
+ " robot-gate demo --ros2 <10s zero-ROS UR5e boundary + compliance demo\n"
1995
+ " robot-gate init --preset ur5e --sign Scaffold Ed25519-signed ROBOT.md & gate.yaml\n"
1996
+ " robot-gate serve --dir . --port 8785 --open Launch local Graft Cell Console in browser\n"
1997
+ "\n"
1998
+ " 2. AI / MCP & ROS 2 Runtime Integration\n"
1999
+ " robot-gate connect --client claude --robot ur5e --env industrial\n"
2000
+ " robot-gate mcp --dir . Start stdio MCP safety server for AI clients\n"
2001
+ " robot-gate ros2-bridge --dir . --mode shadow ROS 2 / MoveIt 2 pre-flight boundary node\n"
2002
+ "\n"
2003
+ " 3. Audit, Compliance & Opt-In Fleet Vault\n"
2004
+ " robot-gate check --dir . --sim-only Run 4-stage deterministic pre-flight gate\n"
2005
+ " robot-gate compliance-pack --dir . Generate ISO 10218:2025 / EU 2023/1230 ZIP\n"
2006
+ " robot-gate vault status Opt-in Fleet Vault (0 network without key)\n"
2007
+ "\n"
2008
+ "Safety Boundary: Software pre-flight gate only — paired with hardwired ISO 13850 E-stops (0 PL/SIL credit)."
2009
+ )
1911
2010
  parser = argparse.ArgumentParser(
1912
2011
  prog="robot-gate",
1913
2012
  description="Deterministic on-robot deployment harness and change-triggered regression gate.",
2013
+ epilog=epilog,
2014
+ formatter_class=argparse.RawDescriptionHelpFormatter,
1914
2015
  )
1915
2016
  parser.add_argument("-v", "--version", action="version", version=f"robot-gate {__version__}")
1916
2017
  sub = parser.add_subparsers(dest="cmd", required=True)
@@ -2049,25 +2150,40 @@ def build_parser() -> argparse.ArgumentParser:
2049
2150
  p_sysd.add_argument("--json", action="store_true", help="Output structured JSON")
2050
2151
  p_sysd.set_defaults(func=_cmd_install_systemd)
2051
2152
 
2052
- p_srv = sub.add_parser("serve", help="Run offline on-robot FastAPI harness + Mission Control UI")
2153
+ p_srv = sub.add_parser("serve", help="Run offline on-robot FastAPI harness + Graft Cell Console")
2053
2154
  p_srv.add_argument("--dir", default=".")
2054
2155
  p_srv.add_argument("--host", default="127.0.0.1")
2055
2156
  p_srv.add_argument("--port", type=int, default=8785)
2157
+ p_srv.add_argument(
2158
+ "--open",
2159
+ action="store_true",
2160
+ help="Open the local Graft Cell Console in your default browser after startup",
2161
+ )
2056
2162
  p_srv.set_defaults(func=_cmd_serve)
2057
2163
 
2058
2164
  p_demo = sub.add_parser(
2059
2165
  "demo",
2060
- help="Initialize a signed cell, run gate, and open Mission Control UI (or `--ros2` zero-ROS demo)",
2166
+ help="Initialize a signed cell, run gate, and open Graft Cell Console (or `--ros2` zero-ROS demo)",
2061
2167
  )
2062
- p_demo.add_argument("--dir", default=None, help="Target workspace directory (temp dir when --ros2 omitted)")
2168
+ p_demo.add_argument("--dir", default=None, help="Target workspace directory (defaults to temp dir with --ros2, or ./.robot-gate-demo otherwise)")
2063
2169
  p_demo.add_argument("--preset", choices=sorted(PRESET_EMBODIMENTS), default="fairino-fr5")
2064
2170
  p_demo.add_argument("--host", default="127.0.0.1")
2065
2171
  p_demo.add_argument("--port", type=int, default=8785)
2172
+ p_demo.add_argument(
2173
+ "--open",
2174
+ action="store_true",
2175
+ help="Open the local Graft Cell Console in your default browser after startup",
2176
+ )
2066
2177
  p_demo.add_argument(
2067
2178
  "--ros2",
2068
2179
  action="store_true",
2069
2180
  help="Run <10s zero-ROS-install UR5e ROS 2 boundary + compliance pack demo (no server/hardware needed)",
2070
2181
  )
2182
+ p_demo.add_argument(
2183
+ "--serve",
2184
+ action="store_true",
2185
+ help="After `--ros2` demo completes, launch the local Graft Cell Console on that workspace",
2186
+ )
2071
2187
  p_demo.add_argument("--json", action="store_true", help="Output structured JSON (for `--ros2` demo)")
2072
2188
  p_demo.set_defaults(func=_cmd_demo)
2073
2189
 
@@ -1,7 +1,7 @@
1
1
  """Zero-dependency Model Context Protocol (MCP) JSON-RPC 2.0 stdio server (`robot-gate mcp`).
2
2
 
3
3
  Plug Claude Code, Antigravity, Gemini CLI, or Codex directly into any robot governed by
4
- `ROBOT.md` in 1 config line. Exposes structured, intent-verified robotics & Wedge A-Upmarket tools:
4
+ `ROBOT.md` in 1 config line. Exposes structured, intent-verified robotics, ROS 2 pre-flight & compliance tools:
5
5
  - robot_get_status
6
6
  - robot_run_gate_check
7
7
  - robot_dry_run_plan
@@ -219,8 +219,8 @@ def build_connect_agent_bundle(
219
219
  "env": server_env,
220
220
  },
221
221
  "robot-gate": {
222
- "command": "uv",
223
- "args": ["run", "--no-sync", "robot-gate", "mcp", "--dir", "."],
222
+ "command": "uvx",
223
+ "args": ["robot-gate", "mcp", "--dir", "."],
224
224
  "env": server_env,
225
225
  },
226
226
  }
@@ -230,6 +230,7 @@ def build_connect_agent_bundle(
230
230
  install_commands = [
231
231
  "claude plugin marketplace add RobotRegistryFoundation/claude-code-plugins",
232
232
  "claude plugin install graft-robotics@robotregistryfoundation",
233
+ 'uv tool install --upgrade "robot-gate[server]"',
233
234
  "uv tool install robot-md-gateway --with-executables-from robot-md --with bounded-embodiment --with castor-hal",
234
235
  ]
235
236
  elif norm_client == "antigravity":
@@ -244,8 +245,8 @@ def build_connect_agent_bundle(
244
245
  "env": server_env,
245
246
  },
246
247
  "robot-gate": {
247
- "command": "uv",
248
- "args": ["run", "--no-sync", "robot-gate", "mcp", "--dir", "."],
248
+ "command": "uvx",
249
+ "args": ["robot-gate", "mcp", "--dir", "."],
249
250
  "env": server_env,
250
251
  },
251
252
  }
@@ -254,6 +255,7 @@ def build_connect_agent_bundle(
254
255
  client_label = "Google Antigravity (Side-Pane MCP App v0.5.0)"
255
256
  install_commands = [
256
257
  "curl -fsSL https://raw.githubusercontent.com/craigm26/antigravity-plugins/main/install.sh | bash -s -- --plugin graft-robotics",
258
+ 'uv tool install --upgrade "robot-gate[server]"',
257
259
  "uv tool install robot-md-gateway --with-executables-from robot-md --with bounded-embodiment --with castor-hal",
258
260
  ]
259
261
  elif norm_client == "codex":
@@ -268,18 +270,19 @@ def build_connect_agent_bundle(
268
270
  config_text = (
269
271
  "[mcp_servers.graft_robotics]\n"
270
272
  'command = "python3"\n'
271
- 'args = ["~/.graft-robotics/server/server.py"]\n'
273
+ 'args = ["~/.gemini/config/plugins/graft-robotics/server/server.py"]\n'
272
274
  "\n"
273
275
  "[mcp_servers.graft_robotics.env]\n"
274
276
  f"{env_toml}\n"
275
277
  "\n"
276
278
  "[mcp_servers.robot_gate]\n"
277
- 'command = "uv"\n'
278
- 'args = ["run", "--no-sync", "robot-gate", "mcp", "--dir", "."]\n'
279
+ 'command = "uvx"\n'
280
+ 'args = ["robot-gate", "mcp", "--dir", "."]\n'
279
281
  )
280
282
  client_label = "OpenAI Codex CLI (~/.codex/config.toml)"
281
283
  install_commands = [
282
- "mkdir -p ~/.graft-robotics && cp -r plugins/graft-robotics/server ~/.graft-robotics/",
284
+ "curl -fsSL https://raw.githubusercontent.com/craigm26/antigravity-plugins/main/install.sh | bash -s -- --plugin graft-robotics",
285
+ 'uv tool install --upgrade "robot-gate[server]"',
283
286
  "uv tool install robot-md-gateway --with-executables-from robot-md --with bounded-embodiment --with castor-hal",
284
287
  ]
285
288
  elif norm_client == "gemini":
@@ -297,8 +300,8 @@ def build_connect_agent_bundle(
297
300
  "env": server_env,
298
301
  },
299
302
  "robot-gate": {
300
- "command": "uv",
301
- "args": ["run", "--no-sync", "robot-gate", "mcp", "--dir", "."],
303
+ "command": "uvx",
304
+ "args": ["robot-gate", "mcp", "--dir", "."],
302
305
  "env": server_env,
303
306
  },
304
307
  },
@@ -307,6 +310,7 @@ def build_connect_agent_bundle(
307
310
  client_label = "Google Gemini CLI (gemini-extension.json v0.5.0)"
308
311
  install_commands = [
309
312
  "curl -fsSL https://raw.githubusercontent.com/craigm26/antigravity-plugins/main/install.sh | bash -s -- --plugin graft-robotics",
313
+ 'uv tool install --upgrade "robot-gate[server]"',
310
314
  "uv tool install robot-md-gateway --with-executables-from robot-md --with bounded-embodiment --with castor-hal",
311
315
  ]
312
316
  elif norm_client == "apple_mlx":
@@ -327,12 +331,12 @@ def build_connect_agent_bundle(
327
331
  "mcpServers": {
328
332
  "graft-robotics": {
329
333
  "command": "python3",
330
- "args": ["~/.graft-robotics/server/server.py"],
334
+ "args": ["~/.gemini/config/plugins/graft-robotics/server/server.py"],
331
335
  "env": {"GRAFT_CELL_URL": "http://127.0.0.1:8785"},
332
336
  },
333
337
  "robot-gate": {
334
- "command": "uv",
335
- "args": ["run", "--no-sync", "robot-gate", "mcp", "--dir", "."],
338
+ "command": "robot-gate",
339
+ "args": ["mcp", "--dir", "."],
336
340
  "env": {"GRAFT_CELL_URL": "http://127.0.0.1:8785"},
337
341
  },
338
342
  },
@@ -342,6 +346,7 @@ def build_connect_agent_bundle(
342
346
  install_commands = [
343
347
  "uv tool install mlx-lm",
344
348
  f"mlx_lm.server --model {mlx_model} --host 127.0.0.1 --port 11434",
349
+ 'uv tool install --upgrade "robot-gate[server]"',
345
350
  "uv tool install robot-md-gateway --with-executables-from robot-md --with bounded-embodiment --with castor-hal",
346
351
  ]
347
352
  else: # google_gemma4 / ollama
@@ -362,12 +367,12 @@ def build_connect_agent_bundle(
362
367
  "mcpServers": {
363
368
  "graft-robotics": {
364
369
  "command": "python3",
365
- "args": ["~/.graft-robotics/server/server.py"],
370
+ "args": ["~/.gemini/config/plugins/graft-robotics/server/server.py"],
366
371
  "env": {"GRAFT_CELL_URL": "http://127.0.0.1:8785"},
367
372
  },
368
373
  "robot-gate": {
369
- "command": "uv",
370
- "args": ["run", "--no-sync", "robot-gate", "mcp", "--dir", "."],
374
+ "command": "robot-gate",
375
+ "args": ["mcp", "--dir", "."],
371
376
  "env": {"GRAFT_CELL_URL": "http://127.0.0.1:8785"},
372
377
  },
373
378
  },
@@ -376,13 +381,15 @@ def build_connect_agent_bundle(
376
381
  client_label = "Google Gemma 4 / Ollama (100% Local Air-Gapped Edge)"
377
382
  install_commands = [
378
383
  f"ollama pull {gemma_model}",
384
+ 'uv tool install --upgrade "robot-gate[server]"',
379
385
  "uv tool install robot-md-gateway --with-executables-from robot-md --with bounded-embodiment --with castor-hal",
380
386
  ]
381
387
 
382
388
  effective_vault = vault_enabled and not airgapped_client
383
389
  if effective_vault:
384
390
  vault_note = (
385
- "Opt-in Hosted Fleet Vault ENABLED (5-year Cloudflare D1 retention): set "
391
+ "Opt-in Hosted Fleet Vault ENABLED (5-year active Cloudflare D1 retention + 10-year "
392
+ "offline-verifiable compliance archive export for EU 2023/1230 Annex IV): set "
386
393
  "GRAFT_VAULT_API_KEY in your shell environment, run `robot-gate vault push`, and "
387
394
  "inspect drift alerts via `graft_vault_status`. Never upload ITAR/EAR controlled data."
388
395
  )
@@ -428,7 +435,7 @@ def build_connect_agent_bundle(
428
435
  "config_text": config_text,
429
436
  "config_parsed": config_obj,
430
437
  "install_commands": install_commands,
431
- "cloudflare_ci_hook": "./scripts/cloudflare-build.sh",
438
+ "cloudflare_ci_hook": "robot-gate/ci/cloudflare-build.sh",
432
439
  "l0_starter_prompt": l0_starter_prompt,
433
440
  "vault_note": vault_note,
434
441
  "iso_13850_boundary": ISO_13850_HARDWARE_BOUNDARY_ATTESTATION,
@@ -1400,15 +1400,15 @@ Self-Test : {'PASS' if selftest['passed'] else 'FAIL'} (SHA-256: {selftest['
1400
1400
  {probe_line}
1401
1401
 
1402
1402
  --------------------------------------------------------------------------------
1403
- 1. START YOUR LOCAL GRAFT CELL CONSOLE (OFFLINE, PORT 8788)
1403
+ 1. START YOUR LOCAL GRAFT CELL CONSOLE (OFFLINE, PORT 8785)
1404
1404
  --------------------------------------------------------------------------------
1405
1405
  Run this exact command on your Pi 5, Mac mini, or Ubuntu shop PC:
1406
1406
 
1407
- robot-gate serve --dir "{cfg.out_dir}" --port 8788
1407
+ robot-gate serve --dir "{cfg.out_dir}" --port 8785
1408
1408
 
1409
1409
  Then open in your local browser:
1410
1410
 
1411
- http://127.0.0.1:8788/
1411
+ http://127.0.0.1:8785/
1412
1412
 
1413
1413
  Useful offline CLI checks (zero motion):
1414
1414
  robot-gate check --dir "{cfg.out_dir}" --sim-only
@@ -1734,8 +1734,9 @@ def execute_onboard(
1734
1734
  "ros2_bundle": ros2_bundle,
1735
1735
  "probe_hardware": probe_result,
1736
1736
  "selftest": selftest,
1737
- "serve_command": f'robot-gate serve --dir "{root}" --port 8788',
1737
+ "serve_command": f'robot-gate serve --dir "{root}" --port 8785',
1738
1738
  "check_command": f'robot-gate check --dir "{root}" --sim-only',
1739
+ "compliance_pack_command": f'robot-gate compliance-pack --dir "{root}" --out "{comp_zip}"',
1739
1740
  "compliance_verify_command": f'robot-gate compliance-pack --verify "{comp_zip}"',
1740
1741
  "cloudflare_ci_command": f'WORKSPACE_DIR="{root}" bash robot-gate/ci/cloudflare-build.sh',
1741
1742
  "vault_push_command": f'robot-gate vault push --dir "{root}"',
@@ -1797,7 +1798,8 @@ def format_onboard_summary(result: dict[str, Any]) -> str:
1797
1798
  " Next Steps:",
1798
1799
  f" 1. Start local Cell Console : {result['serve_command']}",
1799
1800
  f" 2. Run full 4-stage gate : {result['check_command']}",
1800
- f" 3. Compliance / CI / Vault : {result['compliance_verify_command']}",
1801
+ f" 3. Compliance / CI / Vault : {result['compliance_pack_command']}",
1802
+ f" {result['compliance_verify_command']}",
1801
1803
  f" {result['cloudflare_ci_command']}",
1802
1804
  f" {result['vault_push_command']} (opt-in; offline when key unset)",
1803
1805
  f" 4. Open llm-coach-prompt.md + a photo of your cell in {cfg['ai_tier']} to verify keep-outs & datums.",