Spec gap: cleveragents: top-level key is used in examples but never listed in §3.2 top-level sections #13

Open
opened 2026-05-27 05:26:01 +00:00 by hurui200320 · 0 comments
Member

Problem

Several examples (§9.2, §18.9) use a cleveragents: top-level key as the namespace for Actor-level parameters:

cleveragents:
  template_engine: JINJA2

However, this key does not appear in the §3.2 top-level sections table. The table governs what keys are permitted at the top level — a compliant implementation MUST either accept, warn, or reject any unknown top-level key (§3.2 says unknown keys "MAY be either ignored or rejected").

Since cleveragents: is used for required configuration (like template_engine and presumably default_router), treating it as an ignorable unknown key would silently disable template rendering for any configuration that uses this namespace.

Unanswered questions:

  • What sub-keys are allowed under cleveragents:?
  • Is the full list of Actor parameters (§9) expressed via cleveragents: in the YAML?
  • Is cleveragents: the only valid namespace for these parameters, or can they appear at the top level directly?

Fix Needed

Add cleveragents to the §3.2 top-level sections table with a reference to §9, and specify its sub-key schema.

References

  • §3.2 — Top-Level Sections
  • §9 — Actor Parameters
  • §9.2 — template_engine (example uses cleveragents: namespace)
## Problem Several examples (§9.2, §18.9) use a `cleveragents:` top-level key as the namespace for Actor-level parameters: ```yaml cleveragents: template_engine: JINJA2 ``` However, this key does not appear in the §3.2 top-level sections table. The table governs what keys are permitted at the top level — a compliant implementation MUST either accept, warn, or reject any unknown top-level key (§3.2 says unknown keys "MAY be either ignored or rejected"). Since `cleveragents:` is used for required configuration (like `template_engine` and presumably `default_router`), treating it as an ignorable unknown key would silently disable template rendering for any configuration that uses this namespace. Unanswered questions: - What sub-keys are allowed under `cleveragents:`? - Is the full list of Actor parameters (§9) expressed via `cleveragents:` in the YAML? - Is `cleveragents:` the only valid namespace for these parameters, or can they appear at the top level directly? ## Fix Needed Add `cleveragents` to the §3.2 top-level sections table with a reference to §9, and specify its sub-key schema. ## References - §3.2 — Top-Level Sections - §9 — Actor Parameters - §9.2 — `template_engine` (example uses `cleveragents:` namespace)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/actors-spec#13
No description provided.