Metadata-Version: 2.5
Name: vmware-policy
Version: 1.26.0
Summary: Unified audit logging, policy enforcement, and sanitization for VMware MCP skills
Project-URL: Homepage, https://github.com/vmware-skills/VMware-Policy
Project-URL: Repository, https://github.com/vmware-skills/VMware-Policy
Project-URL: Issues, https://github.com/vmware-skills/VMware-Policy/issues
Project-URL: Changelog, https://github.com/vmware-skills/VMware-Policy/blob/main/RELEASE_NOTES.md
Author-email: Wei Zhou <zhouwei008@gmail.com>
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: pyyaml<7.0,>=6.0
Requires-Dist: rich<15.0,>=13.0
Requires-Dist: typer<1.0,>=0.12
Provides-Extra: dev
Requires-Dist: mcp[cli]<2.0,>=1.30; extra == 'dev'
Requires-Dist: pytest-cov<8.0,>=5.0; extra == 'dev'
Requires-Dist: pytest<10.0,>=8.0; extra == 'dev'
Requires-Dist: ruff<1.0,>=0.5; extra == 'dev'
Description-Content-Type: text/markdown

# VMware-Policy

<a id="readme-overview"></a>

Use shared policy checks and audit evidence across the VMware Skills family.

English · [简体中文](https://github.com/vmware-skills/VMware-Policy/blob/main/README-CN.md)

Community-maintained · MIT · Not an official VMware/Broadcom product.

[![24-second illustrative investigation demo](https://raw.githubusercontent.com/vmware-skills/marketplace/main/assets/demos/vmware-skills-en.gif)](https://github.com/vmware-skills/marketplace/releases/download/demos-2026-11-13-operations/vmware-skills-en.mp4)

Synthetic-data GIF; video includes redacted historical screenshots. [Download the AI-narrated family introduction (~3 min)](https://github.com/vmware-skills/marketplace/releases/download/demos-2026-11-13-operations/vmware-skills-en.mp4)

<a id="readme-capabilities-and-workflows"></a>

## Why use it?

- Apply shared policy and risk metadata to tool calls.
- Query audit records with the vmware-audit CLI.
- Sanitize external text and retain execution boundaries.

<a id="readme-quick-start"></a>

## Get started

Install the published CLI and inspect its commands:

```sh
uv tool install vmware-policy==1.26.0
vmware-audit --help
```

Requires uv and Python >=3.10. Keep configuration and audit data locally; companion modules use their own target configuration. [Setup guide](https://github.com/vmware-skills/VMware-Policy/blob/main/skills/vmware-policy/references/setup-guide.md).

For library integration and the audit CLI, use the [setup guide](https://github.com/vmware-skills/VMware-Policy/blob/main/skills/vmware-policy/references/setup-guide.md). Policy has no standalone MCP server.

Choose a model with the [shared model-fit workflow](https://github.com/vmware-skills/marketplace/blob/main/model-fit/RUNNER.md): compare the same tasks, review quality and safety, then select the smallest tested passing configuration per task group; this is not a production guarantee.

<a id="readme-safety-and-audit"></a>

## Know the boundaries

A shared dependency library and CLI, not a standalone MCP server. Local policy does not replace VMware RBAC or provide independent human approval.

<a id="readme-mcp-configuration"></a> <a id="readme-troubleshooting"></a> <a id="readme-reference"></a>

## Go deeper

- [Capabilities](https://github.com/vmware-skills/VMware-Policy/blob/main/skills/vmware-policy/references/capabilities.md)
- [CLI reference](https://github.com/vmware-skills/VMware-Policy/blob/main/skills/vmware-policy/references/cli-reference.md)
- [Agent guardrails](https://github.com/vmware-skills/VMware-Policy/blob/main/skills/vmware-policy/references/agent-guardrails.md)
- [Detailed usage and architecture](https://github.com/vmware-skills/VMware-Policy/blob/main/skills/vmware-policy/references/detailed-guide.md)
- [Canonical skill instructions](https://github.com/vmware-skills/VMware-Policy/blob/main/skills/vmware-policy/SKILL.md)

<a id="readme-companion-skills"></a>

Part of [VMware Skills](https://github.com/vmware-skills/marketplace): 15 skills, 14 MCP servers and one shared Policy library. If it helps your work, star the family portal.

<a id="readme-license"></a>

[Issues and feedback](https://github.com/vmware-skills/VMware-Policy/issues) · [MIT](https://opensource.org/license/mit/)


## Shared MCP result contracts

Policy 1.26.0 adds a common structured error view while preserving legacy text and success values. Offset-capable clients terminate on `next_offset`, not `truncated`. See the [contract and rollout notes](https://github.com/vmware-skills/VMware-Policy/blob/main/skills/vmware-policy/references/mcp-result-contract.md).
