Repository navigation
fix: project Claude transcript service ancestry - #143
Merged
Merged
Conversation
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.
Claude Code resume can parent a new user row to the preceding system/stop_hook_summary and interpose attachment nodes between conversational rows. The old verifier rejected this legitimate graph and retained uncertain/proof=0 despite correlated inbox, ACK, marker and SQLite acknowledgement.
Keep the last conversational UUID as the anchor and project explicitly permitted same-session service links onto conversational ancestry. Checkpoint tail links are revalidated during verification. Unknown graph types, missing/forward parents, UUID reuse, cycles, cross-session links and conversational forks fail closed. Only user/assistant rows supply tool or marker evidence; depth is limited to 64 and service-node count to 1024 within existing 4 MiB bounds. Tool pairing/order and independent SQLite ACK checks are unchanged.
Validation: seven-attachment resume regression failed before the fix and passed afterward; hostile graph and durable-ledger wiring cases pass (40 focused tests). Exact saved sanitized live transcript replay: old verifier false, new verifier true, SQLite ACK independently confirmed. Full pnpm verify: 129 files / 1165 tests PASS, including formatting/imports/typecheck/build. The first full run hit two unrelated temporary-lock EPERM failures in credential-concurrency tests; isolated and full reruns passed. Architectural projection approval: c8f8ef5a.
Live follow-up on a detached integration build with #137: a fresh CTO attempt read and acknowledged seed fc4c004d, but did not persist the marker before the bounded run ended; ledger remains uncertain/proof=0. This is not claimed as live success/proof1. The old arch attempt was retained unchanged, both sessions were explicitly/actually closed as documented in private evidence, the isolated relay was stopped, and pre-probe runtime/configuration restored. Offline replay of the original completed live turn and the ledger integration regression establish the graph fix separately.
Closes #138.