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: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
python "$GITHUB_WORKSPACE/scripts/run_approval_demo.py" \
--python "$wheel_python" --output-dir "$RUNNER_TEMP/approval-demo"
python "$GITHUB_WORKSPACE/scripts/run_self_acceptance.py" \
--python "$wheel_python" --ref "$GITHUB_SHA" \
--python "$wheel_python" --ref "$GITHUB_SHA" --require-current-fixes \
--output "$RUNNER_TEMP/self-use-acceptance.json"
- name: Retain self-use acceptance and observed semantic limitations
if: always()
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,21 @@ jobs:
--python "$wheel_python" --output "$RUNNER_TEMP/cursor-coverage-demo.json"
python "$GITHUB_WORKSPACE/scripts/run_approval_demo.py" \
--python "$wheel_python" --output-dir "$RUNNER_TEMP/release-approval-demo"
python "$GITHUB_WORKSPACE/scripts/run_self_acceptance.py" \
--python "$wheel_python" --ref "$GITHUB_SHA" --require-current-fixes \
--output "$RUNNER_TEMP/release-self-use.json"
if [[ "$RUNNER_OS" == "Linux" ]]; then
"$wheel_python" "$GITHUB_WORKSPACE/scripts/run_path_regression_check.py" --python "$wheel_python" \
--output "$RUNNER_TEMP/release-path-replay.json" --markdown "$RUNNER_TEMP/release-path-replay.md"
fi
- name: Retain release self-use evidence
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: release-self-use-${{ matrix.os }}
path: ${{ runner.temp }}/release-self-use.json
if-no-files-found: error
retention-days: 14
- name: Retain release path evidence
if: runner.os == 'Linux'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## v0.27.0

- Add privacy-minimized `new-rule-counts` Action output and an optional PR
comment breakdown with at most five rule types, a remaining-types count,
repair/recheck commands, and explicit review guidance when a gate passes
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cff-version: 1.2.0
message: "If you use AgentConfigScore in research, please cite this software."
title: "AgentConfigScore: deterministic lint and regression checks for AI coding-agent instructions"
type: software
version: 0.26.2
date-released: 2026-11-15
version: 0.27.0
date-released: 2026-11-16
authors:
- family-names: Lin
given-names: Zhibo
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ covers setup, exits and troubleshooting.

## Release status

v0.26.2 Beta includes local lint, baseline-governed regression checks, auditable
v0.27.0 Beta includes local lint, baseline-governed regression checks, auditable
exceptions, reports, safeguard review and opt-in Cursor attachment/coverage
analysis. The Cursor profile is a bounded static prediction with explicit
unknowns. See the [release and upgrade notes](https://github.com/LE0-Lin/AgentConfigScore/blob/main/docs/releases/v0.26.2.md).
unknowns. See the [release and upgrade notes](https://github.com/LE0-Lin/AgentConfigScore/blob/main/docs/releases/v0.27.0.md).

## Cursor attachment changes

Expand All @@ -115,7 +115,7 @@ For a declared API-only task:
From a repository checkout, install the package and run the synthetic example:

```bash
python -m pip install --upgrade "agent-config-score==0.26.2"
python -m pip install --upgrade "agent-config-score==0.27.0"
agent-config-score scope compare \
examples/cursor-scope-impact/base examples/cursor-scope-impact/narrowed \
--target src/api/service.py --fail-on-lost-directives --fail-on-unknown
Expand Down
10 changes: 5 additions & 5 deletions README.simplified.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ agent-config-score diff

## 发布版本

v0.26.2 Beta 包含本地检查、基线回归门禁、可审计豁免、报告、删除保护审核,以及可选的 Cursor 加载与逐文件覆盖分析。Cursor 功能是有明确未知状态的静态预测。[发布与升级说明(英文)](docs/releases/v0.26.2.md)。
v0.27.0 Beta 包含本地检查、基线回归门禁、可审计豁免、报告、删除保护审核,以及可选的 Cursor 加载与逐文件覆盖分析。Cursor 功能是有明确未知状态的静态预测。[发布与升级说明(英文)](docs/releases/v0.27.0.md)。

## Cursor 加载变化审核

Expand All @@ -65,7 +65,7 @@ v0.26.2 Beta 包含本地检查、基线回归门禁、可审计豁免、报告
在源码仓库目录中运行合成示例:

```bash
python -m pip install --upgrade "agent-config-score==0.26.2"
python -m pip install --upgrade "agent-config-score==0.27.0"
agent-config-score scope compare \
examples/cursor-scope-impact/base examples/cursor-scope-impact/narrowed \
--target src/api/service.py --fail-on-lost-directives --fail-on-unknown
Expand Down Expand Up @@ -144,10 +144,10 @@ jobs:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: LE0-Lin/AgentConfigScore@v0.26.2
- uses: LE0-Lin/AgentConfigScore@v0.27.0
```

固定 `@v0.26.2` 有利于复现;`@v0` 是会随后续版本更新的滚动引用。PR 评论属于[可选集成(英文)](docs/pr-comments.md),扫描器默认不替你发评论。
固定 `@v0.27.0` 有利于复现;`@v0` 是会随后续版本更新的滚动引用。PR 评论属于[可选集成(英文)](docs/pr-comments.md),扫描器默认不替你发评论。

## 支持的指令文件

Expand All @@ -171,4 +171,4 @@ jobs:

图中的三次评分由 `agent-config-score history` 读取。[历史工作流(英文)](docs/score-history.md)

项目采用 [MIT 协议](LICENSE)。[发布与升级说明](docs/releases/v0.26.2.md)目前为英文。
项目采用 [MIT 协议](LICENSE)。[发布与升级说明](docs/releases/v0.27.0.md)目前为英文。
10 changes: 5 additions & 5 deletions README.traditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ agent-config-score diff

## 發布版本

v0.26.2 Beta 包含本機檢查、基準回歸檢查、可稽核例外、報告、刪除保護審閱,以及選用的 Cursor 載入與逐檔覆蓋分析。Cursor 功能是具有明確未知狀態的靜態預測。[發布與升級說明(英文)](docs/releases/v0.26.2.md)。
v0.27.0 Beta 包含本機檢查、基準回歸檢查、可稽核例外、報告、刪除保護審閱,以及選用的 Cursor 載入與逐檔覆蓋分析。Cursor 功能是具有明確未知狀態的靜態預測。[發布與升級說明(英文)](docs/releases/v0.27.0.md)。

## Cursor 載入變化審閱

Expand All @@ -65,7 +65,7 @@ v0.26.2 Beta 包含本機檢查、基準回歸檢查、可稽核例外、報告
在原始碼儲存庫目錄中執行合成範例:

```bash
python -m pip install --upgrade "agent-config-score==0.26.2"
python -m pip install --upgrade "agent-config-score==0.27.0"
agent-config-score scope compare \
examples/cursor-scope-impact/base examples/cursor-scope-impact/narrowed \
--target src/api/service.py --fail-on-lost-directives --fail-on-unknown
Expand Down Expand Up @@ -144,10 +144,10 @@ jobs:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: LE0-Lin/AgentConfigScore@v0.26.2
- uses: LE0-Lin/AgentConfigScore@v0.27.0
```

固定使用 `@v0.26.2` 較容易重現;`@v0` 是會隨後續版本更新的滾動參照。PR 留言是[選用整合(英文)](docs/pr-comments.md),檢查工具預設不會替你留言。
固定使用 `@v0.27.0` 較容易重現;`@v0` 是會隨後續版本更新的滾動參照。PR 留言是[選用整合(英文)](docs/pr-comments.md),檢查工具預設不會替你留言。

## 支援的指令檔

Expand All @@ -171,4 +171,4 @@ jobs:

圖中的三次評分由 `agent-config-score history` 讀取。[歷史工作流程(英文)](docs/score-history.md)

專案採用 [MIT 授權](LICENSE)。[發布與升級說明](docs/releases/v0.26.2.md)目前為英文。
專案採用 [MIT 授權](LICENSE)。[發布與升級說明](docs/releases/v0.27.0.md)目前為英文。
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ read the result, and troubleshoot a failing gate.
- [Path-reference grammar and limits](limitations.md#plain-prose-path-references)
- [Instruction context and prohibition scopes](instruction-context.md)
- [False success-reporting checks](verification-reporting.md)
- [Explicit destructive-action approval bypass](deletion-approval-bypass.md) (unreleased source)
- [Explicit destructive-action approval bypass](deletion-approval-bypass.md) (v0.27.0+)
- [Bulk environment-transfer checks](environment-upload.md)

Use `agent-config-score rules` for the installed version's actual catalog, and
Expand Down
2 changes: 1 addition & 1 deletion docs/deletion-approval-bypass.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Explicit deletion approval bypass

**Available in unreleased source; not in published v0.26.2.**
**Available in v0.27.0+.**

`deletion-approval-bypass` flags a complete, affirmative prose directive that
combines a destructive target with an explicit approval bypass. It is an
Expand Down
4 changes: 2 additions & 2 deletions docs/feedback-to-delivery.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ and maintainer-confirmed effectiveness remain unverified.

## How to use this evidence

Unreleased maintenance strengthens two of these interfaces: Markdown link syntax
v0.27.0 strengthens two of these interfaces: Markdown link syntax
inside matched inline code is no longer treated as a live reference, and the
optional PR comment adds a validated per-rule breakdown plus recheck commands.
The [comment preview and compatibility guide](pr-comments.md) distinguish these
source changes from the released v0.26.2 behavior. Neither change establishes
changes from the older v0.26.2 behavior. Neither change establishes
adoption by Jason or expands prompt-injection detection into a general defense.

The defensible project story is a concrete feedback loop: a public maintainer
Expand Down
8 changes: 4 additions & 4 deletions docs/limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,13 @@ sentences or lines, inspect actual test execution, or judge arbitrary workflow
intent. Other harmful prose can still pass. See the [supported grammar and
negative controls](verification-reporting.md).

Unreleased source additionally recognizes finite Simplified/Traditional Chinese
v0.27.0+ additionally recognizes finite Simplified/Traditional Chinese
false-passing claims and explicit [deletion approval bypass](deletion-approval-bypass.md)
directives in English and Chinese. The former requires explicit failed/unrun
tests and a passing claim; the latter requires a destructive target and an
attached approval exemption. Neither infers missing rules from silence or
generalizes to arbitrary prose, language variants, live authorization or runtime
behavior. These additions are not present in published v0.26.2.
behavior. These additions require v0.27.0+.

## Bulk environment transfers

Expand All @@ -191,12 +191,12 @@ anchor-only links, fenced examples, absolute paths, and paths escaping the
repository are skipped. Nested parentheses in inline link destinations are not
currently parsed. This is a limited link check, not a full Markdown validator.

Unreleased source also excludes inline-link syntax inside matched backtick code
v0.27.0+ also excludes inline-link syntax inside matched backtick code
spans, including multiline spans, and links with an escaped opening bracket.
Real links next to code and links containing code only in their labels stay
active. An unclosed backtick does not turn the rest of the document into an
example. These exclusions do not apply to ordinary backtick path literals or
independent command/credential rules. This correction is not in PyPI v0.26.2.
independent command/credential rules. This correction requires v0.27.0+.

v0.25.0+ builds additionally check simple full `[Guide][setup]` and
collapsed `[setup][]` reference links, including images, when a matching
Expand Down
2 changes: 1 addition & 1 deletion docs/maintainer-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ summary automatically. It does not publish a comment unless a caller workflow
opts in. Generated comments contain validated numeric results and a link to
details, not raw instruction text or arbitrary finding messages.

Unreleased source adds a compact rule/severity/count table and local recheck
v0.27.0+ adds a compact rule/severity/count table and local recheck
commands to the optional comment. The detailed report remains the source for
file/line evidence and static remediation guidance. A passing gate with new
findings still asks for review; see the [updated recipe and compatibility](pr-comments.md).
Expand Down
6 changes: 3 additions & 3 deletions docs/pr-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ to a reviewed commit. Do not install multiple copies of this workflow.

## How the comment behaves

**Unreleased enhancement:** the updated Action exports `new-rule-counts`, and
**v0.27.0+ enhancement:** the updated Action exports `new-rule-counts`, and
the updated recipe shows newly introduced rule IDs, severities and counts.
Errors appear before warnings/info; at most five rule types are displayed,
with an explicit remaining-types count and a link to the complete report.
Expand All @@ -40,7 +40,7 @@ The new recipe works with older Action revisions: if the output is unavailable,
the comment retains the numeric summary and says the breakdown is unavailable.
An explicit `[]` means zero new rule matches; missing output does not mean zero.
Upgrade/review the Action reference and generated workflow independently. These
enhancements are not in the published v0.26.2 Action or CLI-generated recipe.
enhancements require v0.27.0+ for both the Action and CLI-generated recipe.

- The first completed scan creates a comment. Reruns update the same comment.
- The lookup paginates, so long PR conversations do not hide the existing comment.
Expand All @@ -62,7 +62,7 @@ Do not switch this recipe to `pull_request_target` to enable comments on forks.
The recipe checks out the candidate repository, and that event has different
privileges. It would require a separately designed workflow.

The comment script uses validated numeric outputs and, in unreleased source,
The comment script uses validated numeric outputs and, from v0.27.0,
bounded rule IDs/severities/counts rather than instruction text,
filenames, suppression reasons, or PR titles. See the
[GitHub script documentation](https://github.com/actions/github-script#passing-inputs-to-the-script)
Expand Down
4 changes: 2 additions & 2 deletions docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ passed without running them. Merely skipping tests, prohibitions, and quoted/cod
examples are not sufficient evidence. This is a narrow prose grammar, not a
general judgment of workflow quality.

Unreleased source adds finite Simplified/Traditional Chinese false-reporting
v0.27.0+ adds finite Simplified/Traditional Chinese false-reporting
clauses and the [`deletion-approval-bypass` error](deletion-approval-bypass.md)
for explicit destructive directives that waive approval. Qualified prior
authorization, disposable cleanup and examples are distinct from a bypass;
Expand Down Expand Up @@ -381,7 +381,7 @@ Repository-level findings remain repository-level SARIF results instead of recei
| `delta` | Candidate minus baseline score |
| `new-findings` | Number of newly introduced active findings |
| `new-errors` | Number of newly introduced active error findings |
| `new-rule-counts` | Unreleased: compact JSON array of `{code, severity, count}` for newly introduced active findings; no source text, paths or messages |
| `new-rule-counts` | v0.27.0+: compact JSON array of `{code, severity, count}` for newly introduced active findings; no source text, paths or messages |
| `resolved-findings` | Number of active findings resolved by the candidate |

```yaml
Expand Down
59 changes: 59 additions & 0 deletions docs/releases/v0.27.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# AgentConfigScore v0.27.0

This **Beta** release delivers explicit safety-prose checks and a more useful
optional PR summary, alongside a Markdown example false-positive correction.

```bash
python -m pip install --upgrade agent-config-score==0.27.0
agent-config-score --version
```

Expected version: `AgentConfigScore 0.27.0`. Pin the Action with
`LE0-Lin/AgentConfigScore@v0.27.0`, or use rolling `v0` after verification.
Upgrade an existing optional comment workflow separately; changing an Action
reference does not replace the caller's saved workflow script.

## What changes

- `false-success-report` additionally recognizes bounded Simplified/Traditional
Chinese directives to claim tests passed despite failure or without execution.
- New `deletion-approval-bypass` error identifies explicit prose combining
deletion of production databases or existing/user files with an approval
exemption. Qualified approval, disposable cleanup, prohibitions and examples
remain distinct. Missing policy alone is not proof of a bypass.
- Inline Markdown link syntax inside matched backtick code or with an escaped
opening bracket no longer becomes a broken-link warning. Real adjacent links,
code in labels and unclosed code markers remain checked.
- Optional PR comments show a bounded per-rule severity/count table, local
recheck commands and a review prompt when the configured gate passes with
new findings. The Action's new `new-rule-counts` output excludes source text,
paths and messages. Old Actions retain the numeric fallback.

To preview the updated comment recipe while preserving repository policy:

```bash
agent-config-score init --workflow-only --pr-comment --force --dry-run
```

Review workflow customizations and the generated file before explicitly applying
the replacement. The scanner stays read-only and posts no comments by default.

## Compatibility and evidence

New active errors can lower scores and block changes previously accepted by
v0.26.2. Review the exact findings after upgrading; use a reasoned suppression
only when appropriate. Default score weights, baseline policy ownership and
runtime dependencies remain unchanged. Normal scans still do not certify
semantic instruction quality or enforce real agent actions.

The [self-use report](../self-use-check.md) preserves the original public-wheel
misses and a matched source replay: the two known probes changed from 100/pass
to 85/blocked and 88/blocked. Vague filler still scores 100. This is development
evidence, not independent accuracy or external user adoption. Historical reports
retain their original versions and fingerprints.

Release gates include source tests, built-wheel acceptance on Linux, Windows
and macOS, strict self-use replay of these fixes, the local Action's structured
output validation, Cursor coverage acceptance and Linux path replay. See the
[rule boundary](../deletion-approval-bypass.md), [comment guide](../pr-comments.md)
and [synthetic preview](../pr-comment-preview.md).
Loading
Loading