Skip to content

fix(Alden): distinguish stopped browser and pre-press AX actions from failures - #32

Closed
twoimo wants to merge 16 commits into
codex/alden-voice-completion-fence-20261011from
codex/alden-tool-cancel-attribution-20261011
Closed

twoimo wants to merge 16 commits into
codex/alden-voice-completion-fence-20261011from
codex/alden-tool-cancel-attribution-20261011

Conversation

@twoimo

@twoimo twoimo commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Precise emergency-stop attribution for Alden's owned browser and opt-in background Accessibility tool runtime. Stacked on draft PR #31 (which is stacked on #30→#29→#28→#27). No existing branch is merged or forced.

  • Browser runner failure after the global abort latch becomes ABORTED / AX_ABORT_GLOBAL with no leaked exception/task/result text. A non-aborted exception remains a bounded browser failure. No claim that previous third-party browser effects were rolled back.
  • Exact AXPress tool returns the actual cancellation only if it occurred while resolving the target before the press, even when resolver throws FocusStealRequired, target resolution error or provider exception. No AXPress occurs after that state.
  • Deliberately preserve the existing AX_ERROR_EFFECT_UNKNOWN contract for an action after the press may have happened; an uncertain effect cannot be reclassified as safely cancelled, or automatically retried.
  • Retain exact PID/window/role/identifier, explicit opt-in, background no-focus/no-real-pointer enforcement, bound output and global abort epoch contracts.

Test evidence: macOS Actions #38072772583, source SHA ef94d51226314408fbcd8830f95d2728bb783cea, 92/92 Python regression tests passing (browser ownership, AX, cancellation, input fences and underlying voice-turn path). Production and test Git blobs match the implementation branch; runner/stdiotoken mocks cannot establish physical Mac Accessibility outcomes.

Technical design/rollback requirements.

Not performed: Mac host access, direct original goal-objective or user-local outputs/STATUS.md read/write (native Core requires an unprovided valid turn_token), production DB/model/queue/process changes, integration with external osk-system, signed/notarized distribution, installation or user hardware controls.

twoimo added 16 commits October 11, 2026 02:40
@twoimo

twoimo commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

Closing: this is the Oct 10-11 side stack #28 to #32 (87 commits from 0509551, not in #48 by patch-id). It touches no src/ file and no auto-reply worker or supervisor. 31 of its 38 changed files do not exist on main (scripts/alden_voice.py, scripts/alden_tool_runtime.py, scripts/alden_collection.py, desktop/src/knowledge/* and their tests), so it cannot land on main without the lineage. The one change to a file main uses standalone is 72c7a3d in scripts/verify_local_models.py, a stricter operator-only probe that nothing on main calls. It stays on the branch.

Why the lineage cannot land as drafts. The codex/alden-* lineage forked from main at 533dbf6 (2026-10-05). Its tip is #48 (5f4843f), 727 commits ahead. main then took the 1.9.0/1.9.1 stability work (#49 to #58), and none of these drafts was rebased onto it.

  • A trial merge of main into the tip conflicts in 36 files, including 10k-line hunks in src/main.rs and src/context/mod.rs, which 1.9.0 split into modules.
  • A read-only audit found that the lineage's src/ax_send.rs lacks two 1.9.x composer safeguards: e14458e (an unreadable composer is not treated as empty) and 7d9635d (no second Return without a composer read, the double-send fix). A conflict resolved toward the lineage would compile and silently undo both.
  • The lineage's queue code bails on queue schema v3.
  • About 1.24M of the tip's 1.57M added lines are generated docs/architecture snapshots (about 121 MB).

What was kept. The audit read all 69 lineage commits that touch src/ or the auto-reply scripts. The three that fix main's production send path are now on main:

Every other lineage commit is on main already, superseded there, or Alden desktop and feature work that depends on lineage-only modules.

Nothing is deleted. The branch stays on the remote. The installed /Applications/Alden.app 0.3.219 was built from this lineage (a124320), so treat the branch as the source of that build. To bring the desktop work to main, start a planned integration from the tip, codex/alden-explicit-references-20261025, rebased onto main. Keep main's side in src/ax_send.rs and the queue v3 code. Reopen this PR or start from the branch if you want it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant