Skip to content

Accept historical stack summaries where position exceeds size - #42

Merged
ewhauser merged 1 commit into
mainfrom
stack-position-history
Aug 5, 2026
Merged

Accept historical stack summaries where position exceeds size#42
ewhauser merged 1 commit into
mainfrom
stack-position-history

Conversation

@ewhauser

@ewhauser ewhauser commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Fixes #33 — the #12 class again: truthful historical GitHub data (position > current size after stack members merge away) poisoned resolve_stack_membership through retry exhaustion. Now accepted universally with documented historical-membership semantics: never suppresses the eager stack refresh, converges in drift and the loadgen oracle, inert in identity comparisons (every site enumerated), C-C2 recency unaffected. Real-worker regressions with the issue's exact JSON complete at attempt 1 via both REST and GraphQL.

Built and adversarially reviewed by paired Codex sol-xhigh agents in a dedicated worktree (parallel batch #33#38). Full gate green locally.

🤖 Generated with Claude Code

resolve_stack_membership retried permanently when GitHub returned a
historical stack summary whose recorded position exceeds the stack's
current size -- truthful data after members merged out from under a
merged PR, rejected by validation, the same class as the unknown base
SHA (issue #12) and handled to its standard. A position beyond the
current size now means historical membership: accepted by validation
universally (GitHub can send it for open PRs too), never a tuple match
for dispatch suppression (fails open into the eager stack refresh),
converged identically by drift and the loadgen oracle on both sides,
and inert in every identity or dedupe comparison -- each site
enumerated and tested. C-C2 recency still orders summaries regardless
of position validity. End-to-end regressions run the real worker with
the issue's exact JSON shape through both REST and GraphQL paths,
completing at attempt 1, with schema-valid fakegithub payloads via the
preview-extension validator.

Fixes #33

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ewhauser
ewhauser force-pushed the stack-position-history branch from 49717f3 to 6bc6493 Compare August 5, 2026 01:48
@ewhauser
ewhauser merged commit a81f96e into main Aug 5, 2026
5 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.

Accept historical stack summaries where position exceeds current size

1 participant