Skip to content

fix: isolate Symphony GitHub token - #88

Draft
dapi wants to merge 3 commits into
mainfrom
agent/use-dedicated-symphony-token
Draft

fix: isolate Symphony GitHub token#88
dapi wants to merge 3 commits into
mainfrom
agent/use-dedicated-symphony-token

Conversation

@dapi

@dapi dapi commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • pass Symphony tracker auth as SYMPHONY_GITHUB_TOKEN instead of GITHUB_TOKEN
  • configure the GitHub tracker to read that dedicated variable
  • document the separation from agent gh authentication

Why

Exporting GITHUB_TOKEN caused gh to prefer Symphony tracker credentials, which may not have pull-request write permission.

Verification

  • bash -n template/.envrc
  • environment contract test: GITHUB_TOKEN remains unset and SYMPHONY_GITHUB_TOKEN is set
  • memory-bank-cli lint --scope-root template/memory-bank --entrypoint template/memory-bank/README.md
  • memory-bank-cli doctor --profile template
  • git diff --check

@dapi dapi left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Симфони не должна ничего знать про .env* файлы, пользователь должен сам позаботиться об установке переменных окурежния

`gh` CLI for GitHub reads and updates.
- Provide a GitHub token for Symphony's tracker as `SYMPHONY_GITHUB_TOKEN`.
If it is absent, `.envrc` uses `gh auth token` for the tracker. The agent
continues to use its authenticated `gh` CLI for GitHub reads and updates.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Убери эти исправления. Симфони не должна ничего знать про .env* файлы, пользователь должен сам позаботиться об установке переменных окурежния

It expects the GitHub token at `pass:github/homebrew-token`. If the local
password-store layout differs, change only the ignored `.env.local`; never add
the literal token to a tracked file.
Set `SYMPHONY_GITHUB_TOKEN` in the ignored `.env.local`; never add the literal

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Симфони не должна ничего знать про .env* файлы, пользователь должен сам позаботиться об установке переменных окурежния

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