NAME

Dist::Conformance::Check::ClaudeSettings - .claude/settings.json enables the plugins of the harness

VERSION

version 0.001

DESCRIPTION

Claude Code loads a plugin for a repository when the project settings enable it, under enabledPlugins, as plugin@marketplace. The check passes when the file enables each plugin of plugins. It reports missing when the file is absent or does not enable one, and fails when the file does not parse as a JSON object, which Claude Code would not read either.

The update writes the file when it is absent, and sets each plugin to true in enabledPlugins when it is there. It keeps every other key of the file, and writes it with sorted keys and an indent of two. A file that does not parse is left for a person.

METHODS

settings

($snapshot). The parsed settings, undef when the file is absent. Dies when it does not parse.

disabled

($settings). The plugins that $settings does not enable.

check

update

Writes the settings, or enables the plugins in them.

IN A FLAVOR

checks:
  ClaudeSettings:
    file: .claude/settings.json
    missing: info
    plugins:
      - perl-slop@troglodyne-marketplace

CONFIGURATION

file

Required. The path of the settings.

plugins

Required. The plugins to enable, each as plugin@marketplace.

missing

The status when the file is absent or does not enable a plugin. Default fail.

SEE ALSO

Please see those modules/websites for more information related to this module.

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/Troglodyne-Internet-Widgets/Dist-Conformance/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHORS

Current Maintainers:

  • George S. Baugh <george@troglodyne.net>

COPYRIGHT AND LICENSE

Copyright (c) 2026 Troglodyne LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.