Skip to content

fix(auth): unify shared authority across profiles (#380) - #17

Merged
cermm merged 1 commit into
mainfrom
issue-380-shared-auth
Aug 16, 2026
Merged

fix(auth): unify shared authority across profiles (#380)#17
cermm merged 1 commit into
mainfrom
issue-380-shared-auth

Conversation

@cermm

@cermm cermm commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Summary

Fix shared Hermes auth authority across default and worker profiles.

This PR implements the reviewed NousResearch#380 repair candidate on current fork/main:

  • shared auth authority resolution and migration/recovery commands;
  • transition/store locking for shared/profile auth writes;
  • dry-run migration digest bound to the locked source snapshot;
  • reachable auth consumers routed through shared authority (Photon, managed gateway, xAI, auxiliary client, first-run provider detection);
  • fail-closed behavior for authority/config errors rather than profile-local fallback;
  • focused regression coverage for migration, fallback locks, reachable consumers, and status/cache behavior.

Exact reviewed candidate

  • Candidate: 7576b5613b43ec02349f5880c4f533f721a9abe7
  • Tree: c9e217da9ea676dc6788d727aa8e89c87553bc8c
  • Parent/base: d4b6ecf622c44a96eff2a79b2f0c904e678b2f38
  • Reviewed plan SHA: 241e44ae98db174371a26bac9de02883cda910576b59fc6aa14ab9d82d11062b

Verification

Local receipts:

  • Allowed path/hunk candidate gate: PASS
    • allowed-paths.candidate.json
  • Sanitized candidate evidence: PASS
    • no added-line JWT / sk-* / Bearer findings
  • Independent review: PASS/PASS (deleg_848b2661)

Observed local test/smoke results:

  • focused current-finding regressions: 3 passed
  • scoped shared-auth/cache/write-through/reachable: 102 passed
  • wider auth suites: 170 passed
  • affected auxiliary suites: 375 passed
  • affected managed/xAI/web suites: 214 passed
  • temp-home migration + consumer smoke: PASS
    • photon_path_is_shared=True
    • managed_path_is_shared=True
    • managed_token_present=True
    • xai_ready=True
    • auxiliary_nous_present=True
    • main_provider_configured=True

Notes

Direct push to main was rejected by branch protection, so this PR is the required protected route into main.

Refs NousResearch#380

@cermm
cermm force-pushed the issue-380-shared-auth branch from 7576b56 to e1ebb26 Compare August 16, 2026 09:46
@cermm
cermm force-pushed the issue-380-shared-auth branch from e1ebb26 to 61a51f5 Compare August 16, 2026 10:49
@cermm
cermm merged commit 0df79d2 into main Aug 16, 2026
30 checks passed
@cermm
cermm deleted the issue-380-shared-auth branch August 16, 2026 13:01
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