mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 13:53:15 +00:00
The Linear webhook (`process_linear_issue` in `agent/webapp.py`) was the only trigger whose user prompt did not surface the resolved repo to the LLM: - Slack: `## Default Repository Hint` (line 947) - GitHub issue: `## Repository: ...` (`build_github_issue_prompt`, line 1443) - GitHub PR: `## Repository: ...` (`build_github_pr_review_prompt`, line 1526) - Linear: (missing) `configurable["repo"]` was still being set and consumed by `commit_and_open_pr`, but the agent itself never saw it. For tasks routed via Linear team/project mapping, the LLM had to guess which repo to clone — frequently falling back to `langchain-ai/open-swe` (via `SELF_AWARENESS_SECTION` in `agent/prompt.py`) or `langchain-ai/langchainplus` (via `default_prompt.md`), silently targeting the wrong repository. This is a regression: commit |
||
|---|---|---|
| .. | ||
| dashboard | ||
| integrations | ||
| middleware | ||
| skills | ||
| tools | ||
| utils | ||
| analyzer.py | ||
| encryption.py | ||
| prompt.py | ||
| review_style_collector.py | ||
| review_style_guidance.py | ||
| reviewer.py | ||
| reviewer_diff.py | ||
| reviewer_findings.py | ||
| reviewer_publish.py | ||
| reviewer_reconcile.py | ||
| server.py | ||
| webapp.py | ||