Skip to content

fix(system): re-pair revoked running agents - #75

Merged
nicodes merged 1 commit into
mainfrom
fix/533-stale-token-repair
Aug 27, 2026
Merged

fix(system): re-pair revoked running agents#75
nicodes merged 1 commit into
mainfrom
fix/533-stale-token-repair

Conversation

@nicodes

@nicodes nicodes commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • accept only 2xx as startup proof; distinguish 401, 429, 5xx, and transport failures
  • cancel concurrent agent activity when an HTTP or WebSocket agent route authoritatively returns 401
  • clear revoked local authentication under the state lock and return through device pairing
  • preserve credentials on throttling and outages

Risk

Risk: high — bearer-token lifecycle, reconnect behavior, local credential clearing, and mixed-version rollout. Team No Review selected for nicodes/ormos-be#533.

Verification

  • go vet ./...
  • go test -race -count=1 ./...
  • Go 1.25.13-built govulncheck ./... (0 reachable vulnerabilities)
  • deliberate failure proofs recorded on nicodes/ormos-be#533 before completion

Part of nicodes/ormos-be#533

@nicodes
nicodes merged commit 8c0bacd into main Aug 27, 2026
4 checks passed
@nicodes
nicodes deleted the fix/533-stale-token-repair branch August 27, 2026 18:34
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