Skip to content

Return controlling state from computer.input and un-gate passing Go specs - #100

Merged
devin-ai-integration[bot] merged 3 commits into
mainfrom
devin/1795522191-go-viewer-controlling
Nov 24, 2026
Merged

devin-ai-integration[bot] merged 3 commits into
mainfrom
devin/1795522191-go-viewer-controlling

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

computer.input returned only {ok: true} while the web client reads state.controlling after a take/back action — so a successful takeover never flipped the viewer status past "实时". Catalog.Input now mirrors views.ts and returns {controlling: view.lease != 0}.

Un-gates four specs verified passing against PERSONA_WEB_SERVER=go locally:

  • computer viewing uses separate tabs and releases control when closed
  • chat keeps sending available while the Bot is working
  • native questions use the shared card and native replies persist
  • Work follows a native turn, opens its record and preserves it after stop and reload

Also brings in the work-records fixture work (from the suspended devin/work-records-go branch): the Go fixture now ships fixture_echo, a gated Pi extension tool, so specs can hold a tool instead of the model request. One correction on top: it is passed via -pi-extension, since serve runs Pi with --no-extensions and files under extensions/ are never discovered.

Remaining gaps get updated notes: the four browser-takeover specs need the takeover page/state/metrics endpoints plus scripted browser tool calls on the Go fixture; shared question and approval cards needs a way to inject an approval request, which the in-memory Go approver does not expose over the wire.

Link to Devin session: https://app.devin.ai/sessions/dd13702c910149ffaa30fc2797fa3b72
Open in Devin Desktop: https://app.devin.ai/desktop/session/dd13702c910149ffaa30fc2797fa3b72?variant=devin
Requested by: @Personed


🟢 Devin Review found nothing to fix · View findings

Devin Review

Personed and others added 2 commits November 24, 2026 11:59
…p during a press

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…pecs

- Catalog.Input now returns {controlling: lease != 0} like views.ts, so
  the web takeover button leaves 'live' and shows 'you are operating'.
- Go fixture gains fixture_echo, a gated Pi extension tool loaded via
  -pi-extension (--no-extensions skips settings.json extensions), so
  steering and tool-failure specs can hold the tool, not the request.
- go-gaps.ts: un-gate 'computer viewing uses separate tabs', 'chat keeps
  sending available', 'native questions use the shared card' and
  'Work follows a native turn' — all verified passing against Go serve.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

An armed gate-tool could be consumed by the model request reporting an
earlier tool's result, deadlocking specs until its release — each gate now
arms one /tool call only.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1795522191-go-viewer-controlling branch from a888e01 to 5f0c6ca Compare November 24, 2026 12:45
@devin-ai-integration
devin-ai-integration Bot merged commit 8c10daa into main Nov 24, 2026
22 checks passed
@devin-ai-integration
devin-ai-integration Bot deleted the devin/1795522191-go-viewer-controlling branch November 24, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant