Reproduce the piker `open_cached_client('kraken')` scenario: identical
`ctx_key` callers share one cached resource, and a new task re-enters
during `__aexit__` — hitting `assert not resources.get()` bc `values`
was popped but `resources` wasn't yet.
Deats,
- `test_moc_reentry_during_teardown` uses an `in_aexit` event to
deterministically land in the teardown window.
- marked `xfail(raises=AssertionError)` against unpatched code (fix in
`9e49eddd` or wtv lands on the `maybe_open_ctx_locking` or thereafter
patch branch).
Also, add prompt-io log for the session.
(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
Prompt-IO: ai/prompt-io/claude/20260406T193125Z_85f9c5d_prompt_io.md
|
||
|---|---|---|
| .. | ||
| 20260406T172848Z_02b2ef1_prompt_io.md | ||
| 20260406T193125Z_85f9c5d_prompt_io.md | ||
| README.md | ||
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.