Repository navigation
feat!: remove the greeting and recent-greetings - #377
Conversation
|
This pull request is behind |
# Conflicts: # tasks.md
Enforcement sign-offRan at Tuesday, the 17th of November, at 9:22 am on commit This PR changes gated enforcement or product intent, so it needs sign-off.
@BenSheridanEdwards: tick to approve.
|
|
Paused for the day (17 Nov, 07:5x GMT). Stopped at head 14246ca: all required checks green except the enforcement-approval box, which is waiting for Ben's tick at this head. Next: Ben ticks the box, a quick Opus re-review, then merge. Any further main merge moves the box and needs a fresh tick. |
Why does this feature exist?
The to-do app is the reference feature. Retire the greeting and recent-greetings together.
This is one idea because the greeting and recent-greetings code, their specs and their PRDs must go together:
check:docsfails when a PRD links a deleted spec or itsCoversglob matches no file, and the greeting route records into recent-greetings, so neither feature can be removed alone.Ben approved the size exception on 14 Nov 2026 at 20:35 GMT.
What changed?
ApprendersTodosPagefor every path, including/greeting;appRoutermounts onlytodos. Remove both retired slices, reports, specs, PRDs and six baselines. Record the consumer contract throughtodos.add, update policy fixtures and sync verification skills.84 files: 66 hand-written files (+126/-1246, 1372 changed lines), 11 generated files (+19/-275, 294 changed lines), seven PNG files (six deleted baselines, one added proof).
Guarded paths from
node scripts/enforcement-approval.mjs --git origin/main HEAD:docs/prd/greeting.md: deletes retired product intent.docs/prd/recent-greetings.md: deletes retired product intent.docs/NORTH_STAR.md: names the to-do app as the runnable example.oxlint.config.ts: updates the public-surface diagnostic example.tooling/oxlint-plugin-policy.js: updates custom-hook and status-union diagnostic examples.Do not merge until the approver ticks the enforcement sign-off at the current head.
Behavioural Proof (with video and screenshots)
/greetingshowing the to-do form all failed before removal. All 19 E2E tests pass after removal.apps/web/e2e/todos.spec.ts; shared accessibility keeps its existing to-do scan.Verification Summary
pnpm install --frozen-lockfile; normal merge oforigin/main(a0a8ff64515b003e2d0dc00c9f0887d47c366757);pnpm verify,pnpm e2ethrough the normal pre-push hook under the Studio heavy-suite limiter; targeted benchmark and Oxlint rechecks (514 tests).pnpm e2epassed all 19 tests. Earlier timing failures passed targeted rechecks; final full run passed. One trial inclusion conflict resolved by retaining todos domain and rules expectations while removing retired greeting domains. ADR 0127 rules, shared web import, tests and architecture pins retained.pnpm verifypnpm e2e.agents/project/ARCHITECTURE.mdandCONVENTIONS.md; no new architectural decision.PRD Behaviours to Review
docs/prd/todos.md: Says so when the list fails to load. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Marks a to-do done and active again, in place. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Edits a title in place, normalised. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Deletes a to-do at once. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Clears every done to-do, whatever the filter, and only while one is done. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Keeps the done to-dos and says so when clearing fails. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Shows only the latest failure, until the next change starts. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Says so when the list fails to load after a change. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Reads the list when the page opens and after each successful change. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Shows loading until the list arrives. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Loads an empty list and adds a normalised title. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Rejects blank and too-long titles. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Filters to active or done to-dos and back to all. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Hides a newly done to-do from Active. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Shows an empty message for an unmatched filter. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.docs/prd/todos.md: Passes the automated accessibility scan. Evidence: existing to-do E2E and accessibility specs pass; to-do implementation unchanged.PR Proof Law
.agents/project/PR_QUALITY.mdand.agents/skills/pr-quality-contract/SKILL.md.