Add lintlang (AI_LINTLANG) to External Plugins Catalog - #8899
Open
roli-lpci wants to merge 2 commits into
Open
Conversation
Adds one row to .automation/plugins.yml for lintlang, a deterministic, offline linter for AI agent instructions, tool definitions, and prompt files, published as an external MegaLinter plugin under hermes-labs-ai/lintlang/mega-linter-plugin-lintlang. Adds "lintlang" to .cspell.json, matching the fmlint, j2lint, and repolinter catalog additions. Generated tables in README.md and docs/plugins.md are left to .automation/build.py. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CnXLGuM98H1sVPJcBJwdAD
roli-lpci
requested review from
Kurt-von-Laven,
bdovaz,
echoix and
nvuillam
as code owners
September 5, 2026 02:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8865
Proposed Changes
.automation/plugins.ymlfor lintlang (AI_LINTLANG), a deterministic, offline linter for AI agent instructions, tool definitions, and prompt files, published as an external plugin at https://github.com/hermes-labs-ai/lintlang/tree/main/mega-linter-plugin-lintlang.lintlangto.cspell.json, matching earlier catalog additions.Generated tables in
README.mdanddocs/plugins.mdare left to.automation/build.py, as with previous catalog rows.Descriptor: https://raw.githubusercontent.com/hermes-labs-ai/lintlang/main/mega-linter-plugin-lintlang/lintlang.megalinter-descriptor.yml
Verified end to end in
oxsecurity/megalinter:v8andoxsecurity/megalinter-python:v9.4.0: the plugin loader installslintlang==0.5.3at run time, a failing fixture makes MegaLinter exit 1, and a clean workspace exits 0.Readiness Checklist
Author/Contributor
Reviewing Maintainer
breakingif this is a large fundamental changeautomation,bug,documentation,enhancement,infrastructure, orperformanceMegaLinter v10 compatibility
Reopening this existing catalog contribution after completing the requested v10 check. The two-file catalog diff is unchanged.
Tested on 5 September 2026 with
ghcr.io/oxsecurity/megalinter-python:v10.1.0(linux/amd64), image digestsha256:f12a40b0dd5ad2c9aa029dcf7d3a0a92182d05cacc32d37756e67c3446484acb.The external plugin loader fetched the HTTPS descriptor and installed
lintlang==0.5.3at runtime.package.json1package.json0This verifies the loader, installation, file selection, and exit behavior on the Python flavor of v10.1.0.
Reproduce the v10 check
Use the descriptor and fixtures from LintLang commit
b525d910ac73b3c7d34c8e20ed9dc34786c2ca66.In a scratch directory, copy clean_config.yaml to
agent-clean.yamland bad_tool_descriptions.yaml toagent-bad.yaml. Add an unrelatedpackage.jsoncontaining{}and this.mega-linter.yml:docker run --rm --platform linux/amd64 -v "$PWD:/tmp/lint:rw" -e DEFAULT_WORKSPACE=/tmp/lint ghcr.io/oxsecurity/megalinter-python@sha256:f12a40b0dd5ad2c9aa029dcf7d3a0a92182d05cacc32d37756e67c3446484acbThe first run exits
1. Moveagent-bad.yamloutside the scratch directory and rerun; it exits0. The unrelated metadata file is not selected in either run.