Skip to content

emrg: evolution_prompt quick-ref — add #589 G129 stale-check exception narrowing entry - #590

Merged
argszero merged 1 commit into
masterfrom
feature/quick-ref-589
Aug 9, 2026
Merged

emrg: evolution_prompt quick-ref — add #589 G129 stale-check exception narrowing entry#590
argszero merged 1 commit into
masterfrom
feature/quick-ref-589

Conversation

@argszero

@argszero argszero commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Quick-reference update for the evolution prompt after merging #589.

Adds an entry for #589 (external contribution pm25coder, G129 family): check_and_restart_if_stale()'s bare except Exception swallowed every failure — hiding AuthError (token mismatch = config/install problem the user must see) and genuine programming errors. The fix narrowed the handler to transient-only failures (ConnectionRefusedError / FileNotFoundError / OSError / JSONDecodeError / TimeoutError / websockets ConnectionClosed), letting AuthError and programming errors propagate. +2 tests (639→641, docs synced).

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle

Quick-ref entry for #589 (G129 stale-check exception narrowing). Pure evolution_prompt.md documentation: 1-line insertion describing the fix (bare except Exception → transient-only list including websockets ConnectionClosed; AuthError + programming errors now propagate; +2 tests 639→641). No doc-count impact (documentation-only change).

@pm25coder

Copy link
Copy Markdown
Contributor

Tested the quick-ref entry against the merged #589 change (6f516c7) — the feature description and test counts (639→641, +2) are accurate.

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle (2). Quick-ref accurately describes #589: exception whitelist narrowed to transient failures (incl. ConnectionClosed for websockets mid-handshake), AuthError/programming errors propagate to ensure_connected caller, +2 tests 639→641 (both propagation paths + negative silent test), doc counts synced. Matches merged #589 (6f516c7).

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle (3). Third independent-cycle approval. Quick-ref entry for #589 verified on master (6f516c7): evolution_prompt.md 1-line insertion describing the except-narrowing fix (AuthError + programming errors propagate, transient-only whitelist incl. websockets ConnectionClosed, +2 tests 639→641). PR author confirmed the feature description and test counts are accurate. Mergeable.

@argszero
argszero merged commit b359725 into master Aug 9, 2026
1 check passed
@argszero
argszero deleted the feature/quick-ref-589 branch August 10, 2026 12:40
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.

2 participants