Skip to content

Instantly share code, notes, and snippets.

View arikon's full-sized avatar

Sergey Belov arikon

  • Yandex
  • Tivat, Montenegro
View GitHub Profile
@arikon
arikon / omx-native-ultragoal-receipt-transport-dev-73cb50c1-head-90b5292d.patch
Last active July 30, 2026 17:28
Cumulative experimental native Ultragoal receipt transport patch: dev@73cb50c1 to 90b5292d
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000000000000000000000000000000000000..b3140ed57e0e037bd5e9ebc7c555ac0796921ffb
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,144 @@
+# Local development rules
+
+## Test a local OMX build through the installed runtime
+
@arikon
arikon / omx-native-ultragoal-receipt-transport-v3.patch
Created July 30, 2026 07:36
OMX #3354 native Ultragoal receipt transport v3 with Codex CLI acceptance and session-race hardening
diff --git a/docs/codex-native-hooks.md b/docs/codex-native-hooks.md
index 75f72bcc..e2932e93 100644
--- a/docs/codex-native-hooks.md
+++ b/docs/codex-native-hooks.md
@@ -101,6 +101,30 @@ uninspected script fail closed. For statically inspectable source, ordinary arra
object reads and benign reflection do not become mutation authority through broad
raw-command matching.
+Codex Desktop may run two live user chats in the same workspace while the
+compatibility `session.json` pointer names only one of them. For an exact
@arikon
arikon / omx-native-ultragoal-receipt-transport.patch
Created July 29, 2026 06:30
OMX #3354: realistic native Ultragoal receipt transport for Codex App (dev@73cb50c1..96bdd023)
diff --git a/docs/codex-native-hooks.md b/docs/codex-native-hooks.md
index 75f72bcc..3f95f503 100644
--- a/docs/codex-native-hooks.md
+++ b/docs/codex-native-hooks.md
@@ -120,8 +120,20 @@ while the Conductor boundary is active.
Planning boundaries (`ralplan`, `deep-interview`) remain fail-closed for mutation
transports: only their documented planning artifact paths and non-deactivating
-state operations are allowed. No assignment-backed grant, prompt-derived scope,
-or child-write allowance exists in this Option C implementation.
@arikon
arikon / 0001-fix-hook-authorize-scoped-native-Ultragoal-executors.patch
Created July 28, 2026 20:22
Experimental scoped native Ultragoal executor assignments on oh-my-codex dev@73cb50c1
From 38af2a78599ffd08fe7b4c771b206dcfb60789b0 Mon Sep 17 00:00:00 2001
From: Sergey Belov <peimei@ya.ru>
Date: Mon, 27 Jul 2026 22:31:35 +0200
Subject: [PATCH] fix(hook): authorize scoped native Ultragoal executors
---
docs/native-subagent-assignments.md | 95 ++++
plugins/oh-my-codex/skills/ultragoal/SKILL.md | 1 +
skills/ultragoal/SKILL.md | 1 +
.../__tests__/codex-native-assignment.test.ts | 437 ++++++++++++++++++
@arikon
arikon / 0001-test-smoke-isolate-candidate-budget-from-deadline.patch
Created July 27, 2026 23:59
oh-my-codex #3329: deterministic smoke candidate-budget regression
From 537458dd0e1b58ec7671ca517371c516a8fb65a5 Mon Sep 17 00:00:00 2001
From: Sergey Belov <peimei@ya.ru>
Date: Tue, 28 Jul 2026 01:58:20 +0200
Subject: [PATCH] test(smoke): isolate candidate budget from deadline
---
.../__tests__/smoke-packed-install.test.ts | 24 ++++++++++---------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/src/scripts/__tests__/smoke-packed-install.test.ts b/src/scripts/__tests__/smoke-packed-install.test.ts
@arikon
arikon / 3327-macos-var-temp-fixtures.patch
Created July 27, 2026 23:56
oh-my-codex #3327: canonicalize macOS temporary test roots
From 7833d067664437c496fd5d33ef50b230d2b62f00 Mon Sep 17 00:00:00 2001
From: Sergey Belov <peimei@ya.ru>
Date: Tue, 28 Jul 2026 01:55:36 +0200
Subject: [PATCH] test: canonicalize macOS temporary roots
---
src/cli/__tests__/auth.test.ts | 5 ++++-
src/cli/__tests__/mcp-parity.test.ts | 6 ++++--
src/cli/__tests__/session-scoped-runtime.test.ts | 6 ++++--
src/cli/__tests__/uninstall.test.ts | 11 +++++++----
@arikon
arikon / 0001-test-support-BSD-script-PTY-fixtures.patch
Created July 27, 2026 23:52
oh-my-codex #3328: portable BSD/GNU script(1) PTY test fixture
From 63cc1aa664b3c08e4ddd798fcf27c71acc4a5839 Mon Sep 17 00:00:00 2001
From: Sergey Belov <peimei@ya.ru>
Date: Tue, 28 Jul 2026 01:50:38 +0200
Subject: [PATCH] test: support BSD script PTY fixtures
---
src/cli/__tests__/launch-fallback.test.ts | 5 +++--
src/team/__tests__/tmux-test-fixture.test.ts | 18 +++++++++++++++++-
src/team/__tests__/tmux-test-fixture.ts | 8 +++++++-
3 files changed, 27 insertions(+), 4 deletions(-)
@arikon
arikon / 0001-fix-hook-canonicalize-conductor-mutation-roots.patch
Created July 27, 2026 22:52
oh-my-codex #3325: canonicalize Conductor mutation roots on macOS
From 8286b9f757065cfea9062620584c8dc3e276c4c4 Mon Sep 17 00:00:00 2001
From: Sergey Belov <peimei@ya.ru>
Date: Tue, 28 Jul 2026 00:50:59 +0200
Subject: [PATCH] fix(hook): canonicalize conductor mutation roots
---
src/scripts/codex-native-hook.ts | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/scripts/codex-native-hook.ts b/src/scripts/codex-native-hook.ts
diff --git a/src/scripts/__tests__/codex-native-hook.test.ts b/src/scripts/__tests__/codex-native-hook.test.ts
index 05f96ed2..c38c0c9f 100644
--- a/src/scripts/__tests__/codex-native-hook.test.ts
+++ b/src/scripts/__tests__/codex-native-hook.test.ts
@@ -756,21 +756,59 @@ const priorTeamEnv = new Map<
 	string | undefined
 >();
 
-beforeEach(() => {
@arikon
arikon / 0001-fix-state-honor-exact-indeterminate-session-binding.patch
Created July 27, 2026 22:23
oh-my-codex #3324: honor exact identity-indeterminate session binding
From d1aeec6c78f7b2c9da23fb8e61a5c4481de72056 Mon Sep 17 00:00:00 2001
From: Sergey Belov <peimei@ya.ru>
Date: Tue, 28 Jul 2026 00:22:36 +0200
Subject: [PATCH] fix(state): honor exact indeterminate session binding
---
src/mcp/__tests__/state-paths.test.ts | 55 ++++++++++++++++++++++-
src/mcp/state-paths.ts | 10 ++++-
src/ultragoal/__tests__/artifacts.test.ts | 28 ++++++++++++
3 files changed, 90 insertions(+), 3 deletions(-)