You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bfe30df
Browse filesBrowse the repository at this point in the historyBrowse files
F1e: planning API for lane G and feedback from review actions
Planning endpoints over E3's coordinator and the Store: import, suggestion
start/read/cancel/apply, each through Store.userAction; E3's settlement
writes use the shutdown capability and the coordinator closes at shutdown.
Starting a suggestion is refused until a planning provider is injected.
ReviewService.planContext builds the trusted plan context from the base tree.
Review actions: change notes, segment accept and assign require an actionId
and record their feedback event in the same transaction; a later choice links
to the earlier event; choice sources are fixed-size fingerprints. The UI sends
an actionId per action.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
// A changed segment choice links to the latest earlier event for the same choice key.
771
+
if(event.supersedeLatest&&event.supersedes==null)
772
+
event={ ...event,supersedes: (this.#get("SELECT id FROM feedback_events WHERE plan_key=? AND source_ref=? AND kind IN ('segment-accept','segment-assign') ORDER BY rowid DESC LIMIT 1",key,event.sourceRef)?.idasstring|undefined)??null};
770
773
if(event.supersedes!=null&&!this.#get('SELECT 1 FROM feedback_events WHERE plan_key=? AND id=? AND source_ref=?',key,event.supersedes,event.sourceRef))
771
774
thrownewGuardRefusal('A superseded event must belong to the same source.');
0 commit comments