@@ -8,6 +8,26 @@ adheres to [Semantic Versioning](https://semver.org/).
88
99### Fixed
1010
11+ - ** The decision gate no longer exempts a language, a test file or a file
12+ header (#555 ).** Owner ruling of 2026-09-10 on ADR-1060, no exception. On
13+ that day six lines of ` /// ` rationale written into a ` tests/*.rs ` file
14+ passed ` mcp_server/hooks/decision_gate.py ` because each of its three
15+ exemptions sufficed alone: ` // ` and ` /* */ ` languages were deferred "until
16+ measured", the path was under a test root, and the run sat before anything
17+ executable. All three are removed. ` mcp_server/hooks/_decision_gate_lex.py `
18+ now reads ` // ` and ` /* */ ` (`.rs .js .jsx .ts .tsx .go .java .c .h .cpp
19+ .hpp .cc .swift .kt .kts .cs .scala .m .mm .dart .php` ), ` --` ( ` .sql .lua
20+ .hs` ) and ` ;` ( ` .el .clj .lisp`) through one scanner that tracks string
21+ literals and block comments, alongside the ` # ` family (`.py .sh .bash .zsh
22+ .rb .pl .toml .yaml .yml .r .cfg .ini` ), so a ` //` inside a string literal
23+ is never a comment; a Python comment after code on the same line no longer
24+ counts as a comment line. Unchanged: the eight-line threshold,
25+ grandfathering of blocks already in the file (only what the call introduces
26+ is judged, so the ten tracked files with a long header stay editable), the
27+ ` source: ` pointer line, fail-open on unreadable input and the explicit
28+ ` CORTEX_DECISION_GATE=off ` override. The refusal states the new scope. The
29+ measurement behind the header ruling is in the ADR's revision section.
30+
1131- ** ` benchmarks/reproduce.sh --only ` no longer accepts a selector that runs nothing.**
1232 ` --only ` was compared token for token against ` longmemeval ` , ` locomo ` , ` beam `
1333 and ` decision-ids ` , while the script itself prints the artifact names
0 commit comments