Point the repo-root install at the Go node - #125
Closed
AbirAbbas wants to merge 1 commit into
Closed
Conversation
The Go node in go/ is the maintained SWE node — same reasoners, same interface, one static binary, and it ships the coding engine. Until now getting it meant knowing to append //go, and anyone who installed this repo earlier stayed on the Python node with no way across. Declare the root manifest superseded by the Go node, so `af install https://github.com/Agent-Field/SWE-AF` installs it and replaces an existing swe-planner. That URL is now the only thing a user has to know, before and after the switch. The Python node is unchanged and still what `python -m swe_af` and the Docker images run; the manifest stays here as the redirect. Requires an `af` that understands superseded_by — older ones simply install the Python node as before. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The Go node in
go/is the maintained SWE node — same reasoners, sameinterface, one static binary, and it ships the coding engine. Until now
getting it meant knowing to append
//go, and anyone who installed this repoearlier stayed on the Python node with no way across.
What
The root manifest declares itself superseded by the Go node:
So this becomes the one thing a user has to know, before and after the switch:
It installs the Go node, and replaces an existing
swe-planner— warningfirst, and carrying that node's secrets across.
The Python node is unchanged and still what
python -m swe_afand the Dockerimages run; this manifest stays as the redirect. To install it deliberately,
clone the repo and install the checkout as a local path.
Requires
superseded_bysupport in agentfield (Agent-Field/agentfield#872). An olderafignores the key and installs the Python node exactly as before, so thisis safe to land in either order.
Verified end to end
Against a real repo containing this manifest and the
go/node with itsbundled engine binary:
af install <repo url>warns, then installsswe-planner-go— the Go node,engine binary present at
0755with a matching checksum//goselector, so the next update stays onthe Go node instead of reverting to Python
swe-plannerinstalled: warned, replaced, its node-scopedsecret moved to the successor, old registry entry and directory removed,
global secrets untouched
OPENROUTER_API_KEY: the node registered its 31reasoners, the harness ran
opencode … -m openrouter/deepseek/deepseek-v4-flash,and the bundled engine stayed off (it is opt-in via
SWE_PRO_ENGINE)implement_issueand it succeeded, delivering a branch with therequested function plus a passing pytest test
🤖 Generated with Claude Code