with one click
fullstack-regression-worker
// Build cross-layer regression coverage that ties browser-visible behavior to backend truth.
// Build cross-layer regression coverage that ties browser-visible behavior to backend truth.
Use when working in this repository after receiving recurring coding feedback, adding or reviewing durable lint guardrails from AGENTS.md, updating Rules/*.md, or finishing changes that should be checked by harness-lint.
Build and verify real-Postgres Go tests and thin transport smoke for tracking behavior.
Build and verify page-flow and E2E coverage for the tracking browser surface.
Harden shared test infrastructure, runtime readiness, schema setup, and parallel lane behavior.
Update backend timer/time-entry contracts, regressions, and source docs for the timer refactor mission.
Audit and finalize inline source-document status blocks for the timer refactor mission.
| name | fullstack-regression-worker |
| description | Build cross-layer regression coverage that ties browser-visible behavior to backend truth. |
NOTE: Startup and cleanup are handled by worker-base. This skill defines the work procedure.
Use for features that must prove a browser-visible regression and a backend read-model truth in the same workflow, especially when current state and history can contradict each other.
vite-plus — use for repo-local JS/toolchain commands and website test execution.agent-browser — use to verify the browser-visible half of the regression against the reused local runtime.mission.md, mission AGENTS.md, .factory/services.yaml, and the relevant validation assertions.8080 and 5173, and keep backend assertions bound to the dedicated test schema.agent-browser for one manual replay of the regression path after automated tests pass. If that replay is not possible because of a tooling/session conflict, record the blocker explicitly and return partial/failure instead of silently treating the manual step as complete.interactiveChecks replay entry or an explicit blocker for the manual replay step.{
"salientSummary": "Closed a stale-current-vs-history regression by pairing one backend truth test with one browser-visible replay. The same seeded timer flow now shows matching current-timer and history state after start, stop, and edit.",
"whatWasImplemented": "Added a cross-layer regression lane for tracking state consistency. The new coverage uses one shared seeded/session scenario to prove backend current-timer reads and browser-visible timer history no longer contradict each other after the previously flaky flow.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{
"command": "go test ./apps/backend/internal/tracking/... -count=1 -parallel 4",
"exitCode": 0,
"observation": "Backend truth tests passed for the regression scenario."
},
{
"command": "vp run test:e2e:website -- e2e/timer-page.spec.ts",
"exitCode": 0,
"observation": "Browser regression replay passed on the reused local runtime."
}
],
"interactiveChecks": [
{
"action": "Replayed the start-stop-edit flow in agent-browser and compared the visible history with backend readback.",
"observed": "The running header cleared at the same time history showed the stopped entry, with no stale contradiction."
}
]
},
"tests": {
"added": [
{
"file": "apps/website/e2e/timer-page.spec.ts + apps/backend/internal/tracking/...",
"cases": [
{
"name": "current timer and history stay aligned after stop and edit",
"verifies": "VAL-REG-004"
}
]
}
]
},
"discoveredIssues": []
}