4eb0c6f5ec
Agents and scripts: Manage, Assign and List Plastic Rules describe their exact parameters and reply ( #12313 ) ( #12314 )
...
* claim: #12313
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* Plastic rules: input and output schemas for Manage, Assign and List Plastic Rules (#12313 )
The three plastic rule commands get typed contracts and replies, in a
new `schema/plastic.rs` laid out like the sheet metal rules', and leave
`schema/unconverted.txt`.
- Each key reads as its handler reads it, with the handler's message:
the rule name as `plastic.manage_rules` trims and limits it, `bodies`
through `config::NameList` (which mirrors `params::string_list`), the
ten rule values as `LengthExpr` and `AngleExpr`.
- `name` and `bodies` are optional in the types and required in the
schemas (a `require` transform), so a call without them still gets
the handler's own message.
- Keys of the wrong type that the handlers ignore today (a non-boolean
`active` or `delete`, a rule value that is neither a number nor text,
a non-text `from`, `material` or `rule`) are refused; in warn the call
still works, with a warning. A test pins each one.
- The handlers build their replies from the reply types through a small
`typed_reply`; the JSON is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* Assign Plastic Rule: the schema's `bodies` is a name or a non-empty list, not null
The field is `Option<NameList>`, so its published schema allowed `null`
(from the `Option`) and an empty list (from `NameList`), both of which
the handler refuses ("`bodies` must list bodies"). It now has its own
schema: a name, or a list of 1 to 10 000 names. The reader is unchanged,
so strict still gives the handler's message for those calls. The schema
test adds both cases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: bherbruck <brennen.herbruck@gmail.com >
2026-11-05 20:00:52 +00:00
..
2026-11-05 19:45:18 +00:00
2026-10-31 05:07:04 +00:00
2026-10-29 04:33:31 +00:00
2026-10-31 01:17:58 +00:00
2026-11-02 18:38:30 +00:00
2026-11-05 19:49:12 +00:00
2026-11-03 09:04:26 -05:00
2026-11-02 22:53:32 +00:00
2026-11-04 03:44:59 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-01 18:30:18 +00:00
2026-11-01 18:30:18 +00:00
2026-11-02 22:53:32 +00:00
2026-11-04 06:45:10 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-10-29 15:59:18 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-04 14:39:17 +00:00
2026-10-23 23:15:34 +00:00
2026-11-05 20:00:28 +00:00
2026-11-03 09:04:26 -05:00
2026-10-29 16:31:09 +00:00
2026-11-01 11:42:33 +00:00
2026-11-05 20:00:28 +00:00
2026-10-18 22:03:20 -04:00
2026-10-31 23:51:18 +00:00
2026-11-02 22:53:32 +00:00
2026-11-04 18:30:31 +00:00
2026-11-04 18:30:31 +00:00
2026-11-05 01:06:46 +00:00
2026-10-29 21:39:53 +00:00
2026-11-02 22:53:32 +00:00
2026-11-03 09:04:26 -05:00
2026-11-04 21:22:49 +00:00
2026-11-02 22:53:32 +00:00
2026-11-05 01:05:40 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-04 18:19:35 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-10-28 09:33:49 +00:00
2026-11-02 21:39:02 -05:00
2026-11-05 19:38:38 +00:00
2026-11-05 19:38:38 +00:00
2026-11-05 18:39:09 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-05 05:59:00 +00:00
2026-11-03 15:47:52 +00:00
2026-11-05 18:39:09 +00:00
2026-11-05 19:50:25 +00:00
2026-11-03 09:04:26 -05:00
2026-11-02 22:53:32 +00:00
2026-10-30 13:25:18 +00:00
2026-11-02 22:53:32 +00:00
2026-11-05 19:41:04 +00:00
2026-10-15 22:40:09 -04:00
2026-10-23 23:15:34 +00:00
2026-11-03 09:04:26 -05:00
2026-11-05 03:33:33 +00:00
2026-11-02 22:53:32 +00:00
2026-11-03 09:04:26 -05:00
2026-10-28 19:57:27 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-02 22:53:32 +00:00
2026-11-04 03:56:46 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-10-28 20:56:05 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-05 18:31:43 +00:00
2026-11-03 09:04:26 -05:00
2026-11-05 18:31:43 +00:00
2026-11-03 09:04:26 -05:00
2026-11-02 18:43:07 +00:00
2026-11-03 09:04:26 -05:00
2026-11-02 22:53:32 +00:00
2026-11-03 09:04:26 -05:00
2026-11-04 18:30:31 +00:00
2026-11-02 22:53:32 +00:00
2026-11-04 04:08:15 +00:00
2026-11-05 19:42:20 +00:00
2026-11-04 21:22:24 +00:00
2026-11-04 21:22:24 +00:00
2026-11-03 09:04:26 -05:00
2026-10-23 13:45:13 +00:00
2026-11-04 06:03:21 +00:00
2026-11-05 19:49:12 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-05 19:51:04 +00:00
2026-11-05 18:38:54 +00:00
2026-11-05 19:51:04 +00:00
2026-10-13 11:43:45 -04:00
2026-11-04 06:06:23 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-02 22:53:32 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-05 18:38:54 +00:00
2026-10-25 01:19:00 +00:00
2026-11-04 19:00:58 +00:00
2026-11-05 01:07:30 +00:00
2026-11-05 19:51:46 +00:00
2026-11-05 19:51:56 +00:00
2026-11-05 02:04:01 +00:00
2026-11-05 12:18:25 +00:00
2026-11-05 20:00:52 +00:00
2026-11-05 10:23:20 +00:00
2026-11-03 09:04:26 -05:00
2026-10-16 03:26:13 -04:00
2026-11-01 18:30:11 +00:00
2026-11-05 19:45:18 +00:00
2026-11-05 15:31:53 +00:00
2026-11-02 22:53:32 +00:00
2026-11-01 21:00:44 +00:00
2026-11-03 09:04:26 -05:00
2026-10-29 18:42:36 +00:00
2026-10-17 08:52:19 -04:00
2026-11-05 07:37:58 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 21:27:14 +00:00
2026-11-05 11:26:40 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-05 16:14:13 +00:00
2026-11-05 11:26:03 +00:00
2026-11-05 03:20:41 +00:00
2026-11-04 05:49:05 +00:00
2026-11-04 16:54:46 +00:00
2026-11-04 16:54:46 +00:00
2026-11-05 05:35:52 +00:00
2026-11-05 05:35:52 +00:00
2026-11-04 16:54:46 +00:00
2026-11-05 19:50:25 +00:00
2026-10-17 18:52:12 -04:00
2026-11-02 18:39:20 +00:00
2026-11-03 09:04:26 -05:00
2026-10-31 10:54:06 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-05 19:28:22 +00:00
2026-11-02 22:53:32 +00:00
2026-11-03 09:04:26 -05:00
2026-11-04 05:49:05 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-05 19:39:21 +00:00
2026-11-05 19:39:21 +00:00
2026-11-02 22:53:32 +00:00
2026-10-26 04:31:55 +00:00
2026-11-03 09:04:26 -05:00
2026-11-05 03:20:41 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-05 06:52:54 +00:00
2026-11-05 06:52:54 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-10-28 20:56:05 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-02 22:53:32 +00:00
2026-11-03 09:04:26 -05:00
2026-11-05 12:20:00 +00:00
2026-11-05 12:20:00 +00:00
2026-11-02 22:53:32 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-02 22:53:32 +00:00
2026-11-03 09:04:26 -05:00
2026-11-04 04:14:11 +00:00
2026-11-04 22:09:27 +00:00
2026-11-02 22:53:32 +00:00
2026-11-02 22:53:32 +00:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-10-16 10:26:27 -04:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-03 09:04:26 -05:00
2026-11-05 03:42:58 +00:00