tractor/ai/prompt-io/claude
Gud Boi ee875c930b Add `.trionics.start_or_cancel()` test suite
Resolve #474 with a new `tests/trionics/test_taskc.py` (9
tests) covering the `trio.Nursery.start()` wrapper landed in
PR #464, incl. the `modden.runtime.progman.open_wks()` use
case dug out as a minimal repro.

Deats,
- the lossy `RuntimeError('child exited without calling
  task_status.started()')` only fires when the child absorbs
  its ambient cancel pre-`.started()` (graceful-teardown
  pattern); a well-behaved child surfaces `Cancelled` direct
  from `.start()` on `trio` 0.29 - verified empirically 1st.
- `test_sibling_err_not_masked_by_startup_rte`: the `modden`
  case; ONLY the root-cause sibling `ValueError` escapes the
  nursery with the wrapper vs. bare-`.start()`'s lossy
  riding-along startup-RTE noise.
- `test_pure_oob_cancel_not_morphed_to_rte`: plain ancestor
  `cs.cancel()` exits clean vs. bare's eg-wrapped RTE.
- `test_genuine_startup_rte_still_raised`: sans cancellation
  the protocol-bug RTE re-raises same as bare.
- `test_childs_own_rte_never_demoted_to_cancel`: exact-msg +
  `isinstance`-guard regression cover; a child's own
  `RuntimeError('never got started!')`/`RuntimeError(1234)`
  never demotes to a `Cancelled`.
- `test_started_value_and_args_passthru`: positional args,
  `name=` and `.started()`-value forwarding.

Also,
- `use_start_or_cancel=False` params pin upstream `trio`'s
  current lossy behaviour as wart-documentation: a break on
  a `trio` upgrade likely means new upstream porcelain and
  the wrapper deserves a re-audit.
- verified 0 flakes over 50 hammer runs + 2 impl mutations
  each caught by exactly the targeted tests.

Prompt-IO: ai/prompt-io/claude/20260702T161624Z_65bf9df5_prompt_io.md
(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-07-02 12:20:37 -04:00
..
20260406T172848Z_02b2ef1_prompt_io.md Add per-`ctx_key` isolation tests for `maybe_open_context()` 2026-04-06 14:37:47 -04:00
20260406T193125Z_85f9c5d_prompt_io.md Add xfail test for `_Cache.run_ctx` teardown race 2026-04-06 18:17:04 -04:00
20260406T222648Z_f086222_prompt_io.md Add prompt-io log for `run_ctx` teardown analysis 2026-04-09 14:42:42 -04:00
20260406T222648Z_f086222_prompt_io.raw.md Condense `.raw.md` prompt-IO logs, add `diff_cmd` refs 2026-04-16 17:44:14 -04:00
20260413T192116Z_f851f28_prompt_io.md Add `test_tpt_bind_addrs.py` + fix type-mixing bug 2026-04-14 19:54:14 -04:00
20260413T205048Z_269d939c_prompt_io.md Add `parse_endpoints()` to `_multiaddr` 2026-04-14 19:54:14 -04:00
20260413T205048Z_269d939c_prompt_io.raw.md Condense `.raw.md` prompt-IO logs, add `diff_cmd` refs 2026-04-16 17:44:14 -04:00
20260414T163300Z_befedc49_prompt_io.md Add `prefer_addr()` transport selection to `_api` 2026-04-14 19:54:14 -04:00
20260414T163300Z_befedc49_prompt_io.raw.md Condense `.raw.md` prompt-IO logs, add `diff_cmd` refs 2026-04-16 17:44:14 -04:00
20260417T034918Z_9703210_prompt_io.md Add prompt-IO log for subint spawner design kickoff 2026-04-17 16:48:22 -04:00
20260417T034918Z_9703210_prompt_io.raw.md Add prompt-IO log for subint spawner design kickoff 2026-04-17 16:48:22 -04:00
20260417T035800Z_61a73ba_prompt_io.md Add prompt-io files for "phase-A", fix typos caught by copilot 2026-04-17 18:26:41 -04:00
20260417T035800Z_61a73ba_prompt_io.raw.md Add prompt-io files for "phase-A", fix typos caught by copilot 2026-04-17 18:26:41 -04:00
20260601T231429Z_0e3e008b_prompt_io.md Add `supervise_run_process` to `trionics._subproc` 2026-06-24 18:19:16 -04:00
20260601T231429Z_0e3e008b_prompt_io.raw.md Add `supervise_run_process` to `trionics._subproc` 2026-06-24 18:19:16 -04:00
20260611T175152Z_8526985c_prompt_io.md Write the big boi docs content tree 2026-06-28 13:29:01 -04:00
20260611T175152Z_8526985c_prompt_io.raw.md Write the big boi docs content tree 2026-06-28 13:29:01 -04:00
20260625T232506Z_0a3c48fc_prompt_io.md Add prompt-io provenance for d2-ext + docstring patches 2026-06-28 13:29:02 -04:00
20260625T232506Z_0a3c48fc_prompt_io.raw.md Add prompt-io provenance for d2-ext + docstring patches 2026-06-28 13:29:02 -04:00
20260625T232506Z_3a5cfde0_prompt_io.md Add prompt-io provenance for d2-ext + docstring patches 2026-06-28 13:29:02 -04:00
20260625T232506Z_3a5cfde0_prompt_io.raw.md Add prompt-io provenance for d2-ext + docstring patches 2026-06-28 13:29:02 -04:00
20260702T161624Z_65bf9df5_prompt_io.md Add `.trionics.start_or_cancel()` test suite 2026-07-02 12:20:37 -04:00
20260702T161624Z_65bf9df5_prompt_io.raw.md Add `.trionics.start_or_cancel()` test suite 2026-07-02 12:20:37 -04:00
README.md Add per-`ctx_key` isolation tests for `maybe_open_context()` 2026-04-06 14:37:47 -04:00

README.md

AI Prompt I/O Log — claude

This directory tracks prompt inputs and model outputs for AI-assisted development using claude (Claude Code).

Policy

Prompt logging follows the NLNet generative AI policy. All substantive AI contributions are logged with: - Model name and version - Timestamps - The prompts that produced the output - Unedited model output (.raw.md files)

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.