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
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ jobs:
with:
node-version: 24

- name: Pre-merge acceptance check
run: bash scripts/pre-merge-check.sh . --base "origin/${GITHUB_BASE_REF:-main}"

# Fetched OUTSIDE the repo tree so the kit's own _acceptance/ is never
# scanned alongside this repo's dossiers (kit GUIDE §5.3, default path).
- name: Fetch acceptance-gate kit at pinned sha
Expand All @@ -146,6 +143,12 @@ jobs:
git -C "$RUNNER_TEMP/kit" checkout -q FETCH_HEAD
echo "CLAUDE_PLUGIN_ROOT=$RUNNER_TEMP/kit" >> "$GITHUB_ENV"

# The gate runs from the pinned kit, not from a copy in this repo: the
# vendored copy (and this repo's feature_scope fork of it) was removed by
# owner decision 23/09. Every reader of the gate finds lib/ next to itself.
- name: Pre-merge acceptance check
run: bash "$CLAUDE_PLUGIN_ROOT/scripts/pre-merge-check.sh" . --base "origin/${GITHUB_BASE_REF:-main}"

# Both guards below ran only when somebody typed them (zero references in
# this file, measured 31/08), and both had already let real drift through:
# PRODUCT-MAP.md advertised 22 delivered items while 26 dossiers were
Expand Down
29 changes: 2 additions & 27 deletions _acceptance/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -831,36 +831,11 @@ risk_tiers:
- "_acceptance/**"
- "public/**"
- "src/i18n/messages/**"
# Vendored gate tooling = measuring stick, not product code; upgrading it must
# not stale-invalidate signed feature evidence (exact paths, not globs).
- "scripts/pre-merge-check.sh"
- "lib/eval-yaml.cjs" # vendored kit 2.9.0 — bộ đọc evals.yaml cho luật làn-eval (ADR 0014)
# CẢ HAI bộ tên phải nằm đây cho tới khi commit đổi tên rời khỏi MỌI cửa sổ
# diff. Kit 1.40.0 đổi `.js` -> `.cjs`; git ghi đổi tên vào diff PR như
# «xoá đường cũ + thêm đường mới», nên nếu chỉ khai `.cjs` thì phía XOÁ nằm
# ngoài miễn trừ và mọi slug có hồ sơ trong cùng diff hoá stale cùng lúc
# (đo thật ở artifact-platform: 137 hồ sơ, thủ phạm là đúng một dòng).
- "scripts/recheck-evidence.cjs"
- "scripts/recheck-evidence.js"
- "lib/evidence-core.cjs"
- "lib/evidence-core.js"
- "lib/gap-probe.cjs"
- "lib/gap-probe.js"
# pre-merge-check.sh gọi ac-line + md-section trong CÙNG một lệnh node để chấm
# răng cross-layer. Thiếu một trong hai thì cổng vẫn chạy nhưng tụt về awk
# rộng hơn và in NOTE — cùng lớp measuring-stick.
- "lib/ac-line.cjs"
- "lib/ac-line.js"
- "lib/md-section.cjs"
- "lib/md-section.js"
# workspace-record: vendor LẦN ĐẦU ở lượt này. Trước đây oneflow thiếu hẳn
# file này nên nhánh đọc workspace của cổng chưa từng chạy.
- "lib/workspace-record.cjs"
# Lint configuration only — it constrains how source is written, never what
# the product does at runtime, so a change here cannot invalidate evidence.
- "biome.json"
# Hai bộ đo a11y của bề mặt /proto — cùng lớp measuring-stick với
# pre-merge-check.sh ở trên: chúng ĐO sản phẩm chứ không phải sản phẩm, nên
# Hai bộ đo a11y của bề mặt /proto — lớp measuring-stick (cổng nay chạy từ
# kit ghim sha, không còn bản chép ở đây): chúng ĐO sản phẩm chứ không phải sản phẩm, nên
# sửa chúng không được phép làm stale bằng chứng đã ký của feature khác.
# Khai ĐƯỜNG DẪN CHÍNH XÁC, không phải glob `scripts/**/check-a11y-proto.sh`:
# một bộ đo mới ở thư mục khác phải tự qua cổng, y như lý lẽ đã ghi cho
Expand Down
9 changes: 0 additions & 9 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@
"!data",
"!.claude",
"!plugins",
"!scripts/pre-merge-check.sh",
"!scripts/recheck-evidence.cjs",
"!lib/evidence-core.cjs",
"!lib/gap-probe.cjs",
"!lib/ac-line.cjs",
"!lib/md-section.cjs",
"!lib/workspace-record.cjs",
"!lib/eval-yaml.cjs",
"!lib/lop-nhin-thay.cjs",
"!_acceptance"
]
},
Expand Down
198 changes: 0 additions & 198 deletions lib/ac-line.cjs

This file was deleted.

Loading
Loading