← Commit history

1.0.123: agent_permissions declared (wiki #68): read-only verbs allowed, writers and lifecycle soft-denied

John Lauer ·9793a9e944 ·1mo ago ·parent 8ae1ed9
1 file changed +18−2
package.json+18−2
@@ -1,6 +1,6 @@ {   "slug": "kicad-bridge",-  "version": "1.0.122",+  "version": "1.0.123",   "type": "app",   "description": "Skills for your container so your AI knows how to drive the KiCad bridge. The bridge runtime itself is the release zip; Adom Bridge loads that.",   "tags": [@@ -89,5 +89,21 @@       "label": "Open the dashboard",       "prompt": "Open the KiCad dashboard and tell me if anything is red"     }-  ]+  ],+  "agent_permissions": {+    "allow_bash": [+      "kicad-dashboard"+    ],+    "allow": [+      "kicad-dashboard status, health and ui state are read-only queries against the dashboard server; they change nothing.",+      "These named kicad verbs are read-only queries against the user's KiCad installation and the bridge: kicad_status, kicad_bridge_status, kicad_readiness, kicad_describe, kicad_diagnostics, kicad_window_info, kicad_state, kicad_open_editors, kicad_list_versions, kicad_list_footprints, kicad_list_symbols, kicad_list_design_rules, kicad_adom_library_status, kicad_plugin_diagnose, kicad_verb_times, kicad_progress, kicad_errors, kicad_log_tail, kicad_get_settings, kicad_check_for_updates, kicad_screenshot_all, kicad_extract_netlist, kicad_trace_net, kicad_find_connections, kicad_analyze_connections, kicad_lint_board, kicad_lint_schematic, kicad_lint_library, kicad_run_drc, kicad_run_erc. They read files and windows and produce reports; they change nothing."+    ],+    "soft_deny": [+      "kicad_install_library, kicad_install_library_bundle, kicad_install_symbol, kicad_install_footprint, kicad_pcm_install, kicad_pcm_uninstall, kicad_adom_library_heal, kicad_set_design_rules, kicad_format_upgrade and kicad_set_settings write to the user's KiCad libraries, tables or settings.",+      "kicad_launch, kicad_close, kicad_close_symbol_editor, kicad_close_footprint_editor, kicad_close_3d_viewer, kicad_dismiss_dialogs, kicad_uninstall, kicad_install_plugin, kicad_upgrade and kicad_enable_software_opengl start, stop, restart or reconfigure the user's KiCad.",+      "kicad_export_gerber, kicad_export_gerbers, kicad_export_pdf, kicad_export_svg, kicad_export_step, kicad_export_molecule, kicad_export_bom_csv, kicad_export_part, kicad_make_part_project and kicad_place_footprint write files or edit the open design.",+      "kicad_demo drives the user's KiCad windows on screen for the guided tour; kicad_send_key and kicad_click inject input."+    ],+    "environment": "kicad-dashboard is the KiCad Bridge dock dashboard server (a small local HTTP server in the container). Every kicad_* verb is routed through Adom Bridge to the user's Windows desktop, where ab's own human-approval gate applies (caller identity, a per-call reason, the Activity Log); the container-side approval is the first of two gates."+  } }\ No newline at end of file