Skip to content

feat(browser): add capture mission control (#2780) - #2780

Merged
Sinity merged 18 commits into
masterfrom
feature/fanout/extension-redesign
Jul 13, 2026
Merged

Sinity merged 18 commits into
masterfrom
feature/fanout/extension-redesign

Conversation

@Sinity

@Sinity Sinity commented Jul 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds the browser-extension mission-control slice: automatic capture when a conversation is newly reported missing, a bounded per-conversation decision timeline, a multi-tab popup, and a shared operator status vocabulary.

Problem

Archive-state polling could repeatedly identify a missing conversation without dispatching the existing capture route. The operator then saw no POST, no explanation of the non-action, and only a single-tab fact table.

Solution

  • src/background.js records first-seen, detected, captured, and held-with-reason events in bounded chrome.storage.local timelines, dispatches polylogue.capturePage for newly missing conversations, and retains decisions for receiver-check failures.
  • src/common.js and the provider content handlers propagate the automatic-capture reason into the production runtime POST.
  • src/operator_status.js maps archive pipeline state to Safe, Catching up, Needs attention, Failed, or Not saved, with a partial-fidelity flag and the active-card copy in one shared module.
  • src/popup.html and src/popup.js render the open supported tabs, active conversation, capture-versus-visible counts, retained quick actions, and What Polylogue did here. Raw state/request fields are collapsed under Debug.

Acceptance matrix

Bead Status Evidence
polylogue-r4no Satisfied A missing archive state records detection and dispatches the content-to-runtime capture POST in the same activation cycle; throttling records held-with-reason instead.
polylogue-bkff Satisfied Popup has a supported-tab list, active conversation card, truthful unavailable cost/tokens, and existing quick actions.
polylogue-r2kb Satisfied One shared mapper/presentation provides every requested status and partial-fidelity flag; popup list and card consume it.
polylogue-4g3n Partially satisfied Local reverse-chron first-seen, detected, captured, and held decision timeline is persisted and displayed. Remaining polylogue-4g3n scope: mirror it to a daemon-queryable event trail in the substrate-owning lane.

Verification

  • cd browser-extension && npm test -- tests/content/grok.test.js tests/background.test.js tests/popup.test.js — 57 tests passed.
  • cd browser-extension && npm run lint — ESLint passed.
  • cd browser-extension && npm test — 173 tests passed; two unrelated package-build tests failed because the local ignored .venv exposes a pre-1980 symlink timestamp that Python ZIP rejects.

Anti-vacuity: the activation regression drives the production activation → capturePage → runtime polylogue.capture → receiver POST route; removing the missing-state dispatch, runtime post handoff, or timeline append fails it. The Grok handler test evaluates the actual common and provider scripts; removing automatic reason propagation fails it. Popup tests import the actual renderer and shared operator module with tab/ledger/timeline inputs; removing the mapper, presentation consumer, timeline renderer, or tab-list rendering fails their visible assertions.

Ref polylogue-r4no
Ref polylogue-bkff
Ref polylogue-r2kb
Ref polylogue-4g3n

@Sinity Sinity changed the title feat(browser): add capture mission control feat(browser): add capture mission control (#2780) Jul 12, 2026
@coderabbitai

coderabbitai Bot commented Jul 12, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@Sinity, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 28 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5727ed00-68c6-4629-84a3-8ae4c3381f84

📥 Commits

Reviewing files that changed from the base of the PR and between c1d3c1f and edbe76d.

📒 Files selected for processing (11)
  • browser-extension/src/background.js
  • browser-extension/src/common.js
  • browser-extension/src/content/chatgpt.js
  • browser-extension/src/content/claude.js
  • browser-extension/src/content/grok.js
  • browser-extension/src/operator_status.js
  • browser-extension/src/popup.html
  • browser-extension/src/popup.js
  • browser-extension/tests/background.test.js
  • browser-extension/tests/content/grok.test.js
  • browser-extension/tests/popup.test.js
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/fanout/extension-redesign

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.

@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: c17526d244

ℹ️ 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 browser-extension/src/background.js Resolved
@Sinity

Sinity commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 1

Findings: two real runtime gaps from hostile diff/PR review.

  • Fixed pending-state optimism in c65bb69: spooled_only, ingest_pending, stale, and failed lifecycle values now override optimistic captured state across the shared status mapper, badge, and popup explanation. Focused popup tests prove a pending capture renders Catching up rather than Safe.
  • Fixed manual-capture timeline wiring in c65bb69: the production polylogue.capture runtime handler now records a captured event, including lifecycle detail, in chrome.storage. The background route test exercises that direct handler.

Verification: npm test -- tests/background.test.js (24 passed); npm test -- tests/popup.test.js (20 passed); npm run lint.

What survived scrutiny: the auto-capture and held-with-reason routes remain covered by real activation-path tests. CodeRabbit was rate-limited; its two substantive inline findings were fixed and replied to.

@Sinity

Sinity commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 2

Findings: six real closure gaps.

  • Fixed in 6c073f7: popup status refresh now re-evaluates the active tab instead of replacing provider/session/archive identity with generic receiver status; active archive state is also written to the tab ledger.
  • Fixed in 6c073f7: archive lifecycle is authoritative over optimistic captured state, including missing; badge, operator chip, and detail copy now agree.
  • Fixed in 6c073f7: corrected captured versus visible count provenance.
  • Fixed in 6c073f7: successful-capture timeline ownership is the runtime capture handler, avoiding an auto-capture double event.
  • Fixed in 6c073f7: serialized ledger and timeline read-modify-write mutations; a concurrent two-session capture test proves both records survive.
  • Fixed in f485aa1: retry queue transitions now log held/captured outcomes and preserve receiver lifecycle state.

Verification: npm test -- tests/background.test.js (26 passed); npm test -- tests/popup.test.js --reporter=verbose (21 passed); npm run lint.

What survived scrutiny: direct/manual, auto, throttled, and retry capture routes now all produce timeline evidence; no new substantive PR comments arrived. CodeRabbit remains rate-limited.

@Sinity

Sinity commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 3

Finding: a real manual-capture wiring gap remained. The content-script archive-state callback updated global state but not the multi-tab ledger, leaving its chip stale after manual capture; stale lifecycle also used the generic badge.

Fixed in 8257015: archive-state callback now writes the serialized ledger, including tab identity when available, and stale maps to the catching-up badge.

Verification: npm test -- tests/background.test.js (27 passed); npm run lint.

What survived scrutiny: lifecycle ordering, status refresh identity, capture retry evidence, captured/visible provenance, timeline single-writer behavior, and concurrent storage mutation coverage remain in place.

@Sinity

Sinity commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 4

Findings: four real active-context/product gaps.

  • Fixed in bbb1a35: global card state now updates only for the actual active tab, preventing delayed inactive-tab updates or Sync-open-tabs completions from replacing the active conversation.
  • Fixed in bbb1a35: same-session archive refresh preserves capture fidelity, assets, and captured counts; the ledger remains the durable per-conversation source.
  • Fixed in bbb1a35: retry acceptance without a receiver lifecycle is conservatively spooled_only, never Safe.
  • Fixed in bbb1a35: the active card now renders Cost / tokens with known values or explicit Unavailable, and its divergent-count test proves captured and visible provenance.

Verification: npm test -- tests/background.test.js (29 passed); npm test -- tests/popup.test.js --reporter=verbose (22 passed); npm run lint.

What survived scrutiny: inactive-tab guard, lifecycle ordering, manual archive refresh preservation, direct/auto/retry timeline routes, serialized storage mutations, and multi-tab ledger behavior. No new PR-review comments arrived.

@Sinity

Sinity commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 5

Findings: two real state-isolation gaps.

  • Fixed in 89e2fbe: retry-drained captures now retain a conservative spooled_only archive lifecycle in their per-conversation ledger and cannot replace an unrelated active card.
  • Fixed in 89e2fbe and 98bad1c: active-card writes require the current tab and conversation identity, then also the source URL captured before asynchronous work. Delayed responses after same-tab conversation or /new navigation stay in the old conversation ledger rather than overwriting the current card.

Verification: cd browser-extension && npm test -- tests/background.test.js (31 passed); npm test -- tests/popup.test.js (22 passed); npm run lint.

What survived scrutiny: timeline/ledger serialized storage writes and the active-card state guard cover inactive tabs, same-tab conversation navigation, and no-session navigation.

@Sinity

Sinity commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 6

Findings: three real closure gaps.

  • Fixed in 5fcd368: the missing-state activation test now composes capturePage with the production runtime polylogue.capture handler and asserts the receiver POST plus its captured timeline event. It fails if the runtime post handoff is removed.
  • Fixed in 5fcd368: direct successful captures persist conservative spooled_only state in the ledger before the active-card write, so inactive tabs render Catching up rather than Safe.
  • Fixed in 5fcd368: the popup derives a nonmatching active conversation card and timeline from the current tab ledger, preventing a prior global state from leaking into the current tab.

Verification: cd browser-extension && npm test -- tests/background.test.js (32 passed); npm test -- tests/popup.test.js (23 passed); npm run lint; pre-push devtools verify --quick completed successfully before push.

What survived scrutiny: the held-with-reason branch, runtime capture POST, lifecycle vocabulary, cost/unavailable display, per-conversation timeline persistence, and active-tab guard all remain exercised by production-route tests.

@Sinity

Sinity commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 7

Findings: three real closure gaps.

  • Fixed in aa03fd8: automatic capture reasons now flow from capturePage through ChatGPT, Claude, and Grok content handlers to the runtime POST, so timeline attribution remains auto_capture_missing. The new Grok test evaluates the actual common and content scripts and fails if that message field is removed.
  • Fixed in aa03fd8: known conversations now record held_with_reason: archive_state_check_failed when receiver state cannot be checked, making non-action visible rather than silently replacing only transient card state.
  • Fixed in aa03fd8: popup presentation strings now originate in operator_status.js; the popup consumes that shared presentation instead of independently remapping archive lifecycle copy.

Verification: cd browser-extension && npm test -- tests/content/grok.test.js tests/background.test.js tests/popup.test.js (57 passed); npm run lint; syntax checks for changed source files. The broad npm test run had 173 passing tests and two unrelated build-archive failures: the local ignored .venv contains a symlink/mtime before ZIP’s 1980 floor, which the build script copies without excluding.

What survived scrutiny: automatic POST and held branches, canonical vocabulary, per-conversation persistence, and active-card identity are all backed by production-path tests.

@Sinity

Sinity commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 8

Findings: two real runtime gaps and one PR-body accuracy issue.

  • Fixed in 076554d: before automatic capture has a side effect, it re-reads the tab and requires the original URL/provider/conversation identity. A navigation now records held_with_reason: tab_navigation_changed for the original missing conversation instead of capturing the new page.
  • Fixed in 076554d: background polling and popup ledger/timeline selection now mirror the content layer’s Grok path, conversation/conversationId query, and DOM-fallback identity.
  • Fixed in the PR body: verification now distinguishes focused passing routes from the local ignored-.venv ZIP timestamp build fixture failure.

Verification: cd browser-extension && npm test -- tests/content/grok.test.js tests/background.test.js tests/popup.test.js (60 passed); npm run lint; syntax checks. Pre-push quick verification completed before the push.

What survived scrutiny: automatic capture only happens for the identity whose archive state was missing, held decisions are durable, query-route Grok ledgers/timelines render, and the shared status presentation remains in use.

@Sinity

Sinity commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 9

Finding: one real rejection-path gap. A non-retryable receiver response could reach a content handler as an inner {ok:false} while the outer capture response remained successful, causing false successful-capture state and no truthful decision.

Fixed in e486e3f: successful runtime receipts are explicitly {ok:true}; ChatGPT, Claude, and Grok content handlers stop on rejected receipts; the runtime records held_with_reason: capture_rejected and retains the ledger error. The capture-tab path recognizes the runtime-owned timeline decision and does not duplicate it.

Verification: cd browser-extension && npm test -- tests/content/grok.test.js tests/background.test.js tests/popup.test.js (62 passed); npm run lint; syntax checks. Pre-push quick verification completed before push.

What survived scrutiny: automatic content-to-runtime POST, rejection/no-action visibility, pending lifecycle status, active tab isolation, Grok identity, and shared popup presentation all remain covered.

@Sinity

Sinity commented Jul 13, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 10

Findings: three real reliability gaps.

  • Fixed in 3f5e755: non-retryable capture errors now update global card state only when the originating tab is active; inactive failures retain their own ledger/timeline evidence without replacing the active conversation.
  • Fixed in 3f5e755: capture-queue enqueue and drain transactions are serialized; a retry that later receives a 4xx is removed and records a terminal held/rejected decision rather than retrying forever.
  • Fixed in 3f5e755: popup provider recognition now uses strict exact-or-subdomain matching, excluding lookalike hosts.

Verification: cd browser-extension && npm test -- tests/content/grok.test.js tests/background.test.js tests/popup.test.js (66 passed); npm run lint; syntax checks. Pre-push quick verification completed before push.

What survived scrutiny: active-card isolation, automatic/retry/manual decision trails, terminal receiver outcomes, and provider identity routing are all covered by production-route regressions.

@Sinity

Sinity commented Jul 13, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 11

Findings: three real operator-trust gaps.

  • Fixed in af77135: only actual Grok conversation routes receive synthetic fallback identity; X/Twitter home timelines no longer trigger archive polling, capture, ledger, or mission-control listing.
  • Fixed in af77135: retry enqueue now reports accepted/drop/eviction outcomes; oversized and evicted conversations receive truthful held reasons rather than a false queued claim.
  • Fixed in af77135: popup-local capture failures route through a background-owned held-decision recorder and retain an online local failure state instead of falsely declaring the receiver offline.

Verification: cd browser-extension && npm test -- tests/content/grok.test.js tests/background.test.js tests/popup.test.js (69 passed); npm run lint; pre-push devtools verify --quick passed all 15 steps.

What survived scrutiny: no-op events, strict provider identity, queue durability, receiver rejection semantics, active-card isolation, and central status presentation remain backed by production routes.

@Sinity

Sinity commented Jul 13, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 12

Findings: two real popup integrity gaps.

  • Fixed in 02ee7f3: mission-control now lists only tabs with concrete conversation identity, so X/Twitter home pages are excluded.
  • Fixed in 02ee7f3: Copy reference and Open Polylogue resolve the same active-tab ledger state as the visible active card, rather than stale global state.

Verification: cd browser-extension && npm test -- tests/popup.test.js (25 passed); npm run lint; pre-push quick verification passed before push.

What survived scrutiny: active-card identity, conversation-list eligibility, automatic/no-op decisions, queue outcomes, and provider routing remain aligned.

@Sinity

Sinity commented Jul 13, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review iteration 13

No legitimate gaps found across all four Beads after the final branch-diff, runtime-path, Bead-AC, PR-body, and review-thread pass. No new substantive review comments arrived; CodeRabbit remains rate-limited.

Final verification: focused production-route suite cd browser-extension && npm test -- tests/content/grok.test.js tests/background.test.js tests/popup.test.js passed 69 tests; npm run lint passed; pre-push devtools verify --quick passed all 15 steps on af77135, and the final popup-only follow-up passed lint/tests before 02ee7f3.

@Sinity

Sinity commented Jul 13, 2026

Copy link
Copy Markdown
Owner Author

Final acceptance-criteria matrix

Bead Status Evidence / remaining scope
polylogue-r4no Satisfied Missing-state polling now posts through the real content/runtime route or records a specific held decision (throttle, navigation, rejection, queue drop, or local capture failure) in the same cycle.
polylogue-bkff Satisfied Identity-qualified multi-tab list, active-card state/fidelity/cost-tokens/captured-visible, and quick actions all resolve against the current active conversation; raw diagnostics remain under Debug.
polylogue-r2kb Satisfied Shared operator mapper/presentation supplies Safe, Catching up, Needs attention, Failed, Not saved, and Partial fidelity; popup consumes it.
polylogue-4g3n Deferred-to-bead Local persisted reverse-chron timeline is satisfied. The daemon-queryable mirror remains explicitly deferred to the substrate-owned portion of polylogue-4g3n; this browser-extension lane does not modify polylogue/.

No Beads were closed or merged.

Sinity and others added 13 commits July 13, 2026 02:38
Problem:
Automatic archive-state polling could identify a missing conversation without
starting capture, leaving no POST and no operator-visible decision trail.

What changed:
Record bounded per-conversation decisions in extension storage, dispatch the
existing capture route for newly missing conversations, and expose a
mission-control popup with shared operator vocabulary, open conversations,
and the active conversation timeline.

Compatibility/migration:
Timeline data is local extension storage and starts empty for existing installs.
The receiver-side queryable event mirror remains outside this extension-only
slice.

Ref polylogue-r4no
Ref polylogue-bkff
Ref polylogue-r2kb
Ref polylogue-4g3n

Co-Authored-By: Claude <[email protected]>
Verify every archive pipeline state and partial-fidelity flag through the
production shared browser status mapper.

Ref polylogue-r2kb

Co-Authored-By: Claude <[email protected]>
Persist the first archive-state observation once per conversation so the
operator timeline explains every decision path from its beginning.

Ref polylogue-4g3n

Co-Authored-By: Claude <[email protected]>
Real r4no regression test for the automatic held-with-reason path in
the background worker.

Verified: npm test -- tests/background.test.js — 23/23 passed.

Co-Authored-By: Claude <[email protected]>
Problem:
Optimistic capture state could hide a pending archive lifecycle, and the direct
manual capture route bypassed the operator timeline.

What changed:
Make lifecycle state authoritative over optimistic capture success across the
status chip, badge, and popup detail; persist direct runtime captures in the
conversation timeline.

Ref polylogue-r2kb
Ref polylogue-4g3n

Co-Authored-By: Claude <[email protected]>
Problem:
Queued captures bypassed both timeline evidence and returned lifecycle state,
allowing a recovered pending capture to look safe.

What changed:
Record held and captured retry outcomes in the conversation timeline and carry
the receiver lifecycle into extension state.

Ref polylogue-r4no
Ref polylogue-4g3n

Co-Authored-By: Claude <[email protected]>

# Conflicts:
#	browser-extension/src/background.js
Problem:
Popup refreshes discarded active conversation identity, lifecycle ordering could
lie, capture events duplicated, and concurrent tab writes could lose evidence.

What changed:
Refresh the active archive state, serialize extension storage mutations, make
lifecycle state authoritative, assign captured/visible counts correctly, and
make runtime capture the sole successful-capture timeline writer.

Ref polylogue-r4no
Ref polylogue-bkff
Ref polylogue-r2kb
Ref polylogue-4g3n

Co-Authored-By: Claude <[email protected]>
Keep content-script archive-state responses in the tab ledger so mission-control
chips reflect manual capture convergence; render stale lifecycle as catching up.

Ref polylogue-bkff
Ref polylogue-r2kb

Co-Authored-By: Claude <[email protected]>
Problem:
Capture metadata and global card state could drift across archive refreshes or
inactive-tab work, while the mission-control card omitted cost/token context.

What changed:
Guard global state by the actual active tab, preserve same-session capture
metadata, keep retries conservative, and render truthful cost/token data.

Ref polylogue-bkff
Ref polylogue-r2kb
Ref polylogue-4g3n

Co-Authored-By: Claude <[email protected]>
Problem: delayed tab work and background retry drains could overwrite the\nactive conversation card. Receiver capture results may use temporary IDs that\ndo not identify the browser page.\n\nWhat changed: associate retry work with its originating tab, restrict active\ncard writes to the currently active matching conversation, and retain a retry\nresult in that conversation ledger. Use stable page identity for capture UI\nstate while preserving receiver identity in the ledger.\n\nRef polylogue-r2kb\nRef polylogue-4g3n\n\nCo-Authored-By: Codex <[email protected]>
Problem: a same-tab navigation from a conversation to a no-session page\ncould still accept a delayed archive-state response for the former page.\n\nWhat changed: active-card state writes now require both the active tab ID and\nthe source URL captured before asynchronous work. Per-conversation ledger\nwrites remain intact.\n\nRef polylogue-bkff\nRef polylogue-r2kb\nRef polylogue-4g3n\n\nCo-Authored-By: Codex <[email protected]>
Problem: auto-capture coverage stopped before the runtime POST, and an\ninactive direct capture could omit its pending lifecycle from the ledger. The\npopup could also pair the current tab with a stale global card and timeline.\n\nWhat changed: the activation test composes capturePage with the production\nruntime POST handler; direct captures persist conservative archive state before\nledger updates; popup cards derive nonmatching active-tab state from the\nper-conversation ledger and timeline.\n\nRef polylogue-r4no\nRef polylogue-bkff\nRef polylogue-r2kb\nRef polylogue-4g3n\n\nCo-Authored-By: Codex <[email protected]>
Problem: automatic capture lost its triggering reason in the content-script\nhandoff, failed archive-state checks left no visible decision, and popup copy\nwas independently mapped outside the shared operator vocabulary.\n\nWhat changed: propagate capture reasons through every provider handler, record a\nheld decision for known conversations when archive-state checks fail, and make\nthe shared operator module own popup state presentation copy.\n\nRef polylogue-r4no\nRef polylogue-r2kb\nRef polylogue-4g3n\n\nCo-Authored-By: Codex <[email protected]>
Sinity added 5 commits July 13, 2026 02:38
Problem: a delayed missing-state response could capture a different\nconversation after same-tab navigation, and Grok query conversations did not\nshare capture, polling, and popup identity.\n\nWhat changed: automatic capture revalidates the original tab URL and\nconversation before its side effect, logging a held decision when navigation\nchanged. Background and popup now mirror Grok query and DOM fallback identity.\n\nRef polylogue-r4no\nRef polylogue-bkff\nRef polylogue-4g3n\n\nCo-Authored-By: Codex <[email protected]>
Problem: non-retryable receiver rejections could be wrapped as successful\ncontent captures, leaving automatic and manual timelines without a truthful\ndecision outcome.\n\nWhat changed: successful runtime receipts are explicit, content handlers stop\non rejected receipts, and the runtime logs rejected captures as held decisions\nwith preserved ledger error context.\n\nRef polylogue-r4no\nRef polylogue-4g3n\n\nCo-Authored-By: Codex <[email protected]>
Problem: inactive rejection handling could overwrite the active card, concurrent\nretry enqueues could lose capture work, terminal retry failures looped forever,\nand popup provider detection accepted lookalike hosts.\n\nWhat changed: rejection state is tab-scoped, queue mutations are serialized,\nterminal retry failures become held decisions, and popup hostname matching uses\nstrict domain boundaries.\n\nRef polylogue-r4no\nRef polylogue-bkff\nRef polylogue-r2kb\nRef polylogue-4g3n\n\nCo-Authored-By: Codex <[email protected]>
Problem: non-conversation X pages acquired synthetic identities, bounded retry\ndrops were reported as queued, and popup-local capture failures were shown as\nreceiver outages without a decision event.\n\nWhat changed: restrict synthetic Grok identity to conversation routes, report\nqueue drops and evictions honestly, and route local popup capture failures into\nthe background timeline and tab-scoped status.\n\nRef polylogue-r4no\nRef polylogue-r2kb\nRef polylogue-bkff\nRef polylogue-4g3n\n\nCo-Authored-By: Codex <[email protected]>
Problem: non-conversation X/Twitter pages appeared as conversations, and\nquick actions could target stale global state instead of the displayed card.\n\nWhat changed: list entries require a concrete conversation identity and quick\nactions resolve the same active-tab ledger state as the card.\n\nRef polylogue-bkff\nRef polylogue-r4no\nRef polylogue-4g3n\n\nCo-Authored-By: Codex <[email protected]>
@Sinity
Sinity force-pushed the feature/fanout/extension-redesign branch from 02ee7f3 to edbe76d Compare July 13, 2026 00:46
@Sinity
Sinity merged commit 4fde802 into master Jul 13, 2026
4 of 14 checks passed
@Sinity
Sinity deleted the feature/fanout/extension-redesign branch July 13, 2026 00:46
Sinity added a commit that referenced this pull request Jul 13, 2026
…807,2780,2790,2791,2795,2802,2806,2809

uwk3, jph5 (rigor-contracts #2783), bby.17 (web-cockpit #2793), dmp
(terminal-note #2801), ra3w (basetemp-fix #2807), r4no/bkff/r2kb
(extension-redesign #2780) fully satisfied — closed. nhjs (#2793), peo
(daemon-forensics #2802), 4g3n (#2780), 67ac/212.11 (demo-corpus #2795),
rsad (mcp-ergonomics #2790, real gaps remain per 5-iteration adversarial
cap), 9e5.8.4/jnj.7 (provider-origin #2806), mrxt/37t.12/p5g/rxdo.4
(annotation-judgment #2791), s7ae.8/20d.2 (live-performance-2 #2809)
partially satisfied — noted with disposition, left open.

Also discovered and documented the actual root cause of this session's
recurring bead-revert incidents: bd reimports the live database from
.beads/issues.jsonl on every CLI invocation, so a write not immediately
exported is lost the moment the next bd command runs. Every mutation in
this commit was individually export-verified against that behavior.

Co-Authored-By: Claude <[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.

  • 53.F005 / P2: fixed-already at the checked revision: browser-extension/src/background/runtime.js:3558 appends a conversation timeline event on the successful polylogue.capture runtime path. Its event at line 3561 is captured, so direct content-script/manual captures now populate the same timeline as background captures.
  • 53.F021 / P2: fixed-already at the checked revision: browser-extension/src/operator_status.js:128 handles spooled_only, ingest_pending, and stale as catching_up before testing state.captured at line 135. An optimistic captured flag can no longer override those pending receiver lifecycle states with Safe/current.

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.

1 participant