docs: rootfs processes get HOME=/tmp unless set (RFS-4-C147, approved by Paul)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
approved_rootfs_copy_test.go+4 −2docs/site/rootfs.md+2 −0docs/superpowers/plans/2026-10-24-rootfs-apps-copy.md+1 −0
CI failed — run details
Intent
<cross-session-message from="uds:/run/user/1001/cc-socks/863312.sock" from-name="platform-7d" from-mode="bypass"> Release coordination from platform-7d: I plan to cut v0.33.3 (dev only) after your v0.33.2 flagship roll finishes. Durability 3a merged to main as 44d810d0 (sealed escrow for instance secrets, #477). Paul's go covers a dev-only release and roll so I can run 3a's dev check. Main CI is running on 44d810d0. I'll cut from ~/.cache/release-v0.33.3/BRIEF.md, using your v0.33.2 brief as the template. Please reply when flagship is done, or if you or anyone else is already cutting the next release, and I'll hand it over or wait. </cross-session-message>
<task-notification> <task-id>bl5c69kub</task-id> <tool-use-id>toolu_01L6ViWMpPBvtPCXnsDMprxZ</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/3bbea1fd-996b-42f3-b651-0add5a8ac1d5/tasks/bl5c69kub.output</output-file> <status>completed</status> <summary>Background command "Wait for the copy review result" completed (exit code 0)</summary> </task-notification>
<cross-session-message from="uds:/run/user/1001/cc-socks/863312.sock" from-name="platform-7d" from-mode="bypass"> platform-7d: thanks. I'm cutting v0.33.3 from MERGE 44d810d02 (durability 3a). If rootfs-default-home lands before the tag with main CI green, the release agent cuts from that tip instead and tells you which commit. The agent publishes, then stops before any channel move. No dev box rolls until you tell me your v0.33.2 flagship roll is done. dennis waits until after 13:50Z, with platform-86 messaged before and after. </cross-session-message>
Attributed to this commit: 30.3 g CO₂e (3,856,402 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on rootfs-default-home, 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/approved_rootfs_copy_test.go b/approved_rootfs_copy_test.go| index aff1cf469..4ccc24f14 100644 |
| --- a/approved_rootfs_copy_test.go |
| +++ b/approved_rootfs_copy_test.go |
| @@ -21,7 +21,7 @@ import ( |
| const rootfsCopyRecordPath = "docs/superpowers/plans/2026-10-24-rootfs-apps-copy.md" |
| // Canonical ids only: two digits from C01 to C99, three digits from C100 |
| -// (Plan 4 runs to RFS-4-C146). No leading zero on a three-digit id, no C00. |
| +// (Plan 4 runs to RFS-4-C146; RFS-4-C147 is the rootfs-default-home follow-up). No leading zero on a three-digit id, no C00. |
| var rootfsCopyIDPattern = regexp.MustCompile(`^RFS-[1-6]-C(0[1-9]|[1-9][0-9]{1,2})$`) |
| // rootfsCopyIDs is the deck's inventory, pinned as a literal list in the |
| @@ -82,7 +82,7 @@ var rootfsCopyIDs = []string{ |
| "RFS-4-C33", "RFS-4-C34", "RFS-4-C35", "RFS-4-C36", |
| "RFS-4-C37", "RFS-4-C38", "RFS-4-C39", "RFS-4-C40", |
| "RFS-4-C41", "RFS-4-C42", "RFS-4-C43", "RFS-4-C44", |
| - "RFS-4-C45", "RFS-4-C46", "RFS-4-C47", "RFS-4-C48", |
| + "RFS-4-C45", "RFS-4-C46", "RFS-4-C47", "RFS-4-C147", "RFS-4-C48", |
| "RFS-4-C49", "RFS-4-C50", "RFS-4-C51", "RFS-4-C52", |
| "RFS-4-C53", "RFS-4-C54", "RFS-4-C55", "RFS-4-C56", |
| "RFS-4-C57", "RFS-4-C58", "RFS-4-C59", "RFS-4-C60", |
| @@ -248,6 +248,8 @@ var rootfsCopyBuilt = []string{ |
| // Task 8b: carlos ship --check --env (ship_rootfs.go, docs/site/cli.md); |
| // C145 is Task 9's, in rails.md |
| "RFS-4-C141", "RFS-4-C142", "RFS-4-C143", "RFS-4-C144", "RFS-4-C146", |
| + // rootfs-default-home (2026-11-01): HOME is /tmp unless set (docs/site/rootfs.md) |
| + "RFS-4-C147", |
| // Plan 4 Task 9: the Rails guide, the Laravel and Django notes, and the Guides nav (docs/site/rails.md, laravel-and-django.md, nav.json) |
| "RFS-4-C63", "RFS-4-C64", "RFS-4-C65", "RFS-4-C66", "RFS-4-C67", "RFS-4-C68", "RFS-4-C69", "RFS-4-C70", |
| "RFS-4-C71", "RFS-4-C72", "RFS-4-C73", "RFS-4-C74", "RFS-4-C75", "RFS-4-C76", "RFS-4-C77", "RFS-4-C78", |
diff --git a/docs/site/rootfs.md b/docs/site/rootfs.md| index abc521ba4..68f93e32e 100644 |
| --- a/docs/site/rootfs.md |
| +++ b/docs/site/rootfs.md |
| @@ -45,6 +45,8 @@ Every process of the instance gets the same environment: web, the workers and re |
| - CARLOS_HOST, CARLOS_REGION, CARLOS_CONTROL_SOCKET and CARLOS_PURGE mean what they mean for a binary instance, as [What an instance is started with](/docs/cli#what-an-instance-is-started-with) says. |
| +- HOME is /tmp unless the image or the app sets it. |
| + |
| ## Health |
| web must answer GET / on CARLOS_SOCKET with a status below 500 within 120 seconds of starting. Until it does, the instance does not serve and its workers do not start. |
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 46a212ec0..d4472e98d 100644 |
| --- a/docs/superpowers/plans/2026-10-24-rootfs-apps-copy.md |
| +++ b/docs/superpowers/plans/2026-10-24-rootfs-apps-copy.md |
| @@ -287,6 +287,7 @@ From the plan: Placeholders: `<app>` an app; `<fleet>` a fleet name; `<region>` |
| | RFS-4-C45 | docs/site/rootfs.md | CARLOS_SOCKET is the unix socket web serves HTTP on. | approved | |
| | RFS-4-C46 | docs/site/rootfs.md | CARLOS_DB is the instance's SQLite database, the one file the platform replicates. An app that keeps its data somewhere else can ignore it. | approved | |
| | RFS-4-C47 | docs/site/rootfs.md (fact) | CARLOS_HOST, CARLOS_REGION, CARLOS_CONTROL_SOCKET and CARLOS_PURGE mean what they mean for a binary instance, as [What an instance is started with](/docs/cli#what-an-instance-is-started-with) says. | approved | |
| +| RFS-4-C147 | docs/site/rootfs.md (fact, rootfs-default-home) | HOME is /tmp unless the image or the app sets it. | approved | |
| | RFS-4-C48 | docs/site/rootfs.md | Health | approved | |
| | RFS-4-C49 | docs/site/rootfs.md | web must answer GET / on CARLOS_SOCKET with a status below 500 within 120 seconds of starting. Until it does, the instance does not serve and its workers do not start. | approved | |
| | RFS-4-C50 | docs/site/rootfs.md | What it can write | approved | |