pub struct StandardsPin {
pub pack_name: String,
pub pack_dir: String,
pub standards_root: String,
pub digest: String,
pub source: StandardsPinSource,
pub task_class: Option<String>,
pub touch_set: Vec<String>,
pub context_paths: Vec<String>,
pub gates: Vec<PinnedGate>,
pub rules: Vec<PinnedRule>,
}Expand description
The approval-pinned standards manifest (KRZ-342, design D-E), carried on
the plan contract as standardsManifest: pack identity + content digest,
the selection inputs resolution ran with, and the applicable rule
snapshots. The engine resolves and writes it at approval from the trusted
source; every later mission stage consumes THIS snapshot — a mission
branch edit or an external pack edit cannot reshape it.
Fields§
§pack_name: String§pack_dir: StringThe pack directory: the repo-relative slash path for repo-tracked
(merge/final-validation re-reads address it against a git ref), the
as-configured path for external-pinned (display only — external
pins never re-read it).
standards_root: StringThe normalized [standards] root inside the pack.
digest: StringLowercase hex sha256 over the pack’s normalized canonical manifest
text (crate::pack::standards::StandardsManifest::digest).
source: StandardsPinSource§task_class: Option<String>The mission task class resolution ran with; None when the goal
carried no class (task-class-scoped rules then never apply).
touch_set: Vec<String>The approved touch-set globs resolution ran against (D-D input 3).
context_paths: Vec<String>Read-only paths that participate in applicability without granting write authority. Review-artifact missions use this for the immutable spec/incident input; additive for pre-KRZ-349 plans and logs.
gates: Vec<PinnedGate>Every pack gate declaration from the trusted approval source. Rules reference these by stable id; non-rule pack gates also retain their pre-Flight-Rules advisory behavior without a live worktree re-read.
rules: Vec<PinnedRule>The applicable rules (D-D’s mission-wide set — the union over the four workflow stages), stable-sorted by id.
Trait Implementations§
Source§impl Clone for StandardsPin
impl Clone for StandardsPin
Source§fn clone(&self) -> StandardsPin
fn clone(&self) -> StandardsPin
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more