> ## Documentation Index
> Fetch the complete documentation index at: https://docs.charmos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Validation

Validation checks whether your project is ready to run and publish.

## Run Validation

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
charm validate .
```

## What Validation Covers

* `charm.yaml` exists.
* Manifest schema is valid.
* Adapter type is supported.
* Entry point is importable or executable.
* Auth providers are recognized.
* Policies and pricing are well-formed.
* Paths are portable.
* Interface schema is valid.

## Common Fixes

* Put `charm.yaml` at the project root.
* Match `runtime.adapter.entry_point` to your actual module/object.
* Use relative paths.
* Declare required environment variables.
* Update `persona.version` before publishing a new version.

## Before Publishing

Always run:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
charm validate .
charm run . --input "Hello"
```
