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

## Unreleased

## v0.26.1

- Use public absolute URLs for the packaged overview's coverage and design links.
- Check English package README links for PyPI-compatible public destinations.
Analysis and CI contracts are unchanged.

## v0.26.0

- Complete optional Cursor coverage CI setup with `init --coverage-under`, job
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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.0
version: 0.26.1
date-released: 2026-11-11
authors:
- family-names: Lin
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ covers setup, exits and troubleshooting.

## Release status

v0.26.0 Beta includes local lint, baseline-governed regression checks, auditable
v0.26.1 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.0.md).
unknowns. See the [release and upgrade notes](https://github.com/LE0-Lin/AgentConfigScore/blob/main/docs/releases/v0.26.1.md).

## Cursor attachment changes

Expand All @@ -102,7 +102,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.0"
python -m pip install --upgrade "agent-config-score==0.26.1"
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 @@ -138,8 +138,8 @@ agent-config-score init --coverage-under src
Review and commit the generated files. The opt-in read-only workflow combines
the normal gate with strict per-file coverage, a readable job summary and
seven-day report artifacts. Existing setups can use `--workflow-only` and an
explicit reviewed `--force`. See the [complete adoption path](docs/cursor-coverage.md#ci-setup-and-review-artifacts)
and [design and shipped boundary](docs/architecture.md).
explicit reviewed `--force`. See the [complete adoption path](https://github.com/LE0-Lin/AgentConfigScore/blob/main/docs/cursor-coverage.md#ci-setup-and-review-artifacts)
and [design and shipped boundary](https://github.com/LE0-Lin/AgentConfigScore/blob/main/docs/architecture.md).

## Repository policy + editor validation

Expand Down Expand Up @@ -225,7 +225,7 @@ for the localized overview, guide and limitations; advanced references remain En
## Development

```bash
python -m pip install --upgrade "agent-config-score==0.26.0"
python -m pip install -e .
python -m unittest discover -s tests -v
agent-config-score . --fail-under 90
```
Expand Down
10 changes: 5 additions & 5 deletions README.simplified.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ agent-config-score diff

## 发布版本

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

## Cursor 加载变化审核

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

```bash
python -m pip install --upgrade "agent-config-score==0.26.0"
python -m pip install --upgrade "agent-config-score==0.26.1"
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 @@ -140,10 +140,10 @@ jobs:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: LE0-Lin/AgentConfigScore@v0.26.0
- uses: LE0-Lin/AgentConfigScore@v0.26.1
```

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

## 支持的指令文件

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

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

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

## 發布版本

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

## Cursor 載入變化審閱

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

```bash
python -m pip install --upgrade "agent-config-score==0.26.0"
python -m pip install --upgrade "agent-config-score==0.26.1"
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 @@ -140,10 +140,10 @@ jobs:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: LE0-Lin/AgentConfigScore@v0.26.0
- uses: LE0-Lin/AgentConfigScore@v0.26.1
```

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

## 支援的指令檔

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

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

專案採用 [MIT 授權](LICENSE)。[發布與升級說明](docs/releases/v0.26.0.md)目前為英文。
專案採用 [MIT 授權](LICENSE)。[發布與升級說明](docs/releases/v0.26.1.md)目前為英文。
14 changes: 14 additions & 0 deletions docs/releases/v0.26.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# AgentConfigScore v0.26.1

This **Beta** patch makes the packaged overview's coverage and design links
work on PyPI by using public absolute destinations. A regression check prevents
relative document links from entering the English package README.

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

Expected version is `AgentConfigScore 0.26.1`. Analysis, policy, coverage and
CI behavior follow [v0.26.0](https://github.com/LE0-Lin/AgentConfigScore/blob/v0.26.1/docs/releases/v0.26.0.md).
Native Cursor fidelity remains outside the verified static contract.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "agent-config-score"
version = "0.26.0"
version = "0.26.1"
description = "Deterministic lint and regression gate for AGENTS.md, Claude, Cursor, Copilot, and Gemini instructions."
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion src/agent_config_score/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.26.0"
__version__ = "0.26.1"
8 changes: 8 additions & 0 deletions tests/test_documentation_languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ def blocks(text, language):


class DocumentationLanguageTests(unittest.TestCase):
def test_package_readme_document_links_are_public_on_pypi(self):
readme = (ROOT / "README.md").read_text(encoding="utf-8")
for destination in re.findall(r"!?\[[^\]\n]+\]\(([^)\n]+)\)", readme):
parts = urlsplit(destination)
with self.subTest(destination=destination):
self.assertTrue(parts.scheme in {"https", "http"} or (not parts.path and parts.fragment),
"PyPI cannot resolve repository-relative document links")

def test_english_stays_the_default_package_readme(self):
project = (ROOT / "pyproject.toml").read_text(encoding="utf-8")
self.assertIn('readme = "README.md"', project)
Expand Down
Loading