app
Codex
Public Made by Adomby adom
Codex in Adom Hydrogen: ecosystem setup, dock dashboard and live engineering demos.
← Commit history
Corrected Astra ESC routing: native zero-open result, full accounting and voiceover handoff
8 files changed
+132−30
docs/demos/astra-esc-routing/evidence/astra-stats.json+19−19docs/demos/astra-esc-routing/evidence/bridge-calls.csv+5docs/demos/astra-esc-routing/evidence/bridge-commands.txt+5docs/demos/astra-esc-routing/evidence/close.json+34docs/demos/astra-esc-routing/evidence/display-lease-release.json+1docs/demos/astra-esc-routing/evidence/final-cleanup.json+1docs/demos/astra-esc-routing/evidence/fixture-unchanged.json+1docs/demos/astra-esc-routing/evidence/token-accounting.json+66−11docs/demos/astra-esc-routing/evidence/astra-stats.json+19−19@@ -5,7 +5,7 @@ "desktop": "arav-rog, Windows user arav, KiCad 10.0.3, kicad-bridge 1.0.3", "window": [ "2026-09-13T13:29:56.203Z",- "2026-09-13T15:25:53.214Z"+ "2026-09-13T15:29:57.300Z" ], "windowNote": "Whole routing task through the stated accounting cutoff, including rejected planning candidates, first discarded recording, display/capture diagnostics, replay, the previously published incomplete take, the subsequent corrective routing work and publication preparation. Earlier placement and six-net tasks excluded.", "planning": {@@ -46,15 +46,15 @@ }, "tokens": { "thread": {- "input_tokens": 50758178,- "cached_input_tokens": 50168576,+ "input_tokens": 51148097,+ "cached_input_tokens": 50530944, "cache_write_input_tokens": 0,- "output_tokens": 143746,- "reasoning_output_tokens": 73467,- "total_tokens": 50901924+ "output_tokens": 145097,+ "reasoning_output_tokens": 73580,+ "total_tokens": 51293194 },- "uncachedInputTokens": 589602,- "threadTurns": 328,+ "uncachedInputTokens": 617153,+ "threadTurns": 333, "agentLaunches": 0, "agents": 0, "workerThreads": 5,@@ -64,28 +64,28 @@ "displayAwakeHelperNote": "One temporary hidden PowerShell process holds a display/system-awake lease for the final recording; released at cleanup, with a 20-minute automatic timeout. Power settings unchanged.", "workerNote": "One elapsed-time-caption Python worker per take after the first take. The count is cumulative across those takes; one ran in the accepted take. Routing and C++ path search are serial. No AI sub-agents.", "withAgents": {- "input_tokens": 50758178,- "cached_input_tokens": 50168576,+ "input_tokens": 51148097,+ "cached_input_tokens": 50530944, "cache_write_input_tokens": 0,- "output_tokens": 143746,- "reasoning_output_tokens": 73467,- "total_tokens": 50901924+ "output_tokens": 145097,+ "reasoning_output_tokens": 73580,+ "total_tokens": 51293194 }, "accountingSource": "/home/adom/.codex/sessions/2026/09/12/rollout-2026-09-12T12-08-00-01a09697-1b14-7111-9897-63815e098b24.jsonl",- "accountingCutoff": "2026-09-13T15:25:53.214Z",+ "accountingCutoff": "2026-09-13T15:29:57.300Z", "accountingNote": "input_tokens includes cached_input_tokens. Reasoning output is included in output_tokens. No cache writes reported. Reporting after cutoff excluded.",- "maxRequestInputTokens": 242631+ "maxRequestInputTokens": 244135 }, "usdApiEquivalent": {- "thread": 63.251896,- "withAgents": 63.251896,+ "thread": 63.957324,+ "withAgents": 63.957324, "priceBasis": "OpenAI GPT-6 Astra model page checked 2026-09-13: $10 uncached input, $1 cached input, $50 output, $12.50 cache writes per million tokens (no writes reported). Standard API equivalent. Requests above 272K input use 2x input/cache and 1.5x output prices.", "priceUrl": "https://developers.openai.com/api/docs/models/gpt-6-astra" }, "planShare": { "planUsdPerMonth": 200,- "threadPercent": 31.625948,- "withAgentsPercent": 31.625948,+ "threadPercent": 31.978662,+ "withAgentsPercent": 31.978662, "note": "API-equivalent cost divided by $200, not actual subscription billing or quota consumption" }, "recordings": [
docs/demos/astra-esc-routing/evidence/bridge-calls.csv+5@@ -7394,3 +7394,8 @@ startUTC,endUTC,durationSeconds,verb,net,success,errorCode,items,revision,drcErr 2026-09-13T15:20:21.662343+00:00,2026-09-13T15:20:21.825741+00:00,0.1634,desktop_caption,,True,,0,,,,"adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog desktop_caption '{""id"":""astra-esc-routing"",""text"":""Astra | 0416.9 s | 0 new DRC errors | 0 unconnected | Native validation complete"",""size"":""small"",""position"":""bottom"",""duration"":15000,""reason"":""John requested a visible real-time ESC routing recording""}'" 2026-09-13T15:20:21.826067+00:00,2026-09-13T15:20:21.884711+00:00,0.0586,desktop_caption,,True,,0,,,,"adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog desktop_caption '{""id"":""astra-esc-routing"",""action"":""hide""}'" 2026-09-13T15:20:32.318377+00:00,2026-09-13T15:22:29.205651+00:00,116.8873,pull_file,,True,,0,,[],,"adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog pull_file '{""filePaths"":[""C:/Users/arav/AppData/Local/Temp/adom-bridge-recordings/desktop-m0-20260913-151324.mp4""],""saveTo"":""/home/adom/project/astra-esc-routing/raw""}'" +2026-09-13T15:29:31.499043+00:00,2026-09-13T15:29:31.594373+00:00,0.0953,kicad_window_info,,True,,0,,,,adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog kicad_window_info '{}' +2026-09-13T15:29:37.171701+00:00,2026-09-13T15:29:47.204659+00:00,10.033,kicad_close,,True,,0,,,,"adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog kicad_close '{""discardChanges"":true}'" +2026-09-13T15:29:56.785433+00:00,2026-09-13T15:29:56.992223+00:00,0.2068,pull_file,,True,,0,,[],,"adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog pull_file '{""filePaths"":[""C:/Users/arav/Downloads/adom-gate/esc-demo/astra-routing/esc-g431-fable-placed-planes.kicad_pcb""],""saveTo"":""/home/adom/project/astra-esc-routing/evidence/final-fixture-check""}'" +2026-09-13T15:29:56.992773+00:00,2026-09-13T15:29:57.287002+00:00,0.2942,run_script,,True,,0,,,,"adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog run_script '{""interpreter"":""powershell"",""scriptB64"":""dHJ5IHsgJGU9W1N5c3RlbS5UaHJlYWRpbmcuRXZlbnRXYWl0SGFuZGxlXTo6T3BlbkV4aXN0aW5nKCdMb2NhbFxBc3RyYUVzY1JvdXRpbmdEaXNwbGF5TGVhc2UnKTsgJG51bGw9JGUuU2V0KCk7ICRlLkRpc3Bvc2UoKTsgJ0Rpc3BsYXkgbGVhc2UgcmVsZWFzZWQnIH0gY2F0Y2ggW1N5c3RlbS5UaHJlYWRpbmcuV2FpdEhhbmRsZUNhbm5vdEJlT3BlbmVkRXhjZXB0aW9uXSB7ICdEaXNwbGF5IGxlYXNlIGFscmVhZHkgZXhwaXJlZCcgfTsgR2V0LVByb2Nlc3MgLUlkIDI1MTg4IC1FcnJvckFjdGlvbiBTaWxlbnRseUNvbnRpbnVlIHwgU2VsZWN0LU9iamVjdCBJZCxQcm9jZXNzTmFtZQ=="",""timeoutSeconds"":20,""reason"":""Release the temporary recording display lease after closing the disposable KiCad board""}'" +2026-09-13T15:30:12.651793+00:00,2026-09-13T15:30:12.734967+00:00,0.0832,kicad_window_info,,True,,0,,,,adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog kicad_window_info '{}'
docs/demos/astra-esc-routing/evidence/bridge-commands.txt+5@@ -7393,3 +7393,8 @@ adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog desktop_reco adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog desktop_caption '{"id":"astra-esc-routing","text":"Astra | 0416.9 s | 0 new DRC errors | 0 unconnected | Native validation complete","size":"small","position":"bottom","duration":15000,"reason":"John requested a visible real-time ESC routing recording"}' adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog desktop_caption '{"id":"astra-esc-routing","action":"hide"}' adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog pull_file '{"filePaths":["C:/Users/arav/AppData/Local/Temp/adom-bridge-recordings/desktop-m0-20260913-151324.mp4"],"saveTo":"/home/adom/project/astra-esc-routing/raw"}'+adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog kicad_window_info '{}'+adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog kicad_close '{"discardChanges":true}'+adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog pull_file '{"filePaths":["C:/Users/arav/Downloads/adom-gate/esc-demo/astra-routing/esc-g431-fable-placed-planes.kicad_pcb"],"saveTo":"/home/adom/project/astra-esc-routing/evidence/final-fixture-check"}'+adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog run_script '{"interpreter":"powershell","scriptB64":"dHJ5IHsgJGU9W1N5c3RlbS5UaHJlYWRpbmcuRXZlbnRXYWl0SGFuZGxlXTo6T3BlbkV4aXN0aW5nKCdMb2NhbFxBc3RyYUVzY1JvdXRpbmdEaXNwbGF5TGVhc2UnKTsgJG51bGw9JGUuU2V0KCk7ICRlLkRpc3Bvc2UoKTsgJ0Rpc3BsYXkgbGVhc2UgcmVsZWFzZWQnIH0gY2F0Y2ggW1N5c3RlbS5UaHJlYWRpbmcuV2FpdEhhbmRsZUNhbm5vdEJlT3BlbmVkRXhjZXB0aW9uXSB7ICdEaXNwbGF5IGxlYXNlIGFscmVhZHkgZXhwaXJlZCcgfTsgR2V0LVByb2Nlc3MgLUlkIDI1MTg4IC1FcnJvckFjdGlvbiBTaWxlbnRseUNvbnRpbnVlIHwgU2VsZWN0LU9iamVjdCBJZCxQcm9jZXNzTmFtZQ==","timeoutSeconds":20,"reason":"Release the temporary recording display lease after closing the disposable KiCad board"}'+adom-bridge --ai-thread 'Astra ESC routing video' --target arav-rog kicad_window_info '{}'
docs/demos/astra-esc-routing/evidence/close.jsonadded+34@@ -0,0 +1,34 @@+{+ "_timeoutHint": "ab waits up to 130s for this verb before the request times out. If it's a long operation (cloud open / download / export), DON'T treat a timeout as failure \u2014 the work usually keeps running on the bridge. Poll `kicad_status` until it reports done.",+ "bridgeVersion": "1.0.3",+ "data": {},+ "discard": [+ {+ "attempts": [+ {+ "method": "bm_click:&Discard Changes",+ "win32Button": true+ }+ ],+ "dialog": "Save Changes?",+ "window": "*esc-g431-fable-placed-planes \u2014 PCB Editor"+ }+ ],+ "durationMs": 10029,+ "elapsedMs": 9990,+ "error": "",+ "focusEvents": [],+ "mechanism": "window",+ "output": "{\"data\":{},\"message\":\"KiCad closed (1 window).\"}",+ "route": {+ "nodeId": "9a44e8faa7684dc0c1c3d2bbaf22827147f4800718cf15716cdb87f8cdb4f040",+ "peer": "arav-rog",+ "rttMs": 10026,+ "via": "mesh"+ },+ "schemaVersion": 1,+ "status": "ok",+ "statusVerb": "kicad_status",+ "success": true,+ "timeoutSeconds": 130+}
docs/demos/astra-esc-routing/evidence/display-lease-release.jsonadded+1@@ -0,0 +1 @@+{"durationMs": 239, "exitCode": 0, "ok": true, "route": {"nodeId": "9a44e8faa7684dc0c1c3d2bbaf22827147f4800718cf15716cdb87f8cdb4f040", "peer": "arav-rog", "rttMs": 289, "via": "mesh"}, "schemaVersion": 1, "status": "ok", "stderr": "", "stdout": "Display lease released\r\n", "success": true, "timedOut": false, "timeoutSeconds": 35}
docs/demos/astra-esc-routing/evidence/final-cleanup.jsonadded+1@@ -0,0 +1 @@+{"editors": [], "closedWithDiscardChanges": true, "fixtureUnchanged": true, "displayLeaseReleased": true}
docs/demos/astra-esc-routing/evidence/fixture-unchanged.jsonadded+1@@ -0,0 +1 @@+{"utc": "2026-09-13T15:30:12.737080+00:00", "sha256": "4c7380e2d177bfd70b15aeb1893040297083741b106a96d6689a546343d64b94", "unchanged": true, "source": "C:/Users/arav/Downloads/adom-gate/esc-demo/astra-routing/esc-g431-fable-placed-planes.kicad_pcb"}
docs/demos/astra-esc-routing/evidence/token-accounting.json+66−11@@ -7,22 +7,22 @@ "reasoning_output_tokens": 8244, "total_tokens": 19636187 },- "cutoff": "2026-09-13T15:25:53.214Z",+ "cutoff": "2026-09-13T15:29:57.300Z", "cumulative": {- "input_tokens": 70350240,- "cached_input_tokens": 69354624,+ "input_tokens": 70740159,+ "cached_input_tokens": 69716992, "cache_write_input_tokens": 0,- "output_tokens": 187871,- "reasoning_output_tokens": 81711,- "total_tokens": 70538111+ "output_tokens": 189222,+ "reasoning_output_tokens": 81824,+ "total_tokens": 70929381 }, "delta": {- "input_tokens": 50758178,- "cached_input_tokens": 50168576,+ "input_tokens": 51148097,+ "cached_input_tokens": 50530944, "cache_write_input_tokens": 0,- "output_tokens": 143746,- "reasoning_output_tokens": 73467,- "total_tokens": 50901924+ "output_tokens": 145097,+ "reasoning_output_tokens": 73580,+ "total_tokens": 51293194 }, "requests": [ {@@ -3632,6 +3632,61 @@ "reasoning_output_tokens": 1196, "total_tokens": 243879 }+ },+ {+ "timestamp": "2026-09-13T15:26:24.775Z",+ "usage": {+ "input_tokens": 244135,+ "cached_input_tokens": 242432,+ "cache_write_input_tokens": 0,+ "output_tokens": 866,+ "reasoning_output_tokens": 113,+ "total_tokens": 245001+ }+ },+ {+ "timestamp": "2026-09-13T15:29:28.128Z",+ "usage": {+ "input_tokens": 35622,+ "cached_input_tokens": 12160,+ "cache_write_input_tokens": 0,+ "output_tokens": 65,+ "reasoning_output_tokens": 0,+ "total_tokens": 35687+ }+ },+ {+ "timestamp": "2026-09-13T15:29:31.628Z",+ "usage": {+ "input_tokens": 35868,+ "cached_input_tokens": 35456,+ "cache_write_input_tokens": 0,+ "output_tokens": 63,+ "reasoning_output_tokens": 0,+ "total_tokens": 35931+ }+ },+ {+ "timestamp": "2026-09-13T15:29:47.218Z",+ "usage": {+ "input_tokens": 36727,+ "cached_input_tokens": 35712,+ "cache_write_input_tokens": 0,+ "output_tokens": 80,+ "reasoning_output_tokens": 0,+ "total_tokens": 36807+ }+ },+ {+ "timestamp": "2026-09-13T15:29:57.300Z",+ "usage": {+ "input_tokens": 37567,+ "cached_input_tokens": 36608,+ "cache_write_input_tokens": 0,+ "output_tokens": 277,+ "reasoning_output_tokens": 0,+ "total_tokens": 37844+ } } ] }