Skip to content

Migrates lshell to the canonical engine/config pipeline and updates Python support policy.#278

Merged
ghantoos merged 9 commits intopre-releasefrom
f/engine-v2
Mar 29, 2026
Merged

Migrates lshell to the canonical engine/config pipeline and updates Python support policy.#278
ghantoos merged 9 commits intopre-releasefrom
f/engine-v2

Conversation

@ghantoos
Copy link
Copy Markdown
Owner

Highlights

  • Removed legacy parser/diagnostics compatibility paths.
  • Kept diagnostics surface as policy-show (CLI) and lshow (shell).
  • Updated Python baseline and metadata to >=3.10.
  • CI matrix now runs on active CPython versions: 3.103.14.
  • Updated docs/changelog to match behavior and version support.

- 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
@ghantoos ghantoos merged commit 415fb36 into pre-release Mar 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant