Repository navigation
land #48 on main (merged into #47's branch before retarget) - #53
Merged
Merged
Conversation
ingestSession already reads opts.transcriptPath and binds a subagents summary onto the receipt when a sibling <basename>/subagents/ directory exists (test/subagent-ingest-wiring.test.js, PR #47). The session-end hook -- the only caller that matters in production -- does not pass transcriptPath through, so the reader never fires outside a test. This adds one fail-first test that runs the real hook binary against a real transcript with a real subagents sidecar and asserts today's dark result: no `subagents` field on the receipt. It is meant to flip, not pass forever. The core file (bin/hook-session-end.js) is gated and this lane cannot land the one-line fix unsigned (self-mod denial on attempt). The fix, for the signing sitting: bin/hook-session-end.js, ~line 127 - const result = ingestSession(text, { transcriptBytes: bytes }); + const result = ingestSession(text, { transcriptBytes: bytes, transcriptPath }); Suite: 953/953 (952 baseline on this branch + 1 new). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…tpath CORE (signing sitting): wire transcriptPath into the session-end hook (WO-TRACE-BRIDGE-01 last mile)
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.
PR #48 (the fail-first hook test for WO-TRACE-BRIDGE-01's last mile) merged into lotor-lane/subagent-receipts before GitHub retargeted it. This carries that one test file onto main. No new content.
🤖 Generated with Claude Code