Skip to content

Commit 9a5815e

Browse files
cursoragentpRizz
andcommitted
docs(planning): normalize legacy image references to sandbox registry naming
Co-authored-by: Peter Ryszkiewicz <pRizz@users.noreply.github.com>
1 parent bc4de2d commit 9a5815e

9 files changed

Lines changed: 15 additions & 15 deletions

File tree

.planning/phases/02-docker-integration/02-01-PLAN.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,14 @@ DockerClient connects to Docker daemon with clear error messages when Docker is
170170
Create dockerfile.rs with the Dockerfile content as a const string based on 02-CONTEXT.md decisions.
171171

172172
```rust
173-
/// The Dockerfile for building the opencode-cloud container image
173+
/// The Dockerfile for building the opencode-cloud-sandbox container image
174174
pub const DOCKERFILE: &str = include_str!("Dockerfile");
175175

176-
/// Docker image name for GHCR (primary)
177-
pub const IMAGE_NAME_GHCR: &str = "ghcr.io/prizz/opencode-cloud";
176+
/// Docker image name for Docker Hub (primary)
177+
pub const IMAGE_NAME_DOCKERHUB: &str = "prizz/opencode-cloud-sandbox";
178178

179-
/// Docker image name for Docker Hub (fallback)
180-
pub const IMAGE_NAME_DOCKERHUB: &str = "prizz/opencode-cloud";
179+
/// Docker image name for GHCR (fallback mirror)
180+
pub const IMAGE_NAME_GHCR: &str = "ghcr.io/prizz/opencode-cloud-sandbox";
181181

182182
/// Default image tag
183183
pub const IMAGE_TAG_DEFAULT: &str = "latest";

.planning/phases/02-docker-integration/02-CONTEXT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ CLI can build/pull custom opencode image and manage container lifecycle. This ph
135135

136136
**Registry & Naming:**
137137
- Host on: Both GHCR and Docker Hub
138-
- Image name: `ghcr.io/prizz/opencode-cloud`
139-
- Registry priority: Both equal, user's choice
140-
- Fallback: Automatic failover (GHCR → Docker Hub)
138+
- Image name: `prizz/opencode-cloud-sandbox` (Docker Hub primary), mirror `ghcr.io/prizz/opencode-cloud-sandbox`
139+
- Registry priority: Docker Hub primary
140+
- Fallback: Automatic failover (Docker Hub → GHCR)
141141

142142
**Tagging Strategy:**
143143
- Tags: Semver + major + minor + latest + git SHA

.planning/phases/02-docker-integration/02-RESEARCH.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ pub async fn create_container_with_volumes(
187187
};
188188

189189
let config = Config {
190-
image: Some("ghcr.io/prizz/opencode-cloud:latest"),
190+
image: Some("prizz/opencode-cloud-sandbox:latest"),
191191
host_config: Some(host_config),
192192
..Default::default()
193193
};

.planning/phases/14-versioning-and-release-automation/14-CONTEXT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,6 @@ Workflow extracts version from git tag (strips `release/v` prefix).
132132

133133
Use Docker API to read labels from local image:
134134
```rust
135-
let inspect = docker.inspect_image("opencode-cloud:latest").await?;
135+
let inspect = docker.inspect_image("prizz/opencode-cloud-sandbox:latest").await?;
136136
let version = inspect.config.labels.get("org.opencode-cloud.version");
137137
```

.planning/phases/15-prebuilt-image-option/15-03-PLAN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ Image src: built from source
536536
- Wizard saves choice to config.image_source
537537
- `occ update` pulls if image_source=prebuilt, builds if image_source=build
538538
- Update shows informational message about which method is being used
539-
- `occ status` shows "Image src: prebuilt from ghcr.io" or "Image src: built from source"
539+
- `occ status` shows "Image src: prebuilt from docker.io" or "Image src: built from source"
540540
- All existing functionality continues to work
541541
</success_criteria>
542542

.planning/phases/15-prebuilt-image-option/15-03-SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ completed: 2026-01-24
5757
## Accomplishments
5858
- Setup wizard asks user whether to pull prebuilt image (~2 min) or build from source (30-60 min)
5959
- Update command branches to build_image or pull_image based on config.image_source setting
60-
- Status command shows "Image src: prebuilt from ghcr.io" or "Image src: built from source" when state file exists
60+
- Status command shows "Image src: prebuilt from docker.io" or "Image src: built from source" when state file exists
6161

6262
## Task Commits
6363

.planning/phases/15-prebuilt-image-option/15-CONTEXT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Give users the choice between pulling a prebuilt Docker image (fast, ~2 min) or
5353
- If user declines update: warn once per terminal session, then silent. Include instruction for how to update later.
5454
- For dev builds (no prebuilt available): default to latest prebuilt image version
5555
- Always warn when using mismatched versions (e.g., "Using prebuilt v1.0.12 (CLI is v1.0.13-dev)")
56-
- `occ status` shows image source: "Image: v1.0.12 (prebuilt from ghcr.io)" or "Image: v1.0.12 (built from source)"
56+
- `occ status` shows image source: "Image: v1.0.12 (prebuilt from docker.io)" or "Image: v1.0.12 (built from source)"
5757
- Store and display which registry the image was pulled from
5858

5959
### Claude's Discretion

.planning/phases/15-prebuilt-image-option/15-RESEARCH.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Currently shows:
134134

135135
**Enhancement needed:** Show image provenance:
136136
```
137-
Image: v1.0.12 (prebuilt from ghcr.io)
137+
Image: v1.0.12 (prebuilt from docker.io)
138138
```
139139
or
140140
```

.planning/phases/15-prebuilt-image-option/15-UAT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ expected: With `image_source=prebuilt` in config, `just run update` should pull
3939
result: pass
4040

4141
### 7. Status shows image provenance
42-
expected: When image-state.json exists, `just run status` should show "Image src: prebuilt from ghcr.io" (or "built from source")
42+
expected: When image-state.json exists, `just run status` should show "Image src: prebuilt from docker.io" (or "built from source")
4343
result: pass
4444
note: Verified by creating test state file - works correctly when state exists
4545

0 commit comments

Comments
 (0)