-
Notifications
You must be signed in to change notification settings - Fork 4
docs(requirements): move requirement type comment to separate line #244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This is required because Ketryx doesn't support inline comments in metadata fields.
|
Claude finished @santi698's task —— View job PR Review: Move requirement type comments to separate lineReviewing changes for Ketryx compliance Todo List
✅ Review SummaryThis is a documentation-only change that restructures requirement metadata to accommodate Ketryx's YAML front-matter parser. The change is well-executed, consistent, and safe to merge. What ChangedBefore: itemType: Requirement
Requirement type: FUNCTIONAL # Software requirement (user)After: itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONALVerification Results✅ Consistency Check (PASS)
✅ Commit Message (PASS)
✅ No Breaking Changes (PASS)
✅ CLAUDE.md Compliance (PASS)
Context: Ketryx IntegrationThis SDK is a medical device software component with FDA/MDR regulatory requirements. Ketryx is the compliance traceability platform that:
Why this change is necessary: Ketryx's YAML parser treats inline comments ( Historical ContextRecent requirement-related commits show active Ketryx integration work: 6fa2a03 docs(requirements): move requirement type comment to separate line
9e3fa3a Merge pull request #243 from aignostics/docs/PYSDK-18-fix-traceability
386c2bf docs(requirements): add missing itemTitle to system health and settings requirements
243323b docs: annotate requirement type in requirement files with the actual mapped valueThis PR is part of a series to establish proper regulatory traceability infrastructure. 🎯 Recommendations1. Consider Adding a Requirements READMESince these files have specific formatting constraints for Ketryx, consider creating # Requirements Format Specification
## YAML Front-Matter Fields
- `itemId`: Unique requirement identifier (e.g., SHR-APPLICATION-1)
- `itemTitle`: Human-readable title
- `itemType`: Must be "Requirement"
- `Requirement type`: One of FUNCTIONAL, ENVIRONMENT, REGULATORY
- `itemHasParent`: Parent requirement ID (for SWR linking to SHR)
- `Layer`: System layer (CLI, GUI, System)
- `Module`: SDK module name
## Ketryx Compatibility
⚠️ **DO NOT use inline comments in YAML fields** (e.g., `field: value # comment`)
Ketryx cannot parse inline comments. Use separate comment lines:
✅ Correct:
```yaml
# Software requirement (user)
Requirement type: FUNCTIONAL❌ Incorrect: Requirement type: FUNCTIONAL # Software requirement (user)This would catch violations before they reach CI. 3. No Further Changes Needed
📊 Change Impact
🚀 Approval RecommendationAPPROVED ✅ This PR:
No further action required from contributor. Note: I cannot formally approve PRs due to GitHub App permissions, but this review serves as a strong recommendation for approval by a maintainer. |
Codecov Report✅ All modified and coverable lines are covered by tests. |
|



This is required because Ketryx doesn't support inline comments in metadata fields.