Done Work Item
Retire monolith and wire Pester as canonical test runner
Final cutover: convert run-factory-tests.ps1 from a 6,000-line monolith to a thin compatibility shim that delegates to run-pester-tests.ps1. Update factory-run-required-validation.ps1, invoke-factory-test-orchestrator.ps1, and all suite entry-point scripts to invoke Pester directly via run-pester-tests.ps1 with the appropriate tag filter. Update the taxonomy sourceScript reference. All 108 tests now live in Pester. Requires BF-195 through BF-199 to be done first.
Execution Context
- ID
- wi-BF-200
- Branch
- bf/BF-200-retire-monolith-wire-pester-canonical
- Validation
- ./scripts/factory-run-required-validation.ps1
- PR
- https://github.com/SingletonTheory/build-factory-bootstrap/pull/209
Lifecycle Metadata
- Lane
- Done
- Work type
- tech-debt
- Source
- done
- Status
- done
- State
- done
- Done criteria
- 11
Queue Truth
Freshness: Fresh (snapshot age 0s)
Drift: none.
Reconciliation Guidance
- No reconciliation required; item truth signals are consistent.
Prompt Context
none
Final cutover: convert run-factory-tests.ps1 from a 6,000-line monolith to a thin compatibility shim that delegates to run-pester-tests.ps1. Update factory-run-required-validation.ps1, invoke-factory-test-orchestrator.ps1, and all suite entry-point scripts to invoke Pester directly via run-pester-tests.ps1 with the appropriate tag filter. Update the taxonomy sourceScript reference. All 108 tests now live in Pester. Requires BF-195 through BF-199 to be done first.
Available Actions
- Start executionBlocked
Queue execution handoff for this work item.
Recovery guidance
- Cause
- Done items stay closed; Start execution cannot move them backward.
- Policy context
- Lane transition policy blocks Start execution when the item is already Done.
- Next step
- Create a net-new work item if more delivery is needed instead of reopening this one.
- Safe retry
- Do not retry Start execution on a done item.
identity: start-execution
permission: factory.work-item.execute
policy gate lane-transition: blocked (Done items stay closed; Start execution cannot move them backward.)
POST /api/control-plane/items/wi-BF-200/actions/start-execution
- Request reviewBlocked
Mark this item ready for review lane handoff.
Recovery guidance
- Cause
- Done items stay closed; Request review cannot move them backward.
- Policy context
- Lane transition policy blocks Request review when the item is already Done.
- Next step
- Create a net-new work item if more delivery is needed instead of reopening this one.
- Safe retry
- Do not retry Request review on a done item.
identity: request-review
permission: factory.work-item.request-review
policy gate lane-transition: blocked (Done items stay closed; Request review cannot move them backward.)
POST /api/control-plane/items/wi-BF-200/actions/request-review
- Prepare releaseEnabled
Run release-preparation checks for the work item.
identity: prepare-release
permission: factory.work-item.prepare-release
policy gate lane-eligibility: pass
policy gate pull-request: pass
POST /api/control-plane/items/wi-BF-200/actions/prepare-release
- Record historyEnabled
Capture history snapshots for audit and validation views.
identity: record-history
permission: factory.work-item.record-history
policy gate context-visibility: pass
POST /api/control-plane/items/wi-BF-200/actions/record-history