Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By javiarmestov0.4.2MITIn 2 marketplaces
Verifiable AL loop for Business Central: compile, analyzers and a Stop gate so the agent checks its own work before finishing.
Claude hands work to one, or you mention it with @.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
aldc-verify is a Claude Code plugin for Business Central AL developers. It makes Claude verify its own AL work: it compiles your projects with the real AL compiler (L1), runs the code analyzers (L2), and a Stop hook does not let Claude end a turn with compile errors it introduced. Agents can also deliver on their own (commit file by file, push a claude/… branch, open a draft PR) behind a guard that refuses merges, force pushes and pushes to the default branch.
It works on its own. ALDC is an optional integration, not a requirement.
L1 compile · L2 analyzers · Stop gate · guard · Windows · Linux/cloud · GitHub Actions · MIT
alc.exe from the AL Language extension for VS Code (ms-dynamics-smb.al-<version>); the plugin finds it under ~/.vscode*/extensions.al dotnet tool (Microsoft.Dynamics.BusinessCentral.Development.Tools). On Linux (cloud sessions) the plugin installs dotnet 8 and the pinned tool version itself..alpackages (or VS Code's al.packageCachePath). Without them the result is not-run, never a false green.claude plugin marketplace add javiarmesto/aldc-verify-plugin
claude plugin install aldc-verify@aldc-verify-dev
To move to a new version, update the marketplace and the plugin, then restart Claude Code:
claude plugin marketplace update aldc-verify-dev
claude plugin update aldc-verify@aldc-verify-dev
.claude/settings.json does not install plugins in cloud or headless (claude -p) sessions. Put the two install lines in the environment's setup script. It only runs in new sessions, not in sessions resumed from cache./aldc-verify:init adds extraKnownMarketplaces and enabledPlugins to .claude/settings.json, so interactive sessions offer the plugin after the project is trusted.claude --plugin-dir <path-to-plugin> (also works with -p).The plugin registers five hooks. They only act in repos with at least one app.json. The key idea is the fingerprint: a hash of the .al files, the app.json files, the resources and the symbol list, taken when the turn starts and compared when it ends. If Claude did not touch AL, nothing is compiled.
| Hook | Script | What it does |
|---|---|---|
| SessionStart | ensure-al-toolchain.js | Finds the compiler (Windows/macOS: detect only; Linux: installs dotnet 8 and the pinned al tool). Gives Claude one line of context: compiler, BC version, projects. |
| UserPromptSubmit | al-verify-baseline.js | Stores the fingerprint at the start of each turn. Prints nothing. |
| PreToolUse (Bash, PowerShell) | guard.js | Denies git/gh commands that cannot be undone (see Guard). |
| SubagentStop (implement, developer, builder) | al-verify-gate.js | Same gate as Stop, for code-writing subagents, each with its own attempt counter. |
| Stop | al-verify-gate.js | The gate (below). |
The Stop gate:
app.json in the repo: exit.exit 2 with up to 40 diagnostics on stderr, so Claude keeps fixing. The message asks Claude to confirm with /aldc-verify:al-verify --l1, because only the user sees the gate's final green.maxAttempts (3) blocks in a row, or when Claude changes nothing after a block, it lets Claude stop and shows the pending errors. If the build turns green after a block, it tells Claude once, so the final answer cites it.alc failing without diagnostics: not-run or incomplete verification, and it never blocks.npx claudepluginhub javiarmesto/aldc-verify-plugin --plugin aldc-verifyBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground