Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
cache: pip
cache-dependency-path: pyproject.toml
- run: python -m pip install .
- run: 'python -c "from pathlib import Path; import sys; p = Path(''.agent-tools/code-guard.loc-baseline.json''); present = p.exists() or p.is_symlink(); print(''Forbidden LOC baseline present: .agent-tools/code-guard.loc-baseline.json'', file=sys.stderr) if present else None; raise SystemExit(1 if present else 0)"'
- run: code-guard . --ci
- run: code-guard --help
- run: python -c "from pathlib import Path; Path('package-smoke.py').write_text('value = 1\n', encoding='utf-8')"
- run: code-guard package-smoke.py --json
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Notable changes to Agent Code Guard are recorded here.

### Added

- Zero-baseline CI dogfooding through the installed console command, with visible
non-blocking REVIEW findings and blocking FAIL findings or tool errors.
- Source-controlled, non-increasing LOC ratchet creation, automatic analysis,
and explicit lowering/pruning for established legacy repositories.
- Read-only `code-guard doctor` human and JSON diagnostics for the active
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Deterministic guardrails for agent-assisted software development.
[![Python 3.10–3.14](https://img.shields.io/badge/Python-3.10%E2%80%933.14-3776AB?logo=python&logoColor=white)](https://github.com/stef-k/agent-code-guard/blob/main/docs/platform-support.md)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/stef-k/agent-code-guard/blob/main/LICENSE)

CI installs Agent Code Guard and analyzes its own real checkout. REVIEW findings
remain visible but non-blocking, while FAIL findings and tool errors block the
workflow; the repository intentionally uses no LOC baseline.

Code Guard gives coding agents objective measurements and **PASS / REVIEW /
FAIL** signals while leaving design decisions to agent and user judgment.

Expand Down
Loading