Require contact for cellular patch uptake
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (network) (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 49s
Foundation / checks (ecs) (push) Canceled after 42s
Foundation / checks (client) (push) Canceled after 49s

This commit is contained in:
dingo
2026-10-10 21:18:08 -04:00
parent 44732967e7
commit e781e929d8
5 changed files with 33 additions and 5 deletions
+3 -2
View File
@@ -56,6 +56,7 @@ enum class CellularHabitatError : std::uint8_t {
duplicate_patch,
overflow,
missing_patch,
not_in_contact,
uptake,
outside_area,
format,
@@ -86,8 +87,8 @@ class CellularHabitat {
[[nodiscard]] std::expected<std::vector<CellularPatchPerception>, CellularHabitatError>
perceive(CellularPosition position, std::uint32_t extent_um) const;
[[nodiscard]] std::expected<CellularPatchUptakeProposal, CellularHabitatError>
propose_uptake(CellularPatchAddress address, accounting::Inventory reserve,
const MetabolicBudget& budget) const noexcept;
propose_uptake(CellularPatchAddress address, CellularPosition position, std::uint32_t extent_um,
accounting::Inventory reserve, const MetabolicBudget& budget) const noexcept;
// Canonical little-endian envelope, FNV-1a64 checksum for corruption checks only.
[[nodiscard]] std::vector<std::uint8_t> snapshot() const;