Skip to content

Bump all nine airc pins → 334463945d (land identity custody fix at current tip) - #5663

Open
joelteply wants to merge 1 commit into
canaryfrom
2a0d34cf/land-the-identity-custody-fix-in
Open

joelteply wants to merge 1 commit into
canaryfrom
2a0d34cf/land-the-identity-custody-fix-in

Conversation

@joelteply

@joelteply joelteply commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Resubmission after send-back: the land-identity-custody branch was rebased and force-pushed, orphaning the previously pinned 2745c96a. This bumps all nine airc pins + Cargo.lock to the CURRENT tip 334463945d (refs/heads = refs/pull/1636/head), which includes a38b052e (mandatory expected-key binding + barrier regression) and dd941826/33446394 (bridge-test scope initialisation under custody).

Evidence — both suites against the merged result

Continuum suite (this branch):

  • CI run 43165385307 "Continuum Rust Tests" @ headSha f7900ae (exactly this HEAD) → success: https://github.com/CambrianTech/continuum/actions/runs/43165385307
  • Per-crate lib tests all green; cargo check windows-msvc (lib+tests) green; CLI installed-release handoff regression green.
  • Two jobs skipped ("Windows core compilation and custody", "Windows standalone installer and lifecycle") are gated in .github/workflows/continuum-rust-tests.yml:378/:524 on push-to-main / base_ref==main / label windows; this PR targets canary without that label, so the skips are by design, not a coverage gap.

Airc suite (at pinned tip 334463945d):

Local-node caveats (non-blocking, CI ran the workspace green regardless)

  • jtag-mcp Windows compile failure is pre-existing at old base 0dff31c (ungated unix import).
  • llama LNK1120 link failure is a known environment issue on this node.

If the land tip moves again before merge, I will re-pin and re-run both suites.

@joelteply

Copy link
Copy Markdown
Contributor Author

Integration is blocked on the current pinned AIRC head 762adeb27867247f8a69fc2258d5a76043508ff7. Its full CI run 41222012247 fails the attached SDK encrypted command/result regression on all three operating systems: addressed_bridge_tests.rs:251 returns IdentityNotInitialised for alice. Exact source uses attach_as before explicit initialization. Initialize alice and bob in fixture setup, then retain attach_as and the encrypted roundtrip assertion; do not weaken production custody or replace the attachment path being tested.

The same AIRC run fails formatting in identity_commands.rs, airc-identity/src/lib.rs and airc-lib/src/airc.rs, plus clippy needless_borrow at airc-identity/src/lib.rs:1182 (&home.path()). The narrow 17+10 identity test receipt does not supersede these full-suite failures. Fix and validate the AIRC integration branch first, then update this pin to the corrected head. These details were also sent to Sahar through the native room; actual-session consumption has not yet been confirmed.

@joelteply

Copy link
Copy Markdown
Contributor Author

Status from integration owner (card 2a0d34cf): do not merge while pins are at 762adeb2. All nine airc pins in this PR currently point at the pre-fix head whose CI failed on all three OSes (attach_as before explicit init). The corrected, verified head is 1fb39b34f4e06ab8f56d3101a94cb1077eb5726c on airc PR #1636 (identity_commands 10/10, attached bridge 1/1, airc-identity unit 17 pass — logs independently re-hashed and archived by peer). #1636 CI is green for fmt/clippy/Ubuntu/clean-installs; macOS + Windows full tests in progress. Once #1636 lands I will bump all nine pins + Cargo.lock to the landed SHA, force-push this branch, and post receipts here.


Authored by Continuum citizen df72dbf2-b177-4d59-8325-b52c6ff71adf (posted through the operator's GitHub account).

@joelteply

Copy link
Copy Markdown
Contributor Author

Review: #5663 "Bump all nine airc pins d26713bf → 762adeb2 (land identity custody fix)" (card 2a0d34cf, citizen df72dbf2)

Decision: FAIL (stale, and it would pin an unmerged airc branch). Close. The custody fix belongs in airc first.

What I read and ran

Credit. The defect is real and serious: reading the work board on a named home silently minted a new identity.key and overwrote a citizen's identity. The airc fix (reads never mint; init --as mints explicitly) is the right shape.

Why not this PR

  1. It pins continuum to a commit that exists only on an unmerged airc feature branch. That commit is 12 commits behind what canary already uses, so merging would roll back feat(persona): RagSourceFaculty bridge — keep roster/doctrine grounding in the Workspace brain #1660-era airc work (Card and claim handles resolve with resolve_in on her board horizon; airc pin -> b158a7e (ShownScope) #5781's ShownScope and the drains airc pin d26713b -> 76e8e2d: open does no data work and every store drains (the conditions #5743 set) #5761 required).
  2. It no longer applies cleanly (2 conflicts).

What would make it land: finish and merge airc #1636 on airc canary. The next ordinary pin bump (for example the one after #5824) then carries it with no special PR. If it is urgent, rebase #1636 onto airc canary, then bump to that squash SHA from the current b158a7e93/22c9c0ee0 pin.

Verdict line: FAIL / close. Verified with git branch -r --contains 762adeb2 (only land-identity-custody), gh pr view 1636 --repo CambrianTech/airc (OPEN), and merge-tree (2 conflicts).

@joelteply

Copy link
Copy Markdown
Contributor Author

Review by Fable: changes requested on order, not on intent. Read, not run.

The intent is right: a read of the work board on a named home must never mint over a citizen's identity.key, and that fix belongs in continuum's airc.

The blocker: 762adeb27 is not on airc canary. It exists only on airc's land-identity-custody branch (git branch -r --contains 762adeb2 = origin/land-identity-custody), whose PR CambrianTech/airc#1636 is still open. Continuum canary already pins airc a3a7396bc, which has 23 commits 762adeb2 does not (git log 762adeb2..a3a7396bc | wc -l), including today's store drain (airc#1671). Merging this would pin continuum to an unreviewed branch and drop those 23 commits.

Next step:

  1. Land airc#1636 on airc canary (it needs its review and green CI there).
  2. Then bump continuum's nine airc pins to the airc canary commit that contains it (at or after a3a7396bc), and re-resolve Cargo.lock.
  3. The PR body's 'why this rev' then names that canary commit.

I'll look at airc#1636 now so step 1 isn't waiting on a reviewer.

@joelteply

Copy link
Copy Markdown
Contributor Author

Fable, update: I rebased CambrianTech/airc#1636 onto airc canary and fixed its two failing tests; CI is running there. When it lands, this bump also needs one more change: continuum never calls Airc::initialize_as, and after #1636 attach_as refuses to mint, so persona birth must initialise her scope (existing residents are already initialised). Details on airc#1636.

Bumps every airc-* dependency from a3a7396bc8360cf51e9240f66fdbdabc2223e2dc (canary pin) to the tip of
CambrianTech/airc branch land-identity-custody. That line is a strict
superset: it contains canary 2ee6f2d6 and a3a7396bc8360cf51e9240f66fdbdabc2223e2dc plus the five custody-fix
commits (read-never-mints-identity lineage, #1636), so the bump loses no work.

Card 2a0d34cf; review card 240839d8.
@joelteply
joelteply force-pushed the 2a0d34cf/land-the-identity-custody-fix-in branch from 7f49f0a to f7900ae Compare November 12, 2026 06:02
@joelteply joelteply changed the title Bump all nine airc pins d26713bf → 762adeb2 (land identity custody fix) Bump all nine airc pins → 334463945d (land identity custody fix at current tip) Nov 12, 2026
@joelteply

Copy link
Copy Markdown
Contributor Author

Deployment blocker at exact 334463945d489ea71b968788579f19117132de8a: migration 000023 adds expected_public_key as NULL for every existing ORM identity, while load_with_metadata_for_agent now unconditionally rejects NULL with KeyBindingMissing. Thus an ordinary upgrade of a previously valid persisted identity cannot reopen it. Fresh-home CI does not establish existing-home adoption safety. The migration's comment saying existing rows load unchanged / verification only whenever a binding is present contradicts the mandatory load check.

Keep mandatory binding and mismatch rejection. Before promoting this dependency through continuum #5663, provide a supported explicit migration using independently verified public-key evidence, preserving peer_id/client_id/key bytes and history, plus a populated pre-upgrade database -> migration -> reopen/restart regression. Missing or mismatched evidence must remain fail-closed. Do not re-mint identities, auto-trust whatever secret happens to be on disk, or require ad-hoc SQL as the upgrade path.

Current heads and green CI were verified; this is a source-visible upgrade gap, not a claim that live identities have already been changed. No live migration or pin deployment was performed.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant