Address #128 review: doc lines and an exact position assertion
Build image / build-and-push (push) Successful in 7s

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
2026-08-23 00:43:15 -04:00
co-authored by Claude Fable 5
parent 8b161c5f6d
commit 85b7dbbe3a
2 changed files with 14 additions and 9 deletions
+5 -6
View File
@@ -605,17 +605,16 @@ type DescribeGroup struct {
// DaysToMaturity is the plant's, when the catalog knows it — with PlantedAt,
// enough to say when the harvest is due.
DaysToMaturity *int `json:"daysToMaturity,omitempty"`
// Each lists the plops individually (id, version, location) only when the
// group has at most maxListedPlops of them.
// Each lists the plops individually (id, version, position, location) only
// when the group has at most maxListedPlops of them.
Each []DescribePlanting `json:"each,omitempty"`
}
// DescribePlanting is one plop with its position and a rough compass location.
// ID + Version let an agent address a single plop — remove it or move it — the
// same way DescribeObject.Version lets it edit an object; XCM/YCM (the object's
// local frame) let a move keep the layout the plops had, which "north, south"
// alone cannot: asked to move four tomatoes in a column "keeping the same
// spacing", the live assistant re-laid them as two pairs for want of these.
// same way DescribeObject.Version lets it edit an object. XCM/YCM are in the
// object's local frame: they are what lets a move keep the layout the plops
// had, which the compass word alone ("north", "south") cannot.
type DescribePlanting struct {
ID int64 `json:"id"`
Version int64 `json:"version"`