feat: add Starter Code Integrity Validator to DevPath Sentinel - #1357
Open
jyotish6699 wants to merge 7 commits into
Open
feat: add Starter Code Integrity Validator to DevPath Sentinel#1357jyotish6699 wants to merge 7 commits into
jyotish6699 wants to merge 7 commits into
Conversation
Implement the Starter Code Integrity Validator with repository scanning, dataset loading, and validation checks for orphan files, empty files, hidden files, and unsupported file extensions. The validator returns a ValidationResult and is ready for CLI integration.
Apply Ruff formatting to the existing validator files without changing functionality.
Update the Sentinel CLI to execute both the Dataset Validator and the Starter Code Integrity Validator through a scalable validator orchestration flow.
Refactor the Sentinel reporting architecture by introducing a standardized ValidationResult details schema with resource, count, checks, and metadata fields. Replace validator-specific reporting with a generic metadata-driven report renderer, classify validation checks by error and warning severity, and update the Dataset Validator and Starter Code Integrity Validator to use the shared reporting pipeline for consistent CLI output.
Add comprehensive tests for the Starter Code Integrity Validator. Update path handling to support temporary test directories, return ValidationResult for validation failures, and improve validator robustness and consistency with the dataset validator.
Document the Starter Code Integrity Validator, multi-validator CLI workflow, contributor guidance, and changelog entries.
|
@jyotish6699 is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
|
Hi @komalharshita , This PR is submitted under GSSoC 2026. Changes included
I would appreciate your review and feedback. Thank you! |
Owner
|
@jyotish6699 kindly resolve the merge conflicts |
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.
Summary
This PR adds a new Starter Code Integrity Validator to DevPath Sentinel to extend repository integrity validation beyond the existing Dataset Validator.
The new validator integrates with the Sentinel CLI and reporting pipeline, enabling contributors to identify common starter code issues before submitting changes.
Closes #1356
What was added
Starter Code Integrity Validator
Introduced a new validator to verify the integrity of the
starter_code/directory by detecting:CLI Integration
Validation Reporting
Tests
Added a dedicated test suite covering:
Documentation
Updated documentation to reflect the new validation workflow.
Files updated include:
Validation
Screenshots