Skip to content

refactor(pool): sort the pool rules target into alphabetical position - #3091

Merged
dyoshikawa merged 1 commit into
mainfrom
resolve-issue-2984-sort-pool
Sep 16, 2026
Merged

dyoshikawa merged 1 commit into
mainfrom
resolve-issue-2984-sort-pool

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Summary

Refs #2984 — item 2 (re-sort pool into alphabetical position). Items 1 and 3 need a maintainer decision and are untouched; item 4 was resolved upstream (see the 2026-09-16 comment on the issue).

Changes

  • src/types/tool-target-tuples.ts: pool moves from after zoocode to between pi and qwencode in rulesProcessorToolTargetTuple.
  • src/features/rules/rules-processor.ts: the pool entry of toolRuleFactories moves to the same position (map order is getToolTargets() order).
  • src/types/tool-targets.test.ts, src/features/rules/rules-processor.test.ts: expected-order arrays updated accordingly.

No behavioural change. The generated supported-tools tables are driven by TOOL_DISPLAY (a hand-kept presentation order, not alphabetical), so pnpm run generate:tables produced no diff. dsh, added after the issue was filed, still sits at the end of the tuple; left as-is since it is outside the issue's scope.

Verification

  • pnpm cicheck passes (455 files, 12273 tests).

🤖 Generated with Claude Code

https://claude.ai/code/session_019yLN6CVqeZ8HCrjRb9o7mK

Refs #2984 (item 2). The rules target tuple, the rule factory map and the expected-order test arrays now list pool between pi and qwencode instead of after zoocode. The generated tables follow TOOL_DISPLAY, which is a hand-kept presentation order, and are unchanged.

Co-Authored-By: Claude Opus 5 <[email protected]>

Claude-Session: https://claude.ai/code/session_019yLN6CVqeZ8HCrjRb9o7mK
@dyoshikawa
dyoshikawa merged commit 7fbb0e2 into main Sep 16, 2026
10 checks passed
@dyoshikawa

Copy link
Copy Markdown
Owner Author

@dyoshikawa Thank you!

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