Skip to content

feat(capture): automate secure browser-to-receiver pairing - #4194

Merged
Sinity merged 3 commits into
masterfrom
feature/packet/polylogue-gnie
Aug 26, 2026
Merged

Sinity merged 3 commits into
masterfrom
feature/packet/polylogue-gnie

Conversation

@Sinity

@Sinity Sinity commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

Implements polylogue-gnie: secure browser-to-receiver pairing automated — installer-managed native-messaging host with exact extension allowlisting, loopback/identity validation without token logging, automatic bootstrap on fresh profiles, token refresh after rotation, native-host install CLI command, MV3 nativeMessaging enabled.

Verification

Native-host security tests + focused suites green in-lane; quick gate at harvest.

🤖 Generated with Claude Code

https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA

@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 48d1e759-3543-418b-9fcc-0329176eb3b1


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

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

@Sinity
Sinity merged commit 6f0b727 into master Aug 26, 2026
3 checks passed
@Sinity
Sinity deleted the feature/packet/polylogue-gnie branch August 26, 2026 04:13

@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: 301e1abc9e

ℹ️ 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/daemon/browser_capture.py Resolved
Sinity added a commit that referenced this pull request Aug 26, 2026
## Summary
Recovers the extension half of polylogue-gnie that PR #4194 merged
without: MV3 nativeMessaging permission, the background-script
bootstrapReceiverCredential flow (native host call, receiver-identity
pinning, token save), and the polylogue-browser-capture-native-host
console-script entry point — without which the merged Python host is not
invocable.

## Problem
The harvest tooling staged an allowlist of directories;
browser-extension/ and pyproject.toml fell outside it, so #4194 landed
only the Python half. Same-class stragglers from three other merged PRs
ship separately. The harvester now stages the whole tree.

## Verification
Quick gate green pre-push; extension build has no test harness in CI
(build.test.js exists for backfill; native flow exercised by the
Python-side tests from #4194).

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

https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at ef10e59):

Resolving the fixed, stale and refuted threads; tracked threads stay open.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at c950478):

  • P2 polylogue/browser_capture/native_host.py:101: Fixed on master (checked at c950478): When a receiver token is configured explicitly, the receiver persists it to the same token file that the native host's load_or_mint_receiver_token() reads (polylogue/browser_capture/receiver.py:254-255). Pairing therefore returns the token the endpoint actually enforces.
  • P2 polylogue/browser_capture/native_host.py:101: Fixed on master (checked at c950478): Token load-or-mint now runs under an exclusive flock on a sibling lock file, which serializes first-use creation across processes (polylogue/browser_capture/receiver.py:144-149).

Resolving every thread listed; confirmed defects are fixed under the named bead.

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.

1 participant