Update notes for handoff to a fresh session - #136
Merged
Conversation
Adds notes/HANDOFF.md as the single entry point: current state, the environment traps that cost time (no usable venv, pre_push_check's PATH requirement, the flake8 gate that can never pass), the billable-test guard invariant and why it must not be "simplified", prioritised next steps, and the working agreements established in these sessions. Also reconciles the two existing notes, which had gone stale or self-contradictory now that the work is merged: * handoff_130_pytest_config.md gets a banner marking it EXECUTED. A fresh session finding it in notes/ would otherwise re-run a completed plan -- and two of its instructions were wrong. Its Step 1 recommendation (switch the #109 guard to config.invocation_params.args) is unsafe: it opens PYTEST_ADDOPTS and -o testpaths= bypasses to billable tests. * session_130_pytest_config_execution.md gains the red-team section, which the merged version predated, and three corrections to its own earlier text: the "224 tests in tests/real_world/" figure was a count of decorator lines (it is 388); the claim that a bare `pytest` was "harmless while no config applied" was wrong (it aborted on master and ran zero tests); and the table suggesting the two fixes were interchangeable is now marked superseded, since only one of them is safe. Verified on master @ 760432c: tests/unit/ 79 passed, test_billable_safety 60 passed, flake8 91, #130 closed, #133 and #135 open. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012gTBDPK16HUZ3kHQ2QyjuU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation only — no code changes.
Adds
notes/HANDOFF.mdas the entry point for a fresh session, and reconciles the two existing notes now that #130 is merged.Why this is not just an addition. A fresh session reading
notes/would have foundhandoff_130_pytest_config.mdand re-run a plan that is already executed — and two of that plan's instructions were wrong. It now carries an EXECUTED banner naming both.The session log also contradicted itself once the red-team section was appended, so three claims in its earlier text are corrected in place: the "224 tests in tests/real_world/" figure (it is 388 — 224 counts decorator lines), the claim that a bare
pytestwas harmless while no config applied (it aborted on master and ran zero tests), and a table implying the two candidate guard fixes were interchangeable (only one is safe).Verified on master @
760432c: tests/unit/ 79 passed, test_billable_safety 60 passed, flake8 91, #130 closed, #133/#135 open.🤖 Generated with Claude Code
https://claude.ai/code/session_012gTBDPK16HUZ3kHQ2QyjuU