41 lines
1.4 KiB
Markdown
41 lines
1.4 KiB
Markdown
|
|
---
|
||
|
|
model: openai/gpt-5.6-sol
|
||
|
|
service: opencode
|
||
|
|
session: 76c5d31c-5a2f-4503-9b16-410ee7f4fab3
|
||
|
|
timestamp: 2026-08-20T02:30:05Z
|
||
|
|
git_ref: 88a23449
|
||
|
|
scope: docs
|
||
|
|
substantive: true
|
||
|
|
raw_file: 20260820T023005Z_88a23449_prompt_io.raw.md
|
||
|
|
---
|
||
|
|
|
||
|
|
## Prompt
|
||
|
|
|
||
|
|
Audit all documentation and executable examples once more, replacing
|
||
|
|
prescriptive `run_in_actor()` usage with `to_actor.run()` or explicit
|
||
|
|
actor/context lifetime APIs before PR #481 lands.
|
||
|
|
|
||
|
|
## Response summary
|
||
|
|
|
||
|
|
Rewrote one-shot documentation around direct blocking result delivery,
|
||
|
|
linked context execution and per-call reaping. Migrated all runnable
|
||
|
|
examples, using daemon actors where reciprocal dialogs require longer
|
||
|
|
lifetimes. Added API/guide cross-links and retained only three explicit
|
||
|
|
legacy references.
|
||
|
|
|
||
|
|
## Files changed
|
||
|
|
|
||
|
|
- `docs/` - update API, quickstart and subsystem guides to showcase
|
||
|
|
`tractor.to_actor.run()` and link its underlying core APIs.
|
||
|
|
- `examples/` - migrate one-shot calls and preserve explicit daemon
|
||
|
|
lifetimes for reciprocal or long-lived actor dialogs.
|
||
|
|
|
||
|
|
## Human edits
|
||
|
|
|
||
|
|
The human requested a final docs pass covering every place that should
|
||
|
|
showcase `to_actor` over `.run_in_actor()`. Earlier review also required
|
||
|
|
named target arguments to remain visible through `functools.partial()`
|
||
|
|
and core API references to link to local guides/reference pages. These
|
||
|
|
were human-directed agent edits; the human made no direct source-line
|
||
|
|
edits.
|