oficina / base Public

Spec: apps go live, revision 3 header and summary

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev ce40c3507f2f5762cc1c6a653c8331b7d7f8d366 parent 70e7a0c
1 file changed, +2 −2
  • docs/superpowers/specs/2026-11-28-apps-go-live-design.md +2 −2

CI passed — run details

CI log
=== build ===
CGO_ENABLED=0 go build ./...
=== vet ===
go vet ./...
=== fmt-check ===
=== staticcheck ===
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./...
=== govulncheck ===
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
No vulnerabilities found.
=== gitleaks ===
11:17PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
11:17PM INF 1 commits scanned.
11:17PM INF scanned ~2914197 bytes (2.91 MB) in 366ms
11:17PM INF no leaks found
=== budget ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 22 directories within budget
=== script-test ===
scripts/prepare-apps_test.sh
ok   releases lookup failure stops before ship
ok   app owned elsewhere stops the script
ok   apps listing failure stops before create
ok   ambiguous release dir is refused
ok   explicit version resolves the ambiguity
ok   releases match is exact, not substring
ok   shipped version is only promoted, existing app not created
ok   fresh account creates, ships, promotes to edge, enables
ok   failing promote stops the script
ok   ship is retried while uploads are rate limited
all passed
hack/fonts_test.sh
fonts_test: ok
=== test ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -count=1 ./...

receipt: test step 10.841s against a 60s target (the gate's other steps are not in this figure)
receipt: 16 packages ran, 0 cached, 6 without tests, 0 failed
receipt: slow package 9.482s amadan.net/oficina/base/internal/webtest
receipt: slow package 952ms amadan.net/oficina/base/internal/issuer
receipt: slow package 732ms amadan.net/oficina/base/internal/operations
receipt: slow package 689ms amadan.net/oficina/base/internal/equipo
receipt: slow package 414ms amadan.net/oficina/base/internal/consumer
receipt: slow test 1.52s amadan.net/oficina/base/internal/webtest TestHomeDoesNotWaitOnAStalledSnapshot
receipt: slow test 1.09s amadan.net/oficina/base/internal/webtest TestAskZoneIsToldOnce
receipt: slow test 620ms amadan.net/oficina/base/internal/issuer TestAuthorizeSignsForInstalledApp
receipt: slow test 620ms amadan.net/oficina/base/internal/webtest TestAskUploadStalledBodyFreesItsSlot
receipt: slow test 520ms amadan.net/oficina/base/internal/equipo TestUploadRefusals
=== native ===
strings: copy review's strings.json is not here (git-ignored); its comparison skipped
strings: 120 in the catalog, 117 used
worktree-lib_test: ok
diff --git a/docs/superpowers/specs/2026-11-28-apps-go-live-design.md b/docs/superpowers/specs/2026-11-28-apps-go-live-design.md
index 4ee11fc..fe905c3 100644
--- a/docs/superpowers/specs/2026-11-28-apps-go-live-design.md
+++ b/docs/superpowers/specs/2026-11-28-apps-go-live-design.md
@@ -1,6 +1,6 @@
# Apps Equipo builds get tested, previewed and put live with an address
-Date: 2026-11-28. Paul approved the direction on 2026-11-28. Design only: nothing here is built, merged or deployed. Revision 2, after Astra's first review (see Review, at the end).
+Date: 2026-11-28. Paul approved the direction on 2026-11-28. Design only: nothing here is built, merged or deployed. Revision 3, after Astra's second review (see Review, at the end).
An addendum to the jobs design (`2026-11-20-jobs-that-keep-moving-design.md`, "jobs spec", K1 to K16) and its plan (`2026-11-25-jobs-that-keep-moving.md`, "jobs plan"), both on Base branch `jobs-rulings` 19e1897. It reads the abilities design (`2026-11-26-assistant-abilities-design.md` revision 8, branch `assistant-abilities` 291b252, "abilities spec") for the `build` and `go_live` gates, and Equipo's places design (`equipo:docs/superpowers/specs/2026-11-26-places-config.md` revision 3 and Paul's rulings of 2026-11-26, "places spec") for where sites go and who holds which CARLOS credential. Code references are to Equipo `origin/main` 57f370c5 (`equipo:`), the CARLOS CLI on docs-t1 (`carlos <verb> -h`), the platform docs (`carlos/platform/docs/site/cli.md`, "cli.md") and the CARLOS app spec (`carlos/spec/spec.md`, "app spec"). Every person-facing string is **DRAFT** and listed in the copy register at the end; none goes into code before copy review.
@@ -19,7 +19,7 @@ Four causes:
## 2. What changes, in one paragraph
-Every repository Equipo creates starts with checks that fit what it holds: build, vet, test and a start-up check for a Go app; link and page checks for a static site. They sit in `.amadan/ci.d` on `main`'s first commit, so the hub runs them on every push and Equipo's Checks step judges each change by them. An approved Go app gets a preview the person can try. It is built and run on the person's own Linux machine in a confined sandbox of its own, with an empty database, no secrets and no network, behind a proxy that sets the same browser protections static previews get, and is shared as a private link. It ends after 24 hours or when the job ends. Going live for an app is one tap, "Put it live", by the task's creator, who must be an owner. It merges the work and then deploys it as a CARLOS app in the confirmed place, one deploy per app at a time, never older over newer. The first deploy creates the app and its address and mints a deploy credential for that app alone; each later change redeploys with that credential. The job stays "Going live" until the deploy is confirmed, then shows the address, and the Assistant's reply says it. When something couldn't be tested or tried, Base says what and why in one plain line.
+Every repository Equipo creates starts with checks that fit what it holds: build, vet, test and a start-up check for a Go app; link and page checks for a static site. They sit in `.amadan/ci.d` on `main`'s first commit, so the hub runs them on every push and Equipo's Checks step judges each change by them. An approved Go app gets a preview the person can try. It is built and run on the person's own Linux machine in a confined sandbox of its own, with an empty database, no secrets and no network, behind a proxy that turns scripts off and keeps every link inside the trial, and is shared as a private link. It ends after 24 hours or when the job ends. Going live for an app is one tap, "Put it live", by the task's creator, who must be an owner. It merges the work and then deploys it as a CARLOS app in the confirmed place, one deploy per app at a time, never older over newer. The first deploy creates the app and its address and mints a deploy credential for that app alone; each later change redeploys with that credential. The job stays "Going live" until the deploy is confirmed, then shows the address, and the Assistant's reply says it. When something couldn't be tested or tried, Base says what and why in one plain line.
## 3. Rules this design keeps