aethis_create_ruleset
Create a new ruleset from source text and required test cases for test-driven rule development. Use it before generating and testing the rules.
Instructions
Create a new rule ruleset with source text and test cases (TDD). Test cases are required. After creation, call aethis_generate_and_test.
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": {
"name": "<name>",
"section_id": "<section_id>",
"source_text": "<source_text>",
"test_cases": "<test_cases>"
},
"name": "aethis_create_ruleset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for the rule ruleset | |
| domain | No | Domain hint (e.g., 'uk_immigration') | |
| section_id | Yes | Unique section identifier (e.g., 'flight_readiness') | |
| test_cases | Yes | Test cases with optional strict acceptance expectations. | |
| source_text | Yes | The source legislation, policy, or specification text | |
| contract_version | No | Required when acceptance expectations, expected_review_bindings or retained_passages are supplied. | |
| retained_passages | No | Optional list of source passages that must be retained in the rule notes. Each is {id, text} with text at most 2000 characters; matching ignores case, whitespace runs and typographic quotes and checks literal retention, not meaning. | |
| expected_review_bindings | No | Optional review-binding catalogue; omit for no assertion or use {} to assert zero bindings. |