2.3 KiB
2.3 KiB
Harness Rollout Completion
- Status:
completed - Owner:
codex - Date:
2026-03-23
Goal
Finish the next harness-engineering layer for Cadence UI by stabilizing baseline validation, adding diff-aware suite selection, and exposing worktree-oriented orchestration defaults.
Scope
- In scope:
- fix the current lint failures
- stabilize the flaky Storybook smoke route
- add suite selection from git diff and working tree changes
- add orchestration wrapper docs and scripts
- Out of scope:
- automated plan-to-task decomposition
- CI artifact uploads for harness JSON reports
- stronger container or VM isolation around worker execution
Constraints
- Keep the existing validation commands working as direct entrypoints.
- Do not make the repository depend on a single hosted orchestration service.
- Preserve simple local development workflows alongside the richer harness path.
Affected Surfaces
apps/docs/src/components/*packages/ui/src/components/*tests/e2e/storybook-smoke.spec.tsscripts/harness/*.github/workflows/harness-validate.ymldocs/harness-engineering.mddocs/orchestration.md
Plan
- Repair the failing lint issues in stories, tests, and hooks-heavy components.
- Stabilize Storybook smoke navigation so it waits for iframe story readiness.
- Add a shared diff-to-suite selector and a changed-suite validator.
- Expose a repository-local orchestration wrapper with strict worktree defaults.
- Update docs and workflow wiring around the new control plane.
Validation
pnpm lintpnpm harness:suitespnpm harness:select -- --jsonpnpm harness:validate:changed -- --dry-runpnpm testpnpm typecheckpnpm build:docspnpm test:e2e:smoke
Orchestration Task Sketch
T1: stabilize validation surfacesT2: add selector and reporting control planeT3: wire worktree dispatch defaults and docsT4: validate changed-suite and full smoke behavior
Status Log
2026-03-23 12:36fixed existing lint errors in stories, tests, and component hooks2026-03-23 12:43stabilized Storybook smoke route readiness via story-title waits2026-03-23 12:50added shared harness core, diff-aware suite selector, and changed-suite execution2026-03-23 12:55added orchestration wrapper and repository docs for worktree-backed dispatch