Migrates lshell to the canonical engine/config pipeline and updates Python support policy.#278
Merged
ghantoos merged 9 commits intopre-releasefrom Mar 29, 2026
Merged
Migrates lshell to the canonical engine/config pipeline and updates Python support policy.#278ghantoos merged 9 commits intopre-releasefrom
ghantoos merged 9 commits intopre-releasefrom
Conversation
- Introduced a new schema module for parsing and validating lshell configuration values. - Updated imports across various modules to reflect the new configuration structure. - Added regression tests to ensure runtime and diagnostics share merge behavior. - Enhanced error handling for configuration parsing to provide clearer user feedback. - Ensured consistency in handling configuration keys and types across the application.
… lpath/lsudo variants, and align docs/tests - expose diagnostics as 'policy-show' externally and 'lshow' inside interactive sessions - remove legacy/extra commands: lpath, lsudo, policy-path, policy-sudo - keep path and sudo visibility embedded in diagnostics output - update changelog, man page, README, samples, and tests to match the simplified surface
- remove numeric prefixes from test function names for readability - add missing cli/policy/system setup/harden-init behavior tests - add policy-show functional tests - update GitHub Actions Python matrix to 3.10 and 3.14
Add interaction-driven functional tests across session, SSH, and job-control paths:\n- alias smuggling and forbidden env assignment checks\n- assignment-only behavior and config reload policy updates\n- operator edge-sequence fail-closed assertions\n- allowed_cmd_path/env_path command-resolution coverage\n- malformed sudo -u denial paths\n- overssh trusted-protocol and scpforce behavior probes\n- fg negative paths and background timeout jobs cleanup assertions\n\nAlso include runtime fixes required by these tests:\n- parse scpforce with its config key in CheckConfig\n- route tokenization-failure lines through lshell dispatch in onecmd while preserving comment/shebang compatibility
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.
Highlights
policy-show(CLI) andlshow(shell).>=3.10.3.10–3.14.