Skip to content

publisher: normalize tokenless error accounts to disconnected - #27

Open
trankimphu-arch wants to merge 1 commit into
brightbeanxyz:mainfrom
trankimphu-arch:hotfix/tokenless-account-normalization
Open

publisher: normalize tokenless error accounts to disconnected#27
trankimphu-arch wants to merge 1 commit into
brightbeanxyz:mainfrom
trankimphu-arch:hotfix/tokenless-account-normalization

Conversation

@trankimphu-arch

Copy link
Copy Markdown

Summary

This hotfix normalizes social accounts in error state but missing OAuth token by downgrading them to disconnected.

Why

Strict health checks were reporting false-positive warnings from tokenless accounts that cannot publish. This polluted operational signals.

Changes

  • Add tokenless account normalization in publisher engine (error + missing token -> disconnected).
  • Keep publish safety behavior unchanged.

Validation

  • run_publisher --once passes.
  • check_autopilot_health --strict --fail-on-warning is healthy.
  • Multi-cycle monitoring remains stable (fresh heartbeat, no stale account errors).

Risk

Low. Scope is isolated to tokenless account state normalization.

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