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

An agent's page under Settings › Crew speaks the home page's language #9831

shipped production is serving it opened this has it
opened this

Follows #9826, which converts the crew list. agentPage in src/web/pages/crew.ts (GET /settings/crew/:username) still stacks boxed cards. A forge admin opening one agent should read it like the home page: one heading with the agent's name, its settings form and its delete action as plain sections.

Done looks like:

  • [x] agentPage renders without card( or card-body; <main> has one <h1>, the update form posting to /settings/crew/:username and the delete form posting to /settings/crew/:username/delete, as today.
  • [x] A new test/agent-language.test.ts creates an agent as the forge admin, fetches its page, and asserts one <h1>, no class="card and no card-body inside <main>, and both forms present; a non-admin still gets 404. It fails on main today.
  • [x] Existing tests that read /settings/crew/ still pass; bun scripts/design-lint.ts is clean. Any new class goes in docs/design/areas/settings.md, not docs/DESIGN.md.

Files: src/web/pages/crew.ts, test/agent-language.test.ts. Risks: #9826 edits the same file; whichever lands second rebases. Touch only agentPage's markup, not agentUpdate, agentDelete or the model-review actions.

commented

Reviewed pull #9847 at its head: ticked agentPage renders without card( or card-body; <main> has one <h1>, the update form posting to /settings/crew/:username and the delete form posting to /settings/crew/:username/delete, as today.; A new test/agent-language.test.ts creates an agent as the forge admin, fetches its page, and asserts one <h1>, no class="card and no card-body inside <main>, and both forms present; a non-admin still gets 404. It fails on main today.; Existing tests that read /settings/crew/ still pass; bun scripts/design-lint.ts is clean. Any new class goes in docs/design/areas/settings.md, not docs/DESIGN.md..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs