You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
research: document the synthesis determinism boundary (config-as-data vs runtime lookups) #206
Research stub. Frame the idea and the open questions; a design pass follows.
Elevated by review: do this first. This is the most aligned, cheapest, highest-leverage item in the umbrella, and it is the guardrail that keeps the config-composition work (#203) and vendoring (#205) from drifting across the determinism line. The boundary stated here is what #203 and #205 reference instead of re-deriving.
Problem
Adjacent frameworks make configuration dynamic at render time: templating that pulls live values from secret stores, parameter stores, HTTP endpoints, or git during config resolution. It's ergonomic and it is exactly what chant's evaluability rules (EVL) forbid, because it destroys determinism and auditability. As chant grows config-composition features (layered config, vendoring), users will ask "can config pull from X at build time?" The answer is no — and the docs should make the boundary, and the reason, explicit and quotable.
The idea
A concept doc (and possibly a sharpened lint message) that draws the line clearly: config-as-data (static literals/consts, deep-merged — deterministic, auditable, allowed) vs. config-as-runtime-lookup (live datasources at render time — non-deterministic, not allowed in synthesis). Where a value genuinely must come from outside, it's a deploy-time input resolved in the lifecycle/Op layer, not a synthesis lookup. This turns a potential "missing feature" complaint into a stated design principle.
What to research / expand
The precise taxonomy: what's a static merge layer, what's a deploy-time input, what's forbidden outright — with concrete examples of each.
Whether existing EVL lint messages should point at this doc when they reject a dynamic expression.
The escape hatch story: how deploy-time inputs and intrinsics already cover the legitimate cases, documented in one place.
Tie-in to the layered-config and vendoring issues so they reference one canonical boundary statement.
Open questions
Is this purely docs, or does it also warrant a clearer dedicated lint diagnostic?
Should there be a single "where do values come from?" decision table in the docs?
Acceptance criteria (research pass)
A drafted taxonomy (static / deploy-time input / forbidden) with examples.
A decision on whether lint messaging changes.
Identified doc home and the issues that should link to it.
Related
Umbrella: #198. Canonical boundary referenced by the layered-config and vendoring issues.
Activity
docs: add 'Where Values Come From' determinism boundary concept (#206) (