Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
B2 — Typed errors end-to-end #22
Copy link
Copy link
Closed
Labels
area:core-protocolHeadlessProtocol: wire protocol, validation, transportHeadlessProtocol: wire protocol, validation, transportbacklogTracked in docs/roadmap/improvements-backlog.mdTracked in docs/roadmap/improvements-backlog.mdpriority:highBlocks a roadmap phaseBlocks a roadmap phasetype:refactorRestructuring without behaviour changeRestructuring without behaviour change
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
area:core-protocolHeadlessProtocol: wire protocol, validation, transportHeadlessProtocol: wire protocol, validation, transportbacklogTracked in docs/roadmap/improvements-backlog.mdTracked in docs/roadmap/improvements-backlog.mdpriority:highBlocks a roadmap phaseBlocks a roadmap phasetype:refactorRestructuring without behaviour changeRestructuring without behaviour change
Type
Projects
- StatusShow more project fieldsDone
What the audit found
Replace
message.contains("ELEMENT_NOT_FOUND")string matching (both hosts;
Host/AgentBridge.swift:416-418) with an errorenum carrying the protocol code.
Milestone: Phase 2 — One host, written once
Before changing behaviour here, read
docs/roadmap/what-is-excellent.md— the contracts listed there must survive the fix — andAGENTS.mdfor build, test, and review conventions.Definition of done: the change ships with the test named above (or an equivalent), CI is green, and the corresponding line in the backlog file is checked off in the same PR.