mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
The Grok Secretary could chat but had zero directive tools — it could not read company state or act on a CEO command, so it was non-functional. This is the integration blocker. - secretary-tools.js: opencode plugin registering read_company_state / read_task / submit_directive via the Hooks.tool API, each calling /api/secretary/* with the container's HMAC agent token — a direct port of the Claude Secretary's SDK tools (secretary_driver.build_secretary_options). The high-impact directive kinds stay gated server-side (queued for CEO confirm). - agent-grok-secretary.Dockerfile: bake the plugin and scope it to this image via ROBOCO_OPENCODE_EXTRA_PLUGINS, so only the Secretary carries CEO authority. - grok_secretary_main: correct the docstring that falsely claimed the tools reached the API "through the mounted MCP gateway" (there is no gateway mount; they're an opencode plugin). - secretary.md: name the three tools and restate the confirm-before-act gate. Verified locally that opencode loads a file-path plugin importing @opencode-ai/plugin and resolves the package; the live model-tool-call + backend round-trip is flagged UNVERIFIED-LIVE for the NAS.