carlos / platform Public

docs: the promote recipe ships, promotes and tests one version

Fixes the #1389 recipe: ship an explicit version, promote it on staging
before testing, and correct the manifest and signing wording.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 11dadfe5867861a48d3c4f4b7bf23381196a04bd parent af7db08
1 file changed, +11 −7
  • docs/site/cli.md +11 −7

CI cancelled — superseded by a newer push — run details

CI log
=== gate ===
go: downloading go1.26.10 (linux/arm64)
go version go1.26.10 linux/arm64
opentofu: arm64, tofu 1.13.9, aws 6.73.0, archive 2.8.1
  tofu: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/tofu_1.13.9_linux_arm64.tar.gz
  tofu: downloaded, digest verified
  aws: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-aws_6.73.0_linux_arm64.zip
  aws: downloaded, digest verified
  archive: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-archive_2.8.1_linux_arm64.zip
  archive: downloaded, digest verified
  installed in /tmp/carlos-opentofu-DaiFkx
.amadan/test-gate.sh
go: downloading github.com/aws/aws-sdk-go-v2 v1.44.0
go: downloading github.com/aws/aws-sdk-go-v2/service/costexplorer v1.67.5
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0
go: downloading github.com/aws/smithy-go v1.28.1
go: downloading github.com/benbjohnson/litestream v0.5.14
go: downloading github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.68.0
go: downloading github.com/superfly/ltx v0.5.1
go: downloading golang.org/x/net v0.62.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/aws/aws-sdk-go-v2/service/sns v1.43.0
go: downloading github.com/aws/aws-sdk-go-v2/service/acm v1.45.0
go: downloading github.com/aws/aws-sdk-go-v2/service/iam v1.58.2
go: downloading github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.37.0
go: downloading github.com/aws/aws-sdk-go-v2/service/route53 v1.64.1
go: downloading github.com/aws/aws-sdk-go-v2/service/ec2 v1.324.0
go: downloading golang.org/x/crypto v0.58.0
go: downloading golang.org/x/sys v0.49.0
go: downloading github.com/pion/logging v0.2.4
go: downloading github.com/pion/stun/v3 v3.1.5
go: downloading github.com/pion/turn/v4 v4.1.4
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/wlynxg/anet v0.0.5
go: downloading golang.org/x/text v0.43.0
go: downloading github.com/pion/randutil v0.1.0
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.20.18
go: downloading github.com/lmittmann/tint v1.1.3
go: downloading github.com/prometheus/common v0.45.0
go: downloading google.golang.org/protobuf v1.36.10
go: downloading github.com/prometheus/client_model v0.5.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/klauspost/compress v1.20.2
go: downloading modernc.org/sqlite v1.55.0
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/memory v1.11.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/google/uuid v1.6.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading modernc.org/memory v1.11.0

amadan: job cancelled — a newer push superseded it

Intent

Human

<task-notification> <task-id>ac2cc0d9be424abf6</task-id> <tool-use-id>toolu_01Hba5c4AzBFzWrS2RvcmBUW</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/a88005ac-72e4-481c-884f-581940b8c2c5/tasks/ac2cc0d9be424abf6.output</output-file> <status>completed</status> <summary>Agent "Implement Task 5: docs" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>Status: DONE Commit: af7db08f `docs: promote a tested release from staging to production`. The commit landed and the tree is clean. Git printed a `packed-refs.lock` "File exists" error during the commit. I didn't investigate it. Tests: `go test ./internal/docsite -count=1` printed `ok`. Changes: - `docs/site/cli.md` has a new `#### Staging tests X, production promotes X` section after "Deploying one checkout to several places". - `docs/site/stateless-replicas.md`: the first sentence under `## Deploys` now says the release command runs "once per instance, not once per copy". Concerns: I assumed a deploy credential can run `carlos releases pull`, as the brief implies. I didn't check that against the console role code. Report: `/home/paulca/amadan.net/carlos/platform/.claude/worktrees/release-copy-across-consoles/.superpowers/sdd/2026-11-25-release-copy-across-consoles/task-5-report.md`</result> <usage><subagent_tokens>46277</subagent_tokens><tool_uses>7</tool_uses><duration_ms>44156</duration_ms></usage> </task-notification>

Human

<task-notification> <task-id>bahct2fy1</task-id> <tool-use-id>toolu_01YDZVYMfu28F4XfprdiRtEE</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/a88005ac-72e4-481c-884f-581940b8c2c5/tasks/bahct2fy1.output</output-file> <status>completed</status> <summary>Background command "W=$PWD/.superpowers/sdd/2026-11-25-release-copy-across-consoles &amp;&amp; bash /home/paulca/.paseo/zerosub/homes/claude-37fe90ef3f56/plugins/cache/claude-plugins-official/superpowers/7.0.2/skills/subagent-driven-development/scripts/review-package docs/superpowers/plans/2026-11-25-release-copy-across-consoles.md 429e6636 HEAD | tail -1 &amp;&amp; git push -q 2&gt;&amp;1|tail -1; $W/astra-review.sh "Task 5" $W/task-5-brief.md $W/task-5-report.md $W/review-429e6636..af7db08f.diff $W/task-5-review-r1.md &gt; $W/task-5-review-r1.log 2&gt;&amp;1; echo exit=$?; sed -n '/### Issues/,$p' $W/task-5-review-r1.md" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 5.53 g CO₂e (683,691 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on release-copy-across-consoles, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/docs/site/cli.md b/docs/site/cli.md
index 168387ca3..55f7a0826 100644
--- a/docs/site/cli.md
+++ b/docs/site/cli.md
@@ -624,13 +624,16 @@ To run in production the exact build that staging tested, copy the release
from one console to the other instead of building it twice. Use two CI jobs,
each with its own deploy credential (`CARLOS_SERVICE_TOKEN`) for `shop`.
-Job 1 runs against the staging console. It ships, runs your tests, then
-pulls the release into a directory and keeps that directory as a CI artifact:
+Job 1 runs against the staging console. It ships a named version, promotes
+it so staging serves it, and runs your tests once staging serves that
+version. Then it pulls the release into a directory and keeps that
+directory as a CI artifact:
```sh
export CARLOS_CONSOLE=https://staging.example.com
-carlos ship ./bin/server --app shop
-# run your tests against staging here
+carlos ship --app shop --version v12 ./bin/server
+carlos promote --app shop v12 edge
+# run your tests against staging once it serves v12
carlos releases pull v12 --app shop --out release
```
@@ -643,9 +646,10 @@ carlos ship --from-release release --app shop
carlos promote --app shop v12 edge
```
-The bytes are identical on both consoles. Each console writes and signs its
-own manifest, and production refuses any file whose digest differs from the
-release's, storing nothing. A deploy credential can promote to `canary`,
+The files are byte-identical on both consoles, though the manifests differ:
+each console writes its own manifest and signs its own channel pointers.
+Production refuses any file whose digest differs from the release's, and
+stores nothing. A deploy credential can promote to `canary`,
`edge` and `beta`, but not `stable`.
### carlos canary