Skip to content

fix(sem-annotate): detect anchors orphaned by squash-merge (v2.4.3) - #34

Merged
ericfitz merged 2 commits into
mainfrom
fix/sem-orphaned-anchors
Aug 14, 2026
Merged

fix(sem-annotate): detect anchors orphaned by squash-merge (v2.4.3)#34
ericfitz merged 2 commits into
mainfrom
fix/sem-orphaned-anchors

Conversation

@ericfitz

Copy link
Copy Markdown
Owner

Fixes #30.

  • scan() checks git merge-base --is-ancestor before trusting sem diff; unreachable anchors classify 'orphaned' and re-enter the worklist (loud stderr warning), instead of silently reading 'fresh'.
  • SKILL.md status vocabulary documents 'orphaned' and refines 'invalid-sha' to match the new check ordering.
  • Upstream sem CLI issue drafted at docs/upstream/sem-orphaned-anchor-staleness.md — intentionally NOT filed yet.
  • Carried doc fix from PR fix(bump): apply surfaces failures; outdated auto-syncs missing venv (v2.0.4) #33's final review: adding-adapters.md apply template now shows the error variant.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GrWcs17eM2aReHRynFbu6o

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.

sem: SEM@sha staleness detection silently no-ops when the anchor commit is orphaned by squash-merge

1 participant