FRC quality gate (promote/hold)
faf_gatePhase III (FRC) — pre-promotion quality gate. Scores .faf content (edge Mk4) + estimates tokens and returns a deterministic promote/hold verdict BEFORE it goes to a Grok Collection. Promote IFF score >= min_score AND tokens <= max_tokens (defaults 85/8000). Edge parity with the local gate; the hold-hint can't list empty slots at the edge.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>"
},
"name": "faf_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Raw .faf YAML content to gate. | |
| min_score | No | Minimum score to promote (default 85). | |
| max_tokens | No | Maximum tokens to promote (default 8000). |