Repository navigation
Description
Related: #608, which proposes up-front forge readiness detection. This
issue covers the stronger runtime contradiction where Planboard instructions
require GitHub writes from a session that has no usable GitHub path.
Problem
The thread prompt requires multi-step plans to be created and maintained as
GitHub issues using gh. Both authentication and connectivity failed inside
the managed session.
Before reauthentication:
github.com
X Failed to log in to github.com account currentbits (default)
- Active account: true
- The token in default is invalid.
The user then reauthenticated and asked for another attempt. The managed
session still reported the same invalid token. A direct API probe separated
the network failure from the higher-level command:
$ gh api user --jq .login
error connecting to api.github.com
check your internet connection or https://githubstatus.com
Environment details:
gh version 2.97.0 (2026-07-31)
repository: currentbits/solenta
The GitHub connector could search issues and found #608, proving a read route
exists elsewhere in the product. Connector issue creation was nevertheless
rejected with:
MCP tool call requires approval, but approval policy is never
Therefore neither mandated route can write: gh has no network/auth visibility
and the connector has an impossible approval requirement.
Impact
- Agents cannot create or update the Planboard issues the prompt requires.
- Duplicate checks cannot be performed through the required
ghroute. - Reauthenticating in the host is not reflected reliably in the running
session. - Authentication failures and sandbox network denial are conflated, sending
users toward repeated logins that cannot fix connectivity. - Planning work cannot be recorded on the board even after explicit user
approval.
Expected behavior
When Planboard instructions are injected, Solenta must provide one working,
authorized path to the repository:
- allow the sandboxed
ghprocess to reachapi.github.comand see refreshed
credentials; or - expose a first-party issue writer that is usable after an explicit user
request under the active permission policy.
If neither is available, omit the Planboard mandate and show a preflight error
before work begins.
Suggested fix direction
- Extend Source Control settings: probe forge readiness up front, not from stderr after a failure #608's forge preflight to report four states separately: CLI missing,
authentication invalid, network blocked, and ready. - Run the preflight in the same execution environment and sandbox as the agent,
not only in the desktop host. - Refresh or remount
ghcredentials when the user reauthenticates, or clearly
require a new session if credentials are snapshotted. - Allow only the GitHub endpoints needed by configured repository operations
when a Planboard workflow is active. - Make issue creation idempotent by searching exact titles before writes.
Acceptance criteria
- In a managed Planboard session,
gh auth statusidentifies the active
account without exposing tokens. gh issue list, label creation, issue creation, issue editing, and issue
closing work against the bound repository.- Reauthentication becomes visible to the session, or the UI explicitly says
that a new session is required. - A network-denied session reports
network blocked, nottoken invalid. - If
ghis unavailable, an explicitly approved first-party issue writer can
perform the same Planboard operations. - No GitHub access is granted to repositories outside the project selected by
the current thread.
Found while planning live speech-to-text in thread 15ff9829-4446-44ad-92a2-c4e14e991e05 on 2026-09-03. Draft: docs/issue-drafts/2026-09-03-solenta-session-blockers.md.
Activity
currentbits commentedon Sep 3, 2026
Implemented on this branch: when the Planboard note is injected (GitHub origin) and Codex is in
workspace-write, we pass-c sandbox_workspace_write.network_access=trueso sandboxedghcan reachapi.github.com.This is all-network, not a GitHub allowlist — Codex has no domain-scoped
-cwe could use. Plan mode (read-only) is unchanged. Keychain access forghinside the seatbelt was not verified; if that still fails, a first-party Planboard writer (wrappingelectron/issues.js) is the follow-up.See
electron/codexWorkspaceWrite.jsallowNetwork.currentbits commentedon Sep 3, 2026
Follow-up on this thread: Codex 0.152.0 now has
features.network_proxy, so Planboard no longer opens the whole network.When the Planboard mandate is injected and the session is
workspace-write, Solenta now passes:network_access=trueis still the seatbelt gate (the proxy does nothing without it). Tests assert the allowlist form, not blanket network.Codex plan (read-only) cannot reach GitHub, so the prompt degrades to “do not file issues with
gh” instead of mandating the board.danger-full-accessis unchanged.Still open on this issue:
ghkeychain/token visibility inside the seatbelt, and a first-party writer ifghstays unusable.currentbits commentedon Sep 3, 2026
Landed from Solenta thread "Fork: Fix Solenta session blockers: forks, git, Planboard". Closed on merge.