Documentation
¶
Overview ¶
Package resolve resolves FROM inheritance by pulling parent agent artifacts and merging them with child instructions.
The pipeline is: parse → resolve → build → execute.
FROM scratch is a no-op. FROM <ref> pulls the parent, recursively resolves its own FROM, then merges according to the spec's inheritance table (AGENTFILE-v1.0.0.md, Merge Semantics):
- RUNTIME: replace; if the child sets it, all parent CONFIGs are dropped
- MODEL, NAME, EXEC: replace
- CONTEXT: keyed-merge by name
- CONFIG: append (dropped entirely if child sets RUNTIME)
- BIN, ADD, ENV: append
- LABEL, ARG: keyed-merge (child wins)
- CAPABILITY: set-union
The parent chain must be acyclic; a repeated ref is a resolve error.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.