KnowledgeSeeds class abstract final

The generic adoption seed: the project binding, OKF's two root files, and the agent-instruction blocks (guide §2.1). A Profile's adoption guidance may word the first log entry and add instruction lines, and a host passes any concept it names as a seed concept. KnowledgeAdoption writes the files and returns the blocks. The adopt-knowledge-bundle skill's SEEDING.md shows the same text, and a test keeps the two equal.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

configuration({required String profile, required String git, required String ref, required String path, String bundle = KnowledgeSeeds.bundle, ProjectVocabulary vocabulary = ProjectVocabulary.none}) → String
wayfinder.json with one entry, keyed profile, that applies the package at path of git at ref to bundle, declaring vocabulary.
isoDate(DateTime date) → String
date's calendar day as YYYY-MM-DD, the form a log heading takes.
knowledgeBundleInstructions({String bundle = KnowledgeSeeds.bundle, List<String> lines = const []}) → String
The ### Knowledge bundle block for AGENTS.md, ending with lines, the lines the Profile's adoption guidance adds, as one paragraph. Adoption never writes it; a host or agent places it under ## Agent skills.
log({required String date, String action = logAction, String description = logDescription}) → String
The root log.md with its first entry, dated date (YYYY-MM-DD).
okfLockIgnore({String bundle = KnowledgeSeeds.bundle}) → String
The .gitignore line for the lock file okf keeps at bundle's root.
rootIndex({required String okfVersion}) → String
The root index.md of a bundle that holds no concepts yet. It declares okfVersion, the OKF release the Profile implements, and links only log.md. Once the bundle holds a concept, the generated index replaces it.
wayfinderInstructions({String bundle = KnowledgeSeeds.bundle}) → String
The ### Wayfinder block for AGENTS.md, for a project that also runs the wayfinder command and MCP server. Adoption never writes it, nor the .mcp.json and hooks wayfinder setup --hooks writes.

Constants

bundle → const String
The conventional bundle directory.
logAction → const String
The first log entry's action.
logDescription → const String
The first log entry's description.