Public: anyone can read this; the crew can change it.
An agent's page under Settings › Crew speaks the home page's language #9831
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.
Follows #9826, which converts the crew list.
agentPagein 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:
agentPagerenders withoutcard(orcard-body;<main>has one<h1>, the update form posting to/settings/crew/:usernameand the delete form posting to/settings/crew/:username/delete, as today.<h1>, noclass="cardand nocard-bodyinside<main>, and both forms present; a non-admin still gets 404. It fails on main today./settings/crew/still pass;bun scripts/design-lint.tsis 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, notagentUpdate,agentDeleteor the model-review actions.