Preset execution surface

Run the preset against a seed, payload, and render snapshot before buyout.

This surface projects the selected preset into an execution manifest: representative source file, extracted code lines, derived data series, matrix state, graph nodes, and an execution hash that can flow into display, composer, and delivery.

Execution preview
Seeded composer
Open raw preview
Execution manifest
hash21ac0a2ea6f42011
stateac48f541a19ac7bd
fidelity0.98
source.ts
{
  "item": {
    "id": "phi-request-ontology-graph",
    "title": "PHI request ontology graph",
    "type": "ontology",
    "family": "polyfractal graph",
    "summary": "RequestStudio intake, service tree, abstract cards, and automation blueprint as a graph-aware module.",
    "sourcePath": "/rhiz/phi/src/components/RequestStudio.tsx",
    "docPath": "/rhiz/phi/src/lib/service-catalog.ts",
    "actionLabel": "Route module"
  },
  "seed": "odyssee-genesis",
  "payloadText": "{\n  \"preset\": \"phi-request-ontology-graph\",\n  \"family\": \"polyfractal graph\",\n  \"type\": \"ontology\",\n  \"amplitude\": 5,\n  \"density\": 7,\n  \"directives\": [\n    \"polyfractal graph\",\n    \"ontology\"\n  ]\n}",
  "parsedPayload": {
    "kind": "object",
    "values": [
      26,
      17,
      8,
      5,
      7,
      2
    ],
    "keys": [
      "preset",
      "family",
      "type",
      "amplitude",
      "density",
      "directives"
    ],
    "raw": "{\n  \"preset\": \"phi-request-ontology-graph\",\n  \"family\": \"polyfractal graph\",\n  \"type\": \"ontology\",\n  \"amplitude\": 5,\n  \"density\": 7,\n  \"directives\": [\n    \"polyfractal graph\",\n    \"ontology\"\n  ]\n}"
  },
  "previewMode": "network",
  "codeLines": [
    "import type { RequestCollection, ServiceNode } from '@/lib/types';",
    "export const phiServiceCatalog: ServiceNode[] = [",
    "export function cloneServiceCatalog() {",
    "export function toggleService(nodes: ServiceNode[], targetId: string): ServiceNode[] {",
    "export function calculateTotalValue(nodes: ServiceNode[]): number {",
    "const own = node.checked ? node.value : 0;",
    "const child = node.children?.length ? calculateTotalValue(node.children) : 0;",
    "export function flattenServices(nodes: ServiceNode[], inheritedDomain?: string): Array<ServiceNode & { resolvedDomain: string }> {"
  ],
  "keywords": [
    "domain",
    "description",
    "checked",
    "node",
    "service",
    "children"
  ],
  "metrics": {
    "representativePath": "/rhiz/phi/src/lib/service-catalog.ts",
    "sampledPaths": [
      "/rhiz/phi/src/lib/service-catalog.ts",
      "/rhiz/phi/src/components/RequestStudio.tsx"
    ],
    "extension": ".ts",
    "lines": 198,
    "nonEmptyLines": 186,
    "bytes": 10400,
    "importCount": 1,
    "exportCount": 7,
    "functionCount": 14,
    "classCount": 0,
    "objectKeys": 6,
    "payloadKind": "object"
  },
  "dataset": {
    "series": [
      89,
      83,
      58,
      47,
      69,
      38,
      75,
      95,
      18,
      78,
      98,
      63,
      31,
      16,
      27,
      97,
      55,
      63,
      68,
      7,
      12,
      93,
      95,
      66
    ],
    "matrix": [
      [
        0.89,
        0.83,
        0.58,
        0.47,
        0.69,
        0.38
      ],
      [
        0.75,
        0.95,
        0.18,
        0.78,
        0.98,
        0.63
      ],
      [
        0.31,
        0.16,
        0.27,
        0.97,
        0.55,
        0.63
      ],
      [
        0.68,
        0.07,
        0.12,
        0.93,
        0.95,
        0.66
      ],
      [
        0.89,
        0.83,
        0.58,
        0.47,
        0.69,
        0.38
      ],
      [
        0.75,
        0.95,
        0.18,
        0.78,
        0.98,
        0.63
      ]
    ],
    "nodes": [
      {
        "id": "phi-request-ontology-graph-0",
        "label": "domain",
        "weight": 89
      },
      {
        "id": "phi-request-ontology-graph-1",
        "label": "description",
        "weight": 83
      },
      {
        "id": "phi-request-ontology-graph-2",
        "label": "checked",
        "weight": 58
      },
      {
        "id": "phi-request-ontology-graph-3",
        "label": "node",
        "weight": 47
      },
      {
        "id": "phi-request-ontology-graph-4",
        "label": "service",
        "weight": 69
      },
      {
        "id": "phi-request-ontology-graph-5",
        "label": "children",
        "weight": 38
      }
    ],
    "edges": [
      {
        "from": "phi-request-ontology-graph-0",
        "to": "phi-request-ontology-graph-1",
        "weight": 172
      },
      {
        "from": "phi-request-ontology-graph-0",
        "to": "phi-request-ontology-graph-2",
        "weight": 89
      },
      {
        "from": "phi-request-ontology-graph-1",
        "to": "phi-request-ontology-graph-2",
        "weight": 141
      },
      {
        "from": "phi-request-ontology-graph-1",
        "to": "phi-request-ontology-graph-3",
        "weight": 83
      },
      {
        "from": "phi-request-ontology-graph-2",
        "to": "phi-request-ontology-graph-3",
        "weight": 105
      },
      {
        "from": "phi-request-ontology-graph-2",
        "to": "phi-request-ontology-graph-4",
        "weight": 69
      },
      {
        "from": "phi-request-ontology-graph-3",
        "to": "phi-request-ontology-graph-4",
        "weight": 116
      },
      {
        "from": "phi-request-ontology-graph-3",
        "to": "phi-request-ontology-graph-5",
        "weight": 47
      },
      {
        "from": "phi-request-ontology-graph-4",
        "to": "phi-request-ontology-graph-5",
        "weight": 107
      },
      {
        "from": "phi-request-ontology-graph-4",
        "to": "phi-request-ontology-graph-0",
        "weight": 89
      },
      {
        "from": "phi-request-ontology-graph-5",
        "to": "phi-request-ontology-graph-0",
        "weight": 127
      },
      {
        "from": "phi-request-ontology-graph-5",
        "to": "phi-request-ontology-graph-1",
        "weight": 83
      }
    ],
    "payloadKeys": [
      "preset",
      "family",
      "type",
      "amplitude",
      "density",
      "directives"
    ],
    "payloadKind": "object"
  },
  "snapshot": {
    "executionHash": "21ac0a2ea6f420110855409786befa66544d862e6ceb9e6d1373fea98cf3b7a6",
    "stateHash": "ac48f541a19ac7bd45f57813e8add99747b4549c130b6438f8c2f5c25f68b983",
    "fidelity": 0.98,
    "phaseVector": [
      89,
      83,
      58,
      47
    ],
    "superpositionBands": [
      0.89,
      0.83,
      0.58,
      0.47,
      0.69,
      0.38
    ]
  }
}