Follow-up to PR #56 (template variables).
The generator registry (agctl/template_vars.py BUILTIN_GENERATORS) is shaped for extension. Built-ins today: uuid/ts/rand.
Proposal: discover custom generators via an agctl.template_vars entry-point group (mirrors the existing agctl.db_drivers/agctl.logs_backends/agctl.assertions pattern), so domain generators ({{ulid}}, {{phone}}, {{iban}}, …) can be added without touching core. The charset invariant must extend to third-party generators (validate the registered output charset, or document the contract).
Deferred per the design spec §16.
Follow-up to PR #56 (template variables).
The generator registry (
agctl/template_vars.pyBUILTIN_GENERATORS) is shaped for extension. Built-ins today:uuid/ts/rand.Proposal: discover custom generators via an
agctl.template_varsentry-point group (mirrors the existingagctl.db_drivers/agctl.logs_backends/agctl.assertionspattern), so domain generators ({{ulid}},{{phone}},{{iban}}, …) can be added without touching core. The charset invariant must extend to third-party generators (validate the registered output charset, or document the contract).Deferred per the design spec §16.