Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ Domain objects live under each domain's `entity/` tree, or under `platform/base/
4. Every field must have a comment
5. Reference other entities by ID (string or int), not directly
6. String enums with sentinel values (`""` for unknown)
7. Docs describe the data, not the choreography — say what a type or field *is* and its invariants (immutability, uniqueness scope, units, valid range), never which controller/stage/seam reads or writes it. Ownership and write-path rules live with the code that owns them (controller, store, or extension docs). Lifecycle enums may define states in terms of pipeline stages where that *is* the state's meaning (e.g. "admitted under the build budget"), but must not name the components that perform transitions.

### Extensions

Expand Down
4 changes: 2 additions & 2 deletions submitqueue/entity/speculation_path_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type SpeculationPathBuild struct {
CreatedAt int64
// Version is the version of the object. It is used for optimistic locking:
// updates are conditional on the persisted version matching the caller's
// expected version. Versioning starts at 1; version arithmetic is owned by
// the controller, the store performs a pure conditional write.
// expected version. Versioning starts at 1 and is incremented for each
// change to the object.
Version int32
}
Loading