carlos / platform Public

provision: B8 census rows for the prepared manifest's create-only writers (Task 6)

createOnlyStore.Put (host), Prepared.put and Prepared.Commit (hostfiles)
write files manifests and their objects under a generation's files
prefix, never a record: nonrecord. recoveryInstallSource's digest is
re-reviewed for the one added refusal mapping (StuckReturnManifestOccupied).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev fc0786881994581e7bc37d8af14aed054257c505 parent 1e8e671
1 file changed, +9 −1
  • internal/provision/plan9_b8_census_test.go +9 −1
diff --git a/internal/provision/plan9_b8_census_test.go b/internal/provision/plan9_b8_census_test.go
index ec0eb1ff1..47dfcd8c5 100644
--- a/internal/provision/plan9_b8_census_test.go
+++ b/internal/provision/plan9_b8_census_test.go
@@ -534,6 +534,10 @@ var plan9B8CensusInventory = []censusEntry{
{"internal/host/movessources.go", "holderRecord", "key-site", "key:RecordKey", "84e840552703cd9863c9b27786baa864109e94d15b9e6f3e035c0da18622eb2e"},
// The park view's read-only store over one manifest version (Plan 5 Task 9a, M10): Put refuses and writes nothing.
{"internal/host/movessources.go", "versionStore.Put", "nonrecord", "def:Put", "a540f7fd383ea728f93a9eacb0d03ec1b8dcefcf20ade117831d0dd28faad2da"},
+ // movesfiles.go (moves Task 6, C8): the prepared manifest build's create-only
+ // store over the box's versioned data bucket; files manifests and their
+ // objects, never a record.
+ {"internal/host/movesfiles.go", "createOnlyStore.Put", "nonrecord", "def:Put,sel:PutIfAbsent", "84d637bc7993e3de5dc0b7615db9420820dbdeaf231f93e0f20a43f0749d905e"},
// Copies config acknowledgements to moves/<account>/<app>/<host>/<op>/config-ack-source.json.
{"internal/host/movesfinal.go", "sourceFinal.configAck", "nonrecord", "sel:Put", "cca53109e6945a73b7f04705d8965b3b0997f2b7d2a82fa6d86cffa4b4174e93"},
// Stamps source_parked_at through SetRecordMove, updateRecord and WriteRecord.
@@ -541,7 +545,7 @@ var plan9B8CensusInventory = []censusEntry{
// Applies install transitions only through SetRecordMove and its sequenced writer.
{"internal/host/movesinstall.go", "installRun.transition", "record-writer", "key:SetRecordMove", "1c6d390393de6065acc6d11409a493ac2fc49299b1f18f08c329a8af68f88c20"},
// The refusal callback marks the return stuck through SetRecordMove; other callbacks only read or mutate memory.
- {"internal/host/movesinstall.go", "recoveryInstallSource", "record-writer", "key:SetRecordMove", "2b5c592c20612eb5edb58856d05755244ea25bec6aa65632c6644c274a69474e"},
+ {"internal/host/movesinstall.go", "recoveryInstallSource", "record-writer", "key:SetRecordMove", "1d97e2177b7a4f3da6cb7db57cacf70d0394824bac32d7d037e7db3fd29b286f"},
// Commits the landing through SetRecordMove (MoveCommit), its refusal the rollback mark.
{"internal/host/moveslandcommit.go", "landingRun.probed", "record-writer", "key:SetRecordMove", "d914debf1ba5d011767fc06cb430c09e39a469dfb182f5996fa3bda806499952"},
// Stamps opened_at through SetRecordMove (MoveOpened) inside the hold lock, after the proved release.
@@ -735,6 +739,10 @@ var plan9B8CensusInventory = []censusEntry{
{"internal/hostfiles/contract.go", "CopyManifest", "nonrecord", "sel:Put", "9754b113ca2cad5e267402a44ac25de778e332d0c87027767f9a7daa4937d9fd"},
{"internal/hostfiles/publisher.go", "Publisher.put", "nonrecord", "sel:Put", "4bf1d0c4ab995f4e5afa8d7675cbd00446da006a82a659764f8013c011f9efaa"},
{"internal/hostfiles/publisher.go", "Publisher.Commit", "nonrecord", "sel:Put", "6674cdc1514907bff41a5a94dd45be9d496a3abad52e89cc51e801520d828c2c"},
+ // prepared.go (moves Task 6, C8): the create-only prepared manifest and its
+ // sequence-0 objects under a generation's files prefix; never a record.
+ {"internal/hostfiles/prepared.go", "Prepared.Commit", "nonrecord", "sel:Put", "9df95fd68de12c7bf823ad6ac25c02be2dcfc9e26a20e9cb59b7a7808a475800"},
+ {"internal/hostfiles/prepared.go", "Prepared.put", "nonrecord", "sel:Put", "902a2f060e7475a68d5d3eb2cfbff14f8de2cbcef35d690931f81e25ae3d9182"},
{"internal/hostguard/record.go", "writeRecord", "key-site", "key:writeRecord", "0ba1097cba3d4a5f5fc0b06765de6f8ee535befb939e83f1cc7167c7996ac60b"},
{"internal/hostops/backfill_publish.go", "Backfill.Publish", "nonrecord", "sel:Put", "7b2be2fa910195260a7c0c63a859290d4fc25e06b41a8592dc95cf2d4f41975f"},
{"internal/hostops/backfill_publish.go", "PublishCensusReport", "nonrecord", "sel:Put", "5c7ae54a82c3cf47d166c3b02123b60a9aff06e52b500a34d84cd668f4e29b36"},