Smart Rules
smart_rulesDiagnose Persian text for editorial risk signals like long sentences, ZWNJ issues, and cliches, then build a tailored edit checklist with rules selected for the problems found.
Instructions
Diagnose Persian text, then build a tailored deep-edit checklist.
Smarter than deep_rules: instead of a fixed checklist, the text is first
scanned for editorial risk signals (long sentences, bureaucratic fossils,
Arabic chars, Latin punctuation, ZWNJ issues, quotes, numbers, cliches,
repetition, ...). Rules are then pulled for the issues actually present,
ordered by signal weight; every rule carries why (the evidence that
selected it). Layer 1 is always the task-type rule_pack.
General-purpose: any agent runs the edit -> review loop itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| max_rules | No | ||
| task_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||