AdoptionStep enum

A step of KnowledgeAdoption.apply, in the order it runs.

Inheritance
Available extensions

Values

check → const AdoptionStep

Refuses a plan with conflicts or with inputs that changed.

const AdoptionStep('check')
bundle → const AdoptionStep

Writes the seeded bundle, staged and renamed into place.

const AdoptionStep('bundle')
configuration → const AdoptionStep

Writes wayfinder.json.

const AdoptionStep('configuration')
profile → const AdoptionStep

Writes wayfinder.lock and the Profile skills through WayfinderProfileResolver.apply.

const AdoptionStep('profile')
gitignore → const AdoptionStep

Adds the .okf.lock line to .gitignore.

const AdoptionStep('gitignore')
host → const AdoptionStep

Runs the host's own writes, such as its AGENTS.md block, when apply was given them; skipped otherwise.

const AdoptionStep('host')
validate → const AdoptionStep

Validates the adopted bundle. Its outcome never undoes the steps before it: a gate other than PASS leaves adoption incomplete.

const AdoptionStep('validate')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wireValue → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<AdoptionStep>
A constant List of the values in this enum, in order of their declaration.