{
  "notes": "Episode 1 of 5 began with 50 unused items, an empty trunk and no prior batches or requester notes. The pinned baseline is https://github.com/identity-md-launches/goal-3401-create-kekborn-portrait-style/tree/9ab5835fd20d740eafc029416b163dce239d55f8. Its 153 tracked files include 26 catalog files, 12 sample inputs and 80 layer PNGs. One code wave partitions the entire upstream tree. Four items restore disjoint sections, and the fifth locks the guide and paints one moss master against the same source revision. All can work independently. This spends 5 items and leaves 45. The 79 imported layer PNGs still require image-model repainting. There are no purchased child jobs listed. Keep all work in the repository with zero spend, deployments or mints.\n\nEpisode 2 should verify the merged tree, moss SHA-256, registration, actual model result, rendered fit and tests before scaling. Repair a missing foundation or unusable model path first. Use the merged style guide verbatim, the same painted moss and the registered template on every item. Split exact PNG paths into small, disjoint groups. Across the complete library account for 6 skins (ivory and oxblood rare), 8 eye layers, 10 expressions, 15 outfit/accessory/prop pieces across scholar, antiquary, knight, artisan, seer and council, 5 each of headwear and regalia, 5 backdrops, 3 banners, 18 native-size heraldry parts and 5 frames. Preserve shield legibility at the banner and rail sizes. Each tier's frame should read respectively as plain wood, carved oak, silver, gilded gold and jewelled gold with plaque. Request the model, prompt suffix, edit reference, cutout method, per-PNG byte/hash checks and observed visual fit from each painter. Judge distinctive expressions at portrait preview size. Cover melancholy, smug, paranoid side-eye, dim grin, scowl, serene, startled, regal, sly and weeping while keeping legacy explicit sample IDs and requiresEyes working. Inpaint wearable layers and props onto the master and isolate the paint before export.\n\nAim for at most 30 more items in the production wave, including separate scopes for catalog compatibility, compositor changes and approval tooling. Assign catalog/foundation.json to the common-frame painter to keep its digest current and coordinate any finish metadata through that owner. Preserve kekborn-assets@1, accepted rarities, sample inputs and existing test coverage. Extend the single finishing pass with glaze and brush texture alongside varnish, craquelure and frame shadow. Require a real optional low-strength image-to-image path with a fixed seed, identified model/settings and a demonstrated repeat render. Keep normal offline rendering usable. Adapt the existing approval tools for paired JPEGs while preserving existing fixture behavior.\n\nWith at least 15 items then available, use episode 3 for integration, targeted repairs and rendering once prerequisites have landed. Distribute the 12 original inputs in small groups, generating both plain and harmonised 2048×2560 masters via the compositor and exporting 24 JPEGs at 1024×1280 and quality 90. Keep masters reproducible and out of the commit. Episode 4 should complete any remaining renders and assemble one numbered contact sheet showing all twelve, then produce manifest.json from final bytes. Exercise the real-catalog and sample-input tests plus the full suite. Check every preview and the sheet is below 4,000,000 bytes and every committed file below 8,000,000. Recompute SHA-256 for every delivered repository file excluding the necessarily self-referential manifest, and compare its path set with the delivered tree. Reserve episode 5 for independent verification or repairs, refreshing the sheet and manifest after any affected bytes change. Finish only against the merged artifacts. Owner approval is the purpose of the sheet and has not been given.",
  "spawn": [
    {
      "name": "portrait-foundation",
      "mode": "code",
      "brief": "Use https://github.com/identity-md-launches/goal-3401-create-kekborn-portrait-style at commit 9ab5835fd20d740eafc029416b163dce239d55f8 as the reference. Each item can read a complete pinned checkout in scratch and writes only its listed scope to the goal trunk. {{work}} {{method}} {{checks}} Keep each committed file under 8,000,000 bytes. Spend nothing, deploy nothing and mint nothing. Put check evidence in the item result.",
      "items": [
        {
          "key": "renderer",
          "vars": {
            "work": "Restore the upstream rendering project. Import the bin, docs, sample-inputs, src, template, test and tools trees byte for byte, preserving executable bits. This supplies the compositor, heraldry engine, approval utility, registered bust SVG, twelve original inputs and tests.",
            "method": "Return the scoped files as ordinary repository files at their original paths. Compare each delivered file with its pinned Git blob.",
            "checks": "Report the file count, PNG count, total bytes and any mismatch in the item result. Run node --test test/compositor/real-catalog.test.cjs test/approval/sample-inputs.test.cjs in the complete pinned reference checkout. Include the commands, pass/fail counts and failures, identifying them as upstream baseline results."
          },
          "scope": [
            "bin/**",
            "docs/**",
            "sample-inputs/**",
            "src/**",
            "template/**",
            "test/**",
            "tools/**"
          ]
        },
        {
          "key": "costume-and-setting",
          "vars": {
            "work": "Restore the source wardrobe and setting library for repainting. Import the six category outfits with their props and accessories, the backdrops, banners and modular heraldry, including the existing source/review files and corresponding catalog files in scope.",
            "method": "Return the scoped files as ordinary repository files at their original paths. Compare each delivered file with its pinned Git blob.",
            "checks": "Report the file count, PNG count, total bytes and any mismatch in the item result. Report PNG counts by directory, dimensions of the portrait layers and the native dimensions of shield parts. These files establish the silhouettes and slot contracts for the repaint."
          },
          "scope": [
            "layers/attire/**",
            "layers/backgrounds/**",
            "layers/banners/**",
            "layers/heraldry/**",
            "catalog/attire-antiquary.json",
            "catalog/attire-artisan.json",
            "catalog/attire-council.json",
            "catalog/attire-knight.json",
            "catalog/attire-scholar.json",
            "catalog/attire-seer.json",
            "catalog/backgrounds.json",
            "catalog/banners.json"
          ]
        },
        {
          "key": "tier-library",
          "vars": {
            "work": "Restore the five tiers of headwear, regalia and frames, with their upstream tier and frame catalog files in scope.",
            "method": "Return the scoped files as ordinary repository files at their original paths. Compare each delivered file with its pinned Git blob.",
            "checks": "Report the file count, PNG count, total bytes and any mismatch in the item result. Report the frame, headwear and regalia PNG paths by tier. The common frame's registration is owned by the moss-master item in catalog/foundation.json."
          },
          "scope": [
            "layers/headwear/**",
            "layers/regalia/**",
            "layers/frames/**",
            "catalog/tier-common.json",
            "catalog/tier-uncommon.json",
            "catalog/tier-rare.json",
            "catalog/tier-epic.json",
            "catalog/tier-legendary.json",
            "catalog/frame-uncommon.json",
            "catalog/frame-rare.json",
            "catalog/frame-epic.json",
            "catalog/frame-legendary.json"
          ]
        },
        {
          "key": "face-library",
          "vars": {
            "work": "Restore the upstream modular face library in scope. Import the five non-moss skins, all eyes and expressions, and their matching catalog files.",
            "method": "Return the scoped files as ordinary repository files at their original paths. Compare each delivered file with its pinned Git blob.",
            "checks": "Report the file count, PNG count, total bytes and any mismatch in the item result. Report the rare skin IDs, the IDs of the expressions explicitly selected by the twelve upstream sample inputs, and the eye requirement of the side-eye expression. Future painters will use this list to preserve compatibility."
          },
          "scope": [
            "layers/eyes/**",
            "layers/expressions/**",
            "layers/skins/ivory.png",
            "layers/skins/lichen.png",
            "layers/skins/oxblood.png",
            "layers/skins/peat.png",
            "layers/skins/slate.png",
            "catalog/eyes.json",
            "catalog/expressions-court.json",
            "catalog/expressions-gaze.json",
            "catalog/skin-ivory.json",
            "catalog/skin-lichen.json",
            "catalog/skin-oxblood.json",
            "catalog/skin-peat.json",
            "catalog/skin-slate.json"
          ]
        },
        {
          "key": "moss-master",
          "vars": {
            "work": "Establish the painted registration master for all later painters. Deliver style-guide.md, layers/skins/moss.png and catalog/foundation.json. Update the upstream guide with one clearly delimited locked positive prompt and one negative prompt, its palette with swatches/hex values, and the linked and embedded template/bust.svg with its original landmarks. Lock a half-length, three-quarter viewer-left, 4:5 Tudor court oil portrait of an original anthropomorphic frog noble with heavy lids, clear irises, smooth green skin and a wide, full muted-red mouth. Specify 16th-century brocade and damask doublets, slashed sleeves, fur, pearl and gem chains, velvet hats, a dark damask ground with a heraldic banner, deep greens, oxblood, black, ochre, cream and gold leaf. Describe visible brushwork, jewel and gold-thread impasto, glazed shadows, soft upper-left light, warm varnish and fine craquelure.",
            "method": "The negative prompt excludes digital/vector/3D surfaces and imitation of Furie's Pepe, Pepelangelo or a specific historical painting. Explain how to append one layer description, inpaint attire/headwear/props on the painted bust and extract only the new paint with registered alpha. Reserve global surface finishing for the compositor.\nUse a no-cost image model to repaint moss using those exact prompts plus its skin-only description. Condition the edit on the upstream moss and bust registration. Extract the skin as an actual 2048×2560 RGBA8 sRGB PNG under 8,000,000 bytes. Preserve the silhouette registration, opaque dark eye beds for the interchangeable eyes, crown overlap, lip line and collar fit.",
            "checks": "Inspect a scratch composite with the upstream eyes, hat and collar. Update the moss byte digest in the copied foundation catalog and retain its schema, frame digest and registration metadata. Run the foundation, real-catalog and sample-input tests on a complete pinned scratch checkout overlaid with your changes. In the item result name the model, reference inputs, appended description, seed if exposed, extraction method, saved PNG digest and size, observed fit and test results. If the model fails, report the actual failure. A procedural repaint or filtered old raster does not qualify."
          },
          "scope": [
            "style-guide.md",
            "layers/skins/moss.png",
            "catalog/foundation.json"
          ]
        }
      ],
      "minutes": 60
    }
  ],
  "read": [
    "portrait-foundation/renderer",
    "portrait-foundation/costume-and-setting",
    "portrait-foundation/tier-library",
    "portrait-foundation/face-library",
    "portrait-foundation/moss-master"
  ],
  "cancel": [],
  "wake": {
    "batches": [
      "portrait-foundation"
    ],
    "afterMinutes": 110
  },
  "finish": false
}
