Repository navigation
[pull] main from cdeust:main - #115
Merged
Merged
Conversation
…ader (ADR-1060 revision, no exception) (#555) * fix(hooks): the decision gate judges every language, test file and header Owner ruling of 2026-09-10 on ADR-1060: no exception. Six lines of /// rationale in a tests/*.rs file passed the gate because the language was deferred "until measured", the path was a test root and the run sat before anything executable. Each exemption sufficed alone. - _decision_gate_lex.py: one character-level scanner for the //, /* */, -- and ; families (string literals, Rust raw strings, backtick strings and block comments tracked), covering .rs .js .jsx .ts .tsx .go .java .c .h .cpp .hpp .cc .swift .kt .kts .cs .scala .m .mm .dart .php .sql .lua .hs .el .clj .lisp, plus the full # family (.py via tokenize, the shell family via the heredoc skip, .pl .r .toml .yaml .yml .cfg .ini). The suffix table and the scanner table are one table (LANGUAGES). - decision_gate.py: is_test_path, _TEST_DIRS, _TEST_FILE_RE, _is_header_run and the header boundary are deleted; the refusal states that no header, test file or language is exempt. PROSE_RUN_LIMIT, grandfathering, the source: pointer, fail-open and CORTEX_DECISION_GATE=off stay. - Python: a comment token after code on the same line no longer counts as a comment line, as the scanner's docstring already claimed. - ADR-1060 wiki page: revision section with the leak, what is removed, what stays and the tracked-tree measurement at 8d71210 (1479 files in judged suffixes, 10 with a header run of 8+, all grandfathered); mirror regenerated with scripts/check_project_wiki.py --write. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LSTGMnuSuUXWs7ZBofW1AW * docs(changelog): record the ADR-1060 no-exception revision of the decision gate (#555) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LSTGMnuSuUXWs7ZBofW1AW --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
The decision gate judges every language, test file and header (ADR-1060 revision 2026-09-10, no exception, #555): // and /* */, --, ; and # comment families, no test-path or header exemption, PROSE_RUN_LIMIT unchanged at 8, grandfathering and the explicit override kept. Every version surface moves to 4.21.0 (pyproject, plugin and marketplace manifests, server.json, manifest.json, package.json and lock, gemini and codex manifests, badge, uv.lock, README alt text) and the hypermnesia-mcp-viz pin moves to v3.2.0 (2482563172c0f02a1c022b82cb4e38299b7748b4, cortex-viz #156: the Wiki view lists project wikis, where project_root ADRs actually live). Claude-Session: https://claude.ai/code/session_01LSTGMnuSuUXWs7ZBofW1AW Co-authored-by: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )