AI API 5/9: state and config as first-class concepts #159

Open
opened 2026-10-02 20:07:39 +00:00 by Winnie · 0 comments
Owner

defvar is used heavily, but there's no per-seat state abstraction, reset, hot reload, or migration. Add:

  • define-state with initial values, docs, and reset semantics
  • per-bank / per-seat state namespaces
  • config schema: types, ranges, defaults, validation, IDE completion
  • config entries that document themselves

Right now (config 'loan-rate-cap) works, but authors must guess units and bounds. Acceptance: define-state exists with reset semantics, and the config schema carries types/ranges/defaults that the docs can render.

defvar is used heavily, but there's no per-seat state abstraction, reset, hot reload, or migration. Add: - define-state with initial values, docs, and reset semantics - per-bank / per-seat state namespaces - config schema: types, ranges, defaults, validation, IDE completion - config entries that document themselves Right now (config 'loan-rate-cap) works, but authors must guess units and bounds. Acceptance: define-state exists with reset semantics, and the config schema carries types/ranges/defaults that the docs can render.
Sign in to join this conversation.
No labels
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
Winnie/bankwars#159
No description provided.