[Unreleased]
Added
- · MCP server mode (
zenus mcp-server) — exposes all tool actions via stdio/SSE to Claude Code, Cline, Continue. Privilege tier STANDARD by default. - · MCP client mode — connect external MCP servers at startup; their tools are injected into the Zenus registry as
mcp__{server}__{tool}. - ·
mcpoptional dependency (pip install "zenus-core[mcp]") - · MCPConfig schema with full Pydantic validation for
mcp.serverandmcp.clientsections. - ·
zenus mcp-serverCLI subcommand with--transport,--host,--port,--allow-privilegedflags. - · 35 MCP unit tests covering server build, tool registration, privilege enforcement, CLI parsing, and client lifecycle.
- · MANIFESTO.md — first-principles document on the Zenus philosophy.
Security
- · Secret masking in audit logs and intent history (
[REDACTED]for API keys, bearer tokens, GitHub PATs). - · Owner-only file permissions on
~/.zenus/logs/and~/.zenus/history/(mode 0o700/0o600). - · URL scheme validation in NetworkOps — rejects
file://,dict://and other non-HTTP(S)/FTP schemes. - · Path resolution via
Path.resolve()in FileOps — closes../traversal vectors. - · GitHub token restricted to env-only — removed config.yaml fallback.
- ·
enforce_confirmation_policy()ensures risk≥2 steps always require confirmation. - · Temp file permissions hardened to
0o600in CodeExec. - · 30 security regression tests.