Skip to content

Commit fc58e8b

Browse files
pRizzclaude
andcommitted
docs: add submodule Dockerfile sync rule to CLAUDE.md and AGENTS.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent aecb52a commit fc58e8b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ The `scripts/set-all-versions.sh` script handles version updates automatically.
7171
- For pushes in the `opencode-cloud` superproject, default to `main` unless explicitly requested otherwise:
7272
- Rebase pull from `main` first (for example: `git pull --rebase origin main`).
7373
- Then push to `main`.
74+
- After committing and pushing changes in the `packages/opencode/` submodule, run `just update-opencode-commit` in the superproject to update the Dockerfile's `OPENCODE_COMMIT` pin. Commit and push the resulting Dockerfile change to `main`.
7475

7576
## Working with Git Worktrees and Submodules
7677

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ The `scripts/set-all-versions.sh` script handles version updates automatically.
7171
- For pushes in the `opencode-cloud` superproject, default to `main` unless explicitly requested otherwise:
7272
- Rebase pull from `main` first (for example: `git pull --rebase origin main`).
7373
- Then push to `main`.
74+
- After committing and pushing changes in the `packages/opencode/` submodule, run `just update-opencode-commit` in the superproject to update the Dockerfile's `OPENCODE_COMMIT` pin. Commit and push the resulting Dockerfile change to `main`.
7475

7576
## Working with Git Worktrees and Submodules
7677

0 commit comments

Comments
 (0)