mcpwn API
    Preparing search index...

    Type Alias ValidationResult

    ValidationResult: { ok: true; rules: Rule[] } | { errors: string[]; ok: false }

    Hand-rolled, zero-dependency validation for tamper-rule files. We refuse to pull in a JSON-Schema runtime (NFR-6: zero runtime deps) yet still want the precise, friendly errors a schema would give — including "did you mean …?" suggestions for mistyped action kinds and field names. schema/rules.schema.json is the published machine-readable mirror of these rules for editors/CI.