Skip to content
CAI
Software that uses CAICheck a score

peg/rampart

41.0

Weak · 16 November 2026

66.2k

lines of production code

Go

with JavaScript

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

10 commits (4 fixes) modifying internal/notify

A change to existing behaviour in internal/notify — 10 commits (4 fixs), 9 files: “feat: add webhook notifications (slack, discord, teams, generic)”; “v0.2.33: Default policy, dashboard restructure, action:watch (\#55)”; “v0.2.0: require\_approval system + hardening (\#23)”; and 7 more (refs \#55, \#23).

internal/notify · medium confidence · unverified

10 commits (5 fixes) modifying registry

A change to existing behaviour in registry — 10 commits (5 fixs), 5 files: “fix: harden MCP protocol boundaries”; “fix: serve policy registry from main repo instead of separate repo”; “feat: add community policy registry (rampart policy fetch/list) (\#162)”; and 7 more (refs \#162, \#142, \#191).

registry · medium confidence · unverified

12 commits (2 fixes) modifying preload

A change to existing behaviour in preload — 12 commits (2 fixs), 7 files: “feat: skip policy check when RAMPART\_AGENT is not set (\#215)”; “v0.2.0: require\_approval system + hardening (\#23)”; “fix: make native installer tests portable”; and 9 more (refs \#215, \#23).

preload · medium confidence · unverified

12 commits (5 fixes) modifying internal/daemon

A change to existing behaviour in internal/daemon — 12 commits (5 fixs), 3 files: “feat: add persisted field to allow-always approval responses for shim writeback”; “fix(engine): glob \>2 \\ segments, ExplainCondition empty when, MCP webhook action”; “fix: security audit — daemon race, shell hardening, proxy fail-closed (\#45)”; and 9 more (refs \#45, \#55, \#23, \#46).

internal/daemon · medium confidence · unverified

12 commits (5 fixes) modifying internal/session

A change to existing behaviour in internal/session — 12 commits (5 fixs), 3 files: “chore: isolate local maintainer state”; “fix: harden config resolution and hook approval integrity (\#286)”; “security: consolidate enforcement and release assurance”; and 9 more (refs \#286, \#135, \#287, \#125).

internal/session · medium confidence · unverified

13 commits (5 fixes) modifying internal/assurance

A change to existing behaviour in internal/assurance — 13 commits (5 fixs), 3 files: “test: harden host assurance evidence”; “chore: trim maintainer-only lab artifacts”; “chore: reduce repository maintenance surface”; and 10 more.

internal/assurance · medium confidence · unverified

18 commits (8 fixes) modifying internal/plugin/hermes

A change to existing behaviour in internal/plugin/hermes — 18 commits (8 fixs), 5 files: “Harden zero-config OpenClaw protection”; “security(hermes): enforce policy across batched patches”; “feat: add experimental Hermes policy gate”; and 15 more (refs \#377).

internal/plugin/hermes · medium confidence · unverified

2 commits (1 fix) modifying internal/build

A change to existing behaviour in internal/build — 2 commits (1 fix), 1 file: “v0.2.32: Version fix + README update (\#54)”; “Initial release — policy engine for AI agent tool calls” (refs \#54).

internal/build · medium confidence · unverified

21 commits (10 fixes) modifying internal/approval

A change to existing behaviour in internal/approval — 21 commits (10 fixs), 8 files: “feat: add persisted field to allow-always approval responses for shim writeback”; “fix: preserve complete actions through external approvals”; “fix(approval): bind redacted review to immutable actions”; and 18 more (refs \#61, \#385, \#48, \#49, \#68, …).

internal/approval · medium confidence · unverified

22 commits (10 fixes) modifying internal/mcp

A change to existing behaviour in internal/mcp — 22 commits (10 fixs), 7 files: “release: v0.4.7 — policy conditions, UX overhaul, dashboard, security hardening (\#90)”; “feat: add persisted field to allow-always approval responses for shim writeback”; “fix(engine): glob \>2 \\ segments, ExplainCondition empty when, MCP webhook action”; and 19 more (refs \#90, \#378, \#116, \#23).

internal/mcp · medium confidence · unverified

22 commits (9 fixes) modifying github.com/peg/rampart

A change to existing behaviour in github.com/peg/rampart — 22 commits (9 fixs), 3 files: “release: v0.4.7 — policy conditions, UX overhaul, dashboard, security hardening (\#90)”; “feat: syslog and CEF output for SIEM integration”; “UX overhaul: interactive setup, doctor, status, test, log, colored denies (\#19)”; and 19 more (refs \#90, \#19, \#116, \#55, \#115, …).

github.com/peg/rampart · medium confidence · unverified

24 commits (10 fixes) modifying internal/dashboard/static

A change to existing behaviour in internal/dashboard/static — 24 commits (10 fixs), 1 file: “release: v0.4.7 — policy conditions, UX overhaul, dashboard, security hardening (\#90)”; “feat(dashboard): SSE live updates — no more 30s denial lag”; “fix: review findings — audit ordering, regex minimums, dashboard SSE error, CHANGELOG”; and 21 more (refs \#90, \#55, \#23, \#61, \#48, …).

internal/dashboard/static · medium confidence · unverified

3 commits (0 fixes) modifying internal/tlsutil

A change to existing behaviour in internal/tlsutil — 3 commits, 2 files: “security: consolidate enforcement and release assurance”; “Release: init-from-audit, temporal allows, TLS, Docker, CONTRIBUTING.md (\#179)”; “feat: add TLS support to rampart serve (\#177)” (refs \#179, \#177).

internal/tlsutil · medium confidence · unverified

315 commits (87 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 315 commits (87 fixs), 18 files: “fix(hook): keep the shipped policy as a floor and refuse empty input”; “docs: update for v0.6.5–v0.6.8 + PR \#149 features”; “Harden zero-config OpenClaw protection”; and 312 more (refs \#149, \#90, \#39, \#263, \#272, …).

(repo-wide) · low confidence · unverified

37 commits (15 fixes) modifying scripts

A change to existing behaviour in scripts — 37 commits (15 fixs), 18 files: “security(hermes): enforce policy across batched patches”; “chore: trim maintainer-only lab artifacts”; “fix(ci): harden compatibility harness cleanup”; and 34 more (refs \#142, \#377).

scripts · medium confidence · unverified

4 commits (1 fix) modifying policies/community

A change to existing behaviour in policies/community — 4 commits (1 fix), 7 files: “fix(ci): validate community policy behavior”; “security: harden cross-platform enforcement and lifecycle”; “feat: Add community policy discovery, search, preview, and installation (\#142)”; and 1 more (refs \#142).

policies/community · medium confidence · unverified

6 commits (0 fixes) modifying internal/signing

A change to existing behaviour in internal/signing — 6 commits, 2 files: “v0.2.0: require\_approval system + hardening (\#23)”; “test: raise internal/signing coverage to 90%+ (security-critical HMAC code) (\#169)”; “feat: v0.3.0 — session identity, doctor fixes, policy test polish (\#61)”; and 3 more (refs \#23, \#169, \#61, \#172).

internal/signing · medium confidence · unverified

6 commits (1 fix) modifying internal/generate

A change to existing behaviour in internal/generate — 6 commits (1 fix), 2 files: “fix: update generate templates and tests to use ask instead of require\_approval”; “test: add internal/generate package tests”; “test: isolate fixtures and enforce meaningful boundary assertions”; and 3 more (refs \#115).

internal/generate · medium confidence · unverified

6 commits (2 fixes) modifying internal/filetxn

A change to existing behaviour in internal/filetxn — 6 commits (2 fixs), 11 files: “fix(audit): cancel witness waits on shared writer locks”; “security: consolidate enforcement and release assurance”; “perf: remove redundant runtime durability barriers”; and 3 more.

internal/filetxn · medium confidence · unverified

7 commits (1 fix) modifying internal/detect

A change to existing behaviour in internal/detect — 7 commits (1 fix), 2 files: “feat: overhaul quickstart with multi-agent detection and policy suggestions”; “security: consolidate enforcement and release assurance”; “security: harden cross-platform enforcement and lifecycle”; and 4 more (refs \#142).

internal/detect · medium confidence · unverified

7 commits (2 fixes) modifying bench

A change to existing behaviour in bench — 7 commits (2 fixs), 2 files: “release: v0.4.9 (\#108)”; “fix(bench): embed corpus in binary, use it when --corpus not specified”; “security: consolidate enforcement and release assurance”; and 4 more (refs \#108, \#137, \#111).

bench · medium confidence · unverified

7 commits (3 fixes) modifying internal/intercept

A change to existing behaviour in internal/intercept — 7 commits (3 fixs), 6 files: “v0.6.0: Windows Support + Cross-Platform CI (\#116)”; “v0.2.33: Default policy, dashboard restructure, action:watch (\#55)”; “Initial release — policy engine for AI agent tool calls”; and 4 more (refs \#116, \#55, \#21).

internal/intercept · medium confidence · unverified

8 commits (2 fixes) modifying docs-site/assets

A change to existing behaviour in docs-site/assets — 8 commits (2 fixs), 3 files: “docs: tighten landing page and support matrix (\#289)”; “docs: refresh reading experience and policy flow”; “Add documentation site”; and 5 more (refs \#289, \#62).

docs-site/assets · medium confidence · unverified

8 commits (3 fixes) modifying internal/dashboard

A change to existing behaviour in internal/dashboard — 8 commits (3 fixs), 3 files: “v0.2.33: Default policy, dashboard restructure, action:watch (\#55)”; “v0.2.0: require\_approval system + hardening (\#23)”; “v0.2.23: security audit fixes”; and 5 more (refs \#55, \#23, \#48, \#49).

internal/dashboard · medium confidence · unverified

8 commits (3 fixes) modifying internal/watch

A change to existing behaviour in internal/watch — 8 commits (3 fixs), 5 files: “v0.2.22: demo-ready UX + tamper-evident language”; “UX overhaul: interactive setup, doctor, status, test, log, colored denies (\#19)”; “Initial release — policy engine for AI agent tool calls”; and 5 more (refs \#19, \#48, \#49).

internal/watch · medium confidence · unverified

8 commits (4 fixes) modifying internal/securefile

A change to existing behaviour in internal/securefile — 8 commits (4 fixs), 5 files: “fix(securefile): apply owner permissions to open file identity”; “security: validate exclusive links for mutable private files”; “test: isolate fixtures and enforce meaningful boundary assertions”; and 2 more.

internal/securefile · medium confidence · unverified

82 commits (16 fixes) modifying docs-site

A change to existing behaviour in docs-site — 82 commits (16 fixs), 7 files: “release: v0.4.7 — policy conditions, UX overhaul, dashboard, security hardening (\#90)”; “chore: trim maintainer-only lab artifacts”; “docs: rewrite OWASP mapping against actual 2026 Agentic Top 10”; and 78 more (refs \#90, \#183, \#278, \#115, \#269, …).

docs-site · medium confidence · unverified

9 commits (2 fixes) modifying pkg

A change to existing behaviour in pkg — 9 commits (2 fixs), 3 files: “v0.6.0: Windows Support + Cross-Platform CI (\#116)”; “v0.2.33: Default policy, dashboard restructure, action:watch (\#55)”; “Initial release — policy engine for AI agent tool calls”; and 6 more (refs \#116, \#55).

pkg · medium confidence · unverified

Fixes

110 commits (65 fixes) fixing internal/proxy

A fix in internal/proxy — 110 commits (65 fixs), 27 files: “Harden zero-config OpenClaw protection”; “fix(sse): debounce bulk-resolve broadcast — one event per batch not per item”; “release: v0.4.7 — policy conditions, UX overhaul, dashboard, security hardening (\#90)”; and 107 more (refs \#90, \#39, \#45, \#116, \#55, …).

internal/proxy · medium confidence · unverified

122 commits (74 fixes) fixing policies

A fix in policies — 122 commits (74 fixs), 16 files: “Harden zero-config OpenClaw protection”; “fix: classify destructive command variants”; “release: v0.4.7 — policy conditions, UX overhaul, dashboard, security hardening (\#90)”; and 118 more (refs \#90, \#39, \#160, \#60, \#278, …).

policies · medium confidence · unverified

144 commits (90 fixes) fixing internal/engine

A fix in internal/engine — 144 commits (90 fixs), 47 files: “fix: \\ glob matches zero-depth paths (bare .env, .npmrc, etc)”; “fix: classify destructive command variants”; “release: v0.4.7 — policy conditions, UX overhaul, dashboard, security hardening (\#90)”; and 141 more (refs \#90, \#39, \#45, \#176, \#60, …).

internal/engine · medium confidence · unverified

17 commits (9 fixes) fixing internal/policy

A fix in internal/policy — 17 commits (9 fixs), 6 files: “fix: URL detection, --tool override, atomic file writes”; “fix: route global exec allow rules to user overrides”; “feat: add temporal allows (--for, --once) (\#176)”; and 14 more (refs \#176, \#115, \#179).

internal/policy · medium confidence · unverified

18 commits (11 fixes) fixing internal/report

A fix in internal/report — 18 commits (11 fixs), 6 files: “fix: UX improvements from journey audit”; “fix: skip file permission check on Windows (0o600 not enforced)”; “feat: rampart report export — shareable audit summary”; and 15 more (refs \#163).

internal/report · medium confidence · unverified

35 commits (23 fixes) fixing internal/bridge

A fix in internal/bridge — 35 commits (23 fixs), 2 files: “fix: log handshake completion with client id and scopes for diagnostics”; “test: add bridge audit sink, always-allow writeback, and --for duration tests”; “fix: populate pendingCommands for ask-deferred approvals to enable allow-always writeback”; and 32 more (refs \#275, \#233, \#376, \#277).

internal/bridge · medium confidence · unverified

37 commits (22 fixes) fixing internal/audit

A fix in internal/audit — 37 commits (22 fixs), 28 files: “fix(audit): close file handles even when final sync fails”; “fix: security audit — daemon race, shell hardening, proxy fail-closed (\#45)”; “feat: syslog and CEF output for SIEM integration”; and 34 more (refs \#45, \#116, \#115, \#47, \#66, …).

internal/audit · medium confidence · unverified

411 commits (233 fixes) fixing cmd

A fix in cmd — 411 commits (233 fixs), 188 files: “fix(hook): keep the shipped policy as a floor and refuse empty input”; “fix: URL detection, --tool override, atomic file writes”; “Harden zero-config OpenClaw protection”; and 408 more (refs \#381, \#90, \#39, \#220, \#221, …).

cmd · medium confidence · unverified

6 commits (4 fixes) fixing internal/openclaw/hardening

A fix in internal/openclaw/hardening — 6 commits (4 fixs), 2 files: “fix: detect latest openclaw approval bundles”; “fix: treat native openclaw plugin approvals as healthy”; “fix: harden OpenClaw approval fallback behavior (\#275)”; and 3 more (refs \#275, \#277).

internal/openclaw/hardening · medium confidence · unverified

61 commits (31 fixes) fixing internal/plugin/openclaw

A fix in internal/plugin/openclaw — 61 commits (31 fixs), 12 files: “Harden zero-config OpenClaw protection”; “test: stabilize OpenClaw audit replay harnesses”; “test: require native OpenClaw tool results”; and 58 more (refs \#263, \#278, \#286, \#287, \#264, …).

internal/plugin/openclaw · medium confidence · unverified

8 commits (5 fixes) fixing internal/token

A fix in internal/token — 8 commits (5 fixs), 2 files: “fix: staging review — self-bypass, serve TLS state, eval scope docs, changelog”; “fix: enforce per-agent token scoping on preflight and test endpoints (GPT-5.4 finding)”; “feat: add per-agent token store with CRUD, expiry, and scoped auth”; and 5 more (refs \#379).

internal/token · medium confidence · unverified

Dependencies

50 commits updating dependencies (3 manifests)

A dependency / build maintenance change in (dependencies) — 50 commits (13 fixs), 3 files: “Harden zero-config OpenClaw protection”; “build(deps): bump the go-dependencies group across 1 directory with 2 updates”; “v0.2.24: shell parsing, policy tests, metrics, approachable README (\#39)”; and 46 more (refs \#39, \#263, \#116, \#286, \#115, …).

(dependencies) · high confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 41.0.

Lenses

  • Code Health 39.7
  • Architecture 94.9
  • Maturity 82.3
  • Readiness 50.0
  • Security 77.9
  • Accessibility 24.7
  • Performance 97.1

Changes since last survey

  • 300 commits — 196 feature/other, 104 fixes

By area

  • (repo) — 104 commits
  • cmd/rampart — 55 commits
  • (root) — 44 commits
  • internal/engine — 19 commits
  • .github/workflows — 10 commits
  • internal/audit — 10 commits
  • internal/plugin — 10 commits
  • internal/securefile — 6 commits
  • docs/assets — 5 commits
  • assurance/integrations.yaml — 3 commits
  • docs-site/getting-started — 3 commits
  • docs-site/integrations — 3 commits
  • sdks/python — 3 commits
  • .github/ISSUE_TEMPLATE — 2 commits
  • .github/dependabot.yml — 2 commits
  • docs-site/features — 2 commits
  • docs-site/index.md — 2 commits
  • docs/index.html — 2 commits
  • internal/bridge — 2 commits
  • internal/notify — 2 commits

Notable commits

  • fix: Merge main into staging after the v1.9.6 hook fixes
  • fix: Merge pull request #474 from peg/codex/revert-467
  • fix: Merge pull request #489 from peg/codex/1.10-release-fixes
  • fix: Revert "fix(setup): fail closed when the Claude Code hook cannot run" (#467)
  • fix: fix(approval): bind redacted review to immutable actions
  • fix: fix(approval): capture input once and preserve run scope identity
  • fix: fix(audit): cancel witness waits on shared writer locks
  • fix: fix(audit): classify records by event id in the reader, as the verifier does
  • fix: fix(audit): close file handles even when final sync fails
  • fix: fix(audit): fail verification when a record holds content the hash skips
  • fix: fix(audit): report malformed records instead of skipping them silently
  • fix: fix(audit): roll back incomplete appends after write failures
  • fix: fix(audit): skip chain-continuation headers when reading events
  • fix: fix(claude-code): keep Rampart's hook decisive and doctor visible
  • fix: fix(claude-code): plan fail-closed for a new PreToolUse hook even with leftover Post hooks
  • fix: fix(cli): guide first-run users toward protect
  • fix: fix(cli): keep counting audit events beside a malformed record
  • fix: fix(cli): label ask decisions in rampart test
  • fix: fix(cli): redact final command error output
  • fix: fix(cli): replace inherited diagnostic backups on Windows
  • …and 280 more

Architecture

  • 0 containers · 1 bounded contexts · 0 dependency edges (baseline)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

peg/rampart was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 16 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit c4e45c6a4254960f3ecc06e40a17b32b311080a0 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.83+preprod-a489942cf94b.