diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,37 @@
 
 ## [Unreleased]
 
+## [0.14.0.0] - 2026-12-02
+
+### Added
+
+- Read OKF 0.3 bundles with untyped Markdown, nested extensions, and root
+  metadata. `walkBundleDocuments` retains untyped records, and
+  `BundleInventory` exposes the bounded set of files and directories.
+- Resolve body and metadata references with `buildGraphWith` and
+  `validateProfileAgainstInventory`. Older entry points retain their default
+  reference context.
+- `summarizeVerification` distinguishes current and historical reviews.
+  `stalenessAt` accepts an instant, and `staleness` remains the date adapter.
+- `Okf.Lifecycle` resolves replacement chains, and `Okf.Computation` locates
+  the sanctioned file or inline fence for inspection.
+- `OkfTimestamp` and `OkfActor` add OKF 0.3 formats. The frozen pre-0.3
+  decoder preserves existing profile contracts.
+
+### Changed
+
+- **Breaking.** `Actor`, `Staleness`, `FieldFormat`, and diagnostic types have
+  additional constructors. `SuiteBundle` carries untyped records.
+  `Frontmatter` changes from a newtype to a source-preserving data type with
+  a bundled `Frontmatter` pattern.
+- `trustTier` and `latestVerification` use verification events with valid
+  actors and timestamps.
+- Bundle traversal excludes hidden entries and descendant symlinks.
+
+### Fixed
+
+- Bundle and index rewrites preserve the root YAML header.
+
 ## [0.13.0.0] - 2026-11-08
 
 ### Added
diff --git a/dhall/FieldFormat.dhall b/dhall/FieldFormat.dhall
--- a/dhall/FieldFormat.dhall
+++ b/dhall/FieldFormat.dhall
@@ -1,5 +1,7 @@
 --| Named value formats available to profile field rules.
 --
+-- OkfTimestamp accepts an RFC 3339 instant or a UTC calendar date.
+-- OkfActor accepts the OKF v0.3 actor schemes.
 -- The first five constrain text. `Actor` and `HumanActor` constrain text against
 -- the OKF v0.2 actor convention (specification §7): `<producer>/<version>`,
 -- `human:<id>`, or `process:<id>`, with `HumanActor` accepting only the second.
@@ -17,4 +19,6 @@
 | NonNegativeInteger
 | FiniteDecimal
 | Boolean
+| OkfTimestamp
+| OkfActor
 >
diff --git a/okf-core.cabal b/okf-core.cabal
--- a/okf-core.cabal
+++ b/okf-core.cabal
@@ -1,6 +1,6 @@
 cabal-version: 3.4
 name: okf-core
-version: 0.13.0.0
+version: 0.14.0.0
 synopsis:
   Read, validate, index, and traverse Open Knowledge Format bundles
 
@@ -59,12 +59,15 @@
   exposed-modules:
     Okf.Actor
     Okf.Bundle
+    Okf.BundlePath
+    Okf.Computation
     Okf.ConceptId
     Okf.Discovery
     Okf.Document
     Okf.Exception
     Okf.Graph
     Okf.Index
+    Okf.Lifecycle
     Okf.Log
     Okf.Markdown
     Okf.Path
@@ -76,27 +79,31 @@
     Okf.Profile.Registry
     Okf.Profile.Sweep
     Okf.Query
+    Okf.Timestamp
     Okf.Trust
     Okf.Validation
 
+  other-modules: Okf.Yaml
   build-depends:
     aeson >=2.2 && <2.4,
     attoparsec >=0.14 && <0.15,
     base >=4.21 && <5,
     bytestring >=0.11 && <0.13,
     cmark-gfm ^>=0.2,
+    conduit >=1.3 && <1.4,
     containers >=0.6 && <0.8,
     dhall >=1.41 && <1.43,
     directory >=1.3 && <1.4,
     filepath >=1.4 && <1.6,
-    frontmatter >=0.1 && <0.2,
     generic-lens >=2.2 && <2.4,
     lens ^>=5.3,
+    libyaml >=0.1.4 && <0.2,
     network-uri >=2.6.4 && <2.7,
     regex-tdfa >=1.3.2 && <1.4,
     scientific >=0.3 && <0.4,
     text ^>=2.1,
     time >=1.12 && <1.15,
+    unix >=2.8 && <2.9,
     vector >=0.13 && <0.14,
     yaml >=0.11 && <0.12,
 
diff --git a/src/Okf/Actor.hs b/src/Okf/Actor.hs
--- a/src/Okf/Actor.hs
+++ b/src/Okf/Actor.hs
@@ -1,68 +1,63 @@
--- | The OKF v0.2 actor convention (specification §7).
---
--- Fields that record an identity — @generated.by@, @verified[].by@, and
--- @sources[].author@ — all carry an /actor/: a short string naming who or what
--- acted. The specification defines exactly three shapes, and consumers that
--- classify trust (§5.3) key off the @human:@ prefix, so the prefix test lives
--- here once rather than being re-derived by each reader.
+-- | Actor identities shared by generation, verification and provenance.
 module Okf.Actor
   ( Actor (..),
     parseActor,
     renderActor,
     isHumanActor,
+    isValidActor,
   )
 where
 
+import Data.Char (isAsciiLower, isAsciiUpper, isDigit)
 import Data.Text qualified as Text
 import Okf.Prelude
 
--- | An actor as defined by OKF v0.2 specification §7.
---
--- 'parseActor' is total: text matching none of the three shapes becomes
--- 'UnclassifiedActor' rather than a parse failure, because §11 forbids
--- rejecting a document for a malformed optional field. Reporting an
--- unclassified actor is a validation decision, not a parsing one.
 data Actor
-  = -- | @human:\<id\>@ per specification §7, carrying the id.
-    HumanActor !Text
-  | -- | @process:\<id\>@ per specification §7, carrying the id.
-    ProcessActor !Text
-  | -- | @\<producer\>/\<version\>@ per specification §7, carrying producer then version.
-    ProducerActor !Text !Text
-  | -- | Text matching none of the three shapes, preserved verbatim.
-    UnclassifiedActor !Text
+  = HumanActor !Text
+  | ProcessActor !Text
+  | TeamActor !Text
+  | SchemeActor !Text !Text
+  | ProducerActor !Text !Text
+  | UnclassifiedActor !Text
   deriving stock (Generic, Eq, Ord, Show)
 
--- | Classify an actor string. Never fails.
---
--- The @human:@ and @process:@ prefixes are matched before the @\/@ split and
--- matching is case-sensitive, because §7 writes them in lower case and §5.3
--- makes the @human:@ test the sole discriminator between trust tiers. A value
--- such as @Human:ahormati@ is therefore 'UnclassifiedActor'.
---
--- @'renderActor' . 'parseActor'@ is the identity on every input.
+-- | Read a scheme before examining any slash in its opaque identifier.
+-- Unclassified text remains round-trippable for diagnostics and editing.
 parseActor :: Text -> Actor
 parseActor raw
-  | Just actorId <- Text.stripPrefix "human:" raw, not (Text.null actorId) = HumanActor actorId
-  | Just actorId <- Text.stripPrefix "process:" raw, not (Text.null actorId) = ProcessActor actorId
-  | (producer, versionWithSlash) <- Text.breakOn "/" raw,
-    Just version <- Text.stripPrefix "/" versionWithSlash,
-    not (Text.null producer),
-    not (Text.null version) =
+  | (scheme, suffix) <- Text.breakOn ":" raw,
+    Just actorId <- Text.stripPrefix ":" suffix,
+    validScheme scheme =
+      if Text.null actorId then UnclassifiedActor raw else withScheme scheme actorId
+  | (producer, suffix) <- Text.breakOn "/" raw,
+    Just version <- Text.stripPrefix "/" suffix,
+    not (Text.null producer || Text.null version) =
       ProducerActor producer version
   | otherwise = UnclassifiedActor raw
+  where
+    withScheme "human" = HumanActor
+    withScheme "process" = ProcessActor
+    withScheme "team" = TeamActor
+    withScheme scheme = SchemeActor scheme
+    validScheme scheme = case Text.uncons scheme of
+      Just (firstCharacter, rest) ->
+        asciiLetter firstCharacter && Text.all (\c -> asciiLetter c || isDigit c || c `elem` ("+.-" :: String)) rest
+      Nothing -> False
+    asciiLetter c = isAsciiLower c || isAsciiUpper c
 
--- | Render an actor back to the text a producer wrote. Inverse of 'parseActor'.
 renderActor :: Actor -> Text
 renderActor = \case
   HumanActor actorId -> "human:" <> actorId
   ProcessActor actorId -> "process:" <> actorId
+  TeamActor actorId -> "team:" <> actorId
+  SchemeActor scheme actorId -> scheme <> ":" <> actorId
   ProducerActor producer version -> producer <> "/" <> version
   UnclassifiedActor raw -> raw
 
--- | Whether the actor is a person. Specification §5.3 makes this the sole
--- discriminator between the machine-confirmed and human-reviewed trust tiers.
 isHumanActor :: Actor -> Bool
-isHumanActor = \case
-  HumanActor _ -> True
-  _ -> False
+isHumanActor (HumanActor _) = True
+isHumanActor _ = False
+
+isValidActor :: Actor -> Bool
+isValidActor (UnclassifiedActor _) = False
+isValidActor _ = True
diff --git a/src/Okf/Bundle.hs b/src/Okf/Bundle.hs
--- a/src/Okf/Bundle.hs
+++ b/src/Okf/Bundle.hs
@@ -2,9 +2,16 @@
 module Okf.Bundle
   ( BundleError (..),
     BundleInventory,
+    UntypedMarkdown (..),
+    walkBundleDocuments,
+    bundleInventoryDirectories,
+    bundleInventoryFiles,
+    readBundleDocument,
+    tryBundleIo,
     Concept,
     LogFile (..),
     bundleInventoryMember,
+    bundleInventoryContainsPath,
     bundleInventoryOfConcepts,
     walkBundleInventory,
     conceptFromDocument,
@@ -17,10 +24,12 @@
     conceptGenerated,
     conceptIdOf,
     conceptParameters,
+    conceptPathFields,
     conceptResource,
     conceptRuntime,
     conceptSourcePath,
     conceptSources,
+    conceptSupersededBy,
     conceptStaleAfter,
     conceptStatus,
     conceptTags,
@@ -40,21 +49,19 @@
 
 import Control.Exception (IOException, try)
 import Data.Aeson.KeyMap qualified as KeyMap
+import Data.Either (partitionEithers)
+import Data.Foldable (for_)
 import Data.List qualified as List
 import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text qualified as Text
 import Data.Text.IO qualified as Text.IO
+import Okf.BundlePath
 import Okf.ConceptId
 import Okf.Document
 import Okf.Log
 import Okf.Prelude
-import System.Directory
-  ( createDirectoryIfMissing,
-    doesDirectoryExist,
-    listDirectory,
-  )
-import System.FilePath ((</>))
+import System.Directory (createDirectoryIfMissing)
 import System.FilePath qualified as FilePath
 import System.IO.Error (ioeGetErrorString)
 
@@ -87,6 +94,7 @@
 data BundleError
   = InvalidConceptPath FilePath ConceptIdError
   | InvalidConceptDocument FilePath DocumentParseError
+  | InvalidReservedFile FilePath Text
   | BundleIoError FilePath Text
   deriving stock (Generic, Eq, Show)
 
@@ -99,7 +107,7 @@
 -- (@docs\/adr\/5-compile-profile-rules-before-validation.md@): it receives parsed
 -- values and decides. Reading the inventory once during the walk, where okf is
 -- already doing IO, keeps it that way.
-newtype BundleInventory = BundleInventory (Set FilePath)
+data BundleInventory = BundleInventory !(Set FilePath) !(Set FilePath)
   deriving stock (Generic, Eq, Show)
 
 -- | A parsed @log.md@ reserved file discovered in a bundle.
@@ -109,48 +117,102 @@
   }
   deriving stock (Generic, Eq, Show)
 
+-- | A Markdown document that has no nonempty textual type.
+data UntypedMarkdown = UntypedMarkdown
+  { untypedSourcePath :: !FilePath,
+    untypedDocument :: !OKFDocument
+  }
+  deriving stock (Generic, Eq, Show)
+
 -- | Discover and parse every non-reserved Markdown concept in a bundle.
 walkBundle :: FilePath -> IO (Either BundleError [Concept])
-walkBundle root = do
-  discovered <- discoverMarkdownFiles root ""
+walkBundle root = fmap fst <$> walkBundleDocuments root
+
+-- | Keep untyped Markdown available to callers that validate house records.
+walkBundleDocuments :: FilePath -> IO (Either BundleError ([Concept], [UntypedMarkdown]))
+walkBundleDocuments root = do
+  discovered <- walkBundleInventory root
   case discovered of
     Left bundleError -> pure (Left bundleError)
-    Right paths -> do
-      results <- mapM (readConcept root) paths
-      pure (List.sortOn (renderConceptId . conceptIdOf) <$> sequenceA results)
+    Right inventory -> do
+      let candidates =
+            [ path
+            | path <- bundleInventoryFiles inventory,
+              FilePath.takeExtension path == ".md",
+              not (isReservedMarkdownFile path)
+            ]
+      results <- traverse readCandidate candidates
+      pure $ do
+        classified <- sequenceA results
+        let (concepts, untyped) = partitionEithers classified
+        pure (List.sortOn (renderConceptId . conceptIdOf) concepts, untyped)
+  where
+    readCandidate path = do
+      parsed <- readBundleDocument root path
+      pure $ do
+        document <- parsed
+        if hasConceptType (frontmatter document)
+          then do
+            conceptId <- first (InvalidConceptPath path) (conceptIdFromFilePath path)
+            pure (Left (conceptAt conceptId path document))
+          else pure (Right (UntypedMarkdown path document))
 
 -- | Discover and parse every @log.md@ reserved file in a bundle.
 walkLogs :: FilePath -> IO (Either BundleError [LogFile])
 walkLogs root = do
-  discovered <- discoverLogFiles root ""
+  discovered <- walkBundleInventory root
   case discovered of
     Left bundleError -> pure (Left bundleError)
-    Right paths -> do
-      results <- mapM (readLog root) paths
-      pure (List.sortOn logSourcePath <$> sequenceA results)
+    Right inventory -> do
+      let paths = filter ((== "log.md") . FilePath.takeFileName) (bundleInventoryFiles inventory)
+      sequenceA <$> traverse (readLog root) paths
 
--- | Record every regular file in a bundle, including the ones okf cannot parse.
---
--- A second, independent traversal rather than a widening of 'walkBundle', whose
--- @[Concept]@ result every caller in both packages depends on. Walking twice is
--- mildly wasteful and is the right trade for a change that cannot alter what
--- 'walkBundle' returns.
---
--- Reserved files (@index.md@, @log.md@) are recorded here even though they are
--- not concepts: they are files, and a path-valued field naming one names
--- something that exists.
+-- | Record every visible regular file under the root.
 walkBundleInventory :: FilePath -> IO (Either BundleError BundleInventory)
-walkBundleInventory root = do
-  discovered <- discoverAllFiles root ""
-  pure (BundleInventory . Set.fromList <$> discovered)
+walkBundleInventory root =
+  fmap inventory <$> bundleEntries root
+  where
+    inventory entries =
+      BundleInventory
+        (Set.fromList [path | BundleFile path <- entries])
+        (Set.fromList ("." : [path | BundleDirectory path <- entries]))
 
+bundleInventoryFiles :: BundleInventory -> [FilePath]
+bundleInventoryFiles (BundleInventory paths _) = Set.toAscList paths
+
+-- | Include the root once, plus all visible real directories.
+bundleInventoryDirectories :: BundleInventory -> [FilePath]
+bundleInventoryDirectories (BundleInventory _ dirs) =
+  "" : Set.toAscList (Set.delete "." dirs)
+
+bundleEntries :: FilePath -> IO (Either BundleError [BundleEntry])
+bundleEntries root = walk ""
+  where
+    walk directory = do
+      listed <- tryBundleIo (if null directory then root else directory) (listBundleDirectory root directory)
+      case listed of
+        Left bundleError -> pure (Left bundleError)
+        Right entries -> do
+          nested <- traverse descend entries
+          pure (concat <$> sequenceA nested)
+    descend entry@(BundleDirectory path) = fmap (entry :) <$> walk path
+    descend entry = pure (Right [entry])
+
 -- | Whether the bundle contains a file at the given bundle-relative path. The
 -- path is normalised the same way the inventory's entries are, so a caller may
 -- pass 'Okf.Path.collapseBundlePath' output directly.
 bundleInventoryMember :: FilePath -> BundleInventory -> Bool
-bundleInventoryMember path (BundleInventory paths) =
+bundleInventoryMember path (BundleInventory paths _) =
   Set.member (FilePath.normalise path) paths
 
+-- | Path fields and Markdown may refer to an indexed directory as well as
+-- a file. Use 'bundleInventoryMember' when the operation requires a file.
+bundleInventoryContainsPath :: FilePath -> BundleInventory -> Bool
+bundleInventoryContainsPath path (BundleInventory files dirs) =
+  Set.member normalized files || Set.member normalized dirs
+  where
+    normalized = FilePath.normalise path
+
 -- | The inventory an in-memory bundle can honestly report: the concepts' own
 -- source paths and nothing else.
 --
@@ -159,7 +221,12 @@
 -- about a non-Markdown file, because there is no filesystem holding one.
 bundleInventoryOfConcepts :: [Concept] -> BundleInventory
 bundleInventoryOfConcepts concepts =
-  BundleInventory (Set.fromList (FilePath.normalise . conceptSourcePath <$> concepts))
+  BundleInventory (Set.fromList paths) (Set.fromList ("." : concatMap parents paths))
+  where
+    paths = map (FilePath.normalise . conceptSourcePath) concepts
+    parents path =
+      let parent = FilePath.takeDirectory path
+       in if parent == "." || parent == path then [] else parent : parents parent
 
 -- | Find a concept by identifier in an already walked bundle.
 findConcept :: ConceptId -> [Concept] -> Maybe Concept
@@ -233,6 +300,10 @@
 conceptStatus :: Concept -> Status
 conceptStatus Concept {status} = status
 
+-- | The replacement reference as written, irrespective of lifecycle state.
+conceptSupersededBy :: Concept -> Maybe Text
+conceptSupersededBy = readSupersededBy . frontmatter . conceptDocument
+
 -- | The OKF v0.2 @stale_after@ date read verbatim (specification §5.5).
 -- Interpreting it against a calendar day is 'Okf.Trust.staleness''s job.
 conceptStaleAfter :: Concept -> Maybe Text
@@ -252,6 +323,19 @@
 conceptUsageWindow :: Concept -> Maybe UsageWindow
 conceptUsageWindow Concept {usageWindow} = usageWindow
 
+-- | The format-defined fields that can contribute a path or URI relationship.
+-- Some source resources are scope descriptions and will resolve to no file.
+conceptPathFields :: Concept -> [(Text, Text)]
+conceptPathFields concept =
+  present "resource" (conceptResource concept)
+    <> [("sources[].resource", sourceResource source) | source <- conceptSources concept]
+    <> present "computation" (conceptComputation concept)
+    <> present "executor.resource" (executorResource =<< conceptExecutor concept)
+    <> present "attester.resource" (attesterResource =<< conceptAttester concept)
+    <> present "superseded_by" (conceptSupersededBy concept)
+  where
+    present name = maybe [] (\target -> [(name, target)])
+
 -- | The @runtime@ that says how an attested computation is run, and so what its
 -- @parameters@ mean (specification §10.2).
 --
@@ -301,127 +385,34 @@
 isReservedMarkdownFile path =
   FilePath.takeFileName path `List.elem` ["index.md", "log.md"]
 
-discoverMarkdownFiles :: FilePath -> FilePath -> IO (Either BundleError [FilePath])
-discoverMarkdownFiles root relativeDir = do
-  let absoluteDir = root </> relativeDir
-      displayDir = if null relativeDir then root else relativeDir
-  listed <- tryBundleIo displayDir (listDirectory absoluteDir)
-  case listed of
-    Left bundleError -> pure (Left bundleError)
-    Right entries -> do
-      discovered <-
-        for
-          (List.sort entries)
-          ( \entry -> do
-              let relativePath = relativeDir </> entry
-                  absolutePath = root </> relativePath
-              isDirectory <- tryBundleIo relativePath (doesDirectoryExist absolutePath)
-              case isDirectory of
-                Left bundleError -> pure (Left bundleError)
-                Right True -> discoverMarkdownFiles root relativePath
-                Right False ->
-                  pure
-                    ( Right
-                        [ FilePath.normalise relativePath
-                        | FilePath.takeExtension entry == ".md",
-                          not (isReservedMarkdownFile entry)
-                        ]
-                    )
-          )
-      pure (concat <$> sequenceA discovered)
-
--- | Every regular file under the root, bundle-relative and normalised. Skips
--- directories, recursing into them rather than recording them, because a
--- path-valued field names a file.
-discoverAllFiles :: FilePath -> FilePath -> IO (Either BundleError [FilePath])
-discoverAllFiles root relativeDir = do
-  let absoluteDir = root </> relativeDir
-      displayDir = if null relativeDir then root else relativeDir
-  listed <- tryBundleIo displayDir (listDirectory absoluteDir)
-  case listed of
-    Left bundleError -> pure (Left bundleError)
-    Right entries -> do
-      discovered <-
-        for
-          (List.sort entries)
-          ( \entry -> do
-              let relativePath = relativeDir </> entry
-                  absolutePath = root </> relativePath
-              isDirectory <- tryBundleIo relativePath (doesDirectoryExist absolutePath)
-              case isDirectory of
-                Left bundleError -> pure (Left bundleError)
-                Right True -> discoverAllFiles root relativePath
-                Right False -> pure (Right [FilePath.normalise relativePath])
-          )
-      pure (concat <$> sequenceA discovered)
-
-discoverLogFiles :: FilePath -> FilePath -> IO (Either BundleError [FilePath])
-discoverLogFiles root relativeDir = do
-  let absoluteDir = root </> relativeDir
-      displayDir = if null relativeDir then root else relativeDir
-  listed <- tryBundleIo displayDir (listDirectory absoluteDir)
-  case listed of
-    Left bundleError -> pure (Left bundleError)
-    Right entries -> do
-      discovered <-
-        for
-          (List.sort entries)
-          ( \entry -> do
-              let relativePath = relativeDir </> entry
-                  absolutePath = root </> relativePath
-              isDirectory <- tryBundleIo relativePath (doesDirectoryExist absolutePath)
-              case isDirectory of
-                Left bundleError -> pure (Left bundleError)
-                Right True -> discoverLogFiles root relativePath
-                Right False ->
-                  pure
-                    ( Right
-                        [ FilePath.normalise relativePath
-                        | entry == "log.md"
-                        ]
-                    )
-          )
-      pure (concat <$> sequenceA discovered)
-
--- | Write every concept to @root/\<conceptId\>.md@, creating parent directories
--- as needed, using 'serializeDocument' for the file contents. Existing files for
--- the given concepts are overwritten; files NOT corresponding to a supplied
--- concept are left untouched (a producer wanting a pristine output directory
--- should clear it first). Does not validate; run 'Okf.Validation.validateBundle'
--- first if you want referential-integrity guarantees.
+-- | Write the supplied concepts after checking all destination paths.
 writeBundle :: FilePath -> [Concept] -> IO ()
-writeBundle root concepts =
-  mapM_ writeConcept concepts
-  where
-    writeConcept concept = do
-      let relativePath = conceptIdToFilePath (conceptIdOf concept)
-          absolutePath = root </> relativePath
-      createDirectoryIfMissing True (FilePath.takeDirectory absolutePath)
-      Text.IO.writeFile absolutePath (serializeConcept concept)
+writeBundle root concepts = do
+  targets <- for concepts $ \concept -> do
+    let relative = conceptIdToFilePath (conceptIdOf concept)
+    absolute <- requireBundlePath root relative
+    pure (absolute, serializeConcept concept)
+  for_ targets $ \(absolute, content) -> do
+    createDirectoryIfMissing True (FilePath.takeDirectory absolute)
+    Text.IO.writeFile absolute content
 
 -- | Serialize a single concept's document to a Markdown string.
 serializeConcept :: Concept -> Text
 serializeConcept = serializeDocument . document
 
-readConcept :: FilePath -> FilePath -> IO (Either BundleError Concept)
-readConcept root relativePath = do
-  loaded <- tryBundleIo relativePath (Text.IO.readFile (root </> relativePath))
-  pure
-    ( do
-        content <- loaded
-        conceptId <- first (InvalidConceptPath relativePath) (conceptIdFromFilePath relativePath)
-        document <- first (InvalidConceptDocument relativePath) (parseDocument content)
-        pure (conceptAt conceptId relativePath document)
-    )
+readBundleDocument :: FilePath -> FilePath -> IO (Either BundleError OKFDocument)
+readBundleDocument root relativePath = do
+  loaded <- tryBundleIo relativePath (requireBundlePath root relativePath >>= Text.IO.readFile)
+  pure (loaded >>= first (InvalidConceptDocument relativePath) . parseDocument)
 
 readLog :: FilePath -> FilePath -> IO (Either BundleError LogFile)
 readLog root relativePath = do
-  loaded <- tryBundleIo relativePath (Text.IO.readFile (root </> relativePath))
-  pure
-    ( do
-        content <- loaded
-        pure (LogFile {logSourcePath = relativePath, logContent = parseLog content})
-    )
+  loaded <- tryBundleIo relativePath (requireBundlePath root relativePath >>= Text.IO.readFile)
+  pure $ do
+    content <- loaded
+    if hasFrontmatterFence content
+      then Left (InvalidReservedFile relativePath "log.md must not have YAML frontmatter")
+      else pure (LogFile {logSourcePath = relativePath, logContent = parseLog content})
 
 tryBundleIo :: FilePath -> IO value -> IO (Either BundleError value)
 tryBundleIo path action = do
@@ -490,11 +481,8 @@
     _ -> Nothing
 
 tagsField :: Frontmatter -> [Text]
-tagsField frontmatter =
-  case frontmatterLookup "tags" frontmatter of
-    Just (Array values) -> foldMap tagValue values
-    Just (String value) -> [value]
-    _ -> []
-  where
-    tagValue (String value) = [value]
-    tagValue _ = []
+tagsField fm =
+  [ value
+  | String value <- listFieldValues "tags" fm,
+    not (Text.null value)
+  ]
diff --git a/src/Okf/BundlePath.hs b/src/Okf/BundlePath.hs
new file mode 100644
--- /dev/null
+++ b/src/Okf/BundlePath.hs
@@ -0,0 +1,66 @@
+-- | Filesystem policy for paths inside a caller-selected bundle root.
+module Okf.BundlePath
+  ( BundleEntry (..),
+    listBundleDirectory,
+    requireBundlePath,
+  )
+where
+
+import Control.Exception (IOException, throwIO, tryJust)
+import Control.Monad (forM, unless)
+import Data.List (sort)
+import System.Directory (listDirectory)
+import System.FilePath qualified as Path
+import System.IO.Error (isDoesNotExistError)
+import System.Posix.Files (FileStatus, getSymbolicLinkStatus, isDirectory, isRegularFile)
+
+data BundleEntry = BundleDirectory FilePath | BundleFile FilePath
+
+-- The root itself is selected by the caller. Below it, only real directories
+-- and regular files participate. This also excludes dangling links and cycles.
+listBundleDirectory :: FilePath -> FilePath -> IO [BundleEntry]
+listBundleDirectory root directory = do
+  let absolute = root Path.</> directory
+  names <- sort <$> listDirectory absolute
+  fmap concat $ forM (filter visiblePart names) $ \name -> do
+    let relative = directory Path.</> name
+    status <- statusIfPresent (root Path.</> relative)
+    pure $ case status of
+      Just s | isDirectory s -> [BundleDirectory relative]
+      Just s | isRegularFile s -> [BundleFile relative]
+      _ -> []
+
+-- | Check a direct file target and all its descendant directory components
+-- before reading or writing. Missing components may be created by a writer.
+requireBundlePath :: FilePath -> FilePath -> IO FilePath
+requireBundlePath root path = do
+  unless (Path.isRelative path && not (null parts) && all visiblePart parts) refuse
+  inspect root parts
+  pure (root Path.</> path)
+  where
+    parts = Path.splitDirectories path
+    refuse = throwIO (userError ("unsafe bundle path: " <> path))
+    inspect _ [] = pure ()
+    inspect directory (part : rest) = do
+      let target = directory Path.</> part
+      status <- statusIfPresent target
+      case status of
+        Nothing -> pure ()
+        Just s
+          | null rest && isRegularFile s -> pure ()
+          | not (null rest) && isDirectory s -> inspect target rest
+          | otherwise -> refuse
+
+visiblePart :: FilePath -> Bool
+visiblePart [] = False
+visiblePart ('.' : _) = False
+visiblePart _ = True
+
+statusIfPresent :: FilePath -> IO (Maybe FileStatus)
+statusIfPresent path =
+  either (const Nothing) Just <$> tryJust missing (getSymbolicLinkStatus path)
+  where
+    missing :: IOException -> Maybe ()
+    missing exception
+      | isDoesNotExistError exception = Just ()
+      | otherwise = Nothing
diff --git a/src/Okf/Computation.hs b/src/Okf/Computation.hs
new file mode 100644
--- /dev/null
+++ b/src/Okf/Computation.hs
@@ -0,0 +1,55 @@
+-- | Locate an OKF computation definition without reading or running it.
+module Okf.Computation
+  ( LocatedComputation (..),
+    ComputationIssue (..),
+    locateComputation,
+    missingContractParts,
+  )
+where
+
+import Data.List (find)
+import Data.Text qualified as Text
+import Okf.Bundle
+import Okf.Document
+import Okf.Index (VersionDeclaration, frontmatterReferenceContext)
+import Okf.Path (PathResolution (..), resolveFileReference)
+import Okf.Prelude
+
+data LocatedComputation
+  = InlineComputation !Text
+  | FileComputation !FilePath
+  deriving stock (Eq, Show)
+
+data ComputationIssue
+  = NoComputationFence
+  | InvalidComputationReference !Value
+  | UnusableComputationFile !Text !PathResolution
+  deriving stock (Eq, Show)
+
+-- | A nonempty declaration selects the file even if a fence is also present.
+-- The inventory predicate admits files only and already excludes unsafe paths.
+locateComputation :: VersionDeclaration -> BundleInventory -> Concept -> Either ComputationIssue LocatedComputation
+locateComputation declaration inventory concept =
+  case optionalFieldValue "computation" (frontmatter (conceptDocument concept)) of
+    Nothing ->
+      case find isInline (conceptComputationSources concept) of
+        Just (ComputationInline code) -> Right (InlineComputation code)
+        _ -> Left NoComputationFence
+    Just (String raw) ->
+      case resolveFileReference (flip bundleInventoryMember inventory) (frontmatterReferenceContext declaration) (conceptSourcePath concept) raw of
+        ResolvedInBundle path -> Right (FileComputation path)
+        resolution -> Left (UnusableComputationFile raw resolution)
+    Just raw -> Left (InvalidComputationReference raw)
+  where
+    isInline (ComputationInline _) = True
+    isInline _ = False
+
+-- | Structural inputs required to be eligible for attestation. A complete
+-- definition still needs a verdict from the consumer for each executed run.
+missingContractParts :: Concept -> Either ComputationIssue LocatedComputation -> [Text]
+missingContractParts concept location =
+  ["runtime" | not (hasText (conceptRuntime concept))]
+    <> ["attester" | not (hasText (conceptAttester concept >>= attesterResource))]
+    <> ["computation" | either (const True) (const False) location]
+  where
+    hasText = maybe False (not . Text.null . Text.strip)
diff --git a/src/Okf/ConceptId.hs b/src/Okf/ConceptId.hs
--- a/src/Okf/ConceptId.hs
+++ b/src/Okf/ConceptId.hs
@@ -7,14 +7,18 @@
     parseConceptId,
     renderConceptId,
     renderConceptLinkTarget,
+    renderBundleLinkTarget,
     renderConceptLink,
   )
 where
 
 import Data.Aeson (ToJSON (..))
+import Data.ByteString.Char8 qualified as Bytes
 import Data.Char qualified as Char
 import Data.List.NonEmpty qualified as NonEmpty
 import Data.Text qualified as Text
+import Data.Text.Encoding qualified as Text
+import Network.URI (escapeURIString, isUnreserved)
 import Okf.Prelude hiding ((<.>))
 import System.FilePath ((<.>))
 import System.FilePath qualified as FilePath
@@ -64,8 +68,16 @@
 -- back to the same 'ConceptId' regardless of which document contains it.
 renderConceptLinkTarget :: ConceptId -> Text
 renderConceptLinkTarget conceptId =
-  "/" <> Text.replace "\\" "/" (Text.pack (conceptIdToFilePath conceptId))
+  "/" <> renderBundleLinkTarget (conceptIdToFilePath conceptId)
 
+-- | Render a relative bundle path as a URI reference. Encode the UTF-8
+-- bytes of every segment while keeping the path separators.
+renderBundleLinkTarget :: FilePath -> Text
+renderBundleLinkTarget =
+  Text.pack . escapeURIString isPathCharacter . Bytes.unpack . Text.encodeUtf8 . Text.pack
+  where
+    isPathCharacter character = character == '/' || isUnreserved character
+
 -- | A complete Markdown link to a concept: @[label](/path.md)@. Only the URL is
 -- read by OKF link extraction, so an odd label does not break edges, but the
 -- caller should choose a label free of unbalanced brackets to keep prose readable.
@@ -75,19 +87,8 @@
 
 validateSegment :: Text -> Either ConceptIdError Text
 validateSegment segment
-  | Text.null segment = Left (InvalidConceptIdSegment segment)
-  | Text.any (== '/') segment = Left (InvalidConceptIdSegment segment)
-  | otherwise =
-      case Text.uncons segment of
-        Nothing -> Left (InvalidConceptIdSegment segment)
-        Just (firstChar, rest)
-          | isInitialChar firstChar && Text.all isTrailingChar rest -> Right segment
-          | otherwise -> Left (InvalidConceptIdSegment segment)
-
-isInitialChar :: Char -> Bool
-isInitialChar char =
-  Char.isAsciiLower char || Char.isAsciiUpper char || Char.isDigit char || char == '_'
-
-isTrailingChar :: Char -> Bool
-isTrailingChar char =
-  isInitialChar char || char == '.' || char == '-'
+  | Text.null segment || "." `Text.isPrefixOf` segment = invalid
+  | Text.any (\character -> character == '/' || character == '\\' || Char.isControl character) segment = invalid
+  | otherwise = Right segment
+  where
+    invalid = Left (InvalidConceptIdSegment segment)
diff --git a/src/Okf/Discovery.hs b/src/Okf/Discovery.hs
--- a/src/Okf/Discovery.hs
+++ b/src/Okf/Discovery.hs
@@ -23,10 +23,10 @@
 import Control.Exception (IOException, try)
 import Control.Monad (filterM)
 import Data.List qualified as List
-import Data.Text qualified as Text
 import Data.Text.IO qualified as Text.IO
 import Okf.Bundle (isReservedMarkdownFile)
-import Okf.Document (Frontmatter, OKFDocument (..), frontmatterLookup, parseDocument)
+import Okf.BundlePath (BundleEntry (..), listBundleDirectory)
+import Okf.Document (OKFDocument (..), hasConceptType, parseDocument)
 import Okf.Prelude
 import System.Directory (doesDirectoryExist, listDirectory, pathIsSymbolicLink)
 import System.FilePath ((</>))
@@ -88,7 +88,10 @@
 -- | Does this directory look like the top of an OKF bundle?
 directoryQualifiesAsBundleRoot :: FilePath -> IO Bool
 directoryQualifiesAsBundleRoot directory = do
-  entries <- listDirectorySafe directory
+  listed <- try @IOException (listBundleDirectory directory "")
+  let entries = case listed of
+        Left _ -> []
+        Right paths -> [path | BundleFile path <- paths]
   if "index.md" `List.elem` entries
     then pure True
     else anyM isConceptDocument [directory </> entry | entry <- entries, isConceptCandidate entry]
@@ -104,13 +107,7 @@
     Left _ -> False
     Right content -> case parseDocument content of
       Left _ -> False
-      Right OKFDocument {frontmatter} -> hasNonEmptyType frontmatter
-
-hasNonEmptyType :: Frontmatter -> Bool
-hasNonEmptyType frontmatter =
-  case frontmatterLookup "type" frontmatter of
-    Just (String value) -> not (Text.null (Text.strip value))
-    _ -> False
+      Right OKFDocument {frontmatter} -> hasConceptType frontmatter
 
 -- | A directory we may descend into: a real directory, not a symbolic link
 -- (which could form a cycle), and not on the skip list.
diff --git a/src/Okf/Document.hs b/src/Okf/Document.hs
--- a/src/Okf/Document.hs
+++ b/src/Okf/Document.hs
@@ -1,16 +1,24 @@
+{-# LANGUAGE PatternSynonyms #-}
+
 -- | Parsing and serialization for OKF Markdown concept documents.
 module Okf.Document
-  ( Frontmatter (..),
+  ( Frontmatter (Frontmatter, fields),
     OKFDocument (..),
     DocumentParseError (..),
     emptyFrontmatter,
     frontmatterLookup,
     frontmatterKeys,
+    optionalFieldValue,
+    listFieldValues,
+    hasConceptType,
+    hasFrontmatterFence,
     coreFrontmatterFields,
     fieldsIntroducedInV02,
+    fieldsIntroducedInV03,
     fieldsSupersededInV02,
     parseDocument,
     serializeDocument,
+    renderDocumentHeader,
 
     -- * OKF v0.2 trust family
     Generated (..),
@@ -23,6 +31,7 @@
     readStatus,
     renderStatus,
     readStaleAfter,
+    readSupersededBy,
 
     -- * OKF v0.2 provenance family
     Source (..),
@@ -68,30 +77,49 @@
 import Data.Aeson qualified as Aeson
 import Data.Aeson.Key qualified as AesonKey
 import Data.Aeson.KeyMap qualified as KeyMap
-import Data.Attoparsec.ByteString qualified as Attoparsec
-import Data.ByteString qualified as ByteString
+import Data.ByteString.Lazy qualified as Bytes.Lazy
 import Data.Foldable (toList)
-import Data.Frontmatter qualified as Frontmatter
 import Data.List qualified as List
-import Data.Ord (comparing)
+import Data.Maybe (mapMaybe)
 import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text qualified as Text
-import Data.Text.Encoding qualified as Text.Encoding
+import Data.Text.Encoding qualified as Text
 import Data.Vector qualified as Vector
-import Data.Yaml qualified as Yaml
-import Data.Yaml.Pretty qualified as YamlPretty
 import Okf.Actor (Actor, parseActor, renderActor)
-import Okf.Markdown (computationBlocks)
+import Okf.Markdown (computationFences)
 import Okf.Prelude hiding (setField)
+import Okf.Yaml (Located (..), parseYaml, patchYaml, renderYaml)
 
 -- | YAML frontmatter fields. OKF allows producer-defined extension keys, so
 -- values are preserved as Aeson values instead of projected into a closed type.
-newtype Frontmatter = Frontmatter
-  { fields :: KeyMap.KeyMap Value
+data Frontmatter = FrontmatterData !(KeyMap.KeyMap Value) !(Maybe FrontmatterSource)
+  deriving stock (Generic)
+
+-- | Construct or inspect semantic frontmatter. Source metadata is internal.
+pattern Frontmatter :: KeyMap.KeyMap Value -> Frontmatter
+pattern Frontmatter {fields} <- FrontmatterData fields _
+  where
+    Frontmatter fields = FrontmatterData fields Nothing
+
+{-# COMPLETE Frontmatter #-}
+
+data FrontmatterSource = FrontmatterSource
+  { opening :: !Text,
+    yamlText :: !Text,
+    closing :: !Text,
+    separator :: !Text,
+    yamlRoot :: !Located
   }
-  deriving stock (Generic, Eq, Show)
 
+instance Eq Frontmatter where
+  left == right = fields left == fields right
+
+instance Show Frontmatter where
+  showsPrec precedence fm =
+    showParen (precedence > 10) $
+      showString "Frontmatter {fields = " . shows (fields fm) . showString "}"
+
 -- | A Markdown concept document split into frontmatter and body.
 data OKFDocument = OKFDocument
   { frontmatter :: !Frontmatter,
@@ -114,6 +142,24 @@
 frontmatterLookup key (Frontmatter rawFields) =
   KeyMap.lookup (AesonKey.fromText key) rawFields
 
+-- | The consumer view of an optional value. Raw fields remain available to
+-- authoring and explicit profile rules.
+optionalFieldValue :: Text -> Frontmatter -> Maybe Value
+optionalFieldValue key fm =
+  case frontmatterLookup key fm of
+    Just Null -> Nothing
+    Just (String "") -> Nothing
+    Just (Array values) | Vector.null values -> Nothing
+    value -> value
+
+-- | Apply the singleton rule without changing the original YAML shape.
+listFieldValues :: Text -> Frontmatter -> [Value]
+listFieldValues key fm =
+  case optionalFieldValue key fm of
+    Nothing -> []
+    Just (Array values) -> Vector.toList values
+    Just value -> [value]
+
 -- | All top-level frontmatter keys in lexical order. Aeson's 'KeyMap.keys'
 -- order depends on its backing representation, so callers must not expose it
 -- directly when deterministic diagnostics matter.
@@ -121,6 +167,13 @@
 frontmatterKeys (Frontmatter rawFields) =
   List.sort (map AesonKey.toText (KeyMap.keys rawFields))
 
+-- | Shared concept classifier for discovery and bundle readers.
+hasConceptType :: Frontmatter -> Bool
+hasConceptType fm =
+  case frontmatterLookup "type" fm of
+    Just (String value) -> not (Text.null (Text.strip value))
+    _ -> False
+
 -- | Frontmatter keys understood directly by OKF parsing, validation, and
 -- authoring. Closed profiles always permit these keys even when they are not
 -- repeated as profile field rules.
@@ -164,37 +217,25 @@
 -- be who /confirmed/ it", and the two are independent — "content can change
 -- without re-confirmation, and facts can be re-confirmed without regeneration."
 --
--- @verificationAt@ stays 'Text' for the same two reasons as 'generatedAt': §5.2
--- does not mark @at@ required within an entry, and okf preserves frontmatter
--- values as the producer wrote them so serialization round-trips.
+-- The timestamp stays as text for round-trip fidelity. The reader requires
+-- it, and consumers comparing events interpret it separately.
 data Verification = Verification
   { verificationBy :: !Actor,
     verificationAt :: !(Maybe Text)
   }
   deriving stock (Generic, Eq, Show)
 
--- | Read the OKF v0.2 @verified@ family from frontmatter.
---
--- Handles the two shapes §5.2 permits. A YAML list of mappings yields one
--- 'Verification' per element. A __bare mapping__ yields a one-element list:
--- "Consumers MUST treat a bare mapping as a one-element list", restated in §11's
--- conformance list. Anything else, including an absent key, yields @[]@.
---
--- An entry with no textual @by@ is skipped rather than yielding a partial
--- 'Verification', mirroring 'readGenerated'. An empty result is therefore
--- indistinguishable from an absent key, which is correct: §5.3 keys the
--- unverified tier off the absence of usable verification.
+-- | Normalize a single mapping to a list and skip entries missing @by@ or
+-- @at@. Raw YAML remains available for diagnostics.
 readVerified :: Frontmatter -> [Verification]
 readVerified frontmatterValue =
-  case frontmatterLookup "verified" frontmatterValue of
-    Just (Array entries) -> foldMap (toList . verificationFromValue) entries
-    Just bareMapping -> toList (verificationFromValue bareMapping)
-    Nothing -> []
+  mapMaybe verificationFromValue (listFieldValues "verified" frontmatterValue)
   where
     verificationFromValue = \case
       Object entryFields -> do
         by <- objectText "by" entryFields
-        pure (Verification (parseActor by) (objectText "at" entryFields))
+        occurredAt <- objectText "at" entryFields
+        pure (Verification (parseActor by) (Just occurredAt))
       _ -> Nothing
 
 -- | The OKF v0.2 @status@ lifecycle field (specification §5.4).
@@ -214,21 +255,16 @@
     UnknownStatus !Text
   deriving stock (Generic, Eq, Ord, Show)
 
--- | Read the OKF v0.2 @status@ field (specification §5.4).
---
--- An absent key, or a value that is not text, yields 'Stable': §5.4 states
--- "Absent @status@ ⇒ @stable@". Matching is case-sensitive, consistent with the
--- actor convention of §7 — the specification writes all three values in lower
--- case, and a case-insensitive match would quietly accept a value it should
--- surface as unknown.
+-- | The absent status defaults to stable. A nonempty unknown value remains
+-- visible for lifecycle inspection and is excluded by the current view.
 readStatus :: Frontmatter -> Status
-readStatus frontmatterValue =
-  case frontmatterLookup "status" frontmatterValue of
+readStatus fm =
+  case optionalFieldValue "status" fm of
+    Nothing -> Stable
     Just (String "draft") -> Draft
     Just (String "stable") -> Stable
     Just (String "deprecated") -> Deprecated
-    Just (String other) -> UnknownStatus other
-    _ -> Stable
+    Just raw -> UnknownStatus (valueText raw)
 
 -- | Render a status back to the text a producer wrote. Inverse of 'readStatus'
 -- on every value except an absent key, which reads as 'Stable'.
@@ -239,15 +275,18 @@
   Deprecated -> "deprecated"
   UnknownStatus other -> other
 
--- | Read the OKF v0.2 @stale_after@ field (specification §5.5) verbatim.
---
--- Deliberately unparsed. §5.5 specifies an absolute @YYYY-MM-DD@ date, but
--- parsing here would either lose a malformed value on serialization or force
--- this total reader to fail. Interpreting the date is 'Okf.Trust.staleness''s
--- job, where a comparison is actually needed.
+-- | Preserve nonempty malformed values for a visible freshness diagnostic.
 readStaleAfter :: Frontmatter -> Maybe Text
-readStaleAfter frontmatterValue =
-  case frontmatterLookup "stale_after" frontmatterValue of
+readStaleAfter = fmap valueText . optionalFieldValue "stale_after"
+
+valueText :: Value -> Text
+valueText (String value) = value
+valueText value = Text.decodeUtf8 (Bytes.Lazy.toStrict (Aeson.encode value))
+
+-- | Read the raw v0.3 replacement path for graph and lifecycle consumers.
+readSupersededBy :: Frontmatter -> Maybe Text
+readSupersededBy fm =
+  case optionalFieldValue "superseded_by" fm of
     Just (String value) -> Just value
     _ -> Nothing
 
@@ -314,9 +353,7 @@
 -- unpredictable for downstream consumers and would hide a producer mistake.
 readSources :: Frontmatter -> [Source]
 readSources frontmatterValue =
-  case frontmatterLookup "sources" frontmatterValue of
-    Just (Array entries) -> foldMap (toList . sourceFromValue) entries
-    _ -> []
+  mapMaybe sourceFromValue (listFieldValues "sources" frontmatterValue)
   where
     sourceFromValue = \case
       Object entryFields -> do
@@ -376,11 +413,8 @@
 -- under @python@. That is why @runtime@ is the field §10.2 marks REQUIRED —
 -- without it a parameter has no meaning.
 --
--- @parameterType@ and @parameterRequired@ are optional even though §10.2 writes
--- every entry as @{ name, type, required }@: that describes the shape rather
--- than marking the members REQUIRED, and §11 forbids rejecting a document for a
--- malformed optional field. @parameterName@ is not optional, because an entry
--- naming no hole is not a parameter at all.
+-- The YAML reader requires both @name@ and @type@. The optional @type@ in
+-- the Haskell constructor is retained for existing in-memory callers.
 data Parameter = Parameter
   { parameterName :: !Text,
     parameterType :: !(Maybe Text),
@@ -433,34 +467,25 @@
 -- 'Okf.Validation.validateDocument''s job.
 readRuntime :: Frontmatter -> Maybe Text
 readRuntime frontmatterValue =
-  case frontmatterLookup "runtime" frontmatterValue of
+  case optionalFieldValue "runtime" frontmatterValue of
     Just (String value) -> Just value
     _ -> Nothing
 
--- | Read the @parameters@ list (specification §10.2).
---
--- An entry with no textual @name@ is skipped, exactly as 'readSources' skips an
--- entry with no @resource@: a hole with no name cannot be filled. An absent key,
--- or a value that is not a list, yields @[]@.
---
--- @required@ is read only from a YAML boolean. The string @"true"@ yields
--- 'Nothing', for the same reason 'objectInteger' refuses a numeric string:
--- coercing it would make the field's type unpredictable and hide a producer
--- mistake.
+-- | Normalize a sole parameter mapping and skip entries without both
+-- required textual members. Read @required@ only from YAML booleans.
 readParameters :: Frontmatter -> [Parameter]
 readParameters frontmatterValue =
-  case frontmatterLookup "parameters" frontmatterValue of
-    Just (Array entries) -> foldMap (toList . parameterFromValue) entries
-    _ -> []
+  mapMaybe parameterFromValue (listFieldValues "parameters" frontmatterValue)
   where
     parameterFromValue = \case
       Object entryFields -> do
         name <- objectText "name" entryFields
+        parameterType <- objectText "type" entryFields
         pure
           Parameter
             { parameterName = name,
-              parameterType = objectText "type" entryFields,
-              parameterRequired = objectBool "required" entryFields
+              parameterType = Just parameterType,
+              parameterRequired = Just (fromMaybe False (objectBool "required" entryFields))
             }
       _ -> Nothing
 
@@ -477,7 +502,7 @@
 -- Checking that is body inspection and is not done here.
 readComputation :: Frontmatter -> Maybe Text
 readComputation frontmatterValue =
-  case frontmatterLookup "computation" frontmatterValue of
+  case optionalFieldValue "computation" frontmatterValue of
     Just (String value) -> Just value
     _ -> Nothing
 
@@ -546,7 +571,7 @@
 readComputationSources :: OKFDocument -> [ComputationSource]
 readComputationSources OKFDocument {frontmatter = documentFrontmatter, body = documentBody} =
   foldMap (pure . ComputationFile) (readComputation documentFrontmatter)
-    <> map ComputationInline (computationBlocks documentBody)
+    <> map ComputationInline (computationFences documentBody)
 
 -- | Read an integral member. Only a YAML integer qualifies: a numeric string
 -- and a fractional number both yield 'Nothing', because aeson's @Integer@
@@ -564,7 +589,7 @@
 objectText :: Text -> KeyMap.KeyMap Value -> Maybe Text
 objectText key members =
   case KeyMap.lookup (AesonKey.fromText key) members of
-    Just (String value) -> Just value
+    Just (String value) | not (Text.null (Text.strip value)) -> Just value
     _ -> Nothing
 
 -- | Read a boolean member. Only a YAML boolean qualifies; the string @"true"@
@@ -599,13 +624,13 @@
 
 -- | Insert or replace a single frontmatter key.
 setField :: Text -> Value -> Frontmatter -> Frontmatter
-setField key value (Frontmatter rawFields) =
-  Frontmatter (KeyMap.insert (AesonKey.fromText key) value rawFields)
+setField key value (FrontmatterData raw source) =
+  FrontmatterData (KeyMap.insert (AesonKey.fromText key) value raw) source
 
 -- | Delete a frontmatter key if present.
 removeField :: Text -> Frontmatter -> Frontmatter
-removeField key (Frontmatter rawFields) =
-  Frontmatter (KeyMap.delete (AesonKey.fromText key) rawFields)
+removeField key (FrontmatterData raw source) =
+  FrontmatterData (KeyMap.delete (AesonKey.fromText key) raw) source
 
 -- | The common OKF identity fields. @resource@ and @tags@ are intentionally
 -- omitted because they are optional and have distinct shapes; set them with
@@ -656,7 +681,7 @@
 -- @generated@ is a mapping of an actor and a datetime.
 setGenerated :: Generated -> Frontmatter -> Frontmatter
 setGenerated Generated {generatedBy, generatedAt} =
-  setField "generated" (actorMapping generatedBy generatedAt)
+  setRecord "generated" ["by", "at"] (actorMapping generatedBy generatedAt)
 
 -- | Set the OKF v0.2 @verified@ field (specification §5.2).
 --
@@ -664,11 +689,16 @@
 -- form on input and 'readVerified' honours that MUST, but writing it would be
 -- pointlessly ambiguous when the list is the specification's primary form.
 setVerified :: [Verification] -> Frontmatter -> Frontmatter
-setVerified verifications =
-  setField "verified" (Array (Vector.fromList (entryValue <$> verifications)))
+setVerified verifications fm =
+  setField "verified" (Array (Vector.fromList (entryValue <$> verifications))) fm
   where
     entryValue Verification {verificationBy, verificationAt} =
-      actorMapping verificationBy verificationAt
+      let new = actorMapping verificationBy verificationAt
+          sameActor = matchesEntry "by" (renderActor verificationBy)
+          sameEvent old = sameActor old && maybe False (\value -> matchesEntry "at" value old) verificationAt
+          originals = listFieldValues "verified" fm
+          original = onlyMatch sameEvent originals <|> onlyMatch sameActor originals
+       in retainUnowned ["by", "at"] original new
 
 -- | Set the OKF v0.2 @status@ field (specification §5.4).
 setStatus :: Status -> Frontmatter -> Frontmatter
@@ -686,12 +716,19 @@
 -- generated document carries no noise. This is the single place that knows the
 -- shape of a source entry.
 setSources :: [Source] -> Frontmatter -> Frontmatter
-setSources sources =
-  setField "sources" (Array (Vector.fromList (sourceValue <$> sources)))
+setSources sources fm =
+  setField "sources" (Array (Vector.fromList (sourceValue <$> sources))) fm
   where
     sourceValue source =
-      Object
-        ( KeyMap.fromList
+      retainUnowned owned original (Object replacement)
+      where
+        original = onlyMatch (maybe (matchesEntry "resource" (sourceResource source)) (matchesEntry "id") (sourceId source)) (listFieldValues "sources" fm)
+        owned = ["id", "resource", "title", "author", "usage_count", "last_modified", "usage_window"]
+        originalWindow = case original of
+          Just (Object old) -> KeyMap.lookup "usage_window" old
+          _ -> Nothing
+        replacement =
+          KeyMap.fromList
             ( concat
                 [ [(AesonKey.fromText "id", String value) | Just value <- [sourceId source]],
                   [(AesonKey.fromText "resource", String (sourceResource source))],
@@ -699,16 +736,34 @@
                   [(AesonKey.fromText "author", String (renderActor value)) | Just value <- [sourceAuthor source]],
                   [(AesonKey.fromText "usage_count", Number (fromInteger value)) | Just value <- [sourceUsageCount source]],
                   [(AesonKey.fromText "last_modified", String value) | Just value <- [sourceLastModified source]],
-                  [(AesonKey.fromText "usage_window", usageWindowValue value) | Just value <- [sourceUsageWindow source]]
+                  [("usage_window", retainUnowned ["from", "to"] originalWindow (usageWindowValue value)) | Just value <- [sourceUsageWindow source]]
                 ]
             )
-        )
 
 -- | Set the document-scope @usage_window@ that frames every @usage_count@
 -- (specification §5.1).
 setUsageWindow :: UsageWindow -> Frontmatter -> Frontmatter
-setUsageWindow window = setField "usage_window" (usageWindowValue window)
+setUsageWindow window = setRecord "usage_window" ["from", "to"] (usageWindowValue window)
 
+setRecord :: Text -> [Text] -> Value -> Frontmatter -> Frontmatter
+setRecord key owned replacement fm =
+  setField key (retainUnowned owned (frontmatterLookup key fm) replacement) fm
+
+retainUnowned :: [Text] -> Maybe Value -> Value -> Value
+retainUnowned owned (Just (Object original)) (Object replacement) =
+  Object (KeyMap.union replacement (foldr (KeyMap.delete . AesonKey.fromText) original owned))
+retainUnowned _ _ replacement = replacement
+
+matchesEntry :: Text -> Text -> Value -> Bool
+matchesEntry key expected (Object members) = objectText key members == Just expected
+matchesEntry _ _ _ = False
+
+onlyMatch :: (a -> Bool) -> [a] -> Maybe a
+onlyMatch predicate entries =
+  case filter predicate entries of
+    [entry] -> Just entry
+    _ -> Nothing
+
 usageWindowValue :: UsageWindow -> Value
 usageWindowValue UsageWindow {usageWindowFrom, usageWindowTo} =
   Object
@@ -744,30 +799,55 @@
 -- | Parse a Markdown document. A leading @---@ line starts YAML frontmatter;
 -- documents without a leading fence are accepted with empty frontmatter.
 parseDocument :: Text -> Either DocumentParseError OKFDocument
-parseDocument input =
-  let inputBytes = Text.Encoding.encodeUtf8 input
-   in if hasLeadingFrontmatterFence inputBytes
-        then parseFrontmatterDocument inputBytes
-        else Right (OKFDocument emptyFrontmatter input)
+parseDocument input
+  | not (hasFrontmatterFence input) = Right (OKFDocument emptyFrontmatter input)
+  | otherwise =
+      case break ((== "---") . lineText) rest of
+        (_, []) -> Left UnterminatedFrontmatter
+        (yamlLines, close : bodyLines) -> do
+          let yaml = Text.concat yamlLines
+              (gap, contents) = case bodyLines of
+                blank : remaining | Text.null (lineText blank) -> (blank, remaining)
+                _ -> ("", bodyLines)
+          parsed <- first InvalidYaml (parseYaml yaml)
+          case parsed of
+            Just root
+              | Object raw <- yamlValue root ->
+                  Right (OKFDocument (FrontmatterData raw (Just (FrontmatterSource openingLine yaml close gap root))) (Text.concat contents))
+            _ -> Left FrontmatterNotMapping
+  where
+    (openingLine, rest) = splitLine input
+    splitLine text =
+      let (line, suffix) = Text.breakOn "\n" text
+       in if Text.null suffix
+            then (line, [])
+            else (line <> "\n", splitLines (Text.drop 1 suffix))
+    splitLines text
+      | Text.null text = []
+      | otherwise = let (line, lines') = splitLine text in line : lines'
+    lineText line = fromMaybe line (Text.stripSuffix "\r\n" line <|> Text.stripSuffix "\n" line)
 
--- | Serialize to a normalized YAML-frontmatter Markdown document. Frontmatter
--- keys are emitted in a deterministic order ('coreFrontmatterFieldOrder' first,
--- in that fixed order, then every other key in ascending alphabetical order) so
--- regenerating a bundle yields minimal diffs.
+-- | Loaded values keep their source spelling when representable as local
+-- edits. Newly constructed frontmatter has deterministic field ordering.
 serializeDocument :: OKFDocument -> Text
 serializeDocument OKFDocument {frontmatter, body} =
-  Text.unlines ["---", renderedYaml, "---", ""] <> ensureTrailingNewline body
+  header <> lineBreak <> outputBody
   where
-    renderedYaml = renderOrderedYaml frontmatter
+    header = renderDocumentHeader frontmatter
+    lineBreak = if Text.null outputBody || "\n" `Text.isSuffixOf` header then "" else "\n"
+    outputBody = case frontmatter of
+      FrontmatterData _ (Just _) -> body
+      _ -> ensureTrailingNewline body
 
--- | Render frontmatter to YAML with the deterministic OKF key order.
-renderOrderedYaml :: Frontmatter -> Text
-renderOrderedYaml (Frontmatter rawFields) =
-  Text.dropWhileEnd
-    (== '\n')
-    (Text.Encoding.decodeUtf8 (YamlPretty.encodePretty config (Object rawFields)))
+-- | Render just the header, including the separator before the body.
+renderDocumentHeader :: Frontmatter -> Text
+renderDocumentHeader (FrontmatterData raw source) =
+  fromMaybe canonical $ do
+    FrontmatterSource {opening, yamlText, closing, separator, yamlRoot} <- source
+    yaml <- patchYaml okfKeyRank yamlText yamlRoot (Object raw)
+    pure (opening <> yaml <> closing <> separator)
   where
-    config = YamlPretty.setConfCompare (comparing okfKeyRank) YamlPretty.defConfig
+    canonical = "---\n" <> renderYaml okfKeyRank (Object raw) <> "---\n\n"
 
 -- | Sort key for deterministic frontmatter ordering: the core OKF fields come
 -- first in their fixed 'coreFrontmatterFieldOrder'; every other key sorts after
@@ -810,6 +890,7 @@
     "resource",
     "tags",
     "status",
+    "superseded_by",
     "runtime",
     "parameters",
     "computation",
@@ -871,6 +952,10 @@
     "attester"
   ]
 
+-- | Concept-level names first standardized by OKF v0.3.
+fieldsIntroducedInV03 :: Set Text
+fieldsIntroducedInV03 = Set.singleton "superseded_by"
+
 -- | Concept-level frontmatter keys OKF v0.2 superseded (specification §13.1).
 -- @timestamp@ is superseded by @generated.at@. okf still /reads/ it, per
 -- [ADR 7](docs/adr/7-okf-v0-1-legacy-fallback-policy.md); a profile that
@@ -878,39 +963,13 @@
 fieldsSupersededInV02 :: [Text]
 fieldsSupersededInV02 = ["timestamp"]
 
-parseFrontmatterDocument :: ByteString.ByteString -> Either DocumentParseError OKFDocument
-parseFrontmatterDocument inputBytes =
-  case Attoparsec.parseOnly frontmatterAndBody inputBytes of
-    Left _ -> Left UnterminatedFrontmatter
-    Right (yamlBytes, bodyBytes) -> do
-      parsedYaml <- parseYamlMapping yamlBytes
-      Right (OKFDocument parsedYaml (Text.Encoding.decodeUtf8 (dropSeparatorBlankLine bodyBytes)))
-
-frontmatterAndBody :: Attoparsec.Parser (ByteString.ByteString, ByteString.ByteString)
-frontmatterAndBody =
-  (,)
-    <$> Frontmatter.frontmatter
-    <*> Attoparsec.takeByteString
-
-parseYamlMapping :: ByteString.ByteString -> Either DocumentParseError Frontmatter
-parseYamlMapping yamlBytes =
-  case Yaml.decodeEither' yamlBytes of
-    Left parseException -> Left (InvalidYaml (Text.pack (Yaml.prettyPrintParseException parseException)))
-    Right (Object rawFields) -> Right (Frontmatter rawFields)
-    Right _ -> Left FrontmatterNotMapping
-
 ensureTrailingNewline :: Text -> Text
 ensureTrailingNewline text
   | Text.null text = "\n"
   | Text.isSuffixOf "\n" text = text
   | otherwise = text <> "\n"
 
-hasLeadingFrontmatterFence :: ByteString.ByteString -> Bool
-hasLeadingFrontmatterFence inputBytes =
-  "---\n" `ByteString.isPrefixOf` inputBytes || "---\r\n" `ByteString.isPrefixOf` inputBytes
-
-dropSeparatorBlankLine :: ByteString.ByteString -> ByteString.ByteString
-dropSeparatorBlankLine bodyBytes
-  | "\r\n" `ByteString.isPrefixOf` bodyBytes = ByteString.drop 2 bodyBytes
-  | "\n" `ByteString.isPrefixOf` bodyBytes = ByteString.drop 1 bodyBytes
-  | otherwise = bodyBytes
+-- | Whether the first line is the exact opening delimiter.
+hasFrontmatterFence :: Text -> Bool
+hasFrontmatterFence input =
+  input == "---" || "---\n" `Text.isPrefixOf` input || "---\r\n" `Text.isPrefixOf` input
diff --git a/src/Okf/Graph.hs b/src/Okf/Graph.hs
--- a/src/Okf/Graph.hs
+++ b/src/Okf/Graph.hs
@@ -4,6 +4,8 @@
     Graph (..),
     Node (..),
     buildGraph,
+    buildGraphWith,
+    danglingBodyPaths,
     extractConceptLinks,
     danglingReferences,
     duplicateConceptIds,
@@ -15,12 +17,12 @@
 import Data.List qualified as List
 import Data.Map.Strict qualified as Map
 import Data.Set qualified as Set
-import Data.Text qualified as Text
 import Okf.Bundle
 import Okf.ConceptId
 import Okf.Document (body)
-import Okf.Markdown (markdownOptions)
-import Okf.Path (PathReference (..), classifyPathReference)
+import Okf.Index (VersionDeclaration (..), frontmatterReferenceContext)
+import Okf.Markdown (parseMarkdown)
+import Okf.Path (PathReference (..), PathResolution (..), ReferenceContext (..), classifyFileReference, resolveFileReference)
 import Okf.Prelude hiding ((.=))
 import System.FilePath qualified as FilePath
 
@@ -74,42 +76,65 @@
         "edges" .= edges
       ]
 
--- | Build a graph, excluding links whose targets are not known concepts.
+-- | Build a graph from in-memory concepts using the undeclared version policy.
 buildGraph :: [Concept] -> Graph
 buildGraph concepts =
+  buildGraphWith VersionUndeclared (bundleInventoryOfConcepts concepts) concepts
+
+-- | Connect body and frontmatter references that resolve to indexed concepts.
+buildGraphWith :: VersionDeclaration -> BundleInventory -> [Concept] -> Graph
+buildGraphWith declaration inventory concepts =
   Graph
-    { nodes = conceptNode <$> sortedConcepts,
-      edges = Set.toAscList knownEdges
+    { nodes = conceptNode <$> List.sortOn (renderConceptId . conceptIdOf) concepts,
+      edges = Set.toAscList edgesById
     }
   where
-    sortedConcepts = List.sortOn (renderConceptId . conceptIdOf) concepts
-    knownIds = Set.fromList (conceptIdOf <$> concepts)
-    knownEdges =
+    conceptsByPath = Map.fromList [(conceptSourcePath concept, conceptIdOf concept) | concept <- concepts]
+    exists = flip bundleInventoryContainsPath inventory
+    edgesById =
       Set.fromList
-        [ Edge {source = conceptIdOf concept, target}
+        [ Edge (conceptIdOf concept) target
         | concept <- concepts,
-          target <- extractConceptLinks concept,
-          target `Set.member` knownIds
+          let sourcePath = conceptSourcePath concept,
+          let references =
+                [(BodyReference, raw) | raw <- conceptBodyLinks concept]
+                  <> [(frontmatterReferenceContext declaration, raw) | (_, raw) <- conceptPathFields concept],
+          (context, raw) <- references,
+          ResolvedInBundle resolved <- [resolveFileReference exists context sourcePath raw],
+          Just target <- [Map.lookup resolved conceptsByPath]
         ]
 
 -- | Extract OKF concept links from a concept body.
 extractConceptLinks :: Concept -> [ConceptId]
 extractConceptLinks concept =
-  foldMap (resolveLink concept) (extractMarkdownLinks (body (conceptDocument concept)))
+  [ conceptId
+  | raw <- conceptBodyLinks concept,
+    BundlePath resolved <- [classifyFileReference (conceptSourcePath concept) raw],
+    FilePath.takeExtension resolved == ".md",
+    Right conceptId <- [conceptIdFromFilePath resolved]
+  ]
 
--- | Every @(source, target)@ pair where a document links to a @.md@ concept ID
--- that is not present in the bundle. These are the edges 'buildGraph' silently
--- drops. An empty list means every internal link resolves to a real concept.
-danglingReferences :: [Concept] -> [(ConceptId, ConceptId)]
-danglingReferences concepts =
+-- | Find unresolved Markdown links using the available bundle inventory.
+danglingBodyPaths :: BundleInventory -> [Concept] -> [(ConceptId, FilePath)]
+danglingBodyPaths inventory concepts =
   [ (conceptIdOf concept, target)
   | concept <- concepts,
-    target <- extractConceptLinks concept,
-    not (target `Set.member` knownIds)
+    raw <- conceptBodyLinks concept,
+    DanglingInBundle target <- [resolveFileReference (flip bundleInventoryContainsPath inventory) BodyReference (conceptSourcePath concept) raw]
   ]
-  where
-    knownIds = Set.fromList (conceptIdOf <$> concepts)
 
+-- | Compatibility projection for callers only interested in missing .md paths.
+danglingReferences :: [Concept] -> [(ConceptId, ConceptId)]
+danglingReferences concepts =
+  [ (source, target)
+  | (source, path) <- danglingBodyPaths (bundleInventoryOfConcepts concepts) concepts,
+    FilePath.takeExtension path == ".md",
+    Right target <- [conceptIdFromFilePath path]
+  ]
+
+conceptBodyLinks :: Concept -> [Text]
+conceptBodyLinks = extractMarkdownLinks . body . conceptDocument
+
 -- | Concept IDs that appear more than once in a concept list. Always empty for
 -- a bundle read from disk (paths are unique) but possible for an in-memory
 -- producer assembling concepts before writing.
@@ -135,37 +160,9 @@
 
 extractMarkdownLinks :: Text -> [Text]
 extractMarkdownLinks markdown =
-  walk (CMarkGFM.commonmarkToNode markdownOptions [] markdown)
+  walk (parseMarkdown markdown)
   where
     walk (CMarkGFM.Node _ nodeType childNodes) =
       case nodeType of
         CMarkGFM.LINK url _title -> [url]
         _ -> foldMap walk childNodes
-
--- | Resolve one Markdown link destination to the concept it names, if any.
---
--- The §6.2 grammar lives in 'Okf.Path' and is shared with the profile layer, but
--- this function deliberately differs from it in one place, and the difference is
--- the point of keeping 'isExternalUrl' here. A body link is a heuristic over
--- prose, so only the three schemes a Markdown author plausibly writes are
--- treated as external, and anything that resolves to no concept is dropped in
--- silence — OKF v0.2 §6.1 says a broken body link may be knowledge not yet
--- written. A path-valued /field/ is read the other way round: every scheme is
--- recognized, and one the profile did not permit is reported rather than
--- ignored.
-resolveLink :: Concept -> Text -> [ConceptId]
-resolveLink concept rawUrl
-  | isExternalUrl rawUrl = []
-  | otherwise =
-      case classifyPathReference (conceptIdOf concept) rawUrl of
-        BundlePath resolved
-          | FilePath.takeExtension resolved == ".md" ->
-              either (const []) pure (conceptIdFromFilePath resolved)
-        _ -> []
-
-isExternalUrl :: Text -> Bool
-isExternalUrl rawUrl =
-  let lower = Text.toLower rawUrl
-   in "http://" `Text.isPrefixOf` lower
-        || "https://" `Text.isPrefixOf` lower
-        || "mailto:" `Text.isPrefixOf` lower
diff --git a/src/Okf/Index.hs b/src/Okf/Index.hs
--- a/src/Okf/Index.hs
+++ b/src/Okf/Index.hs
@@ -11,14 +11,17 @@
     -- * OKF version declaration (specification §12)
     OkfVersion (..),
     VersionDeclaration (..),
+    BundleMetadata (..),
+    readBundleMetadata,
     readBundleVersion,
+    checkBundleIndexes,
     parseOkfVersion,
     renderOkfVersion,
     supportedOkfVersion,
+    frontmatterReferenceContext,
   )
 where
 
-import Control.Exception (IOException, try)
 import Data.Aeson.Text qualified as Aeson.Text
 import Data.Char qualified as Char
 import Data.List qualified as List
@@ -27,16 +30,15 @@
 import Data.Text.IO qualified as Text.IO
 import Data.Text.Lazy qualified as Text.Lazy
 import Okf.Bundle
-import Okf.Document (OKFDocument (..), frontmatterLookup, parseDocument)
-import Okf.Prelude
-import System.Directory
-  ( doesDirectoryExist,
-    doesFileExist,
-    listDirectory,
-  )
+import Okf.BundlePath (BundleEntry (..), listBundleDirectory, requireBundlePath)
+import Okf.ConceptId (renderBundleLinkTarget)
+import Okf.Document (Frontmatter, OKFDocument (..), frontmatterLookup, hasFrontmatterFence, optionalFieldValue, parseDocument, renderDocumentHeader, setField)
+import Okf.Markdown (hasSectionHeading)
+import Okf.Path (ReferenceContext (..))
+import Okf.Prelude hiding (setField)
+import System.Directory (doesDirectoryExist)
 import System.FilePath ((</>))
 import System.FilePath qualified as FilePath
-import System.IO.Error (ioeGetErrorString)
 import Text.Read (readMaybe)
 
 -- | An OKF format version, written @\<major\>.\<minor\>@ (specification §12).
@@ -64,12 +66,21 @@
     VersionUnparseable !Text
   deriving stock (Generic, Eq, Show)
 
+-- | Legacy root retry uses the actual declaration. An unreadable or future
+-- declaration cannot opt a path into historical interpretation.
+frontmatterReferenceContext :: VersionDeclaration -> ReferenceContext
+frontmatterReferenceContext declaration =
+  FrontmatterReference $ case declaration of
+    VersionUndeclared -> True
+    VersionDeclared (OkfVersion 0 minor) -> minor <= 2
+    _ -> False
+
 -- | The highest OKF version this library understands. Specification §12's
 -- best-effort rule is applied against this value: see
 -- @Okf.Validation.versionGate@, which is the one place that decides what a
 -- declared version implies.
 supportedOkfVersion :: OkfVersion
-supportedOkfVersion = OkfVersion {okfVersionMajor = 0, okfVersionMinor = 2}
+supportedOkfVersion = OkfVersion {okfVersionMajor = 0, okfVersionMinor = 3}
 
 -- | Render a version back to its @\<major\>.\<minor\>@ text form.
 renderOkfVersion :: OkfVersion -> Text
@@ -90,35 +101,80 @@
       | Text.all Char.isDigit component = readMaybe (Text.unpack component)
       | otherwise = Nothing
 
--- | Read the version a bundle declares in its root @index.md@ frontmatter.
---
--- §8 permits frontmatter in exactly one @index.md@, the bundle root's, and §12
--- permits exactly one key in it. This reads that key and nothing else; it does
--- not turn @index.md@ into a concept, which stays reserved by
--- 'Okf.Bundle.isReservedMarkdownFile'.
---
--- A missing root @index.md@, one with no frontmatter, one whose frontmatter
--- omits the key, and one whose frontmatter does not parse all yield
--- 'VersionUndeclared'. Only a present key with an unreadable value yields
--- 'VersionUnparseable'. The 'Left' is reserved for genuine IO failure.
+-- | Bundle-scoped metadata declared in the root index. The raw mapping retains
+-- extension keys and the original YAML text for regeneration.
+data BundleMetadata = BundleMetadata
+  { bundleTitle :: !(Maybe Text),
+    bundleDescription :: !(Maybe Text),
+    bundleLicense :: !(Maybe Text),
+    bundleVersion :: !VersionDeclaration,
+    bundleFrontmatter :: !Frontmatter
+  }
+  deriving stock (Generic, Eq, Show)
+
+-- | Read a root header. Absent and headerless indexes yield 'Nothing'.
+-- A delimited header that is malformed is a separate, path-specific failure.
+readBundleMetadata :: FilePath -> IO (Either BundleError (Maybe BundleMetadata))
+readBundleMetadata root = do
+  loaded <- readRootIndex root
+  pure $ do
+    source <- loaded
+    traverse parseHeader (source >>= hasHeader)
+  where
+    hasHeader source = if hasFrontmatterFence source then Just source else Nothing
+    parseHeader source = do
+      document <- first (InvalidConceptDocument "index.md") (parseDocument source)
+      let fm = frontmatter document
+          textMember key = case optionalFieldValue key fm of
+            Just (String value) -> Just value
+            _ -> Nothing
+      pure
+        BundleMetadata
+          { bundleTitle = textMember "title",
+            bundleDescription = textMember "description",
+            bundleLicense = textMember "license",
+            bundleVersion = maybe VersionUndeclared declarationFromValue (frontmatterLookup "okf_version" fm),
+            bundleFrontmatter = fm
+          }
+
+-- | Best-effort declaration reader retained for callers that only need the
+-- version. Use 'readBundleMetadata' when malformed headers must be diagnosed.
 readBundleVersion :: FilePath -> IO (Either BundleError VersionDeclaration)
 readBundleVersion root = do
-  let indexPath = root </> "index.md"
-  exists <- doesFileExist indexPath
-  if not exists
-    then pure (Right VersionUndeclared)
-    else do
-      loaded <- try (Text.IO.readFile indexPath)
+  loaded <- readBundleMetadata root
+  pure $ case loaded of
+    Left (InvalidConceptDocument _ _) -> Right VersionUndeclared
+    Left error_ -> Left error_
+    Right metadata -> Right (maybe VersionUndeclared bundleVersion metadata)
+
+readRootIndex :: FilePath -> IO (Either BundleError (Maybe Text))
+readRootIndex root = tryBundleIo "index.md" $ do
+  exists <- doesDirectoryExist root
+  entries <- if exists then listBundleDirectory root "" else pure []
+  case [path | BundleFile path <- entries, path == "index.md"] of
+    [path] -> Just <$> (requireBundlePath root path >>= Text.IO.readFile)
+    _ -> pure Nothing
+
+-- | Check the structure of every index present in the bounded inventory.
+checkBundleIndexes :: FilePath -> VersionDeclaration -> BundleInventory -> IO [BundleError]
+checkBundleIndexes root declaration inventory =
+  concat <$> traverse check indexes
+  where
+    indexes = filter ((== "index.md") . FilePath.takeFileName) (bundleInventoryFiles inventory)
+    requireHeading =
+      case declaration of
+        VersionDeclared version -> requiresIndexSection version
+        _ -> False
+    check path = do
+      loaded <- tryBundleIo path (requireBundlePath root path >>= Text.IO.readFile)
       pure $ case loaded of
-        Left (exception :: IOException) ->
-          Left (BundleIoError "index.md" (Text.pack (ioeGetErrorString exception)))
-        Right content ->
-          Right $ case parseDocument content of
-            Left _ -> VersionUndeclared
-            Right OKFDocument {frontmatter} ->
-              case frontmatterLookup "okf_version" frontmatter of
-                Nothing -> VersionUndeclared
-                Just value -> declarationFromValue value
+        Left err -> [err]
+        Right source ->
+          case parseDocument source of
+            Left err -> [InvalidConceptDocument path err]
+            Right document ->
+              [InvalidReservedFile path "a nested index.md must not have YAML frontmatter" | path /= "index.md", hasFrontmatterFence source]
+                <> [InvalidReservedFile path "index.md must contain a section heading" | requireHeading, not (hasSectionHeading (body document))]
 
 -- | Read the declared value, accepting both the quoted string form the
 -- specification writes (@okf_version: "0.2"@) and the bare YAML number a
@@ -193,39 +249,39 @@
 -- writes it quoted and because an unquoted @0.2@ is a YAML float whose text
 -- form no serializer guarantees to preserve.
 renderRootIndex :: Maybe OkfVersion -> [FilePath] -> [FilePath] -> [Concept] -> Text
-renderRootIndex version = renderRootIndexText (renderOkfVersion <$> version)
-
--- | 'renderRootIndex' over the declaration's raw text rather than a parsed
--- version, so that a declaration okf cannot parse survives regeneration
--- verbatim instead of being deleted.
-renderRootIndexText :: Maybe Text -> [FilePath] -> [FilePath] -> [Concept] -> Text
-renderRootIndexText Nothing subdirectories files concepts =
-  renderIndex subdirectories files concepts
-renderRootIndexText (Just versionText) subdirectories files concepts =
-  Text.unlines ["---", "okf_version: \"" <> escaped versionText <> "\"", "---"]
-    <> (if Text.null body then "" else "\n" <> body)
+renderRootIndex version subdirectories files concepts =
+  case version of
+    Nothing -> listing
+    Just declared ->
+      Text.unlines ["---", "okf_version: \"" <> renderOkfVersion declared <> "\"", "---"]
+        <> if Text.null listing then "" else "\n" <> listing
   where
-    body = renderIndex subdirectories files concepts
-    -- The only two characters that can end a double-quoted YAML scalar early.
-    -- A parsed version can contain neither; a preserved raw one might.
-    escaped = Text.replace "\"" "\\\"" . Text.replace "\\" "\\\\"
+    listing = addEmptySection (maybe False requiresIndexSection version) (renderIndex subdirectories files concepts)
 
+requiresIndexSection :: OkfVersion -> Bool
+requiresIndexSection (OkfVersion major minor) = major == 0 && minor >= 3
+
+addEmptySection :: Bool -> Text -> Text
+addEmptySection required listing
+  | required && Text.null listing = "# Files\n"
+  | otherwise = listing
+
 directoryBullet :: FilePath -> Text
 directoryBullet directory =
-  "- [" <> Text.pack directory <> "/](" <> Text.pack directory <> "/index.md)"
+  "- [" <> Text.pack directory <> "/](" <> renderBundleLinkTarget (directory </> "index.md") <> ")"
 
 -- | A file has no frontmatter, so there is no title to prefer and no description
 -- to append: the link text is the name.
 fileBullet :: FilePath -> Text
 fileBullet file =
-  "- [" <> Text.pack file <> "](" <> Text.pack file <> ")"
+  "- [" <> Text.pack file <> "](" <> renderBundleLinkTarget file <> ")"
 
 conceptBullet :: Concept -> Text
 conceptBullet concept =
   "- ["
     <> fromMaybe (Text.pack (FilePath.dropExtension (FilePath.takeFileName (conceptSourcePath concept)))) (conceptTitle concept)
     <> "]("
-    <> Text.pack (FilePath.takeFileName (conceptSourcePath concept))
+    <> renderBundleLinkTarget (FilePath.takeFileName (conceptSourcePath concept))
     <> ")"
     <> maybe "" (" - " <>) (conceptDescription concept)
 
@@ -243,109 +299,66 @@
   case rendered of
     Left bundleError -> pure (Left bundleError)
     Right indexes -> do
-      mapM_ (\(relativePath, content) -> Text.IO.writeFile (root </> relativePath) content) indexes
-      pure (Right ())
+      checked <- traverse (\(relative, content) -> tryBundleIo relative ((,content) <$> requireBundlePath root relative)) indexes
+      case sequenceA checked of
+        Left err -> pure (Left err)
+        Right targets -> do
+          written <- traverse (\(absolute, content) -> tryBundleIo absolute (Text.IO.writeFile absolute content)) targets
+          pure (() <$ sequenceA written)
 
 -- | Render every @index.md@ file that would be written for a bundle,
 -- preserving any version declaration the root index already carries.
 renderBundleIndexes :: FilePath -> IO (Either BundleError [(FilePath, Text)])
 renderBundleIndexes = renderBundleIndexesWith Nothing
 
--- | 'renderBundleIndexes' with an explicit version declaration for the bundle
--- root. 'Just' overrides whatever the root index carries; 'Nothing' preserves
--- it.
---
--- Preserving is not a nicety. Index generation rewrites every directory's
--- @index.md@, root included, so without reading the existing declaration first
--- a single @okf index --write@ would silently delete the bundle's §12 version
--- declaration.
+-- | Render indexes, preserving the original root header and applying any
+-- explicit version override to that header. A malformed header prevents
+-- regeneration until the author repairs it.
 renderBundleIndexesWith :: Maybe OkfVersion -> FilePath -> IO (Either BundleError [(FilePath, Text)])
 renderBundleIndexesWith override root = do
-  walked <- walkBundle root
-  declared <- readBundleVersion root
-  case (,) <$> walked <*> declared of
-    Left bundleError -> pure (Left bundleError)
-    Right (concepts, declaration) -> do
-      let rootVersion = (renderOkfVersion <$> override) <|> declaredText declaration
-      directories <- indexDirectories root concepts
-      indexes <- mapM (renderDirectoryIndex rootVersion root concepts) directories
-      pure (Right indexes)
-  where
-    declaredText = \case
-      VersionDeclared version -> Just (renderOkfVersion version)
-      -- An unparseable declaration is preserved as written and left for
-      -- validation to report. Rewriting it to a version okf invented would
-      -- destroy the author's text; dropping it would be exactly the data loss
-      -- this function exists to prevent.
-      VersionUnparseable rawVersion -> Just rawVersion
-      VersionUndeclared -> Nothing
-
-indexDirectories :: FilePath -> [Concept] -> IO [FilePath]
-indexDirectories root concepts = do
-  discovered <- discoverDirectories root ""
-  let conceptDirectories = List.nub (FilePath.takeDirectory . conceptSourcePath <$> concepts)
-  pure (List.sort (List.nub ("" : discovered <> conceptDirectories)))
-
-discoverDirectories :: FilePath -> FilePath -> IO [FilePath]
-discoverDirectories root relativeDir = do
-  entries <- List.sort <$> listDirectory (root </> relativeDir)
-  fmap concat $
-    mapM
-      ( \entry -> do
-          let relativePath = FilePath.normalise (relativeDir </> entry)
-              absolutePath = root </> relativePath
-          isDirectory <- doesDirectoryExist absolutePath
-          if isDirectory
-            then (relativePath :) <$> discoverDirectories root relativePath
-            else pure []
-      )
-      entries
-
--- | Render one directory's index. The bundle root reaches this twice, once as
--- @\"\"@ and once as @\".\"@, and both normalise to the same @index.md@; only
--- the root carries the version declaration.
-renderDirectoryIndex :: Maybe Text -> FilePath -> [Concept] -> FilePath -> IO (FilePath, Text)
-renderDirectoryIndex rootVersion root concepts relativeDir = do
-  subdirectories <- immediateSubdirectories root relativeDir
-  files <- immediateFiles root relativeDir
-  let immediateConcepts =
-        List.filter
-          (\concept -> FilePath.normalise (FilePath.takeDirectory (conceptSourcePath concept)) == FilePath.normalise relativeDir)
-          concepts
-      indexPath = relativeDir </> "index.md"
-      isBundleRoot = FilePath.normalise indexPath == "index.md"
-      renderFor = if isBundleRoot then renderRootIndexText rootVersion else renderIndex
-  pure (FilePath.normalise indexPath, renderFor subdirectories files immediateConcepts)
+  metadata <- readBundleMetadata root
+  case metadata of
+    Left err -> pure (Left err)
+    Right header -> do
+      walked <- walkBundle root
+      scanned <- walkBundleInventory root
+      pure $ do
+        concepts <- walked
+        inventory <- scanned
+        let directories = bundleInventoryDirectories inventory
+            assets = filter ((/= ".md") . FilePath.takeExtension) (bundleInventoryFiles inventory)
+            render = renderDirectoryIndex override header directories assets concepts
+        pure (map render directories)
 
-immediateSubdirectories :: FilePath -> FilePath -> IO [FilePath]
-immediateSubdirectories root relativeDir = do
-  entries <- List.sort <$> listDirectory (root </> relativeDir)
-  fmap concat $
-    mapM
-      ( \entry -> do
-          isDirectory <- doesDirectoryExist (root </> relativeDir </> entry)
-          pure [entry | isDirectory]
-      )
-      entries
+-- | Render one directory using the same bounded tree as the concept reader.
+renderDirectoryIndex :: Maybe OkfVersion -> Maybe BundleMetadata -> [FilePath] -> [FilePath] -> [Concept] -> FilePath -> (FilePath, Text)
+renderDirectoryIndex override header directories assets concepts relativeDir =
+  (relativeDir </> "index.md", content)
+  where
+    parent = FilePath.normalise relativeDir
+    belongsHere path = FilePath.takeDirectory path == parent
+    subdirectories = [FilePath.takeFileName path | path <- directories, not (null path), belongsHere path]
+    files = [FilePath.takeFileName path | path <- assets, belongsHere path]
+    immediateConcepts = filter (belongsHere . conceptSourcePath) concepts
+    declared = case bundleVersion <$> header of
+      Just (VersionDeclared version) -> Just version
+      _ -> Nothing
+    requiredSection = maybe False requiresIndexSection (override <|> declared)
+    listing = addEmptySection requiredSection (renderIndex subdirectories files immediateConcepts)
+    content
+      | not (null relativeDir) = listing
+      | Just metadata <- header =
+          let fm = bundleFrontmatter metadata
+              updated = maybe fm (\version -> setField "okf_version" (String (renderOkfVersion version)) fm) override
+           in renderIndexWithHeader updated listing
+      | otherwise = renderRootIndex override subdirectories files immediateConcepts
 
--- | The directory's immediate non-concept files, for the @# Files@ section.
---
--- Every @.md@ file is excluded rather than only the concepts: a concept has its
--- own typed section and @index.md@ and @log.md@ are reserved, so listing any of
--- the three here would duplicate or clutter. A name beginning with @.@ is
--- skipped so a stray @.DS_Store@ never lands in a committed index.
-immediateFiles :: FilePath -> FilePath -> IO [FilePath]
-immediateFiles root relativeDir = do
-  entries <- List.sort <$> listDirectory (root </> relativeDir)
-  fmap concat $
-    mapM
-      ( \entry -> do
-          isDirectory <- doesDirectoryExist (root </> relativeDir </> entry)
-          pure
-            [ entry
-            | not isDirectory,
-              FilePath.takeExtension entry /= ".md",
-              not ("." `List.isPrefixOf` entry)
-            ]
-      )
-      entries
+renderIndexWithHeader :: Frontmatter -> Text -> Text
+renderIndexWithHeader fm listing
+  | Text.null listing = header
+  | any (`Text.isSuffixOf` header) ["\n\n", "\n\r\n"] = header <> listing
+  | "\r\n" `Text.isSuffixOf` header = header <> "\r\n" <> listing
+  | "\n" `Text.isSuffixOf` header = header <> "\n" <> listing
+  | otherwise = header <> "\n\n" <> listing
+  where
+    header = renderDocumentHeader fm
diff --git a/src/Okf/Lifecycle.hs b/src/Okf/Lifecycle.hs
new file mode 100644
--- /dev/null
+++ b/src/Okf/Lifecycle.hs
@@ -0,0 +1,45 @@
+-- | Select stable concepts, following the replacement paths of deprecated
+-- concepts through the same bounded inventory used by the graph.
+module Okf.Lifecycle (ReplacementIssue (..), currentKnowledge) where
+
+import Data.Either (partitionEithers)
+import Data.Map.Strict qualified as Map
+import Data.Maybe (catMaybes)
+import Data.Set qualified as Set
+import Okf.Bundle
+import Okf.ConceptId (ConceptId)
+import Okf.Document (Status (..))
+import Okf.Index (VersionDeclaration, frontmatterReferenceContext)
+import Okf.Path (PathResolution (..), resolveFileReference)
+import Okf.Prelude
+
+data ReplacementIssue
+  = MissingReplacement !ConceptId !Text
+  | ReplacementCycle !ConceptId !ConceptId
+  deriving stock (Eq, Ord, Show)
+
+-- | The last argument supplies initial matches. Replacements can come from
+-- anywhere in the full first concept list, and each stable result appears once.
+currentKnowledge :: VersionDeclaration -> BundleInventory -> [Concept] -> [Concept] -> ([Concept], [ReplacementIssue])
+currentKnowledge declaration inventory concepts initialMatches =
+  (Map.elems (Map.fromList [(conceptIdOf result, result) | result <- catMaybes selected]), Set.toAscList (Set.fromList issues))
+  where
+    byPath = Map.fromList [(conceptSourcePath concept, concept) | concept <- concepts]
+    context = frontmatterReferenceContext declaration
+    (issues, selected) = partitionEithers [follow (conceptIdOf start) Set.empty start | start <- initialMatches]
+
+    follow origin visited current
+      | Set.member currentId visited = Left (ReplacementCycle origin currentId)
+      | otherwise =
+          case conceptStatus current of
+            Stable -> Right (Just current)
+            Deprecated
+              | Just raw <- conceptSupersededBy current ->
+                  case resolveFileReference (flip bundleInventoryMember inventory) context (conceptSourcePath current) raw of
+                    ResolvedInBundle target
+                      | Just replacement <- Map.lookup target byPath ->
+                          follow origin (Set.insert currentId visited) replacement
+                    _ -> Left (MissingReplacement currentId raw)
+            _ -> Right Nothing
+      where
+        currentId = conceptIdOf current
diff --git a/src/Okf/Log.hs b/src/Okf/Log.hs
--- a/src/Okf/Log.hs
+++ b/src/Okf/Log.hs
@@ -21,7 +21,7 @@
 import Data.Text qualified as Text
 import Data.Time (Day, defaultTimeLocale, parseTimeM)
 import Numeric (showOct)
-import Okf.Markdown (markdownOptions)
+import Okf.Markdown (parseMarkdown)
 import Okf.Prelude
 
 -- | One parsed @log.md@ file.
@@ -65,7 +65,7 @@
   finish (foldl' step emptyBuild topLevelNodes)
   where
     topLevelNodes =
-      case CMarkGFM.commonmarkToNode markdownOptions [] markdown of
+      case parseMarkdown markdown of
         CMarkGFM.Node _ _ documentChildren -> documentChildren
 
 -- | Render a log deterministically with a trailing newline.
@@ -230,7 +230,7 @@
   -- Parsing the generated fragment also rejects messages that introduce extra
   -- headings or entries. Compare the complete parsed result below to catch an
   -- insertion swallowed by an unclosed code fence or HTML block at EOF.
-  case CMarkGFM.commonmarkToNode markdownOptions [] fragment of
+  case parseMarkdown fragment of
     CMarkGFM.Node _ _ [CMarkGFM.Node _ (CMarkGFM.HEADING 1) _, CMarkGFM.Node _ (CMarkGFM.HEADING 2) _, CMarkGFM.Node _ (CMarkGFM.LIST _) [_]] -> pure ()
     _ -> Left "kind and message must form a single log entry"
   let (offset, insertion) = case List.find ((== dateText) . fst) days of
@@ -258,7 +258,7 @@
     Left "cannot safely insert an entry into this Markdown structure"
   pure result
   where
-    CMarkGFM.Node _ _ nodes = CMarkGFM.commonmarkToNode markdownOptions [] markdown
+    CMarkGFM.Node _ _ nodes = parseMarkdown markdown
     titles = [node | node@(CMarkGFM.Node _ (CMarkGFM.HEADING 1) _) <- nodes]
     dateHeadings = [node | node@(CMarkGFM.Node _ (CMarkGFM.HEADING 2) _) <- nodes]
     headingPosition (CMarkGFM.Node (Just pos) _ _) = Right pos
diff --git a/src/Okf/Markdown.hs b/src/Okf/Markdown.hs
--- a/src/Okf/Markdown.hs
+++ b/src/Okf/Markdown.hs
@@ -3,10 +3,13 @@
 -- section of an OKF v0.2 attested computation.
 module Okf.Markdown
   ( markdownOptions,
+    parseMarkdown,
+    hasSectionHeading,
     FootnoteLabels (..),
     extractFootnoteLabels,
     footnoteLabelsUsed,
     computationBlocks,
+    computationFences,
   )
 where
 
@@ -18,6 +21,7 @@
 import Data.List qualified as List
 import Data.Text qualified as Text
 import Data.Text.Encoding qualified as Text.Encoding
+import Data.Vector qualified as Vector
 import Data.Word (Word8)
 import Okf.Prelude
 
@@ -34,58 +38,60 @@
 -- The cost, accepted deliberately, is that cmark-gfm deletes a footnote
 -- definition nothing cites, so Markdown links inside such a definition no longer
 -- reach the concept graph.
---
--- Extensions stay per call site. They are not uniform: @schemaSectionColumns@ in
--- "Okf.Profile" needs @extTable@ to read a GitHub-flavored table, and the other
--- call sites read neither tables nor any other extension construct.
 markdownOptions :: [CMarkGFM.CMarkOption]
 markdownOptions = [CMarkGFM.optFootnotes]
 
--- | The literal contents of every code block in the first @# Computation@
--- section of a body, in document order.
---
--- A /section/ runs from a heading whose text is @computation@, trimmed and
--- compared case-insensitively, to the next heading at the same or a shallower
--- level, or to the end of the document. CommonMark makes every heading and block
--- a sibling, so the boundary is drawn here rather than read off the tree.
--- @schemaSectionColumns@ in "Okf.Profile" is the neighbouring inspector and does
--- /not/ bound its section, which is tolerable for asking whether a schema table
--- exists and is not tolerable here: specification §10.3 counts computations, and
--- a fenced block under a later @# Notes@ heading is not a second one.
---
--- Both spellings of a code block count. Specification §10.3 says "a single
--- fenced code block" and §10.2's own worked example writes an indented one;
--- cmark-gfm reports both as @CODE_BLOCK@ and the tolerant reading is the only
--- one that does not report the specification's own example as broken.
---
--- Unlike 'extractFootnoteLabels' this reads the parse tree rather than the
--- source text, and that is deliberate rather than an oversight of
--- @docs\/adr\/9-one-markdown-parse-configuration-and-source-scanned-authoring-checks.md@.
--- That record's rule is that a check catching an author's /mistake/ must read
--- what the author wrote, because the tree erases unresolvable syntax. "Is there
--- a code block under this heading" is a question about structure, which is
--- exactly what the tree records. The one erasure that reaches this function is
--- the ADR's accepted cost: a code block inside a footnote definition nothing
--- cites is deleted along with its definition, so it is invisible here.
+-- | The bundle Markdown dialect shared by every body inspector.
+parseMarkdown :: Text -> CMarkGFM.Node
+parseMarkdown = CMarkGFM.commonmarkToNode markdownOptions [CMarkGFM.extTable]
+
+hasSectionHeading :: Text -> Bool
+hasSectionHeading source =
+  case parseMarkdown source of
+    CMarkGFM.Node _ _ nodes -> any isHeading nodes
+  where
+    isHeading (CMarkGFM.Node _ (CMarkGFM.HEADING _) _) = True
+    isHeading _ = False
+
+-- | Inspect legacy Markdown blocks, including indented code and setext
+-- headings, for callers that need the original source inspection behavior.
 computationBlocks :: Text -> [Text]
-computationBlocks markdown =
-  let CMarkGFM.Node _ _ topLevel = CMarkGFM.commonmarkToNode markdownOptions [] markdown
-   in case dropWhile (not . isComputationHeading) topLevel of
+computationBlocks = computationBlocksWith False
+
+-- | Read fenced blocks in the first ATX Computation section, in source order.
+-- The parse tree supplies the section boundaries and code literals. Its source
+-- positions identify the heading and code block syntax that produced them.
+computationFences :: Text -> [Text]
+computationFences = computationBlocksWith True
+
+computationBlocksWith :: Bool -> Text -> [Text]
+computationBlocksWith requireFences markdown =
+  case parseMarkdown markdown of
+    CMarkGFM.Node _ _ topLevel ->
+      case dropWhile (not . isComputationHeading) topLevel of
         (CMarkGFM.Node _ (CMarkGFM.HEADING level) _ : rest) ->
-          codeBlockLiterals (takeWhile (not . closesSection level) rest)
+          [ literal
+          | node@(CMarkGFM.Node _ (CMarkGFM.CODE_BLOCK _ literal) _) <- takeWhile (not . closesSection level) rest,
+            not requireFences || hasSourcePrefix ["```", "~~~"] node
+          ]
         _ -> []
   where
-    isComputationHeading (CMarkGFM.Node _ (CMarkGFM.HEADING _) inner) =
-      Text.toLower (Text.strip (inlineText inner)) == "computation"
+    isComputationHeading node@(CMarkGFM.Node _ (CMarkGFM.HEADING _) inner)
+      | requireFences = Text.strip (inlineText inner) == "Computation" && hasSourcePrefix ["#"] node
+      | otherwise = Text.toLower (Text.strip (inlineText inner)) == "computation"
     isComputationHeading _ = False
 
-    -- A smaller level is a shallower heading, so @## @ inside a @# @ section
-    -- keeps the section open and the next @# @ closes it.
     closesSection level (CMarkGFM.Node _ (CMarkGFM.HEADING other) _) = other <= level
     closesSection _ _ = False
 
-    codeBlockLiterals nodes =
-      [literal | CMarkGFM.Node _ (CMarkGFM.CODE_BLOCK _ literal) _ <- nodes]
+    sourceLines = Vector.fromList (Text.lines markdown)
+    hasSourcePrefix prefixes (CMarkGFM.Node (Just sourcePosition) _ _) =
+      case sourceLines Vector.!? (CMarkGFM.startLine sourcePosition - 1) of
+        Just line ->
+          let (indent, source) = Text.span (== ' ') line
+           in Text.length indent <= 3 && any (`Text.isPrefixOf` source) prefixes
+        Nothing -> False
+    hasSourcePrefix _ _ = False
 
 -- | Concatenate all @TEXT@ and @CODE@ literals under a node list, recursively.
 inlineText :: [CMarkGFM.Node] -> Text
@@ -235,7 +241,7 @@
 codeRegionTest markdown = \lineNumber column ->
   any (covers lineNumber column) regions
   where
-    regions = collect (CMarkGFM.commonmarkToNode markdownOptions [] markdown)
+    regions = collect (parseMarkdown markdown)
 
     collect (CMarkGFM.Node nodePosition nodeType childNodes) =
       case (nodeType, nodePosition) of
diff --git a/src/Okf/Path.hs b/src/Okf/Path.hs
--- a/src/Okf/Path.hs
+++ b/src/Okf/Path.hs
@@ -1,141 +1,114 @@
--- | The OKF v0.2 path-valued field grammar (specification §6.2).
---
--- Several frontmatter fields name a path or URI: @resource@,
--- @sources[].resource@, and the attested-computation fields @computation@,
--- @executor.resource@, and @attester.resource@. Each accepts an absolute URL, a
--- bundle-relative path beginning with @\/@, or an ordinary relative path.
---
--- Classification is total and offline: it never touches the filesystem and never
--- decides whether a target exists. Deciding that is the caller's job, because
--- what counts as existing depends on what the caller can see. 'Okf.Profile'
--- resolves only @.md@ targets, because it is handed a list of concepts and
--- nothing else.
---
--- Deliberately distinct from 'Okf.Graph.extractConceptLinks', which reads
--- Markdown links out of a concept /body/ and is free to drop anything it does
--- not recognize. A path-valued /field/ is something the author wrote on purpose,
--- so every shape it can take is named here rather than silently ignored.
+-- | URI references in Markdown and path-valued OKF frontmatter.
 module Okf.Path
-  ( PathReference (..),
+  ( ReferenceContext (..),
+    PathReference (..),
     classifyPathReference,
+    classifyFileReference,
     collapseBundlePath,
     PathResolution (..),
     resolvePathReference,
+    resolveFileReference,
+    rootRelativeAlternative,
   )
 where
 
-import Control.Monad (foldM)
+import Control.Monad (foldM, guard)
+import Data.ByteString.Char8 qualified as Bytes
+import Data.Char (isControl)
 import Data.Text qualified as Text
-import Network.URI (parseURI, uriScheme)
+import Data.Text.Encoding qualified as Text
+import Network.URI (parseURIReference, unEscapeString, uriAuthority, uriPath, uriScheme)
 import Okf.ConceptId (ConceptId, conceptIdToFilePath)
 import Okf.Prelude
 import System.FilePath ((</>))
 import System.FilePath qualified as FilePath
 
--- | What one raw path-valued frontmatter value turned out to be.
+data ReferenceContext
+  = BodyReference
+  | -- | The caller enables the root retry for eligible older declarations.
+    FrontmatterReference !Bool
+  deriving stock (Generic, Eq, Show)
+
 data PathReference
-  = -- | An absolute URL, carrying its case-folded scheme.
-    ExternalUrl !Text
-  | -- | A path inside the bundle, collapsed and expressed relative to the
-    -- bundle root, with any fragment or query suffix removed.
-    BundlePath !FilePath
-  | -- | A relative path that climbs above the bundle root.
-    EscapesBundle
-  | -- | Text that is neither: empty, whitespace, or otherwise unusable.
-    MalformedPath
+  = ExternalUrl !Text
+  | BundlePath !FilePath
+  | EscapesBundle
+  | MalformedPath
   deriving stock (Generic, Eq, Ord, Show)
 
--- | Classify one raw value written on the given concept. A relative path is
--- resolved against the concept's own directory, matching how a Markdown link in
--- that concept's body resolves; a value beginning with @\/@ resolves from the
--- bundle root regardless of where the concept lives.
---
--- An absolute URL is recognized by having a URI scheme, so this accepts every
--- scheme rather than the three 'Okf.Graph' treats as external. Whether a given
--- scheme is /permitted/ is a profile question and is decided by the caller.
-classifyPathReference :: ConceptId -> Text -> PathReference
-classifyPathReference sourceConcept rawValue
-  | Text.null trimmed = MalformedPath
-  | Just scheme <- absoluteUrlScheme trimmed = ExternalUrl scheme
-  | Text.null cleanText = MalformedPath
-  | otherwise =
-      case collapseBundlePath candidatePath of
-        Nothing -> EscapesBundle
-        Just [] -> MalformedPath
-        Just collapsed -> BundlePath collapsed
-  where
-    trimmed = Text.strip rawValue
-    cleanText = stripUrlSuffix trimmed
-    cleanPath = Text.unpack cleanText
-    sourceDirectory = FilePath.takeDirectory (conceptIdToFilePath sourceConcept)
-    candidatePath
-      | "/" `Text.isPrefixOf` cleanText = dropWhile (== '/') cleanPath
-      | otherwise = sourceDirectory </> cleanPath
-
--- | The outcome of resolving a path-valued frontmatter field against a bundle:
--- 'classifyPathReference' plus the one question it deliberately does not answer.
 data PathResolution
-  = -- | An absolute URL, carrying its case-folded scheme. okf never fetches it,
-    -- so this is as resolved as an external target gets.
-    ResolvedExternal !Text
-  | -- | Names a file the bundle contains, at the given bundle-relative path.
-    ResolvedInBundle !FilePath
-  | -- | Looks exactly like a bundle path, and the bundle holds no such file.
-    DanglingInBundle !FilePath
-  | -- | Climbs above the bundle root, so there is nothing in the bundle it
-    -- could name.
-    UnresolvableEscape
-  | -- | Empty, whitespace, or otherwise unusable as either a URL or a path.
-    UnresolvableMalformed
+  = ResolvedExternal !Text
+  | ResolvedInBundle !FilePath
+  | DanglingInBundle !FilePath
+  | UnresolvableEscape
+  | UnresolvableMalformed
   deriving stock (Generic, Eq, Ord, Show)
 
--- | Resolve one raw path-valued value written on the given concept, asking the
--- supplied predicate whether a bundle-relative path names a file that exists.
---
--- The predicate is a plain function rather than a bundle type so that this
--- module stays below 'Okf.Bundle' in the import graph; a caller holding a
--- 'Okf.Bundle.BundleInventory' passes
--- @flip Okf.Bundle.bundleInventoryMember inventory@.
---
--- Deliberately a thin composition over 'classifyPathReference'. Its value is
--- that the five outcomes are named once, so every caller agrees on what they
--- mean — in particular that an external URL is /resolved/ rather than skipped,
--- and that a path which escapes the bundle is a different finding from one that
--- simply is not there.
+-- | Classify relative to an existing concept ID.
+classifyPathReference :: ConceptId -> Text -> PathReference
+classifyPathReference = classifyFileReference . conceptIdToFilePath
+
+-- | Decode one segment at a time before collapsing dot segments. Encoded
+-- separators and control characters are invalid. URI schemes and network
+-- authorities never produce local filesystem paths.
+classifyFileReference :: FilePath -> Text -> PathReference
+classifyFileReference source raw =
+  case parseURIReference (Text.unpack (Text.strip raw)) of
+    Nothing -> MalformedPath
+    Just uri
+      | not (null (uriScheme uri)) ->
+          ExternalUrl (Text.toCaseFold (Text.dropEnd 1 (Text.pack (uriScheme uri))))
+      | isJust (uriAuthority uri) -> EscapesBundle
+      | null (uriPath uri) -> MalformedPath
+      | otherwise ->
+          case traverse decodeSegment (Text.splitOn "/" (Text.pack (uriPath uri))) of
+            Nothing -> MalformedPath
+            Just segments ->
+              let decoded = FilePath.joinPath (filter (not . null) segments)
+                  base = if headSlash (uriPath uri) then "" else FilePath.takeDirectory source
+               in maybe EscapesBundle (BundlePath . FilePath.normalise) (collapseBundlePath (base </> decoded))
+  where
+    headSlash ('/' : _) = True
+    headSlash _ = False
+    decodeSegment bytes = do
+      decoded <- either (const Nothing) Just (Text.decodeUtf8' (Bytes.pack (unEscapeString (Text.unpack bytes))))
+      guard (not (Text.any (\c -> isControl c || c == '/' || c == '\\') decoded))
+      pure (Text.unpack decoded)
+
+-- | Resolve a concept-relative reference without an optional root retry.
 resolvePathReference :: (FilePath -> Bool) -> ConceptId -> Text -> PathResolution
-resolvePathReference exists sourceConcept rawValue =
-  case classifyPathReference sourceConcept rawValue of
+resolvePathReference exists source = resolveFileReference exists BodyReference (conceptIdToFilePath source)
+
+-- | Resolve solely against the supplied bounded, case-sensitive inventory.
+-- An eligible relative field retries from the root after a local miss.
+resolveFileReference :: (FilePath -> Bool) -> ReferenceContext -> FilePath -> Text -> PathResolution
+resolveFileReference exists context source raw =
+  case classifyFileReference source raw of
     ExternalUrl scheme -> ResolvedExternal scheme
     BundlePath target
       | exists target -> ResolvedInBundle target
+      | FrontmatterReference True <- context,
+        Just alternative <- rootRelativeAlternative exists raw ->
+          ResolvedInBundle alternative
       | otherwise -> DanglingInBundle target
     EscapesBundle -> UnresolvableEscape
     MalformedPath -> UnresolvableMalformed
 
--- | The case-folded scheme of an absolute URL, or 'Nothing' for anything that
--- is not one. A bundle-absolute path such as @\/references\/policy.md@ has no
--- scheme and so is never mistaken for a URL.
-absoluteUrlScheme :: Text -> Maybe Text
-absoluteUrlScheme rawValue = do
-  parsed <- parseURI (Text.unpack rawValue)
-  let scheme = Text.toCaseFold (Text.dropWhileEnd (== ':') (Text.pack (uriScheme parsed)))
-  if Text.null scheme then Nothing else Just scheme
+-- | The target a relative reference would select from the root. Also used to
+-- offer strict-mode repair hints when a bundle has disabled the legacy retry.
+rootRelativeAlternative :: (FilePath -> Bool) -> Text -> Maybe FilePath
+rootRelativeAlternative exists raw = do
+  guard (not ("/" `Text.isPrefixOf` Text.strip raw))
+  case classifyFileReference "" raw of
+    BundlePath path | exists path -> Just path
+    _ -> Nothing
 
--- | Fold @.@ and @..@ segments, returning 'Nothing' for a path that climbs above
--- the bundle root. Exported because resolving a bundle-relative path is the same
--- operation wherever it is done, and a second copy would be free to drift.
+-- | Fold dot segments, failing on the first attempt to climb above the root.
 collapseBundlePath :: FilePath -> Maybe FilePath
-collapseBundlePath =
-  fmap FilePath.joinPath . foldM step [] . FilePath.splitDirectories
+collapseBundlePath path =
+  FilePath.joinPath . reverse <$> foldM step [] (FilePath.splitDirectories path)
   where
-    step [] "." = Just []
     step acc "." = Just acc
     step [] ".." = Nothing
-    step acc ".." = Just (init acc)
-    step acc segment = Just (acc <> [segment])
-
--- | Drop a URL fragment or query suffix, so @policy.md#section@ resolves to the
--- same target as @policy.md@.
-stripUrlSuffix :: Text -> Text
-stripUrlSuffix =
-  Text.takeWhile (\character -> character /= '#' && character /= '?')
+    step (_ : acc) ".." = Just acc
+    step acc segment = Just (segment : acc)
diff --git a/src/Okf/Profile.hs b/src/Okf/Profile.hs
--- a/src/Okf/Profile.hs
+++ b/src/Okf/Profile.hs
@@ -97,6 +97,8 @@
     ProfileViolation (..),
     validateProfile,
     validateProfileWith,
+    validateProfileWithDeclaration,
+    validateUntypedProfileRecords,
     validateProfileVersion,
 
     -- * Body inspection
@@ -141,6 +143,8 @@
 import Okf.Bundle
   ( BundleInventory,
     Concept,
+    UntypedMarkdown (..),
+    bundleInventoryContainsPath,
     bundleInventoryMember,
     bundleInventoryOfConcepts,
     conceptDocument,
@@ -148,23 +152,27 @@
     conceptResource,
     conceptType,
   )
-import Okf.ConceptId (ConceptId, conceptIdFromFilePath, renderConceptId)
+import Okf.ConceptId (ConceptId, conceptIdFromFilePath, conceptIdToFilePath, renderConceptId)
 import Okf.Document
   ( Frontmatter,
     coreFrontmatterFields,
+    fieldsIntroducedInV03,
     fieldsSupersededInV02,
     frontmatterKeys,
     frontmatterLookup,
+    optionalFieldValue,
   )
 import Okf.Index
   ( OkfVersion (..),
     VersionDeclaration (..),
+    frontmatterReferenceContext,
     parseOkfVersion,
     renderOkfVersion,
     supportedOkfVersion,
   )
-import Okf.Markdown (markdownOptions)
-import Okf.Path (PathReference (..), classifyPathReference)
+import Okf.Markdown (parseMarkdown)
+import Okf.Path (PathResolution (..), ReferenceContext (..), resolveFileReference)
+import Okf.Timestamp (parseTimestamp)
 
 -- 'List' and 'Object' are 'Cardinality' constructors here; the names aeson uses
 -- for the corresponding 'Value' constructors are reached as 'Aeson.Array' and
@@ -368,6 +376,8 @@
   | NonNegativeInteger
   | Boolean
   | FiniteDecimal
+  | OkfTimestamp
+  | OkfActor
   deriving stock (Generic, Eq, Ord, Show)
   deriving anyclass (FromDhall)
 
@@ -519,6 +529,8 @@
     NonNegativeInteger -> String "non-negative-integer"
     FiniteDecimal -> String "finite-decimal"
     Boolean -> String "boolean"
+    OkfTimestamp -> String "okf-timestamp"
+    OkfActor -> String "okf-actor"
 
 instance ToJSON TypeRule where
   toJSON
@@ -663,6 +675,83 @@
           <> (PreNestedClosureBoolean <$ Dhall.constructor "Boolean" Dhall.unit)
       )
 
+-- | Descriptor generation with nested closure and the pre-v0.3 format union.
+-- Leaf rule and constraint types are already frozen by the previous generation.
+data PreV03ProfileSpec = PreV03ProfileSpec
+  { name :: !Text,
+    description :: !(Maybe Text),
+    guidance :: !(Maybe Text),
+    okfVersion :: !Text,
+    frontmatter :: !PreV03FrontmatterRules,
+    allowUnknownTypes :: !Bool,
+    allowUnknownFields :: !Bool,
+    idField :: !(Maybe Text),
+    requireBundleVersion :: !(Maybe Text),
+    types :: ![PreV03TypeRule]
+  }
+  deriving stock (Generic, Eq, Show)
+  deriving anyclass (FromDhall)
+
+data PreV03TypeRule = PreV03TypeRule
+  { type_ :: !Text,
+    description :: !(Maybe Text),
+    guidance :: !(Maybe Text),
+    frontmatter :: !PreV03FrontmatterRules,
+    pathPattern :: !(Maybe Text),
+    resourceScheme :: !(Maybe Text),
+    requireSchemaSection :: !Bool,
+    schemaColumns :: ![Text],
+    idPrefix :: !(Maybe Text)
+  }
+  deriving stock (Generic, Eq, Show)
+
+instance FromDhall PreV03TypeRule where
+  autoWith _normalizer =
+    genericAutoWith
+      (Dhall.defaultInterpretOptions {Dhall.fieldModifier = stripTrailingUnderscore})
+    where
+      stripTrailingUnderscore fieldName =
+        fromMaybe fieldName (Text.stripSuffix "_" fieldName)
+
+data PreV03FrontmatterRules = PreV03FrontmatterRules
+  { required :: ![PreV03FieldRule],
+    recommended :: ![PreV03FieldRule],
+    optional :: ![PreV03FieldRule],
+    presenceConstraints :: ![PreNestedClosurePresenceConstraint],
+    timestampOrderConstraints :: ![PreNestedClosureTimestampOrderConstraint],
+    membershipConstraints :: ![PreNestedClosureMembershipConstraint],
+    uniqueValuesConstraints :: ![PreNestedClosureUniqueValuesConstraint]
+  }
+  deriving stock (Generic, Eq, Show)
+  deriving anyclass (FromDhall)
+
+data PreV03FieldRule = PreV03FieldRule
+  { field :: !Text,
+    description :: !(Maybe Text),
+    allowedValues :: ![Text],
+    cardinality :: !PreNestedClosureCardinality,
+    format :: !(Maybe PreNestedClosureFieldFormat),
+    elementFields :: !(Maybe PreV03NestedRules),
+    objectFields :: !(Maybe PreV03NestedRules),
+    reference :: !(Maybe PreNestedClosureHandleReferenceRule),
+    path :: !(Maybe PreNestedClosurePathReferenceRule),
+    when :: !(Maybe PreNestedClosureFieldCondition),
+    uniqueBy :: !(Maybe Text)
+  }
+  deriving stock (Generic, Eq, Show)
+  deriving anyclass (FromDhall)
+
+data PreV03NestedRules = PreV03NestedRules
+  { allowUnknownFields :: !Bool,
+    required :: ![PreNestedClosureNestedFieldRule],
+    recommended :: ![PreNestedClosureNestedFieldRule],
+    optional :: ![PreNestedClosureNestedFieldRule],
+    presenceConstraints :: ![PreNestedClosurePresenceConstraint],
+    timestampOrderConstraints :: ![PreNestedClosureTimestampOrderConstraint]
+  }
+  deriving stock (Generic, Eq, Show)
+  deriving anyclass (FromDhall)
+
 data PreNestedClosureProfileSpec = PreNestedClosureProfileSpec
   { name :: !Text,
     description :: !(Maybe Text),
@@ -1903,6 +1992,74 @@
       allowSelf = previous ^. #allowSelf
     }
 
+upgradePreV03ProfileSpec :: PreV03ProfileSpec -> ProfileSpec
+upgradePreV03ProfileSpec previous =
+  ProfileSpec
+    { name = previous ^. #name,
+      description = previous ^. #description,
+      guidance = previous ^. #guidance,
+      okfVersion = previous ^. #okfVersion,
+      frontmatter = upgradePreV03FrontmatterRules (previous ^. #frontmatter),
+      allowUnknownTypes = previous ^. #allowUnknownTypes,
+      allowUnknownFields = previous ^. #allowUnknownFields,
+      idField = previous ^. #idField,
+      requireBundleVersion = previous ^. #requireBundleVersion,
+      types = map upgradePreV03TypeRule (previous ^. #types)
+    }
+
+upgradePreV03TypeRule :: PreV03TypeRule -> TypeRule
+upgradePreV03TypeRule previous =
+  TypeRule
+    { type_ = previous ^. #type_,
+      description = previous ^. #description,
+      guidance = previous ^. #guidance,
+      frontmatter = upgradePreV03FrontmatterRules (previous ^. #frontmatter),
+      pathPattern = previous ^. #pathPattern,
+      resourceScheme = previous ^. #resourceScheme,
+      requireSchemaSection = previous ^. #requireSchemaSection,
+      schemaColumns = previous ^. #schemaColumns,
+      idPrefix = previous ^. #idPrefix
+    }
+
+upgradePreV03FrontmatterRules :: PreV03FrontmatterRules -> FrontmatterRules
+upgradePreV03FrontmatterRules previous =
+  FrontmatterRules
+    { required = map upgradePreV03FieldRule (previous ^. #required),
+      recommended = map upgradePreV03FieldRule (previous ^. #recommended),
+      optional = map upgradePreV03FieldRule (previous ^. #optional),
+      presenceConstraints = map upgradePreNestedClosurePresenceConstraint (previous ^. #presenceConstraints),
+      timestampOrderConstraints = map upgradePreNestedClosureTimestampOrderConstraint (previous ^. #timestampOrderConstraints),
+      membershipConstraints = map upgradePreNestedClosureMembershipConstraint (previous ^. #membershipConstraints),
+      uniqueValuesConstraints = map upgradePreNestedClosureUniqueValuesConstraint (previous ^. #uniqueValuesConstraints)
+    }
+
+upgradePreV03FieldRule :: PreV03FieldRule -> FieldRule
+upgradePreV03FieldRule previous =
+  FieldRule
+    { field = previous ^. #field,
+      description = previous ^. #description,
+      allowedValues = previous ^. #allowedValues,
+      cardinality = upgradePreNestedClosureCardinality (previous ^. #cardinality),
+      format = upgradePreNestedClosureFieldFormat <$> previous ^. #format,
+      elementFields = upgradePreV03NestedRules <$> previous ^. #elementFields,
+      objectFields = upgradePreV03NestedRules <$> previous ^. #objectFields,
+      reference = upgradePreNestedClosureHandleReferenceRule <$> previous ^. #reference,
+      path = upgradePreNestedClosurePathReferenceRule <$> previous ^. #path,
+      when = upgradePreNestedClosureFieldCondition <$> previous ^. #when,
+      uniqueBy = previous ^. #uniqueBy
+    }
+
+upgradePreV03NestedRules :: PreV03NestedRules -> NestedRules
+upgradePreV03NestedRules previous =
+  NestedRules
+    { allowUnknownFields = previous ^. #allowUnknownFields,
+      required = map upgradePreNestedClosureNestedFieldRule (previous ^. #required),
+      recommended = map upgradePreNestedClosureNestedFieldRule (previous ^. #recommended),
+      optional = map upgradePreNestedClosureNestedFieldRule (previous ^. #optional),
+      presenceConstraints = map upgradePreNestedClosurePresenceConstraint (previous ^. #presenceConstraints),
+      timestampOrderConstraints = map upgradePreNestedClosureTimestampOrderConstraint (previous ^. #timestampOrderConstraints)
+    }
+
 upgradePreNestedClosureProfileSpec :: PreNestedClosureProfileSpec -> ProfileSpec
 upgradePreNestedClosureProfileSpec previous =
   ProfileSpec
@@ -3085,7 +3242,8 @@
     -- picks that generation's decoder. Adding a generation is one line here.
     frozenDecoders :: [IO (Maybe ProfileSpec)]
     frozenDecoders =
-      [ attempt upgradePreNestedClosureProfileSpec,
+      [ attempt upgradePreV03ProfileSpec,
+        attempt upgradePreNestedClosureProfileSpec,
         attempt upgradePreProductDiscoveryProfile,
         attempt upgradePreGuidanceProfile,
         attempt upgradePreNestedReferenceProfile,
@@ -3133,6 +3291,7 @@
 decodeProfileExpr :: Expr Src Void -> Maybe ProfileSpec
 decodeProfileExpr rawExpression =
   Dhall.rawInput Dhall.auto expression
+    <|> fmap upgradePreV03ProfileSpec (Dhall.rawInput Dhall.auto expression)
     <|> ( if containsNestedClosureField expression
             then Nothing
             else
@@ -3277,6 +3436,7 @@
   | -- | a rule names a value format introduced after the declared version
     -- (scope, path, format, declared version, version that introduced the format)
     FormatRequiresOkfVersion (Maybe Text) FieldPath FieldFormat Text Text
+  | ReplacementFieldMustBePath (Maybe Text)
   deriving stock (Generic, Eq, Ord, Show)
 
 -- | Whether a 'PresenceClause' demands a key or merely recommends it. There is
@@ -3382,6 +3542,8 @@
   Integer -> "integer"
   NonNegativeInteger -> "non-negative-integer"
   FiniteDecimal -> "finite-decimal"
+  OkfTimestamp -> "okf-timestamp"
+  OkfActor -> "okf-actor"
   Boolean -> "boolean"
 
 -- | The presence clauses that govern whether this key must be present, in the
@@ -3625,6 +3787,9 @@
       FieldSupersededInOkfVersion scope path _declared supersededIn ->
         let (scopeRank, typeName) = scopeKey scope
          in (scopeRank, typeName, 30, renderFieldPathKey path <> ":" <> supersededIn, 0)
+      ReplacementFieldMustBePath scope ->
+        let (scopeRank, typeName) = scopeKey scope
+         in (scopeRank, typeName, 31, "superseded_by", 0)
       FormatRequiresOkfVersion scope path fieldFormat _declared introducedIn ->
         let (scopeRank, typeName) = scopeKey scope
          in (scopeRank, typeName, 31, renderFieldPathKey path <> ":" <> introducedIn, Text.length (Text.pack (show fieldFormat)))
@@ -4024,7 +4189,7 @@
           let atLeastV02 = effectiveVersion >= okfVersion02
               v02Text = renderOkfVersion okfVersion02
               -- The /effective/ version, not the raw declared string: a profile
-              -- declaring 0.9 is checked as 0.2 and its diagnostics should say so
+              -- declaring 0.9 is checked as 0.3 and its diagnostics should say so
               -- rather than repeating a number okf did not act on.
               declaredText = renderOkfVersion effectiveVersion
            in -- A key v0.2 superseded, demanded by a profile declaring v0.2 or
@@ -4049,6 +4214,25 @@
                      (scope, path, fieldFormat) <- scopedFormats,
                      fieldFormat `elem` [Actor, HumanActor]
                    ]
+                <> [ FormatRequiresOkfVersion scope path fieldFormat declaredText "0.3"
+                   | effectiveVersion < okfVersion03,
+                     (scope, path, fieldFormat) <- scopedFormats,
+                     fieldFormat `elem` [OkfTimestamp, OkfActor]
+                   ]
+                <> [ ReplacementFieldMustBePath scope
+                   | effectiveVersion >= okfVersion03,
+                     (scope, rules) <- scopedFrontmatterRules,
+                     rule <- rules ^. #required <> rules ^. #recommended <> rules ^. #optional,
+                     rule ^. #field == "superseded_by",
+                     rule ^. #cardinality `elem` [List, Object]
+                       || isJust (rule ^. #elementFields)
+                       || isJust (rule ^. #objectFields)
+                       || isJust (rule ^. #reference)
+                       || isHandleFormat (rule ^. #format)
+                   ]
+      where
+        isHandleFormat (Just (DocumentHandle _)) = True
+        isHandleFormat _ = False
 
     -- There is deliberately no mirror check, "a profile declaring v0.1 names a
     -- key v0.2 introduced", which is why 'fieldsIntroducedInV02' is unused here.
@@ -4091,6 +4275,9 @@
 okfVersion02 :: OkfVersion
 okfVersion02 = OkfVersion {okfVersionMajor = 0, okfVersionMinor = 2}
 
+okfVersion03 :: OkfVersion
+okfVersion03 = OkfVersion 0 3
+
 -- | The OKF version a profile's rules are checked against, or why okf cannot
 -- tell.
 --
@@ -4654,7 +4841,7 @@
 -- Callers holding a real directory should use 'validateProfileWith'.
 validateProfile :: ValidationProfile -> CompiledProfile -> [Concept] -> [ProfileViolation]
 validateProfile =
-  validateProfileWithPresence conceptsOnly bundleInventoryOfConcepts
+  validateProfileWithPresence (FrontmatterReference False) conceptsOnly bundleInventoryOfConcepts
   where
     -- Narrowed to @.md@ on purpose. A caller with concepts and no directory can
     -- decide a @.md@ target, because a 'Concept' /is/ a non-reserved @.md@
@@ -4680,13 +4867,36 @@
 -- IO, which is the shape @docs\/adr\/5-compile-profile-rules-before-validation.md@
 -- requires and the one the core §6.2 check already uses.
 validateProfileWith :: BundleInventory -> ValidationProfile -> CompiledProfile -> [Concept] -> [ProfileViolation]
-validateProfileWith inventory =
-  validateProfileWithPresence everyFile (const inventory)
+validateProfileWith = validateProfileAgainstInventory (FrontmatterReference False)
+
+-- | Validate house paths using the actual bundle's version and inventory.
+validateProfileWithDeclaration :: VersionDeclaration -> BundleInventory -> ValidationProfile -> CompiledProfile -> [Concept] -> [ProfileViolation]
+validateProfileWithDeclaration declaration =
+  validateProfileAgainstInventory (frontmatterReferenceContext declaration)
+
+validateProfileAgainstInventory :: ReferenceContext -> BundleInventory -> ValidationProfile -> CompiledProfile -> [Concept] -> [ProfileViolation]
+validateProfileAgainstInventory context inventory =
+  validateProfileWithPresence context everyFile (const inventory)
   where
     everyFile fullInventory resolved
-      | bundleInventoryMember resolved fullInventory = TargetPresent
+      | bundleInventoryContainsPath resolved fullInventory = TargetPresent
       | otherwise = TargetAbsent
 
+-- | Retain explicit house type requirements for untyped records identified by
+-- the descriptor's ID field. These records never enter concept membership.
+validateUntypedProfileRecords :: CompiledProfile -> [UntypedMarkdown] -> [ProfileViolation]
+validateUntypedProfileRecords compiled records =
+  [ MissingProfileField conceptId "type" (clause ^. #condition)
+  | Just idFieldName <- [compiledProfileSpec compiled ^. #idField],
+    Just rule <- [Map.lookup "type" (compiledProfileBaseRules compiled)],
+    UntypedMarkdown source document <- records,
+    let lookupField name = frontmatterLookup name (document ^. #frontmatter),
+    Just (String handle) <- [lookupField idFieldName],
+    not (Text.null (Text.strip handle)),
+    Just clause <- [applicablePresenceClause PermissiveConformance lookupField rule],
+    Right conceptId <- [conceptIdFromFilePath source]
+  ]
+
 -- | Check a bundle's specification §12 version declaration against the profile's
 -- @requireBundleVersion@ setting. Returns @[]@ when the profile requires nothing,
 -- which is the default and the case for almost every profile.
@@ -4732,13 +4942,14 @@
 -- is what stops the two entry points from drifting apart on everything /except/
 -- the one question that distinguishes them.
 validateProfileWithPresence ::
+  ReferenceContext ->
   (BundleInventory -> FilePath -> PathTargetPresence) ->
   ([Concept] -> BundleInventory) ->
   ValidationProfile ->
   CompiledProfile ->
   [Concept] ->
   [ProfileViolation]
-validateProfileWithPresence presenceRule inventoryOf validationProfile compiled concepts =
+validateProfileWithPresence referenceContext presenceRule inventoryOf validationProfile compiled concepts =
   concatMap checkConcept sortedConcepts <> checkDuplicateDocumentIds spec sortedConcepts
   where
     spec = compiledProfileSpec compiled
@@ -4768,7 +4979,7 @@
           <> validateConceptConstraints cid topLevelFieldPath (\k -> frontmatterLookup k (conceptFrontmatter concept)) (effectiveRulesForType compiled ctype) (compiledProfileConstraintsForType compiled ctype)
       where
         checkField (key, rule) =
-          case evaluateFieldValue rule (frontmatterLookup key (conceptFrontmatter concept)) of
+          case evaluateFieldValue rule (readField key rule) of
             FieldAbsent actual ->
               presenceViolations key rule
                 <> maybe [] (vocabularyViolations key rule) actual
@@ -4784,6 +4995,12 @@
                 <> objectViolations key rule actual
             FieldWrongShape actual -> [CardinalityMismatch cid (topLevelFieldPath key) (rule ^. #cardinality) actual]
 
+        readField key rule
+          | rule ^. #format `elem` [Just OkfActor, Just OkfTimestamp],
+            rule ^. #cardinality == Any =
+              optionalFieldValue key (conceptFrontmatter concept)
+          | otherwise = frontmatterLookup key (conceptFrontmatter concept)
+
         presenceViolations key rule =
           case applicablePresenceClause validationProfile (\sourceKey -> frontmatterLookup sourceKey (conceptFrontmatter concept)) rule of
             Nothing -> []
@@ -4813,7 +5030,7 @@
         pathViolations fieldPath rule actual =
           case rule ^. #path of
             Nothing -> []
-            Just policy -> validatePathValue presenceOf cid fieldPath policy actual
+            Just policy -> validatePathValue referenceContext presenceOf cid fieldPath policy actual
 
         nestedViolations parentKey parentRule = \case
           Array elementValues
@@ -4930,10 +5147,14 @@
           ]
 
     allowedFields ctype =
-      coreFrontmatterFields
+      versionedCoreFields
         <> Map.keysSet (effectiveRulesForType compiled ctype)
         <> maybe Set.empty Set.singleton (spec ^. #idField)
 
+    versionedCoreFields
+      | Right version <- effectiveProfileVersion (spec ^. #okfVersion), version >= okfVersion03 = coreFrontmatterFields
+      | otherwise = Set.difference coreFrontmatterFields fieldsIntroducedInV03
+
 -- | Index only handles that are valid owners under the compiled profile's raw
 -- type declarations: the concept has a matching type rule, that rule declares
 -- the parsed handle's exact prefix, and the profile declares the owning field.
@@ -5009,14 +5230,14 @@
 -- | Check one path-valued frontmatter value, at any scope. A list is checked
 -- element-wise so that a diagnostic names @sources[1].resource@ rather than the
 -- whole list.
-validatePathValue :: (FilePath -> PathTargetPresence) -> ConceptId -> FieldPath -> PathReferenceRule -> Value -> [ProfileViolation]
-validatePathValue presenceOf sourceConcept path policy = \case
-  String rawPath -> validatePathText presenceOf sourceConcept path policy rawPath
+validatePathValue :: ReferenceContext -> (FilePath -> PathTargetPresence) -> ConceptId -> FieldPath -> PathReferenceRule -> Value -> [ProfileViolation]
+validatePathValue context presenceOf sourceConcept path policy = \case
+  String rawPath -> validatePathText context presenceOf sourceConcept path policy rawPath
   Array values ->
     concat
       [ case value of
           String rawPath ->
-            validatePathText presenceOf sourceConcept (appendArrayIndex path elementIndex) policy rawPath
+            validatePathText context presenceOf sourceConcept (appendArrayIndex path elementIndex) policy rawPath
           _ -> [MalformedPathReference sourceConcept (appendArrayIndex path elementIndex) value]
       | (elementIndex, value) <- zip [0 ..] (Vector.toList values)
       ]
@@ -5049,34 +5270,23 @@
 -- resolves §6.3's own @references\/attesters\/revenue.py@, while
 -- 'validateProfile' holds the concepts alone and answers 'TargetUnknown' for it.
 --
--- The @.md@ branch still goes through 'conceptIdFromFilePath', because that is
--- what decides self-reference and what makes 'MalformedPathReference' reachable
--- for a path no concept ID could be built from. What it no longer decides is
--- whether the target is there.
-validatePathText :: (FilePath -> PathTargetPresence) -> ConceptId -> FieldPath -> PathReferenceRule -> Text -> [ProfileViolation]
-validatePathText presenceOf sourceConcept path policy rawPath =
-  case classifyPathReference sourceConcept rawPath of
-    ExternalUrl scheme
+-- The resolved path also decides whether the reference names its own source.
+validatePathText :: ReferenceContext -> (FilePath -> PathTargetPresence) -> ConceptId -> FieldPath -> PathReferenceRule -> Text -> [ProfileViolation]
+validatePathText context presenceOf sourceConcept path policy rawPath =
+  case resolveFileReference ((/= TargetAbsent) . presenceOf) context sourcePath rawPath of
+    ResolvedExternal scheme
       | scheme `elem` policy ^. #externalUriSchemes -> []
       | otherwise ->
           [ExternalReferenceSchemeNotAllowed sourceConcept path scheme (policy ^. #externalUriSchemes)]
-    EscapesBundle -> [PathEscapesBundle sourceConcept path rawPath]
-    MalformedPath -> [MalformedPathReference sourceConcept path (String rawPath)]
-    BundlePath resolved
-      | FilePath.takeExtension resolved == ".md" ->
-          case conceptIdFromFilePath resolved of
-            Left _ -> [MalformedPathReference sourceConcept path (String rawPath)]
-            Right target
-              | target == sourceConcept,
-                not (policy ^. #allowSelf) ->
-                  [SelfDocumentReference sourceConcept path rawPath]
-              | otherwise -> danglingWhenAbsent resolved
-      | otherwise -> danglingWhenAbsent resolved
+    UnresolvableEscape -> [PathEscapesBundle sourceConcept path rawPath]
+    UnresolvableMalformed -> [MalformedPathReference sourceConcept path (String rawPath)]
+    ResolvedInBundle resolved
+      | resolved == sourcePath && not (policy ^. #allowSelf) ->
+          [SelfDocumentReference sourceConcept path rawPath]
+      | otherwise -> []
+    DanglingInBundle _ -> [DanglingPathReference sourceConcept path rawPath]
   where
-    danglingWhenAbsent resolved = case presenceOf resolved of
-      TargetAbsent -> [DanglingPathReference sourceConcept path rawPath]
-      TargetPresent -> []
-      TargetUnknown -> []
+    sourcePath = conceptIdToFilePath sourceConcept
 
 appendArrayIndex :: FieldPath -> Int -> FieldPath
 appendArrayIndex (FieldPath pathSegments) elementIndex =
@@ -5139,16 +5349,19 @@
       case parseDocumentId value of
         Just documentId -> documentId ^. #prefix == expectedPrefix
         Nothing -> False
-    -- Specification §7 defines exactly three actor shapes, and
-    -- 'Actor.parseActor' classifies them, so the format is a case match on its
-    -- result rather than a second parser. A value the convention does not
-    -- define — the specification's own illustrative @team:ga4-docs@ among them —
-    -- is 'Actor.UnclassifiedActor' and is reported.
+    -- Keep the v0.2 actor vocabulary and its producer/version fallback for
+    -- frozen house descriptors. OkfActor opts in to open schemes.
     Actor ->
       case Actor.parseActor value of
-        Actor.UnclassifiedActor _ -> False
-        _ -> True
+        Actor.HumanActor _ -> True
+        Actor.ProcessActor _ -> True
+        Actor.ProducerActor _ _ -> True
+        _ ->
+          let (producer, slashVersion) = Text.breakOn "/" value
+           in not (Text.null producer) && Text.length slashVersion > 1
     HumanActor -> Actor.isHumanActor (Actor.parseActor value)
+    OkfActor -> Actor.isValidActor (Actor.parseActor value)
+    OkfTimestamp -> isJust (parseTimestamp value)
     -- A numeric or boolean format never matches text. A @usage_count: "5000"@
     -- is a quoted string in YAML and is reported rather than coerced, which is
     -- the whole point of being able to declare the format.
@@ -5355,7 +5568,7 @@
 -- or no following table. Columns are trimmed.
 schemaSectionColumns :: Text -> Maybe [Text]
 schemaSectionColumns markdown =
-  let CMarkGFM.Node _ _ topLevel = CMarkGFM.commonmarkToNode markdownOptions [CMarkGFM.extTable] markdown
+  let CMarkGFM.Node _ _ topLevel = parseMarkdown markdown
    in firstTableAfterSchema topLevel
 
 firstTableAfterSchema :: [CMarkGFM.Node] -> Maybe [Text]
diff --git a/src/Okf/Profile/Sweep.hs b/src/Okf/Profile/Sweep.hs
--- a/src/Okf/Profile/Sweep.hs
+++ b/src/Okf/Profile/Sweep.hs
@@ -103,9 +103,10 @@
     BundleInventory,
     Concept,
     LogFile,
+    UntypedMarkdown,
     conceptIdOf,
     conceptType,
-    walkBundle,
+    walkBundleDocuments,
     walkBundleInventory,
     walkLogs,
   )
@@ -154,7 +155,8 @@
     presenceClauseCondition,
     presenceClauseRequirement,
     validateProfileVersion,
-    validateProfileWith,
+    validateProfileWithDeclaration,
+    validateUntypedProfileRecords,
   )
 import Okf.Validation
   ( BundleValidationError,
@@ -638,7 +640,8 @@
     concepts :: ![Concept],
     inventory :: !BundleInventory,
     declaration :: !VersionDeclaration,
-    logs :: ![LogFile]
+    logs :: ![LogFile],
+    untypedRecords :: ![UntypedMarkdown]
   }
   deriving stock (Generic)
 
@@ -684,12 +687,13 @@
 
 loadSuiteBundle :: FilePath -> IO (Either SuiteError SuiteBundle)
 loadSuiteBundle bundlePath = do
-  concepts <- walkBundle bundlePath
+  documents <- walkBundleDocuments bundlePath
   inventory <- walkBundleInventory bundlePath
   declaration <- readBundleVersion bundlePath
   logs <- walkLogs bundlePath
-  pure . first (SuiteBundleError bundlePath) $
-    SuiteBundle bundlePath <$> concepts <*> inventory <*> declaration <*> logs
+  pure . first (SuiteBundleError bundlePath) $ do
+    (concepts, untyped) <- documents
+    SuiteBundle bundlePath concepts <$> inventory <*> declaration <*> logs <*> pure untyped
 
 -- | Read @expected.json@: an object mapping each case name either to the field
 -- name its diagnostic must contain, or to @{"field": …, "diagnostics": N}@.
@@ -1040,7 +1044,8 @@
 profileViolations :: ValidationProfile -> CompiledProfile -> SuiteBundle -> [ProfileViolation]
 profileViolations mode compiled bundle' =
   validateProfileVersion (bundle' ^. #declaration) compiled
-    <> validateProfileWith (bundle' ^. #inventory) mode compiled (bundle' ^. #concepts)
+    <> validateProfileWithDeclaration (bundle' ^. #declaration) (bundle' ^. #inventory) mode compiled (bundle' ^. #concepts)
+    <> validateUntypedProfileRecords compiled (bundle' ^. #untypedRecords)
 
 -- | The deviation lines @okf validate@ prints, as the catalog's harness reads
 -- them: each violation is printed behind @profile: @, and a line counts when it
diff --git a/src/Okf/Timestamp.hs b/src/Okf/Timestamp.hs
new file mode 100644
--- /dev/null
+++ b/src/Okf/Timestamp.hs
@@ -0,0 +1,64 @@
+-- | Timestamp parsing shared by verification, freshness and profile checks.
+module Okf.Timestamp (parseTimestamp) where
+
+import Control.Applicative ((<|>))
+import Control.Monad (replicateM)
+import Data.Attoparsec.Text qualified as Atto
+import Data.Char (digitToInt, isDigit)
+import Data.Fixed (Pico)
+import Data.Text (Text)
+import Data.Text qualified as Text
+import Data.Time (Day, LocalTime (..), UTCTime (..), fromGregorianValid, localTimeToUTC, makeTimeOfDayValid, minutesToTimeZone, utc)
+
+-- | Parse an RFC 3339 date-time with a mandatory offset, or a date representing
+-- midnight UTC. Compare the returned instants independently of their spelling.
+parseTimestamp :: Text -> Maybe UTCTime
+parseTimestamp = either (const Nothing) Just . Atto.parseOnly (timestamp <* Atto.endOfInput)
+  where
+    timestamp = do
+      day <- calendarDay
+      Atto.option (UTCTime day 0) (dateTime day)
+
+    dateTime day = do
+      _ <- Atto.satisfy (\c -> c == 'T' || c == 't')
+      hours <- twoDigits
+      _ <- Atto.char ':'
+      minutes <- twoDigits
+      _ <- Atto.char ':'
+      seconds <- twoDigits
+      fraction <- Atto.option 0 (Atto.char '.' *> fractionalSeconds)
+      zone <- (utc <$ Atto.satisfy (\c -> c == 'Z' || c == 'z')) <|> utcOffset
+      clock <- maybe (fail "invalid time") pure (makeTimeOfDayValid hours minutes (fromIntegral seconds + fraction))
+      pure (localTimeToUTC zone (LocalTime day clock))
+
+    utcOffset = do
+      sign <- (negate <$ Atto.char '-') <|> (id <$ Atto.char '+')
+      hours <- twoDigits
+      _ <- Atto.char ':'
+      minutes <- twoDigits
+      if hours < 24 && minutes < 60
+        then pure (minutesToTimeZone (sign (hours * 60 + minutes)))
+        else fail "invalid UTC offset"
+
+calendarDay :: Atto.Parser Day
+calendarDay = do
+  year <- fixedDigits 4
+  _ <- Atto.char '-'
+  month <- twoDigits
+  _ <- Atto.char '-'
+  day <- twoDigits
+  maybe (fail "invalid date") pure (fromGregorianValid (fromIntegral year) month day)
+
+twoDigits :: Atto.Parser Int
+twoDigits = fixedDigits 2
+
+fixedDigits :: Int -> Atto.Parser Int
+fixedDigits width = foldl' addDigit 0 <$> replicateM width (Atto.satisfy isDigit)
+  where
+    addDigit n digit = n * 10 + digitToInt digit
+
+fractionalSeconds :: Atto.Parser Pico
+fractionalSeconds = do
+  digits <- Text.take 12 <$> Atto.takeWhile1 isDigit
+  let numerator = Text.foldl' (\n digit -> n * 10 + fromIntegral (digitToInt digit)) (0 :: Integer) digits
+  pure (fromRational (toRational numerator / 10 ^ Text.length digits))
diff --git a/src/Okf/Trust.hs b/src/Okf/Trust.hs
--- a/src/Okf/Trust.hs
+++ b/src/Okf/Trust.hs
@@ -1,120 +1,116 @@
--- | Trust and freshness derivations for OKF v0.2 concepts.
---
--- Everything here is __derived on read and never stored__. Specification §5.3
--- says "Consumers /derive/ a trust tier", and §5.1 says credibility "is
--- /inferred/ from the signals, the same way trust tiers are (§5.3), not
--- stored". Accordingly this module exports plain functions over frontmatter
--- values rather than fields on 'Okf.Bundle.Concept': a stored derivation can go
--- stale relative to the frontmatter it summarises, which the projection
--- contract on @Okf.Bundle.conceptAt@ already forbids. See
--- @docs\/adr\/8-derived-not-stored-trust-and-credibility.md@.
---
--- This module also never reads the clock. 'staleness' takes the current day as
--- an argument so it stays pure and testable against a fixed date, and so that
--- two calls in one run cannot disagree about what "today" is. The command-line
--- tool reads the clock once and passes the day down.
+-- | Trust and freshness derived from frontmatter and caller-supplied time.
 module Okf.Trust
   ( TrustTier (..),
     trustTier,
     renderTrustTier,
+    VerificationSummary (..),
+    summarizeVerification,
     latestVerification,
     Staleness (..),
     staleness,
+    stalenessAt,
     renderStaleness,
   )
 where
 
+import Data.List qualified as List
+import Data.Ord (comparing)
 import Data.Text qualified as Text
-import Data.Time (Day, defaultTimeLocale, parseTimeM)
-import Okf.Actor (isHumanActor)
-import Okf.Document (Verification (..))
+import Data.Time (Day, UTCTime (..), defaultTimeLocale, formatTime)
+import Okf.Actor (isHumanActor, isValidActor)
+import Okf.Document (Generated (..), Verification (..))
 import Okf.Prelude
+import Okf.Timestamp (parseTimestamp)
 
--- | A concept's trust tier, lowest to highest, per specification §5.3.
---
--- Tiers are advisory signals, not access control: §5.3 states that "A concept
--- with no trust frontmatter is still consumable; consumers MUST NOT reject it".
--- The 'Ord' instance orders them lowest to highest so callers can compare.
 data TrustTier
-  = -- | No usable @verified@ entry.
-    Unverified
-  | -- | Verified by non-@human:@ actors only.
-    MachineConfirmed
-  | -- | Verified by at least one @human:\<id\>@ actor.
-    HumanReviewed
+  = Unverified
+  | MachineConfirmed
+  | HumanReviewed
   deriving stock (Generic, Eq, Ord, Show)
 
--- | Derive a trust tier from a concept's @verified@ entries, per §5.3.
---
--- The @human:@ test comes from 'Okf.Actor.isHumanActor' rather than being
--- re-derived here: §5.3 makes that single test the sole discriminator between
--- the two verified tiers, and two copies of it would eventually disagree.
+-- | Classify a list of current events. Use 'summarizeVerification' to find
+-- which events cover a particular generation before deriving its tier.
 trustTier :: [Verification] -> TrustTier
-trustTier verifications
-  | null verifications = Unverified
-  | any (isHumanActor . verificationBy) verifications = HumanReviewed
-  | otherwise = MachineConfirmed
+trustTier verifications = case usableEvents verifications of
+  [] -> Unverified
+  events
+    | any (isHumanActor . verificationBy . snd) events -> HumanReviewed
+    | otherwise -> MachineConfirmed
 
--- | Render a tier in the specification's own words, so CLI output and
--- documentation match §5.3 for a reader with the specification open.
 renderTrustTier :: TrustTier -> Text
 renderTrustTier = \case
   Unverified -> "unverified"
   MachineConfirmed -> "machine-confirmed"
   HumanReviewed -> "human-reviewed"
 
--- | The most recent verification time, implementing §5.2's "'How recently' is
--- the latest @at@". Entries without an @at@ are skipped.
---
--- Compares the raw strings. ISO 8601 datetimes in a fixed-width UTC form sort
--- lexicographically in chronological order, the same shortcut
--- @Okf.Validation@ already takes for log dates. This breaks if a producer
--- writes a non-UTC offset such as @2026-06-25T09:00:00+01:00@, which sorts by
--- its local wall-clock reading rather than its instant. Profiles can require
--- the UTC form with the existing @Rfc3339Utc@ field format.
+data VerificationSummary = VerificationSummary
+  { currentVerifications :: ![Verification],
+    earlierVerifications :: ![Verification],
+    comparisonTimeUnknown :: !Bool
+  }
+  deriving stock (Generic, Eq, Show)
+
+-- | Compare real instants. A missing or ignored generation has no lower bound.
+-- A recognized generator with an unknown change time cannot establish that an
+-- event covers the current text.
+summarizeVerification :: Maybe Generated -> [Verification] -> VerificationSummary
+summarizeVerification generation verifications =
+  case generation of
+    Just Generated {generatedBy, generatedAt} | isValidActor generatedBy ->
+      case generatedAt >>= parseTimestamp of
+        Nothing -> VerificationSummary [] [] (not (null events))
+        Just changed ->
+          let (current, earlier) = List.partition ((>= changed) . fst) events
+           in VerificationSummary (map snd current) (map snd earlier) False
+    _ -> VerificationSummary (map snd events) [] False
+  where
+    events = usableEvents verifications
+
+usableEvents :: [Verification] -> [(UTCTime, Verification)]
+usableEvents events =
+  [ (instant, verification)
+  | verification@Verification {verificationBy, verificationAt} <- events,
+    isValidActor verificationBy,
+    Just instant <- [verificationAt >>= parseTimestamp]
+  ]
+
+-- | Return the original timestamp of the newest usable event.
 latestVerification :: [Verification] -> Maybe Text
 latestVerification verifications =
-  case [occurredAt | Verification {verificationAt = Just occurredAt} <- verifications] of
+  case usableEvents verifications of
     [] -> Nothing
-    times -> Just (maximum times)
+    events -> verificationAt (snd (List.maximumBy (comparing fst) events))
 
--- | Whether a concept has passed its @stale_after@ date (specification §5.5).
 data Staleness
-  = -- | @stale_after@ is present and today is before it.
-    Fresh
-  | -- | Today is on or after @stale_after@, which is carried here.
-    Stale !Day
-  | -- | @stale_after@ is present but is not a @YYYY-MM-DD@ date. The original
-    -- text is preserved so a caller can report it.
-    StaleAfterUnparseable !Text
-  | -- | No @stale_after@ key, so freshness is unknown rather than assured.
-    NoStaleAfter
+  = Fresh
+  | Stale !Day
+  | StaleAt !UTCTime
+  | StaleAfterUnparseable !Text
+  | NoStaleAfter
   deriving stock (Generic, Eq, Show)
 
--- | Decide staleness against a caller-supplied day.
---
--- Implements §5.5 literally: "A concept is stale when @today >= stale_after@".
--- The comparison is inclusive, so a concept whose @stale_after@ is exactly
--- today is stale.
---
--- A value that does not parse yields 'StaleAfterUnparseable' rather than being
--- treated as fresh. Silently ignoring a malformed freshness deadline is the
--- worst available behaviour: it reports a concept as trustworthy on the
--- strength of a field nobody could read.
+-- | Compatibility entry point using midnight UTC for the supplied day.
 staleness :: Day -> Maybe Text -> Staleness
-staleness today = \case
+staleness today = stalenessAt (UTCTime today 0)
+
+-- | A deadline is inclusive. Text that cannot represent an instant remains
+-- visible so it cannot be mistaken for a fresh status.
+stalenessAt :: UTCTime -> Maybe Text -> Staleness
+stalenessAt now = \case
   Nothing -> NoStaleAfter
+  Just "" -> NoStaleAfter
   Just raw ->
-    case parseTimeM True defaultTimeLocale "%Y-%m-%d" (Text.unpack raw) of
+    case parseTimestamp raw of
       Nothing -> StaleAfterUnparseable raw
       Just deadline
-        | today >= deadline -> Stale deadline
-        | otherwise -> Fresh
+        | now < deadline -> Fresh
+        | Text.length raw == 10 -> Stale (utctDay deadline)
+        | otherwise -> StaleAt deadline
 
--- | Render staleness as a short phrase for command-line output.
 renderStaleness :: Staleness -> Text
 renderStaleness = \case
   Fresh -> "ok"
-  NoStaleAfter -> "ok"
+  NoStaleAfter -> "no review deadline"
   Stale deadline -> "stale since " <> Text.pack (show deadline)
+  StaleAt deadline -> "stale since " <> Text.pack (formatTime defaultTimeLocale "%Y-%m-%dT%H:%M:%S%QZ" deadline)
   StaleAfterUnparseable raw -> "unparseable stale_after " <> raw
diff --git a/src/Okf/Validation.hs b/src/Okf/Validation.hs
--- a/src/Okf/Validation.hs
+++ b/src/Okf/Validation.hs
@@ -3,6 +3,7 @@
   ( ValidationError (..),
     ValidationProfile (..),
     validateDocument,
+    optionalFamilyProblems,
     BundleValidationError (..),
     VersionGate (..),
     versionGate,
@@ -20,35 +21,34 @@
 import Data.Aeson.KeyMap qualified as KeyMap
 import Data.List qualified as List
 import Data.Text qualified as Text
-import Data.Vector qualified as Vector
+import Data.Time.Clock (utctDay)
 import Okf.Bundle
   ( BundleInventory,
     Concept,
     LogFile,
-    bundleInventoryMember,
-    conceptAttester,
-    conceptComputation,
+    bundleInventoryContainsPath,
     conceptDocument,
-    conceptExecutor,
     conceptIdOf,
-    conceptResource,
+    conceptPathFields,
     conceptSourcePath,
     logContent,
     logSourcePath,
   )
-import Okf.ConceptId (ConceptId)
+import Okf.ConceptId (ConceptId, conceptIdFromFilePath)
 import Okf.Document
-import Okf.Graph (danglingReferences, duplicateConceptIds)
+import Okf.Graph (danglingBodyPaths, duplicateConceptIds)
 import Okf.Index
   ( OkfVersion (..),
     VersionDeclaration (..),
+    frontmatterReferenceContext,
     renderOkfVersion,
     supportedOkfVersion,
   )
 import Okf.Log (Log (logDays), LogDay (logDate), LogValidationError, validateLog)
 import Okf.Markdown (extractFootnoteLabels, footnoteLabelsUsed)
-import Okf.Path (PathResolution (..), resolvePathReference)
+import Okf.Path (PathResolution (..), resolveFileReference, rootRelativeAlternative)
 import Okf.Prelude
+import Okf.Timestamp (parseTimestamp)
 import System.FilePath qualified as FilePath
 
 -- | Validation modes supported by the initial OKF core library.
@@ -63,6 +63,8 @@
   | FieldMustBeNonEmptyText Text
   | MissingRecommendedField Text
   | FieldMustBeListOfText Text
+  | FamilyEntryMissing Text Int [Text]
+  | MalformedTimestamp Text Value
   | -- | Neither the OKF v0.2 @generated@ family (§5.2) nor the legacy v0.1
     -- @timestamp@ it supersedes (§13.1) records when the content last changed.
     MissingGeneratedField
@@ -105,6 +107,7 @@
     -- @docs\/adr\/7-okf-v0-1-legacy-fallback-policy.md@ places every other
     -- optional-family presence check.
     AttestedComputationMissingRuntime
+  | AttestedComputationInvalidPath Value
   | -- | A concept declaring @type: Attested Computation@ offers no computation
     -- at all: no @computation@ path and no code block under @# Computation@.
     -- Specification §10.3 says the computation is provided in one of two ways,
@@ -138,6 +141,7 @@
     DocumentInvalid ConceptId ValidationError
   | -- | A source concept links to a target that is not present in the bundle.
     DanglingReference ConceptId ConceptId
+  | DanglingBodyPath ConceptId FilePath
   | -- | A path-valued frontmatter field (specification §6.2) names a bundle path
     -- that no file in the bundle matches. Carries the concept, the frontmatter
     -- field path as written (@resource@, or @executor.resource@), the resolved
@@ -275,7 +279,7 @@
     gate = versionGate declaration
     frontmatterPaths = case profile of
       PermissiveConformance -> []
-      StrictAuthoring -> danglingFrontmatterPaths inventory concepts
+      StrictAuthoring -> danglingFrontmatterPaths declaration inventory concepts
     perDocument =
       [ DocumentInvalid (conceptIdOf concept) err
       | concept <- concepts,
@@ -283,7 +287,14 @@
           validateDocument profile (conceptDocument concept)
             <> legacyFieldsUnderDeclaredVersion profile gate (conceptDocument concept)
       ]
-    dangling = uncurry DanglingReference <$> danglingReferences concepts
+    dangling = case profile of
+      PermissiveConformance -> []
+      StrictAuthoring -> map missingLink (danglingBodyPaths inventory concepts)
+    missingLink (source, path)
+      | FilePath.takeExtension path == ".md",
+        Right target <- conceptIdFromFilePath path =
+          DanglingReference source target
+      | otherwise = DanglingBodyPath source path
     duplicates = DuplicateConceptId <$> duplicateConceptIds concepts
     versionErrors = case profile of
       PermissiveConformance -> []
@@ -291,101 +302,18 @@
         [BundleVersionUnparseable rawVersion | VersionUnparseable rawVersion <- [declaration]]
           <> [BundleVersionNotUnderstood version | Just version <- [gateNotUnderstood gate]]
 
--- | Strict-mode check that a path-valued frontmatter field names a file the
--- bundle actually holds (specification §6.2).
---
--- Strict-mode only, and deliberately not gated on the bundle declaring
--- @okf_version: "0.2"@. Every other version-sensitive check asks
--- 'gateDeclaresAtLeast' rather than testing the declaration, and this one is the
--- exception worth naming: neither @resource@ nor the §6.2 path grammar is a v0.2
--- addition, so a dangling @resource@ is just as wrong in an undeclared bundle,
--- which is the shape of almost every bundle in existence.
---
--- Only 'DanglingInBundle' is reported. The three other unresolved outcomes are
--- passed over on purpose, and it is not an oversight:
---
--- * 'UnresolvableEscape' and 'UnresolvableMalformed' would fire on correct
---   documents. §4.1 defines @resource@ as "a URI that uniquely identifies the
---   underlying asset", and a producer writing a bare @analytics.tables.orders@
---   is writing a legitimate §4.1 value that carries no scheme and so classifies
---   as a bundle path. Only the dangling case is safe to report, because it means
---   the value looks exactly like a bundle path and there is simply no such file.
---
--- * 'ResolvedExternal' is resolved: okf has no network access and never fetches.
-danglingFrontmatterPaths :: BundleInventory -> [Concept] -> [BundleValidationError]
-danglingFrontmatterPaths inventory concepts =
-  [ DanglingFrontmatterPath
-      (conceptIdOf concept)
-      fieldName
-      target
-      (bundleRelativeAlternative existsInBundle (conceptIdOf concept) rawValue target)
+-- | Lint unresolved paths in strict authoring. Source resources can also
+-- describe a scope, so their unresolved form is accepted.
+danglingFrontmatterPaths :: VersionDeclaration -> BundleInventory -> [Concept] -> [BundleValidationError]
+danglingFrontmatterPaths declaration inventory concepts =
+  [ DanglingFrontmatterPath (conceptIdOf concept) fieldName target (rootRelativeAlternative exists rawValue)
   | concept <- concepts,
-    (fieldName, rawValue) <- pathValuedFields concept,
-    DanglingInBundle target <-
-      [resolvePathReference existsInBundle (conceptIdOf concept) rawValue]
+    (fieldName, rawValue) <- conceptPathFields concept,
+    fieldName /= "sources[].resource",
+    DanglingInBundle target <- [resolveFileReference exists (frontmatterReferenceContext declaration) (conceptSourcePath concept) rawValue]
   ]
   where
-    existsInBundle = flip bundleInventoryMember inventory
-
--- | For a relative value that resolved to nothing, the bundle-relative target
--- the same text /would/ have named had it been written with a leading @\/@ —
--- when that target is a file the bundle actually holds.
---
--- Specification §10.2's worked example writes
--- @executor.resource: references\/skills\/run-on-bq.md@ and §10.4 puts
--- computations under @computations\/@, so a bundle assembled from the
--- specification's own text names @computations\/references\/skills\/run-on-bq.md@
--- and is told about a path nobody wrote. §6.2 defines exactly three forms and
--- resolution is unchanged; this only lets the diagnostic name the spelling that
--- works.
---
--- Silent in three cases, each on purpose. A value already written with a leading
--- @\/@ was read from the bundle root already, so there is no alternative reading
--- to offer. A concept at the bundle root resolves both readings to the same path,
--- so the hint would suggest exactly what was just rejected. And a root-anchored
--- reading that also names nothing is no more use to the author than the original.
-bundleRelativeAlternative :: (FilePath -> Bool) -> ConceptId -> Text -> FilePath -> Maybe FilePath
-bundleRelativeAlternative exists sourceConcept rawValue target
-  | "/" `Text.isPrefixOf` Text.strip rawValue = Nothing
-  | otherwise = case resolvePathReference exists sourceConcept ("/" <> Text.strip rawValue) of
-      ResolvedInBundle alternative | alternative /= target -> Just alternative
-      _ -> Nothing
-
--- | The path-valued frontmatter fields okf resolves without being asked, paired
--- with the field name a diagnostic names so the author knows which line to fix.
---
--- Specification §6.2 names five path-valued fields. Two of them are absent here
--- for different reasons, and both are decisions rather than gaps.
---
--- @sources[].resource@ is excluded because §5.1 sanctions a value that is not a
--- path: an entry's resource names "either a concrete artifact a consumer can
--- follow ... or a population or scope descriptor it cannot", and
--- 'Okf.Document.sourceResource' says in as many words never to treat it as one.
--- @examples\/ddd-ordering@ carries such a descriptor today, and a check
--- reporting every unresolvable bundle path would report that correct bundle as
--- broken. A team whose corpus does use followable paths there opts in by writing
--- a profile: @path@ on a @NestedFieldRule@ reaches @sources.resource@ already.
---
--- @computation@, @executor.resource@, and @attester.resource@ are here, and
--- unlike @sources[].resource@ nothing in §10 sanctions a non-path value for
--- them: §10.2 defines @computation@ as "a path (§6.2) to a file holding the
--- computation" and both @resource@ members as naming code or run instructions "a
--- runner ... follows", which a scope descriptor is not. Their whole purpose is
--- to be followed, and §6.3 puts the files they name inside the bundle under
--- @references\/@, so a value naming nothing is exactly the authoring mistake
--- this check exists to catch. A target that is not Markdown — §6.3's own
--- @references\/attesters\/revenue.py@ — resolves like any other, because the
--- 'BundleInventory' records every file rather than only the concepts.
---
--- The nested field names are written with a dot, as @executor.resource@, so the
--- diagnostic names the line an author must fix rather than the mapping holding
--- it.
-pathValuedFields :: Concept -> [(Text, Text)]
-pathValuedFields concept =
-  [("resource", value) | Just value <- [conceptResource concept]]
-    <> [("computation", value) | Just value <- [conceptComputation concept]]
-    <> [("executor.resource", value) | Just executor <- [conceptExecutor concept], Just value <- [executorResource executor]]
-    <> [("attester.resource", value) | Just attester <- [conceptAttester concept], Just value <- [attesterResource attester]]
+    exists = flip bundleInventoryContainsPath inventory
 
 -- | Strict-mode check that a bundle which has declared OKF v0.2 carries no
 -- superseded v0.1 construct.
@@ -434,11 +362,11 @@
 validateDocument :: ValidationProfile -> OKFDocument -> [ValidationError]
 validateDocument profile document =
   requireNonEmptyText MissingRequiredField "type" document
-    <> optionalListOfText "tags" document
     <> case profile of
       PermissiveConformance -> []
       StrictAuthoring ->
         foldMap (requireNonEmptyText MissingRecommendedField `flip` document) ["title", "description"]
+          <> optionalListOfText "tags" document
           <> requireGenerated document
           <> checkSources document
           <> checkFootnoteAttribution document
@@ -489,12 +417,17 @@
 requireOneComputation :: OKFDocument -> [ValidationError]
 requireOneComputation document@OKFDocument {frontmatter}
   | frontmatterLookup "type" frontmatter /= Just (String attestedComputationType) = []
+  | Just raw <- optionalFieldValue "computation" frontmatter,
+    not (isTextValue raw) =
+      [AttestedComputationInvalidPath raw]
   | not (null files) && not (null inlines) = [AttestedComputationHasBothComputations]
   | length inlines > 1 = [AttestedComputationHasManyBlocks (length inlines)]
   | null files && null inlines = [AttestedComputationHasNoComputation]
   | otherwise = []
   where
     (files, inlines) = List.partition isFile (readComputationSources document)
+    isTextValue (String _) = True
+    isTextValue _ = False
     isFile = \case
       ComputationFile _ -> True
       ComputationInline _ -> False
@@ -515,33 +448,71 @@
 -- such as @all queries in BigQuery project X@.
 checkSources :: OKFDocument -> [ValidationError]
 checkSources OKFDocument {frontmatter} =
-  case frontmatterLookup "sources" frontmatter of
-    Just (Array entries) -> missingResource entries <> duplicateIds entries
-    _ -> []
+  [ SourceMissingResource entryIndex
+  | (entryIndex, Object entry) <- zip [0 ..] (listFieldValues "sources" frontmatter),
+    isNothing (nonEmptyEntryText "resource" entry)
+  ]
+    <> map DuplicateSourceId duplicateIds
   where
-    missingResource entries =
-      [ SourceMissingResource entryIndex
-      | (entryIndex, Object entryFields) <- zip [0 ..] (Vector.toList entries),
-        isNothing (entryTextField "resource" entryFields)
-      ]
-    -- Scoped to one document. §5.1 does not require ids to be unique across a
-    -- bundle, only that a label unambiguously names one entry where it is used.
-    duplicateIds entries =
-      DuplicateSourceId
-        <$> appearingMoreThanOnce
-          [ entryId
-          | Object entryFields <- Vector.toList entries,
-            Just entryId <- [entryTextField "id" entryFields]
-          ]
-    entryTextField key entryFields =
-      case KeyMap.lookup (AesonKey.fromText key) entryFields of
-        Just (String value) | not (Text.null (Text.strip value)) -> Just value
-        _ -> Nothing
-    appearingMoreThanOnce values =
-      List.nub [value | (value, count) <- countOccurrences values, count > (1 :: Int)]
-    countOccurrences values =
-      [(value, length (filter (== value) values)) | value <- List.nub values]
+    ids = [entryId | Object entry <- listFieldValues "sources" frontmatter, Just entryId <- [nonEmptyEntryText "id" entry]]
+    duplicateIds = [entryId | entryId <- List.nub ids, length (filter (== entryId) ids) > 1]
 
+-- | Report ignored optional family members without making a bundle
+-- nonconformant.
+optionalFamilyProblems :: OKFDocument -> [ValidationError]
+optionalFamilyProblems document@OKFDocument {frontmatter} =
+  optionalListOfText "tags" document
+    <> [GeneratedMustHaveActor | isJust (optionalFieldValue "generated" frontmatter), isNothing (readGenerated frontmatter)]
+    <> requiredMembers "verified" ["by", "at"] document
+    <> requiredMembers "parameters" ["name", "type"] document
+    <> requiredMembers "sources" ["resource"] document
+    <> timestampProblems frontmatter
+
+timestampProblems :: Frontmatter -> [ValidationError]
+timestampProblems fm =
+  check "stale_after" (optionalFieldValue "stale_after" fm)
+    <> checkMember "generated" "at" (optionalFieldValue "generated" fm)
+    <> checkWindow "usage_window" (optionalFieldValue "usage_window" fm)
+    <> checkItems "verified" (\path -> checkMember path "at")
+    <> checkItems
+      "sources"
+      ( \path entry ->
+          checkMember path "last_modified" entry
+            <> checkWindow (path <> ".usage_window") (member "usage_window" entry)
+      )
+  where
+    check name = \case
+      Just raw@(String value)
+        | isNothing (parseTimestamp value) -> [MalformedTimestamp name raw]
+      Just (String _) -> []
+      Just raw -> [MalformedTimestamp name raw]
+      Nothing -> []
+    checkItems key validate =
+      concat
+        [ validate (key <> "[" <> Text.pack (show entryIndex) <> "]") (Just entry)
+        | (entryIndex, entry) <- zip [0 :: Int ..] (listFieldValues key fm)
+        ]
+    checkMember path key entry = check (path <> "." <> key) (member key entry)
+    checkWindow path window = checkMember path "from" window <> checkMember path "to" window
+    member key (Just (Object members)) = optionalFieldValue key (Frontmatter members)
+    member _ _ = Nothing
+
+requiredMembers :: Text -> [Text] -> OKFDocument -> [ValidationError]
+requiredMembers family required OKFDocument {frontmatter} =
+  [ FamilyEntryMissing family entryIndex missing
+  | (entryIndex, entry) <- zip [0 ..] (listFieldValues family frontmatter),
+    let missing = case entry of
+          Object members -> filter (isNothing . flip nonEmptyEntryText members) required
+          _ -> required,
+    not (null missing)
+  ]
+
+nonEmptyEntryText :: Text -> KeyMap.KeyMap Value -> Maybe Text
+nonEmptyEntryText key members =
+  case KeyMap.lookup (AesonKey.fromText key) members of
+    Just (String value) | not (Text.null (Text.strip value)) -> Just value
+    _ -> Nothing
+
 -- | Strict-mode checks joining the body's footnote labels to @sources@ entry
 -- ids (specification §5.1's per-claim attribution).
 --
@@ -576,10 +547,10 @@
 -- reject a bundle over optional frontmatter.
 checkFootnoteAttribution :: OKFDocument -> [ValidationError]
 checkFootnoteAttribution OKFDocument {frontmatter, body} =
-  case frontmatterLookup "sources" frontmatter of
+  case optionalFieldValue "sources" frontmatter of
     Nothing -> []
-    Just sourcesValue ->
-      let entryIds = sourceIdsOf sourcesValue
+    Just _ ->
+      let entryIds = sourceIds
           labels = footnoteLabelsUsed (extractFootnoteLabels body)
        in [FootnoteLabelNotInSources label | label <- labels, label `notElem` entryIds]
             <> [ SourceIdNotCited entryId
@@ -592,16 +563,12 @@
     -- reason 'checkSources' does: 'readSources' drops entries with no
     -- @resource@, and an id the author wrote should still join even when the
     -- entry holding it is separately malformed.
-    sourceIdsOf = \case
-      Array entries ->
-        List.nub
-          [ entryId
-          | Object entryFields <- Vector.toList entries,
-            Just (String rawId) <- [KeyMap.lookup (AesonKey.fromText "id") entryFields],
-            let entryId = Text.strip rawId,
-            not (Text.null entryId)
-          ]
-      _ -> []
+    sourceIds =
+      List.nub
+        [ Text.strip rawId
+        | Object entry <- listFieldValues "sources" frontmatter,
+          Just rawId <- [nonEmptyEntryText "id" entry]
+        ]
 
 -- | Strict-mode check for the OKF v0.2 @generated@ family (specification §5.2).
 --
@@ -615,7 +582,7 @@
 -- bundle for a missing optional frontmatter field, and @generated@ is optional.
 requireGenerated :: OKFDocument -> [ValidationError]
 requireGenerated document@OKFDocument {frontmatter} =
-  case frontmatterLookup "generated" frontmatter of
+  case optionalFieldValue "generated" frontmatter of
     Nothing
       | hasLegacyTimestamp -> []
       | otherwise -> [MissingGeneratedField]
@@ -637,34 +604,23 @@
 
 optionalListOfText :: Text -> OKFDocument -> [ValidationError]
 optionalListOfText key OKFDocument {frontmatter} =
-  case frontmatterLookup key frontmatter of
-    Nothing -> []
-    Just (Array values)
-      | Vector.all isString values -> []
-      | otherwise -> [FieldMustBeListOfText key]
-    Just _ -> [FieldMustBeListOfText key]
+  [FieldMustBeListOfText key | any (not . isString) (listFieldValues key frontmatter)]
   where
     isString (String _) = True
     isString _ = False
 
--- | The @YYYY-MM-DD@ date a concept's content last changed, read from the OKF
--- v0.2 @generated.at@ (specification §5.2) in preference to the legacy v0.1
--- @timestamp@ it supersedes (§13.1). When both are present @generated.at@ wins.
---
--- An ISO 8601 datetime carries the date in its first ten characters, so
--- anything shorter is not a usable date and yields 'Nothing'.
+-- | UTC calendar day used for the log advisory. A legacy timestamp may
+-- still date a log entry independently of current verification.
 conceptGeneratedDate :: Concept -> Maybe Text
 conceptGeneratedDate concept =
-  datePrefix (generatedAt =<< readGenerated conceptFrontmatter)
-    <|> datePrefix (legacyTimestamp conceptFrontmatter)
+  Text.pack . show . utctDay
+    <$> ( (readGenerated fm >>= generatedAt >>= parseTimestamp)
+            <|> (legacyTimestamp >>= parseTimestamp)
+        )
   where
-    conceptFrontmatter = frontmatter (conceptDocument concept)
-    legacyTimestamp frontmatterValue =
-      case frontmatterLookup "timestamp" frontmatterValue of
-        Just (String timestamp) -> Just timestamp
-        _ -> Nothing
-    datePrefix = \case
-      Just value | Text.length value >= 10 -> Just (Text.take 10 value)
+    fm = frontmatter (conceptDocument concept)
+    legacyTimestamp = case frontmatterLookup "timestamp" fm of
+      Just (String value) -> Just value
       _ -> Nothing
 
 staleIfNeeded :: Concept -> Text -> Maybe LogFile -> Maybe LogStaleness
diff --git a/src/Okf/Yaml.hs b/src/Okf/Yaml.hs
new file mode 100644
--- /dev/null
+++ b/src/Okf/Yaml.hs
@@ -0,0 +1,260 @@
+-- | YAML 1.2 core values and source positions for frontmatter edits.
+module Okf.Yaml
+  ( Located (..),
+    Children (..),
+    parseYaml,
+    renderYaml,
+    patchYaml,
+  )
+where
+
+import Conduit (runConduitRes, sinkList, yieldMany, (.|))
+import Control.Exception (try)
+import Data.Aeson qualified as Aeson
+import Data.Aeson.Key qualified as Key
+import Data.Aeson.KeyMap qualified as KeyMap
+import Data.Attoparsec.Text qualified as Atto
+import Data.ByteString.Lazy qualified as Lazy
+import Data.ByteString.Unsafe qualified as Bytes.Unsafe
+import Data.Char (isDigit)
+import Data.List qualified as List
+import Data.Map.Strict qualified as Map
+import Data.Scientific qualified as Scientific
+import Data.Text qualified as Text
+import Data.Text.Encoding qualified as Encoding
+import Data.Vector qualified as Vector
+import Data.Yaml qualified as Yaml
+import Okf.Prelude (Text, Value (..), first, fromMaybe, isJust, when, (<|>))
+import System.IO.Unsafe (unsafePerformIO)
+import Text.Libyaml qualified as Lib
+
+data Located = Located
+  { yamlValue :: !Value,
+    yamlStart :: !Int,
+    yamlEnd :: !Int,
+    yamlChildren :: !Children
+  }
+  deriving stock (Show)
+
+data Children
+  = Leaf
+  | Items [Located]
+  | Members Lib.MappingStyle (KeyMap.KeyMap Located)
+  deriving stock (Show)
+
+-- Libyaml recognizes YAML syntax. Its events leave implicit tag resolution to
+-- the caller, so this layer can apply core semantics and retain source marks.
+parseYaml :: Text -> Either Text (Maybe Located)
+parseYaml input = do
+  events <- first (Text.pack . show) (decodeEvents input)
+  case events of
+    [] -> pure Nothing
+    [Lib.MarkedEvent Lib.EventStreamStart _ _, Lib.MarkedEvent Lib.EventStreamEnd _ _] -> pure Nothing
+    Lib.MarkedEvent Lib.EventStreamStart _ _ : Lib.MarkedEvent Lib.EventDocumentStart _ _ : rest -> do
+      (root, _, suffix) <- readNode Map.empty rest
+      case map Lib.yamlEvent suffix of
+        [Lib.EventDocumentEnd, Lib.EventStreamEnd] -> pure (Just root)
+        _ -> Left "expected a single YAML document"
+    _ -> Left "expected a YAML document"
+
+{-# NOINLINE decodeEvents #-}
+decodeEvents :: Text -> Either Lib.YamlException [Lib.MarkedEvent]
+decodeEvents input = unsafePerformIO (try (runConduitRes (Lib.decodeMarked (Encoding.encodeUtf8 input) .| sinkList)))
+
+type Anchors = Map.Map Lib.AnchorName Value
+
+readNode :: Anchors -> [Lib.MarkedEvent] -> Either Text (Located, Anchors, [Lib.MarkedEvent])
+readNode anchors (event : rest) =
+  case Lib.yamlEvent event of
+    Lib.EventScalar bytes tag style anchor -> do
+      value <- scalarValue tag style (Encoding.decodeUtf8 bytes)
+      finish event value Leaf anchor anchors rest
+    Lib.EventAlias name ->
+      case Map.lookup name anchors of
+        Nothing -> Left ("unknown or cyclic YAML alias: " <> Text.pack name)
+        Just value -> finish event value Leaf Nothing anchors rest
+    Lib.EventSequenceStart tag style anchor
+      | tag `elem` [Lib.NoTag, Lib.SeqTag, Lib.UriTag "!"] -> do
+          (items, updated, end, suffix) <- readItems anchors rest
+          let value = Array (Vector.fromList (map yamlValue items))
+          let end' = case style of
+                Lib.BlockSequence -> contentEnd end items
+                _ -> end
+          finish end' value (Items items) anchor updated suffix
+    Lib.EventMappingStart tag style anchor
+      | tag `elem` [Lib.NoTag, Lib.MapTag, Lib.UriTag "!"] -> do
+          (members, updated, end, suffix) <- readMembers KeyMap.empty anchors rest
+          let value = Object (KeyMap.map yamlValue members)
+          let end' = case style of
+                Lib.BlockMapping -> contentEnd end (KeyMap.elems members)
+                _ -> end
+          finish end' value (Members style members) anchor updated suffix
+    _ -> Left "unsupported YAML tag or node"
+  where
+    contentEnd fallback children =
+      case map yamlEnd children of
+        [] -> fallback
+        offsets -> fallback {Lib.yamlEndMark = (Lib.yamlEndMark fallback) {Lib.yamlIndex = maximum offsets}}
+    finish end value children anchor updated suffix =
+      Right
+        ( Located value (Lib.yamlIndex (Lib.yamlStartMark event)) (Lib.yamlIndex (Lib.yamlEndMark end)) children,
+          maybe updated (\name -> Map.insert name value updated) anchor,
+          suffix
+        )
+readNode _ [] = Left "expected a YAML value"
+
+readItems :: Anchors -> [Lib.MarkedEvent] -> Either Text ([Located], Anchors, Lib.MarkedEvent, [Lib.MarkedEvent])
+readItems anchors (end@(Lib.MarkedEvent Lib.EventSequenceEnd _ _) : rest) = Right ([], anchors, end, rest)
+readItems anchors events = do
+  (item, updated, rest) <- readNode anchors events
+  (items, final, end, suffix) <- readItems updated rest
+  pure (item : items, final, end, suffix)
+
+readMembers :: KeyMap.KeyMap Located -> Anchors -> [Lib.MarkedEvent] -> Either Text (KeyMap.KeyMap Located, Anchors, Lib.MarkedEvent, [Lib.MarkedEvent])
+readMembers members anchors (end@(Lib.MarkedEvent Lib.EventMappingEnd _ _) : rest) = Right (members, anchors, end, rest)
+readMembers members anchors events@(Lib.MarkedEvent (Lib.EventScalar bytes _ _ _) _ _ : _) = do
+  let key = Key.fromText (Encoding.decodeUtf8 bytes)
+  when (KeyMap.member key members) (Left ("duplicate YAML key: " <> Key.toText key))
+  (_, withKey, afterKey) <- readNode anchors events
+  (value, updated, afterValue) <- readNode withKey afterKey
+  readMembers (KeyMap.insert key value members) updated afterValue
+readMembers _ _ _ = Left "expected a scalar YAML mapping key"
+
+scalarValue :: Lib.Tag -> Lib.Style -> Text -> Either Text Value
+scalarValue tag style text =
+  case tag of
+    Lib.NoTag
+      | style == Lib.Plain -> Right (plainScalar text)
+      | otherwise -> Right (String text)
+    Lib.StrTag -> Right (String text)
+    Lib.UriTag "!" -> Right (String text)
+    Lib.NullTag | Null <- plainScalar text -> Right Null
+    Lib.BoolTag | value@(Bool _) <- plainScalar text -> Right value
+    Lib.IntTag | Just value <- integer text -> Right (Number (fromInteger value))
+    Lib.FloatTag | Just value <- number text -> Right value
+    Lib.UriTag "tag:yaml.org,2002:timestamp" -> Right (String text)
+    _ -> Left ("unsupported YAML tag or invalid tagged value: " <> Text.pack (show tag))
+
+plainScalar :: Text -> Value
+plainScalar text
+  | text `elem` ["", "~", "null", "Null", "NULL"] = Null
+  | text `elem` ["true", "True", "TRUE"] = Bool True
+  | text `elem` ["false", "False", "FALSE"] = Bool False
+  | otherwise = fromMaybe (String text) (number text)
+
+-- JSON has no representation for non-finite numbers. Keep their spelling as
+-- text in the projection while retaining the original YAML node for editing.
+number :: Text -> Maybe Value
+number text
+  | text `elem` [".inf", ".Inf", ".INF", "+.inf", "+.Inf", "+.INF", "-.inf", "-.Inf", "-.INF", ".nan", ".NaN", ".NAN"] = Just (String text)
+  | Just value <- integer text = Just (Number (fromInteger value))
+  | otherwise = Number <$> parsed decimalNumber text
+
+decimalNumber :: Atto.Parser Scientific.Scientific
+decimalNumber = do
+  sign <- Atto.option "" (Atto.string "-" <|> Atto.string "+")
+  whole <- Atto.takeWhile isDigit
+  fraction <- Atto.option Nothing (Just <$> (Atto.char '.' *> Atto.takeWhile isDigit))
+  when (Text.null whole && maybe True Text.null fraction) (fail "expected a digit")
+  exponentPart <- Atto.takeText
+  let wholeDigits = if Text.null whole then "0" else whole
+      decimalDigits = maybe "" (\digits -> if Text.null digits then ".0" else "." <> digits) fraction
+  either fail pure (Atto.parseOnly (Atto.scientific <* Atto.endOfInput) (sign <> wholeDigits <> decimalDigits <> exponentPart))
+
+integer :: Text -> Maybe Integer
+integer text =
+  parsed (Atto.signed Atto.decimal) text
+    <|> parsed (Atto.string "0x" *> Atto.hexadecimal) text
+    <|> parsed (Atto.string "0o" *> octal) text
+  where
+    octal = Text.foldl' (\n digit -> 8 * n + fromIntegral (fromEnum digit - fromEnum '0')) 0 <$> Atto.takeWhile1 (\c -> c >= '0' && c <= '7')
+
+parsed :: Atto.Parser a -> Text -> Maybe a
+parsed parser = either (const Nothing) Just . Atto.parseOnly (parser <* Atto.endOfInput)
+
+renderYaml :: (Text -> (Int, Text)) -> Value -> Text
+renderYaml rank value =
+  Encoding.decodeUtf8 (unsafePerformIO (runConduitRes (yieldMany events .| Lib.encode)))
+  where
+    events = Lib.EventStreamStart : Lib.EventDocumentStart : emit value [Lib.EventDocumentEnd, Lib.EventStreamEnd]
+    emit (Object members) rest =
+      Lib.EventMappingStart Lib.NoTag Lib.BlockMapping Nothing
+        : foldr emitMember (Lib.EventMappingEnd : rest) ordered
+      where
+        ordered = List.sortOn (rank . Key.toText . fst) (KeyMap.toList members)
+        emitMember (key, item) suffix = emit (String (Key.toText key)) (emit item suffix)
+    emit (Array items) rest =
+      Lib.EventSequenceStart Lib.NoTag Lib.BlockSequence Nothing
+        : foldr emit (Lib.EventSequenceEnd : rest) items
+    emit (String text) rest = Lib.EventScalar bytes tag style Nothing : rest
+      where
+        -- libyaml asserts that a scalar has a non-null pointer, even when its
+        -- length is zero. The empty ByteString may use a null pointer.
+        bytes
+          | Text.null text = Bytes.Unsafe.unsafeTake 0 "0"
+          | otherwise = Encoding.encodeUtf8 text
+        (tag, style)
+          | Text.null text = (Lib.NoTag, Lib.SingleQuoted)
+          | isJust (number text) = (Lib.NoTag, Lib.SingleQuoted)
+          | otherwise = Yaml.defaultStringStyle text
+    emit item rest = Lib.EventScalar (Lazy.toStrict (Aeson.encode item)) Lib.NoTag Lib.PlainNoTag Nothing : rest
+
+-- Retain source around edits at the smallest unchanged collection shape.
+-- Reparse the patched text in case an anchor, block indentation, or insertion
+-- changes any value beyond the intended one.
+patchYaml :: (Text -> (Int, Text)) -> Text -> Located -> Value -> Maybe Text
+patchYaml rank source root value
+  | yamlValue root == value = Just source
+  | otherwise = do
+      edits <- rootEdits
+      let candidate = applyEdits edits
+      reparsed <- either (const Nothing) Prelude.id (parseYaml candidate)
+      if yamlValue reparsed == value then Just candidate else Nothing
+  where
+    rootEdits =
+      case (yamlChildren root, value) of
+        (Members style original, Object new)
+          | all (`KeyMap.member` new) (KeyMap.keys original) -> do
+              changed <- memberEdits original new
+              let additions = KeyMap.difference new original
+              extra <- insertMembers style original additions
+              pure (extra <> changed)
+        _ -> Just (editsFor root value)
+    insertMembers _ _ additions | KeyMap.null additions = Just []
+    insertMembers Lib.BlockMapping _ additions =
+      let position = yamlStart root
+          rendered = renderYaml rank (Object additions)
+          insertion = if "\r\n" `Text.isInfixOf` source then Text.replace "\n" "\r\n" rendered else rendered
+       in Just [(position, position, insertion)]
+    insertMembers Lib.FlowMapping original additions = do
+      brace <- Text.findIndex (== '{') (Text.drop (yamlStart root) source)
+      let position = yamlStart root + brace + 1
+          rendered = Text.dropEnd 1 (Text.drop 1 (inlineValue (Object additions)))
+      pure [(position, position, rendered <> if KeyMap.null original then "" else ", ")]
+    insertMembers _ _ _ = Nothing
+    memberEdits original new = concat <$> traverse member (KeyMap.toList original)
+      where
+        member (key, old) = editsFor old <$> KeyMap.lookup key new
+    editsFor old new
+      | yamlValue old == new = []
+      | Items items <- yamlChildren old,
+        Array values <- new,
+        length items == Vector.length values =
+          concat (zipWith editsFor items (Vector.toList values))
+      | Members _ original <- yamlChildren old,
+        Object members <- new,
+        KeyMap.size original == KeyMap.size members,
+        Just edits <- memberEdits original members =
+          edits
+      | otherwise =
+          [(yamlStart old, yamlEnd old, insertSpace <> inlineValue new)]
+      where
+        -- A YAML empty value may start immediately after the mapping colon.
+        insertSpace
+          | yamlStart old == yamlEnd old, ":" `Text.isSuffixOf` Text.take (yamlStart old) source = " "
+          | otherwise = ""
+    inlineValue = Encoding.decodeUtf8 . Lazy.toStrict . Aeson.encode
+    applyEdits = splice 0 . List.sortOn (\(start, _, _) -> start)
+    splice offset [] = Text.drop offset source
+    splice offset ((start, end, replacement) : rest) =
+      Text.take (start - offset) (Text.drop offset source) <> replacement <> splice end rest
diff --git a/test/Main.hs b/test/Main.hs
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -2,7 +2,7 @@
 
 module Main (main) where
 
-import Control.Exception (AsyncException (UserInterrupt), bracket, throwIO, try)
+import Control.Exception (AsyncException (UserInterrupt), IOException, bracket, throwIO, try)
 import Data.Aeson (object, toJSON, (.=))
 import Data.Aeson qualified as Aeson
 import Data.Aeson.KeyMap qualified as KeyMap
@@ -14,7 +14,7 @@
 import Data.Set qualified as Set
 import Data.Text qualified as Text
 import Data.Text.IO qualified as Text.IO
-import Data.Time (fromGregorian)
+import Data.Time (addUTCTime, fromGregorian)
 import Dhall.Parser qualified as Dhall
 import Okf.Actor
 import Okf.Bundle
@@ -43,6 +43,7 @@
 import Okf.Profile.Registry
 import Okf.Profile.Sweep qualified as Sweep
 import Okf.Query
+import Okf.Timestamp (parseTimestamp)
 import Okf.Trust
 import Okf.Validation
 import System.Directory
@@ -57,7 +58,7 @@
   )
 import System.Exit (exitFailure)
 import System.FilePath (normalise, takeDirectory, (</>))
-import System.IO.Temp (createTempDirectory)
+import System.IO.Temp (createTempDirectory, withSystemTempDirectory)
 import "generic-lens" Data.Generics.Labels ()
 
 main :: IO ()
@@ -77,7 +78,11 @@
         test "validate permissive profile with only type" testPermissiveValidation,
         test "validate strict profile requiring title description generated" testStrictValidation,
         test "strict validation accepts generated, falls back to timestamp, reports neither" testStrictValidationGeneratedFamily,
-        test "validate rejects tags that are not a string list" testRejectInvalidTags,
+        test "tags accept a scalar and diagnose malformed members" testRejectInvalidTags,
+        test "YAML core scalars, delimiters and source edits" testCoreYamlEdits,
+        test "optional families accept empty and singleton values" testOptionalFamilies,
+        test "tables preserve links and source order does not change attribution" testMixedMarkdownDialect,
+        testIO "bounded bundle readers and writers skip symbolic links" testBoundedBundle,
         test "round-trip preserves semantic frontmatter and body" testRoundTrip,
         test "reject invalid concept id segment" testRejectInvalidConceptId,
         test "convert concept id tables/users to tables/users.md" testConceptIdToFilePath,
@@ -108,16 +113,19 @@
         testIO "extractLinks resolves relative and absolute bundle links" testExtractLinksResolveBundleLinks,
         testIO "extractLinks ignores external markdown URLs" testExtractLinksIgnoresExternalUrls,
         testIO "buildGraph includes only edges to existing concepts" testBuildGraphIncludesKnownEdges,
+        testIO "graph and generated links resolve v0.3 references against the actual tree" testV03BundleGraph,
         testIO "writeBundleIndexes is deterministic" testWriteBundleIndexesDeterministic,
         testIO "readBundleVersion reads a declared, absent, or unparseable okf_version" testReadBundleVersion,
         testIO "readBundleVersion accepts the unquoted YAML number form" testReadBundleVersionUnquoted,
         testIO "writeBundleIndexes preserves an existing okf_version declaration" testWriteBundleIndexesPreservesVersion,
+        testIO "root metadata round-trips across preview, override and rewrite" testRootMetadataRoundTrip,
+        testIO "invalid root metadata prevents all index writes" testInvalidRootIndexGuard,
         testIO "writeBundleIndexesWith declares a version and leaves others alone" testWriteBundleIndexesDeclaresVersion,
         testIO "fixture valid bundle validates and graphs expected edges" testFixtureValidBundle,
         testIO "fixture v01 legacy bundle validates strictly through the fallback" testFixtureV01LegacyBundle,
         testIO "fixture graph JSON shape is stable" testFixtureGraphJsonShape,
         testIO "fixture unterminated frontmatter reports parse error" testFixtureUnterminatedFrontmatter,
-        testIO "fixture missing type reports validation error" testFixtureMissingType,
+        testIO "fixture missing type is retained outside the concept list" testFixtureMissingType,
         test "frontmatter builder round-trips through serialize and parse" testFrontmatterBuilderRoundTrip,
         test "serializeDocument emits deterministic key order" testSerializeDeterministicKeyOrder,
         test "serializeDocument orders generated before the superseded timestamp" testSerializeGeneratedBeforeTimestamp,
@@ -133,6 +141,7 @@
         test "over-escaping relative links do not resolve inside bundle" testRejectOverEscapingRelativeLink,
         test "classifyPathReference implements the specification section 6.2 grammar" testClassifyPathReference,
         test "resolvePathReference decides existence against a bundle inventory" testResolvePathReference,
+        test "resolveFileReference applies version policy after safe URI decoding" testV03ReferenceResolution,
         test "every versioned field name is a core frontmatter field" testVersionedFieldsAreCoreFields,
         test "versionGate applies specification section 12 best-effort reading" testVersionGate,
         test "declared v0.2 reports a legacy timestamp that an undeclared bundle tolerates" testLegacyFieldInDeclaredV2,
@@ -150,6 +159,8 @@
         test "readStatus defaults to stable and preserves an unknown value" testReadStatus,
         test "readStaleAfter reads the date verbatim" testReadStaleAfter,
         test "trustTier derives the three specification section 5.3 tiers" testTrustTier,
+        test "verification and freshness use equivalent UTC instants" testV03Trust,
+        test "log advisories use the UTC day across offset spellings" testV03LogDay,
         test "latestVerification returns the newest at" testLatestVerification,
         test "staleness compares inclusively against a supplied day" testStaleness,
         test "readSources reads entries and skips one without resource" testReadSources,
@@ -194,6 +205,7 @@
         testIO "loadProfileFile and JSON preserve multiline guidance" testLoadGuidanceFixture,
         testIO "guidance does not affect profile validation" testGuidanceDoesNotAffectValidation,
         testIO "nested closure loads through current and frozen public decoders" testNestedClosureDecoding,
+        testIO "pre-v0.3 formats load unchanged through both profile decoders" testPreV03ProfileDecoding,
         test "nested closure validates records and merges policies" testNestedClosureValidation,
         test "nested closure scope, shape, condition and malformed-value matrix" testNestedClosureMatrix,
         testIO "product discovery constraints preserve scope, types and occurrence paths" testProductDiscoveryConstraints,
@@ -280,6 +292,7 @@
         test "compileProfile rejects incoherent path rules" testPathDefinitionErrors,
         test "compileProfile rejects an unreadable or unknown-major okfVersion" testProfileVersionParsing,
         test "compileProfile clamps a higher okfVersion minor to the supported one" testProfileVersionMinorClamp,
+        test "v0.3 profile formats and replacement keys preserve v0.2 house rules" testV03ProfileRules,
         test "compileProfile rejects an unreadable requireBundleVersion" testRequiredBundleVersionParsing,
         test "validateProfileVersion judges every declaration shape" testValidateProfileVersion,
         test "validateProfileVersion is inert without a requirement" testValidateProfileVersionUnrequired,
@@ -373,7 +386,9 @@
   assertEqual (UnclassifiedActor "something") (parseActor "something")
   -- Section 7 writes the prefixes in lower case and section 5.3 makes the
   -- `human:` test load-bearing, so matching is case-sensitive.
-  assertEqual (UnclassifiedActor "Human:ahormati") (parseActor "Human:ahormati")
+  assertEqual (SchemeActor "Human" "ahormati") (parseActor "Human:ahormati")
+  assertEqual (TeamActor "finance/ops") (parseActor "team:finance/ops")
+  assertEqual (SchemeActor "custom" "unit/id") (parseActor "custom:unit/id")
   assertBool "human actor is human" (isHumanActor (parseActor "human:ahormati"))
   assertBool "producer actor is not human" (not (isHumanActor (parseActor "reference_agent/gemini-2.5-pro")))
 
@@ -450,9 +465,136 @@
 
 testRejectInvalidTags :: Either Text ()
 testRejectInvalidTags = do
-  document <- firstShow (parseDocument "---\ntype: BigQuery Table\ntags: orders\n---\nBody\n")
-  assertEqual [FieldMustBeListOfText "tags"] (validateDocument PermissiveConformance document)
+  document <- firstShow (parseDocument "---\ntype: BigQuery Table\ntags: one,two\n---\nBody\n")
+  cid <- firstShow (parseConceptId "table")
+  assertEqual ["one,two"] (conceptTags (conceptFromDocument cid document))
+  assertEqual [] (optionalFamilyProblems document)
+  malformed <- firstShow (parseDocument "---\ntype: Example\ntags: [one, 42, two]\n---\n")
+  assertEqual ["one", "two"] (conceptTags (conceptFromDocument cid malformed))
+  assertEqual [FieldMustBeListOfText "tags"] (optionalFamilyProblems malformed)
 
+testCoreYamlEdits :: Either Text ()
+testCoreYamlEdits = do
+  let source =
+        Text.intercalate
+          "\r\n"
+          [ "---",
+            "type: Demo",
+            "x-label: '東京' # preserve",
+            "x-core: { on: yes, leading: 012, octal: 0o12, float: .125, exponent: 1.e2, bool: TRUE }",
+            "generated: { by: human:old, at: 2026-11-01, x-source: 'kept' }",
+            "---",
+            "",
+            "# Body",
+            "---"
+          ]
+  doc <- firstShow (parseDocument source)
+  assertEqual source (serializeDocument doc)
+  let expected = Aeson.object ["on" .= ("yes" :: Text), "leading" .= (12 :: Int), "octal" .= (10 :: Int), "float" .= (0.125 :: Double), "exponent" .= (100 :: Int), "bool" .= True]
+  assertEqual (Just expected) (frontmatterLookup "x-core" (doc ^. #frontmatter))
+  let edited = doc & #frontmatter %~ setGenerated (Generated (HumanActor "new") (Just "2026-11-01"))
+  assertEqual (Text.replace "human:old" "\"human:new\"" source) (serializeDocument edited)
+  reparsed <- firstShow (parseDocument (serializeDocument edited))
+  assertEqual edited reparsed
+  for_ ["type: A\ntype: B", "type: A\nx: {a: 1, a: 2}", "type: A\nx: !custom abc"] $ \yaml ->
+    case parseDocument ("---\n" <> yaml <> "\n---\n") of
+      Left (InvalidYaml _) -> Right ()
+      other -> Left ("expected invalid YAML, got " <> Text.pack (show other))
+  let strings = ["true", "1.e2", "012", ".inf", ".125", "0o77", "off", ""] :: [Text]
+      constructed = OKFDocument (setField "x-strings" (toJSON strings) emptyFrontmatter) "Body\n"
+  firstShow (parseDocument (serializeDocument constructed)) >>= assertEqual constructed
+  exact <- firstShow (parseDocument "---\ntype: Example\nx: value---\n---\nbody")
+  assertEqual (Just (String "value---")) (frontmatterLookup "x" (exact ^. #frontmatter))
+  assertEqual (Left UnterminatedFrontmatter) (parseDocument "---\ntype: Example\n--- \n")
+
+testOptionalFamilies :: Either Text ()
+testOptionalFamilies = do
+  conceptId <- firstShow (parseConceptId "example")
+  for_ ["null", "''", "[]"] $ \empty -> do
+    doc <- firstShow (parseDocument (Text.unlines (["---", "type: Example"] <> map (<> (": " <> empty)) ["tags", "sources", "verified", "parameters", "generated"] <> ["---"])))
+    let concept = conceptFromDocument conceptId doc
+    assertEqual [] (conceptTags concept)
+    assertEqual [] (conceptSources concept)
+    assertEqual [] (conceptVerified concept)
+    assertEqual [] (conceptParameters concept)
+    assertEqual Nothing (conceptGenerated concept)
+    assertEqual [] (optionalFamilyProblems doc)
+  doc <- firstShow (parseDocument "---\ntype: Example\nsources: { resource: https://example.com }\nverified: [{by: human:old}, {by: human:new, at: 2026-11-30}]\nparameters: { name: code, type: string }\n---\n")
+  let concept = conceptFromDocument conceptId doc
+  assertEqual ["https://example.com"] (map sourceResource (conceptSources concept))
+  assertEqual [Verification (HumanActor "new") (Just "2026-11-30")] (conceptVerified concept)
+  assertEqual ["code"] (map parameterName (conceptParameters concept))
+  assertEqual [FamilyEntryMissing "verified" 0 ["at"]] (optionalFamilyProblems doc)
+
+testMixedMarkdownDialect :: Either Text ()
+testMixedMarkdownDialect = do
+  cid <- firstShow (parseConceptId "report")
+  target <- firstShow (parseConceptId "details")
+  doc <-
+    firstShow
+      ( parseDocument
+          ( Text.unlines
+              [ "---",
+                "type: Report",
+                "title: Report",
+                "description: An example.",
+                "generated: { by: human:author, at: 2026-11-30 }",
+                "sources:",
+                "  - { id: first, resource: https://example.com/1 }",
+                "  - { id: second, resource: https://example.com/2 }",
+                "---",
+                "",
+                "| Evidence |",
+                "| --- |",
+                "| [Details](details.md) [^first] [^second] |",
+                "",
+                "[^first]: First source.",
+                "[^second]: Second source."
+              ]
+          )
+      )
+  assertEqual [target] (extractConceptLinks (conceptFromDocument cid doc))
+  assertEqual [] (validateDocument StrictAuthoring doc)
+  let reordered = doc & #frontmatter %~ (\fm -> setSources (reverse (readSources fm)) fm)
+  assertEqual [] (validateDocument StrictAuthoring reordered)
+
+testBoundedBundle :: IO (Either Text ())
+testBoundedBundle = withSystemTempDirectory "okf-bounded" $ \root -> do
+  let bundle = root </> "bundle"
+      sibling = root </> "outside"
+      conceptText = "---\ntype: Example\n---\n"
+      sentinel = sibling </> "sentinel.md"
+  createDirectoryIfMissing True (bundle </> ".hidden")
+  createDirectoryIfMissing True sibling
+  Text.IO.writeFile sentinel conceptText
+  Text.IO.writeFile (bundle </> ".hidden" </> "hidden.md") conceptText
+  Text.IO.writeFile (bundle </> "inside.md") conceptText
+  Text.IO.writeFile (bundle </> "README.md") "# README\n"
+  createFileLink sentinel (bundle </> "outside.md")
+  createFileLink (sibling </> "missing.md") (bundle </> "dangling.md")
+  createDirectoryLink sibling (bundle </> "external")
+  createDirectoryLink bundle (bundle </> "cycle")
+  inventoryResult <- walkBundleInventory bundle
+  docsResult <- walkBundleDocuments bundle
+  rendered <- renderBundleIndexes bundle
+  writer <- case (parseConceptId "external/sentinel", parseDocument "---\ntype: Changed\n---\n") of
+    (Right cid, Right doc) -> try @IOException (writeBundle bundle [conceptFromDocument cid doc])
+    _ -> pure (Right ())
+  indexWrite <- writeBundleIndexes bundle
+  outsideIndex <- doesFileExist (sibling </> "index.md")
+  unchanged <- Text.IO.readFile sentinel
+  pure $ do
+    inventory <- firstShow inventoryResult
+    assertEqual ["README.md", "inside.md"] (bundleInventoryFiles inventory)
+    (concepts, untyped) <- firstShow docsResult
+    assertEqual ["inside"] (map (renderConceptId . conceptIdOf) concepts)
+    assertEqual ["README.md"] (map untypedSourcePath untyped)
+    assertEqual (Right ["index.md"]) (map fst <$> rendered)
+    assertEqual (Right ()) indexWrite
+    assertBool "writeBundle should refuse a symbolic-link directory" (case writer of Left _ -> True; Right () -> False)
+    assertBool "index write created a file outside its root" (not outsideIndex)
+    assertEqual conceptText unchanged
+
 testRoundTrip :: Either Text ()
 testRoundTrip = do
   document <- firstShow (parseDocument sampleDocument)
@@ -464,7 +606,7 @@
 
 testRejectInvalidConceptId :: Either Text ()
 testRejectInvalidConceptId =
-  assertEqual (Left (InvalidConceptIdSegment "-users")) (parseConceptId "tables/-users")
+  assertEqual (Left (InvalidConceptIdSegment "..")) (parseConceptId "tables/../users")
 
 testConceptIdToFilePath :: Either Text ()
 testConceptIdToFilePath = do
@@ -1056,6 +1198,85 @@
           )
     )
 
+testRootMetadataRoundTrip :: IO (Either Text ())
+testRootMetadataRoundTrip =
+  withSystemTempDirectory "okf-root-metadata" $ \root -> do
+    let path = root </> "index.md"
+        nested = root </> "nested" </> "index.md"
+        originalHeader = "---\r\n# Bundle metadata\r\ntitle: '007'\r\ndescription: A custom bundle.\r\nlicense: ./LICENSE.txt\r\nx-vendor: { extension: 'yes' }\r\n---\r\n"
+        v03 = Just (OkfVersion 0 3)
+        expectedHeader = Text.replace "title: '007'" "okf_version: '0.3'\r\ntitle: '007'" originalHeader
+    createDirectoryIfMissing True (root </> "nested")
+    Text.IO.writeFile (root </> "LICENSE.txt") "Example license"
+    Text.IO.writeFile path originalHeader
+    metadata <- readBundleMetadata root
+    written <- writeBundleIndexes root
+    withoutOverride <- Text.IO.readFile path
+    rendered <- renderBundleIndexesWith v03 root
+    overridden <- writeBundleIndexesWith v03 root
+    withOverride <- Text.IO.readFile path
+    emptyNested <- Text.IO.readFile nested
+    rewritten <- writeBundleIndexes root
+    afterSecondWrite <- Text.IO.readFile path
+    inventory <- walkBundleInventory root
+    checked <- either (pure . pure) (checkBundleIndexes root (VersionDeclared (OkfVersion 0 3))) inventory
+    let unreadable = "---\nokf_version: [old] # fix me\nlicense: CC-BY-4.0\n---\n"
+    Text.IO.writeFile path unreadable
+    spdx <- readBundleMetadata root
+    unreadableWrite <- writeBundleIndexes root
+    keptUnreadable <- Text.IO.readFile path
+    repairedWrite <- writeBundleIndexesWith v03 root
+    repaired <- Text.IO.readFile path
+    pure $ do
+      header <- firstShow metadata >>= maybe (Left "missing root metadata") Right
+      assertEqual (Just "007") (bundleTitle header)
+      assertEqual (Just "A custom bundle.") (bundleDescription header)
+      assertEqual (Just "./LICENSE.txt") (bundleLicense header)
+      assertEqual VersionUndeclared (bundleVersion header)
+      assertEqual (Just (Aeson.object ["extension" .= ("yes" :: Text)])) (frontmatterLookup "x-vendor" (bundleFrontmatter header))
+      for_ [written, overridden, rewritten, unreadableWrite, repairedWrite] firstShow
+      assertBool "expected exact original header" (originalHeader `Text.isPrefixOf` withoutOverride)
+      assertBool "insertion should preserve the CRLF header" (expectedHeader `Text.isPrefixOf` withOverride)
+      previewIndexes <- firstShow rendered
+      assertEqual (Just withOverride) (lookup "index.md" previewIndexes)
+      assertEqual "# Files\n" emptyNested
+      assertEqual afterSecondWrite withOverride
+      assertEqual [] checked
+      assertEqual (Right (Just "CC-BY-4.0")) (fmap (>>= bundleLicense) spdx)
+      assertBool "preserve even an unparseable declaration" (unreadable `Text.isPrefixOf` keptUnreadable)
+      assertBool "repair only the version value" (Text.replace "[old]" "\"0.3\"" unreadable `Text.isPrefixOf` repaired)
+
+testInvalidRootIndexGuard :: IO (Either Text ())
+testInvalidRootIndexGuard =
+  withSystemTempDirectory "okf-invalid-index" $ \root -> do
+    let path = root </> "index.md"
+        nested = root </> "nested" </> "index.md"
+        v03 = OkfVersion 0 3
+        nestedBody = "# Nested\n"
+    absent <- readBundleMetadata root
+    empty <- writeBundleIndexesWith (Just v03) root
+    generated <- Text.IO.readFile path
+    createDirectoryIfMissing True (root </> "nested")
+    Text.IO.writeFile nested nestedBody
+    failures <- for ["---\n[not, a, mapping]\n---\n", "---\ntitle: [bad\n---\n"] $ \source -> do
+      Text.IO.writeFile path source
+      broken <- readBundleMetadata root
+      bestEffort <- readBundleVersion root
+      refused <- writeBundleIndexesWith (Just v03) root
+      rootAfter <- Text.IO.readFile path
+      nestedAfter <- Text.IO.readFile nested
+      pure $ do
+        assertBool "expected a root index parser failure" (case broken of Left (InvalidConceptDocument "index.md" _) -> True; _ -> False)
+        assertBool "override must refuse an invalid header" (case refused of Left (InvalidConceptDocument "index.md" _) -> True; _ -> False)
+        assertEqual (Right VersionUndeclared) bestEffort
+        assertEqual source rootAfter
+        assertEqual nestedBody nestedAfter
+    pure $ do
+      assertEqual (Right Nothing) absent
+      firstShow empty
+      assertEqual "---\nokf_version: \"0.3\"\n---\n\n# Files\n" generated
+      sequence_ failures
+
 testFixtureValidBundle :: IO (Either Text ())
 testFixtureValidBundle = do
   root <- fixturePath "valid-bundle"
@@ -1140,14 +1361,12 @@
 testFixtureMissingType :: IO (Either Text ())
 testFixtureMissingType = do
   root <- fixturePath "invalid-missing-type"
-  concepts <- readBundle root
-  pure
-    ( do
-        assertEqual 1 (length concepts)
-        case foldMap (validateDocument PermissiveConformance . conceptDocument) concepts of
-          [MissingRequiredField "type"] -> Right ()
-          other -> Left ("expected missing type error, got " <> Text.pack (show other))
-    )
+  result <- walkBundleDocuments root
+  pure $ do
+    (concepts, untyped) <- firstShow result
+    assertEqual [] concepts
+    assertEqual ["missing-type.md"] (map untypedSourcePath untyped)
+    assertEqual [MissingRequiredField "type"] (foldMap (validateDocument PermissiveConformance . untypedDocument) untyped)
 
 testFrontmatterBuilderRoundTrip :: Either Text ()
 testFrontmatterBuilderRoundTrip = do
@@ -1508,6 +1727,101 @@
   assertEqual UnresolvableMalformed (resolve deep "")
   assertEqual UnresolvableMalformed (resolve deep "   ")
 
+testV03BundleGraph :: IO (Either Text ())
+testV03BundleGraph =
+  withSystemTempDirectory "okf-v03-graph" $ \root -> do
+    let originPath = "nested" </> "origin.md"
+        targetPath = "other" </> "target #.md"
+        concept = "type: Example\ntitle: Example\ndescription: Example.\ngenerated: { by: human:author, at: 2026-11-30 }\n"
+        reference = "../other/target%20%23.md"
+        current = VersionDeclared (OkfVersion 0 3)
+        legacy = VersionDeclared (OkfVersion 0 2)
+        graph declaration = do
+          concepts <- walkBundle root
+          inventory <- walkBundleInventory root
+          pure (buildGraphWith declaration <$> inventory <*> concepts)
+        writeOrigin metadata value =
+          Text.IO.writeFile (root </> originPath) ("---\n" <> concept <> metadata <> "\n---\n" <> value)
+    createDirectoryIfMissing True (root </> "nested")
+    createDirectoryIfMissing True (root </> "other")
+    Text.IO.writeFile (root </> targetPath) ("---\n" <> concept <> "---\n")
+    Text.IO.writeFile (root </> "other" </> "README.md") "# Read me\n"
+    Text.IO.writeFile (root </> "other" </> "asset.png") "asset"
+    relationships <- for
+      [ "resource: " <> reference,
+        "sources: { resource: " <> reference <> " }",
+        "computation: " <> reference,
+        "executor: { resource: " <> reference <> " }",
+        "attester: { resource: " <> reference <> " }",
+        "superseded_by: " <> reference
+      ]
+      $ \metadata -> writeOrigin metadata "" >> graph current
+    writeOrigin
+      ("resource: " <> reference <> "\nsources: { resource: Some scope without a file }")
+      ( Text.unlines
+          [ "[Other](" <> reference <> "#section) [Again][other]",
+            "[Prose](../other/README.md) [Asset](../other/asset.png) [Directory](../other/)",
+            "![Image](" <> reference <> ") [[Other]]",
+            "[other]: /other/target%20%23.md",
+            "[Missing](missing.md) [External](mailto:person@example.org)"
+          ]
+      )
+    combined <- graph current
+    combinedConcepts <- walkBundle root
+    combinedInventory <- walkBundleInventory root
+    writeOrigin "" ("[Other][reference]\n\n[reference]: /other/target%20%23.md\n")
+    referenceStyle <- graph current
+    versions <- do
+      writeOrigin "resource: other/target%20%23.md" ""
+      traverse graph [VersionUndeclared, legacy, current, VersionUnparseable "broken"]
+    writeOrigin ("resource: " <> reference) ""
+    indexes <- renderBundleIndexes root
+    pure $ do
+      source <- firstShow (conceptIdFromFilePath originPath)
+      target <- firstShow (conceptIdFromFilePath targetPath)
+      let edge = Edge source target
+      for_ (combined : referenceStyle : relationships) $ \result -> firstShow result >>= assertEqual [edge] . edges
+      missing <- firstShow (parseConceptId "nested/missing")
+      loadedConcepts <- firstShow combinedConcepts
+      inventory <- firstShow combinedInventory
+      assertEqual [DanglingReference source missing] (validateBundle StrictAuthoring current inventory loadedConcepts)
+      assertEqual [] (validateBundle PermissiveConformance current inventory loadedConcepts)
+      firstShow (sequenceA versions) >>= assertEqual [[edge], [edge], [], []] . map edges
+      generated <- firstShow indexes >>= maybe (Left "missing generated nested index") Right . lookup ("other" </> "index.md")
+      assertBool "index emits encoded URI" ("(target%20%23.md)" `Text.isInfixOf` generated)
+      assertEqual
+        (ResolvedInBundle targetPath)
+        (resolveFileReference (== targetPath) BodyReference ("other" </> "index.md") "target%20%23.md")
+      assertEqual
+        (ResolvedInBundle targetPath)
+        (resolveFileReference (== targetPath) BodyReference originPath (renderConceptLinkTarget target))
+
+testV03ReferenceResolution :: Either Text ()
+testV03ReferenceResolution = do
+  let source = "nested/origin.md"
+      files = ["root target#.md", "nested/local target.md", "nested/RootCase.md"]
+      membership = (`elem` files)
+      resolve declaration = resolveFileReference membership (frontmatterReferenceContext declaration) source
+      current = VersionDeclared (OkfVersion 0 3)
+      legacy = VersionDeclared (OkfVersion 0 2)
+      reference = "root%20target%23.md#section"
+  for_ [VersionUndeclared, legacy] $ \declaration ->
+    assertEqual (ResolvedInBundle "root target#.md") (resolve declaration reference)
+  for_ [current, VersionDeclared (OkfVersion 0 4), VersionDeclared (OkfVersion 1 0), VersionUnparseable "unknown"] $ \declaration ->
+    assertEqual (DanglingInBundle "nested/root target#.md") (resolve declaration reference)
+  assertEqual (DanglingInBundle "nested/root target#.md") (resolveFileReference membership BodyReference source reference)
+  assertEqual (ResolvedInBundle "root target#.md") (resolve current ("/" <> reference))
+  assertEqual (ResolvedInBundle "root target#.md") (resolve current ("../" <> reference))
+  assertEqual (ResolvedInBundle "nested/local target.md") (resolve legacy "./local%20target.md?q=1")
+  assertEqual (DanglingInBundle "nested/rootcase.md") (resolve current "rootcase.md")
+  let shadowed = resolveFileReference (`elem` ("nested/root target#.md" : files)) (frontmatterReferenceContext legacy) source
+  assertEqual (ResolvedInBundle "nested/root target#.md") (shadowed reference)
+  assertEqual UnresolvableEscape (resolve legacy "%2E%2e/%2E%2e/secret.txt")
+  assertEqual UnresolvableMalformed (resolve legacy "x%2f..%2fsecret.txt")
+  assertEqual UnresolvableMalformed (resolve legacy "%00")
+  assertEqual UnresolvableMalformed (resolve legacy "%4G")
+  assertEqual (ResolvedExternal "file") (resolve legacy "file:///private/other.md")
+
 -- | The version-metadata lists name keys okf actually owns. Nothing else would
 -- catch a typo in one of those string literals: a misspelled entry simply never
 -- matches a rule, so the check it drives goes quietly missing.
@@ -1529,7 +1843,8 @@
   assertEqual Nothing (gateEffective (versionGate (VersionUnparseable "zero point two")))
   assertEqual (Just (OkfVersion 0 1)) (gateEffective (versionGate (VersionDeclared (OkfVersion 0 1))))
   assertEqual (Just (OkfVersion 0 2)) (gateEffective (versionGate (VersionDeclared (OkfVersion 0 2))))
-  assertEqual (Just (OkfVersion 0 2)) (gateEffective (versionGate (VersionDeclared (OkfVersion 0 3))))
+  assertEqual (Just (OkfVersion 0 3)) (gateEffective (versionGate (VersionDeclared (OkfVersion 0 3))))
+  assertEqual (Just (OkfVersion 0 3)) (gateEffective (versionGate (VersionDeclared (OkfVersion 0 4))))
   assertEqual Nothing (gateEffective (versionGate (VersionDeclared (OkfVersion 1 0))))
   assertEqual (Just "1.0") (gateNotUnderstood (versionGate (VersionDeclared (OkfVersion 1 0))))
   assertEqual Nothing (gateNotUnderstood (versionGate (VersionDeclared (OkfVersion 0 3))))
@@ -1592,6 +1907,7 @@
   bId <- parseTestConceptId "b"
   conceptA <- testConcept "a" ("See " <> renderConceptLink bId "b" <> ".\n")
   assertEqual [DanglingReference aId bId] (validateInMemoryBundle StrictAuthoring VersionUndeclared [conceptA])
+  assertEqual [] (validateInMemoryBundle PermissiveConformance VersionUndeclared [conceptA])
 
 testValidateBundleAcceptsResolved :: Either Text ()
 testValidateBundleAcceptsResolved = do
@@ -1659,7 +1975,10 @@
 testDanglingFrontmatterPathAlternative = do
   computationId <- parseTestConceptId "computations/revenue"
   rootId <- parseTestConceptId "revenue"
-  skill <- testConcept "references/skills/run-on-bq" "Run instructions.\n"
+  skill <-
+    testConceptWithFrontmatter
+      "references/skills/run-on-bq"
+      "type: Skill\ntitle: Instructions\ndescription: Run instructions.\ngenerated: { by: human:author, at: 2026-11-30 }\n"
   let withResource rawId value =
         testConceptWithFrontmatter
           rawId
@@ -1669,7 +1988,7 @@
               <> value
               <> "\n"
           )
-      strict concepts = validateInMemoryBundle StrictAuthoring VersionUndeclared concepts
+      strict concepts = validateInMemoryBundle StrictAuthoring (VersionDeclared (OkfVersion 0 3)) concepts
   -- The specification's own spelling, from a concept in a subdirectory.
   bareReference <- withResource "computations/revenue" "references/skills/run-on-bq.md"
   assertEqual
@@ -1799,7 +2118,7 @@
   -- An entry without the `by` actor is skipped rather than yielding a partial
   -- Verification, mirroring readGenerated.
   partial <- verifiedIn "---\ntype: Recipe\nverified:\n  - { at: 2026-06-25T09:00:00Z }\n  - { by: human:ahormati }\n---\nBody\n"
-  assertEqual [Verification (HumanActor "ahormati") Nothing] partial
+  assertEqual [] partial
   notAMapping <- verifiedIn "---\ntype: Recipe\nverified: human:ahormati\n---\nBody\n"
   assertEqual [] notAMapping
 
@@ -1807,7 +2126,7 @@
 testVerifiedRoundTrip = do
   let verifications =
         [ Verification (HumanActor "ahormati") (Just "2026-06-25T09:00:00Z"),
-          Verification (ProcessActor "finance-nightly") Nothing
+          Verification (ProcessActor "finance-nightly") (Just "2026-06-26T02:00:00Z")
         ]
       original = OKFDocument (setVerified verifications (setType "Recipe" emptyFrontmatter)) "# Demo\n"
       rendered = serializeDocument original
@@ -1866,8 +2185,7 @@
   -- "`verified` by non-`human:` actors only => machine-confirmed."
   assertEqual MachineConfirmed (trustTier [verifiedBy "process:finance-nightly"])
   assertEqual MachineConfirmed (trustTier [verifiedBy "reference_agent/gemini-2.5-pro"])
-  -- An actor matching none of the three section 7 shapes is still not a human.
-  assertEqual MachineConfirmed (trustTier [verifiedBy "something"])
+  assertEqual Unverified (trustTier [verifiedBy "something"])
   -- "`verified` by a `human:<id>` actor => human-reviewed", including mixed.
   assertEqual HumanReviewed (trustTier [verifiedBy "human:ahormati"])
   assertEqual
@@ -1876,6 +2194,61 @@
   -- The Ord instance runs lowest to highest, as section 5.3 presents them.
   assertBool "tiers ordered lowest to highest" (Unverified < MachineConfirmed && MachineConfirmed < HumanReviewed)
 
+testV03Trust :: Either Text ()
+testV03Trust = do
+  let changed = "2026-11-30T12:00:00Z"
+      history = Verification (HumanActor "prior") (Just "2026-11-30T12:30:00+01:00")
+      team = Verification (TeamActor "finance/checks") (Just "2026-11-30T13:00:00+01:00")
+      nowHuman = Verification (HumanActor "reviewer") (Just changed)
+      invalid = Verification (HumanActor "invalid") (Just "2026-11-30T12:30:00")
+      gen = Generated (SchemeActor "supplier" "service/opaque") (Just changed)
+      checks = [invalid, history, team]
+      compared = summarizeVerification (Just gen) checks
+  assertEqual [team] (currentVerifications compared)
+  assertEqual [history] (earlierVerifications compared)
+  assertEqual MachineConfirmed (trustTier (currentVerifications compared))
+  assertEqual HumanReviewed (trustTier (currentVerifications (summarizeVerification (Just gen) (nowHuman : checks))))
+  assertEqual (VerificationSummary [] [] True) (summarizeVerification (Just gen {generatedAt = Nothing}) checks)
+  assertEqual
+    (Just "2026-11-30T13:00:00+01:00")
+    (latestVerification [history, team, Verification (HumanActor "old") (Just "2026-11-30T16:00:00+05:00")])
+  assertEqual (parseTimestamp changed) (parseTimestamp "2026-11-30T07:00:00-05:00")
+  assertEqual (parseTimestamp "2026-11-30T00:00:00Z") (parseTimestamp "2026-11-30")
+  for_ ["2026-11-31", "2026-11-30T12:00:00", "2026-11-30T12:00:00+24:00", "2026-11-30T12:00:00+0100"] $ \bad ->
+    assertEqual Nothing (parseTimestamp bad)
+  let deadline = "2026-11-30T13:00:00.001+01:00"
+  instant <- maybe (Left "timestamp failed to parse") Right (parseTimestamp deadline)
+  assertEqual Fresh (stalenessAt (addUTCTime (-0.0001) instant) (Just deadline))
+  assertEqual (StaleAt instant) (stalenessAt instant (Just deadline))
+  assertEqual (StaleAt instant) (stalenessAt (addUTCTime 0.0001 instant) (Just deadline))
+  for_ ["", "generated: null\n", "generated: ''\n", "generated: []\n", "generated: { at: 2026-11-30T15:00:00Z }\n"] $ \generation -> do
+    let source =
+          "---\ntype: Note\ntimestamp: 2026-11-30T20:00:00Z\n"
+            <> generation
+            <> "verified: {by: 'human:reviewer', at: 2026-11-30}\n---\n"
+    doc <- firstShow (parseDocument source)
+    let fm = doc ^. #frontmatter
+    assertEqual HumanReviewed (trustTier (currentVerifications (summarizeVerification (readGenerated fm) (readVerified fm))))
+    assertEqual source (serializeDocument doc)
+  doc <- firstShow (parseDocument "---\ntype: Note\nstatus: 42\nstale_after: [soon]\ngenerated: {by: 'team:writers/dev', at: !!timestamp 2026-11-30}\nverified: {by: 'custom:opaque/id', at: 2026-11-30T12:00:00Z}\nsources: {resource: 'https://example.com', author: 'team:source/ops', last_modified: 2026-11-30, usage_window: {from: 2026-11-29T01:00:00+01:00, to: 2026-11-30}}\nusage_window: {from: 2026-11-29, to: 2026-11-30T12:00:00}\n---\n")
+  let fm = doc ^. #frontmatter
+  assertEqual (UnknownStatus "42") (readStatus fm)
+  assertEqual (StaleAfterUnparseable "[\"soon\"]") (stalenessAt instant (readStaleAfter fm))
+  assertEqual (Just (TeamActor "writers/dev")) (generatedBy <$> readGenerated fm)
+  assertEqual [SchemeActor "custom" "opaque/id"] (map verificationBy (readVerified fm))
+  assertEqual [Just (TeamActor "source/ops")] (map sourceAuthor (readSources fm))
+  assertEqual [MalformedTimestamp "stale_after" (toJSON (["soon"] :: [Text])), MalformedTimestamp "usage_window.to" (String "2026-11-30T12:00:00")] (optionalFamilyProblems doc)
+  for_ ["null", "''", "[]"] $ \emptyValue -> do
+    cleared <- firstShow (parseDocument ("---\ntype: Note\nstatus: " <> emptyValue <> "\nstale_after: " <> emptyValue <> "\n---\n"))
+    assertEqual Stable (readStatus (cleared ^. #frontmatter))
+    assertEqual Nothing (readStaleAfter (cleared ^. #frontmatter))
+
+testV03LogDay :: Either Text ()
+testV03LogDay = do
+  beforeMidnight <- testConceptWithFrontmatter "offset" "type: Note\ngenerated: { by: human:author, at: 2026-12-01T00:30:00+01:00 }\n"
+  utcSpelling <- testConceptWithFrontmatter "utc" "type: Note\ngenerated: { by: human:author, at: 2026-11-30T23:30:00Z }\n"
+  assertEqual ["2026-11-30", "2026-11-30"] (map staleConceptDate (logStaleness [beforeMidnight, utcSpelling] []))
+
 testLatestVerification :: Either Text ()
 testLatestVerification = do
   -- Section 5.2: "'How recently' is the latest `at`."
@@ -2019,9 +2392,7 @@
     (first_ : _) -> do
       assertEqual "https://developers.google.com/analytics/bigquery/export-schema" (sourceResource first_)
       assertEqual (Just "GA4 BigQuery Export schema") (sourceTitle first_)
-      -- `author` uses the section 7 actor convention; `team:ga4-docs` matches
-      -- none of the three shapes, so it stays unclassified rather than failing.
-      assertEqual (Just (UnclassifiedActor "team:ga4-docs")) (sourceAuthor first_)
+      assertEqual (Just (TeamActor "ga4-docs")) (sourceAuthor first_)
       assertEqual (Just 5000) (sourceUsageCount first_)
       assertEqual (Just "2026-05-30") (sourceLastModified first_)
     [] -> Left "expected sources"
@@ -2118,7 +2489,9 @@
       "",
       "# Computation",
       "",
-      "    SELECT SUM(amount) AS revenue FROM finance.recognized_revenue WHERE fiscal_year = @year"
+      "```sql",
+      "SELECT SUM(amount) AS revenue FROM finance.recognized_revenue WHERE fiscal_year = @year",
+      "```"
     ]
 
 -- | The five §10.2 contract fields read off the specification's own worked
@@ -2203,9 +2576,7 @@
           ]
       )
   assertEqual
-    [ Parameter {parameterName = "year", parameterType = Nothing, parameterRequired = Nothing},
-      Parameter {parameterName = "region", parameterType = Just "string", parameterRequired = Nothing}
-    ]
+    [Parameter {parameterName = "region", parameterType = Just "string", parameterRequired = Just False}]
     (readParameters partialEntries)
   -- `executor` as a scalar is not a mapping and is not read; a `receipt`
   -- written as a bare string is read as a one-element list, mirroring how §5.2
@@ -2322,7 +2693,7 @@
   onMetric <-
     firstShow
       ( parseDocument
-          (Text.unlines ["---", "type: Metric", "---", "", "# Computation", "", "    SELECT 1"])
+          (Text.unlines ["---", "type: Metric", "---", "", "# Computation", "", "```sql", "SELECT 1", "```"])
       )
   assertEqual [ComputationInline "SELECT 1\n"] (readComputationSources onMetric)
 
@@ -2360,7 +2731,7 @@
               "generated: { by: human:you, at: 2026-08-01T00:00:00Z }"
             ]
               <> extraLines
-              <> ["---", "", "# Computation", "", "    SELECT 1"]
+              <> ["---", "", "# Computation", "", "```sql", "SELECT 1", "```"]
           )
   -- A complete contract is clean under both profiles.
   complete <- errorsFor StrictAuthoring (concept "Attested Computation" ["runtime: bigquery"])
@@ -2483,7 +2854,7 @@
   concepts <- readBundle root
   inventory <- readBundleInventory root
   pure
-    ( case validateBundle PermissiveConformance VersionUndeclared inventory concepts of
+    ( case validateBundle StrictAuthoring VersionUndeclared inventory concepts of
         errs
           | any isDangling errs -> Right ()
           | otherwise -> Left ("expected a DanglingReference, got: " <> Text.pack (show errs))
@@ -2518,6 +2889,9 @@
               (Just "references/attesters/revenue.py"),
             DanglingFrontmatterPath danglingId "resource" "references/deleted.txt" Nothing
           ]
+          (validateBundle StrictAuthoring (VersionDeclared (OkfVersion 0 3)) inventory concepts)
+        assertEqual
+          [DanglingFrontmatterPath danglingId "resource" "references/deleted.txt" Nothing]
           (validateBundle StrictAuthoring (VersionDeclared (OkfVersion 0 2)) inventory concepts)
         assertEqual
           []
@@ -5275,7 +5649,7 @@
 testProfileVersionMinorClamp = do
   let timestampRule = fieldRule "timestamp" Nothing [] Any (Just Rfc3339Utc) Nothing Nothing Nothing
   assertEqual
-    (Left (FieldSupersededInOkfVersion Nothing (fieldPath "timestamp") "0.2" "0.2" :| []))
+    (Left (FieldSupersededInOkfVersion Nothing (fieldPath "timestamp") "0.3" "0.2" :| []))
     (compileProfile (versionProfileWith "0.9" "recommended" [timestampRule]))
   -- And a v0.9 profile that names nothing version-specific simply compiles.
   case compileProfile (versionProfileWith "0.9" "optional" []) of
@@ -5380,6 +5754,24 @@
     Left errs -> Left ("expected a v0.2 actor rule to compile, got " <> Text.pack (show (toList errs)))
     Right _ -> Right ()
 
+testV03ProfileRules :: Either Text ()
+testV03ProfileRules = do
+  let timestamp = fieldRule "stale_after" Nothing [] Any (Just OkfTimestamp) Nothing Nothing Nothing
+      actor = fieldRule "author" Nothing [] Any (Just OkfActor) Nothing Nothing Nothing
+      replacement = fieldRule "superseded_by" Nothing [] List Nothing Nothing Nothing Nothing
+      spec version rules = versionProfileWith version "optional" rules
+  assertEqual
+    (Left (FormatRequiresOkfVersion Nothing (fieldPath "stale_after") OkfTimestamp "0.2" "0.3" :| []))
+    (compileProfile (spec "0.2" [timestamp]))
+  _ <- firstShow (compileProfile (spec "0.2" [replacement]))
+  assertEqual
+    (Left (ReplacementFieldMustBePath Nothing :| []))
+    (compileProfile (spec "0.3" [replacement]))
+  compiled <- firstShow (compileProfile (spec "0.3" [timestamp, actor]))
+  for_ [Null, String "", Aeson.toJSON ([] :: [Text]), String "2027-01-01", String "2027-01-01T09:00:00+05:30"] $ \deadline -> do
+    concept <- profileConcept "new" [("type", String "Note"), ("stale_after", deadline), ("author", String "service:registry/retail")] ""
+    assertEqual [] (validateProfile PermissiveConformance compiled [concept])
+
 -- | The check okf deliberately does /not/ perform, asserted so it is not added
 -- back by someone who thinks it was forgotten.
 --
@@ -8531,6 +8923,24 @@
     let prose = Text.concat (map serializeConcept rendered)
     assertEqual 1 (length (Text.breakOnAll "require all [a]" prose))
 
+testPreV03ProfileDecoding :: IO (Either Text ())
+testPreV03ProfileDecoding = do
+  path <- fixtureFilePath "profiles/pre-v0-3-formats.dhall"
+  file <- loadProfileFile path
+  registry <- loadRegistry (RegistryFile path)
+  pure $ do
+    spec <- file
+    entries <- firstShow registry
+    assertEqual [spec] (map (^. #spec) entries)
+    compiled <- firstShow (compileProfile spec)
+    let rules = compiledProfileBaseRules compiled
+    assertEqual False (spec ^. #allowUnknownFields)
+    start <- lookupCompiledRule "start" rules
+    assertEqual (Just Rfc3339Utc) (start ^. #format)
+    rows <- lookupCompiledRule "rows" rules
+    assertEqual (Just False) (fieldRuleElementAllowsUnknownFields rows)
+    assertEqual (Just (Just FiniteDecimal)) ((^. #format) <$> (rows ^. #elementFields >>= Map.lookup "score"))
+
 -- Exercise exact file decoding, width-extracting registry decoding, and local
 -- discovery; the root-level closure flag in the frozen fixture is intentional.
 testNestedClosureDecoding :: IO (Either Text ())
@@ -8913,7 +9323,7 @@
     conceptId <- parseTestConceptId rawId
     document <- firstShow (parseDocument (sweepDocument fields))
     pure (conceptFromDocument conceptId document)
-  pure (Sweep.SuiteBundle bundlePath concepts (bundleInventoryOfConcepts concepts) VersionUndeclared [sweepLogFile])
+  pure (Sweep.SuiteBundle bundlePath concepts (bundleInventoryOfConcepts concepts) VersionUndeclared [sweepLogFile] [])
 
 memoryCase :: Text -> Text -> [(Text, Text)] -> Either Text Sweep.RejectionCase
 memoryCase caseName expected fields =
diff --git a/test/fixtures/attested-computation/computations/churn.md b/test/fixtures/attested-computation/computations/churn.md
--- a/test/fixtures/attested-computation/computations/churn.md
+++ b/test/fixtures/attested-computation/computations/churn.md
@@ -15,9 +15,11 @@
 
 # Computation
 
-    SELECT SAFE_DIVIDE(churned, started) AS churn
-    FROM finance.customer_cohorts
-    WHERE fiscal_year = @year
+```sql
+SELECT SAFE_DIVIDE(churned, started) AS churn
+FROM finance.customer_cohorts
+WHERE fiscal_year = @year
+```
 
 The one concept here that OKF itself has nothing to say about. It declares the
 `runtime` specification section 10.2 marks REQUIRED, offers exactly one
diff --git a/test/fixtures/attested-computation/computations/margin.md b/test/fixtures/attested-computation/computations/margin.md
--- a/test/fixtures/attested-computation/computations/margin.md
+++ b/test/fixtures/attested-computation/computations/margin.md
@@ -14,9 +14,11 @@
 
 # Computation
 
-    SELECT SAFE_DIVIDE(gross_profit, revenue) AS margin
-    FROM finance.income_statement
-    WHERE fiscal_year = @year
+```sql
+SELECT SAFE_DIVIDE(gross_profit, revenue) AS margin
+FROM finance.income_statement
+WHERE fiscal_year = @year
+```
 
 Declares no `runtime`, which specification section 10.2 marks REQUIRED for this
 type. This is the one concept in the bundle strict validation reports, and it
diff --git a/test/fixtures/attested-computation/computations/revenue.md b/test/fixtures/attested-computation/computations/revenue.md
--- a/test/fixtures/attested-computation/computations/revenue.md
+++ b/test/fixtures/attested-computation/computations/revenue.md
@@ -24,9 +24,11 @@
 
 # Computation
 
-    SELECT SUM(amount) AS revenue
-    FROM finance.recognized_revenue
-    WHERE fiscal_year = @year
+```sql
+SELECT SUM(amount) AS revenue
+FROM finance.recognized_revenue
+WHERE fiscal_year = @year
+```
 
 The computation binds only the declared `parameters`. Both path-valued contract
 fields are written in specification section 6.2's bundle-relative form, with a
diff --git a/test/fixtures/dangling-frontmatter-path/computations/spec-spelling.md b/test/fixtures/dangling-frontmatter-path/computations/spec-spelling.md
--- a/test/fixtures/dangling-frontmatter-path/computations/spec-spelling.md
+++ b/test/fixtures/dangling-frontmatter-path/computations/spec-spelling.md
@@ -10,17 +10,6 @@
 
 # Specification Spelling
 
-Specification section 10.2's worked example writes
-`executor.resource: references/skills/run-on-bq.md` and section 10.4 puts
-computations in a `computations/` folder, so a bundle assembled from the
-specification's own text names a path nobody wrote.
-
-Section 6.2 resolution is unchanged and this concept's `resource` really does
-name `computations/references/attesters/revenue.py`, which is not here. What the
-diagnostic adds is the spelling that would have worked:
-`/references/attesters/revenue.py`.
-
-The sibling `non-markdown.md` writes the same bare text and resolves, because it
-sits at the bundle root where the relative and bundle-relative readings are the
-same path. That is the whole of the difference, and it is why a concept in a
-subdirectory is the only shape that can carry this hint.
+The v0.2 declaration permits resolving this bare resource from the bundle
+root after a local miss. Under v0.3 the same value produces a strict path
+diagnostic, with `/references/attesters/revenue.py` as the repair.
diff --git a/test/fixtures/profiles/pre-v0-3-formats.dhall b/test/fixtures/profiles/pre-v0-3-formats.dhall
new file mode 100644
--- /dev/null
+++ b/test/fixtures/profiles/pre-v0-3-formats.dhall
@@ -0,0 +1,202 @@
+--| FROZEN: the descriptor shape shipped with okf-core 0.13.0.0.
+-- Every reachable record and union is inline; no live schema imports.
+let Cardinality = < Any | Scalar | List >
+
+let FieldFormat =
+      < Rfc3339Utc
+      | Date
+      | Uri
+      | UriWithScheme : Text
+      | DocumentHandle : Text
+      | Actor
+      | HumanActor
+      | Integer
+      | NonNegativeInteger
+      | FiniteDecimal
+      | Boolean
+      >
+
+let FieldCondition = { field : Text, hasValue : List Text }
+
+let HandleReferenceRule =
+      { localPrefix : Text
+      , externalUriSchemes : List Text
+      , allowSelf : Bool
+      , allowLocal : Bool
+      , externalUriPattern : Optional Text
+      }
+
+let PathReferenceRule = { externalUriSchemes : List Text, allowSelf : Bool }
+
+let NestedFieldRule =
+      { field : Text
+      , description : Optional Text
+      , allowedValues : List Text
+      , cardinality : Cardinality
+      , format : Optional FieldFormat
+      , path : Optional PathReferenceRule
+      , when : Optional FieldCondition
+      , reference : Optional HandleReferenceRule
+      }
+
+let ValueSelector = { field : Text, member : Optional Text }
+
+let PresenceConstraint =
+      { when : Optional FieldCondition
+      , whenAnyPresent : List ValueSelector
+      , requireAll : List ValueSelector
+      , requireAny : List ValueSelector
+      }
+
+let TimestampOrderConstraint = { before : Text, after : Text }
+
+let MembershipConstraint = { source : ValueSelector, target : ValueSelector }
+
+let UniqueValuesConstraint = { selectors : List ValueSelector }
+
+let NestedRules =
+      { allowUnknownFields : Bool
+      , required : List NestedFieldRule
+      , recommended : List NestedFieldRule
+      , optional : List NestedFieldRule
+      , presenceConstraints : List PresenceConstraint
+      , timestampOrderConstraints : List TimestampOrderConstraint
+      }
+
+let FieldRule =
+      { field : Text
+      , description : Optional Text
+      , allowedValues : List Text
+      , cardinality : Cardinality
+      , format : Optional FieldFormat
+      , elementFields : Optional NestedRules
+      , objectFields : Optional NestedRules
+      , reference : Optional HandleReferenceRule
+      , path : Optional PathReferenceRule
+      , when : Optional FieldCondition
+      , uniqueBy : Optional Text
+      }
+
+let FrontmatterRules =
+      { required : List FieldRule
+      , recommended : List FieldRule
+      , optional : List FieldRule
+      , presenceConstraints : List PresenceConstraint
+      , timestampOrderConstraints : List TimestampOrderConstraint
+      , membershipConstraints : List MembershipConstraint
+      , uniqueValuesConstraints : List UniqueValuesConstraint
+      }
+
+let plain =
+      \(field : Text) ->
+        { field
+        , description = None Text
+        , allowedValues = [] : List Text
+        , cardinality = Cardinality.Any
+        , format = None FieldFormat
+        , elementFields = None NestedRules
+        , objectFields = None NestedRules
+        , reference = None HandleReferenceRule
+        , path = None PathReferenceRule
+        , when = None FieldCondition
+        , uniqueBy = None Text
+        }
+
+let nestedPlain =
+      \(field : Text) ->
+        { field
+        , description = None Text
+        , allowedValues = [] : List Text
+        , cardinality = Cardinality.Any
+        , format = None FieldFormat
+        , path = None PathReferenceRule
+        , when = None FieldCondition
+        , reference = None HandleReferenceRule
+        }
+
+let select = \(field : Text) -> { field, member = None Text }
+
+let scalar =
+      \(field : Text) ->
+        nestedPlain field // { cardinality = Cardinality.Scalar }
+
+let members
+    : NestedRules
+    = { allowUnknownFields = False
+      , required = [ scalar "name" ]
+      , recommended = [] : List NestedFieldRule
+      , optional =
+        [ scalar "start" // { format = Some FieldFormat.Rfc3339Utc }
+        , scalar "end" // { format = Some FieldFormat.Rfc3339Utc }
+        , scalar "score" // { format = Some FieldFormat.FiniteDecimal }
+        ]
+      , presenceConstraints =
+        [ { when = None FieldCondition
+          , whenAnyPresent = [ select "start" ]
+          , requireAll = [ select "end" ]
+          , requireAny = [] : List ValueSelector
+          }
+        ]
+      , timestampOrderConstraints = [ { before = "start", after = "end" } ]
+      }
+
+let fields
+    : FrontmatterRules
+    = { required = [] : List FieldRule
+      , recommended = [] : List FieldRule
+      , optional =
+        [ plain "rows" // { elementFields = Some members }
+        , plain "settings" // { objectFields = Some members }
+        , plain "names" // { cardinality = Cardinality.List }
+        ,     plain "start"
+          //  { cardinality = Cardinality.Scalar
+              , format = Some FieldFormat.Rfc3339Utc
+              }
+        ,     plain "end"
+          //  { cardinality = Cardinality.Scalar
+              , format = Some FieldFormat.Rfc3339Utc
+              }
+        ]
+      , presenceConstraints =
+        [ { when = None FieldCondition
+          , whenAnyPresent = [ select "start" ]
+          , requireAll = [ select "end" ]
+          , requireAny = [] : List ValueSelector
+          }
+        ]
+      , timestampOrderConstraints = [ { before = "start", after = "end" } ]
+      , membershipConstraints =
+        [ { source = { field = "rows", member = Some "name" }
+          , target = select "names"
+          }
+        ]
+      , uniqueValuesConstraints =
+        [ { selectors =
+            [ select "names", { field = "settings", member = Some "name" } ]
+          }
+        ]
+      }
+
+in  { name = "pre-v0-3-formats"
+    , description = Some
+        "The complete descriptor immediately before the v0.3 format extensions."
+    , okfVersion = "0.2"
+    , guidance = Some "Frozen guidance"
+    , frontmatter = fields
+    , allowUnknownTypes = False
+    , allowUnknownFields = False
+    , idField = None Text
+    , requireBundleVersion = Some "0.2"
+    , types =
+      [ { type = "Note"
+        , description = None Text
+        , guidance = Some "Frozen type guidance"
+        , frontmatter = fields
+        , pathPattern = None Text
+        , resourceScheme = None Text
+        , requireSchemaSection = False
+        , schemaColumns = [] : List Text
+        , idPrefix = None Text
+        }
+      ]
+    }
