carlos / platform Public

docs: Laravel processes run from /app, the Rails rollback names edge, and C104 says what a failed hold release does (Plan 4 whole-branch R1)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 0e92f8b004ad7ac4857a0b715e7d4182d9b2870a parent fbb2ac2
3 files changed, +6 −6
  • docs/site/laravel-and-django.md +3 −3
  • docs/site/rails.md +2 −2
  • docs/superpowers/plans/2026-10-24-rootfs-apps-copy.md +1 −1

Intent

Human

<task-notification> <task-id>btc57e39a</task-id> <tool-use-id>toolu_016T4rJ3E9scvExCYwwQ67Bt</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/18ea9266-acea-4f37-abab-b97c6a7faffa/tasks/btc57e39a.output</output-file> <status>completed</status> <summary>Background command "Run Plan 4 whole-branch and census Astra reviews" completed (exit code 0)</summary> </task-notification>

Human

approved

Human

<task-notification> <task-id>bjaqk0cy2</task-id> <tool-use-id>toolu_01W4b8p15VL2sc6qiyjY5eKj</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/18ea9266-acea-4f37-abab-b97c6a7faffa/tasks/bjaqk0cy2.output</output-file> <status>completed</status> <summary>Background command "Log findings and wait for C104 review" completed (exit code 0)</summary> </task-notification>

diff --git a/docs/site/laravel-and-django.md b/docs/site/laravel-and-django.md
index 73ef5826d..91229bfc8 100644
--- a/docs/site/laravel-and-django.md
+++ b/docs/site/laravel-and-django.md
@@ -31,9 +31,9 @@ The processes: web runs FrankenPHP, a worker runs the queue, release runs the mi
{
"web": {"command": ["frankenphp", "run", "--config", "/app/Caddyfile"],
"env": {"XDG_DATA_HOME": "/tmp", "XDG_CONFIG_HOME": "/tmp"}},
- "worker": {"command": ["php", "artisan", "queue:work"]},
- "release": {"command": ["php", "artisan", "migrate", "--force"]},
- "console": {"command": ["php", "artisan", "tinker"]}
+ "worker": {"command": ["php", "artisan", "queue:work"], "working_dir": "/app"},
+ "release": {"command": ["php", "artisan", "migrate", "--force"], "working_dir": "/app"},
+ "console": {"command": ["php", "artisan", "tinker"], "working_dir": "/app"}
}
```
diff --git a/docs/site/rails.md b/docs/site/rails.md
index a1c8c7f14..a1d3ec3ad 100644
--- a/docs/site/rails.md
+++ b/docs/site/rails.md
@@ -196,12 +196,12 @@ When a migration cannot work that way, ship that release with --swap hold. The o
carlos ship --app shop --version v7 --swap hold --rootfs shop.tar --processes processes.json
```
-If release fails or runs past its time limit, the old version keeps serving and the deploy stops for that instance. carlos instances list says so, and the next deploy tries again.
+If release fails or runs past its time limit, the deploy stops for that instance and carlos instances list says so. In a normal deploy the old version keeps serving. With --swap hold the old version has already stopped, so the instance is down until a release passes. The next deploy tries again.
Rolling back a release does not roll back the database. carlos rollback brings the previous image back, and it runs against the schema the newer release left. This is the other reason a migration should work with the code before it.
```sh
-carlos rollback --app shop stable
+carlos rollback --app shop edge
```
During a deploy the old worker stops once the new web is healthy, and then the new worker starts. Two workers never run at once.
diff --git a/docs/superpowers/plans/2026-10-24-rootfs-apps-copy.md b/docs/superpowers/plans/2026-10-24-rootfs-apps-copy.md
index 134e876b4..ec3bf165d 100644
--- a/docs/superpowers/plans/2026-10-24-rootfs-apps-copy.md
+++ b/docs/superpowers/plans/2026-10-24-rootfs-apps-copy.md
@@ -338,7 +338,7 @@ From the plan: Placeholders: `<app>` an app; `<fleet>` a fleet name; `<region>`
| RFS-4-C101 | docs/site/rails.md | Deploys and migrations | approved |
| RFS-4-C102 | docs/site/rails.md | A deploy starts the new web beside the old one and moves traffic once the new one answers. release runs first, from the new image, while the old version is still serving. So a migration has to work with the code that is already running: add a column, deploy, use it, and remove the old one in a later deploy. | approved |
| RFS-4-C103 | docs/site/rails.md | When a migration cannot work that way, ship that release with --swap hold. The old version stops, release runs, and the new version starts. Requests wait for a few seconds while that happens. | approved |
-| RFS-4-C104 | docs/site/rails.md (fact) | If release fails or runs past its time limit, the old version keeps serving and the deploy stops for that instance. carlos instances list says so, and the next deploy tries again. | approved |
+| RFS-4-C104 | docs/site/rails.md (fact) | If release fails or runs past its time limit, the deploy stops for that instance and carlos instances list says so. In a normal deploy the old version keeps serving. With --swap hold the old version has already stopped, so the instance is down until a release passes. The next deploy tries again. | approved |
| RFS-4-C105 | docs/site/rails.md | Rolling back a release does not roll back the database. carlos rollback brings the previous image back, and it runs against the schema the newer release left. This is the other reason a migration should work with the code before it. | approved |
| RFS-4-C106 | docs/site/rails.md | During a deploy the old worker stops once the new web is healthy, and then the new worker starts. Two workers never run at once. | approved |
| RFS-4-C107 | docs/site/rails.md | When something crashes | approved |