Skip to content

clerk-tools: unify toolset dispatch, add carving/tinkering support - #7521

Open
simtel12 wants to merge 2 commits into
elanthia-online:mainfrom
simtel12:clerk-tools-belts
Open

clerk-tools: unify toolset dispatch, add carving/tinkering support#7521
simtel12 wants to merge 2 commits into
elanthia-online:mainfrom
simtel12:clerk-tools-belts

Conversation

@simtel12

@simtel12 simtel12 commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replaces clerk-tools.lic's elsif chain with a TOOLSETS table, so adding a discipline means adding an entry rather than another branch. Legacy names (forging, outfitting, engineering, alchemy, enchanting) keep working unchanged via a LEGACY_TOOLSETS alias map.
  • Adds carving and tinkering as toolsets clerk-tools can get/store — it previously had no support for either. Belt resolution follows the same carving_belt/tinkering_belt || engineering_belt fallback (Crafting belts, need more categories #1420) that carve.lic, carve-bead.lic, carve-lockpicks.lic, tinker.lic, and bolts.lic already use, so tools land where those scripts expect to find them.
  • Documents the previously-undocumented carving_tools/tinkering_tools settings in data/base-help.yaml (already read by carve.lic and workorders.lic, just never had help entries).

Test plan

  • rspec spec/clerk_tools_spec.rb passes (27 examples, 0 failures), including new coverage for the carving_belt/tinkering_belt override and fallback behavior
  • Full rspec suite passes (2837 examples, 0 failures)
  • ruby -c clerk-tools.lic syntax check clean
  • rubocop clerk-tools.lic clean

Replaces the elsif chain with a TOOLSETS table, so adding a discipline
means adding an entry rather than another branch. Legacy names (forging,
outfitting, engineering, alchemy, enchanting) keep working unchanged via
a LEGACY_TOOLSETS alias map.

Adds carving and tinkering as toolsets clerk-tools can get/store, which
it previously had no support for at all. Their belt resolution follows
the same carving_belt/tinkering_belt || engineering_belt fallback (elanthia-online#1420)
that carve.lic, carve-bead.lic, carve-lockpicks.lic, tinker.lic, and
bolts.lic already use, so tools land where those scripts expect to find
them. Documents the previously-undocumented carving_tools/tinkering_tools
settings in data/base-help.yaml.
@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0b517faa-d966-4144-ab08-93e42694799f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

taskmaster.lic already reads shaping_tools for lumber-task repairs,
same as workorders.lic; it was just missing from the help entry.
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