tractor/ai/prompt-io/20261020T193619Z_0553fcf8_r...

65 lines
2.5 KiB
Markdown
Raw Normal View History

---
created_at: 2026-10-20T19:36:19Z
generated_by:
harness: opencode
provider: openai
model: openai/gpt-6.1-sol
git_ref: 0553fcf8
scope: code
substantive: true
raw_file: 20261020T193619Z_0553fcf8_review_prompt_io.raw.md
---
## Prompt
Address three selected local Tuicr comments from
`address_logging_levels@wkt-ctx_final_return_disconnect/unstaged/0553fcf`.
The human requested detailed endpoint/nursery-owner task diagnostics,
an extra newline after the post-disconnect request prose, and warning
output consistent with runtime primitive pformat conventions. The `-r`
invocation authorizes local responses only; staging and commits remain
human-controlled.
Selected parent comment IDs:
- `337f29ca-73b2-4351-b150-d0160d67a2dc`
- `2c522ded-3bf1-4827-af8f-c27822d7c48d`
- `f00171c0-7a10-455f-a9e3-dd85bfa63df8`
## Response summary
The existing pformat_task_uid helper only names the current task. Kept
detailed arbitrary-task formatting local to the regression for now, and
reused existing primitive formatters in the runtime's warning path.
Preserved the narrow final-send suppression boundary and genuine endpoint
error propagation control. Captured a selected-path pre-review Git tree
without changing the real index, plus original comment/review-state data.
## Files changed
- `tests/test_context_final_return_disconnect.py`: task snapshots and note.
- `tractor/runtime/_rpc.py`: structured primitive warning reports.
## Verification
See the raw partner for the 10-pass modern-stack check, successful Ruff
and whitespace checks, expected-red diagnostic probe, and the separately
reproduced pre-existing Trio 0.29 cancellation-provenance failure.
Neither existing environment meets every current harness version bound:
the modern downstream interpreter has pytest 9.0.2; the worktree has an
older Trio. No dependency setup or lock-file changes were authorized.
## Human edits
The captured pre-review work includes the runtime fix and endpoint-error
test control already under review. Existing comments, TODOs and review
markers were retained; this record describes only the new adjustments.
## Module-qualified call follow-up
After tooling commit `bf2bb1c9`, the human requested restoring the
existing `_pformat` module reference instead of a direct function import.
Removed that import and qualified the sibling, endpoint and owner task
calls, wrapping assignments to retain the source line-length convention.
The raw partner retains the original generation history. This formatting
correction changes no task-selection or disconnect behavior.