Resolve canonical parties with campaign configuration
This commit is contained in:
@@ -12,6 +12,7 @@ type Config struct {
|
||||
|
||||
StableInputs ResolvedStableInputs
|
||||
SessionSource SessionSource
|
||||
Party ResolvedParty
|
||||
}
|
||||
|
||||
// PipelineConfig contains durable pipeline-level settings.
|
||||
@@ -323,6 +324,23 @@ type ResolvedInputFile struct {
|
||||
Source string
|
||||
}
|
||||
|
||||
// ResolvedParty records the selected party mode, its non-secret source
|
||||
// provenance, and canonical domain data when available. It is runtime-only and
|
||||
// must never be copied into manifests as raw party content.
|
||||
type ResolvedParty struct {
|
||||
Mode PartyMode
|
||||
Source PartySource
|
||||
Canonical *CanonicalParty
|
||||
}
|
||||
|
||||
// PartySource identifies the selected party input without retaining its raw
|
||||
// contents. Path is the resolved on-disk source path.
|
||||
type PartySource struct {
|
||||
Path string
|
||||
ConfigPath string
|
||||
Source string
|
||||
}
|
||||
|
||||
// SessionSource records where session.yml came from before materialization.
|
||||
type SessionSource struct {
|
||||
Source string
|
||||
|
||||
Reference in New Issue
Block a user