Skip to content

Preserve model-selection failure reasons on input replay - #39

Closed
twoimo wants to merge 1 commit into
codex/alden-sdk-source-loader-20261024from
codex/alden-input-failure-replay-20261024
Closed

twoimo wants to merge 1 commit into
codex/alden-sdk-source-loader-20261024from
codex/alden-input-failure-replay-20261024

Conversation

@twoimo

@twoimo twoimo commented Oct 24, 2026

Copy link
Copy Markdown
Owner

A timeout during model selection could become a generic input failure, and even a recognized pre-adapter failure lost its original reason on durable replay. Catalog transport errors now carry bounded unavailable/authentication/quota codes; both catalog reads preserve these codes. Input failure persistence records the exact allowlisted reason without inventing model, response, usage or timing evidence, and retains a more specific bound adapter error.

Validation: 249 affected Python tests pass. Installed-code negative controls reproduce both the unsafe generic timeout and missing replay reason. Private synthetic runtime inputs reached the actual configured Flash/high route: image+text file, previous attachments, a public SQLite page and its saved followup, cross-conversation isolation, exact completed replay, and two active same-conversation requests with an explicit post-generation/pre-commit barrier. Six observed provider responses yielded five committed turns and one superseded answer, with no stale reply exposed. These are bounded backend/installed-API journeys, not physical composer or broad semantic accuracy claims.

Installed acceptance: all 83 packaged files match the canonical build receipt and strict/deep signature verification passes. The 43 targets, settings, policies, launchd definitions, four sending-queue database fingerprints and the existing collector process were preserved. Three regression methods loaded the installed modules and passed. Five completed IDs replayed their exact original receipts after upgrade. One new actual Flash/high response on the upgraded installation correctly recovered the previous synthetic image and text file, bringing this bounded journey to seven observed responses, six committed turns and one superseded result. An invalid QA helper payload and a local exclusive-file collision were retained and corrected before this new inference; neither created a ledger row or duplicate provider response.

Zoom disclosure recheck: 14 focused frontend tests pass for the user's salary/essay/job labels. All 192 frontend source files match the previously verified native renderer. Its earlier two-size zoom journeys recorded passive labels 0→13→16→0 and 0→5→6→0 with no sampled overlaps or clipping. This reuses dated renderer evidence; no new primary-window, physical gesture or minimized-primary QA is claimed.

The patch changes no selected model, settings schema, database schema, shared router, account, SDK qualification, collector policy or frontend source. Failure never selects another model or retries generation. Historical failed rows are not retroactively rewritten. Frontend source192 files matches the previously verified version, so no new physical/minimized-primary UI result is claimed. Existing SDK/Telegram, external current-source audit and normal release/notarization gates remain separate. Product CI only targets main; remote checks are not a substitute for local/runtime evidence.

@twoimo

twoimo commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

Closing: this branch's head is an ancestor of #48 (codex/alden-explicit-references-20261025), so everything here is part of the lineage that #48 tips. It cannot land on its own.

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.

@twoimo twoimo closed this Nov 23, 2026
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