Skip to content

Releases: stef-k/agent-code-guard

Agent Code Guard 0.4.0

Choose a tag to compare

@stef-k stef-k released this 06 Sep 14:31
6dd5c57

Agent Code Guard 0.4.0 adds explicit Markdown document-size ratchets and a clearer documentation site using the shared dark theme. The release includes the CLI, runtime, and version-matched Code Guard skill.

Added

  • --create-markdown-baseline records explicitly reviewed oversized Markdown documents at their current physical-line counts.
  • --update-markdown-baseline only lowers or prunes existing allowances. Normal analysis reads the baseline without modifying it.
  • Accepted documents pass the document-size guard while unchanged or smaller; growth returns REVIEW. New paths use ordinary thresholds, and section reviews remain independent.
  • Strict baseline validation rejects malformed, duplicate, and unsafe entries. Human and full JSON output retain allowance context.

Documentation

  • Add a practical introduction, quick start, result guidance, and agent setup links to the documentation home.
  • Apply the shared dark Primer theme and add GitHub navigation throughout the site.
  • Link the project README directly to published guides.
  • Bundle the Markdown ratchet workflow and policy in the version-matched skill.

Upgrade

pipx upgrade agent-code-guard
code-guard --version
code-guard doctor
code-guard --skill-path

If your agent platform uses an exported skill copy, refresh it from the upgraded distribution using the documented export workflow.

Documentation: https://stef-k.github.io/agent-code-guard/

Full changelog: v0.3.1...v0.4.0

Agent Code Guard 0.3.1

Choose a tag to compare

@stef-k stef-k released this 29 Aug 16:32
940bdd5

Agent Code Guard 0.3.1 is a behavior-compatible performance and hardening release.

Changed

  • Reuse one immutable invocation context for configuration and canonical selected-file identities during ordinary multi-guard analysis.
  • Use shared source line indexes and direct byte-offset mapping for syntax locations.
  • Add a reproducible non-CI Wayfarer benchmark harness.

Fixed

  • Restore fresh physical containment validation for baseline-enabled analysis.
  • Make benchmark output containment and Git-status verification fail closed.

Performance

On the pinned Wayfarer workload, median normal six-guard analysis improved from 56.357s on 0.3.0 to 10.873s on 0.3.1 (80.71%), with byte-identical JSON output. LOC-only improved 91.44% and syntax-only improved 77.74%.

Full changelog: v0.3.0...v0.3.1

Agent Code Guard 0.3.0

Choose a tag to compare

@stef-k stef-k released this 28 Aug 20:42
57d1afd

Added

  • Opt-in guards.loc.ratchetAt: "review" support freezes source-controlled LOC allowances beginning above the effective review threshold, while omitted or explicit "fail" preserves the existing failure-only lifecycle and output.

Fixed

  • Known per-file syntax and provider failures now produce blocking structured incomplete results while preserving independent LOC, Markdown, and unaffected syntax evidence; completed output remains schema- and byte-compatible.
  • Valid C# that uses async as an expression identifier or named-argument name now receives a narrow, coordinate-preserving parser compatibility retry while unknown, ambiguous, and malformed syntax still fails closed.

Agent Code Guard 0.2.0

Choose a tag to compare

@stef-k stef-k released this 27 Aug 15:55
2ce57b6

Agent Code Guard 0.2.0 adds:

  • Deterministic human and JSON version reporting from installed distribution metadata.
  • Compact and explicit debug JSON modes while preserving bare JSON compatibility.
  • Selected, analyzed, inapplicable, and excluded scope counts.
  • A source-controlled, non-increasing LOC ratchet for established legacy projects.
  • Read-only human and JSON installation diagnostics through code-guard doctor.
  • Zero-baseline installed-console CI dogfooding with visible REVIEW findings and blocking FAIL/tool errors.

The README and documentation now include direct human and agent onboarding, a copyable installation prompt, a recommended post-edit workflow, optional authorized hook integration, and version-matched skill activation guidance.

Agent Code Guard 0.1.0

Choose a tag to compare

@stef-k stef-k released this 24 Aug 17:27
d6aea28

First public release of deterministic guardrails for agent-assisted software development.

Highlights

  • deterministic PASS / REVIEW / FAIL model;
  • six default guards;
  • Git changed-work, PR/base-ref, no-VCS, and full-audit workflows;
  • parser-backed support for the documented language set;
  • .md documentation guards;
  • version-matched bundled agent skill;
  • CPython 3.10–3.14;
  • documented Windows/macOS/Linux binary envelope;
  • fail-closed parser/configuration behavior.

Installation

pipx install agent-code-guard

Quick start

code-guard . --changed-only