Skip to content

[pull] main from cdeust:main - #115

Merged
pull[bot] merged 2 commits into
asleekgeek:mainfrom
cdeust:main
Sep 10, 2026
Merged

pull[bot] merged 2 commits into
asleekgeek:mainfrom
cdeust:main

Conversation

@pull

@pull pull Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

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 : )

cdeust and others added 2 commits September 10, 2026 08:44
…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]>
@pull pull Bot locked and limited conversation to collaborators Sep 10, 2026
@pull pull Bot added the ⤵️ pull label Sep 10, 2026
@pull
pull Bot merged commit 5f2321d into asleekgeek:main Sep 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant