carlos / platform Public

console: delete aborts a file seed that never became ready

The slice 1 review's P2-1: the ordinary delete dropped a reserving file
seed's record with no rollback or finish, stranding its private store.
importDeleteRule now hands a file seed that is reserving, aborted or
rolled-back to fileSeedDeleteRule: reserving is aborted by CAS and
answered 202 with FS-13; aborted answers the same and writes nothing;
rolled-back is finished. Ready and placed keep the ordinary delete, as
--from's do. The CLI prints the 202's sentence (instanceDeleteAnswer,
now in instances_delete.go), maps a record gone mid-poll to FS-11 with
the held line, and passes --seed-file untrimmed.

Also: FS-13 and FS-41 to FS-43 pinned, the TTL's begin-to-upload gap
explained, rollout notes and G11 in the plan, census claims corrected
and the overlay regenerated, record-write census re-pinned.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev c848a4c3a6ecb8fc36321288e3f2faebd9ce5284 parent 61f11de
15 files changed, +336 −47
  • approved_fleet_seeded_copy_test.go +4 −0
  • docs/superpowers/notes/census-fleet-seeded-create-1-claims.tsv +3 −3
  • docs/superpowers/notes/census-proposal-fleet-seeded-create-1.md +2 −2
  • docs/superpowers/plans/2026-11-20-fleet-seeded-create.md +5 −1
  • instances_cli.go +4 −4
  • instances_delete.go +53 −0
  • instances_seedfile.go +6 −14
  • instances_seedfile_test.go +45 −0
  • internal/console/apiinstanceimport.go +11 −2
  • internal/console/seedfile.go +88 −0
  • internal/console/seedfile_copy.go +8 −7
  • internal/console/seedfile_test.go +68 −0
  • internal/provision/fleet_seeded_create_1_census_test.go +31 −6
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-fleet-seeded-create-1.tsv +7 −7

CI failed — run details

diff --git a/approved_fleet_seeded_copy_test.go b/approved_fleet_seeded_copy_test.go
index 73110393a..827005226 100644
--- a/approved_fleet_seeded_copy_test.go
+++ b/approved_fleet_seeded_copy_test.go
@@ -33,6 +33,10 @@ func TestApprovedFleetSeededCopy(t *testing.T) {
{"FS-16", "internal/console/seedfile_copy.go", "%s has high availability turned on. seeded instances are not available there yet"},
{"FS-17", "internal/console/seedfile_copy.go", "the upload does not match the file this create began with, so it was not kept."},
{"FS-20", "internal/console/seedfile_copy.go", "%s places its instances in a pool, so it cannot take a seeded instance."},
+ {"FS-13", "internal/console/seedfile_copy.go", "%s is being deleted. Its hostname is free again once its box has cleaned up."},
+ {"FS-41", "internal/console/seedfile_copy.go", "kind must be file, or left out for an import"},
+ {"FS-42", "internal/console/seedfile_copy.go", "began seeding %s from a file (%s, %d bytes)"},
+ {"FS-43", "internal/console/seedfile_copy.go", "uploaded the seed file for %s"},
{"FS-25", "internal/console/seedfile_copy.go", "This deployment’s seeds floor does not allow seed files yet. An operator publishes it again with carlos system seeds-floor publish."},
{"docs seed-file", "docs/site/cli.md", "To start a new instance from a SQLite database file you already have, add --seed-file. The file can be up to 4 GiB. The CLI uploads it, the console checks that it is a sound database, and the new instance starts from it the first time it wakes. This is for an app that runs in a region. You can't combine it with --from, and the new instance is an ordinary one, so --kind, --addr and --role don't apply. If the upload or the check fails, nothing is created, and the hostname is free again once its box has cleaned up."},
}
diff --git a/docs/superpowers/notes/census-fleet-seeded-create-1-claims.tsv b/docs/superpowers/notes/census-fleet-seeded-create-1-claims.tsv
index 292f1ea0d..5dd9a8097 100644
--- a/docs/superpowers/notes/census-fleet-seeded-create-1-claims.tsv
+++ b/docs/superpowers/notes/census-fleet-seeded-create-1-claims.tsv
@@ -1,3 +1,3 @@
-internal/provision/reconcile.go:Reconcile The removal phase asks abortRetiresRow(rec) (seedreconcile.go) instead of comparing rec.Seed.Kind to seeds.KindReplica, so an aborted file seed goes through the same row retirement and marker-decided purge as an aborted --from seed; the kind check only, no new read or write, registry read sites unchanged; the agent as carlos, not root; it retires a row it would already retire for a replica seed.
-instances_seedfile.go:apiSession.runSeedFileCreate New CLI path for carlos instances create --seed-file: reads the operator-named local file once (os.Open, then Stat and hashing) to compute its length and sha256 before the begin call. Runs as the invoking operator in the carlos CLI, never as root or the box agent; the path is the operator's own flag value and nothing else names it; no root read.
-instances_seedfile.go:apiSession.seedFileUpload New CLI upload step: reads the same operator-named file (io.ReadAll over the open file) to send it to the console door. The CLI as the invoking operator, no root; no read of a path a tenant, app or box agent can create or name.
+internal/provision/reconcile.go:Reconcile In the per-record seed dispatch (the seedFinishAbort case), Reconcile asks abortRetiresRow(rec) (seedreconcile.go) instead of comparing rec.Seed.Kind to seeds.KindReplica, so an aborted file seed goes through the same row retirement and marker-decided purge as an aborted --from seed; the kind check only, no new read or write, registry read sites unchanged; the agent as carlos, not root; it retires a row it would already retire for a replica seed.
+instances_seedfile.go:apiSession.runSeedFileCreate New CLI path for carlos instances create --seed-file: opens the operator-named local file once (os.Open) and reads it through io.Copy into a sha256 hash, which gives both its length (the bytes io.Copy counted) and its sha256 before the begin call; there is no Stat. It then seeks the same open file back to its start for the upload, and maps a record that vanished between polls to FS-11 with the held-hostname line. Runs as the invoking operator in the carlos CLI, never as root or the box agent; the path is the operator's own flag value, passed untrimmed, and nothing else names it; no root read.
+instances_seedfile.go:apiSession.seedFileUpload New CLI upload step: streams the caller's already-open, rewound file to the console door through doStream; it opens no path itself. Its one io.ReadAll reads the response body (res.Body) through a 1 MiB io.LimitReader, not the upload file. The CLI as the invoking operator, no root; no read of a path a tenant, app or box agent can create or name.
diff --git a/docs/superpowers/notes/census-proposal-fleet-seeded-create-1.md b/docs/superpowers/notes/census-proposal-fleet-seeded-create-1.md
index 78796d4e1..51a5c78d4 100644
--- a/docs/superpowers/notes/census-proposal-fleet-seeded-create-1.md
+++ b/docs/superpowers/notes/census-proposal-fleet-seeded-create-1.md
@@ -4,7 +4,7 @@ Ruling `census-ruling-fleet-seeded-create-1`. The independent reviewer approves
| unit | change | read sites | what changed |
|---|---|---|---|
-| `internal/provision/reconcile.go` `Reconcile` | body | unchanged (236) | The removal phase asks abortRetiresRow(rec) (seedreconcile.go) instead of comparing rec.Seed.Kind to seeds.KindReplica, so an aborted file seed goes through the same row retirement and marker-decided purge as an aborted --from seed; the kind check only, no new read or write, registry read sites unchanged; the agent as carlos, not root; it retires a row it would already retire for a replica seed. |
+| `internal/provision/reconcile.go` `Reconcile` | body | unchanged (236) | In the per-record seed dispatch (the seedFinishAbort case), Reconcile asks abortRetiresRow(rec) (seedreconcile.go) instead of comparing rec.Seed.Kind to seeds.KindReplica, so an aborted file seed goes through the same row retirement and marker-decided purge as an aborted --from seed; the kind check only, no new read or write, registry read sites unchanged; the agent as carlos, not root; it retires a row it would already retire for a replica seed. |
Envelopes re-pinned: `.`, `internal/provision`, `internal/seeds`.
@@ -19,6 +19,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `instances_seedfile.go:apiSession.runSeedFileCreate`: reads +file:Open; written legacy, accepted-legacy, frozen
- new `instances_seedfile.go:apiSession.seedFileUpload`: reads +file:ReadAll; written legacy, accepted-legacy, frozen
-Seal: `6c3e03c493dbca78fc128355f071caa2b2d5f22674b98994cd85a0cf63d40ca8` → `a032de2f85c0c8bb9da2d9d343ee72cdd487531b2f784678d902cd7d16da6fd1`.
+Seal: `6c3e03c493dbca78fc128355f071caa2b2d5f22674b98994cd85a0cf63d40ca8` → `98d0dd34be0b6c535c01cbb9ebb84742ae9d938259bab1492db1ca7867244887`.
Overlay: `internal/provision/testdata/plan14-root-reads-fleet-seeded-create-1.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/docs/superpowers/plans/2026-11-20-fleet-seeded-create.md b/docs/superpowers/plans/2026-11-20-fleet-seeded-create.md
index 8c1c889bc..f37d03cf3 100644
--- a/docs/superpowers/plans/2026-11-20-fleet-seeded-create.md
+++ b/docs/superpowers/plans/2026-11-20-fleet-seeded-create.md
@@ -388,6 +388,8 @@ func (s *apiSession) runSeedFileCreate(ctx context.Context, w io.Writer, a apiAc
- [ ] **Step 5: Whole-branch review.** Fable, briefed from the template with this slice's diff and the design. The census verdict goes to Astra and is recorded on #280. Budget: three rounds.
- [ ] **Step 6:** Merge with `amadan branch merge -squash -expect <tip>` once CI is green. Subject: `Seed files for region instances (#1139, slice 1)`.
- [ ] **Step 7 (dev, after merge):** dev boxes take the release (and carlos.prev is at it, or excluded). Then the dev console. Then `carlos system seeds-floor publish --min-release <release>` on dev, which writes `Min 3`. Then the visible witness: `--seed-file` on a dev region app, first wake, data present, snapshot gone. Record it on the branch discussion.
+ - **The publish is deployment-wide (slice 1 review).** Any `seeds-floor publish` from the new console writes `Min 3`, for every region and every shared-pool edge at once. From then, `--from`, imports and demo claims refuse in any region or pool whose boxes report below 3. So every box rolls first, everywhere, not only where a file seed will be tried; `carlos system status` must show every box at the release before the publish.
+ - **An old console refuses `--seed-file`** with the import's `replaces` sentence (Decision D2): nothing is written, but the sentence is confusing. A CLI that meets it is talking to a console from before this slice.
---
@@ -767,7 +769,7 @@ func (s *Server) seedFleetReady(ctx context.Context, fleet string) *doorRefusal
## Slice 4: rollout, then Eleven
-Order (AGENTS.md "rollout order"; design §6): boxes, then the floor, then the console, dev before flagship. The floor needs two publishes, because the publish door writes the console build's own protocol (`seedfloor.go:201`, Decision D10). Nothing opens before the second publish: the doors require `floor.Min >= 4`.
+Order (AGENTS.md "rollout order"; design §6): boxes, then the floor, then the console, dev before flagship. Each floor publish is deployment-wide: it shuts `--from`, imports and demo claims in any region or shared-pool edge whose boxes are below the new `Min` (3 after slice 1, 4 after slices 2 and 3), so boxes roll everywhere before any publish. A console older than slice 1 refuses `--seed-file` with the import's `replaces` sentence (D2); one older than slice 3 refuses it on a fleet with `seedPlacementRefusal`. The floor needs two publishes, because the publish door writes the console build's own protocol (`seedfloor.go:201`, Decision D10). Nothing opens before the second publish: the doors require `floor.Min >= 4`.
### Task 18: Dev
@@ -901,6 +903,8 @@ House rules applied: no em dashes; curly apostrophes; placeholders in their orde
- **G9. The floor read arms every customer fleet, not only Eleven's.** The `aclRead` grant is deployment-wide. Once a fleet box runs slice 2 it arms the published floor, and its recovery then refuses a carlos.prev below it (`carlos-system-recover`). That is a behaviour change for every fleet owner, and it should be in the slice 2 release note.
- **G10. `lock.json` sits under the replica prefix** (`internal/lease/lease.go:232`). It is deleted on release, but kept by `Abandon` (`lease.go:715,722`). An exhaustive listing counts it, so a seed whose lease was abandoned holds its hostname until the fleet owner clears the prefix, even if no data was ever uploaded. This is consistent with the invariant. It may surprise people.
+- **G11. The floor publish does not bind `min_release` to the protocol** (`internal/console/seedfloor.go:218`, slice 1 review). `handleAPISystemSeedsFloor` writes `Min: seeds.ProtocolVersion` of the console's own build beside whatever `--min-release` the operator types; nothing checks that that release speaks the protocol. A publish naming a release older than the first one that speaks `Min` is accepted, and the per-box protocol check is then the only guard. Slices 2 and 3 must not read `min_release` as proof of a protocol: the fleet checks compare each box's reported `SeedsFloor.Protocol` against `Min`, as the region check does.
+
## Follow-ups (outside this branch)
- **P3:** SD-N2, SD-N6 and SD-N7 say "<boxes> in <region> are …", which is wrong for one box. Give them the singular-correct wording FS-23, FS-24 and FS-26 use (Paul, 2026-11-20). It changes approved seeds copy, so it goes through the copy review on its own branch.
diff --git a/instances_cli.go b/instances_cli.go
index f9c10e0df..c230118a6 100644
--- a/instances_cli.go
+++ b/instances_cli.go
@@ -363,7 +363,7 @@ func runInstancesCreate(args []string) {
}
if *from != "" || *seedFile != "" {
if err := sess.runSeededAny(context.Background(), stdout, acct, app2, strings.TrimSpace(*host), strings.TrimSpace(*region),
- strings.TrimSpace(*channel), strings.TrimSpace(*environment), strings.TrimSpace(*from), strings.TrimSpace(*seedFile), uint64(*at), message); err != nil {
+ strings.TrimSpace(*channel), strings.TrimSpace(*environment), strings.TrimSpace(*from), *seedFile, uint64(*at), message); err != nil {
log.Fatalf("instances create: %v", err)
}
return
@@ -824,11 +824,11 @@ func runInstancesDelete(args []string) {
if merr != nil {
log.Fatalf("instances delete: %v", merr)
}
- if err := sess.instanceDelete(context.Background(), acct, app2, strings.TrimSpace(*host), message); err != nil {
+ pending, err := sess.instanceDeleteAnswer(context.Background(), acct, app2, strings.TrimSpace(*host), message)
+ if err != nil {
log.Fatalf("instances delete: %v", err)
}
- fmt.Fprintf(stdout, "%s %s — its route retires on the next reconcile pass; parked data stays\n",
- colorFor(stdout).ok("deleted instance"), *host)
+ printInstanceDeleted(stdout, *host, pending)
}
// runInstancesSetUpstreams is `carlos instances set-upstreams` — the CLI
diff --git a/instances_delete.go b/instances_delete.go
new file mode 100644
index 000000000..069010b07
--- /dev/null
+++ b/instances_delete.go
@@ -0,0 +1,53 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "errors"
+ "fmt"
+ "io"
+ "net/http"
+ "net/url"
+)
+
+// instanceDelete retires one instance record. Idempotent server-side (the
+// caller's goal is "not there"). A 202 is a delete the console accepted
+// and will finish once a box has cleaned up (a file seed that was never
+// ready, FS-13); a caller that only needs "accepted" treats it as done.
+func (s *apiSession) instanceDelete(ctx context.Context, a apiAcct, app, host string, messages ...string) error {
+ _, err := s.instanceDeleteAnswer(ctx, a, app, host, messages...)
+ return err
+}
+
+// instanceDeleteAnswer is instanceDelete that also returns the console's
+// sentence for a 202 (pending), "" for a delete that is done.
+func (s *apiSession) instanceDeleteAnswer(ctx context.Context, a apiAcct, app, host string, messages ...string) (pending string, err error) {
+ status, body, err := s.deleteJSON(ctx, apiPath(a, app, "/instances/"+url.PathEscape(host)), messages...)
+ if err != nil {
+ return "", err
+ }
+ switch status {
+ case http.StatusOK:
+ return "", nil
+ case http.StatusAccepted:
+ var out struct {
+ Message string `json:"message"`
+ }
+ if json.Unmarshal(body, &out) != nil || out.Message == "" {
+ return "", errors.New("unreadable response")
+ }
+ return out.Message, nil
+ }
+ return "", apiErrorFromBody(status, body)
+}
+
+// printInstanceDeleted is instances delete's success output: the console's
+// own sentence for a pending delete (FS-13), else the ordinary line.
+func printInstanceDeleted(w io.Writer, host, pending string) {
+ if pending != "" {
+ fmt.Fprintln(w, pending)
+ return
+ }
+ fmt.Fprintf(w, "%s %s — its route retires on the next reconcile pass; parked data stays\n",
+ colorFor(w).ok("deleted instance"), host)
+}
diff --git a/instances_seedfile.go b/instances_seedfile.go
index 7f2fd0233..8eb9c6cb2 100644
--- a/instances_seedfile.go
+++ b/instances_seedfile.go
@@ -9,7 +9,6 @@ import (
"fmt"
"io"
"net/http"
- "net/url"
"os"
)
@@ -192,6 +191,12 @@ func (s *apiSession) runSeedFileCreate(ctx context.Context, w io.Writer, a apiAc
}
return true, nil
})
+ // A record gone between polls was never created: FS-11, with the held
+ // line, as the mocks show for every seed that did not make it.
+ var gone seedGone
+ if errors.As(err, &gone) {
+ return withHeldLine(fmt.Errorf(cliSeedFileCopyNotKept, host))
+ }
if err != nil {
return err
}
@@ -229,16 +234,3 @@ func fileSeedCell(s *apiSeed) (string, bool) {
}
return "", false
}
-
-// instanceDelete retires one instance record. Idempotent server-side (the
-// caller's goal is "not there"), so a 200 is the only success shape.
-func (s *apiSession) instanceDelete(ctx context.Context, a apiAcct, app, host string, messages ...string) error {
- status, body, err := s.deleteJSON(ctx, apiPath(a, app, "/instances/"+url.PathEscape(host)), messages...)
- if err != nil {
- return err
- }
- if status != http.StatusOK {
- return apiErrorFromBody(status, body)
- }
- return nil
-}
diff --git a/instances_seedfile_test.go b/instances_seedfile_test.go
index c8b1caf66..ce9508327 100644
--- a/instances_seedfile_test.go
+++ b/instances_seedfile_test.go
@@ -59,6 +59,11 @@ func (c *seedFileConsole) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if c.looks++; i >= len(c.gets) {
i = len(c.gets) - 1
}
+ if c.gets[i] == "" { // the record is gone
+ w.WriteHeader(http.StatusNotFound)
+ io.WriteString(w, `{"error":"not found"}`)
+ return
+ }
io.WriteString(w, c.gets[i])
}
}
@@ -240,3 +245,43 @@ func TestSeedCellFileRows(t *testing.T) {
}
}
}
+
+// A record gone between polls: FS-11 with the held line, never the
+// membership sentence.
+func TestSeedFileCreateRecordGonePrintsNotKept(t *testing.T) {
+ _, err := runSeedFile(t, newSeedFileConsole(seedFileRec("reserving", ""), ""), "abc")
+ want := "the seed file was not kept, so new.example.com was not created. Try again.\n the hostname is free again once its box has cleaned up"
+ if err == nil || err.Error() != want {
+ t.Fatalf("err = %v, want %q", err, want)
+ }
+}
+
+// A delete the console accepted but cannot finish yet (a file seed that
+// never became ready) prints the console's FS-13 sentence, not the
+// ordinary deleted line.
+func TestInstancesDeletePendingPrintsSentence(t *testing.T) {
+ const fs13 = "new.example.com is being deleted. Its hostname is free again once its box has cleaned up."
+ ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ w.WriteHeader(http.StatusAccepted)
+ io.WriteString(w, `{"state":"aborting","message":"`+fs13+`"}`)
+ }))
+ defer ts.Close()
+ pending, err := newTestSession(ts.URL).instanceDeleteAnswer(context.Background(), apiAcct{Seg: "bab"}, "shop", "new.example.com")
+ if err != nil || pending != fs13 {
+ t.Fatalf("pending %q, err %v", pending, err)
+ }
+ var out bytes.Buffer
+ printInstanceDeleted(&out, "new.example.com", pending)
+ if out.String() != fs13+"\n" {
+ t.Fatalf("output %q", out.String())
+ }
+ out.Reset()
+ printInstanceDeleted(&out, "new.example.com", "")
+ if !strings.Contains(out.String(), "deleted instance new.example.com — its route retires on the next reconcile pass; parked data stays") {
+ t.Fatalf("ordinary output %q", out.String())
+ }
+ // instanceDelete, for callers that only need "accepted", takes it.
+ if err := newTestSession(ts.URL).instanceDelete(context.Background(), apiAcct{Seg: "bab"}, "shop", "new.example.com"); err != nil {
+ t.Fatal(err)
+ }
+}
diff --git a/internal/console/apiinstanceimport.go b/internal/console/apiinstanceimport.go
index 83a438fe1..d255946f4 100644
--- a/internal/console/apiinstanceimport.go
+++ b/internal/console/apiinstanceimport.go
@@ -997,8 +997,11 @@ func (s *Server) abortAnswered(w http.ResponseWriter, r *http.Request, sqid, app
// snapshot under seeds/<host>/<id>/, then the record).
// - rolled-back: finished here.
// - any other uncommitted state: 409, abort the import instead (SD-N57).
-// - committed, a --from seed, an unseeded record, or a record that will
-// not decode: the ordinary delete, conditional on the etag read here
+// - a file seed reserving, aborted or rolled-back: aborted (or left
+// aborting) and answered 202 with FS-13, or finished once rolled back
+// (fileSeedDeleteRule); the box's rollback and the finish free it.
+// - committed, a --from seed, any other file seed, an unseeded record,
+// or a record that will not decode: the ordinary delete, conditional on the etag read here
// (deleteRead), answered as finished.
// - no record at all: finished, with nothing deleted (final review F7),
// except on a claim console, where the claim's retirement answers.
@@ -1058,6 +1061,12 @@ func (s *Server) importDeleteRule(w http.ResponseWriter, r *http.Request, acct *
// finish; the ordinary delete, bound to this read.
rec = nil
}
+ // A file seed not yet ready is aborted, waited for or finished, never
+ // deleted outright (seedfile.go); a ready or placed one takes the
+ // ordinary delete, as --from's does.
+ if rec != nil && fileSeedUnreadied(rec.Seed) {
+ return s.fileSeedDeleteRule(w, r, acct, app, host, rec.Seed, again)
+ }
if rec == nil || !rec.Seed.Import() || rec.Seed.State == seeds.StateCommitted {
return s.deleteRead(w, r, acct, app, host, etag, again)
}
diff --git a/internal/console/seedfile.go b/internal/console/seedfile.go
index 705fd7df6..fb9e71b3e 100644
--- a/internal/console/seedfile.go
+++ b/internal/console/seedfile.go
@@ -19,6 +19,7 @@ import (
"log"
"net/http"
"os"
+ "strings"
"time"
"github.com/carlosframework/platform/internal/provision"
@@ -36,6 +37,13 @@ import (
// upload's start, the record reads and writes around them, and clock skew
// between consoles. A sweep inside it would abort an upload still in
// progress, and its put would then land as an orphan (plan G7).
+//
+// It does not bound the gap between begin and the upload's start: At is
+// stamped at begin and never re-stamped, so a CLI that waits long before
+// its PUT eats into the budget. That is fail-safe. The worst case is an
+// upload the sweep aborts mid-flight: its publish CAS then finds the seed
+// aborted and writes nothing, the put lands as an orphan the sweep
+// deletes, and the member retries. No seed is ever placed from it.
const seedFileReserveTTL = importUploadReadDeadline + importCheckBudget + seedUploadDeadline + seedFileReserveMargin
// seedFileReserveMargin is seedFileReserveTTL's margin over the budget.
@@ -306,3 +314,83 @@ func (s *Server) abortFileSeed(ctx context.Context, sqid, app, host, id, reason,
}
s.bumpSerial(actx)
}
+
+// fileSeedUnreadied reports a file seed the delete door must not drop
+// outright: reserving (its upload not landed), aborted or rolled-back.
+func fileSeedUnreadied(seed *provision.SeedSource) bool {
+ if seed == nil || seed.Kind != seeds.KindFile {
+ return false
+ }
+ switch seed.State {
+ case seeds.StateReserving, seeds.StateAborted, seeds.StateRolledBack:
+ return true
+ }
+ return false
+}
+
+// fileSeedDeleteRule is the delete door's answer to a file seed that never
+// became ready (plan D9's region case, pulled forward at the slice 1
+// review). The ordinary delete would drop the record without the box's
+// rollback or the console's finish, stranding the private store the begin
+// made, so the next --seed-file on the host would meet the store-taken
+// refusal. So:
+//
+// - reserving: aborted (SeedAbortFileUploadBecause, a CAS that acts only
+// while it is still reserving), the serial bumped, and 202 with FS-13.
+// - aborted (by this door, the sweep or a failed upload): 202 with FS-13
+// again, writing nothing; the box has its rollback still to do.
+// - rolled-back: the console's finish (store, snapshot, replica, then
+// the record), answered as a finished delete.
+//
+// The record holds the hostname until the finish deletes it. A ready or
+// placed file seed is not here: it takes the ordinary delete, exactly as a
+// --from seed in those states does.
+//
+// An abort CAS that finds the seed moved on (its upload landed, the sweep
+// got there) decides once more from a fresh read when again allows, else
+// answers SD-N60.
+func (s *Server) fileSeedDeleteRule(w http.ResponseWriter, r *http.Request, acct *Account, app, host string, seed *provision.SeedSource, again bool) (answered, finished bool) {
+ if s.cfg.HostClaim {
+ // No finish runs on a claim console, so nothing there may abort a
+ // seed whose finish frees the host; no seed door begins one there.
+ ref := seedClaimConsoleRefusal()
+ jsonError(w, ref.Status, ref.Msg)
+ return true, false
+ }
+ aborting := map[string]string{"state": "aborting", "message": fmt.Sprintf(fileSeedDeletingCopy, host)}
+ switch seed.State {
+ case seeds.StateAborted:
+ writeJSON(w, http.StatusAccepted, aborting)
+ return true, false
+ case seeds.StateRolledBack:
+ if err := s.finishImport(r, acct.Sqid, app, host, seed.ID); err != nil {
+ return s.deleteRefused(w, acct.Sqid, app, host, fmt.Errorf("finish file seed %s: %w", seed.ID, err))
+ }
+ return true, true
+ }
+ ctx, cancel := context.WithTimeout(context.WithoutCancel(r.Context()), instanceStoreTimeout)
+ defer cancel()
+ _, err := provision.SetRecordSeed(ctx, s.cfg.Releases, acct.Sqid, app, host, provision.SeedAbortFileUploadBecause(seed.ID, ""))
+ switch {
+ case errors.Is(err, os.ErrNotExist):
+ return true, true // gone already: the delete's idempotent answer
+ case lostTransition(err) && again:
+ return s.importDeleteRule(w, r, acct, app, host, false)
+ case lostTransition(err):
+ s.importTransitionFailure(w, app, host, err) // SD-N60
+ return true, false
+ case err != nil:
+ return s.deleteRefused(w, acct.Sqid, app, host, fmt.Errorf("abort file seed %s: %w", seed.ID, err))
+ }
+ s.bumpSerial(ctx)
+ if p, ok := principalFrom(r.Context()); ok {
+ s.auditActivity(acct, app, auditActor(p, acct), Activity{
+ Action: "instance-delete", TargetType: "instance", Target: host,
+ // Already checked by the delete door (checkedActivityMessage).
+ Message: strings.TrimSpace(r.Header.Get(activityMessageHeader)),
+ Detail: "delete of instance " + host + " accepted, its seed file aborted (cli)" + teamAuditSuffix(teamOf(r)),
+ })
+ }
+ writeJSON(w, http.StatusAccepted, aborting)
+ return true, false
+}
diff --git a/internal/console/seedfile_copy.go b/internal/console/seedfile_copy.go
index f9d310ff3..c921b57f1 100644
--- a/internal/console/seedfile_copy.go
+++ b/internal/console/seedfile_copy.go
@@ -2,10 +2,12 @@ package console
// The console's copy for file seeds (#1139), verbatim from the copy table
// of docs/superpowers/plans/2026-11-20-fleet-seeded-create.md. Every row
-// there is approved (Paul, 2026-11-20) except those marked pending here,
-// which this task added and the copy review has not seen yet. %s fill in
-// the order the table names.
+// here is approved (Paul, 2026-11-20). %s fill in the order the table
+// names.
const (
+ // FS-13: the delete door's 202 for a file seed it aborted; %s is the
+ // host. The console sends it, the CLI prints it.
+ fileSeedDeletingCopy = "%s is being deleted. Its hostname is free again once its box has cleaned up."
// FS-15: a region record outside this console's region; %s is the
// console's region, then the host. In place of the import's SD-N118.
fileSeedRegionCopy = "a seeded instance runs in this console’s region, %s. To run %s elsewhere, create it here and then run carlos move."
@@ -19,13 +21,12 @@ const (
// FS-25: capital T, as its sibling SD-N3.
fileSeedFloorCopy = "This deployment’s seeds floor does not allow seed files yet. An operator publishes it again with carlos system seeds-floor publish."
- // FS-41 (pending): an import object whose kind is neither absent nor
- // "file". Only a hand-written API call reaches it; the CLI sends one or
+ // FS-41: an import object whose kind is neither absent nor "file". Only a hand-written API call reaches it; the CLI sends one or
// the other.
fileSeedKindCopy = "kind must be file, or left out for an import"
- // FS-42 (pending): the begin's audit row; %s is the host, then the
+ // FS-42: the begin's audit row; %s is the host, then the
// first 12 characters of the sha256, then %d the length.
fileSeedBeganAudit = "began seeding %s from a file (%s, %d bytes)"
- // FS-43 (pending): the upload's audit row; %s is the host.
+ // FS-43: the upload's audit row; %s is the host.
fileSeedUploadedAudit = "uploaded the seed file for %s"
)
diff --git a/internal/console/seedfile_test.go b/internal/console/seedfile_test.go
index 871014073..7ec5a2768 100644
--- a/internal/console/seedfile_test.go
+++ b/internal/console/seedfile_test.go
@@ -516,3 +516,71 @@ func containsAll(have, want []string) bool {
}
return true
}
+
+// The slice 1 review's P2-1: a delete of a file seed still waiting for its
+// upload aborts it rather than dropping the record, so the box's rollback
+// and the console's finish run, the private store the begin made is torn
+// down, and the same --seed-file can be begun again.
+func TestDeleteRegionFileSeedReservingAborts(t *testing.T) {
+ f := finishFixture(t)
+ publishFileFloor(t, f.fx.rel)
+ seedReadyBox(t, f.fx, "kass-1", "", seeds.FileSeedProtocol, "v0.27.0", "v0.27.0", "nested", false)
+ body, _ := sqliteBytes(t)
+ begun := f.beginFile(t, fromHost, body)
+ id := begun.Seed.ID
+ if store := f.canaryStore(t); store == nil || store.Declared == nil || store.Declared.Seed != id {
+ t.Fatalf("canary store = %+v; want the seed's own", store)
+ }
+
+ code, out := deleteInstance(t, f, fromHost)
+ if code != http.StatusAccepted || out["state"] != "aborting" ||
+ out["message"] != "canary.shop.example.com is being deleted. Its hostname is free again once its box has cleaned up." {
+ t.Fatalf("delete = %d %v, want 202 aborting with FS-13", code, out)
+ }
+ rec, err := f.record(t, fromHost)
+ if err != nil {
+ t.Fatalf("record after the delete: %v; want it kept, aborted", err)
+ }
+ requireFileState(t, rec, id, seeds.StateAborted, "")
+ if f.canaryStore(t) == nil {
+ t.Fatal("the store went before the box rolled back")
+ }
+ // A second delete before the box's pass answers the same and writes
+ // nothing: the record still holds the hostname.
+ if code, out := deleteInstance(t, f, fromHost); code != http.StatusAccepted || out["state"] != "aborting" {
+ t.Fatalf("second delete = %d %v, want 202 aborting", code, out)
+ }
+ rec, _ = f.record(t, fromHost)
+ requireFileState(t, rec, id, seeds.StateAborted, "")
+
+ // The box rolls back.
+ if _, err := provision.SetRecordSeed(context.Background(), f.fx.rel, "bab", fromApp, fromHost, provision.SeedRolledBack(id)); err != nil {
+ t.Fatal(err)
+ }
+ // A delete after the box's pass finishes it: 200, store torn down,
+ // record gone.
+ if code, out := deleteInstance(t, f, fromHost); code != http.StatusOK || out["result"] != "deleted" {
+ t.Fatalf("delete after the rollback = %d %v, want 200", code, out)
+ }
+ if store := f.canaryStore(t); store != nil {
+ t.Fatalf("store after the finish = %+v; want it torn down", store)
+ }
+ f.requireRecordGone(t, fromHost)
+ again := f.beginFile(t, fromHost, body)
+ if again.Seed.ID == id {
+ t.Fatal("the new seed reused the old id")
+ }
+}
+
+// A ready file seed takes the ordinary delete, exactly as a ready --from
+// seed does.
+func TestDeleteRegionFileSeedReadyIsOrdinary(t *testing.T) {
+ f := newFileSeedFixture(t)
+ body, _ := sqliteBytes(t)
+ f.beginFile(t, fileHost, body)
+ f.uploaded(t, fileHost, body)
+ if code, out := deleteInstance(t, f, fileHost); code != http.StatusOK || out["result"] != "deleted" {
+ t.Fatalf("delete = %d %v, want the ordinary 200", code, out)
+ }
+ f.requireNoRecord(t, fileHost)
+}
diff --git a/internal/provision/fleet_seeded_create_1_census_test.go b/internal/provision/fleet_seeded_create_1_census_test.go
index 85c2fb362..e85c91731 100644
--- a/internal/provision/fleet_seeded_create_1_census_test.go
+++ b/internal/provision/fleet_seeded_create_1_census_test.go
@@ -5,9 +5,10 @@ package provision
// fleet-seeded-create-1: file seeds on a region), layered on
// platformAccounts1WriteCensusInventory (main's newest at branch time).
// Reviewed by the branch author against the source. No class or site kind
-// changes; one unit is new.
+// changes; two units are new, and one site moved to a new unit.
//
// New:
+//
// - Server.abortFileSeed (internal/console/seedfile.go): moves a file
// seed to aborted with a reason through the record CAS
// (provision.SetRecordSeed with SeedAbortFileUploadBecause), which acts
@@ -19,6 +20,15 @@ package provision
// beginFileSeed itself writes through createSeedRecord, and spoolImport
// through abortFileSeed, so neither has a site of its own.
//
+// - Server.fileSeedDeleteRule (internal/console/seedfile.go, slice 1
+// review P2-1): the delete door's rule for a file seed that never
+// became ready. Reserving: SetRecordSeed with
+// SeedAbortFileUploadBecause (a CAS that acts only while it is still
+// reserving), then the serial and a 202 with FS-13. Aborted: the same
+// 202, no write. Rolled-back: finishSeed (through finishImport), which
+// deletes the record after its store, snapshot and replica.
+// record-writer / key:SetRecordSeed, as importDeleteRule.
+//
// Re-pinned:
// - Server.runImportUpload (console): dispatches on the seed's kind. A
// file seed aborts with SeedAbortFileUploadBecause and lands with
@@ -38,7 +48,11 @@ package provision
// inline replica check, so an aborted file seed's row is retired
// before its rollback, as --from's. The key site is unchanged.
// - apiSession.instanceDelete (root CLI): moved from apimode.go to
-// instances_seedfile.go with its body unchanged; the entry follows it.
+// instances_delete.go (slice 1 review), where it now calls
+// apiSession.instanceDeleteAnswer, which holds the DELETE of
+// /instances/<host> it held and also reads a 202's FS-13 sentence. The
+// entry follows the site: instanceDeleteAnswer, key-site /
+// lit:instances as before; instanceDelete has no site of its own.
// - finishAbortedSeed (provision): Task 4, a file seed's purge of its
// marked local snapshot runs as --from's; the same SetRecordSeed to
// rolled-back.
@@ -51,6 +65,8 @@ func fleetSeededCreate1WriteCensusInventory() []censusEntry {
{"internal/console/apiinstanceimport.go", "Server.runImportUpload", "record-writer", "key:SetRecordSeed", "c84fc2edd41a2b5265ee990b4f0f9fdbe8cbb8de6e392957770c7ab341e94b27"},
{"internal/console/seedfinish.go", "Server.finishSeedOnce", "key-site", "key:RecordKey", "597f1f6dbbd8a8d72a6e34d29671e03252eab4e81fb9cf1e9f1ced62fb338920"},
{"internal/provision/reconcile.go", "Reconcile", "key-site", "key:RecordKey", "684e5d0a0c9bd33c9b99c8b1bf7f10180df09344ee6884ebb67313affe25dace"},
+ // Slice 1 review P2-1: a file seed that never became ready goes to fileSeedDeleteRule, not the ordinary delete; import and every other record unchanged.
+ {"internal/console/apiinstanceimport.go", "Server.importDeleteRule", "record-writer", "key:SetRecordSeed", "42cc7609d4a442eae2d2f93f19f9322b15febb711c704aef28cf340ffc5468a6"},
{"internal/provision/seedreconcile.go", "finishAbortedSeed", "record-writer", "key:SetRecordSeed", "0fc8fcbd23d702ad1374f2343707fbfbbae0760a1dfe674e4c83ddcdae1b07bf"},
}
for _, r := range repins {
@@ -67,15 +83,24 @@ func fleetSeededCreate1WriteCensusInventory() []censusEntry {
panic("fleet-seeded-create-1 census: re-pin of an unlisted unit " + r.File + ":" + r.Unit)
}
}
- // apiSession.instanceDelete moved from apimode.go to instances_seedfile.go
- // (the ratchet record's apimode.go move), body unchanged: same class and
- // kinds, new file, hash of the moved body.
+ // apiSession.instanceDelete moved from apimode.go (the ratchet record's
+ // apimode.go move) and its DELETE site into instanceDeleteAnswer in
+ // instances_delete.go: same class and kinds, the new unit's digest.
+ moved := false
for i, e := range entries {
if e.File == "apimode.go" && e.Unit == "apiSession.instanceDelete" {
- entries[i].File = "instances_seedfile.go"
+ if e.Class != "key-site" || e.Kinds != "lit:instances" {
+ panic("fleet-seeded-create-1 census: classification changed for apiSession.instanceDelete")
+ }
+ entries[i] = censusEntry{"instances_delete.go", "apiSession.instanceDeleteAnswer", "key-site", "lit:instances", "cfd550d41c1c0fec7c7697aee74f46105861d7bdf19100b273ffde02e08023d8"}
+ moved = true
}
}
+ if !moved {
+ panic("fleet-seeded-create-1 census: apiSession.instanceDelete is not in the base inventory")
+ }
return append(entries,
censusEntry{"internal/console/seedfile.go", "Server.abortFileSeed", "record-writer", "key:SetRecordSeed", "9098c1c4ca105896f2ac3275d7ab0044527b95be69ca15de41179a3b340c542e"},
+ censusEntry{"internal/console/seedfile.go", "Server.fileSeedDeleteRule", "record-writer", "key:SetRecordSeed", "581cc2dc1de31018c1bd6f3f04866a201d7dee6b1474a383231f5f9937656cc9"},
)
}
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 646f4c72d..8377facf1 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -263,4 +263,4 @@ plan14-root-reads-design-platform-accounts.tsv 4568bc8acc3ee632d7637cb27ca6838c7
plan14-root-reads-replica-wake-gap.tsv 837b586c0aa17936bc64201245a86c3fd66c58e7f1257436b31c75ac001ac00c
plan14-root-reads-replica-wake-gap-r3.tsv 460c6557a81afc8e5a73db79b8673a7495f84c67a0457e69a0e8443f17a265e7
plan14-root-reads-replica-wake-gap-ch.tsv 6c3e03c493dbca78fc128355f071caa2b2d5f22674b98994cd85a0cf63d40ca8
-plan14-root-reads-fleet-seeded-create-1.tsv a032de2f85c0c8bb9da2d9d343ee72cdd487531b2f784678d902cd7d16da6fd1
+plan14-root-reads-fleet-seeded-create-1.tsv 98d0dd34be0b6c535c01cbb9ebb84742ae9d938259bab1492db1ca7867244887
diff --git a/internal/provision/testdata/plan14-root-reads-fleet-seeded-create-1.tsv b/internal/provision/testdata/plan14-root-reads-fleet-seeded-create-1.tsv
index 16e3764dd..3fa4ce686 100644
--- a/internal/provision/testdata/plan14-root-reads-fleet-seeded-create-1.tsv
+++ b/internal/provision/testdata/plan14-root-reads-fleet-seeded-create-1.tsv
@@ -1,12 +1,12 @@
# Census overlay fleet-seeded-create-1, written by census-propose (#369). census-ruling-fleet-seeded-create-1, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-fleet-seeded-create-1.md.
# 1 body, 0 sites, 3 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
# 2 new dispositions: 0 reads re-frozen at their disposition with the claim, 2 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
-@legacy cdbe2eea359eb2361dc1e8f4caf42c17c34dc5e8102e0c65b19f735373ced22b internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less; fix wave 2 (whole-branch r2 P1): the kind-marker read and its refusal apply only to a socket-backed instance record (DerivesPaths), so a static or upstream-backed record of a rootfs app, which carries no runtime by design, is minted as before with no read; fewer reads, registry read sites unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: the forward phase on the hub (FleetOwners set): the scan keeps the fleet-placed records it skips and counts records per host; a trash-only marker prefetch; disputed (failed-GET) hosts; armed, a host an in-scope and a fleet record both name is given neither, its journal waits and the removal phase keeps its row (+registry:Account, +registry:App, +registry:Host x2: the collision guard, its log line and report mark); the instance loop leaves a forward host; retirable excludes forward rows. Same record keys; writes only the registry (PutForward, DeleteForward); no bucket write.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4, rules 2 and 9): after inScope, a record failing cfg.ownsRecord (on a fleet box, labelled for another box: rec.FleetBox != "" and != cfg.FleetBox) is skipped as out of scope, so it is never minted here; in the removal phase such a record no longer keeps the row (inScope && ownsRecord), so the row goes as record gone. Off a fleet ownsRecord is always true. Read sites unchanged (178). The agent's reconcile loops, not root; it mints less, never more.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 3: in the per-record loop, beside the RunSeen call, calls cfg.InteractiveSeen(rec) when the hook is set and the in-scope record carries an interactive-session marker (rec.Interactive != nil), once per record per pass, before the pass acts on it; the hook is the box worker's non-blocking note (Task 12). Same record keys and literal; no read added (registry read sites unchanged, 178); nothing written by the call; merge of origin/main 6f1f6ca6: main's fleet-box ownsRecord skip in the record scan and in the removal phase is kept as main has it (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (178);rev3=census-ruling-stateless-replicas-1;basis=Task 3b: call the optional binding callback only for applied, owned stateless rows outside dry run. Reuses this pass record and route reads after existing collision, scope, hold, policy and shape checks; no new record read or typed writer. Fix 3b round 1 I1: binding callback failure is logged and falls through to pr.applied; same per-host callback, record writers, scope and removal gates. TestStatelessBindingFailureContinuesReconcile covers second-record convergence, removal, applied bookkeeping and next-pass retry.;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: collect validated instance records from the existing scan before pool filtering; report source completeness separately. Record reads, writes, scope and removal authority unchanged.;rev3=census-ruling-agent-start-demo-1;basis=Keeps local demo rows for signed cleanup instead of deleting the binding on record absence or trash; normal/hub paths unchanged. Merge integration against origin/main 9bd45488 retains main's HA departure inventory scan and family-completeness reporting alongside the early local-demo retention guard; existing record reads retained.;rev3=census-ruling-stateless-replicas-2;basis=Final fix I1: legacy records now reach the legacy ownership/removal judgement for former set rows; a greater local incarnation remains protected. Current set-record lifetime and membership checks remain. Same record/registry reads and removal writers. TestReplicaReconcileLegacySuccessor covers both boxes with and without the judge; P11 newer/unknown set protections remain covered. merge of origin/main 6be08467: Retain main signed demo retirement ownership alongside replica set retirement and legacy successor recovery; merge-only body change, unchanged read sources.;rev3=census-ruling-agent-start-demo-3;basis=Install durable source claim holds and reconcile fresh destination seed gates; preserve owned pending routes and stop orphan seeds before cleanup. Census read-site delta: +registry:Account, +registry:App, +registry:Host, +registry:ImportGate ×2, +registry:SeedSource ×2, +whole:Route ×4.;rev3=census-ruling-region-ha-g2-fixes;basis=Run guarded pool withdrawal, extract the unchanged judged collection rules into scanInstanceRecords, and publish pre-pool HA ingress including stale refusal names. Existing direct route reads remain; indirect withdrawal reads and deletion are separately claimed.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 2: where a forward row holds an in-scope record's host, a link-placed one (registry.LinkPlacement over the listed row's Region) gets its own log line saying no pass here retires it; the record is still not applied, as before; one +registry:Region read of the listed row, no write added;rev3=census-ruling-stateless-replicas-4-drill1;basis=#511 drill 1 F4: for a stateless row with a copy assignment (record or row), the binding callback gets the row as convergeOwned left it: one local registry Get of the same host after the pass's own writes; a row that cannot be read is logged (round 1, Fable M7) and bound next pass; no record read or write added;rev3=census-ruling-fleet-seeded-create-1;basis=The removal phase asks abortRetiresRow(rec) (seedreconcile.go) instead of comparing rec.Seed.Kind to seeds.KindReplica, so an aborted file seed goes through the same row retirement and marker-decided purge as an aborted --from seed; the kind check only, no new read or write, registry read sites unchanged; the agent as carlos, not root; it retires a row it would already retire for a replica seed. registry:Account@26709,registry:Account@28579,registry:Account@47972,registry:Account@48018,registry:Account@49647,registry:Account@50024,registry:Account@50250,registry:Account@50317,registry:Account@50363,registry:Account@50456,registry:Account@50498,registry:Account@51146,registry:Account@51404,registry:Account@52306,registry:Account@52354,registry:Account@52763,registry:Account@52809,registry:Account@53054,registry:Account@53479,registry:Account@53967,registry:Account@54311,registry:Account@54913,registry:Account@55106,registry:Account@55518,registry:Account@55697,registry:Account@56021,registry:Account@56586,registry:App@26682,registry:App@28552,registry:App@47992,registry:App@48030,registry:App@49659,registry:App@50036,registry:App@50262,registry:App@50337,registry:App@50375,registry:App@50476,registry:App@51158,registry:App@51416,registry:App@52318,registry:App@52366,registry:App@52783,registry:App@52821,registry:App@53066,registry:App@53491,registry:App@53979,registry:App@54323,registry:App@54925,registry:App@55118,registry:App@55530,registry:App@55709,registry:App@56033,registry:App@56598,registry:Canary@48485,registry:ClaimOwnership@27296,registry:DBPath@37206,registry:DBPath@37221,registry:DBPath@37467,registry:DBPath@38070,registry:DBPath@38083,registry:EgressAllow@25795,registry:FleetBoxes@38566,registry:FleetBoxes@48446,registry:FleetBoxes@48594,registry:FleetBoxes@55306,registry:Gate@33103,registry:Gate@33243,registry:Gate@33530,registry:Hibernate@31775,registry:Hibernate@31973,registry:Hibernate@32038,registry:Hibernate@32377,registry:Hibernate@32728,registry:Hibernate@33038,registry:HoldOp@17800,registry:HoldOp@54658,registry:HoldOp@54749,registry:HoldOp@54884,registry:HoldOp@55260,registry:Host@15299,registry:Host@18203,registry:Host@18343,registry:Host@47951,registry:Host@48545,registry:Host@49623,registry:Host@50000,registry:Host@50164,registry:Host@50270,registry:Host@51166,registry:Host@51372,registry:Host@52646,registry:Host@52918,registry:Host@53033,registry:Host@53356,registry:Host@53453,registry:Host@53844,registry:Host@53941,registry:Host@54155,registry:Host@54357,registry:Host@54740,registry:Host@54875,registry:Host@55079,registry:Host@55152,registry:Host@55251,registry:Host@55491,registry:Host@55670,registry:Host@55749,registry:Host@55836,registry:Host@55995,registry:Host@56070,registry:Host@56156,registry:Host@56563,registry:ImportGate@34682,registry:ImportGate@34981,registry:Incarnation@17976,registry:Incarnation@48663,registry:Kind@18188,registry:Kind@18328,registry:Kind@27438,registry:Kind@27804,registry:Kind@28086,registry:Kind@28306,registry:Kind@37124,registry:Kind@37137,registry:Kind@37247,registry:Kind@37260,registry:Kind@37981,registry:Kind@37992,registry:Kind@47075,registry:Kind@54146,registry:Kind@54866,registry:Kind@55242,registry:Kind@55482,registry:Kind@55827,registry:Kind@55986,registry:Kind@56147,registry:Platform@48470,registry:PolicyExpiresAt@25820,registry:Pool@47161,registry:Provisioned@26658,registry:Provisioned@28528,registry:Provisioned@47120,registry:RateLimit@33616,registry:RateLimit@33767,registry:RateLimit@34054,registry:Region@17167,registry:Region@47150,registry:ReplicaIncarnation@17684,registry:ReplicaIncarnation@17721,registry:Replication@32462,registry:Replication@32589,registry:Runtime@19372,registry:Runtime@19550,registry:Runtime@21843,registry:Runtime@31142,registry:Runtime@31196,registry:Runtime@31400,registry:Seed@35604,registry:SeedSource@34640,registry:SeedSource@34960,registry:SeedSource@35087,registry:Size@25811,registry:Socket@37172,registry:Socket@37187,registry:Socket@37484,registry:Socket@38040,registry:Socket@38053,registry:Stateless@38141,registry:Unit@37090,registry:Unit@37103,registry:Unit@38007,registry:Unit@38018,whole:ClaimOwnership@27299,whole:ClaimOwnership@27316,whole:Route@15281,whole:Route@15292,whole:Route@15310,whole:Route@16591,whole:Route@17576,whole:Route@17787,whole:Route@18102,whole:Route@18388,whole:Route@18402,whole:Route@18415,whole:Route@18438,whole:Route@19867,whole:Route@19874,whole:Route@19914,whole:Route@20275,whole:Route@20430,whole:Route@20701,whole:Route@21148,whole:Route@21199,whole:Route@21236,whole:Route@22908,whole:Route@23117,whole:Route@23456,whole:Route@23465,whole:Route@23511,whole:Route@25744,whole:Route@26303,whole:Route@26774,whole:Route@26784,whole:Route@27141,whole:Route@27148,whole:Route@27216,whole:Route@27579,whole:Route@27635,whole:Route@27705,whole:Route@27716,whole:Route@28144,whole:Route@29177,whole:Route@32128,whole:Route@34789,whole:Route@37316,whole:Route@38517,whole:Route@38623,whole:Route@38812,whole:Route@38875,whole:Route@39768,whole:Route@39813,whole:Route@39823,whole:Route@40693,whole:Route@41720,whole:Route@47186,whole:Route@47334,whole:Route@48431,whole:Route@48801,whole:Route@49575,whole:Route@49957,whole:Route@51808,whole:Route@54249,whole:Route@55397,whole:Route@55908,whole:Route@56493,whole:Route@56543 684e5d0a0c9bd33c9b99c8b1bf7f10180df09344ee6884ebb67313affe25dace
-@legacy ee8bb377fb14087a713a800ef021e11f24e9ee16bd1f1c7216f6bdbe94b197aa instances_seedfile.go apiSession.runSeedFileCreate legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-seeded-create-1;basis=New CLI path for carlos instances create --seed-file: reads the operator-named local file once (os.Open, then Stat and hashing) to compute its length and sha256 before the begin call. Runs as the invoking operator in the carlos CLI, never as root or the box agent; the path is the operator's own flag value and nothing else names it; no root read. file:Open@166 eea115895de28a13fee6422f4718d098d1a9fe33a6d1ee591ef26e3ed00ed249
-@legacy 63ea63a07dc8b1297e5771afa6e08a34931b7385aa3ce4afee2de4822bff99fe instances_seedfile.go apiSession.seedFileUpload legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-seeded-create-1;basis=New CLI upload step: reads the same operator-named file (io.ReadAll over the open file) to send it to the console door. The CLI as the invoking operator, no root; no read of a path a tenant, app or box agent can create or name. file:ReadAll@467 19c6a7d5ddf79882a4bdf3c50c2db2d52521eebb5fa9f65ccbe3c4c246b34a83
-internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less; fix wave 2 (whole-branch r2 P1): the kind-marker read and its refusal apply only to a socket-backed instance record (DerivesPaths), so a static or upstream-backed record of a rootfs app, which carries no runtime by design, is minted as before with no read; fewer reads, registry read sites unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: the forward phase on the hub (FleetOwners set): the scan keeps the fleet-placed records it skips and counts records per host; a trash-only marker prefetch; disputed (failed-GET) hosts; armed, a host an in-scope and a fleet record both name is given neither, its journal waits and the removal phase keeps its row (+registry:Account, +registry:App, +registry:Host x2: the collision guard, its log line and report mark); the instance loop leaves a forward host; retirable excludes forward rows. Same record keys; writes only the registry (PutForward, DeleteForward); no bucket write.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4, rules 2 and 9): after inScope, a record failing cfg.ownsRecord (on a fleet box, labelled for another box: rec.FleetBox != "" and != cfg.FleetBox) is skipped as out of scope, so it is never minted here; in the removal phase such a record no longer keeps the row (inScope && ownsRecord), so the row goes as record gone. Off a fleet ownsRecord is always true. Read sites unchanged (178). The agent's reconcile loops, not root; it mints less, never more.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 3: in the per-record loop, beside the RunSeen call, calls cfg.InteractiveSeen(rec) when the hook is set and the in-scope record carries an interactive-session marker (rec.Interactive != nil), once per record per pass, before the pass acts on it; the hook is the box worker's non-blocking note (Task 12). Same record keys and literal; no read added (registry read sites unchanged, 178); nothing written by the call; merge of origin/main 6f1f6ca6: main's fleet-box ownsRecord skip in the record scan and in the removal phase is kept as main has it (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (178);rev3=census-ruling-stateless-replicas-1;basis=Task 3b: call the optional binding callback only for applied, owned stateless rows outside dry run. Reuses this pass record and route reads after existing collision, scope, hold, policy and shape checks; no new record read or typed writer. Fix 3b round 1 I1: binding callback failure is logged and falls through to pr.applied; same per-host callback, record writers, scope and removal gates. TestStatelessBindingFailureContinuesReconcile covers second-record convergence, removal, applied bookkeeping and next-pass retry.;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: collect validated instance records from the existing scan before pool filtering; report source completeness separately. Record reads, writes, scope and removal authority unchanged.;rev3=census-ruling-agent-start-demo-1;basis=Keeps local demo rows for signed cleanup instead of deleting the binding on record absence or trash; normal/hub paths unchanged. Merge integration against origin/main 9bd45488 retains main's HA departure inventory scan and family-completeness reporting alongside the early local-demo retention guard; existing record reads retained.;rev3=census-ruling-stateless-replicas-2;basis=Final fix I1: legacy records now reach the legacy ownership/removal judgement for former set rows; a greater local incarnation remains protected. Current set-record lifetime and membership checks remain. Same record/registry reads and removal writers. TestReplicaReconcileLegacySuccessor covers both boxes with and without the judge; P11 newer/unknown set protections remain covered. merge of origin/main 6be08467: Retain main signed demo retirement ownership alongside replica set retirement and legacy successor recovery; merge-only body change, unchanged read sources.;rev3=census-ruling-agent-start-demo-3;basis=Install durable source claim holds and reconcile fresh destination seed gates; preserve owned pending routes and stop orphan seeds before cleanup. Census read-site delta: +registry:Account, +registry:App, +registry:Host, +registry:ImportGate ×2, +registry:SeedSource ×2, +whole:Route ×4.;rev3=census-ruling-region-ha-g2-fixes;basis=Run guarded pool withdrawal, extract the unchanged judged collection rules into scanInstanceRecords, and publish pre-pool HA ingress including stale refusal names. Existing direct route reads remain; indirect withdrawal reads and deletion are separately claimed.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 2: where a forward row holds an in-scope record's host, a link-placed one (registry.LinkPlacement over the listed row's Region) gets its own log line saying no pass here retires it; the record is still not applied, as before; one +registry:Region read of the listed row, no write added;rev3=census-ruling-stateless-replicas-4-drill1;basis=#511 drill 1 F4: for a stateless row with a copy assignment (record or row), the binding callback gets the row as convergeOwned left it: one local registry Get of the same host after the pass's own writes; a row that cannot be read is logged (round 1, Fable M7) and bound next pass; no record read or write added;rev3=census-ruling-fleet-seeded-create-1;basis=The removal phase asks abortRetiresRow(rec) (seedreconcile.go) instead of comparing rec.Seed.Kind to seeds.KindReplica, so an aborted file seed goes through the same row retirement and marker-decided purge as an aborted --from seed; the kind check only, no new read or write, registry read sites unchanged; the agent as carlos, not root; it retires a row it would already retire for a replica seed. registry:Account@26709,registry:Account@28579,registry:Account@47972,registry:Account@48018,registry:Account@49647,registry:Account@50024,registry:Account@50250,registry:Account@50317,registry:Account@50363,registry:Account@50456,registry:Account@50498,registry:Account@51146,registry:Account@51404,registry:Account@52306,registry:Account@52354,registry:Account@52763,registry:Account@52809,registry:Account@53054,registry:Account@53479,registry:Account@53967,registry:Account@54311,registry:Account@54913,registry:Account@55106,registry:Account@55518,registry:Account@55697,registry:Account@56021,registry:Account@56586,registry:App@26682,registry:App@28552,registry:App@47992,registry:App@48030,registry:App@49659,registry:App@50036,registry:App@50262,registry:App@50337,registry:App@50375,registry:App@50476,registry:App@51158,registry:App@51416,registry:App@52318,registry:App@52366,registry:App@52783,registry:App@52821,registry:App@53066,registry:App@53491,registry:App@53979,registry:App@54323,registry:App@54925,registry:App@55118,registry:App@55530,registry:App@55709,registry:App@56033,registry:App@56598,registry:Canary@48485,registry:ClaimOwnership@27296,registry:DBPath@37206,registry:DBPath@37221,registry:DBPath@37467,registry:DBPath@38070,registry:DBPath@38083,registry:EgressAllow@25795,registry:FleetBoxes@38566,registry:FleetBoxes@48446,registry:FleetBoxes@48594,registry:FleetBoxes@55306,registry:Gate@33103,registry:Gate@33243,registry:Gate@33530,registry:Hibernate@31775,registry:Hibernate@31973,registry:Hibernate@32038,registry:Hibernate@32377,registry:Hibernate@32728,registry:Hibernate@33038,registry:HoldOp@17800,registry:HoldOp@54658,registry:HoldOp@54749,registry:HoldOp@54884,registry:HoldOp@55260,registry:Host@15299,registry:Host@18203,registry:Host@18343,registry:Host@47951,registry:Host@48545,registry:Host@49623,registry:Host@50000,registry:Host@50164,registry:Host@50270,registry:Host@51166,registry:Host@51372,registry:Host@52646,registry:Host@52918,registry:Host@53033,registry:Host@53356,registry:Host@53453,registry:Host@53844,registry:Host@53941,registry:Host@54155,registry:Host@54357,registry:Host@54740,registry:Host@54875,registry:Host@55079,registry:Host@55152,registry:Host@55251,registry:Host@55491,registry:Host@55670,registry:Host@55749,registry:Host@55836,registry:Host@55995,registry:Host@56070,registry:Host@56156,registry:Host@56563,registry:ImportGate@34682,registry:ImportGate@34981,registry:Incarnation@17976,registry:Incarnation@48663,registry:Kind@18188,registry:Kind@18328,registry:Kind@27438,registry:Kind@27804,registry:Kind@28086,registry:Kind@28306,registry:Kind@37124,registry:Kind@37137,registry:Kind@37247,registry:Kind@37260,registry:Kind@37981,registry:Kind@37992,registry:Kind@47075,registry:Kind@54146,registry:Kind@54866,registry:Kind@55242,registry:Kind@55482,registry:Kind@55827,registry:Kind@55986,registry:Kind@56147,registry:Platform@48470,registry:PolicyExpiresAt@25820,registry:Pool@47161,registry:Provisioned@26658,registry:Provisioned@28528,registry:Provisioned@47120,registry:RateLimit@33616,registry:RateLimit@33767,registry:RateLimit@34054,registry:Region@17167,registry:Region@47150,registry:ReplicaIncarnation@17684,registry:ReplicaIncarnation@17721,registry:Replication@32462,registry:Replication@32589,registry:Runtime@19372,registry:Runtime@19550,registry:Runtime@21843,registry:Runtime@31142,registry:Runtime@31196,registry:Runtime@31400,registry:Seed@35604,registry:SeedSource@34640,registry:SeedSource@34960,registry:SeedSource@35087,registry:Size@25811,registry:Socket@37172,registry:Socket@37187,registry:Socket@37484,registry:Socket@38040,registry:Socket@38053,registry:Stateless@38141,registry:Unit@37090,registry:Unit@37103,registry:Unit@38007,registry:Unit@38018,whole:ClaimOwnership@27299,whole:ClaimOwnership@27316,whole:Route@15281,whole:Route@15292,whole:Route@15310,whole:Route@16591,whole:Route@17576,whole:Route@17787,whole:Route@18102,whole:Route@18388,whole:Route@18402,whole:Route@18415,whole:Route@18438,whole:Route@19867,whole:Route@19874,whole:Route@19914,whole:Route@20275,whole:Route@20430,whole:Route@20701,whole:Route@21148,whole:Route@21199,whole:Route@21236,whole:Route@22908,whole:Route@23117,whole:Route@23456,whole:Route@23465,whole:Route@23511,whole:Route@25744,whole:Route@26303,whole:Route@26774,whole:Route@26784,whole:Route@27141,whole:Route@27148,whole:Route@27216,whole:Route@27579,whole:Route@27635,whole:Route@27705,whole:Route@27716,whole:Route@28144,whole:Route@29177,whole:Route@32128,whole:Route@34789,whole:Route@37316,whole:Route@38517,whole:Route@38623,whole:Route@38812,whole:Route@38875,whole:Route@39768,whole:Route@39813,whole:Route@39823,whole:Route@40693,whole:Route@41720,whole:Route@47186,whole:Route@47334,whole:Route@48431,whole:Route@48801,whole:Route@49575,whole:Route@49957,whole:Route@51808,whole:Route@54249,whole:Route@55397,whole:Route@55908,whole:Route@56493,whole:Route@56543 684e5d0a0c9bd33c9b99c8b1bf7f10180df09344ee6884ebb67313affe25dace
-instances_seedfile.go apiSession.runSeedFileCreate legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-seeded-create-1;basis=New CLI path for carlos instances create --seed-file: reads the operator-named local file once (os.Open, then Stat and hashing) to compute its length and sha256 before the begin call. Runs as the invoking operator in the carlos CLI, never as root or the box agent; the path is the operator's own flag value and nothing else names it; no root read. file:Open@166 eea115895de28a13fee6422f4718d098d1a9fe33a6d1ee591ef26e3ed00ed249
-instances_seedfile.go apiSession.seedFileUpload legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-seeded-create-1;basis=New CLI upload step: reads the same operator-named file (io.ReadAll over the open file) to send it to the console door. The CLI as the invoking operator, no root; no read of a path a tenant, app or box agent can create or name. file:ReadAll@467 19c6a7d5ddf79882a4bdf3c50c2db2d52521eebb5fa9f65ccbe3c4c246b34a83
-@coverage . be777bb0eb8200011d5bf10bbd08113bff46c396cfc2f0a0b94e4c5860e14899
+@legacy ab046644d53ad87fc54b3977589af2f73143dc71330911ba292dbbc1a6477c79 internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less; fix wave 2 (whole-branch r2 P1): the kind-marker read and its refusal apply only to a socket-backed instance record (DerivesPaths), so a static or upstream-backed record of a rootfs app, which carries no runtime by design, is minted as before with no read; fewer reads, registry read sites unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: the forward phase on the hub (FleetOwners set): the scan keeps the fleet-placed records it skips and counts records per host; a trash-only marker prefetch; disputed (failed-GET) hosts; armed, a host an in-scope and a fleet record both name is given neither, its journal waits and the removal phase keeps its row (+registry:Account, +registry:App, +registry:Host x2: the collision guard, its log line and report mark); the instance loop leaves a forward host; retirable excludes forward rows. Same record keys; writes only the registry (PutForward, DeleteForward); no bucket write.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4, rules 2 and 9): after inScope, a record failing cfg.ownsRecord (on a fleet box, labelled for another box: rec.FleetBox != "" and != cfg.FleetBox) is skipped as out of scope, so it is never minted here; in the removal phase such a record no longer keeps the row (inScope && ownsRecord), so the row goes as record gone. Off a fleet ownsRecord is always true. Read sites unchanged (178). The agent's reconcile loops, not root; it mints less, never more.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 3: in the per-record loop, beside the RunSeen call, calls cfg.InteractiveSeen(rec) when the hook is set and the in-scope record carries an interactive-session marker (rec.Interactive != nil), once per record per pass, before the pass acts on it; the hook is the box worker's non-blocking note (Task 12). Same record keys and literal; no read added (registry read sites unchanged, 178); nothing written by the call; merge of origin/main 6f1f6ca6: main's fleet-box ownsRecord skip in the record scan and in the removal phase is kept as main has it (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (178);rev3=census-ruling-stateless-replicas-1;basis=Task 3b: call the optional binding callback only for applied, owned stateless rows outside dry run. Reuses this pass record and route reads after existing collision, scope, hold, policy and shape checks; no new record read or typed writer. Fix 3b round 1 I1: binding callback failure is logged and falls through to pr.applied; same per-host callback, record writers, scope and removal gates. TestStatelessBindingFailureContinuesReconcile covers second-record convergence, removal, applied bookkeeping and next-pass retry.;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: collect validated instance records from the existing scan before pool filtering; report source completeness separately. Record reads, writes, scope and removal authority unchanged.;rev3=census-ruling-agent-start-demo-1;basis=Keeps local demo rows for signed cleanup instead of deleting the binding on record absence or trash; normal/hub paths unchanged. Merge integration against origin/main 9bd45488 retains main's HA departure inventory scan and family-completeness reporting alongside the early local-demo retention guard; existing record reads retained.;rev3=census-ruling-stateless-replicas-2;basis=Final fix I1: legacy records now reach the legacy ownership/removal judgement for former set rows; a greater local incarnation remains protected. Current set-record lifetime and membership checks remain. Same record/registry reads and removal writers. TestReplicaReconcileLegacySuccessor covers both boxes with and without the judge; P11 newer/unknown set protections remain covered. merge of origin/main 6be08467: Retain main signed demo retirement ownership alongside replica set retirement and legacy successor recovery; merge-only body change, unchanged read sources.;rev3=census-ruling-agent-start-demo-3;basis=Install durable source claim holds and reconcile fresh destination seed gates; preserve owned pending routes and stop orphan seeds before cleanup. Census read-site delta: +registry:Account, +registry:App, +registry:Host, +registry:ImportGate ×2, +registry:SeedSource ×2, +whole:Route ×4.;rev3=census-ruling-region-ha-g2-fixes;basis=Run guarded pool withdrawal, extract the unchanged judged collection rules into scanInstanceRecords, and publish pre-pool HA ingress including stale refusal names. Existing direct route reads remain; indirect withdrawal reads and deletion are separately claimed.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 2: where a forward row holds an in-scope record's host, a link-placed one (registry.LinkPlacement over the listed row's Region) gets its own log line saying no pass here retires it; the record is still not applied, as before; one +registry:Region read of the listed row, no write added;rev3=census-ruling-stateless-replicas-4-drill1;basis=#511 drill 1 F4: for a stateless row with a copy assignment (record or row), the binding callback gets the row as convergeOwned left it: one local registry Get of the same host after the pass's own writes; a row that cannot be read is logged (round 1, Fable M7) and bound next pass; no record read or write added;rev3=census-ruling-fleet-seeded-create-1;basis=In the per-record seed dispatch (the seedFinishAbort case), Reconcile asks abortRetiresRow(rec) (seedreconcile.go) instead of comparing rec.Seed.Kind to seeds.KindReplica, so an aborted file seed goes through the same row retirement and marker-decided purge as an aborted --from seed; the kind check only, no new read or write, registry read sites unchanged; the agent as carlos, not root; it retires a row it would already retire for a replica seed. registry:Account@26709,registry:Account@28579,registry:Account@47972,registry:Account@48018,registry:Account@49647,registry:Account@50024,registry:Account@50250,registry:Account@50317,registry:Account@50363,registry:Account@50456,registry:Account@50498,registry:Account@51146,registry:Account@51404,registry:Account@52306,registry:Account@52354,registry:Account@52763,registry:Account@52809,registry:Account@53054,registry:Account@53479,registry:Account@53967,registry:Account@54311,registry:Account@54913,registry:Account@55106,registry:Account@55518,registry:Account@55697,registry:Account@56021,registry:Account@56586,registry:App@26682,registry:App@28552,registry:App@47992,registry:App@48030,registry:App@49659,registry:App@50036,registry:App@50262,registry:App@50337,registry:App@50375,registry:App@50476,registry:App@51158,registry:App@51416,registry:App@52318,registry:App@52366,registry:App@52783,registry:App@52821,registry:App@53066,registry:App@53491,registry:App@53979,registry:App@54323,registry:App@54925,registry:App@55118,registry:App@55530,registry:App@55709,registry:App@56033,registry:App@56598,registry:Canary@48485,registry:ClaimOwnership@27296,registry:DBPath@37206,registry:DBPath@37221,registry:DBPath@37467,registry:DBPath@38070,registry:DBPath@38083,registry:EgressAllow@25795,registry:FleetBoxes@38566,registry:FleetBoxes@48446,registry:FleetBoxes@48594,registry:FleetBoxes@55306,registry:Gate@33103,registry:Gate@33243,registry:Gate@33530,registry:Hibernate@31775,registry:Hibernate@31973,registry:Hibernate@32038,registry:Hibernate@32377,registry:Hibernate@32728,registry:Hibernate@33038,registry:HoldOp@17800,registry:HoldOp@54658,registry:HoldOp@54749,registry:HoldOp@54884,registry:HoldOp@55260,registry:Host@15299,registry:Host@18203,registry:Host@18343,registry:Host@47951,registry:Host@48545,registry:Host@49623,registry:Host@50000,registry:Host@50164,registry:Host@50270,registry:Host@51166,registry:Host@51372,registry:Host@52646,registry:Host@52918,registry:Host@53033,registry:Host@53356,registry:Host@53453,registry:Host@53844,registry:Host@53941,registry:Host@54155,registry:Host@54357,registry:Host@54740,registry:Host@54875,registry:Host@55079,registry:Host@55152,registry:Host@55251,registry:Host@55491,registry:Host@55670,registry:Host@55749,registry:Host@55836,registry:Host@55995,registry:Host@56070,registry:Host@56156,registry:Host@56563,registry:ImportGate@34682,registry:ImportGate@34981,registry:Incarnation@17976,registry:Incarnation@48663,registry:Kind@18188,registry:Kind@18328,registry:Kind@27438,registry:Kind@27804,registry:Kind@28086,registry:Kind@28306,registry:Kind@37124,registry:Kind@37137,registry:Kind@37247,registry:Kind@37260,registry:Kind@37981,registry:Kind@37992,registry:Kind@47075,registry:Kind@54146,registry:Kind@54866,registry:Kind@55242,registry:Kind@55482,registry:Kind@55827,registry:Kind@55986,registry:Kind@56147,registry:Platform@48470,registry:PolicyExpiresAt@25820,registry:Pool@47161,registry:Provisioned@26658,registry:Provisioned@28528,registry:Provisioned@47120,registry:RateLimit@33616,registry:RateLimit@33767,registry:RateLimit@34054,registry:Region@17167,registry:Region@47150,registry:ReplicaIncarnation@17684,registry:ReplicaIncarnation@17721,registry:Replication@32462,registry:Replication@32589,registry:Runtime@19372,registry:Runtime@19550,registry:Runtime@21843,registry:Runtime@31142,registry:Runtime@31196,registry:Runtime@31400,registry:Seed@35604,registry:SeedSource@34640,registry:SeedSource@34960,registry:SeedSource@35087,registry:Size@25811,registry:Socket@37172,registry:Socket@37187,registry:Socket@37484,registry:Socket@38040,registry:Socket@38053,registry:Stateless@38141,registry:Unit@37090,registry:Unit@37103,registry:Unit@38007,registry:Unit@38018,whole:ClaimOwnership@27299,whole:ClaimOwnership@27316,whole:Route@15281,whole:Route@15292,whole:Route@15310,whole:Route@16591,whole:Route@17576,whole:Route@17787,whole:Route@18102,whole:Route@18388,whole:Route@18402,whole:Route@18415,whole:Route@18438,whole:Route@19867,whole:Route@19874,whole:Route@19914,whole:Route@20275,whole:Route@20430,whole:Route@20701,whole:Route@21148,whole:Route@21199,whole:Route@21236,whole:Route@22908,whole:Route@23117,whole:Route@23456,whole:Route@23465,whole:Route@23511,whole:Route@25744,whole:Route@26303,whole:Route@26774,whole:Route@26784,whole:Route@27141,whole:Route@27148,whole:Route@27216,whole:Route@27579,whole:Route@27635,whole:Route@27705,whole:Route@27716,whole:Route@28144,whole:Route@29177,whole:Route@32128,whole:Route@34789,whole:Route@37316,whole:Route@38517,whole:Route@38623,whole:Route@38812,whole:Route@38875,whole:Route@39768,whole:Route@39813,whole:Route@39823,whole:Route@40693,whole:Route@41720,whole:Route@47186,whole:Route@47334,whole:Route@48431,whole:Route@48801,whole:Route@49575,whole:Route@49957,whole:Route@51808,whole:Route@54249,whole:Route@55397,whole:Route@55908,whole:Route@56493,whole:Route@56543 684e5d0a0c9bd33c9b99c8b1bf7f10180df09344ee6884ebb67313affe25dace
+@legacy e8e5aa85b2d2f9d4705254f424ecbf628e8399517b3e27650e60f061bce8be2f instances_seedfile.go apiSession.runSeedFileCreate legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-seeded-create-1;basis=New CLI path for carlos instances create --seed-file: opens the operator-named local file once (os.Open) and reads it through io.Copy into a sha256 hash, which gives both its length (the bytes io.Copy counted) and its sha256 before the begin call; there is no Stat. It then seeks the same open file back to its start for the upload, and maps a record that vanished between polls to FS-11 with the held-hostname line. Runs as the invoking operator in the carlos CLI, never as root or the box agent; the path is the operator's own flag value, passed untrimmed, and nothing else names it; no root read. file:Open@166 6595c4c03849748694cfc78486c5a4608aad5501dfcaf82d02d6068203bab340
+@legacy 7fbf54649868c77a85bb5d30c37d26583e13369de6e675a5f745bdcba026ce96 instances_seedfile.go apiSession.seedFileUpload legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-seeded-create-1;basis=New CLI upload step: streams the caller's already-open, rewound file to the console door through doStream; it opens no path itself. Its one io.ReadAll reads the response body (res.Body) through a 1 MiB io.LimitReader, not the upload file. The CLI as the invoking operator, no root; no read of a path a tenant, app or box agent can create or name. file:ReadAll@467 19c6a7d5ddf79882a4bdf3c50c2db2d52521eebb5fa9f65ccbe3c4c246b34a83
+internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less; fix wave 2 (whole-branch r2 P1): the kind-marker read and its refusal apply only to a socket-backed instance record (DerivesPaths), so a static or upstream-backed record of a rootfs app, which carries no runtime by design, is minted as before with no read; fewer reads, registry read sites unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: the forward phase on the hub (FleetOwners set): the scan keeps the fleet-placed records it skips and counts records per host; a trash-only marker prefetch; disputed (failed-GET) hosts; armed, a host an in-scope and a fleet record both name is given neither, its journal waits and the removal phase keeps its row (+registry:Account, +registry:App, +registry:Host x2: the collision guard, its log line and report mark); the instance loop leaves a forward host; retirable excludes forward rows. Same record keys; writes only the registry (PutForward, DeleteForward); no bucket write.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4, rules 2 and 9): after inScope, a record failing cfg.ownsRecord (on a fleet box, labelled for another box: rec.FleetBox != "" and != cfg.FleetBox) is skipped as out of scope, so it is never minted here; in the removal phase such a record no longer keeps the row (inScope && ownsRecord), so the row goes as record gone. Off a fleet ownsRecord is always true. Read sites unchanged (178). The agent's reconcile loops, not root; it mints less, never more.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 3: in the per-record loop, beside the RunSeen call, calls cfg.InteractiveSeen(rec) when the hook is set and the in-scope record carries an interactive-session marker (rec.Interactive != nil), once per record per pass, before the pass acts on it; the hook is the box worker's non-blocking note (Task 12). Same record keys and literal; no read added (registry read sites unchanged, 178); nothing written by the call; merge of origin/main 6f1f6ca6: main's fleet-box ownsRecord skip in the record scan and in the removal phase is kept as main has it (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (178);rev3=census-ruling-stateless-replicas-1;basis=Task 3b: call the optional binding callback only for applied, owned stateless rows outside dry run. Reuses this pass record and route reads after existing collision, scope, hold, policy and shape checks; no new record read or typed writer. Fix 3b round 1 I1: binding callback failure is logged and falls through to pr.applied; same per-host callback, record writers, scope and removal gates. TestStatelessBindingFailureContinuesReconcile covers second-record convergence, removal, applied bookkeeping and next-pass retry.;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: collect validated instance records from the existing scan before pool filtering; report source completeness separately. Record reads, writes, scope and removal authority unchanged.;rev3=census-ruling-agent-start-demo-1;basis=Keeps local demo rows for signed cleanup instead of deleting the binding on record absence or trash; normal/hub paths unchanged. Merge integration against origin/main 9bd45488 retains main's HA departure inventory scan and family-completeness reporting alongside the early local-demo retention guard; existing record reads retained.;rev3=census-ruling-stateless-replicas-2;basis=Final fix I1: legacy records now reach the legacy ownership/removal judgement for former set rows; a greater local incarnation remains protected. Current set-record lifetime and membership checks remain. Same record/registry reads and removal writers. TestReplicaReconcileLegacySuccessor covers both boxes with and without the judge; P11 newer/unknown set protections remain covered. merge of origin/main 6be08467: Retain main signed demo retirement ownership alongside replica set retirement and legacy successor recovery; merge-only body change, unchanged read sources.;rev3=census-ruling-agent-start-demo-3;basis=Install durable source claim holds and reconcile fresh destination seed gates; preserve owned pending routes and stop orphan seeds before cleanup. Census read-site delta: +registry:Account, +registry:App, +registry:Host, +registry:ImportGate ×2, +registry:SeedSource ×2, +whole:Route ×4.;rev3=census-ruling-region-ha-g2-fixes;basis=Run guarded pool withdrawal, extract the unchanged judged collection rules into scanInstanceRecords, and publish pre-pool HA ingress including stale refusal names. Existing direct route reads remain; indirect withdrawal reads and deletion are separately claimed.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 2: where a forward row holds an in-scope record's host, a link-placed one (registry.LinkPlacement over the listed row's Region) gets its own log line saying no pass here retires it; the record is still not applied, as before; one +registry:Region read of the listed row, no write added;rev3=census-ruling-stateless-replicas-4-drill1;basis=#511 drill 1 F4: for a stateless row with a copy assignment (record or row), the binding callback gets the row as convergeOwned left it: one local registry Get of the same host after the pass's own writes; a row that cannot be read is logged (round 1, Fable M7) and bound next pass; no record read or write added;rev3=census-ruling-fleet-seeded-create-1;basis=In the per-record seed dispatch (the seedFinishAbort case), Reconcile asks abortRetiresRow(rec) (seedreconcile.go) instead of comparing rec.Seed.Kind to seeds.KindReplica, so an aborted file seed goes through the same row retirement and marker-decided purge as an aborted --from seed; the kind check only, no new read or write, registry read sites unchanged; the agent as carlos, not root; it retires a row it would already retire for a replica seed. registry:Account@26709,registry:Account@28579,registry:Account@47972,registry:Account@48018,registry:Account@49647,registry:Account@50024,registry:Account@50250,registry:Account@50317,registry:Account@50363,registry:Account@50456,registry:Account@50498,registry:Account@51146,registry:Account@51404,registry:Account@52306,registry:Account@52354,registry:Account@52763,registry:Account@52809,registry:Account@53054,registry:Account@53479,registry:Account@53967,registry:Account@54311,registry:Account@54913,registry:Account@55106,registry:Account@55518,registry:Account@55697,registry:Account@56021,registry:Account@56586,registry:App@26682,registry:App@28552,registry:App@47992,registry:App@48030,registry:App@49659,registry:App@50036,registry:App@50262,registry:App@50337,registry:App@50375,registry:App@50476,registry:App@51158,registry:App@51416,registry:App@52318,registry:App@52366,registry:App@52783,registry:App@52821,registry:App@53066,registry:App@53491,registry:App@53979,registry:App@54323,registry:App@54925,registry:App@55118,registry:App@55530,registry:App@55709,registry:App@56033,registry:App@56598,registry:Canary@48485,registry:ClaimOwnership@27296,registry:DBPath@37206,registry:DBPath@37221,registry:DBPath@37467,registry:DBPath@38070,registry:DBPath@38083,registry:EgressAllow@25795,registry:FleetBoxes@38566,registry:FleetBoxes@48446,registry:FleetBoxes@48594,registry:FleetBoxes@55306,registry:Gate@33103,registry:Gate@33243,registry:Gate@33530,registry:Hibernate@31775,registry:Hibernate@31973,registry:Hibernate@32038,registry:Hibernate@32377,registry:Hibernate@32728,registry:Hibernate@33038,registry:HoldOp@17800,registry:HoldOp@54658,registry:HoldOp@54749,registry:HoldOp@54884,registry:HoldOp@55260,registry:Host@15299,registry:Host@18203,registry:Host@18343,registry:Host@47951,registry:Host@48545,registry:Host@49623,registry:Host@50000,registry:Host@50164,registry:Host@50270,registry:Host@51166,registry:Host@51372,registry:Host@52646,registry:Host@52918,registry:Host@53033,registry:Host@53356,registry:Host@53453,registry:Host@53844,registry:Host@53941,registry:Host@54155,registry:Host@54357,registry:Host@54740,registry:Host@54875,registry:Host@55079,registry:Host@55152,registry:Host@55251,registry:Host@55491,registry:Host@55670,registry:Host@55749,registry:Host@55836,registry:Host@55995,registry:Host@56070,registry:Host@56156,registry:Host@56563,registry:ImportGate@34682,registry:ImportGate@34981,registry:Incarnation@17976,registry:Incarnation@48663,registry:Kind@18188,registry:Kind@18328,registry:Kind@27438,registry:Kind@27804,registry:Kind@28086,registry:Kind@28306,registry:Kind@37124,registry:Kind@37137,registry:Kind@37247,registry:Kind@37260,registry:Kind@37981,registry:Kind@37992,registry:Kind@47075,registry:Kind@54146,registry:Kind@54866,registry:Kind@55242,registry:Kind@55482,registry:Kind@55827,registry:Kind@55986,registry:Kind@56147,registry:Platform@48470,registry:PolicyExpiresAt@25820,registry:Pool@47161,registry:Provisioned@26658,registry:Provisioned@28528,registry:Provisioned@47120,registry:RateLimit@33616,registry:RateLimit@33767,registry:RateLimit@34054,registry:Region@17167,registry:Region@47150,registry:ReplicaIncarnation@17684,registry:ReplicaIncarnation@17721,registry:Replication@32462,registry:Replication@32589,registry:Runtime@19372,registry:Runtime@19550,registry:Runtime@21843,registry:Runtime@31142,registry:Runtime@31196,registry:Runtime@31400,registry:Seed@35604,registry:SeedSource@34640,registry:SeedSource@34960,registry:SeedSource@35087,registry:Size@25811,registry:Socket@37172,registry:Socket@37187,registry:Socket@37484,registry:Socket@38040,registry:Socket@38053,registry:Stateless@38141,registry:Unit@37090,registry:Unit@37103,registry:Unit@38007,registry:Unit@38018,whole:ClaimOwnership@27299,whole:ClaimOwnership@27316,whole:Route@15281,whole:Route@15292,whole:Route@15310,whole:Route@16591,whole:Route@17576,whole:Route@17787,whole:Route@18102,whole:Route@18388,whole:Route@18402,whole:Route@18415,whole:Route@18438,whole:Route@19867,whole:Route@19874,whole:Route@19914,whole:Route@20275,whole:Route@20430,whole:Route@20701,whole:Route@21148,whole:Route@21199,whole:Route@21236,whole:Route@22908,whole:Route@23117,whole:Route@23456,whole:Route@23465,whole:Route@23511,whole:Route@25744,whole:Route@26303,whole:Route@26774,whole:Route@26784,whole:Route@27141,whole:Route@27148,whole:Route@27216,whole:Route@27579,whole:Route@27635,whole:Route@27705,whole:Route@27716,whole:Route@28144,whole:Route@29177,whole:Route@32128,whole:Route@34789,whole:Route@37316,whole:Route@38517,whole:Route@38623,whole:Route@38812,whole:Route@38875,whole:Route@39768,whole:Route@39813,whole:Route@39823,whole:Route@40693,whole:Route@41720,whole:Route@47186,whole:Route@47334,whole:Route@48431,whole:Route@48801,whole:Route@49575,whole:Route@49957,whole:Route@51808,whole:Route@54249,whole:Route@55397,whole:Route@55908,whole:Route@56493,whole:Route@56543 684e5d0a0c9bd33c9b99c8b1bf7f10180df09344ee6884ebb67313affe25dace
+instances_seedfile.go apiSession.runSeedFileCreate legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-seeded-create-1;basis=New CLI path for carlos instances create --seed-file: opens the operator-named local file once (os.Open) and reads it through io.Copy into a sha256 hash, which gives both its length (the bytes io.Copy counted) and its sha256 before the begin call; there is no Stat. It then seeks the same open file back to its start for the upload, and maps a record that vanished between polls to FS-11 with the held-hostname line. Runs as the invoking operator in the carlos CLI, never as root or the box agent; the path is the operator's own flag value, passed untrimmed, and nothing else names it; no root read. file:Open@166 6595c4c03849748694cfc78486c5a4608aad5501dfcaf82d02d6068203bab340
+instances_seedfile.go apiSession.seedFileUpload legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-seeded-create-1;basis=New CLI upload step: streams the caller's already-open, rewound file to the console door through doStream; it opens no path itself. Its one io.ReadAll reads the response body (res.Body) through a 1 MiB io.LimitReader, not the upload file. The CLI as the invoking operator, no root; no read of a path a tenant, app or box agent can create or name. file:ReadAll@467 19c6a7d5ddf79882a4bdf3c50c2db2d52521eebb5fa9f65ccbe3c4c246b34a83
+@coverage . 6064124c44882bdb59f423d0aa03239097bd28a0a1e376461db6723c3f769023
@coverage internal/provision ab9b118ec88ae6fbdb127234539e8a9dfa4491de3cdf41d994a737bb4f291a05
@coverage internal/seeds 472f52bdae600a050a96f85bdcc46a46acc9b4f330c999aa89db7264cd45c95d