fix: implement semantic string-to-bool normalization in cli.py (#1466)#1623
Open
NehaGitHubAcc wants to merge 1 commit intogithub:stagedfrom
Open
fix: implement semantic string-to-bool normalization in cli.py (#1466)#1623NehaGitHubAcc wants to merge 1 commit intogithub:stagedfrom
NehaGitHubAcc wants to merge 1 commit intogithub:stagedfrom
Conversation
Contributor
🔍 Skill Validator Results
Summary
Full validator output```text Found 1 skill(s) [azure-architecture-autopilot] 📊 azure-architecture-autopilot: 1,758 BPE tokens [chars/4: 1,830] (detailed ✓), 16 sections, 5 code blocks [azure-architecture-autopilot] ⚠ No numbered workflow steps — agents follow sequenced procedures more reliably. ✅ All checks passed (1 skill(s)) ``` |
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.
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.stagedbranch for this pull request.Description
This PR fixes issue #1466 where the string "false" was being evaluated as
Truedue to standard Pythonbool()casting.I have implemented a normalization check that explicitly checks for truthy/falsy strings (e.g., "true", "false", "1", "0") and added a warning log for invalid inputs to prevent silent failures.
Fixes #1466
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.