fix(rules): @7n/rules-lang-rust 0.6.1 → 0.16.1 — повернення .rs у doc-files і правило rust - #40
Open
vitaliytv wants to merge 6 commits into
Open
fix(rules): @7n/rules-lang-rust 0.6.1 → 0.16.1 — повернення .rs у doc-files і правило rust#40vitaliytv wants to merge 6 commits into
vitaliytv wants to merge 6 commits into
Conversation
…овертає .rs у doc-files Старий 0.6.1 декларував розширення через legacy contributes.* без requiresPluginApi=2, тому ядро @7n/rules@1.55.3 (plugin-api v2) виключало плагін зі slot graph: правило rust і doc-files-скан .rs не працювали. 0.16.1 контрибʼютить slots (doc-files.extensions .rs → Rust Module, rules.directory, taze, coverage). tree-sitter-rust → trustedDependencies (нативний бінд для Rust-екстрактора doc-files). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…eny 0.20, doc-коментарі lib.rs, cargo fmt deny.toml: прибрано top-level version і поля advisories/licenses v1 (vulnerability/notice/unlicensed), unmaintained → workspace; Zlib у allow (foldhash, zlib-rs), точковий виняток MPL-2.0 для uluru (транзитивна gix-odb). lib.rs: //!-хедер і ///-описи pub-елементів (конвеєр doc-files бере їх дослівно). frontmatter.rs/signal.rs — лише cargo fmt. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ії Rust-конвеєра Оновлені CRC і зміст для graph.rs, graph_wiring.rs, handoff_ws.rs, commands/check.rs; нова дока doctor.md і оновлений індекс commands/docs — вихід конвеєра doc-files, який знову бачить .rs після оновлення @7n/rules-lang-rust. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…м rust На main плагін lang-rust ще legacy (правило rust не виконується), тому audit.rs/runner.rs/spawn.rs/lifecycle.rs/orchestrate.rs/lib.rs і mt/commands/audit.rs зайшли без rustfmt. Після ре-активації правила в цій гілці CI формує їх у делті — вирівнюю одним механічним комітом. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
vitaliytv
force-pushed
the
claude/peaceful-wiles-b2698d
branch
from
August 10, 2026 10:44
0273a26 to
632c953
Compare
…пін версії, зайві export text: 8 слів із коду main (батчингу, термінації, …), що потрапили в делту PR через fmt-коміт. eslint/knip: bunx тягнув незапінену мажорну версію — knip у devDependencies + knip.json (рантайм-плагіни @7n/rules-* і @7n/mt, tool-конфіги, oxfmt). layers: parseArgv/createIo/CONFIG_NAME/validateConfig використовуються лише всередині модулів — export прибрано. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
name-vectors.json (тест-фікстура довільної форми) і layers.schema.json (сам JSON Schema — v8r матчить лише за fileMatch каталогів, не за $schema усередині). Борг з main: text-джоба на тих файлах ще не бігала. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Що змінено
@7n/rules-lang-rust0.6.1 → 0.16.1 (+tree-sitter-rustуtrustedDependencies). Старий плагін декларував Rust-розширення через legacyn-rules.contributes.*безrequiresPluginApi: 2, тому ядро@7n/rules@1.55.3(plugin-api v2, slot bus) повністю виключало його зі slot graph: doc-files не бачив.rs, і все правилоrustмовчки не виконувалось. 0.16.1 контрибʼютить slots (doc-files.extensions@1.rs → Rust Module,rules.directory, taze, coverage).deny.tomlпід cargo-deny 0.20 (порушення відкрилось після ре-активації правила): прибрано top-levelversionі поля v1-схеми,unmaintained = "workspace",Zlibу allow (foldhash, zlib-rs), точковий виняток MPL-2.0 дляuluru(транзитивна через gix-odb).cargo deny check licenses→ ok.lib.rs(mt-core)://!-хедер і///-описи pub-елементів (вимогаrust/doc_comments; конвеєр doc-files бере ці описи дослівно).frontmatter.rs/signal.rs— лишеcargo fmt..rs.Перевірка
.rs → Rust Module; скан знайшов 29 застарілих док по репо (наявний борг, на нього є mt-вузол)..rsконвеєр згенерував доку з CRC-frontmatter (score 80, локальна модель) — end-to-end працює; тестовий файл прибрано.npx @7n/rules lint --no-fix— чистий;cargo build -p mt-core,cargo fmt --check— ok.Ревʼюеру
.rs: glob doc-files концерну захардкоджений у ядрі (**/*.{js,mjs,ts,vue,py}) навіть у 1.89.3 — фікс пішов окремою задачею в upstream7n-rules.@7n/rules-lang-js@0.9.0мертвий з тієї ж причини (правила js/ga/bun/js-run/npm-module не виконуються) — окрема задача.🤖 Generated with Claude Code