Skip to content

Integration batch 10-25: land #3189 over #3186 - #3202

Merged
trissim merged 5 commits into
mainfrom
integration/batch-1025
Oct 25, 2026
Merged

trissim merged 5 commits into
mainfrom
integration/batch-1025

Conversation

@trissim

@trissim trissim commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Integration batch 10-25. #3189 conflicts with main (#3186) and lands here, with the conflict resolved once.

Member

Local proof on 987f54b, run the way CI runs it:

  • tools/debt_ratchet.py --root src and --root tools against origin/main ac90cef: rc=0 on both, nothing introduced, found or grew.
  • pytest -p no:xdist with an absolute PYTHONPATH on test_certified_bootstrap, test_native_context_reference, test_sqlite_source_coverage and test_carry: 44 passed, 1 skipped.

Landed alone once their verdicts were recorded: #3203 #3204 #3188 #3200 #3205 #3206 #3201.

Dropped, each for its own red

🤖 Generated with Claude Code

https://claude.ai/code/session_013ejYrMLnLWah8wCDDcb57V

trissim and others added 3 commits October 24, 2026 22:13
…arlier claims

Every install mints a new claimed generation per unit. The cursor proof
(CursorOwner._matches_input) demanded that each input was sent under exactly
the current claim, so after a restart no unit could ever prove its own
history: the cursor never started and every wake rescanned the whole history
under the registry lock. The claim is a writer fence, not the identity of
who sent an input; require_live still fences a stale writer at publish.

- NativeClaimEpoch.sent_by_lineage: sent under this claim or an earlier one
  of the same name (claims only grow, thread_identity.py:565).
- The cursor proof, the recorded-reference check and InjectedInput.allows
  use it. Tool claim scope (selected_tool_broker.py:256) stays exact.
- CursorOwner.cursor reads the thread's newest row at or below its claim;
  an earlier claim's row is an InheritedCursor whose first publish inserts
  this claim's row from it. without_input stamps the current claim.
- Deletes #3186's foreign-claim bound (first_foreign_claim_source,
  SourcePrefix.before, the since() stop_seq) and its tests: nothing left
  for it to stop at.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013ejYrMLnLWah8wCDDcb57V
ACP scopes every cursor observation to the live claim
(acp_extension.py validate_scope), and cursor_publication builds the
envelope from a plain read without catching ValueError. An earlier
claim's row read before the first publish would have raised there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013ejYrMLnLWah8wCDDcb57V
@trissim
trissim force-pushed the integration/batch-1025 branch 3 times, most recently from 67421fc to 590f08d Compare October 25, 2026 03:04
@trissim trissim changed the title Integration batch 10-25: land eight approved PRs at once Integration batch 10-25: land #3189 and #3193 together Oct 25, 2026
trissim and others added 2 commits October 24, 2026 23:09
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013ejYrMLnLWah8wCDDcb57V
# Conflicts:
#	src/agent_comms/historical_native_inputs.py
@trissim
trissim force-pushed the integration/batch-1025 branch from 590f08d to 987f54b Compare October 25, 2026 03:09
@trissim trissim changed the title Integration batch 10-25: land #3189 and #3193 together Integration batch 10-25: land #3189 over #3186 Oct 25, 2026
@trissim
trissim marked this pull request as ready for review October 25, 2026 03:11
Copilot AI balanced review requested due to automatic review settings October 25, 2026 03:11
@trissim
trissim enabled auto-merge October 25, 2026 03:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@trissim
trissim merged commit 1508caa into main Oct 25, 2026
14 checks passed
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