Description
Shell configuration files are not validated before loading. Invalid syntax or malformed configurations are accepted and silently cause problems. No validation prevents broken configurations from being loaded.
Steps to Reproduce
- User creates
.devshell.toml with typo: depend[encies] instead of dependencies
- Configuration loaded without validation
- Feature silently breaks or behaves unexpectedly
- Difficult for user to debug the issue
Environment Information
- Config format: TOML or JSON
- Validation: Schema not enforced
- Loading: Raw parsing without validation
- Error feedback: None
Expected Behavior
- Configuration validated against schema
- Clear error on invalid configuration
- Helpful error messages with hints
- Setup prevents invalid config
Actual Behavior
- No schema validation
- Invalid configs accepted
- Features silently break
- No error message
Code Reference
- File:
src/devshell/config_parser.py
- Missing: Schema validation
- Missing: Error handling
- Missing: Validation messages
Additional Context
Level 2 usability issue. Fix requires:
- Implementing config schema validation
- Using jsonschema or similar validator
- Providing detailed error messages
- Testing with invalid configs
Suggested Labels
bug, configuration, validation, error-handling, ux
Description
Shell configuration files are not validated before loading. Invalid syntax or malformed configurations are accepted and silently cause problems. No validation prevents broken configurations from being loaded.
Steps to Reproduce
.devshell.tomlwith typo:depend[encies]instead ofdependenciesEnvironment Information
Expected Behavior
Actual Behavior
Code Reference
src/devshell/config_parser.pyAdditional Context
Level 2 usability issue. Fix requires:
Suggested Labels
bug,configuration,validation,error-handling,ux