Class ScaffoldManifestIo

java.lang.Object
network.ike.plugin.scaffold.ScaffoldManifestIo

public final class ScaffoldManifestIo extends Object
Read a scaffold manifest from YAML.

The manifest is shipped by ike-build-standards; the scaffold plugin never writes it, only reads it. Parsing is lenient about extra top-level keys (future extensions) but strict about every key that drives behaviour.

Raw adapter-specific configuration (under keys like ensure, never-touch, block-begin, block-end, create-source) is preserved verbatim in ManifestEntry.extras() so tier handlers and model adapters can parse their own subtrees.

  • Method Details

    • read

      public static ScaffoldManifest read(Path path)
      Parse a manifest from a file path.
      Parameters:
      path - path to the YAML manifest
      Returns:
      the parsed manifest
      Throws:
      ScaffoldException - if the file cannot be read, is empty, has an unsupported schema version, or contains an invalid entry
    • read

      public static ScaffoldManifest read(Reader reader)
      Parse a manifest from a Reader.
      Parameters:
      reader - source of YAML text
      Returns:
      the parsed manifest