You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file tracks all files modified from the original gstack repository for OpenCode
compatibility. Use it as the conflict-resolution guide when syncing upstream changes.
Path Changes
All references to ~/.claude/skills/gstack/ have been changed to
~/.config/opencode/skills/gstack/.
Replaces upstream CLAUDE.md. Added OpenCode skill discovery paths, fixed /debug → /investigate, added /codex to table, added OpenCode-specific notes. Must be kept in sync with upstream CLAUDE.md on every merge.
bin/dev-setup
Original preserved; created bin/dev-setup-opencode with OpenCode paths
bin/dev-teardown
Original preserved; created bin/dev-teardown-opencode with OpenCode paths
setup
Added opencode as a valid --host value (alias for claude mode, same install path)
New Files (Adapter-Specific)
File
Purpose
README.md
Replaced with OpenCode-specific installation and usage guide
gstack-version.txt
Pinned upstream gstack version
MODIFIED_FILES.md
This file — tracks modifications for upstream syncing
bin/dev-setup-opencode
Development setup script for OpenCode
bin/dev-teardown-opencode
Development teardown script for OpenCode
Upstream Sync Procedure
Before syncing: commit or stash any local adapter changes
Run ./scripts/sync-upstream.sh which does:
git fetch upstream
git merge upstream/main (not rebase — preserves history)
Resolve conflicts using this file as a reference:
Files in the "Modified Files" table are expected to conflict — resolve by
re-applying adapter patches
Pay special attention to AGENTS.md: it replaces upstream CLAUDE.md.
If upstream adds instructions to CLAUDE.md, mirror those changes into AGENTS.md.
Files NOT in this table should merge cleanly — if they conflict, investigate
If merge breaks the adapter: git merge --abort to restore pre-sync state
Run the full test suite after every sync to verify nothing broke