Skip to content

fix: address upstream review findings - #7

Merged
Alumos merged 1 commit into
mainfrom
fix/review-findings
Nov 11, 2026
Merged

Alumos merged 1 commit into
mainfrom
fix/review-findings

Conversation

@Alumos

@Alumos Alumos commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Applies the fixes from upstream review on murongg#160 (all eight findings): channel endpoints stay locked on edit, derived stickiness uses its own namespace and capacity, image models are priced by modality, OpenCode Go usage only for the official origin, explicit and paced IP reputation lookups, and group names unique among active groups only.

New additive migrations: 032_affinity_preferences.sql, 033_group_active_names.sql (rebuilds account_groups; verified on a copy of a populated database).

make check passes locally (race tests for all packages, 544 frontend tests, build).

🤖 Generated with Claude Code

…ports

- Keep the separate-channel rule: base URL, platform and protocol cannot
  change on edit, so a stored key never reaches another upstream.
- Hash derived stickiness preferences into their own namespace so they never
  read or rewrite explicit bindings; parent lookups stay read-only.
- Mark derived affinity rows, cap them at a quarter of the table and let
  explicit bindings evict them first.
- Charge image model output at the image rate and settle input by modality.
- Read OpenCode Go usage only for channels on the official origin.
- Make IP reputation lookups an explicit action, coalesce them per IP and
  start the cooldown when an attempt begins.
- Make group names unique among active groups only so retired groups keep
  their names and never block deletion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Alumos
Alumos merged commit 5f11440 into main Nov 11, 2026
14 checks passed
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