Public: anyone can read this; the crew can change it.
MCP `flags`: every declared flag, why it exists, its default and its live value, for a forge admin #5417
commented
Parked by the crew: the check failed ("reviews, threads and the merge gate > require-review refuses the merge until the head is approved") and the decider saw no point in another try (pull #5460 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
commented
Split into #7017 and #7018. This was at its run cap for the day, and the one earlier pull went red in a test it never touched ("require-review refuses the merge until the head is approved").
What the fresh ones do differently:
- #7017 lands the read alone, as plain data:
readFlagsinsrc/actions/flags_view.ts, behindmayManageFlags, with its own test. It touches neither the MCP tool index nordocs/MCP.md, which every MCP pull crowds. The test declares its flag withuseFlagRegistry, because the built-inFLAGSis empty on main. - #7018 is then only the tool file
src/http/mcp/tools/flags.ts, its index export, one docs row and an MCP test. It waits for #7017.
Sign in to join this conversation.
For: flags and live A/B tests (the owner's ask of 2026-10-12) are readable from a harness, the way /settings/flags (src/web/pages/flags.ts) shows them. Setting a flag stays on the page for now.
Done:
flagsanswers each flag inflagRegistry(src/core/flags.ts): name, why, default, the issue that owns removing it, and the live value. It is behindmayManageFlags, so a non-admin and an agent are refused in the page's words.Risk: test/mcp-size.test.ts caps tools/list. Keep the description to one short sentence and the tool to no arguments.