Repository navigation
Remove git-init workaround from OpenCode CLI MCP tools harness - #142
Merged
lucky-tensor merged 2 commits intoJul 15, 2026
Merged
lucky-tensor merged 2 commits into
lucky-tensor merged 2 commits into
Conversation
7 tasks done
lucky-tensor
marked this pull request as ready for review
July 15, 2026 12:44
OpenCode 1.16.2 silently emitted only step_start (exit 0, no inference, no MCP calls) when run headless in a non-Git directory, which forced a git install + `git init /app` workaround in the opencode-tools agent image. Empirical matrix in a pinned container showed no 1.16.2 config escape hatch (OPENCODE_CONFIG and snapshot:false both fail; upstream project-detection gap tracked as anomalyco/opencode#15192), while OpenCode 1.18.1 performs inference in a non-Git dir even with the git binary deleted. - Bump pinned OpenCode 1.16.2 -> 1.18.1 with updated sha256 - Drop git from apt install and remove `RUN git init /app` - Drop the workaround marker from agent-probe output and refresh the nightly workflow gotcha comment Verified: full `bun run test:opencode-tools` run against the new image passed (real opencode/big-pickle inference; three scenarios; two independently verified submissions). Closes #131
lucky-tensor
force-pushed
the
feat/131-remove-git-init-workaround-from-opencode-cli-mcp
branch
from
July 15, 2026 12:47
0569596 to
1da5a80
Compare
Contributor
Author
|
Compliance review (verdict: pass) — advisory note: the rebuilt 1.18.1 image has only been proven locally; the first CI execution of the changed harness happens at the next scheduled committee-opencode-nightly run (inherent to the accepted nightly-only convention, not a defect). |
Contributor
Author
|
task-compliance verdict: pass (head |
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.
Closes #131