Bug Report BR-064 - RW dev branch should not enforce epic lock
Status: COMPLETE
Priority: CRITICAL
Severity: HIGH - release workflow blocker for intended single-branch development usage.
Created: 2026-04-09
Last updated: 2026-04-09 (v0.2.1.16+1)
Version: v0.2.1.16+1
Code: BR-064
Implementing Task: E2:S01:T16
Problem Statement
RW Step 1 branch validation currently treats dev as epic-bound context (via dev_branch_epic mapping), which blocks valid RW ... --art flows when version.py epic differs from that configured value.
This conflicts with the operational intent of dev as a neutral integration branch used to reduce branch-friction for ongoing maintenance and cross-epic workflow work.
Expected Behavior
When running on dev, branch validation should:
- skip strict epic/version equality checks,
- still run safety checks that are branch-agnostic (format, docs-only guardrails, etc.),
- allow
RW/RW -k/RW -dflows to proceed if all other guards pass.
Observed Behavior
Validator failure:
Version mismatch: Branch 'dev' expects Epic 2 but version '0.6.7.110+1' has Epic 6
This causes Step 1 hard-fail and aborts RW before execution can begin.
Reproduction
- Checkout
dev. - Ensure
rw-config.yamlsetsdev_branch_epic: 2. - Use a version anchored to a different epic (e.g.
0.6.7.110+1). - Run Step 1 validator in strict mode:
python3 "packages/frameworks/workflow mgt/scripts/validation/validate_branch_context.py" --strict
- Observe failure on forced epic lock for
dev.
Proposed Resolution
- Treat
devlikemainfor epic/version enforcement (neutral context). - Remove
devstrict-epic dependency path from validator logic. - Keep all non-epic validation behavior unchanged.
- Document this as explicit policy to prevent reintroduction.