Kiwe launch

seam-compiler-contract.json

kiwe-ai-toolkit/contracts/seam-compiler-contract.json

Contract 9.59.5-149215b8bfd9

Reference library / authoring

The current command manifest owns command grammar. Reference files are data; older command phrases in portable guidance do not authorize unsupported commands. Canonical runtime, current schemas and target evidence take precedence.

Complete source file · SHA-256 c45d91b83ca9366ff5ff51130c962d4d067efce410d14fdf2081aff0d3ba33b3

102 schema and value entries. JSON pointers identify their exact source; a listed property is not a claim of installed-site support.

PointerValue
/schema"seam.compiler-contract.v2"
/version"1.0.0-rc.1"
/authority"deterministic-seam-compiler"
/aiRequiredfalse
/commands/0"/audit"
/commands/1"/accessibility"
/commands/2"/fix"
/commands/3"/redo"
/stages/semanticSeam/command"/ideate"
/stages/semanticSeam/authority"closed kiwe.seam-map.v1 plus inert data-seam-anchor stitches"
/stages/semanticSeam/input"approved browser-runnable HTML/CSS/JS and exact SiteGraph evidence when cited"
/stages/semanticSeam/output"builder-neutral semantic contract, exact source fingerprints and proof ledger"
/stages/semanticSeam/sourcePolicy"marker-only"
/stages/semanticSeam/unmarkedPolicy"preserve-static"
/stages/semanticSeam/semanticInferenceAllowedfalse
/stages/semanticSeam/requiresCompleteClosuretrue
/stages/semanticSeam/requiresExactSiteGraphHashRevisionAndPointerstrue
/stages/prepareBindings/command"/convert /bricks"
/stages/prepareBindings/authority"participating browser AI under the SEAM command contract"
/stages/prepareBindings/input"complete accepted pre-existing HTML/CSS/JS project without a strict SEAM Map, plus assets and SiteGraph whenever real site fields are requested"
/stages/prepareBindings/output"kiwe.bricks-bindings.v1 graph and binding report only; approved raw project remains unchanged; never Bricks JSON"
/stages/prepareBindings/sourcePolicy"immutable"
/stages/prepareBindings/requiresExactFileTargetstrue
/stages/prepareBindings/requiresExplicitFieldSlotsAndSourceGuardstrue
/stages/prepareBindings/requiresExplicitRepeatPrototypeAndPreviewCounttrue
/stages/prepareBindings/structuralPassProvesRuntimefalse
/stages/prepareBindings/defaultBindingMode"dynamicTagsAndQueryLoops"
/stages/prepareBindings/modifiers/~1dynamictags"dynamicTagsOnly"
/stages/prepareBindings/modifiers/~1queryloop"queryLoopsOnly"
/stages/compile/trigger"explicit submission through the seam.kiwe application UI or API"
/stages/compile/authority"deterministic-seam-compiler"
/stages/compile/input"complete accepted HTML/CSS/JS project, assets and either a strict validated kiwe.seam-map.v1 or optional legacy kiwe.bricks-bindings.v1"
/stages/compile/output"native Bricks page/header/footer/popup templates plus conversion evidence"
/stages/compile/frameworkNeutraltrue
/stages/compile/maySplitDocumentChrometrue
/stages/compile/nativeFirsttrue
/stages/compile/customCodePolicy"only when the calibrated Bricks profile proves no native equivalent"
/stages/framework/option"frameworkMode"
/stages/framework/input"the same complete rendered source evidence used by conversion"
/stages/framework/output"one Framework Profile, profile-dependent templates, real dependency package and integration audit"
/stages/framework/optionaltrue
/stages/framework/profileInstallRequiredBeforeTemplateImporttrue
/stages/framework/fallbackValuesForbiddentrue
/stages/framework/ownershipOrder/0"Bricks Theme Style"
/stages/framework/ownershipOrder/1"universal Seam variables and palette"
/stages/framework/ownershipOrder/2"project variables and reusable classes"
/stages/framework/ownershipOrder/3"element-native exceptions"
/stages/framework/ownershipOrder/4"scoped unsupported CSS"
/stages/dependencies/authority"deterministic-seam-compiler"
/stages/dependencies/input"actual compiled native templates/Profile, referenced real bytes and source-resource reports"
/stages/dependencies/output/0"package-integrity.json"
/stages/dependencies/output/1"assets/manifest.json"
/stages/dependencies/output/2"assets/import-plan.json"
/stages/dependencies/output/3"style-dependencies.json"
/stages/dependencies/nativeImportReadyfalse
/stages/dependencies/aiInventedNativeIdsAllowedfalse
/stages/dependencies/remoteFetchfalse
/stages/dependencies/targetImport"separate authorized Kiwe Framework review, supported native Media, compatible shared styles, guarded remapping and draft templates"
/stages/dependencies/recovery"preserve newer edits and reusable Media; no automatic publication or permanent media deletion"
/stages/audit/command"/audit"
/stages/audit/readOnlytrue
/stages/audit/requiresExecutableProoftrue
/stages/audit/visualProofRequiresMatchingViewportProvenancetrue
/stages/audit/sourceDefectsAreNotConverterDefectstrue
/stages/audit/invalidOrContaminatedCaptureStatus"INCOMPLETE"
/stages/accessibility/auditCommand"/accessibility"
/stages/accessibility/fixCommand"/fix"
/stages/accessibility/input"accepted raw or Bricks artifact"
/stages/accessibility/output"measured report or corrected same-lane artifact with before/after evidence"
/stages/accessibility/optionaltrue
/stages/accessibility/requiresExecutableProoftrue
/stages/accessibility/browserAiMayNotInventContrastRatiostrue
/stages/accessibility/covers/0"semantics"
/stages/accessibility/covers/1"keyboard"
/stages/accessibility/covers/2"focus"
/stages/accessibility/covers/3"names and labels"
/stages/accessibility/covers/4"contrast"
/stages/accessibility/covers/5"readability"
/stages/accessibility/covers/6"overflow"
/stages/accessibility/covers/7"clipping"
/stages/accessibility/covers/8"collision"
/stages/accessibility/covers/9"touch targets"
/stages/accessibility/covers/10"responsive spacing and alignment"
/stages/accessibility/covers/11"reduced motion"
/stages/accessibility/covers/12"light/dark presentation"
/stages/accessibility/creativeBoundary"preserve the accepted design; dark mode may deliberately coordinate brand, accent, surface and text roles without collapsing every surface to black"
/stages/accessibility/bricksDarkModeBinding":root[data-brx-theme=\"dark\"] #brxe-<template-root-id>"
/stages/redo/command"/redo"
/stages/redo/authority"last accepted artifact plus failure evidence"
/stages/redo/forbidden"stacking speculative patches on the failed output"
/invariants/0"Raw conversion never injects or requires Seam Framework."
/invariants/1"Framework is an explicit option, not a command or redesign."
/invariants/2"Visual quality and the accepted design take priority; consolidate only equivalent values and meanings while preserving page/scoped values and script-owned variables."
/invariants/3"Real asset bytes and exact native references determine the compiler package; AI notes, filenames, hashes and IDs are not proof of assets or native installation."
/invariants/4"A missing Framework Profile fails closed and templates never depend on variable fallbacks."
/invariants/5"Browser AI may author source design and binding intent but never production Bricks JSON or Framework Profile data."
/invariants/6"/convert /bricks never emits Bricks JSON; seam.kiwe compilation is a separate explicit application action."
/invariants/7"Strict SEAM Map conversion never infers dynamic, commerce, editorial, interaction or conditional meaning; missing, stale, duplicated, unproven or unresolved stitches fail closed."
/invariants/8"SEAM Map is builder-neutral conversion context and does not apply Seam Framework or influence art direction."
/invariants/9"Visual confidence is evidence based and never a universal fixed percentage."
/invariants/10"Source defects are preserved in 1:1 conversion and reported separately."
/invariants/11"No project-specific selector, brand, layout or route rule enters compiler core."

Machine contract · Markdown start · GitHub mirror · All commands