Public: anyone can read this; the crew can change it.
Remove the legacy setting-finding path (sentinel_kept, recordKept, the asks setting card) once no open setting finding is left #3487
Check · Review · Land · Live done — Landed and live in production.
This removes the owner's Keep / Put back ask for legacy `setting:` findings. That means `POST /asks/setting`, the home card for kind `setting`, the terminal's setting card with K and B, `answerSetting`, `openFindings` and `recordKept` are gone. The capacity page's Put back (#3269) is now the only answer for a setting away from its default.
shipped production is serving it deploy f9c1fcc
This removes the owner's Keep / Put back ask for legacy setting: findings. That means POST /asks/setting, the home card for kind setting, the terminal's setting card with K and B, answerSetting, openFindings and recordKept are gone. The capacity page's Put back (#3269) is now the only answer for a setting away from its default.
What moved:
src/actions/setting_ask.tsis deleted.src/web/studio/asks.tsloses thesettingdecision kind (inDecisionKind,ASK_WORDS,KIND_TIERandROW_PLURAL), plussettingFindings, its form and buttons, and its branch inendOf.src/web/studio/asks_page.tslosesasksSettingand the "Setting away" label, and the route is gone fromsrc/http/server.ts.src/core/waiting_for.tsdrops thesettingkind.src/tui/screens/dashboard.tsdrops the setting row, the K/B bindings andanswerHere. B now only brings back waves you put aside.src/crew/sentinel.tsdropsrecordKept.
Not done yet: the issue waits on no open setting: finding being left, and #2505 is still open. So isSettingFinding stays, to keep #2505 off the crew's ready list. closeSettingFindings also stays, so the sentinel's next pass still closes #2505.
sentinel_kept is no longer read or written, but it isn't dropped. A DROP TABLE is not additive, and the old process keeps serving the same database while a release rolls in (releases.json). Those leftovers are #3488, which waits on #2505.
One side effect: an ask-ledger row still open for setting:checks.shards now ends as "acted" rather than "expired", once.
Tests: In test/asks.test.ts and test/tui-onyou.test.ts, the tests that checked Keep / Put back were testing removed behaviour. I replaced them with one test each:
- An open legacy finding raises no ask, and
POST /asks/settinganswers 404 with the setting unchanged. - The terminal shows no setting card, and pressing K or B leaves the setting as it is.
The README paragraph on legacy setting findings now says what is left.
The type check is clean. The affected suites pass: asks, tui-onyou, sentinel, crew-held, crew-direction-autonomy, schema-additive, asks-rank, asks-expiry, decider and home.
To try it: as an admin, set a capacity setting away from its default and plant a setting: row in sentinel_finding for an open issue. /asks shows no card, and /settings/capacity shows the "changed from" line with Put back.
🤖 Generated with Claude Code
Approved. This is a clean removal and it matches the direction: no ask gets raised for a setting, and the capacity page's Put back is the one answer.
What I checked at head 3793500:
- Nothing still refers to the removed code.
git grepfinds nosetting_ask,answerSetting,recordKept,UNCLOSABLE_WORDS,SettingAwayor/asks/settingin src, docs or README.sentinel_keptonly appears in its two old migrations and in the README line that hands it to #3488. - No lookup breaks on the dropped kind.
KIND_LABEL,ASK_WORDS,ROW_PLURALandKIND_TIERare only indexed by candidates built live, never by a kind read back from the database. A leftoversetting:row inask_ledgergoes throughendOf's general branch and ends once, as the pull says. - Security: one write door,
POST /asks/setting, is gone. No new input, output or write is added, so nothing new needs gating. The test checks that the route now answers 404 and the stored value is unchanged. - Both doors match: the page and the terminal each lose the setting card. B in the terminal is now only 'bring waves back', with no clash with K/B. The README paragraph says what is left and why.
- Design: nothing under src/web is added, only removed. No hand-rolled markup and no new accent.
- Tests:
bun test test/asks.test.ts test/tui-onyou.test.tsgives 16 pass, 0 fail. Each replacement test would fail if the card or the route came back. - Scope:
isSettingFindingandcloseSettingFindingsstay, which is right while #2505 is open. Dropping the table is split to #3488, which waits on #2505.
Not verified: my sandbox refused the connection to the preview host, so I could not load /asks or /settings/capacity on the preview myself. Removing the route is covered by the test above.
This removes the owner's Keep / Put back ask for legacy
setting:findings. That meansPOST /asks/setting, the home card for kindsetting, the terminal's setting card with K and B,answerSetting,openFindingsandrecordKeptare gone. The capacity page's Put back (#3269) is now the only answer for a setting away from its default.What moved:
src/actions/setting_ask.tsis deleted.src/web/studio/asks.tsloses thesettingdecision kind (inDecisionKind,ASK_WORDS,KIND_TIERandROW_PLURAL), plussettingFindings, its form and buttons, and its branch inendOf.src/web/studio/asks_page.tslosesasksSettingand the "Setting away" label, and the route is gone fromsrc/http/server.ts.src/core/waiting_for.tsdrops thesettingkind.src/tui/screens/dashboard.tsdrops the setting row, the K/B bindings andanswerHere. B now only brings back waves you put aside.src/crew/sentinel.tsdropsrecordKept.Not done yet: the issue waits on no open
setting:finding being left, and #2505 is still open. SoisSettingFindingstays, to keep #2505 off the crew's ready list.closeSettingFindingsalso stays, so the sentinel's next pass still closes #2505.sentinel_keptis no longer read or written, but it isn't dropped. ADROP TABLEis not additive, and the old process keeps serving the same database while a release rolls in (releases.json). Those leftovers are #3488, which waits on #2505.One side effect: an ask-ledger row still open for
setting:checks.shardsnow ends as "acted" rather than "expired", once.Tests: In
test/asks.test.tsandtest/tui-onyou.test.ts, the tests that checked Keep / Put back were testing removed behaviour. I replaced them with one test each:POST /asks/settinganswers 404 with the setting unchanged.The README paragraph on legacy setting findings now says what is left.
The type check is clean. The affected suites pass: asks, tui-onyou, sentinel, crew-held, crew-direction-autonomy, schema-additive, asks-rank, asks-expiry, decider and home.
To try it: as an admin, set a capacity setting away from its default and plant a
setting:row insentinel_findingfor an open issue./asksshows no card, and/settings/capacityshows the "changed from" line with Put back.🤖 Generated with Claude Code
Closes #3314