Function: executeMarkdownFrontmatterSource()
ts
function executeMarkdownFrontmatterSource<T>(
node,
_input,
_ctx
): Promise<ResolvedSourceArtifact<T>>;Defined in: markdown/src/executors/markdown-source-executors.ts:33
Executes a MarkdownFrontmatterSourceNode<T> against the immutable host repository root (SPEC.md §3.4, §4.5).
Parses YAML frontmatter and Markdown bodies, translates frontmatter globs into passive FsGlobMatcherNode descriptors, validates rule schemas, and returns { content, digest }.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
T | unknown | Resolved rule, skill, or frontmatter payload type. |
Parameters
| Parameter | Type | Description |
|---|---|---|
node | MarkdownFrontmatterSourceNode<T> | Passive frontmatter source AST node. |
_input | unknown | Unused executor input parameter. |
_ctx | ResolutionContext | Active source resolution context. |
Returns
Promise<ResolvedSourceArtifact<T>>
Resolved payload and SHA-256 hex digest.