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
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

## Unreleased

Nothing yet.

## 0.8.0 — Derive from agentseam's vendor config; externalize templates; adopt the Sonar/Checkstyle/FindBugs lint bar

- **Adopted the Sonar/Checkstyle/FindBugs-class ruff rule bar** (owner standard,
`plan/coding-standards.md` §3) across `src/`: `C90 N PLR PLW PLC ERA T201 ARG RET SIM
PIE FBT A B S BLE TRY RUF`, with mccabe max-complexity 10 and pylint max-args 5 /
max-branches 12 / max-returns 6 / max-statements 50. Fixed the measured `src/` baseline
category by category in bisectable commits -- mechanical/safe, magic values plus a new
literal-duplication guard (`tools/check_literal_duplication.py`), exception hygiene,
boolean traps (keyword-only, including the vendored gate runtime), unused arguments,
asserts, subprocess hardening, 65 of 71 lazy imports hoisted to module top (6 kept lazy
for documented reasons), and `print` centralized into a new `chock/output.py`
`warn`/`error` surface for the 31 call sites that matched its convention (the ~183
genuine CLI/render call sites are per-file-ignored). Complexity splits (37 findings
across 21 functions) are deliberately deferred to a follow-up wave via scoped
`TODO(lint-adoption)` per-file-ignores, never a blanket one. No behaviour change: full
suite, `chock check`, `sync --check`, the acceptance suite, and a full before/after
artifact diff all pass unchanged; the standard is recorded in `AGENTS.md`.
- **Emitted-artifact templates move out of Python source into template files, and the
CLI command table becomes data** (owner standard `externalize, don't hardcode`,
`plan/coding-standards.md` §2). Every non-Python template previously held as a Python
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ abstract: >-
type: software
authors:
- name: Open Coder AI
version: 0.6.0
version: 0.8.0
license: Apache-2.0
repository-code: https://github.com/open-coder-ai/chock
url: https://github.com/open-coder-ai/chock
Binary file modified docs/assets/social-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/assets/social-preview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "chock"
# Version contract (docs/compatibility.md): PATCH releases are emitter-byte-identical;
# MINOR releases may change compiled output. 0.1.0 is the first public release; the
# 0.0.1a0 pre-release exists only because PyPI names are claimed by uploading.
version = "0.7.0"
version = "0.8.0"
description = "Governance-as-code for AI coding agents: write a rule once, enforce it on git hooks, CI, and every agent"
readme = "README.md"
# PEP 639 SPDX expression; needs setuptools >= 77 (pinned in build-system below).
Expand Down