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

Talk says what the access wall asks, and the person answers it there: Allow it or Send it back #16393

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The owner's counter app (2026-11-25): its first pull opened counter records to anyone signed out, the access wall held it for a person, and Talk said only "cheffry-james pushed #2, which is ready: waiting for you to land it".

Notes

shipped production is serving it deploy 3fede26

opened this

The owner's counter app (2026-11-25): its first pull opened counter records to anyone signed out, the access wall held it for a person, and Talk said only "cheffry-james pushed #2, which is ready: waiting for you to land it". The wall stays as it is, and so does what the crew builds; what it asks is now said where the person is.

  • The receipt's work line (workLineFor, core/talk_work.ts): a pull the wall holds on its head says "<who> pushed #2. The access wall holds it for you to decide: anyone signed out could read counter records; …", and to someone who may answer it offers "Allow it" and "Send it back", each a link to the pull page's wall card (#wall, web/studio/change.ts). A reader who may not answer reads the reason and no answer.
  • One implementation of the answer, answerWall (actions/pulls.ts): allow is the page's merge (mergePull), send back its request for changes (submitReview), so the page's gates stand as they do there.
  • Talk: the wall tool { repo, number, answer: allow|send_back, why? } is asked first, always, and its held confirm is drawn in the wall's own words, read from the forge (heldSays, http/mcp/shared.ts): "Allow it and merge pull #2 in owner/counter: anyone signed out could read counter records; …". A person answers, never an agent.
  • The terminal: the receipt's line carries "A: allow it · S: send it back" and the page's address; A and S answer after a confirm (tui/screens/talk_chats.ts).
  • The agent's reply: a tell's status (tellStatusFields) names the wall and its words (wall), and the brief tells the agent to say what the pull opens and that it is the person's to allow, and to offer wall; never that it only waits to be landed.

test/talk-wall-says.test.ts: the line's words and its two links for the owner, the reason and no links for a reader, and the card's id="wall"; the tell status's words; a held confirm in the wall's words that lands nothing; send back through a person's token is a request for changes on the head; the terminal's A confirms in the wall's words and the pull lands. test/conversation-ask, mcp-talk-tools and mcp-forge-protocol know wall.

Try: on a preview, ask Talk to build an app whose data anyone may read: the receipt says what the pull opens and offers Allow it and Send it back; ask Talk "allow it" and the confirm reads the wall's words; in the terminal, A and S answer it Looks: /talk No door: the terminal answers the wall on the Talk screen it already has (A and S in src/tui/screens/talk_chats.ts), and the pull screen keeps its w; the how-to is the brief line and the wall card it links Replaces: nothing; the wall's question was only on the pull's page Direction: the owner's counter app stalled at the wall with no word of why (Talk first, #10262), ahead of #6534

Co-Authored-By: Claude Fable 5 <[email protected]>

--- Found on production 0.7.655, 2026-11-25 (repo trevato/counter, pull #2): the access wall held the crew's pull because it opened counter records to anyone signed out, and Talk said only "waiting for you to land it". The wall is unchanged; this makes Talk say its question and lets the person answer it. One commit.

For the reviewer, since this adds a way to merge past the access wall from Talk: please check that wall is held on every call (never only after a hostile read), that its confirm sentence comes from the forge and not from the agent's arguments, that crew agents and non-writers are refused, and that "Allow it" goes through the same mergePull the page uses.

🤖 Generated with Claude Code

4 earlier comments · 1 event
commented

<!-- look-pages 7ee15ac0785c --> Look pages for 7ee15ac, from the gate:

  • look pages (named): this pull changes src/web/studio/change.ts, src/web/talk_peek.ts; a commit names /talk
commented

<!-- look-pages 217c75aa35d0 --> Look pages for 217c75a, from the gate:

  • look pages (named): this pull changes src/web/studio/change.ts, src/web/talk_peek.ts; a commit names /talk
Changes requested — before the latest push

Changes needed, in one round:

  1. HIGH, security: wall's heldSays reads the pull and its wall words with no read check on the repo. A person who names a private repo/number gets that pull's wall words in the confirm card the forge draws. Check canRead (or reuse repoArg) before reading, and return undefined when it fails.
  2. Both doors: there is no docs/features/<name>.md for answering the access wall from Talk and the terminal. Add it. Do not put it in README.md.
  3. Tests. The test named "a person's token answers ... an agent never" never tries an agent. Add these cases that would fail without the change: an agent user is refused, a reader without write access is refused, no_wall on a pull with no hold, and Allow through the MCP tool merging after the confirm. Also add a test that heldSays does not leak for an unreadable repo.
  4. The issue asks that the person answers it in Talk. On the web the receipt only links "Allow it" and "Send it back" to the pull page, and both links go to the same #wall href. Either answer in Talk's page (post forms, same-origin checked, working without JavaScript), or say in the pull why the link is enough.
  5. Layering: src/http/mcp/tools/wall.ts imports mergeFailure from web/pages/pull.ts. Move the failure wording to a neutral module.
  6. answerWall hard-codes the "squash" merge. Use the same method the page's Merge uses.

Design principle 1: the receipt now says the reason and then two identical links, so it says the same thing twice. Keep one sentence and distinct, real controls.

commented

Steward note: new head b889210a answering the review. (1) HIGH: heldSays reads only when canRead(repo, user) and mayView(pull), else returns nothing and the confirm uses the plain form; a test shows carol's confirm for a private alice/ledger carries none of its words, and fails without the check. (2) How-to: docs/features/talk-wall.md. (3) Tests: an agent refused, a reader refused, "nothing to answer" on a pull with no hold, Allow through the MCP tool merging after the confirm. (4) The line says it once, with two real POST forms to /talk/wall (same-origin checked, no JavaScript needed). (5) The failure wording moved to actions/pull_words.ts for every importer. (6) answerWall uses the page's merge method; the wall card's own Allow now uses it too, so every door lands the same way.

commented

<!-- look-pages b889210a7c51 --> Look pages for b889210, from the gate:

  • look pages (named): this pull changes src/web/pages/issues.ts, src/web/pages/pull.ts, src/web/pages/talk.ts; a commit names /talk
commented

<!-- look-pages ee01f8d542d9 --> Look pages for ee01f8d, from the gate:

  • look pages (named): this pull changes src/web/pages/issues.ts, src/web/pages/pull.ts, src/web/pages/talk.ts; a commit names /talk
Approved

Earlier asks, all met. (1) The high one is closed: the wall tool's heldSays reads only when canRead and mayView pass, and a test covers a private repo. (2) The how-to is in docs/features/talk-wall.md, not the README. (3) The tests are added. (4) The line says it once, with two real POST forms to /talk/wall. (5) The failure wording now sits in actions/merge_words.ts. (6) Every door goes through answerWall and lands with the same merge method.

I read the new lines for security. POST /talk/wall checks sign-in and same origin through readForm("rw"). It answers not found for a repo the person cannot read, then answerWall goes through mergePull and submitReview, so the usual gates hold. The agent cannot answer, and the answer is held as a confirm in the wall's own words. The terminal has A and S after a confirm. Output is escaped.

Non-blocking:

  • talkWall checks canRead but not mayView for a sealed pull. The MCP tool checks both. Add mayView there for symmetry.
  • Stray blank lines are left where imports moved: src/http/mcp/tools/{labels,merge,reports,review}.ts, src/tui/screens/landasis.ts, src/web/studio/{review_act,toolbar}.ts, a double blank in pages/pull.ts and pages/thread.ts, and test/crew-draft.test.ts.
  • The wallFailure lines in actions/merge_words.ts are over-long. Run bun scripts/gate.ts --fix.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs