1579b027b8a9982053b79e7ace683b67c6ecf226
Loader.finalize's decode-then-validate sequence called an unexported validate(cfg *config.Config), so nothing outside the package -- e.g. archied setup, which builds a config.Config in memory before writing it to disk -- could run the same checks. Validate wraps it; Loader now calls the exported form internally (single call site, no behavior change). Documented the sharp edge this alone doesn't solve: Validate doesn't apply defaults (agent.mode, dispatch.trigger, forge.type all only pass once defaulted), and defaulting is still an unexported method on *Loader. A cfg setup builds by hand needs those fields filled in itself, or -- safer, since it can't drift from the real load path -- setup should render to TOML and load it back through a Loader rather than call Validate on the in-memory value directly. Refs archie-core-ewk.1
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.8%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%