Execution manifesthash434423532d7f76fc
statec0a1060d42943803
fidelity0.80
source.ts
{
"item": {
"id": "factory-ethos-safety",
"title": "Factory ethos safety engine",
"type": "formalism",
"family": "factory ethos",
"summary": "Ethos engine, safety, topology, and sandbox rules converted into buyout heuristics and policy presets.",
"sourcePath": "/rhiz/factory/src/lib/ethos/engine/core.ts",
"docPath": "/rhiz/factory/src/lib/ethos/safety.ts",
"actionLabel": "Open ethos preset"
},
"seed": "phi-request-ontology-graph",
"payloadText": "{\n \"preset\": \"factory-ethos-safety\",\n \"family\": \"factory ethos\",\n \"type\": \"formalism\",\n \"amplitude\": 5,\n \"density\": 7,\n \"directives\": [\n \"factory ethos\",\n \"formalism\"\n ]\n}",
"parsedPayload": {
"kind": "object",
"values": [
20,
13,
9,
5,
7,
2
],
"keys": [
"preset",
"family",
"type",
"amplitude",
"density",
"directives"
],
"raw": "{\n \"preset\": \"factory-ethos-safety\",\n \"family\": \"factory ethos\",\n \"type\": \"formalism\",\n \"amplitude\": 5,\n \"density\": 7,\n \"directives\": [\n \"factory ethos\",\n \"formalism\"\n ]\n}"
},
"previewMode": "matrix",
"codeLines": [
"import crypto from 'crypto';",
"import { storage } from '@/lib/storage';",
"export type RFBand = { name:string; min:number; max:number; note?:string };",
"export const DISALLOWED_BANDS: RFBand[] = [",
"export function intersectsDisallowed(freqHz:number): RFBand|null{",
"for(const b of DISALLOWED_BANDS){ if(freqHz>=b.min && freqHz<=b.max) return b; }",
"export function getSandboxState(){",
"const conf = storage.getAllConfigs();"
],
"keywords": [
"name",
"verify",
"ethos",
"crypto",
"storage",
"sandbox"
],
"metrics": {
"representativePath": "/rhiz/factory/src/lib/ethos/safety.ts",
"sampledPaths": [
"/rhiz/factory/src/lib/ethos/safety.ts",
"/rhiz/factory/src/lib/ethos/engine/core.ts"
],
"extension": ".ts",
"lines": 56,
"nonEmptyLines": 48,
"bytes": 2077,
"importCount": 2,
"exportCount": 7,
"functionCount": 5,
"classCount": 0,
"objectKeys": 6,
"payloadKind": "object"
},
"dataset": {
"series": [
71,
67,
63,
47,
69,
38,
21,
38,
22,
87,
12,
50,
26,
49,
64,
13,
53,
55,
67,
37,
18,
43,
8,
70
],
"matrix": [
[
0.71,
0.67,
0.63,
0.47,
0.69,
0.38
],
[
0.21,
0.38,
0.22,
0.87,
0.12,
0.5
],
[
0.26,
0.49,
0.64,
0.13,
0.53,
0.55
],
[
0.67,
0.37,
0.18,
0.43,
0.08,
0.7
],
[
0.71,
0.67,
0.63,
0.47,
0.69,
0.38
],
[
0.21,
0.38,
0.22,
0.87,
0.12,
0.5
]
],
"nodes": [
{
"id": "factory-ethos-safety-0",
"label": "name",
"weight": 71
},
{
"id": "factory-ethos-safety-1",
"label": "verify",
"weight": 67
},
{
"id": "factory-ethos-safety-2",
"label": "ethos",
"weight": 63
},
{
"id": "factory-ethos-safety-3",
"label": "crypto",
"weight": 47
},
{
"id": "factory-ethos-safety-4",
"label": "storage",
"weight": 69
},
{
"id": "factory-ethos-safety-5",
"label": "sandbox",
"weight": 38
}
],
"edges": [
{
"from": "factory-ethos-safety-0",
"to": "factory-ethos-safety-1",
"weight": 138
},
{
"from": "factory-ethos-safety-0",
"to": "factory-ethos-safety-2",
"weight": 71
},
{
"from": "factory-ethos-safety-1",
"to": "factory-ethos-safety-2",
"weight": 130
},
{
"from": "factory-ethos-safety-1",
"to": "factory-ethos-safety-3",
"weight": 67
},
{
"from": "factory-ethos-safety-2",
"to": "factory-ethos-safety-3",
"weight": 110
},
{
"from": "factory-ethos-safety-2",
"to": "factory-ethos-safety-4",
"weight": 69
},
{
"from": "factory-ethos-safety-3",
"to": "factory-ethos-safety-4",
"weight": 116
},
{
"from": "factory-ethos-safety-3",
"to": "factory-ethos-safety-5",
"weight": 47
},
{
"from": "factory-ethos-safety-4",
"to": "factory-ethos-safety-5",
"weight": 107
},
{
"from": "factory-ethos-safety-4",
"to": "factory-ethos-safety-0",
"weight": 71
},
{
"from": "factory-ethos-safety-5",
"to": "factory-ethos-safety-0",
"weight": 109
},
{
"from": "factory-ethos-safety-5",
"to": "factory-ethos-safety-1",
"weight": 67
}
],
"payloadKeys": [
"preset",
"family",
"type",
"amplitude",
"density",
"directives"
],
"payloadKind": "object"
},
"snapshot": {
"executionHash": "434423532d7f76fc2b02370f0116f6db785493d53bbb5981b9c3ae89eb3dabd7",
"stateHash": "c0a1060d4294380377ad11e2f81fd915fa25a223daafe505816d2ebc0cc32a50",
"fidelity": 0.8,
"phaseVector": [
71,
67,
63,
47
],
"superpositionBands": [
0.71,
0.67,
0.63,
0.47,
0.69,
0.38
]
}
}