Skip to content

Read the Closed Handoff List Once for a Closed Head - #2397

Merged
ptr727 merged 2 commits into
developfrom
feature/auto-2394
Oct 5, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/auto-2394

Conversation

@ptr727

@ptr727 ptr727 commented Oct 5, 2026

Copy link
Copy Markdown
Owner

handoff.py chain and new read the closed handoff list twice where a track head is closed, once in newest_closed and again in track_links. The list is now read once and passed to both, so the head and its head_doubts come from one snapshot. newest_closed refusals and link behavior are unchanged.

Closes on promotion: #2394

🤖 Generated with Claude Code

ptr727 and others added 2 commits October 4, 2026 19:22
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 5, 2026 02:24
@coderabbitai

coderabbitai Bot commented Oct 5, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 21af21fe-8d8b-4a15-97d7-10ab5fbab8a2
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

This PR prevents duplicate reads of the closed handoff list during head resolution.

Changes:

  • Reuses one closed-list snapshot in handoff.py.
  • Adds regression tests for chain and new.
File Description
tests/​test_handoff.py Verifies the closed list is read once per command.
scripts/​handoff.py Reuses one closed-handoff snapshot.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ptr727
ptr727 merged commit 9b93f41 into develop Oct 5, 2026
11 checks passed
ptr727 added a commit that referenced this pull request Oct 5, 2026
…nd STANDUP Deploy Sources (#2411)

## Summary

Promotes `develop` to `main` with sixteen pull requests, each already
reviewed and merged into `develop`:

- [#2368](#2368) Drop the
Path Argument From the VS Code Tasks Snippet's Mypy Swaps.
- [#2369](#2369) Match
Wildcard and Shortened Rows in Copilot's File Table.
- [#2372](#2372) Emit an
Unclosed details Block's Preceding Text Once in details_spans.
- [#2379](#2379) Exclude
an Issue Only on a Fix-Intent Reference in the Unattended Picker.
- [#2381](#2381) Refuse a
Backslash Anywhere in carry.py's relative_root.
- [#2383](#2383) Pair
Nonstandard details Markup Correctly When Blanking the Overview
Narrative.
- [#2389](#2389) Drop
Blog's Stale lineEndings driftNote From the Registry.
- [#2391](#2391) State the
Archive Registration in host-setup.md's Fleet Skills Install.
- [#2393](#2393) Verify
the Resolved Head on handoff.py's Read Path.
- [#2397](#2397) Read the
Closed Handoff List Once for a Closed Head.
- [#2400](#2400) Bound
DETAILS_TAG's Opener Tail at the Next Tag.
- [#2404](#2404) Remove
the Resolved Financial-Modeling markdownlint Entry From the Divergence
Ledger.
- [#2406](#2406) Format
Only a Scalar Step Name or Shell in the Composite-Actions Check.
- [#2408](#2408) Say the
Hub Commits the Audit Report Wherever Done-Means-Audited Is Stated.
- [#2409](#2409) Name the
Three Sources in STANDUP.md's Deploy Prerequisite.
- [#2413](#2413) Say Which
Merge-Bot Proofs Are Tracked Rather Than an Audit Report Recording Them,
the fix for this PR's CodeRabbit finding on `TODO.md`.

## Review Coverage

CodeRabbit reviewed this PR at `73c9031c`. The one commit since,
`92b0fb3d` from #2413, has parent `73c9031c` and the same tree as
`0b371236`, the head CodeRabbit reviewed on #2413 with no actionable
comments (`git rev-parse <commit>^{tree}` gives `83bd3d9f` for both). So
CodeRabbit has read every line this PR carries.

Closes #2157
Closes #2167
Closes #2186
Closes #2351
Closes #2246
Closes #2187
Closes #2279
Closes #2236
Closes #1500
Closes #2394
Closes #2386
Closes #1573
Closes #2357
Closes #1826
Closes #2270

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants