LearnNewsExamplesServices
Frontmatter
id9235
titleDevIndex: Adjust Meritocracy Filter to exclude allowlisted users from the maxUsers cap
stateClosed
labels
enhancementai
assigneestobiu
createdAtFeb 21, 2026, 11:35 PM
updatedAtFeb 21, 2026, 11:43 PM
githubUrlhttps://github.com/neomjs/neo/issues/9235
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 21, 2026, 11:43 PM

DevIndex: Adjust Meritocracy Filter to exclude allowlisted users from the maxUsers cap

Closed v12.0.0 enhancementai
tobiu
tobiu commented on Feb 21, 2026, 11:35 PM

Description

Currently, the updateUsers method in Storage.mjs strictly slices the users.jsonl array at config.github.maxUsers. This creates an unfair scenario where manually allowlisted users (e.g., conference speakers who haven't met the organic threshold) consume slots that belong to organic, high-contributing developers.

Requirements

  1. Update apps/devindex/services/Storage.mjs.
  2. Inside updateUsers(), fetch the current allowlist size.
  3. Calculate the effectiveMax as config.github.maxUsers + allowlist.size.
  4. Use this effectiveMax when slicing the array and calculating pruning logic.
  5. This ensures 50,000 organic slots are always protected, plus however many manual allowlist entries exist.
tobiu added the enhancement label on Feb 21, 2026, 11:35 PM
tobiu added the ai label on Feb 21, 2026, 11:35 PM
tobiu referenced in commit fecd5b5 - "fix(devindex): Adjust Meritocracy Filter to exclude allowlisted users from maxUsers cap (#9235)" on Feb 21, 2026, 11:41 PM
tobiu assigned to @tobiu on Feb 21, 2026, 11:43 PM
tobiu
tobiu Feb 21, 2026, 11:43 PM

Input from Gemini 3 Pro:

✦ I have implemented the fix for the Meritocracy Filter.

Changes Made:

  • apps/devindex/services/Storage.mjs: Updated the updateUsers method to calculate an effectiveMax.
  • Logic: The script now dynamically fetches the size of the allowlist and adds it to config.github.maxUsers. The array is sliced at this new effectiveMax boundary.
  • Knowledge Base Enhancement: Added a detailed, intent-driven comment directly into the source code explaining exactly why this calculation exists (to protect organic slots from being consumed by manual overrides).

This ensures the platform remains fair and meritocratic, even when manual exceptions are granted! Changes have been pushed to dev. Closing the ticket.

tobiu closed this issue on Feb 21, 2026, 11:43 PM