Forge contract: SetStateLabel cannot report failure #280

Closed
opened 2026-10-27 13:35:41 +00:00 by sam · 1 comment
Owner

forge.v1 SetStateLabel returns nothing, so an extension can only log a failed label change; the host never learns the issue's state label is wrong. Return an error and let the caller decide.

Acceptance criteria

A failed state-label change reaches the host as an error.


Imported from beads archie-core-hbok2.7 · GitHub #1901 · type bug · priority P2 · created 2026-10-25

forge.v1 SetStateLabel returns nothing, so an extension can only log a failed label change; the host never learns the issue's state label is wrong. Return an error and let the caller decide. ### Acceptance criteria A failed state-label change reaches the host as an error. --- _Imported from beads `archie-core-hbok2.7` · GitHub #1901 · type bug · priority P2 · created 2026-10-25_
sam added the mediumbug labels 2026-10-27 13:35:41 +00:00
sam self-assigned this 2026-10-27 13:35:41 +00:00
Author
Owner

Already fixed by 57865b51f: SetStateLabel returns its error to the caller (internal/forge/forge.go:62, internal/infrastructure/forgeext/forgeext.go:243-249).

Already fixed by 57865b51f: SetStateLabel returns its error to the caller (internal/forge/forge.go:62, internal/infrastructure/forgeext/forgeext.go:243-249).
sam closed this issue 2026-11-14 04:31:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#280