52 lines
1.7 KiB
Markdown
52 lines
1.7 KiB
Markdown
|
|
---
|
||
|
|
model: claude-opus-4-8
|
||
|
|
service: claude
|
||
|
|
timestamp: 2026-07-02T17:22:33Z
|
||
|
|
git_ref: 5cd190c5
|
||
|
|
diff_cmd: git diff 5cd190c5..wkt/to_actor_subpkg
|
||
|
|
---
|
||
|
|
|
||
|
|
# Raw AI output (diff-ref mode)
|
||
|
|
|
||
|
|
Step-B code lives on `wkt/to_actor_subpkg` after `5cd190c5`;
|
||
|
|
per diff-ref mode the verbatim content is reachable via the
|
||
|
|
pointer below.
|
||
|
|
|
||
|
|
## Generated files
|
||
|
|
|
||
|
|
> `git diff 5cd190c5..wkt/to_actor_subpkg -- tractor/runtime/_supervise.py`
|
||
|
|
|
||
|
|
- `ActorNursery.__init__`: `ria_nursery` param removed;
|
||
|
|
`self._ria_nursery = ria_nursery` block deleted;
|
||
|
|
`_cancel_after_result_on_exit` comment refreshed.
|
||
|
|
- `start_actor()`: `nursery=` param removed; body uses
|
||
|
|
`self._da_nursery.start(...)` directly.
|
||
|
|
- `_open_and_supervise_one_cancels_all_nursery()`: the inner
|
||
|
|
`async with (collapse_eg(), trio.open_nursery() as
|
||
|
|
ria_nursery)` layer removed; `an = ActorNursery(actor,
|
||
|
|
da_nursery, errors)` constructed once under the single
|
||
|
|
`da_nursery`; the inner-try body de-indented one level;
|
||
|
|
both error handlers retained; the da-nursery lead comment
|
||
|
|
and the outer-`except` TODO refreshed to describe the
|
||
|
|
single-nursery reality + flag the (deferred) handler-merge.
|
||
|
|
|
||
|
|
> `git diff 5cd190c5..wkt/to_actor_subpkg -- ai/conc-anal/ria_nursery_removal_plan.md`
|
||
|
|
|
||
|
|
Added a "Step-B outcome" section (collapse rationale,
|
||
|
|
handler-merge deferral, safety argument, gate result).
|
||
|
|
|
||
|
|
## Test runs (verbatim)
|
||
|
|
|
||
|
|
```
|
||
|
|
targeted gate (trio):
|
||
|
|
tests/test_cancellation.py tests/test_spawning.py
|
||
|
|
tests/test_local.py tests/test_rpc.py tests/test_to_actor.py
|
||
|
|
-> 49 passed, 1 xfailed in 88.62s
|
||
|
|
|
||
|
|
signature checks:
|
||
|
|
ActorNursery.__init__ params: ['self', 'actor', 'da_nursery', 'errors']
|
||
|
|
start_actor has nursery param: False
|
||
|
|
|
||
|
|
full-suite gate: in progress (see stepB_full.log)
|
||
|
|
```
|