Skip to content

fix: let OpenCode target the relay repository - #21

Merged
PANDAJSR merged 1 commit into
masterfrom
fix/opencode-relay-target
Sep 4, 2026
Merged

fix: let OpenCode target the relay repository#21
PANDAJSR merged 1 commit into
masterfrom
fix/opencode-relay-target

Conversation

@PANDAJSR

@PANDAJSR PANDAJSR commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • expose the cross-repository token to OpenCode as GH_TOKEN
  • include the private SECTL/secagent-official-relay repository in the allowlist when accessible
  • allow the agent to target explicitly named associated SECTL service repositories instead of requiring SecAgent in the name

Root cause

The workflow's repository discovery filtered on names containing SecAgent, so it could never include the private relay repository. In addition, the agent prompt restricted cross-repository work to that naming pattern. The cross-repository token was available to the workflow but was not enough to make the relay an allowed target.

Validation

  • SECTL_SECAGENT_GITHUB_TOKEN is configured on SECTL/SecAgent
  • the token can access SECTL/secagent-official-relay
  • workflow YAML parsed successfully
  • git diff --check passed

@PANDAJSR
PANDAJSR merged commit 1e232e2 into master Sep 4, 2026
3 checks passed
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