Skip to the content.

Integrations

coding-ethos is designed to meet developers and agents where they already work: local Git hooks, AI coding assistants, MCP clients, GitHub Actions, GitLab CI, SARIF consumers, and managed static-analysis tools.

Codex

Generated Codex surfaces include:

Recommended workflow:

  1. Let generated hooks evaluate proposed shell commands and file edits.
  2. Call the MCP server for lint_check, lint_advice, policy_explain, and skill_recommend before running raw tools.
  3. Report changed files, checks run, and unresolved policy risks before requesting review.

Claude Code

Generated Claude surfaces include:

Claude should use the same MCP-first lint workflow described in examples/mcp-lint-advice. Agent memory and plan files are writable, while enforcement points remain protected.

Gemini CLI

Generated Gemini surfaces include:

Gemini review and hook prompts are generated from source templates and grounded in coding_ethos.yml, repo_ethos.yml, and merged enforcement config.

MCP Clients

The MCP server runs over stdio:

bin/coding-ethos-run mcp

High-value tools:

Agents should prefer MCP calls for policy and lint context because MCP exposes the same compiled policy, generated skills, managed tool metadata, and SARIF evidence used by hooks and CI.

GitHub Actions

Generated GitHub Actions workflows can run the SARIF gate and upload results to code scanning. See CI/CD SARIF.

Use GitHub Actions for:

GitLab CI

Generated GitLab CI files provide the same SARIF-oriented policy gate for GitLab consumers. The generated config is controlled by generated_config.ci.gitlab.enabled in the merged enforcement config.

SARIF Consumers

SARIF output is useful beyond GitHub code scanning:

See SARIF uses and SARIF editor integration.

Static Analysis Tools

Managed tool capture currently focuses on routing lint and type-checker output through generated config, normalized diagnostics, policy maps, traces, SARIF, and MCP advice. Tools should declare capabilities such as network, Git, sandbox, timeout, memory, CPU, seccomp, read paths, and write paths so CEL and MCP can reason about runtime behavior.