Skip to main content

E6:S07:T103 - Planning: Spec, Tests, Implementation Plan (IPW)

Host Task: T103-release-workflow-maintenance-perpetual-task.md (E6:S07:T103)
Planning for: FR-041 – Perpetual Task for Release Workflow Maintenance (host); current policy thread BR-067 (doc-init +0 vs default +1)
Status: Draft


1. Specification

1.1 Goal

Provide a durable, rolling implementation-planning package for perpetual Release Workflow (RW) and workflow-framework maintenance anchored on E6:S07:T103. Unlike a finite task IPW, this document does not “close” with a single ship: it defines maintenance domains, verification expectations, and a phased backlog that future RW maintenance releases can extend.

1.2 Functional requirements

  • F1: Maintain clear attribution rules so RW/framework changes land under T103 when they are not owned by a feature task (FR-041).
  • F2: Keep validators and RW Step 9 guidance aligned with dev-kit versioning policy: doc-init +0, functional +1+, and explicit --doc-policy-zero when policy requires +0 on an existing E/S/T anchor (BR-067).
  • F3: Preserve traceability from Kanban → validators → .cursorrules → packaged workflow docs for adopters.
  • F4: Record consumer-facing expectations where T103 is the anchor (e.g. RW Step 12.5 / GitHub Releases per FR-067 FU-2 as described in the host task).

1.3 Non-functional requirements

  • N1: Changes remain reviewable (tests + CLI validators); avoid silent behavior shifts in validate_version_bump / validate_branch_context.
  • N2: No regression against BR-010 (batch story/task creation must not get incorrect +0).

1.4 Out of scope

  • Feature work that belongs to a dedicated E/S/T (attribute there, not T103).
  • Declaring T103 COMPLETE (perpetual task).
  • Replacing RW or UKW with this IPW.

1.5 Constraints and notes


2. Test design

IDAreaWhat to verify
T1validate_version_bumpPerpetual T103 path still passes; --doc-policy-zero + --requested/--art + docs-only change set.
T2validate_version_bumpTask ID alignment under --art (mismatch → TASK ID MISMATCH).
T3validate_version_bumpDoc-init file scan: packages/frameworks/** and .cursorrules treated as allowed “doc” context for +0 (no false failures for policy text).
T4validate_branch_contextSame BUILD +0 docs-only rules consistent with version bump for staged/unstaged git changes.
T5RW Step 9 (manual / CI)Commands documented in .cursorrules: --requested, --art, and when to add --doc-policy-zero.
T6RegressionRe-run or extend tests that cover BR-010-class batch / first-time doc creation so +0 / +1 remains correct.

Test module (unit): test_validate_version_bump.py


3. Implementation plan (rolling backlog)

Wave A — Close BR-067 documentation and policy clarity

StepActionPrimary deliverable / path
A1Publish a small policy table in BR-067 or versioning policy: when +0 vs +1 vs --doc-policy-zero.BR-067 AC1
A2Update RW agent docs (release-workflow-agent-execution.md, .cursorrules) so RW -d vs functional +1 release paths are explicit.BR-067 AC3
A3Add BR-010 regression checklist to BR-067 verification or test doc.BR-067 AC4

Wave B — Adoption patterns

StepActionPrimary deliverable / path
B1Short “when to use --doc-policy-zero” in implementation-cycle-sop.md or RW KB, linked from T103.Adopter clarity
B2Refresh FR-041 related work if T103 backlog items close.Traceability

Wave C — Governance sync (optional)

StepActionPrimary deliverable / path
C1Align release-workflow.yaml validator list comments with .cursorrules if drift appears.packages/frameworks/workflow mgt/workflows/release-workflow/release-workflow.yaml
C2Bump semver-registry / tag strategy only via normal RW (out of scope for this IPW doc alone).Process

4. Success / verification criteria

  • BR-067 acceptance criteria satisfied (policy table, RW docs, BR-010 regression).
  • pytest packages/frameworks/workflow mgt/scripts/validation/test_validate_version_bump.py passes after substantive validator edits.
  • Bidirectional links: this IPW ↔ T103 host task remain valid (relative paths).
  • No contradictory guidance between versioning policy, validators, and RW docs for +0 / +1.

References