6.0 KiB
Start FrameBridge with a coding assistant
This is a setup and verification workflow for an assistant that already has authorized shell access to the target Linux computer. A person can run the same commands by hand. For first setup, the owner uses that computer's normal terminal and completes the ChatGPT browser approval.
The currently tested connection is the manual ChatGPT workflow. A coding assistant can help prepare it through the CLI; this document does not claim drop-in integration with every AI client.
Before handing over
Give the assistant the computer you want to work on, the intended task, and the local path of the reviewed matching package. Use the README's package matrix. If this is a pilot beside an existing installation, identify a new isolated --state-dir and the existing services that must remain running.
Do not put passwords, tunnel IDs, server access keys or browser codes in the prompt. The owner will enter them in the local hidden prompts. An MCP server access key is not an OpenAI API key.
Copy this into your assistant
Help me install and verify FrameBridge on this Linux computer.
Target computer: [the computer to which you already have authorized shell access]
Reviewed package: [absolute local path to the matching FrameBridge .deb]
Scope: [new installation, or the specifically authorized pilot/profile]
First establish where you are running. Inspect the distribution/version,
architecture and system Python. Match them to the package's release profile.
Read the project's README and the installed versioned help where available.
Reuse FrameBridge's existing CLI and package; do not invent a replacement
transport or rewrite the application to complete setup.
Use my existing task authorization. Complete the authorized preparatory work
before asking for information or a decision that is actually missing.
Before package installation:
- Check the exact reviewed file's identity, version and architecture. Verify
an official release through its signature/trusted key. An unsigned candidate
must remain labelled a candidate; a checksum is not a release signature.
- Inspect the actual package-manager plan. Record package versions and relevant
desktop selections before changes. Explain an unexpected upgrade/removal or
desktop change rather than approving a different plan silently.
- For a pilot, keep the existing connection and service processes available.
Use the agreed isolated state directory; do not guess an existing profile.
Treat optional virtual-display prerequisites as optional: install them only
when a virtual desktop is part of my task.
Install the matching local .deb through APT in the owner's normal terminal.
If OS authentication is required, show the exact action and target terminal
once and let me type there. Keep that terminal available until post-install
verification and any required correction have finished. Never ask me to paste
credentials into chat, command arguments, environment variables or a log.
Do not weaken a service's restrictions or grant permanent passwordless root
as a workaround for a restricted execution channel.
Run fb connect interactively in that same normal terminal when connection is
part of the authorized scope. I will supply the hidden connection details and
complete the browser sign-in/approval. Installing a package or setting an
account label is not evidence that ChatGPT is connected.
For programmatic observation, use fb --json status and fb help commands --json.
JSON mode never prompts. If it returns INTERACTION_REQUIRED, use the stated
normal-terminal action; do not send a secret to a noninteractive tool.
Verify installed files, the selected release profile, fb status and fb doctor.
When connected, read FrameBridge's registered help tool before choosing a
small authorized terminal task. Prove a persistent Bash session by keeping
its session ID and checking a variable/working directory in later calls.
Close only the test session and test service you created.
If desktop access is in scope, first identify the actual X11 session and use
a new test window. A virtual display must be described as virtual. Terminal
text is not a screen capture, and a VM's desktop is not the owner's physical
display. Do not claim a screenshot or successful input unless it was observed.
Check actual command exit codes and operation results. An outer tool wrapper's
success flag is not proof that its inner command succeeded. Distinguish local
tool readiness, real connection state, boot policy and saved material.
Finish by comparing the relevant before/after package and desktop state,
confirming original service processes are still running where required, and
giving me a short result: exact version/profile, tests passed, what remains
unproved, and the commands to pause or remove this installation.
The same short route without an assistant
After verifying and installing the matching .deb:
fb connect
fb status
fb doctor
fb console
Normal first connection needs no separate fb setup or fb service start. Advanced roles, enrollment, startup policy and credential management are documented in fb help commands.
Keep undo specific
fb disconnectpauses the connection until the next explicit connect, including after reboot; local tools and saved material remain.fb service stopstops current managed services without changing future startup policy.fb service boot disablechanges future startup policy without stopping the current stack or forgetting its saved credential.sudo dpkg --remove framebridge-original-expandedremoves the package without automatically removing dependencies. User profiles may remain, and administrative helper grants are revoked. An interactive reconnect can be needed after reinstalling.
Forgetting credentials is a separate destructive operation in the installed guide. Do not use it as routine cleanup or present package removal as a whole-machine restore. For a pilot, retain the original inventory and the exact profile path so the owner can distinguish the test installation from other work.