Epic 2, Story 1, Task 10: dev branch support in RW validators
Status: IN PROGRESS
Priority: HIGH
Last updated: 2026-04-07 (v0.2.1.10+2 - strict-equal-epic behavior released via RW)
Started: 2026-04-07
Completed: N/A
Version: v0.2.1.10+2
Code: E2S01T10
Task ID
Format: E{epic}:S{story}:T{task}
Full Task ID: E2:S01:T10
Summary
Implement support for a dedicated dev branch in RW branch-context validation using strict-equal-epic semantics.
Input
- UXR requirement:
UXR-006(devbranch acceptance for solo workflow). - Existing branch validator behavior in
validate_branch_context.py. - Current RW Step 1 and Step 1b guardrail expectations.
Deliverable
- Validator updates to recognize
devbranch mode. - Documentation/rules updates defining safeguards for
devmode. - Traceable release artifacts and changelog references for
E2:S01:T10.
Scope
- Update
validate_branch_context.pyto recognizedevas an allowed branch mode. - Define strict behavior on
dev:devrequires configureddev_branch_epicinrw-config.yaml.- Missing/invalid
dev_branch_epicis a blocking validation failure. - Keep epic/version alignment blocking exactly as
epic/{n}branch mode. - Keep task intent, version bump, and changelog validators strict.
- Update RW execution docs and rules to document
devbehavior and guardrails. - Ensure release traces clearly indicate
dev-mode execution where applicable.
Acceptance Criteria
-
validate_branch_context.pyrecognizesdevand requiresdev_branch_epicmapping. -
devfollows strict epic/version alignment checks (same blocking behavior asepic/{n}). - RW docs define required blocking behavior for
devstrict-equal-epic mode. -
.cursorrulesbranch mapping and validation guidance updated for strictdevmode. - UXR-006 remains cross-linked and traceable.
Links
Version Anchor
Forensic Marker Format: ✅ COMPLETE (vRC.E.S.T+B)
When Task is Complete:
- Add forensic marker to this task document
- Add forensic marker to the story checklist entry
- Ensure version/changelog/readme traceability is complete
Implementation Evidence
validate_branch_context.pyparse_branch_epic(branch, config)now acceptsdevonly whenconfig['dev_branch_epic']is a valid integer.validate_branch_context()now treatsdevwithoutdev_branch_epicas a blocking error (not warning).
release-workflow-agent-execution.md- Step 1 now documents
devstrict-equal-epic requirements and pass/fail expectations.
- Step 1 now documents
.cursorrules- Branch mapping now includes
devwith explicit strict-equal-epic validation requirement.
- Branch mapping now includes