Allium spec distillation — run 1f7a2faf#122
Closed
refset wants to merge 1 commit into
Closed
Conversation
Aero is a Clojure/ClojureScript library (no service, no CLI) that reads an EDN configuration file and resolves a fixed, closed set of tag literals (#env, #profile, #include, #ref, #or, #join, #merge, #long, #double, #boolean, #keyword, #user, #hostname, #envf, #prop, #read-edn) into plain data. The distilled spec models the Application as the sole external actor, plus ConfigSource, Environment and IncludedFile as external inputs; a single Config entity tracks parse->resolve->done lifecycle; Deferred captures the laziness optimisation. Three surfaces are exposed: LibraryAPI (read-config + built-in resolvers + the deferred macro), ReaderExtension (defmethod aero.core/reader for user tags), and AlphaTagMacro (eval-tagged-literal / expand-case for tagged-literal macros). Lifecycle rules cover iterative resolution, profile/hostname/user/or selection semantics, #include resolution-with-fallback, missing-#ref drop-and-warn, deferred realisation, and parse/exhaustion error contracts. Invariants record Aero's security-relevant promises that configuration is data and that no Turing-complete evaluation occurs.
Member
Author
|
/ratify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allium spec — first pass
This PR carries the first pass of an Allium specification distilled from the
codebase by allium-swarm.
Run ID:
1f7a2faf-c397-468b-99b6-8e75a8ecda7aSpec ID:
83e0b22a-584e-4033-b746-41bf6e3d6675Files:
specs/...Aero is a Clojure/ClojureScript library (no service, no CLI) that reads an EDN configuration file and resolves a fixed, closed set of tag literals (#env, #profile, #include, #ref, #or, #join, #merge, #long, #double, #boolean, #keyword, #user, #hostname, #envf, #prop, #read-edn) into plain data. The distilled spec models the Application as the sole external actor, plus ConfigSource, Environment and IncludedFile as external inputs; a single Config entity tracks parse->resolve->done lifecycle; Deferred captures the laziness optimisation. Three surfaces are exposed: LibraryAPI (read-config + built-in resolvers + the deferred macro), ReaderExtension (defmethod aero.core/reader for user tags), and AlphaTagMacro (eval-tagged-literal / expand-case for tagged-literal macros). Lifecycle rules cover iterative resolution, profile/hostname/user/or selection semantics, #include resolution-with-fallback, missing-#ref drop-and-warn, deferred realisation, and parse/exhaustion error contracts. Invariants record Aero's security-relevant promises that configuration is data and that no Turing-complete evaluation occurs.
This is a ratification gate. Two equivalent ways to ratify:
/ratify. Anything after the token is captured as the ratification rationale.Merge is optional — approval alone is the signal.
If anything is missing, request changes (or post a comment) and the
orchestrator will re-distil with your feedback as additional context (up to
3 rounds).