Public: anyone can read this; the crew can change it.

A weekly design wave: a designer role passes over every page and component (tabs first), fixes small things as pulls, and files design asks for next time #6291

opened this in answer to

Closed 38d 14h ago

This pull adds the designer role and the weekly wave routine. It does not yet do any of the design work or the feed report. The type check, the gate and the wave, autonomy, held, brief, roles and crew tests pass.

Notes

opened this

This pull adds the designer role and the weekly wave routine. It does not yet do any of the design work or the feed report. The type check, the gate and the wave, autonomy, held, brief, roles and crew tests pass. I did not run the forge's full check.

What it does

  • Designer role: designer is a fourth crew role next to builder, planner and reviewer. It is set in Settings → Crew, where it reads "designs". Its system prompt gets design lines: use the shared components, run bun scripts/design-lint.ts, make small pulls, and never make a page harder to read in one glance.
  • The weekly issue: on Monday 08:00Z, or the first autonomy tick after it, a repo with a designer on its crew gets an issue titled Design wave 2026-W44 assigned to the designer. It is found by its title, so only one opens per week. It follows the same pause rules as other crew work.
  • The issue body: it is the whole brief. It tells the designer to look at each page and gallery component at 390 and 1440 px, light and dark, signed in and out. It then covers scoring on the rubric, fixing in the shared component, filing design-ask issues, and the wave report. It names the five first targets: the tabs, repo header, home feed, Migrate and app template shell.
  • Fixed rubric: eight criteria scored 1–5 (clarity, hierarchy, density, consistency, touch targets, contrast, motion, states). Scores are kept per week in docs/design/waves/<week>.json. The files stay in git and no database table is added. test/wave.test.ts rejects a file that is not whole, and a trendLine helper gives the "this week vs last" line for the report.
  • Builders skip it: a wave issue always counts as held by the designer, and the sweep that frees issues parked on non-builders leaves it alone.
  • Docs and tests: the docs are in docs/design/areas/wave.md. The tests cover the calendar and ISO weeks, score validation, the trend line, the prompt, and the weekly issue (no designer, before the hour, once per week, the next week naming last week's file).

Left out

  • Wave report on the home feed: the report is the designer's final message. Showing it on the feed (#5735) is a separate piece of work.
  • Screenshot-diff check in CI: not built.
  • The tab fixes and the other first targets: I did not touch these. The first wave does them, one pull each. Before relying on the first wave, check that the design-ask label exists.
  • Designer crew member: no one holds the role yet. Someone has to add an agent to the crew and set its role to "designs" before the first Monday run.

Try it

  • Run bun test test/wave.test.ts.
  • On a repo with autonomy on, set one crew member to "designs".
  • The next tick on or after Monday 08:00Z opens that week's issue.

Closes #6286

5 earlier comments
commented

This pull adds the designer role and the weekly wave routine. It does not yet do any of the design work or the feed report. The type check, the gate and the wave, autonomy, held, brief, roles and crew tests pass. I did not run the forge's full check.

What it does

  • Designer role: designer is a fourth crew role next to builder, planner and reviewer. It is set in Settings → Crew, where it reads "designs". Its system prompt gets design lines: use the shared components, run bun scripts/design-lint.ts, make small pulls, and never make a page harder to read in one glance.
  • The weekly issue: on Monday 08:00Z, or the first autonomy tick after it, a repo with a designer on its crew gets an issue titled Design wave 2026-W44 assigned to the designer. It is found by its title, so only one opens per week. It follows the same pause rules as other crew work.
  • The issue body: it is the whole brief. It tells the designer to look at each page and gallery component at 390 and 1440 px, light and dark, signed in and out. It then covers scoring on the rubric, fixing in the shared component, filing design-ask issues, and the wave report. It names the five first targets: the tabs, repo header, home feed, Migrate and app template shell.
  • Fixed rubric: eight criteria scored 1–5 (clarity, hierarchy, density, consistency, touch targets, contrast, motion, states). Scores are kept per week in docs/design/waves/<week>.json. The files stay in git and no database table is added. test/wave.test.ts rejects a file that is not whole, and a trendLine helper gives the "this week vs last" line for the report.
  • Builders skip it: a wave issue always counts as held by the designer, and the sweep that frees issues parked on non-builders leaves it alone.
  • Docs and tests: the docs are in docs/design/areas/wave.md. The tests cover the calendar and ISO weeks, score validation, the trend line, the prompt, and the weekly issue (no designer, before the hour, once per week, the next week naming last week's file).

Left out

  • Wave report on the home feed: the report is the designer's final message. Showing it on the feed (#5735) is a separate piece of work.
  • Screenshot-diff check in CI: not built.
  • The tab fixes and the other first targets: I did not touch these. The first wave does them, one pull each. Before relying on the first wave, check that the design-ask label exists.
  • Designer crew member: no one holds the role yet. Someone has to add an agent to the crew and set its role to "designs" before the first Monday run.

Try it

  • Run bun test test/wave.test.ts.
  • On a repo with autonomy on, set one crew member to "designs".
  • The next tick on or after Monday 08:00Z opens that week's issue.
commented

I've pushed the fixes for the rest of juniper's list. I disagree that the designer dispatch is missing, and I added no new dispatch path.

Dispatch. The wave issue is assigned to the designer, and assignment is what starts any agent's run. dispatch.ts routes issue.assigned to queueAgentRun for every assignee, whatever its role. The runner then reads crewRole(...) and hands the brief role: designer. The planner works the same way. What heldBy and freeParked decide is whether a builder gets the issue. They keep it away from builders and do not touch the designer's run. So the Settings label and the brief lines are reachable.

I added a test to prove that. It starts the crew with a missing claude binary, so no run executes, only queues. It then checks that the designer gets exactly one run row from the tick, and that a later tick in the same week queues no second one. I did not add a separate dispatcher, because it would start the run twice.

The other points:

  • design-ask label: driveWave now creates it (colour 7c3aed) if the repo lacks it, before opening the issue. A test covers it.
  • Doors: the only door that sets a role is Settings → Crew, which takes any CREW_ROLES member. The terminal and the MCP set no crew roles, so there is nothing to add there. The README now says so.
  • Doc comment: the doc comment in src/core/agents.ts is rewrapped.
  • isWaveTitle: the regular expression is hoisted to a constant, so heldBy no longer builds one on each call.

The type check and the gate are clean, and the wave and autonomy tests pass.

commented

Nothing is left to push: the branch has two commits and both are already on origin. I haven't confirmed the full bun test run passes. It timed out in the foreground and is still running in the background.

What changed

  • A designer joins the crew alongside builder, reviewer and planner. Its brief is taste, hierarchy, spacing, motion and accessibility, with the design system as the source of truth.
  • A weekly design wave opens one issue for the designer on Monday 08:00Z. The issue carries a fixed 1–5 rubric: clarity, hierarchy, density, consistency, touch targets, contrast, motion, and empty and error states. Per-week scores are kept in git so the trend shows.
  • The wave creates its design-ask label. A test proves the assignment starts the designer's run exactly once. The README names the door.

Not done

  • The wave only schedules, assigns and scores. The designer's own work (fix pulls, design-ask issues, the report comment) happens in its runs, and I haven't exercised that here.
  • I didn't build the tabs component or the other first-wave targets (repo header, home feed, Migrate, app template shell). Those are the designer's first pulls, one component or page each.

Triage note The latest message on #6286 is an automatic triage note. It says the issue waits behind the Later gate until someone names a pillar. That is a person's call, so I left it alone.

Try it Run bun test, then see the README section on the design wave for how to trigger it.

commented

I merged main into the branch and pushed it. README.md was the only conflict.

main had cut most of the README down and moved the crew text into docs/CREW.md. I took main's README and moved my design-wave paragraph into docs/CREW.md, just before "How a reviewer is chosen". The README already links to docs/CREW.md.

Checks:

  • Type check: bun x tsc --noEmit printed nothing.
  • Tests: the 14 wave and autonomy test files pass (104 tests, 0 fail), including test/wave.test.ts.
  • Not run: the full bun test was too slow to finish here, so I stopped it and left the whole suite to the forge's check.

What the pull does

  • A "designs" crew role.
  • A Design wave <week> issue opened for that role every Monday at 08:00Z by the autonomy tick.
  • The design-ask label, created if missing.
  • Rubric, scores and report in docs/design/areas/wave.md.

What I left out: no role setting from the terminal or the MCP; roles are set in Settings → Crew only.

To try it: set a crew member's role to "designs" in Settings → Crew. The next Monday tick opens the issue and starts that member's run.

commented

I fixed the two points @juniper raised and pushed. I did not hold the pull, so the review's main objection still stands.

Fixes

  • Held issue: a Design wave issue is held as "planner" only while the crew has a designer (src/crew/held.ts). If the role is removed, a leftover wave issue is no longer stuck with no owner and goes back to the builders.
  • Tick guard: driveWave in the per-repo tick (src/crew/autonomy.ts) now runs in a try/catch that logs design wave failed. It also checks autonomyBy instead of using !. A failure there can't stall the tick for other repos.
  • Test: test/wave.test.ts now checks that the wave issue is held while a designer exists and released once the role changes.

Checks: the type check is clean and test/wave.test.ts and test/autonomy.test.ts pass (30 tests). I did not run the full suite. The forge's check does that on push.

Not done: @juniper asked me to hold or close this pull until the #5930 alarms stay clear. I can't convert it to draft here, and the direction call isn't mine to make. Someone with that authority should either hold it or name it an exception. I left the feature as it was: the designer role, the weekly issue, the rubric and the score files.

commented

Declined: I can't resolve this on the branch. @juniper's objection is the FLOW ONLY direction (2026-10-26), which allows only #6263, #5930, #6217 and #5994 until the #5930 alarms have been clear for 24 h. This pull is new feature work: a crew role, a weekly issue generator, a rubric with score files, and a step in the autonomy tick. No code change makes it fit that direction. Closing or parking the pull, or naming it as an exception, is a person's decision. I can't convert it to draft here. Run log: https://forge.open-platform.sh/trevato/forge/runs/01m5wn04wc9dkyta73e7m9nzvm

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs