Keep Loki runtime witnesses local
This commit is contained in:
parent
ae87719d61
commit
216d4e6fea
4 changed files with 1 additions and 310 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,4 +1,5 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
|
state/*.cc
|
||||||
state/*.tmp
|
state/*.tmp
|
||||||
state/*.log
|
state/*.log
|
||||||
state/runtime/
|
state/runtime/
|
||||||
|
|
|
||||||
|
|
@ -1,49 +0,0 @@
|
||||||
# cultcache-text-witness v0
|
|
||||||
# schema: gamecult.loki.chrome_snapshot.v0
|
|
||||||
# provider: loki.chrome
|
|
||||||
# updatedAt: 2026-06-09T15:11:06.124Z
|
|
||||||
{
|
|
||||||
"schema": "gamecult.loki.chrome_snapshot.v0",
|
|
||||||
"providerId": "loki.chrome",
|
|
||||||
"serviceId": "loki.chrome_daemon",
|
|
||||||
"observedAt": "2026-06-09T15:11:06.124Z",
|
|
||||||
"activeSource": "none",
|
|
||||||
"freshness": {
|
|
||||||
"state": "unreachable",
|
|
||||||
"lastSeenAt": null,
|
|
||||||
"maxAgeMs": 15000
|
|
||||||
},
|
|
||||||
"sources": {
|
|
||||||
"cdp": {
|
|
||||||
"state": "unreachable",
|
|
||||||
"observedAt": "2026-06-09T15:11:06.096Z"
|
|
||||||
},
|
|
||||||
"chromeExtension": {
|
|
||||||
"state": "missing",
|
|
||||||
"observedAt": null
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cdp": {
|
|
||||||
"endpoint": "http://127.0.0.1:9222",
|
|
||||||
"reachable": false,
|
|
||||||
"error": "fetch failed"
|
|
||||||
},
|
|
||||||
"extension": {
|
|
||||||
"reachable": false,
|
|
||||||
"ingestEndpoint": "http://127.0.0.1:17666/ingest/chrome-extension",
|
|
||||||
"error": "no extension report received"
|
|
||||||
},
|
|
||||||
"tabs": [],
|
|
||||||
"summary": {
|
|
||||||
"tabCount": 0,
|
|
||||||
"inspectableTabCount": 0,
|
|
||||||
"activeTabCount": 0
|
|
||||||
},
|
|
||||||
"redaction": {
|
|
||||||
"urlQuery": "not-observed",
|
|
||||||
"titles": "not-observed",
|
|
||||||
"pageContent": "not-read",
|
|
||||||
"cookies": "not-read",
|
|
||||||
"source": "none"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,135 +0,0 @@
|
||||||
# cultcache-text-witness v0
|
|
||||||
# schema: gamecult.eve.surface.v1
|
|
||||||
# provider: loki.chrome
|
|
||||||
# updatedAt: 2026-06-09T15:11:06.124Z
|
|
||||||
{
|
|
||||||
"type": "surface-state",
|
|
||||||
"schema": "gamecult.eve.surface.v1",
|
|
||||||
"providerId": "loki.chrome",
|
|
||||||
"providerKind": "service.operator",
|
|
||||||
"title": "Loki Chrome",
|
|
||||||
"version": 1781017866124,
|
|
||||||
"updatedAt": "2026-06-09T15:11:06.124Z",
|
|
||||||
"surface": {
|
|
||||||
"root": {
|
|
||||||
"id": "loki.chrome.root",
|
|
||||||
"kind": "surface",
|
|
||||||
"props": {
|
|
||||||
"layout": "operator",
|
|
||||||
"freshness": {
|
|
||||||
"state": "unreachable",
|
|
||||||
"lastSeenAt": null,
|
|
||||||
"maxAgeMs": 15000
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.summary",
|
|
||||||
"kind": "panel",
|
|
||||||
"props": {
|
|
||||||
"title": "Chrome Observation",
|
|
||||||
"tone": "warning"
|
|
||||||
},
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.metric.reachable",
|
|
||||||
"kind": "metric",
|
|
||||||
"props": {
|
|
||||||
"label": "Reachable",
|
|
||||||
"value": "no",
|
|
||||||
"tone": "warning"
|
|
||||||
},
|
|
||||||
"children": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.metric.source",
|
|
||||||
"kind": "metric",
|
|
||||||
"props": {
|
|
||||||
"label": "Source",
|
|
||||||
"value": "none",
|
|
||||||
"tone": "warning"
|
|
||||||
},
|
|
||||||
"children": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.metric.tabs",
|
|
||||||
"kind": "metric",
|
|
||||||
"props": {
|
|
||||||
"label": "Tabs",
|
|
||||||
"value": "0",
|
|
||||||
"tone": "neutral"
|
|
||||||
},
|
|
||||||
"children": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.metric.inspectable",
|
|
||||||
"kind": "metric",
|
|
||||||
"props": {
|
|
||||||
"label": "Inspectable",
|
|
||||||
"value": "0",
|
|
||||||
"tone": "neutral"
|
|
||||||
},
|
|
||||||
"children": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.extension-endpoint",
|
|
||||||
"kind": "inspector.kv",
|
|
||||||
"props": {
|
|
||||||
"label": "Extension ingest",
|
|
||||||
"value": "http://127.0.0.1:17666/ingest/chrome-extension",
|
|
||||||
"tone": "muted"
|
|
||||||
},
|
|
||||||
"children": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.cdp-endpoint",
|
|
||||||
"kind": "inspector.kv",
|
|
||||||
"props": {
|
|
||||||
"label": "CDP endpoint",
|
|
||||||
"value": "http://127.0.0.1:9222",
|
|
||||||
"tone": "muted"
|
|
||||||
},
|
|
||||||
"children": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.error",
|
|
||||||
"kind": "text",
|
|
||||||
"props": {
|
|
||||||
"text": "fetch failed",
|
|
||||||
"tone": "warning"
|
|
||||||
},
|
|
||||||
"children": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.tabs",
|
|
||||||
"kind": "panel",
|
|
||||||
"props": {
|
|
||||||
"title": "Observed Tabs",
|
|
||||||
"empty": true
|
|
||||||
},
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.no-tabs",
|
|
||||||
"kind": "text",
|
|
||||||
"props": {
|
|
||||||
"text": "No CDP page targets observed.",
|
|
||||||
"tone": "muted"
|
|
||||||
},
|
|
||||||
"children": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"styles": {
|
|
||||||
"tokens": {
|
|
||||||
"density": "operator",
|
|
||||||
"accent": "#39a275",
|
|
||||||
"warning": "#b7791f"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"commands": []
|
|
||||||
}
|
|
||||||
|
|
@ -1,126 +0,0 @@
|
||||||
# cultcache-text-witness v0
|
|
||||||
# schema: gamecult.eve.provider_advertisement.v1
|
|
||||||
# provider: loki.chrome
|
|
||||||
# updatedAt: 2026-06-09T15:11:06.124Z
|
|
||||||
{
|
|
||||||
"schema": "gamecult.eve.provider_advertisement.v1",
|
|
||||||
"providerId": "loki.chrome",
|
|
||||||
"serviceId": "loki.chrome_daemon",
|
|
||||||
"verseId": "loki.local",
|
|
||||||
"rootVerse": "asgard",
|
|
||||||
"canonicalService": "asgard.loki.chrome",
|
|
||||||
"locatedService": "asgard.localhost.loki.chrome",
|
|
||||||
"cultMeshAddress": "asgard.localhost.loki.chrome/eve/gui",
|
|
||||||
"title": "Loki Chrome",
|
|
||||||
"kind": "service.operator",
|
|
||||||
"updatedAt": "2026-06-09T15:11:06.124Z",
|
|
||||||
"freshness": {
|
|
||||||
"state": "unreachable",
|
|
||||||
"lastSeenAt": null,
|
|
||||||
"maxAgeMs": 15000
|
|
||||||
},
|
|
||||||
"schemas": [
|
|
||||||
{
|
|
||||||
"schema": "gamecult.loki.chrome_snapshot.v0",
|
|
||||||
"owner": "loki.chrome",
|
|
||||||
"authority": "observed",
|
|
||||||
"storage": "cultcache-cc",
|
|
||||||
"cultMeshAddress": "asgard.localhost.loki.chrome/state/snapshot",
|
|
||||||
"portable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"schema": "gamecult.loki.chrome_extension_report.v0",
|
|
||||||
"owner": "loki.chrome",
|
|
||||||
"authority": "external-authority-projection",
|
|
||||||
"storage": "ingest-only",
|
|
||||||
"cultMeshAddress": "asgard.localhost.loki.chrome/ingest/chrome-extension",
|
|
||||||
"portable": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"schema": "gamecult.eve.surface.v1",
|
|
||||||
"owner": "loki.chrome",
|
|
||||||
"authority": "derived",
|
|
||||||
"storage": "cultcache-cc",
|
|
||||||
"cultMeshAddress": "asgard.localhost.loki.chrome/eve/gui",
|
|
||||||
"portable": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"witnesses": [
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.snapshot",
|
|
||||||
"kind": "cc-export",
|
|
||||||
"path": "state/loki.chrome_snapshot.cc",
|
|
||||||
"schemas": [
|
|
||||||
"gamecult.loki.chrome_snapshot.v0"
|
|
||||||
],
|
|
||||||
"redaction": {
|
|
||||||
"urlQuery": "not-observed",
|
|
||||||
"titles": "not-observed",
|
|
||||||
"pageContent": "not-read",
|
|
||||||
"cookies": "not-read",
|
|
||||||
"source": "none"
|
|
||||||
},
|
|
||||||
"freshness": {
|
|
||||||
"state": "unreachable",
|
|
||||||
"updatedAt": "2026-06-09T15:11:06.124Z"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "loki.chrome.eve_surface",
|
|
||||||
"kind": "cc-export",
|
|
||||||
"path": "state/loki.eve_surface.cc",
|
|
||||||
"schemas": [
|
|
||||||
"gamecult.eve.surface.v1"
|
|
||||||
],
|
|
||||||
"redaction": "derived-operator-surface",
|
|
||||||
"freshness": {
|
|
||||||
"state": "unreachable",
|
|
||||||
"updatedAt": "2026-06-09T15:11:06.124Z"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"surfaces": [
|
|
||||||
{
|
|
||||||
"surfaceId": "loki.chrome.operator",
|
|
||||||
"schema": "gamecult.eve.surface.v1",
|
|
||||||
"transport": "cultmesh-document",
|
|
||||||
"address": "asgard.localhost.loki.chrome/eve/gui",
|
|
||||||
"tuiAddress": "asgard.localhost.loki.chrome/eve/tui",
|
|
||||||
"audience": "operator",
|
|
||||||
"mode": "read-only",
|
|
||||||
"styleProfile": "loki.operator",
|
|
||||||
"commands": []
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"commands": [],
|
|
||||||
"routes": [
|
|
||||||
{
|
|
||||||
"kind": "local-cdp",
|
|
||||||
"address": "http://127.0.0.1:9222",
|
|
||||||
"carries": [
|
|
||||||
"chrome-target-metadata"
|
|
||||||
],
|
|
||||||
"note": "Requires user-launched Chrome with --remote-debugging-port."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": "chrome-extension-ingest",
|
|
||||||
"address": "http://127.0.0.1:17666/ingest/chrome-extension",
|
|
||||||
"carries": [
|
|
||||||
"chrome-extension-tab-metadata"
|
|
||||||
],
|
|
||||||
"note": "Preferred drop-in Chrome path; extension observes tab metadata and Loki owns persistence."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kind": "local-cultcache-witness",
|
|
||||||
"address": "state/",
|
|
||||||
"carries": [
|
|
||||||
"state/loki.chrome_snapshot.cc",
|
|
||||||
"state/loki.provider_advertisement.cc",
|
|
||||||
"state/loki.eve_surface.cc"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"nestedVerses": [],
|
|
||||||
"styleCapabilities": [],
|
|
||||||
"contacts": []
|
|
||||||
}
|
|
||||||
Reference in a new issue