Follow-up: daw_error/v1 cell_id/resource_id update #46
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
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-lua-common#46
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
Track follow-up work in daw-lua-common resulting from the daw_error/v1
contract update in DAW/daw-contracts (source/cell_id clarification,
optional resource_id).
Background
daw_error/v1 was updated:
sourceis now explicitly documented as the cell's stable name/type,not a concrete instance identity (clarification of existing behavior,
not a breaking change for daw-lua-common's current usage).
cell_id(optional) added: concrete producing cell instance.resource_id(optional) added: links to a daw_i18n/v1 resource forlocalized presentation. If present,
messagemust be that resource'scanonical English text.
Questions to resolve here
daw.common.error.new()(or equivalent constructor) need anoptional
cell_id/resource_idparameter, or is this left tocallers building the table directly?
invent one here; only decide whether the constructor should be able
to pass
cell_idthrough if a caller already has one.Acceptance criteria
optional fields
References
CHANGELOG.md)
Session 2026-08-13
(init.lua), both validated as non-empty strings when present
resource_id through when an error is embedded as cause -- without
this they would have been silently dropped on nested errors
additive
table directly)
resource file location for daw-lua-common) and #48 (add resource_id
to all 171 daw_error/v1 sites, blocked by #47)