Port Repixelizer surface to Eve
This commit is contained in:
parent
1e1a3441fe
commit
0564d42f75
14 changed files with 1193 additions and 18 deletions
83
docs/eve-surface-lowering.md
Normal file
83
docs/eve-surface-lowering.md
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
# Repixelizer Eve Surface Lowering
|
||||
|
||||
Repixelizer now emits a read-only `gamecult.eve.surface.v1` projection for its
|
||||
front page, single-page app workflow, runtime config, auth projection, queue
|
||||
summary, and command intents.
|
||||
|
||||
## Authority Map
|
||||
|
||||
- Owner: `repixelizer.gui` still owns hosted config, route policy, queue state,
|
||||
job ownership, uploads, solver execution, and browser assets.
|
||||
- Inputs: `HostedDemoConfig`, `AccessController.public_payload()`, and
|
||||
`GuiJobManager.get_queue_summary()`.
|
||||
- Output: `repixelizer.eve_surface.build_repixelizer_eve_surface()` emits the
|
||||
retained Eve surface tree, style tokens, command descriptors, and renderer
|
||||
comparison notes.
|
||||
- Derived state: `/eve/surface`, `repixelize eve-surface`, and
|
||||
`docs/fixtures/repixelizer.eve-surface.json` are projections. They do not
|
||||
decide queue truth.
|
||||
- Forbidden writers: Eve renderers, Odin, Periwinkle, and fixtures must route
|
||||
commands back through `/api/jobs`, `/api/jobs/{job_id}`, or `/app/`; they do
|
||||
not mutate Repixelizer jobs directly.
|
||||
- Shared paths: browser GUI, CLI fixture export, hosted `/eve/surface`, and
|
||||
provider advertisement all name the same surface and route authority.
|
||||
- Cut line: no parallel status-card service, no renderer-owned queue summary,
|
||||
and no fake native canvas authority until Eve can lower upload and image-edit
|
||||
controls coherently.
|
||||
|
||||
## Published Surface
|
||||
|
||||
Generate the deterministic fixture:
|
||||
|
||||
```powershell
|
||||
repixelize eve-surface --out docs/fixtures/repixelizer.eve-surface.json --updated-at 2026-06-04T00:00:00Z --public-base-url https://repixelizer.gamecult.org
|
||||
```
|
||||
|
||||
The hosted GUI serves the live projection at:
|
||||
|
||||
```text
|
||||
/eve/surface
|
||||
```
|
||||
|
||||
The provider advertisement now marks `repixelizer.operator.surface` as
|
||||
`available` with an HTTP JSON lowering at `/eve/surface`.
|
||||
|
||||
## Retro Style Contract
|
||||
|
||||
The Eve style profile is `repixelizer.retro.pixel`. The tokens intentionally
|
||||
mirror the browser CSS instead of flattening the app into generic dashboard
|
||||
chrome:
|
||||
|
||||
- title font: `Press Start 2P`
|
||||
- body/mono font: `VT323`
|
||||
- dark shell gradient and blue panel surfaces
|
||||
- warm yellow/orange accent tokens
|
||||
- chunky pixel borders, lower border weight, corner accents, scanline overlay,
|
||||
dashed inner frame, and pixelated image sampling
|
||||
|
||||
The browser lowering remains the visual oracle for this pass because it already
|
||||
implements the full upload, solver inspection, comparison canvas, editor, and
|
||||
retro CSS.
|
||||
|
||||
## Periwinkle Comparison
|
||||
|
||||
Periwinkle's Android Kotlin lowerer currently has useful structural support:
|
||||
it connects to the Eve dashboard broker, traverses `surface.root`, renders
|
||||
pane/card/text hierarchies, supports basic metric progress bars, and attaches
|
||||
some command handlers.
|
||||
|
||||
The current gap is style and control parity. `MainActivity.kt` still hard-codes
|
||||
`toneColor`, `textColorFor`, and `textSizeFor`; it does not consume
|
||||
`surface.styles.tokens`, does not load Repixelizer's pixel fonts, does not
|
||||
render image assets from the surface tree, and does not lower the upload picker,
|
||||
comparison canvas, pan/zoom inspection, eyedropper, or paint controls.
|
||||
|
||||
Minimum Periwinkle parity work:
|
||||
|
||||
- map provider style tokens before applying fallback tone/text/font rules
|
||||
- package or cache `Press Start 2P` and `VT323`
|
||||
- render `assetUri` / `assetRef` as pixelated `ImageView` content
|
||||
- lower Repixelizer command controls to Android document picker and job route
|
||||
calls
|
||||
- add native canvas controls only after ownership remains routed through the
|
||||
existing Repixelizer job and editor command paths
|
||||
558
docs/fixtures/repixelizer.eve-surface.json
Normal file
558
docs/fixtures/repixelizer.eve-surface.json
Normal file
|
|
@ -0,0 +1,558 @@
|
|||
{
|
||||
"commands": [
|
||||
{
|
||||
"authority": "browser-lowering",
|
||||
"command": "repixelizer.web.open",
|
||||
"method": "GET",
|
||||
"route": "/app/",
|
||||
"surfaceId": "repixelizer.operator.surface",
|
||||
"transport": "http"
|
||||
},
|
||||
{
|
||||
"authority": "repixelizer-route-policy",
|
||||
"command": "repixelizer.job.submit",
|
||||
"method": "POST",
|
||||
"route": "/api/jobs",
|
||||
"surfaceId": "repixelizer.operator.surface",
|
||||
"transport": "http"
|
||||
},
|
||||
{
|
||||
"authority": "repixelizer-job-owner",
|
||||
"command": "repixelizer.job.cancel_own",
|
||||
"method": "DELETE",
|
||||
"route": "/api/jobs/{job_id}",
|
||||
"surfaceId": "repixelizer.operator.surface",
|
||||
"transport": "http"
|
||||
}
|
||||
],
|
||||
"loweringComparison": {
|
||||
"periwinkleAndroidKotlin": {
|
||||
"keeps": [
|
||||
"surface root traversal",
|
||||
"pane/card/text hierarchy",
|
||||
"TextView body content",
|
||||
"basic ProgressBar metric rendering",
|
||||
"node-bound command taps"
|
||||
],
|
||||
"losesUntilRendererParity": [
|
||||
"Press Start 2P and VT323 font selection",
|
||||
"Repixelizer shell frame, scanlines, pixel grid, corner accents, and chunky border widths",
|
||||
"landing/app image assets; current Android lowerer prints asset refs when images are not explicitly implemented",
|
||||
"upload picker, comparison canvas, pan/zoom inspection, eyedropper, and paint controls",
|
||||
"provider style tokens; current Kotlin toneColor/textColorFor/textSizeFor are hard-coded"
|
||||
],
|
||||
"minimumParityCuts": [
|
||||
"map surface.styles.tokens before toneColor/textColorFor/textSizeFor",
|
||||
"add packaged pixel fonts or font download cache",
|
||||
"render image assetUri/assetRef as ImageView with pixelated sampling",
|
||||
"lower command controls to Android upload/document picker and job route calls"
|
||||
],
|
||||
"source": "E:\\Projects\\Eve\\android\\app\\src\\main\\java\\org\\gamecult\\eve\\MainActivity.kt",
|
||||
"status": "surface-tree-renderer-present-style-token-gap"
|
||||
}
|
||||
},
|
||||
"providerId": "repixelizer",
|
||||
"providerKind": "repixelizer.product",
|
||||
"runtime": {
|
||||
"auth": {
|
||||
"appSlug": "repixelizer",
|
||||
"enabled": false,
|
||||
"loginUrl": null,
|
||||
"logoutUrl": null,
|
||||
"mode": "off",
|
||||
"protectQueue": false,
|
||||
"required": false
|
||||
},
|
||||
"hostedDemo": false,
|
||||
"limits": {
|
||||
"defaultSteps": 48,
|
||||
"heartbeatIntervalSeconds": 10,
|
||||
"maxInputDimension": 4096,
|
||||
"maxOutputDimension": 1024,
|
||||
"maxSteps": 256,
|
||||
"maxUploadBytes": 16777216,
|
||||
"queueCapacity": 32,
|
||||
"staleAfterSeconds": 30
|
||||
},
|
||||
"queue": {
|
||||
"activeStatus": null,
|
||||
"hasActiveJob": false,
|
||||
"queueCapacity": 32,
|
||||
"queueDepth": 0,
|
||||
"waitingCount": 0
|
||||
}
|
||||
},
|
||||
"schema": "gamecult.eve.surface.v1",
|
||||
"surface": {
|
||||
"id": "repixelizer.operator.surface",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.hero.copy",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "body",
|
||||
"text": "Force fake pixel art back onto a real grid, then inspect each solver step without sanding off the crunchy old-machine charm."
|
||||
},
|
||||
"role": "body",
|
||||
"text": "Force fake pixel art back onto a real grid, then inspect each solver step without sanding off the crunchy old-machine charm."
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.hero.open.body",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "body",
|
||||
"text": "Browser lowering remains the full interactive app until native Eve gains upload and canvas editing parity."
|
||||
},
|
||||
"role": "body",
|
||||
"text": "Browser lowering remains the full interactive app until native Eve gains upload and canvas editing parity."
|
||||
},
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.hero.open.route",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"method": "GET",
|
||||
"role": "mono",
|
||||
"route": "/app/",
|
||||
"text": "GET /app/"
|
||||
},
|
||||
"role": "mono",
|
||||
"text": "GET /app/"
|
||||
}
|
||||
],
|
||||
"commandId": "repixelizer.web.open",
|
||||
"id": "repixelizer.hero.open",
|
||||
"kind": "card",
|
||||
"props": {
|
||||
"commandId": "repixelizer.web.open",
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"title": "Open demo",
|
||||
"transport": {
|
||||
"kind": "http",
|
||||
"method": "GET",
|
||||
"route": "/app/"
|
||||
}
|
||||
},
|
||||
"role": "group",
|
||||
"style": {
|
||||
"tone": "cool",
|
||||
"variant": "repixelizer-retro-card"
|
||||
},
|
||||
"text": "Open demo"
|
||||
}
|
||||
],
|
||||
"id": "repixelizer.hero",
|
||||
"kind": "pane",
|
||||
"layout": {
|
||||
"direction": "vertical",
|
||||
"padding": 10
|
||||
},
|
||||
"props": {
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"title": "Repixelizer hosted demo"
|
||||
},
|
||||
"role": "section",
|
||||
"style": {
|
||||
"tone": "warm",
|
||||
"variant": "repixelizer-retro-pane"
|
||||
},
|
||||
"text": "Repixelizer hosted demo"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.workflow.submit.body",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "body",
|
||||
"text": "Submit a PNG/JPEG/WebP/GIF into the GUI job queue; queue ownership stays in repixelizer.gui."
|
||||
},
|
||||
"role": "body",
|
||||
"text": "Submit a PNG/JPEG/WebP/GIF into the GUI job queue; queue ownership stays in repixelizer.gui."
|
||||
},
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.workflow.submit.route",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"method": "POST",
|
||||
"role": "mono",
|
||||
"route": "/api/jobs",
|
||||
"text": "POST /api/jobs"
|
||||
},
|
||||
"role": "mono",
|
||||
"text": "POST /api/jobs"
|
||||
}
|
||||
],
|
||||
"commandId": "repixelizer.job.submit",
|
||||
"id": "repixelizer.workflow.submit",
|
||||
"kind": "card",
|
||||
"props": {
|
||||
"commandId": "repixelizer.job.submit",
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"title": "Upload image",
|
||||
"transport": {
|
||||
"kind": "http",
|
||||
"method": "POST",
|
||||
"route": "/api/jobs"
|
||||
}
|
||||
},
|
||||
"role": "group",
|
||||
"style": {
|
||||
"tone": "cool",
|
||||
"variant": "repixelizer-retro-card"
|
||||
},
|
||||
"text": "Upload image"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.inspect.source",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "body",
|
||||
"text": "source, edge map, lattice overlay, phase field, cleaned output"
|
||||
},
|
||||
"role": "body",
|
||||
"text": "source, edge map, lattice overlay, phase field, cleaned output"
|
||||
},
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.inspect.canvas",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "body",
|
||||
"text": "comparison canvas and editor lower to native only after Periwinkle gets image/control parity"
|
||||
},
|
||||
"role": "body",
|
||||
"text": "comparison canvas and editor lower to native only after Periwinkle gets image/control parity"
|
||||
}
|
||||
],
|
||||
"id": "repixelizer.workflow.inspect",
|
||||
"kind": "card",
|
||||
"props": {
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"title": "Inspect solver"
|
||||
},
|
||||
"role": "group",
|
||||
"style": {
|
||||
"tone": "panel",
|
||||
"variant": "repixelizer-retro-card"
|
||||
},
|
||||
"text": "Inspect solver"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.workflow.cancel.body",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "body",
|
||||
"text": "The command intent delegates to the existing owner-bound DELETE route."
|
||||
},
|
||||
"role": "body",
|
||||
"text": "The command intent delegates to the existing owner-bound DELETE route."
|
||||
},
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.workflow.cancel.route",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"method": "DELETE",
|
||||
"role": "mono",
|
||||
"route": "/api/jobs/{job_id}",
|
||||
"text": "DELETE /api/jobs/{job_id}"
|
||||
},
|
||||
"role": "mono",
|
||||
"text": "DELETE /api/jobs/{job_id}"
|
||||
}
|
||||
],
|
||||
"commandId": "repixelizer.job.cancel_own",
|
||||
"id": "repixelizer.workflow.cancel",
|
||||
"kind": "card",
|
||||
"props": {
|
||||
"commandId": "repixelizer.job.cancel_own",
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"title": "Cancel own job",
|
||||
"transport": {
|
||||
"kind": "http",
|
||||
"method": "DELETE",
|
||||
"route": "/api/jobs/{job_id}"
|
||||
}
|
||||
},
|
||||
"role": "group",
|
||||
"style": {
|
||||
"tone": "cool",
|
||||
"variant": "repixelizer-retro-card"
|
||||
},
|
||||
"text": "Cancel own job"
|
||||
}
|
||||
],
|
||||
"id": "repixelizer.workflow",
|
||||
"kind": "pane",
|
||||
"layout": {
|
||||
"direction": "vertical",
|
||||
"padding": 10
|
||||
},
|
||||
"props": {
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"title": "Single page app"
|
||||
},
|
||||
"role": "section",
|
||||
"style": {
|
||||
"tone": "warm",
|
||||
"variant": "repixelizer-retro-pane"
|
||||
},
|
||||
"text": "Single page app"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.runtime.hosted",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "mono",
|
||||
"text": "hostedDemo: False"
|
||||
},
|
||||
"role": "mono",
|
||||
"text": "hostedDemo: False"
|
||||
},
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.runtime.steps",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "mono",
|
||||
"text": "defaultSteps: 48 maxSteps: 256"
|
||||
},
|
||||
"role": "mono",
|
||||
"text": "defaultSteps: 48 maxSteps: 256"
|
||||
},
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.runtime.dimensions",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "mono",
|
||||
"text": "maxOutputDimension: 1024px"
|
||||
},
|
||||
"role": "mono",
|
||||
"text": "maxOutputDimension: 1024px"
|
||||
}
|
||||
],
|
||||
"id": "repixelizer.runtime.config",
|
||||
"kind": "card",
|
||||
"props": {
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"title": "Runtime"
|
||||
},
|
||||
"role": "group",
|
||||
"style": {
|
||||
"tone": "panel",
|
||||
"variant": "repixelizer-retro-card"
|
||||
},
|
||||
"text": "Runtime"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.queue.depth",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "strong",
|
||||
"text": "0 active or waiting / 32 capacity"
|
||||
},
|
||||
"role": "strong",
|
||||
"text": "0 active or waiting / 32 capacity"
|
||||
},
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.queue.waiting",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "mono",
|
||||
"text": "waitingCount: 0"
|
||||
},
|
||||
"role": "mono",
|
||||
"text": "waitingCount: 0"
|
||||
},
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.queue.active",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "mono",
|
||||
"text": "hasActiveJob: False"
|
||||
},
|
||||
"role": "mono",
|
||||
"text": "hasActiveJob: False"
|
||||
}
|
||||
],
|
||||
"id": "repixelizer.runtime.queue",
|
||||
"kind": "card",
|
||||
"props": {
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"title": "Queue"
|
||||
},
|
||||
"role": "group",
|
||||
"style": {
|
||||
"tone": "panel",
|
||||
"variant": "repixelizer-retro-card"
|
||||
},
|
||||
"text": "Queue"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.auth.mode",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "mono",
|
||||
"text": "mode: off"
|
||||
},
|
||||
"role": "mono",
|
||||
"text": "mode: off"
|
||||
},
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.auth.required",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "mono",
|
||||
"text": "required: False"
|
||||
},
|
||||
"role": "mono",
|
||||
"text": "required: False"
|
||||
},
|
||||
{
|
||||
"children": [],
|
||||
"id": "repixelizer.auth.providers",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"role": "body",
|
||||
"text": "providers: none"
|
||||
},
|
||||
"role": "body",
|
||||
"text": "providers: none"
|
||||
}
|
||||
],
|
||||
"id": "repixelizer.runtime.auth",
|
||||
"kind": "card",
|
||||
"props": {
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"title": "Access"
|
||||
},
|
||||
"role": "group",
|
||||
"style": {
|
||||
"tone": "panel",
|
||||
"variant": "repixelizer-retro-card"
|
||||
},
|
||||
"text": "Access"
|
||||
}
|
||||
],
|
||||
"id": "repixelizer.runtime",
|
||||
"kind": "pane",
|
||||
"layout": {
|
||||
"direction": "vertical",
|
||||
"padding": 10
|
||||
},
|
||||
"props": {
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"title": "Live projection"
|
||||
},
|
||||
"role": "section",
|
||||
"style": {
|
||||
"tone": "warm",
|
||||
"variant": "repixelizer-retro-pane"
|
||||
},
|
||||
"text": "Live projection"
|
||||
}
|
||||
],
|
||||
"id": "repixelizer.surface.root",
|
||||
"kind": "surface",
|
||||
"layout": {
|
||||
"direction": "vertical",
|
||||
"padding": 14
|
||||
},
|
||||
"props": {
|
||||
"browserLowering": "https://repixelizer.gamecult.org/app/",
|
||||
"frontPage": "https://repixelizer.gamecult.org/",
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"subtitle": "Fake pixel art goes in. Real grid-aligned sprite art comes out.",
|
||||
"title": "Repixelizer"
|
||||
},
|
||||
"role": "root",
|
||||
"style": {
|
||||
"tone": "warm",
|
||||
"variant": "repixelizer-retro-shell"
|
||||
},
|
||||
"text": "Repixelizer"
|
||||
},
|
||||
"schema": "gamecult.eve.surface.v1",
|
||||
"styles": {
|
||||
"assets": {
|
||||
"appUrl": "https://repixelizer.gamecult.org/app/",
|
||||
"fontCss": "https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap",
|
||||
"landingInput": "https://repixelizer.gamecult.org/app/landing-assets/character-input.png",
|
||||
"landingOutput": "https://repixelizer.gamecult.org/app/landing-assets/character-repixelized.png"
|
||||
},
|
||||
"loweringHints": {
|
||||
"android-native": "Load packaged or downloadable Press Start 2P and VT323 fonts, map style tokens before hard-coded tones, and render asset images instead of asset labels.",
|
||||
"css": "Use the tokens as CSS custom properties and retain scanline/pixel-grid overlays.",
|
||||
"tui": "Preserve title/body font distinction as role metadata; canvas editing lowers to artifact refs and command intents only."
|
||||
},
|
||||
"profile": "repixelizer.retro.pixel",
|
||||
"tokens": {
|
||||
"borderBottomWidthPx": 5,
|
||||
"borderWidthPx": 4,
|
||||
"buttonGlyph": ">",
|
||||
"colorAccent": "#ffd84a",
|
||||
"colorAccentStrong": "#ffae1a",
|
||||
"colorBackgroundBottom": "#01050d",
|
||||
"colorBackgroundMid": "#020813",
|
||||
"colorBackgroundTop": "#01040b",
|
||||
"colorCornerAccent": "#ffb72a",
|
||||
"colorMuted": "#d3bb7f",
|
||||
"colorPanel": "#0a2239",
|
||||
"colorPanelAlt": "#061627",
|
||||
"colorPanelBorder": "#0a2740",
|
||||
"colorPanelBorderDeep": "#06192a",
|
||||
"colorPixelGrid": "rgba(0, 0, 0, 0.3)",
|
||||
"colorShadow": "rgba(0, 0, 0, 0.55)",
|
||||
"colorShellSurfaceBottom": "#030b16",
|
||||
"colorShellSurfaceTop": "#061424",
|
||||
"colorText": "#efe5c9",
|
||||
"colorTextBright": "#f7efd8",
|
||||
"cornerAccentPx": 12,
|
||||
"dashedInnerFrame": true,
|
||||
"fontBody": "\"VT323\", \"Courier New\", monospace",
|
||||
"fontMono": "\"VT323\", \"Courier New\", monospace",
|
||||
"fontTitle": "\"Press Start 2P\", \"VT323\", monospace",
|
||||
"imageRendering": "pixelated",
|
||||
"scanlineOverlay": true
|
||||
}
|
||||
},
|
||||
"title": "Repixelizer"
|
||||
},
|
||||
"title": "Repixelizer",
|
||||
"type": "surface-state",
|
||||
"updatedAt": "2026-06-04T00:00:00Z",
|
||||
"version": 1
|
||||
}
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
}
|
||||
],
|
||||
"freshness": {
|
||||
"lastSeenAt": "2026-06-03T00:00:00Z",
|
||||
"lastSeenAt": "2026-06-04T00:00:00Z",
|
||||
"maxAgeMs": 15000,
|
||||
"state": "fresh"
|
||||
},
|
||||
|
|
@ -139,6 +139,7 @@
|
|||
],
|
||||
"styleProfile": "repixelizer.product",
|
||||
"tokenGroups": [
|
||||
"repixelizer.retro.pixel",
|
||||
"repixelizer.comparisonCanvas",
|
||||
"repixelizer.cleanupTool",
|
||||
"repixelizer.queuePanel",
|
||||
|
|
@ -149,13 +150,19 @@
|
|||
"surfaces": [
|
||||
{
|
||||
"audience": "operator",
|
||||
"commands": [],
|
||||
"commands": [
|
||||
"repixelizer.web.open",
|
||||
"repixelizer.job.submit",
|
||||
"repixelizer.job.cancel_own"
|
||||
],
|
||||
"key": "cultmesh://repixelizer/surfaces/operator",
|
||||
"mode": "read-only-first-cut",
|
||||
"schema": "gamecult.eve.surface.v1",
|
||||
"status": "planned",
|
||||
"status": "available",
|
||||
"styleProfile": "repixelizer.retro.pixel",
|
||||
"surfaceId": "repixelizer.operator.surface",
|
||||
"transport": "cultmesh-document"
|
||||
"transport": "http-json",
|
||||
"url": "https://repixelizer.gamecult.org/eve/surface"
|
||||
},
|
||||
{
|
||||
"canonical": false,
|
||||
|
|
@ -167,13 +174,13 @@
|
|||
}
|
||||
],
|
||||
"title": "Repixelizer",
|
||||
"updatedAt": "2026-06-03T00:00:00Z",
|
||||
"updatedAt": "2026-06-04T00:00:00Z",
|
||||
"verseId": "gamecult.local",
|
||||
"witnesses": [
|
||||
{
|
||||
"freshness": {
|
||||
"state": "planned",
|
||||
"updatedAt": "2026-06-03T00:00:00Z"
|
||||
"updatedAt": "2026-06-04T00:00:00Z"
|
||||
},
|
||||
"id": "repixelizer.hosted.witness",
|
||||
"kind": "cc-export-path-reserved",
|
||||
|
|
|
|||
|
|
@ -67,14 +67,16 @@ The reserved witness path is `state/repixelizer.witness.cc`.
|
|||
- schema catalog entries for the witness shapes above
|
||||
- a reserved `.cc` witness entry with bulk image bytes, raw tokens, and private
|
||||
claims marked as redacted
|
||||
- a planned canonical Eve operator surface key:
|
||||
- an available canonical Eve operator surface projection at `/eve/surface`,
|
||||
retaining the canonical CultMesh surface key:
|
||||
`cultmesh://repixelizer/surfaces/operator`
|
||||
- the current browser lowering at `/app/`
|
||||
- route-owned command boundaries for job submit and own-job cancellation
|
||||
- route-owned command boundaries for web open, job submit, and own-job cancellation
|
||||
- nested Verse declarations for session and hosted-operator spaces
|
||||
- runtime projection from `HostedDemoConfig.from_env()` and
|
||||
`AccessController.from_env()`
|
||||
|
||||
This is deliberately read-only. The current queue is still in-process memory.
|
||||
The advertisement only tells discovery organs where truth lives and what shape
|
||||
future durable witnesses must take.
|
||||
The advertisement only tells discovery organs where truth lives, where the
|
||||
read-only Eve projection is served, and what shape future durable witnesses must
|
||||
take.
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ tool palettes, and component variants. A Kotlin Android Eve runtime should be
|
|||
able to run the cleanup flow with native controls while preserving the same
|
||||
command boundary and product identity.
|
||||
|
||||
## Read-Only Witness Export
|
||||
## Read-Only Witness And Eve Surface Export
|
||||
|
||||
The first read-only provider advertisement is generated by:
|
||||
|
||||
|
|
@ -96,9 +96,20 @@ repixelize witness-advertisement --out docs/fixtures/repixelizer.provider-advert
|
|||
```
|
||||
|
||||
It names the witness schemas above, reserves `state/repixelizer.witness.cc` for
|
||||
the future CultCache export, and publishes the planned Eve operator surface key
|
||||
without changing queue ownership. The detailed authority map lives in
|
||||
`docs/repixelizer-witness-contract.md`.
|
||||
the future CultCache export, and publishes the available Eve operator surface
|
||||
HTTP projection without changing queue ownership. The detailed authority maps
|
||||
live in `docs/repixelizer-witness-contract.md` and
|
||||
`docs/eve-surface-lowering.md`.
|
||||
|
||||
The read-only Eve surface fixture is generated by:
|
||||
|
||||
```powershell
|
||||
repixelize eve-surface --out docs/fixtures/repixelizer.eve-surface.json
|
||||
```
|
||||
|
||||
The hosted GUI serves the live projection at `/eve/surface`. It reads
|
||||
`HostedDemoConfig`, `AccessController.public_payload()`, and
|
||||
`GuiJobManager.get_queue_summary()`; it does not own queue truth.
|
||||
|
||||
## Migration Order
|
||||
|
||||
|
|
@ -110,6 +121,7 @@ without changing queue ownership. The detailed authority map lives in
|
|||
`.cc` witness.
|
||||
4. Publish the witness through CultMesh.
|
||||
5. Add an Eve DSL provider over the witness and existing health/config routes.
|
||||
First read-only HTTP projection is live at `/eve/surface`.
|
||||
6. Translate the existing browser GUI style and tool behavior into Eve style
|
||||
tokens, canvas primitives, and command descriptors.
|
||||
7. Lower the current website from the Eve surface instead of treating it as the
|
||||
|
|
|
|||
Loading…
Reference in a new issue