You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix messenger source loading and missing packaged dependency - #38
The bundled messenger factory could not import because the desktop payload omitted alden_platform_identity.py. This includes the missing dependency and extends packaging coverage through the knowledge MCP entry point and conditional imports, with an isolated staged-resource import regression.
The source loader also hashed .py files but could execute different unchecked-hash .pyc contents despite -B. It now snapshots bounded regular source files before/after the unchanged whole-SDK qualification, compiles those exact bytes, initializes the fixed dependency graph without changing sys.path, and publishes module attestations only after source/origin/API checks. Failed initialization removes only modules created by that request. Account, source-root, native authority, consent and SDK health gates remain in force.
Validation: the former cache substitution and missing package resource fail under isolated negative controls. 284 affected Python tests and 7 Rust resource-layout tests pass; the actual candidate bundle imports its three messenger dependencies without a checkout or native framework/SDK content call, and still rejects the current unqualified shared SDK. Canonical signed build has 83 verified files. Frontend source is unchanged from d996f19; no new physical/minimized-primary UI claim follows.
Limits: the production registry still has zero KakaoTalk/Telegram targets. The shared Kakao SDK retains its whole-installation integrity failure, and Telegram retains its changed-app/decoder contract block; no global manifest rewrite, account switch, source bypass, live message/send or frontier activation is performed. The state diagram documents implemented transitions and bounded regressions, not a full formal proof. Current-source external cross-audit and normal release/notarization remain incomplete. Product CI only targets main; local validation is separate from GitGuardian.
Installed readback: all 83 bundle file hashes/modes and strict/deep signature match the canonical receipt; settings, 43 targets, two launchd plists and four queue DB table fingerprints are preserved. The collector retains the same PID/start. Actual installed resource-only imports now succeed, its loader passes 13 synthetic source/cache/failure regressions, and the current SDK qualification still blocks before canonical native reader modules load. No UI window was opened for this Python/resource verification.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The bundled messenger factory could not import because the desktop payload omitted alden_platform_identity.py. This includes the missing dependency and extends packaging coverage through the knowledge MCP entry point and conditional imports, with an isolated staged-resource import regression.
The source loader also hashed .py files but could execute different unchecked-hash .pyc contents despite -B. It now snapshots bounded regular source files before/after the unchanged whole-SDK qualification, compiles those exact bytes, initializes the fixed dependency graph without changing sys.path, and publishes module attestations only after source/origin/API checks. Failed initialization removes only modules created by that request. Account, source-root, native authority, consent and SDK health gates remain in force.
Validation: the former cache substitution and missing package resource fail under isolated negative controls. 284 affected Python tests and 7 Rust resource-layout tests pass; the actual candidate bundle imports its three messenger dependencies without a checkout or native framework/SDK content call, and still rejects the current unqualified shared SDK. Canonical signed build has 83 verified files. Frontend source is unchanged from d996f19; no new physical/minimized-primary UI claim follows.
Limits: the production registry still has zero KakaoTalk/Telegram targets. The shared Kakao SDK retains its whole-installation integrity failure, and Telegram retains its changed-app/decoder contract block; no global manifest rewrite, account switch, source bypass, live message/send or frontier activation is performed. The state diagram documents implemented transitions and bounded regressions, not a full formal proof. Current-source external cross-audit and normal release/notarization remain incomplete. Product CI only targets main; local validation is separate from GitGuardian.
Installed readback: all 83 bundle file hashes/modes and strict/deep signature match the canonical receipt; settings, 43 targets, two launchd plists and four queue DB table fingerprints are preserved. The collector retains the same PID/start. Actual installed resource-only imports now succeed, its loader passes 13 synthetic source/cache/failure regressions, and the current SDK qualification still blocks before canonical native reader modules load. No UI window was opened for this Python/resource verification.