文件最后提交记录最后更新时间
fix(security): pin workflow actions to SHA, clean up tempfile on failure 23 天前
fix(benchmark): address PR review feedback - Run cargo test directly through testCmd instead of faking results - Add 60s per-test timeout on vmExec to prevent hung suite - Make report path configurable via --report flag (default: project root) - Fix shell injection in testRewrite by escaping single quotes Signed-off-by: Patrick szymkowiak <patrick.szymkowiak@innovtech.eu> 1 个月前
fix(benchmark): benchmark capture all fd only stream 1 个月前
fix: use /usr/bin/env shebangs for portability across systems 2 个月前
ci: enforce test presence on new/modified filter modules Add check-test-presence.sh script and CI job that fails if any *_cmd.rs file added or modified in a PR is missing a #[cfg(test)] block. - New CI job runs with no dependencies (parallel to all other jobs, <10s) - Uses --diff-filter=AM to catch both added files and test deletions - --self-test mode for local verification - Add missing tests to wget_cmd.rs (17 tests) and env_cmd.rs (12 tests) covering pure functions: compact_url, format_size, parse_error, extract_filename, mask_value, is_lang_var, is_cloud_var, etc. Fixes the enforcement gap: CONTRIBUTING.md required tests but CI did not check. Now 34/34 *_cmd.rs modules have #[cfg(test)]. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Florian BRUNIAUX <florian@bruniaux.com> 2 个月前
fix: use /usr/bin/env shebangs for portability across systems 2 个月前
fix: use /usr/bin/env shebangs for portability across systems 2 个月前
feat(ruby): add Ruby on Rails support (rspec, rubocop, rake, bundle) (#724) * feat(ruby): add Ruby on Rails support (rspec, rubocop, rake, bundle) Unifies 5 competing PRs (#198, #292, #379, #534, #643) into a single coherent implementation. New commands: - rtk rspec: JSON parsing with text fallback (60%+ savings) - rtk rubocop: JSON parsing, group by cop/severity (60%+ savings) - rtk rake test: Minitest state machine parser (85-90% savings) - rtk bundle install: TOML filter, strip Using lines (90%+ savings) Shared infrastructure: ruby_exec(), fallback_tail(), exit_code_from_output(), count_tokens() in utils.rs. Discover/rewrite rules for rspec, rubocop, rake, rails, bundle including bundle exec and bin/ variants. E2E smoke tests (scripts/test-ruby.sh) covering all 4 commands. 56 new unit tests + 4 inline TOML tests. All 1035 tests passing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Navid EMAD <navid.emad@yespark.fr> * fix(ruby): use TEST= env var for rake single-file test in smoke tests Rails' rake test ignores positional file args; use TEST=path syntax. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Navid EMAD <navid.emad@yespark.fr> * docs(ruby): add Ruby module architecture and update attribution Integrate ARCHITECTURE.md Ruby Module Architecture section and CLAUDE.md module table/fork-features from PR #643. Update PR description attribution. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Navid EMAD <navid.emad@yespark.fr> * chore: remove PULL_REQUEST_DESCRIPTION.md from repo PR description lives on GitHub, no need to track in the codebase. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Navid EMAD <navid.emad@yespark.fr> --------- Signed-off-by: Navid EMAD <navid.emad@yespark.fr> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>2 个月前
feat: add local LLM analysis, filter improvements, and testing scripts Add smart code analysis with local LLM integration (rtk smart command), improve filter.rs formatting and readability, and add comprehensive testing utilities. Key changes: - local_llm.rs: Ultra-compact code summaries for LLM contexts - filter.rs: Better formatting, enhanced comment/docstring detection - main.rs: Integrate smart command routing - config.rs: Code formatting improvements - .gitignore: Exclude claudedocs/ directory - scripts/rtk-economics.sh: Token savings analysis - scripts/test-all.sh: Comprehensive test runner - scripts/test-aristote.sh: Project-specific test suite Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> 3 个月前
fix(install): reject archive with path traversal before extraction (#1250) The installer previously ran tar -xzf on the downloaded archive with no pre-extraction verification. A malicious mirror could ship a tarball with ../ components or absolute paths and write files anywhere on the user's filesystem (CWE-22). Add a pre-extraction check that lists archive contents with tar -tzf and rejects any entry whose name starts with / or contains a .. path component. The check is POSIX-compliant and adds negligible overhead for the single-binary RTK release tarball. Covered by scripts/test-install.sh, which exercises one safe archive and four crafted malicious archives (leading .., absolute path, mid-path .., trailing ..) plus a regression guard that ensures the check remains in install.sh. Co-Authored-By: Claude <noreply@anthropic.com> 1 个月前
feat(ruby): add Ruby on Rails support (rspec, rubocop, rake, bundle) (#724) * feat(ruby): add Ruby on Rails support (rspec, rubocop, rake, bundle) Unifies 5 competing PRs (#198, #292, #379, #534, #643) into a single coherent implementation. New commands: - rtk rspec: JSON parsing with text fallback (60%+ savings) - rtk rubocop: JSON parsing, group by cop/severity (60%+ savings) - rtk rake test: Minitest state machine parser (85-90% savings) - rtk bundle install: TOML filter, strip Using lines (90%+ savings) Shared infrastructure: ruby_exec(), fallback_tail(), exit_code_from_output(), count_tokens() in utils.rs. Discover/rewrite rules for rspec, rubocop, rake, rails, bundle including bundle exec and bin/ variants. E2E smoke tests (scripts/test-ruby.sh) covering all 4 commands. 56 new unit tests + 4 inline TOML tests. All 1035 tests passing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Navid EMAD <navid.emad@yespark.fr> * fix(ruby): use TEST= env var for rake single-file test in smoke tests Rails' rake test ignores positional file args; use TEST=path syntax. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Navid EMAD <navid.emad@yespark.fr> * docs(ruby): add Ruby module architecture and update attribution Integrate ARCHITECTURE.md Ruby Module Architecture section and CLAUDE.md module table/fork-features from PR #643. Update PR description attribution. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Navid EMAD <navid.emad@yespark.fr> * chore: remove PULL_REQUEST_DESCRIPTION.md from repo PR description lives on GitHub, no need to track in the codebase. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Navid EMAD <navid.emad@yespark.fr> --------- Signed-off-by: Navid EMAD <navid.emad@yespark.fr> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>2 个月前
chore: cleanup diff references, fix docker ps, widen diff truncation - Remove rtk diff from docs, tests, discover registry (command exists but was over-promoted) - docker ps: include container ID in compact output - diff_cmd: widen truncation from 35 to 70 chars per side Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> 3 个月前
fix: use /usr/bin/env shebangs for portability across systems 2 个月前
fix(ci): fix validate-docs.sh broken module count check Two issues: 1. Module count compared top-level mod in main.rs (8) against "Total: 64 modules" in ARCHITECTURE.md -- incompatible metrics, always fails. Replaced with a simple .rs source file count (informational only). 2. CLAUDE.md check for Python/Go commands was too strict -- these commands belong in README.md (user-facing), not CLAUDE.md (Claude Code guidance). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Florian BRUNIAUX <florian@bruniaux.com> 2 个月前