Make `Context._status` the single store for outcome, cancellation and handshake state. Migrate internal callers and existing test assertions directly, without descriptors or duplicate fields. Keep policy and live resources on `Context`. Deats, - Add shallow-frozen fault metadata in `ContextCancelReason`, delivered via Trio's public cancellation reason API. Preserve the first cancelling fault when the recorded error changes. - Distinguish local transport/protocol faults from boxed remote failures; type-check self-cancel acknowledgements before reading remote-error metadata. - Move `._final_result_is_set()` onto `ContextStatus` and migrate its five production callers plus the existing stream assertion. - Retain the human's `._scope_tn` rename and add status-only reprs. Keep public APIs, including the deprecated `.result()` wrapper. New status regression tests follow in their own commit. Prompt-IO: ai/prompt-io/opencode/20260919_context_fault_status.md (this patch was generated in some part by `opencode` using `gpt-6-astra` (`openai`)) |
||
|---|---|---|
| .. | ||
| claude | ||
| opencode | ||
| prompts | ||
| 20261011T053737Z_a966928d_prompt_io.md | ||
| 20261011T053737Z_a966928d_prompt_io.raw.md | ||
| 20261019T140536Z_9a0f220f_final_return_prompt_io.md | ||
| 20261019T140536Z_9a0f220f_final_return_prompt_io.raw.md | ||
| 20261019T145431Z_0553fcf8_ctx_return_fix_prompt_io.md | ||
| 20261019T145431Z_0553fcf8_ctx_return_fix_prompt_io.raw.md | ||
| 20261020T193619Z_0553fcf8_review_prompt_io.md | ||
| 20261020T193619Z_0553fcf8_review_prompt_io.raw.md | ||
| 20261021T145344Z_0553fcf8_task_format_prompt_io.md | ||
| 20261021T145344Z_0553fcf8_task_format_prompt_io.raw.md | ||
| 20261021T151133Z_0553fcf8_uid_move_prompt_io.md | ||
| 20261021T151133Z_0553fcf8_uid_move_prompt_io.raw.md | ||
| 20261028T193020Z_b64c89f0_cached_owner.md | ||
| 20261028T193020Z_b64c89f0_cached_owner.raw.md | ||
| README.md | ||
README.md
AI Prompt I/O Log
This directory tracks prompt inputs and model outputs for AI-assisted development across harnesses.
Policy
Prompt logging follows the NLNet generative AI policy. All substantive AI contributions are logged with:
- Original harness, and provider/model when known
- Timestamps
- The prompts that produced the output
- Unedited model output (
.raw.mdfiles)
Usage
Entries are created by the /prompt-io skill or automatically via /commit-msg integration.
Human contributors remain accountable for all code decisions. AI-generated content is never presented as human-authored work.