Skip to content

fix(pipeline): add NotebookEdit dispatch to extract_file_changes (#552) - #561

Merged
Sinity merged 1 commit into
masterfrom
feature/fix/552-semantic-capture-notebook
Apr 28, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/fix/552-semantic-capture-notebook

Conversation

@Sinity

@Sinity Sinity commented Apr 28, 2026

Copy link
Copy Markdown
Owner

Summary

Add NotebookEdit tool dispatch to extract_file_changes in semantic_capture.py.

Problem

The function handled Read, Write, and Edit tool invocations but silently dropped NotebookEdit operations from Claude Code sessions.

Solution

Added NotebookEdit branch that extracts new_source content and records it as an edit operation.

Note: the other two items from #552 (FTS suspend outside try block, missing embed stage dispatch) were already fixed in #554 and #558.

Closes #552

🤖 Generated with Claude Code

The function only handled Read/Write/Edit tool invocations. Claude Code
also emits NotebookEdit operations, which were silently dropped.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@coderabbitai

coderabbitai Bot commented Apr 28, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@Sinity has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 45 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: c25bfb90-1f01-40fa-a65f-3fe611a38337

📥 Commits

Reviewing files that changed from the base of the PR and between 7352413 and ca2821f.

📒 Files selected for processing (1)
  • polylogue/pipeline/semantic_capture.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/fix/552-semantic-capture-notebook

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 59 minutes and 45 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@Sinity
Sinity merged commit fa4224b into master Apr 28, 2026
3 of 11 checks passed
@Sinity
Sinity deleted the feature/fix/552-semantic-capture-notebook branch April 28, 2026 08:56

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ca2821f840

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread polylogue/pipeline/semantic_capture.py Resolved

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 encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@Sinity

Sinity commented May 1, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented May 1, 2026

Copy link
Copy Markdown
✅ Actions performed

Full review triggered.

Sinity added a commit that referenced this pull request May 7, 2026
## Summary
Add NotebookEdit tool dispatch to `extract_file_changes` in
semantic_capture.py.

## Problem
The function handled Read, Write, and Edit tool invocations but silently
dropped NotebookEdit operations from Claude Code sessions.

## Solution
Added NotebookEdit branch that extracts `new_source` content and records
it as an edit operation.

Note: the other two items from #552 (FTS suspend outside try block,
missing embed stage dispatch) were already fixed in #554 and #558.

Closes #552

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 <[email protected]>
@Sinity

Sinity commented Oct 1, 2026

Copy link
Copy Markdown
Owner Author

Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.

  • 68.F063 / P1: fixed-already at the checked revision: polylogue/pipeline/semantic_capture.py:244 resolves paths through tool_input_path, whose canonical key tuple at polylogue/core/tool_identity.py:14 includes notebook_path. A valid NotebookEdit input therefore reaches the edit branch rather than failing the empty-path guard.

Only the rows listed above are dispositioned. Held findings remain open.

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.

fix: FTS triggers permanently lost if BEGIN IMMEDIATE fails after suspend

2 participants