RFC-0006: Computed Frontmatter Fields (Layer 4) - #1
Draft
mrangelmarino wants to merge 1 commit into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RFC-0001 §6 puts directives in the body — there is no defined mechanism for directives that produce structured frontmatter values. RFC-0006 proposes Layer 4: a
!specYAML local tag that marks a frontmatter scalar as computed at transformation time, evaluated by the same AI runtime that interprets Layer 3 directives.Why §0 exists
The most consequential
[ANGEL: REVIEW]calls aren't syntax bikeshedding — they're whether this RFC should exist now. §0 names them up front so they can't be smuggled in by silence:title_plainis a regex.read_timeis arithmetic.assertsis a DSL. A single!spec-only mechanism collapses distinctions that may matter; a multi-resolver shape (!spec/!fn/!expr) is the alternative.[ANGEL: REVIEW]markers16 markers in the document. Highest-leverage ones:
!speconly) vs multi-resolverStatus: Draft (pre-implementation)and gate promotion on a runtimeexpose:allowlist!specvs!compute/!derive/!ai)directive+cacheassertsbelongs in L4 at allFull list with line numbers via
grep -n "ANGEL: REVIEW" rfc-0006.md.Verification
rfc-0006.mdexists at repo root alongsiderfc-0001.md[ANGEL: REVIEW]markers (well above the ≥3 threshold)rfc-0001.mdnot modifiedTest plan
[ANGEL: REVIEW]blocks, flip from Draft → Ready🤖 Generated with Claude Code