Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindProjectRoot ¶
FindProjectRoot walks up from the current working directory to find the repository root.
func FindProjectRootFrom ¶
FindProjectRootFrom finds the repository root starting from startPath.
Types ¶
type Config ¶
type Config struct {
// RunRoot selects the default parent directory for generated run evidence.
// An empty value requires commands that create evidence to request an output
// location explicitly.
RunRoot string `yaml:"run_root"`
// Source identifies whether a default, file, or environment-selected
// configuration was loaded. It deliberately does not retain a potentially
// sensitive path.
Source string `yaml:"-"`
}
Config is the process-level configuration. Workload packs, profiles, and evidence directories remain explicit command inputs rather than implicit global settings.
func LoadConfig ¶
func LoadConfig(ctx context.Context, identity *appidentity.Identity, logger *logging.Logger) (*Config, error)
LoadConfig combines typed defaults, a confined optional file, and explicitly declared runtime overrides. The merge and environment parsing use gofulmen's configuration primitives; file reads remain locally confined so an operator supplied path cannot redirect through a final symlink.