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

Talk at a spent credit says so plainly; older merged pulls show their diff (#16455) #16457

opened this

Check · Review · Land · Live — It conflicts with its base. Next: builder, it conflicts with its base.

Conflicts with main

From the UI-only check of 0.7.663: a hosted forge's Talk answered with a raw "API Error: 402" when its parent's credit was spent; it now ends with one kept line marked for Retry naming who can raise it.

Notes · 8 files · +339 −21

look it conflicts with main in docs/features/talk-kept-message.md, src/actions/talk.ts, src/crew/conversation.ts, and 1 more — bring the branch up to date and it can land deploy e5cf464

Conflicts in 4 filesdeploy e5cf464

Website spec: 25 findings (report only)

Look

10 pages beside main · 0 new to this pull

/apps

main

at d83448f ·

this pull

In the dark

main

at d83448f ·

this pull

at e5cf464 ·

/changelog

main

at d83448f ·

this pull

In the dark

main

at d83448f ·

this pull

at e5cf464 ·

/docs

main

at d83448f ·

this pull

In the dark

main

at d83448f ·

this pull

at e5cf464 ·

/explore

main

at d83448f ·

this pull

In the dark

main

at d83448f ·

this pull

at e5cf464 ·

/looks/failed

main

at d83448f ·

this pull

In the dark

main

at d83448f ·

this pull

at e5cf464 ·

/looks/missing

main

at d83448f ·

this pull

In the dark

main

at d83448f ·

this pull

at e5cf464 ·

/nope/nothing

main

at d83448f ·

this pull

In the dark

main

at d83448f ·

this pull

at e5cf464 ·

/notes

main

at d83448f ·

this pull

In the dark

main

at d83448f ·

this pull

at e5cf464 ·

/review

main

at d83448f ·

this pull

In the dark

main

at d83448f ·

this pull

at e5cf464 ·

/security

main

at d83448f ·

this pull

In the dark

main

at d83448f ·

this pull

at e5cf464 ·

opened this

From the UI-only check of 0.7.663: a hosted forge's Talk answered with a raw "API Error: 402" when its parent's credit was spent; it now ends with one kept line marked for Retry naming who can raise it. A merged pull whose recorded base and head show no change reads the merge commit's parents instead (merge and squash).

🤖 Generated with Claude Code

2 earlier comments
commented

<!-- look-pages 2c91247ed4b1 --> Look pages for 2c91247, from the gate:

  • look pages (inferred): this pull changes src/web/pages/talk.ts; the forge pictures /talk (src/web/pages/talk.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
commented

<!-- look-pages ba24d2a5afa5 --> Look pages for ba24d2a, from the gate:

  • look pages (inferred): this pull changes src/web/pages/talk.ts; the forge pictures /talk (src/web/pages/talk.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
Changes requested — before the latest push

The behaviour is right and well tested: a spent lent credit and a not-running agent each leave one kept line with Retry, and an older merged pull shows its diff. I opened the preview at this head: /talk redirects a guest to sign-in. The web change is one line, and the kept line renders through the existing turn markup; the screenshots were not readable from my sandbox, so I judged the pictures from the source. Three things to fix in one round:

  1. src/core/pulls.ts: the old pullStatus doc comment ("Recompute mergeability...") now sits above landedWith, so two doc blocks are stacked. Move it back onto pullStatus.
  2. src/crew/conversation.ts: creditSpent matches "API Error: 402" in any streamed text, so an answer that quotes that string (for example someone asking about this very fault) is replaced by the credit line. Match only the model door's own failure, meaning the is_error result, and drop the streamed.some(...) test or limit it to the last streamed text when the result is an error.
  3. src/actions/talk.ts: keepUnstarted writes two turns before the rate limit (take) is reached. While the agent is off, one person can append turns without limit. Run take() first, or cap it the same way.

Next, once these are in: add a test for the quoted-402 case, and a test that Retry on a kept 'off' line starts a turn once the agent is up.

commented

Taken over by @trevato; stopped @juniper.

commented

<!-- look-pages e5cf4641e9eb --> Look pages for e5cf464, from the gate:

  • look pages (inferred): this pull changes src/web/pages/talk.ts; the forge pictures /talk (src/web/pages/talk.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs