Define persistent cell identity and lifecycle contract #4
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type
bug
type
config
type
deployment
type/design
type
docs
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type
research
type
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/daw-contracts#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Define a dedicated DAW contract for persistent cell identity and cell lifecycle semantics.
The contract must define what makes a concrete DAW cell the same cell over time, so
cell_idcan be used consistently by runtime contracts such asdaw_error/v1,daw_event/v1, anddaw_event_response/v1.Session rationale
During the
daw_i18n/v1and runtime-contract review,sourcewas clarified to mean the stable cell name/type, while optionalcell_ididentifies the concrete producing/responding cell.The runtime contracts deliberately do not define how a
cell_idis created, persisted, restored, retired, or replaced. That lifecycle must be defined separately beforecell_idcan safely become mandatory.The intended semantic direction from the session is that a concrete cell keeps the same
cell_idfor its lifetime; reload, restart, or reactivation must not silently turn the same cell into a new identity. A temporary process, operation, invocation, event, or error identifier must not be reused ascell_id.Scope
Define the minimal contract needed for durable DAW cell identity, including:
cell_idacross reload, restart, and reactivation;cell_idand other identifiers such assource, process identity,operation_id, event IDs, and error IDs;cell_idfields already carried bydaw_error/v1,daw_event/v1, anddaw_event_response/v1.Do not fold error, event, i18n, storage implementation, or host-specific persistence policy into this contract beyond what is necessary to define cell identity semantics.
Acceptance criteria
DAW/daw-contracts.cell_id.cell_idis clearly distinguished fromsource, process IDs, operation IDs, event IDs, and error IDs.daw_error/v1,daw_event/v1, anddaw_event_response/v1is documented.cell_idbecomes mandatory based on this contract rather than inventing local lifecycle rules.