Summary
validate_plan_quality.sh enforces global rules. Projects with specific architectural constraints (e.g., "all plans modifying the inference layer must cite the model card") have no injection point for custom validation.
Motivation
As the SDLC system is adopted across different projects, each project may have unique validation requirements that the global rules don't cover. Without an extension mechanism, projects must either fork the validation script or accept incomplete validation.
Proposed Change
Source ${CLAUDE_PROJECT_DIR}/.claude/validate-extra.sh if it exists, allowing project-specific checks to append to the ERRORS array.
Acceptance Criteria
validate_plan_quality.sh sources project-specific validation if available
- Project-specific errors are appended to the global ERRORS array
- Missing
validate-extra.sh is a no-op (not an error)
- Documentation updated to describe the extension mechanism
Summary
validate_plan_quality.shenforces global rules. Projects with specific architectural constraints (e.g., "all plans modifying the inference layer must cite the model card") have no injection point for custom validation.Motivation
As the SDLC system is adopted across different projects, each project may have unique validation requirements that the global rules don't cover. Without an extension mechanism, projects must either fork the validation script or accept incomplete validation.
Proposed Change
Source
${CLAUDE_PROJECT_DIR}/.claude/validate-extra.shif it exists, allowing project-specific checks to append to the ERRORS array.Acceptance Criteria
validate_plan_quality.shsources project-specific validation if availablevalidate-extra.shis a no-op (not an error)