Skip to content

refactor: remove lean-ctx and context-mode - #972

Merged
yxtay merged 4 commits into
mainfrom
refactor/remove-lean-ctx-context-mode
Aug 21, 2026
Merged

refactor: remove lean-ctx and context-mode#972
yxtay merged 4 commits into
mainfrom
refactor/remove-lean-ctx-context-mode

Conversation

@yxtay

@yxtay yxtay commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove lean-ctx binary download from .chezmoiexternal.toml.tmpl
  • Remove lean-ctx wrap opencode from agent plugins setup script
  • Remove lean-ctx skill (private_dot_agents/skills/lean-ctx/, private_dot_claude/skills/symlink_lean-ctx)
  • Remove context-mode plugin and MCP server from opencode template

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b2376ce9-72de-4863-8e09-db3c86372416


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ BASH shfmt 5 0 0 0 0.02s
✅ JSON prettier 8 0 0 0 0.49s
✅ MARKDOWN markdownlint 17 0 0 0 0.74s
✅ MARKDOWN markdown-table-formatter 19 0 0 0 0.16s
✅ YAML prettier 11 0 0 0 0.48s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.6.0 --custom-flavor-setup --custom-flavor-linters BASH_SHFMT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,YAML_PRETTIER

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ BASH bash-exec 5 0 0 0.01s
✅ BASH shellcheck 5 0 0 0.23s
✅ REPOSITORY betterleaks yes no no 1.85s
✅ REPOSITORY devskim yes no no 1.79s
✅ REPOSITORY dustilock yes no no 0.02s
✅ REPOSITORY gitleaks yes no no 1.91s
✅ REPOSITORY osv-scanner yes no no 0.4s
✅ REPOSITORY secretlint yes no no 1.51s
✅ REPOSITORY syft yes no no 3.2s
✅ REPOSITORY trivy yes no no 9.16s
✅ REPOSITORY trivy-sbom yes no no 0.2s
✅ REPOSITORY trufflehog yes no no 4.65s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.6.0 --custom-flavor-setup --custom-flavor-linters BASH_EXEC,BASH_SHELLCHECK,REPOSITORY_DEVSKIM,REPOSITORY_DUSTILOCK,REPOSITORY_GITLEAKS,REPOSITORY_BETTERLEAKS,REPOSITORY_OSV_SCANNER,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ BASH shellcheck 5 0 0 0.6s
✅ BASH shfmt 5 0 0 0 0.01s
✅ COPYPASTE jscpd yes no no 0.43s
✅ JSON prettier 8 0 0 0 0.53s
✅ JSON v8r 12 0 0 4.87s
✅ REPOSITORY betterleaks yes no no 1.75s
✅ REPOSITORY gitleaks yes no no 1.86s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY osv-scanner yes no no 0.12s
✅ REPOSITORY secretlint yes no no 1.19s
✅ REPOSITORY syft yes no no 1.8s
✅ REPOSITORY trivy yes no no 11.25s
✅ REPOSITORY trivy-sbom yes no no 0.12s
✅ REPOSITORY trufflehog yes no no 3.77s
✅ YAML prettier 11 0 0 0 0.6s
✅ YAML v8r 11 0 0 8.09s
✅ YAML yamllint 11 0 0 0.57s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.6.0 --custom-flavor-setup --custom-flavor-linters BASH_SHELLCHECK,BASH_SHFMT,COPYPASTE_JSCPD,JSON_V8R,JSON_PRETTIER,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_BETTERLEAKS,REPOSITORY_OSV_SCANNER,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 5 0 0 0.36s
✅ ACTION zizmor 5 0 0 0 1.1s
✅ BASH bash-exec 5 0 0 0.01s
✅ BASH shellcheck 5 0 0 0.27s
✅ BASH shfmt 5 0 0 0 0.02s
✅ COPYPASTE jscpd yes no no 0.14s
✅ EDITORCONFIG editorconfig-checker 96 0 0 0.21s
✅ JSON prettier 8 0 0 0 0.46s
✅ JSON v8r 12 0 0 3.64s
✅ MARKDOWN markdownlint 17 0 0 0 1.02s
✅ MARKDOWN markdown-table-formatter 19 0 0 0 0.19s
✅ REPOSITORY betterleaks yes no no 1.21s
✅ REPOSITORY gitleaks yes no no 1.94s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY osv-scanner yes no no 0.18s
✅ REPOSITORY secretlint yes no no 1.28s
✅ REPOSITORY syft yes no no 1.84s
✅ REPOSITORY trivy yes no no 11.11s
✅ REPOSITORY trivy-sbom yes no no 0.13s
✅ REPOSITORY trufflehog yes no no 3.02s
⚠️ SPELL lychee 43 7 0 1.09s
✅ YAML prettier 11 0 0 0 0.52s
✅ YAML v8r 11 0 0 6.05s
✅ YAML yamllint 11 0 0 0.52s

Detailed Issues

⚠️ SPELL / lychee - 7 errors
📝 Summary
---------------------
🔍 Total...........33
🔗 Unique..........26
✅ Successful......26
⏳ Timeouts.........0
🔀 Redirected.......3
👻 Excluded.........0
❓ Unknown..........0
🚫 Errors...........7
⛔ Unsupported......7

Errors in chezmoi/private_dot_agents/skills/okf/assets/concept.md
[ERROR] file://chezmoi/private_dot_agents/skills/okf/assets/url (at 27:5) | File not found. Check if file exists and path is correct

Errors in chezmoi/private_dot_agents/skills/okf/assets/index.md
[ERROR] file://chezmoi/private_dot_agents/skills/okf/assets/relative-url (at 4:3) | File not found. Check if file exists and path is correct
[ERROR] file://chezmoi/private_dot_agents/skills/okf/assets/relative-url (at 5:3) | File not found. Check if file exists and path is correct
[ERROR] file://chezmoi/private_dot_agents/skills/okf/assets/subdir (at 9:3) | File not found. Check if file exists and path is correct

Errors in chezmoi/private_dot_agents/skills/okf/assets/log.md
[ERROR] file://chezmoi/private_dot_agents/skills/okf/assets/bundle-relative-path (at 5:36) | File not found. Check if file exists and path is correct
[ERROR] file://chezmoi/private_dot_agents/skills/okf/assets/bundle-relative-path (at 6:30) | File not found. Check if file exists and path is correct
[ERROR] file://chezmoi/private_dot_agents/skills/okf/assets/bundle-relative-path (at 7:39) | File not found. Check if file exists and path is correct

Hint: Followed 3 redirects. You might want to consider replacing redirecting URLs with the resolved URLs. Use verbose mode (`-v`/`-vv`) to see redirection details.

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.6.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,ACTION_ZIZMOR,BASH_EXEC,BASH_SHELLCHECK,BASH_SHFMT,COPYPASTE_JSCPD,EDITORCONFIG_EDITORCONFIG_CHECKER,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_BETTERLEAKS,REPOSITORY_OSV_SCANNER,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@yxtay
yxtay merged commit 9e2fa2b into main Aug 21, 2026
29 checks passed
@yxtay
yxtay deleted the refactor/remove-lean-ctx-context-mode branch August 21, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant