Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions docs/symphony-github-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ explicitly request rework after review.
- Install Git, and configure SSH access that can push to
`git@github.com:dapi/memory-bank.git`.
- Install and authorize `direnv` for this repository's `.envrc`.
- Create a GitHub token with access to this repository's issues and pull
requests. Symphony uses it to poll the tracker; the agent uses its authenticated
`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* файлы, пользователь должен сам позаботиться об установке переменных окурежния

- Install `mise`; the bootstrap script installs the required Elixir/Erlang
versions.

Expand All @@ -45,9 +45,8 @@ cp .env.local.example .env.local
direnv allow
```

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* файлы, пользователь должен сам позаботиться об установке переменных окурежния

token to a tracked file.

## Run

Expand Down
6 changes: 5 additions & 1 deletion template/.envrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ set -a
test -f .env.local && . .env.local
set +a

export GITHUB_TOKEN="$(gh auth token)"
if [[ -z "${SYMPHONY_GITHUB_TOKEN:-}" ]]; then
SYMPHONY_GITHUB_TOKEN="$(gh auth token)"
fi

export SYMPHONY_GITHUB_TOKEN

symphony_origin_url="$(git config --get remote.origin.url)"

Expand Down
2 changes: 2 additions & 0 deletions template/WORKFLOW.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
tracker:
kind: github
provider:
token: $SYMPHONY_GITHUB_TOKEN
active_states:
- open
terminal_states:
Expand Down
Loading