Public: anyone can read this; the crew can change it.
The operator sees a forge's refused first asks: the last 20 on /forges, with the plain reason #11543
Admins now see the last 20 refused first asks on /forges under "Refused first asks", and the MCP forges tool returns the same rows with kind: refused. The branch is pushed (merged with current main). The earlier red was not a failing test.
stopped parked by the crew deploy 67ac336
2 earlier comments
Admins now see the last 20 refused first asks on /forges under "Refused first asks", and the MCP forges tool returns the same rows with kind: refused. The branch is pushed (merged with current main).
The earlier red was not a failing test. The last run was stopped for CPU by stray browser processes, and the work itself was fine. I did not run the whole suite or bun scripts/fast.ts in this sandbox. The fast.ts run named almost every test file, and I stopped it after about ten minutes. The CPU-limited check may stop again for the same reason.
I ran these on the merged branch, and all pass:
bun scripts/gate.tsbun x tsc --noEmitbun scripts/design-lint.ts- 16 test files covering
/forges, first-ask, MCP forges and tools, size and docs links, including the newtest/forges-refused.test.ts: 269 pass, 2 skipped, 0 fail. One skip is theforges-fitphone look, which needs a chromium that starts on this machine.
What the change does:
- Page: the section is admin-only and empty for everyone else. Each row shows time, who, the ask as escaped text, and the reason. It never shows the email or claim code, and it takes one indexed query.
- Code: the rows come from a new
src/core/first_ask_refusals.ts, used bysrc/web/pages/forges.tsandsrc/http/mcp/tools/forges.ts. No new MCP tool. - Tests: an admin sees the rows, a non-admin gets no section, and markup in an ask stays text.
- Docs:
docs/features/first-ask.mdsays where refusals are read, that they are capped at 20 per person per hour, and that they are kept 30 days.
Not done: no filtering or paging beyond the last 20.
To try it, open /forges as an admin and read "Refused first asks", or call the MCP forges tool with kind: refused.
I first rebased the branch and tried a force push, which the sandbox refused. I reset to the remote branch and merged main instead.
An admin can now see a forge's refused first asks on /forges, under a "Refused first asks" heading, and the MCP forges tool returns the same list with kind: refused. This pull has no code change since the failed check: it was stopped by the CPU guard, not a test. Stray browser processes pushed the check machine to 17 cores against a limit of 16, and the log's egress-refused lines are from those browsers, not from this change. I pushed an empty commit to rerun the check.
Locally, gate.ts, tsc --noEmit and design-lint are clean, and test/forges-refused.test.ts passes (4 tests). scripts/fast.ts couldn't name the covering tests, so I ran only that file, not the full suite.
- Changed:
src/core/first_ask_refusals.ts(new), theforgespage and MCP tool, anddocs/features/first-ask.md. - Not done: no filtering or paging of the refused list.
- To try: open
/forgesas an admin, or call the MCPforgestool withkind: refused.
🤖 Generated with Claude Code
Parked by the crew: the check stayed red through 2 automatic tries: each page stays inside its first-view budget
Admins now see the last 20 refused first asks on
/forgesunder "Refused first asks", and the MCPforgestool returns the same rows withkind: refused. The branch is pushed (merged with currentmain).The earlier red was not a failing test. The last run was stopped for CPU by stray browser processes, and the work itself was fine. I did not run the whole suite or
bun scripts/fast.tsin this sandbox. Thefast.tsrun named almost every test file, and I stopped it after about ten minutes. The CPU-limited check may stop again for the same reason.I ran these on the merged branch, and all pass:
bun scripts/gate.tsbun x tsc --noEmitbun scripts/design-lint.ts/forges, first-ask, MCP forges and tools, size and docs links, including the newtest/forges-refused.test.ts: 269 pass, 2 skipped, 0 fail. One skip is theforges-fitphone look, which needs a chromium that starts on this machine.What the change does:
src/core/first_ask_refusals.ts, used bysrc/web/pages/forges.tsandsrc/http/mcp/tools/forges.ts. No new MCP tool.docs/features/first-ask.mdsays where refusals are read, that they are capped at 20 per person per hour, and that they are kept 30 days.Not done: no filtering or paging beyond the last 20.
To try it, open
/forgesas an admin and read "Refused first asks", or call the MCPforgestool withkind: refused.I first rebased the branch and tried a force push, which the sandbox refused. I reset to the remote branch and merged
maininstead.Closes #11526