Repository navigation
Commit 302ddad
F1e: planning API for lane G and feedback from review actions (#60)
* 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>
* Start no planning agent for a suggestion request handled after shutdown began
Ask and the runner stop admission in shutdown step 1, but the suggestion
coordinator only closed in step 6. A request admitted before shutdown and
handled during the drain allocated a pending request and started a
planning invocation, which step 6 then cancelled. It now answers 503,
records nothing, and the UI may resend it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Read the trusted plan context with main's hardened Git invocation
main (#82, #83) replaced isolatedGitEnvironment with HARDENED_GIT_OPTIONS
and hardenedGitEnvironment. planContext() now uses both. That also adds
--no-replace-objects: before, a replace ref for the snapshot's base made
ls-tree list the replacement's tree as the trusted base entries. A test
replaces the base with the head commit and fails on the old invocation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent b1c6b1d commit 302ddad
7 files changed
Lines changed: 337 additions & 15 deletions
File tree
- runner
- test
- browser
- web
- public
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
114 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
115 | 138 | | |
116 | 139 | | |
117 | 140 | | |
| |||
129 | 152 | | |
130 | 153 | | |
131 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
132 | 160 | | |
133 | 161 | | |
134 | 162 | | |
| |||
145 | 173 | | |
146 | 174 | | |
147 | 175 | | |
| 176 | + | |
148 | 177 | | |
149 | 178 | | |
150 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
866 | | - | |
| 866 | + | |
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
| |||
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
876 | 879 | | |
877 | 880 | | |
878 | 881 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
0 commit comments