Repository navigation
feat(browser): expose autonomous conversation transport (#2928) - #2928
Conversation
Problem: Browser automation embedded one private GPT Pro campaign in the product, while canonical capture could stop after the first snapshot and required manual popup controls to recover ordinary state. What changed: Replace launch/post/work-package machinery with one provider-neutral, receiver-authoritative BrowserAction conduit. Add owned inactive-provider execution, hash-pinned attachments, leases, exact receipts, submit-intent quarantine, and reconciliation. Make canonical ChatGPT freshness converge from provider/DOM hints and rotating inventory scans, including closed tabs. Treat ordinary pages as non-conversations and remove capture, status, open-tab sync, and receiver-check hand cranks from the primary UI. Compatibility: The private launch-job routes and Sol-specific product queue are intentionally removed. External campaign tooling must consume BrowserAction intents and ordinary Polylogue capture. Refs polylogue-ptx, polylogue-3v1, polylogue-jlme.5, polylogue-yyvg.5.
|
Warning Review limit reached
Next review available in: 25 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (17)
📝 WalkthroughWalkthroughThis PR replaces legacy browser posting and Sol Pro launch queues with a provider-neutral browser-action transport, adds durable capture-freshness convergence, updates extension operator surfaces for automatic capture, and removes obsolete launch/reverse-channel APIs, routes, tests, and packaging. ChangesBrowser action transport
Capture freshness and operator surfaces
Estimated code review effort: 5 (Critical) | ~120 minutes Possibly related issues
Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Remove unrelated live-database mutations that the Beads export hook projected into this feature branch. Keep only the browser transport, capture reliability, pairing, and external-orchestrator records owned by this change.
Restore the pre-export byte representation while retaining only the six browser-related record changes. This keeps the PR diff reviewable without altering live Beads state.
Remove the remaining capture-queue retry hand crank from the popup. Durable queue alarms and receiver-recovery drains already own this transition; only explicit trust-repair controls remain visible.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8ce4d88cd9
ℹ️ 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".
Renew receiver leases throughout provider execution so replaceable extension instances cannot duplicate or falsely quarantine slow actions. Bound queued/in-flight actions without discarding terminal receipts, and preserve the original submit-intent timestamp across heartbeats. Debounce full-transcript freshness signatures so streamed DOM mutation bursts perform one scan after a quiet interval rather than one layout-sensitive scan per mutation. Refs review threads on PR #2928.
There was a problem hiding this comment.
Actionable comments posted: 16
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
polylogue/browser_capture/server.py (1)
168-176: 🔒 Security & Privacy | 🟠 Major | ⚡ Quick winSanitize attachment metadata before sending headers.
attachment.mime_typeandattachment.nameare passed straight intosend_header()here and atpolylogue/browser_capture/server.py:302.BaseHTTPRequestHandler.send_header()encodes with strict Latin-1, so non-ASCII values will raise, and CR/LF inmime_typecan inject extra response headers. Validate the media type and use an ASCIIfilenamefallback plusfilename*for Unicode names.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@polylogue/browser_capture/server.py` around lines 168 - 176, Update _send_bytes and the corresponding header-sending path around attachment metadata to validate content_type as a safe ASCII media type without CR/LF, preventing header injection and Latin-1 encoding failures. Sanitize filename handling by using an ASCII-safe fallback for filename and adding RFC 5987 filename* encoding for Unicode names; preserve control-character rejection and apply the same behavior at both send_header locations.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.beads/issues.jsonl:
- Line 429: The closed issue lacks completed verification for acceptance
criterion 3 because the live roster did not detect the historical slot-008
collision. Reopen polylogue-2yax or update its close evidence only after a
historical replay demonstrates that collision and identifies a safe disjoint
parallel set; retain the existing delivered-tool evidence for the other
criteria.
- Line 69: Normalize the lifecycle evidence in issue polylogue-303r.2.1 by
reconciling the notes with the closed status and merged-commit close reason:
remove or correct the stale statement that PR `#2925` remains unmerged, and ensure
the recorded PR/commit and closure fields consistently indicate whether the
wiring was merged and complete.
- Line 46: Update the AC7 packaged fixture and live-proof requirements to
represent the selection as surface Chat, model GPT-5.6 Sol, and effort Pro in
separate fields. Ensure validation checks the exact model/effort combination
rather than the ambiguous “GPT-5.6 Pro” value, including any related acceptance
text or fixture assertions.
In `@browser-extension/src/actions/chatgpt.js`:
- Around line 90-93: Preserve Retry-After metadata through the full failure
path: in browser-extension/src/actions/chatgpt.js lines 90-93, attach the parsed
header value to the thrown error; in lines 292-297, serialize that value in the
failure result; and in browser-extension/src/background.js lines 1897-1900,
restore it on the reconstructed error before classification.
- Around line 128-134: Update the conversation.reply baseline and
receipt-discovery flow around providerConversation and baselineUserIds so a
failed or partial provider read (401/403/404) keeps matching restricted to DOM
user-message IDs for that attempt. Track whether the baseline is complete before
allowing provider API results, and only use API receipt matching when a complete
API baseline was established; otherwise prevent older non-rendered messages from
matching.
In `@browser-extension/src/background.js`:
- Around line 1816-1832: Update the attachment download loop to enforce
BROWSER_ACTION_MAX_EXTENSION_TRANSPORT_BYTES while consuming the response body,
rather than buffering response.arrayBuffer() without a limit. Optionally reject
a Content-Length exceeding the remaining transport budget before reading;
otherwise stream response.body, accumulate chunks with a hard limit, and throw
the existing transport-limit error as soon as it is exceeded before constructing
the Uint8Array.
- Around line 2384-2400: Update both the chrome.tabs onActivated and onUpdated
handlers to treat an undefined result from refreshActiveTabArchiveState as
non-capturable. Extend each archiveState exclusion check to skip capture when
the refresh is throttled, while preserving the existing exclusions for missing,
receiver_error, and not_conversation.
- Around line 1610-1613: Update the alarm scheduling logic around queue.entries
and CAPTURE_FRESHNESS_ALARM to compute the earliest next_attempt_at_ms across
all queued entries, then schedule the named alarm using that deadline. Do not
base the alarm solely on the current provider:nativeId entry, preserving
staggered queue deadlines so later scheduling cannot postpone earlier work.
In `@browser-extension/src/content/chatgpt.js`:
- Around line 780-803: The freshnessObserver callback currently recomputes
domFreshnessSignature synchronously for every mutation. Add a short
quiet-interval debounce around signature checks, reusing a pending timer state
so bursts schedule only one recomputation; perform the existing change
comparison and queueFreshnessHint logic when the timer fires, while preserving
lastDomFreshnessSignature updates and cleanup behavior.
- Line 21: Replace the global freshnessHintTimer with per-conversation timer
state keyed by conversation ID, and update the scheduling and cancellation logic
around freshness hints to use that key. Ensure unrelated DOM or push events
cannot cancel another conversation’s pending native hint, including hints for
closed conversations awaiting recapture.
In `@browser-extension/src/operator_status.js`:
- Around line 365-370: Update the status assignment in the freshness entries
mapping to use the existing running work status when entry.lease_owner is
present, while preserving the receiver-offline status precedence and queued
status for unleased entries.
In `@browser-extension/src/popup.js`:
- Around line 139-155: Preserve globalState.error in the synthesized onlineState
used by the early returns for unknown providers and missing sessions. Update the
onlineState construction near the context.provider and context.sessionId checks
to carry the existing receiver error field through both returned page states, so
downstream handling can distinguish token or pairing failures from an
unreachable receiver.
In `@polylogue/browser_capture/actions.py`:
- Around line 74-75: Update _action_dir to reject non-canonical action IDs by
validating that action_id equals _safe_token(action_id) before constructing the
path, rather than silently normalizing it. Ensure invalid route IDs propagate as
HTTP 400 for all reads and mutations using this helper.
- Around line 453-457: Update the progress handling around the action status
assignment so an existing submit_intent status remains unchanged for later
progress phases. Continue recording submit_intent_at and refreshing the lease as
appropriate, but only transition non-submit_intent actions to preparing;
preserve submit_intent until terminal outcome or reconciliation.
- Around line 387-415: Update _validate_receipt to validate submitted receipts
against action.target.conversation_id: require the receipt’s provider
conversation ID to match the requested conversation ID and require its provider
conversation URL to contain that same ID. Preserve the existing completeness and
provider-evidence checks, and reject mismatches with BrowserActionConflictError.
In `@polylogue/daemon/browser_capture.py`:
- Around line 227-234: Update the receiver setup in the browser-capture action
path to resolve authentication using the active mode and options, matching the
auth-resolution flow used by serve_command. Pass that resolved configuration
into BrowserCaptureReceiverConfig and derive receiver_id via
receiver_identity(receiver_config), preserving compatibility with --auth-token
and --allow-no-auth.
---
Outside diff comments:
In `@polylogue/browser_capture/server.py`:
- Around line 168-176: Update _send_bytes and the corresponding header-sending
path around attachment metadata to validate content_type as a safe ASCII media
type without CR/LF, preventing header injection and Latin-1 encoding failures.
Sanitize filename handling by using an ASCII-safe fallback for filename and
adding RFC 5987 filename* encoding for Unicode names; preserve control-character
rejection and apply the same behavior at both send_header locations.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 78ffc54d-a6d6-4eb5-8b18-1f175741b2f1
📒 Files selected for processing (40)
.beads/issues.jsonlbrowser-extension/eslint.config.jsbrowser-extension/src/actions/chatgpt.jsbrowser-extension/src/background.jsbrowser-extension/src/capture/freshness.jsbrowser-extension/src/common.jsbrowser-extension/src/content/ambient_surface.jsbrowser-extension/src/content/chatgpt.jsbrowser-extension/src/content/claude.jsbrowser-extension/src/launch/chatgpt_launch.jsbrowser-extension/src/operator_status.jsbrowser-extension/src/popup.htmlbrowser-extension/src/popup.jsbrowser-extension/tests/backfill.test.jsbrowser-extension/tests/background.test.jsbrowser-extension/tests/browser_action.test.jsbrowser-extension/tests/capture_freshness.test.jsbrowser-extension/tests/chatgpt_launch.test.jsbrowser-extension/tests/content/ambient_surface.test.jsbrowser-extension/tests/operator_status.test.jsbrowser-extension/tests/page_transport.test.jsbrowser-extension/tests/popup.test.jsdocs/browser-capture.mddocs/daemon.mddocs/plans/provider-vocabulary-exclusions.yamldocs/plans/topology-target.yamldocs/topology-status.mdpolylogue/browser_capture/actions.pypolylogue/browser_capture/launch_jobs.pypolylogue/browser_capture/models.pypolylogue/browser_capture/receiver.pypolylogue/browser_capture/route_contracts.pypolylogue/browser_capture/server.pypolylogue/browser_capture/sol_pro_prompt.pypolylogue/browser_capture/work_package.pypolylogue/daemon/browser_capture.pytests/unit/browser_capture/test_actions.pytests/unit/browser_capture/test_launch_jobs.pytests/unit/browser_capture/test_post_commands.pytests/unit/browser_capture/test_work_package.py
💤 Files with no reviewable changes (11)
- browser-extension/tests/chatgpt_launch.test.js
- tests/unit/browser_capture/test_post_commands.py
- tests/unit/browser_capture/test_launch_jobs.py
- polylogue/browser_capture/sol_pro_prompt.py
- polylogue/browser_capture/work_package.py
- browser-extension/src/launch/chatgpt_launch.js
- tests/unit/browser_capture/test_work_package.py
- polylogue/browser_capture/launch_jobs.py
- browser-extension/src/content/claude.js
- browser-extension/src/common.js
- polylogue/browser_capture/receiver.py
| @@ -42,6 +43,7 @@ | |||
| {"_type":"issue","id":"polylogue-t8t","title":"Declare continuity replay scenarios and independent known-answer oracles","description":"Polylogue needs a durable black-box specification for seven operator/model continuity jobs: resume work, forensic file/session lookup, prior-art retrieval, decision lookup, failure postmortem, cost/usage audit, and live self-inspection. Individual function tests cannot state what evidence a cold model should discover or distinguish product failure from unreasonable model behavior. This bead owns reusable scenarios, independent target answers, and a failure-classification harness. z9gh.7 owns the terminal run after mandate mechanisms land; a Claude Code Workflow is only one source artifact inside one scenario.","design":"Add polylogue/product/continuity_scenarios.py as the canonical declaration registry, using the existing polylogue.scenarios ScenarioSpec/ScenarioMetadata protocols and referencing, rather than duplicating, product/workflows.py query-action recipes. Each ContinuityScenarioSpec declares sparse prompt, required fact/coverage inventory, independent oracle builder, allowed discovery state, canonical and equivalent plan families, result semantics, page/cancel/resource budgets, stop conditions, and failure taxonomy. Add devtools/continuity_replay.py as the black-box runner: it launches an isolated MCP server/client against a deterministic demo or privacy-safe incident fixture, records discovery/tool calls/server receipts, compares answer refs with an oracle built directly from fixture/source and repository evidence, and emits one machine JSON artifact. Store deterministic fixture manifests/oracle inputs under tests/data/continuity; never build the expected answer by calling the production query route under test. The parallel-Claude scenario models provider Workflow artifacts only as source records, then grades normalized run/task/call/attempt/session/claim/effect facts. tests/unit/product/test_continuity_scenarios.py validates declarations and mutation classification; tests/integration/test_continuity_replay.py exercises the real MCP walk. z9gh.7 owns the live terminal run, not this bead.","acceptance_criteria":"1. Seven executable scenario declarations cover resume, forensic debug, prior art, decision lookup, postmortem, cost, and self-inspection, plus the parallel-Claude incident variant. 2. Every scenario contains sparse original wording, required fact/coverage inventory, independently computed target population or answer, allowed discovery state, expected evidence refs, plan equivalence rules, paging/cancellation/resource bounds, and stop conditions. 3. Baseline real-agent transcripts and server receipts prove the harness can classify source/coverage, discovery/formulation, plan/pushdown, execution/cancellation, projection/rendering, and reasoning failures without confusing them. 4. The incident oracle grades the original calls using exposed curriculum: candidate list reasonable but physically oversized; operator phrase a wrong-corpus assumption; Sonnet a weak lexical proxy induced by missing structure; sessions-only query product-induced because shipped instructions advertised it; later correct topology/delegation calls are execution failures. 5. Mutation fixtures cover lost request-state continuation, capped pseudo-total search, identical-call topology replay, hidden fact/grammar discovery, missing source coverage, and unreasonable-query classification. 6. z9gh.7 consumes this catalog as the sole terminal pass/fail gate; this bead does not duplicate the final all-green walk.","notes":"[Delivery upgrade 2026-07-07T00:05:00Z] Release=D-agent-context-coordination; lane=agent-coordination; readiness=A-implementation-ready; proof=two-agent separate-worktree proof with before/after coordination envelopes. Original readiness=A-implementation-ready.\n[Prework packet 2026-07-07] Static execution packet (anchors, mechanism, plan, tests, verification): .agent/scratch/corpus-gpt-pro-2026-07-07/prework-v2/task_packets/task_packets/070_polylogue_t8t.md (depth: bead-localized-from-export; urgency: T2-foundation-before-feature-proof). Generated from master @ 8a975a40 2026-07-06 — verify source anchors before coding; line numbers are snapshot-relative.\n[2026-07-15 mandate audit] Elevated from P2 to P0. This bead is not optional cookbook polish: the missing end-to-end walk allowed individually tested MCP tools to ship while the actual continuity job was unusable. polylogue-z9gh is the incident/recovery program; this bead owns the durable black-box acceptance evidence.\nDogfood correction 2026-07-15: black-box walks must audit whether the model query was reasonable given discovery, which information was absent, and where that absence should have been exposed. The independent target answer separates product failure from agent reasoning failure.\n[2026-07-15 incident classification oracle] Grade the original calls explicitly rather than treating all model behavior as product failure: candidate list=reasonable but oversized physical request; exact operator phrase=wrong-corpus assumption; Sonnet text=weak lexical proxy induced by absent structured model/material discovery; nonterminal query_units expression=malformed under hidden grammar. Then prove the cold-model replay recovers: discover model/material/orchestration dimensions, formulate a terminal canonical plan, receive a useful first page plus complete continuation, and reach the exact coordinator/run population. The oracle must also include later correct-ID topology and delegation calls, which failed despite correct formulation, so agent reasoning cannot mask transport/executor defects.\n[2026-07-15 query-grade correction] Treat the original nonterminal query_units call as product-induced and reasonable under available instructions. The installed Polylogue skill advertised the same sessions-where-only shape for failure and file-touch recipes, while the parser only accepts sessions as a scope before a terminal unit. The replay must record both the exposed skill text and executable catalog state; mutation/parity tests fail if any shipped skill/prompt/example teaches a plan rejected by its live tool. This supersedes the earlier shorthand that classified the call only as model-malformed.\n[2026-07-15 transport oracle detail] Add mutation cases for each non-progressing recovery class: a filter-rich list whose wrapper loses all request state; a search with no offset/cursor and a capped pseudo-total; and a recursive topology whose continuation repeats the identical oversized call. A replay is successful only if every logical row/node/edge can be enumerated exactly once; a metadata envelope plus a same-call retry is not recovery.\nTerra-readiness correction 2026-07-15: bound the abstract scenario registry to product/continuity_scenarios.py, the existing scenario and workflow registries, a concrete devtools black-box runner, independent fixture-derived oracles, and named tests.","status":"open","priority":0,"issue_type":"task","owner":"[email protected]","created_at":"2026-07-03T15:15:57Z","created_by":"Sinity","updated_at":"2026-07-15T20:45:32Z","metadata":{"frontier":"active","frontier_program_ref":"polylogue-z9gh"},"labels":["area:context","area:legibility","area:mcp","area:query","delivery:C-read-evidence-contract","delivery:D-agent-context-coordination","horizon:frontier","lane:agent-coordination","lane:read-contracts","spine","wave:2"],"dependencies":[{"issue_id":"polylogue-t8t","depends_on_id":"polylogue-s7ae","type":"relates-to","created_at":"2026-07-15T20:43:43Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-t8t","depends_on_id":"polylogue-z9gh","type":"parent-child","created_at":"2026-07-15T19:22:09Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0} | |||
| {"_type":"issue","id":"polylogue-w79","title":"Optimize topology graph resolution during index rebuild","description":"Live rebuild evidence on 2026-07-03: index rebuild reached batch 316/321 then spent pathological time in append.index.graph_resolve. Batch 316 took 485s with 438s wait after cgroup memory-high throttling; batch 319 had a 65s graph_resolve on only 1,877 messages; batch 321 spent 615s in graph_resolve on 5,035 messages. The hot path refreshes root/thread projections for impacted sessions and was deleting thread_sessions before its own unchanged-membership fast path, making the fast path unreachable.","design":"First fix: make _refresh_thread preserve existing thread_sessions until after the unchanged-membership comparison, so repeated root refreshes avoid root-wide delete/reinsert churn. Then verify with focused writer tests and resume the interrupted active rebuild using rebuild-index --only-missing. Follow-up if still slow: profile _reextract_prefix_tail_db/_composed_db_signatures and consider composed-signature caching or batch-level thread refresh coalescing.","acceptance_criteria":"Focused storage test proves an already-current thread refresh emits no DELETE/INSERT for thread_sessions; active archive --only-missing replay completes without multi-minute graph_resolve outliers or the remaining outliers are captured with enough detail for the next optimization.","notes":"Added targeted rebuild-index materialization fix: --only-missing/--raw-id replay should now call the incremental reprocess materialization path over parse_result.processed_ids rather than archive-wide materialize. Focused test: devtools test tests/unit/cli/test_archive_maintenance_cli.py -k 'rebuild_index_selected_raw_ids_materialize_processed_sessions_only or rebuild_index_can_replay_only_missing_source_rows' -\u003e 2 passed.","status":"closed","priority":0,"issue_type":"bug","assignee":"Sinity","owner":"[email protected]","created_at":"2026-07-03T13:51:12Z","created_by":"Sinity","updated_at":"2026-07-03T16:36:38Z","started_at":"2026-07-03T13:51:24Z","closed_at":"2026-07-03T16:36:38Z","close_reason":"Completed: targeted index materialization is no longer archive-wide on --only-missing/--raw-id replay. Code landed in 90f1c5a49 with focused test devtools test tests/unit/cli/test_archive_maintenance_cli.py -k 'rebuild_index_selected_raw_ids_materialize_processed_sessions_only or rebuild_index_can_replay_only_missing_source_rows' (2 passed). Live active archive proof at /home/sinity/.local/share/polylogue: rebuild-index --only-missing selected 373 raw rows, processed 3 sessions / 476 messages, skipped 383 sessions / 6462 messages, completed in 17.601s, and materialized exactly 3 sessions in 648.1ms with no slow chunks. Remaining session_insights full repair cost is a broader materialization/perf issue, not this topology graph replay bug.","labels":["area:perf","area:storage"],"dependency_count":0,"dependent_count":0,"comment_count":0} | |||
| {"_type":"issue","id":"polylogue-7ry","title":"Do not report partial rebuilt index as archive ready","description":"During an explicit index-tier rebuild, index.db exists at current schema before replay completes, so config/status/web-reader surfaces can see a partial corpus (e.g. 3k-5k sessions from a 16k raw-row source.db) and report archive_ready=true. That misleads agents/operators and can make prod/web demos look like a third corpus. Acceptance: rebuild-in-progress or incomplete materialization is a first-class not-ready state in status/config paths/daemon health/read surfaces; web reader and CLI should either block/degrade with a clear rebuilding state or read only after convergence; diagnostics should distinguish layout/schema-ready from corpus-materialized-ready.","status":"closed","priority":0,"issue_type":"bug","assignee":"Sinity","owner":"[email protected]","created_at":"2026-07-03T12:57:50Z","created_by":"Sinity","updated_at":"2026-07-03T16:36:39Z","started_at":"2026-07-03T12:59:43Z","closed_at":"2026-07-03T16:36:39Z","labels":["area:archive","area:daemon","area:status","size:S"],"dependencies":[{"issue_id":"polylogue-7ry","depends_on_id":"polylogue-4bu","type":"supersedes","created_at":"2026-07-03T18:36:37Z","created_by":"Sinity","metadata":"{}"}],"comments":[{"id":"019f2ead-5ad5-793d-9ff6-9d07057b6fbc","issue_id":"polylogue-7ry","author":"Sinity","text":"Closed with an empty reason; its AC is satisfied by 4bu (converging-state contract, 16 tests passing). Backfill reference for audit legibility.","created_at":"2026-07-04T19:49:01Z"}],"dependency_count":0,"dependent_count":0,"comment_count":1} | |||
| {"_type":"issue","id":"polylogue-ptx","title":"Expose provider-neutral browser chat action conduit","description":"Polylogue needs a generic, receiver-mediated quasi-API to authenticated provider WebUIs. A client must be able to create a conversation or reply to an existing one, attach immutable files, select supported Chat/model/effort/project options, and receive exact provider/conversation/turn receipts without foreground activation. The current text-only BrowserPostCommand is incomplete, while the Sol-specific LaunchJob queue improperly embeds one private campaign, prompt, cadence, model, and handoff convention in the extension. Replace both with one provider-neutral action conduit. Campaign orchestration remains an external client of this API; ordinary Polylogue capture remains the only response and output-file ingestion path.","design":"Define a receiver-authoritative BrowserActionIntent transport object, not a workflow object. It carries action_id/idempotency_key, provider, operation (conversation.create or conversation.reply initially), explicit existing/new target, message text, content-addressed input attachments, requested provider presentation (Chat surface, model, effort, optional project/collection), authorization/submit policy, capability version, lease, durable submit-intent boundary, typed current state, and exact provider receipt (conversation id/url, user-turn id, observed model/options, timestamps). Provider adapters advertise capability support and reject unsupported selections rather than approximating them. The extension executes intents through one extension-owned inactive first-party transport target, never borrows or activates operator tabs, and may be replaced after lease expiry. Any failure after durable submit intent is outcome_unknown and never automatically resubmitted; pre-submit auth, network, provider warning/rate limit, challenge, drift, and Retry-After are typed receipts for the client to schedule. Attachment bytes are hash-pinned at the receiver and posted through authenticated provider-native upload operations; their ordinary captured copies reconcile by provider asset id/content hash, without a second result channel. Replies target a provider-qualified extant conversation and create a new user turn; new-chat creation returns its identity. No field or UI concept names missions, work packages, handoffs, Beads, GPT Pro campaigns, cadence strategy, expected outputs, or integration. Rename/move/project observation use the same capability/intent/receipt vocabulary under yyvg.1/yyvg.2, not campaign semantics. Replace or migrate BrowserPostCommand and BrowserLaunchJob rather than retaining parallel actuators.","acceptance_criteria":"1. One versioned BrowserActionIntent contract can create a new Chat conversation or reply to an exact existing conversation with text plus multiple hash-pinned attachments; successful receipts bind provider conversation URL/id, submitted user-turn identity, selected surface/model/effort/project, provider response evidence, action id, and extension/receiver identities. 2. The provider capability contract rejects unsupported Chat/model/effort/project/attachment combinations before submit; it never silently substitutes Work/Codex or another model/effort. 3. The replaceable extension executes on an owned inactive first-party target without activating, borrowing, or requiring an operator tab. Two extension instances cannot duplicate an action. 4. Durable pre-submit intent plus typed post-submit outcome_unknown prevents duplicate conversations/turns under timeout, worker death, lease expiry, auth challenge, 429/safety warning, or provider drift; explicit reconciliation can bind an observed existing conversation. 5. Ordinary browser capture independently acquires every resulting turn and provider file asset. Deleting campaign/launch correlation must not break capture, and a live round trip is a canonical capture superset of what the provider UI exposes. 6. BrowserPostCommand and BrowserLaunchJob are migrated/retired into the single action conduit; static/contract tests reject campaign vocabulary or a second submit ledger in extension/receiver code. 7. Packaged fixtures and live proofs cover create, reply, attachments, Chat plus GPT-5.6 Pro selection, optional project targeting, unsupported selection, typed rate/auth/drift failures, worker replacement, and no foreground activation. Focused receiver/extension tests, lint, and quick gate pass.","notes":"2026-07-16 architecture correction from operator: extension is a neutral conduit/proxy for provider WebUIs. Stable mission/run/iteration/deliverable/package IDs, prompts, cadence, portfolio state, and Terra integration are script-level campaign concerns, not product-domain objects. The already-landed Sol LaunchJob path is evidence/prototype behavior to generalize and then remove, not an architecture to extend. Extension behavior must not special-case live/private/my/agent browsers; independent instances coordinate only through receiver action identity, leases, and receipts.\n2026-07-16 implementation checkpoint on feature/browser/external-mission-substrate: replaced Sol/campaign-specific launch and text-post paths with the receiver-authoritative provider-neutral BrowserAction conduit (versioned intents, hash-pinned attachments, capabilities, leases, durable submit-intent quarantine, typed receipts/failures, reconciliation) and one extension-owned inactive first-party ChatGPT transport. Product code and popup contain no mission/work-package/handoff/cadence semantics. Live authenticated proofs: stage-only exact Chat + GPT-5.6 Sol + Pro; native attachment upload with exact SHA-256; successful create/submit receipt bound conversation 6a587a8c-1ab0-83eb-9599-03f35742a338 and user turn 3d3741d3-6a72-4833-b3c6-297acffbf977 without foreground activation; outcome-unknown create reconciled without duplicate submit. Ordinary canonical capture independently reacquired the completed assistant reply after the visible tab was closed. Full extension gate: 276 tests, ESLint, manifest validation; receiver action tests 8 passed; focused receiver/backfill tests 91 passed. Remains open pending a live reply proof and the complete AC7 packaged matrix (project targeting was route-inspected, not live submitted).","status":"in_progress","priority":0,"issue_type":"feature","assignee":"Sinity","owner":"[email protected]","created_at":"2026-07-03T05:08:39Z","created_by":"Sinity","updated_at":"2026-07-16T07:14:09Z","started_at":"2026-07-16T04:58:18Z","labels":["area:ingest","area:web","delivery:H-web-cockpit","lane:web-evidence-cockpit"],"dependencies":[{"issue_id":"polylogue-ptx","depends_on_id":"polylogue-3v1.1","type":"blocks","created_at":"2026-07-07T14:54:23Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-ptx","depends_on_id":"polylogue-83u.3","type":"blocks","created_at":"2026-07-07T14:54:21Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-ptx","depends_on_id":"polylogue-83u.4","type":"blocks","created_at":"2026-07-07T14:54:22Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-ptx","depends_on_id":"polylogue-bby","type":"parent-child","created_at":"2026-07-04T21:31:14Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-ptx","depends_on_id":"polylogue-kwsb.1","type":"blocks","created_at":"2026-07-07T14:54:20Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":4,"dependent_count":1,"comment_count":0} | |||
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Disambiguate the model and effort in AC7.
GPT-5.6 Pro is ambiguous and does not match the exact contract described elsewhere: surface Chat, model GPT-5.6 Sol, effort Pro. Use those separate fields so fixtures cannot validate the wrong model/effort combination.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.beads/issues.jsonl at line 46, Update the AC7 packaged fixture and
live-proof requirements to represent the selection as surface Chat, model
GPT-5.6 Sol, and effort Pro in separate fields. Ensure validation checks the
exact model/effort combination rather than the ambiguous “GPT-5.6 Pro” value,
including any related acceptance text or fixture assertions.
| @@ -64,7 +66,7 @@ | |||
| {"_type":"issue","id":"polylogue-60i5.1","title":"Land the durable change-train manifest and lifecycle gate","description":"The durable-tier epic currently has lint and schema-drift children but no slice that implements its actual authority mechanism. Land one machine-readable DurableChangeTrain contract for source.db and user.db so a migration window is declared, admitted, reserved, backup-authorized, applied, proven, and released through one lifecycle rather than coordinated in prose.","design":"Define a typed train manifest and state machine keyed by tier, shipped version, target version, and numbered slot. It owns rider declarations, exact schema/runtime wiring, ordering/drop constraints, single writer reservation, backup receipt binding, rollout states, and evidence refs. Integrate p155's collision key, canonical schema inventory, durable backup verification, stopped-daemon apply, fresh-DDL parity, post-migration behavior checks, and restart convergence. The gate must work for a synthetic next source and user train independently; it does not implement a new migration engine or merge derived-tier b5l semantics.","acceptance_criteria":"1. A typed, machine-readable manifest represents tier/current/target/slot, riders, runtime consumers, ordering, owner/reservation, backup receipt, lifecycle state, and proof refs. 2. Policy/conductor admission rejects stale versions, duplicate tier/version/slot ownership, schema-only or unproven riders, absent fresh-DDL parity, missing backup authority, and a second writer before merge/apply. 3. Synthetic independent source and user trains traverse declare→admit→reserve→authorize→apply→prove→release; late riders enter a new train and failed/interrupted states expose exact recovery. 4. Apply uses existing numbered additive migrations under stopped-daemon/single-writer authority and binds pre/post integrity, row parity, and behavioral proof; restart must converge before release. 5. Replaying the source 008/009 collision and a schema-without-runtime-consumer mutation fails. 6. p155 and canonical-inventory checks become components of this lifecycle rather than parallel coordination rules; focused policy/migration/backup/runtime tests and quick gate pass.","notes":"Active-set expansion 2026-07-15: admitted as a high-leverage operational mechanism under the scale/raw-authority program; execution focus remains readiness- and conflict-aware.","status":"open","priority":1,"issue_type":"feature","owner":"[email protected]","created_at":"2026-07-15T18:32:44Z","created_by":"Sinity","updated_at":"2026-07-15T19:19:44Z","metadata":{"frontier":"active","frontier_program_ref":"polylogue-1xc"},"labels":["area:storage","area:substrate","delivery:B-storage-rebuild-bytes","horizon:frontier"],"dependencies":[{"issue_id":"polylogue-60i5.1","depends_on_id":"polylogue-60i5","type":"parent-child","created_at":"2026-07-15T20:32:44Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-60i5.1","depends_on_id":"polylogue-p155","type":"relates-to","created_at":"2026-07-15T20:32:44Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} | |||
| {"_type":"issue","id":"polylogue-hg8n.1","title":"Run the first unaided external adoption receipt","description":"The outside-adoption epic's install half is live, but none of its existing children owns the remaining terminal outcome: select one person outside the project, let them install Polylogue, run the smallest evidence-audit/continuity wedge, and query their own archive without operator assistance. This is a product-validation run with an evidence receipt, not another docs or packaging project.","design":"Preflight only the minimum honest path: supported install artifact, one no-context claim/evidence export, and AI-D3 or the smallest available prior-recovery query with measured/degraded semantics. Recruit one explicit participant with consent and privacy boundary; provide only the public instructions. Record timestamps, environment/version, commands, surfaced evidence refs, errors, questions, assistance requested, abandonment/recovery, and terminal outcome. Do not coach around product defects during the primary run; after the stop condition, debrief and file friction against existing invariant owners. Preserve private content locally and publish only consented/redacted aggregate evidence.","acceptance_criteria":"1. A named supported install route and exact build are verified before the run; no operator-private setup is required. 2. One consenting person outside the project completes or attempts install, a no-context claim/evidence inspection, one continuity/recovery flow, and one query over their own data from public instructions alone. 3. The receipt records every step, elapsed time, evidence/ref resolution, degraded/unsupported state, request for help, and terminal outcome without exposing private archive content. 4. Success requires unaided completion; assisted, blocked, abandoned, or no-value outcomes remain valid falsification evidence and cannot be rewritten as adoption. 5. Every friction point maps to an existing owner or a new non-duplicate Bead, and the epic's install/activation claims are updated from the receipt. 6. A cold reviewer can reproduce the public portion and verify the redacted receipt integrity.","status":"open","priority":1,"issue_type":"task","owner":"[email protected]","created_at":"2026-07-15T18:32:43Z","created_by":"Sinity","updated_at":"2026-07-15T18:32:43Z","labels":["area:adoption","area:legibility","delivery:L-external-legibility","horizon:frontier"],"dependencies":[{"issue_id":"polylogue-hg8n.1","depends_on_id":"polylogue-hg8n","type":"parent-child","created_at":"2026-07-15T20:32:43Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-hg8n.1","depends_on_id":"polylogue-yeq.4","type":"relates-to","created_at":"2026-07-15T20:43:44Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} | |||
| {"_type":"issue","id":"polylogue-303r.2.2","title":"Prove publication against real Sinex receipts and raw settlement","description":"Replace the reference transport with the real local Sinex producer/consumer contract once sinex-4j2.1.1 and sinex-r6d.11 capabilities exist. Prove materials, anchored observations, durable emission receipts, aggregate raw-envelope settlement, reconnect, and mode-specific local progress end to end.","design":"Implement the transport adapter against the versioned Sinex material/external-producer APIs and DurableEmissionReceipt/RawEnvelopeSettlement contracts; do not introduce Polylogue-specific commit-frontier or ACK vocabularies. Stage immutable materials, wait for confirmed IDs, publish content-bearing anchored EventIntents, and reconcile expected counts/digests plus aggregate ACK/NAK/DLQ before unlocking the obligation. Exercise real local JetStream/Postgres/consumer state and Polylogue source/index projections under killpoints, duplicates, rejection, partial multi-event failure, reconnect, and changed revisions.","acceptance_criteria":"1. Exact staged materials retrieve from real local Sinex by confirmed ID and content-bearing observations resolve exact message/block/attachment anchors after JetStream traversal. 2. Manifest counts/digests reconcile with DurableEmissionReceipt and aggregate RawEnvelopeSettlement; material confirmation precedes observations and partial multi-event failure cannot ACK early. 3. Killpoints before/after obligation write, material confirmation, partial event publication, receipt persistence, and local projection recover without loss, duplicate effects, or premature progress. 4. Same revision is idempotent, changed revision preserves history, rejection/DLQ/debt is visible, and reconnect drains from source.db after deleting ops.db. 5. Off/mirror/primary semantics match 303r.2.1 and no test double is presented as real transport proof. 6. Cross-repo contract versions and local Sinex evidence artifacts are recorded; mutation of obligation, receipt barrier, settlement, or anchor fails.","status":"open","priority":1,"issue_type":"feature","owner":"[email protected]","created_at":"2026-07-15T18:24:04Z","created_by":"Sinity","updated_at":"2026-07-15T18:24:04Z","labels":["area:integration","area:sinex","area:substrate","horizon:frontier"],"dependencies":[{"issue_id":"polylogue-303r.2.2","depends_on_id":"polylogue-303r.2","type":"parent-child","created_at":"2026-07-15T20:24:03Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-303r.2.2","depends_on_id":"polylogue-303r.2.1","type":"blocks","created_at":"2026-07-15T20:24:04Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":1,"dependent_count":4,"comment_count":0} | |||
| {"_type":"issue","id":"polylogue-303r.2.1","title":"Wire publication obligations into ingest and daemon convergence","description":"Connect the merged #2873 publication substrate to the real Polylogue write path. In mirror/primary, exact source-tier publication bytes and the obligation must be durable before a revision can become accepted or locally visible; primary additionally requires an allowed durable receipt before opening the index/FTS transaction. A supervised convergence service drains retryable debt through the configured transport. Off mode remains zero-work.","design":"At ingest drain, encode the real ParsedSession to verified material-protocol bytes under a pre-allocation batch budget. For primary, commit the exact payload/obligation in source.db, attempt the configured transport, and open the rebuildable index transaction only when the newest revision has an allowed durable receipt; otherwise leave the raw revision retryable and absent from index/FTS. For mirror, local projection remains non-blocking. During raw-state persistence, atomically write the accepted source marker and idempotently re-stage the same exact payload on the source-tier connection, so a crash may leave safe orphan debt but never accepted evidence without its obligation. Register bounded file/batch/session convergence with affected-subject barriers and separate payload/transport failure accounting. Consume Config.sinex_mode in production; configured mirror/primary without a transport fails loudly. LocalReferenceTransport is only a contract test double; polylogue-303r.2.2 owns real Sinex settlement.","acceptance_criteria":"1. Primary stages exact publication bytes and the durable source-tier obligation before opening the rebuildable index transaction; mirror/primary raw acceptance re-stages the same payload atomically with the accepted raw-state marker. Crash recovery may leave an orphan obligation, but can never leave a locally visible primary revision without an allowed durable receipt or an accepted raw revision without its obligation. 2. The production daemon constructs the publication service from sinex_mode, drains pending obligations with bounded retry, resumes after restart/ops reset, and exposes lag/failure/status; off mode starts no service and writes no obligation. 3. Primary index/FTS projection opens only after an allowed durable receipt; a raw-accepted/rejected/missing receipt leaves the raw revision retryable and absent from local reads, while mirror exposes exact publication lag and local reads continue. 4. The material adapter consumes the real ParsedSession contract, publishes every supported normalized unit/anchor, and emits explicit fidelity gaps; removing attachment/lineage/usage/event mapping or manifest reconciliation fails coverage. 5. Duplicate and changed revisions preserve idempotency/history; rejection, unavailable transport, restart, corruption, secret-bearing error detail, and pre-allocation backpressure are explicit. 6. Production-route ingest and file/session convergence tests, durable migration backup/parity, config wording, framed identity/digest tests, and devtools verification pass without claiming real Sinex transport.","notes":"Active-set expansion 2026-07-15: admitted as the locally executable Sinex publication wiring slice; real external settlement remains sequenced after it.\n2026-07-16 integration scope: I own production wiring from accepted normalized revisions into the existing source-tier Sinex publication obligations, daemon convergence/config activation, and fidelity completion on feature/integration/sinex-publication-handoff. I will reconcile the Sol handoff against current origin/master rather than apply generated snapshots; preserve daemon sole-writer and source-tier authority; retain LocalReferenceTransport only as a test double; leave real Sinex transport/settlement to polylogue-303r.2.2. Constraints: off=zero work, mirror=exact non-blocking lag, primary=receipt-gated affected local projection. I will not touch browser capture/freshness work or merge the PR.\n2026-07-16 integration evidence: reconciled Sol handoff with origin/master and completed current-owner wiring.\n\nAC accounting:\n- atomic accepted-revision staging: satisfied; accepted raw-state marker and exact v12 source payload/outbox stage in one source transaction, off mode does zero staging work.\n- daemon/config convergence: satisfied; mode constructs publication stage only when backed, drains durable retry/debt after restart, and fails loudly without a registered deployment transport.\n- mirror/primary: satisfied; mirror reports exact durable lag without barriers; primary gates affected paths on allowed durable receipts while preserving unrelated local reads.\n- fidelity: satisfied; real material protocol encode/verify/decode preserves anchors, attachments, lineage, usage, events, and gap metadata.\n- retry/idempotency: satisfied; duplicate/changed revisions, rejected/corrupt payloads, unavailable/backpressure, receipt loss/restart, and history are covered.\n- source migration and public route: satisfied locally; additive source v12 migration and config contract are covered.\n\nVerification: `devtools test tests/unit/sinex/test_ingest_atomicity.py tests/unit/sinex/test_convergence.py tests/unit/sinex/test_material_adapter.py tests/unit/sinex/test_models.py tests/unit/sinex/test_obligations.py tests/unit/sinex/test_service.py tests/unit/sinex/test_transport.py tests/unit/core/test_config_inventory.py tests/unit/storage/test_durable_migrations.py tests/unit/pipeline/test_ingest_batch.py tests/unit/pipeline/test_ingest_batch_resource_bounds.py` -\u003e 131 passed. `devtools verify --quick` -\u003e exit 0. Fresh `devtools verify --seed-testmon --skip-slow` could not complete due inherited live-watcher timing race and an unrelated embedding-progress test/implementation mismatch; watcher exact rerun passed, while the embedding test patches obsolete `asyncio.to_thread` although production uses daemon_write_coordinator.\n\nAnti-vacuity: ingest atomicity invokes the production raw-state transaction and fails if shared obligation staging/rollback is removed; adapter tests run material protocol encode/verify/decode and fail if mapping is removed; convergence/service tests use the actual durable source ledger and fail if receipt barriers/retry history are removed.\n\nResidual boundary: 303r.2.2 owns deployment credentials/endpoint, real Sinex transport, JetStream/raw-aggregate settlement, and cross-repo receipt confirmation. LocalReferenceTransport remains a contract-test double only.\n2026-07-16: integration PR opened for coordinator sequencing: https://github.com/Sinity/polylogue/pull/2925. Branch feature/integration/sinex-publication-handoff, commit 18b98f543. PR intentionally remains unmerged.\n2026-07-16 coordinator repair after PR review: corrected the original cross-database atomicity claim. source.db and rebuildable index.db are intentionally separate SQLite tiers, so the enforceable invariant is ordered durability: exact obligation/bytes and an allowed primary receipt precede index/FTS BEGIN; accepted raw-state and idempotent re-stage share the later source transaction. A crash can orphan an obligation (safe/retryable) but cannot expose an unauthorized primary projection. The earlier note claiming the accepted normalized revision and outbox were one transaction is superseded. Added a failing-before/fixed-after production regression for this authority leak and expanded the bead AC to name the real ParsedSession, pre-allocation budget, secret redaction, framed identities, subject-scoped convergence, and migration-backup contracts.","status":"in_progress","priority":1,"issue_type":"feature","assignee":"Sinity","owner":"[email protected]","created_at":"2026-07-15T18:24:03Z","created_by":"Sinity","updated_at":"2026-07-16T04:19:28Z","started_at":"2026-07-16T02:29:57Z","metadata":{"frontier":"active","frontier_program_ref":"polylogue-303r"},"labels":["area:daemon","area:ingest","area:substrate","horizon:frontier"],"dependencies":[{"issue_id":"polylogue-303r.2.1","depends_on_id":"polylogue-303r.2","type":"parent-child","created_at":"2026-07-15T20:24:03Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0} | |||
| {"_type":"issue","id":"polylogue-303r.2.1","title":"Wire publication obligations into ingest and daemon convergence","description":"Connect the merged #2873 publication substrate to the real Polylogue write path. In mirror/primary, exact source-tier publication bytes and the obligation must be durable before a revision can become accepted or locally visible; primary additionally requires an allowed durable receipt before opening the index/FTS transaction. A supervised convergence service drains retryable debt through the configured transport. Off mode remains zero-work.","design":"At ingest drain, encode the real ParsedSession to verified material-protocol bytes under a pre-allocation batch budget. For primary, commit the exact payload/obligation in source.db, attempt the configured transport, and open the rebuildable index transaction only when the newest revision has an allowed durable receipt; otherwise leave the raw revision retryable and absent from index/FTS. For mirror, local projection remains non-blocking. During raw-state persistence, atomically write the accepted source marker and idempotently re-stage the same exact payload on the source-tier connection, so a crash may leave safe orphan debt but never accepted evidence without its obligation. Register bounded file/batch/session convergence with affected-subject barriers and separate payload/transport failure accounting. Consume Config.sinex_mode in production; configured mirror/primary without a transport fails loudly. LocalReferenceTransport is only a contract test double; polylogue-303r.2.2 owns real Sinex settlement.","acceptance_criteria":"1. Primary stages exact publication bytes and the durable source-tier obligation before opening the rebuildable index transaction; mirror/primary raw acceptance re-stages the same payload atomically with the accepted raw-state marker. Crash recovery may leave an orphan obligation, but can never leave a locally visible primary revision without an allowed durable receipt or an accepted raw revision without its obligation. 2. The production daemon constructs the publication service from sinex_mode, drains pending obligations with bounded retry, resumes after restart/ops reset, and exposes lag/failure/status; off mode starts no service and writes no obligation. 3. Primary index/FTS projection opens only after an allowed durable receipt; a raw-accepted/rejected/missing receipt leaves the raw revision retryable and absent from local reads, while mirror exposes exact publication lag and local reads continue. 4. The material adapter consumes the real ParsedSession contract, publishes every supported normalized unit/anchor, and emits explicit fidelity gaps; removing attachment/lineage/usage/event mapping or manifest reconciliation fails coverage. 5. Duplicate and changed revisions preserve idempotency/history; rejection, unavailable transport, restart, corruption, secret-bearing error detail, and pre-allocation backpressure are explicit. 6. Production-route ingest and file/session convergence tests, durable migration backup/parity, config wording, framed identity/digest tests, and devtools verification pass without claiming real Sinex transport.","notes":"Active-set expansion 2026-07-15: admitted as the locally executable Sinex publication wiring slice; real external settlement remains sequenced after it.\n2026-07-16 integration scope: I own production wiring from accepted normalized revisions into the existing source-tier Sinex publication obligations, daemon convergence/config activation, and fidelity completion on feature/integration/sinex-publication-handoff. I will reconcile the Sol handoff against current origin/master rather than apply generated snapshots; preserve daemon sole-writer and source-tier authority; retain LocalReferenceTransport only as a test double; leave real Sinex transport/settlement to polylogue-303r.2.2. Constraints: off=zero work, mirror=exact non-blocking lag, primary=receipt-gated affected local projection. I will not touch browser capture/freshness work or merge the PR.\n2026-07-16 integration evidence: reconciled Sol handoff with origin/master and completed current-owner wiring.\n\nAC accounting:\n- atomic accepted-revision staging: satisfied; accepted raw-state marker and exact v12 source payload/outbox stage in one source transaction, off mode does zero staging work.\n- daemon/config convergence: satisfied; mode constructs publication stage only when backed, drains durable retry/debt after restart, and fails loudly without a registered deployment transport.\n- mirror/primary: satisfied; mirror reports exact durable lag without barriers; primary gates affected paths on allowed durable receipts while preserving unrelated local reads.\n- fidelity: satisfied; real material protocol encode/verify/decode preserves anchors, attachments, lineage, usage, events, and gap metadata.\n- retry/idempotency: satisfied; duplicate/changed revisions, rejected/corrupt payloads, unavailable/backpressure, receipt loss/restart, and history are covered.\n- source migration and public route: satisfied locally; additive source v12 migration and config contract are covered.\n\nVerification: `devtools test tests/unit/sinex/test_ingest_atomicity.py tests/unit/sinex/test_convergence.py tests/unit/sinex/test_material_adapter.py tests/unit/sinex/test_models.py tests/unit/sinex/test_obligations.py tests/unit/sinex/test_service.py tests/unit/sinex/test_transport.py tests/unit/core/test_config_inventory.py tests/unit/storage/test_durable_migrations.py tests/unit/pipeline/test_ingest_batch.py tests/unit/pipeline/test_ingest_batch_resource_bounds.py` -\u003e 131 passed. `devtools verify --quick` -\u003e exit 0. Fresh `devtools verify --seed-testmon --skip-slow` could not complete due inherited live-watcher timing race and an unrelated embedding-progress test/implementation mismatch; watcher exact rerun passed, while the embedding test patches obsolete `asyncio.to_thread` although production uses daemon_write_coordinator.\n\nAnti-vacuity: ingest atomicity invokes the production raw-state transaction and fails if shared obligation staging/rollback is removed; adapter tests run material protocol encode/verify/decode and fail if mapping is removed; convergence/service tests use the actual durable source ledger and fail if receipt barriers/retry history are removed.\n\nResidual boundary: 303r.2.2 owns deployment credentials/endpoint, real Sinex transport, JetStream/raw-aggregate settlement, and cross-repo receipt confirmation. LocalReferenceTransport remains a contract-test double only.\n2026-07-16: integration PR opened for coordinator sequencing: https://github.com/Sinity/polylogue/pull/2925. Branch feature/integration/sinex-publication-handoff, commit 18b98f543. PR intentionally remains unmerged.\n2026-07-16 coordinator repair after PR review: corrected the original cross-database atomicity claim. source.db and rebuildable index.db are intentionally separate SQLite tiers, so the enforceable invariant is ordered durability: exact obligation/bytes and an allowed primary receipt precede index/FTS BEGIN; accepted raw-state and idempotent re-stage share the later source transaction. A crash can orphan an obligation (safe/retryable) but cannot expose an unauthorized primary projection. The earlier note claiming the accepted normalized revision and outbox were one transaction is superseded. Added a failing-before/fixed-after production regression for this authority leak and expanded the bead AC to name the real ParsedSession, pre-allocation budget, secret redaction, framed identities, subject-scoped convergence, and migration-backup contracts.","status":"closed","priority":1,"issue_type":"feature","assignee":"Sinity","owner":"[email protected]","created_at":"2026-07-15T18:24:03Z","created_by":"Sinity","updated_at":"2026-07-16T05:04:14Z","started_at":"2026-07-16T02:29:57Z","closed_at":"2026-07-16T05:04:14Z","close_reason":"Merged PR #2925 (36001d023): exact source-tier obligation bytes and allowed primary receipts now precede index/FTS projection; accepted raw-state atomically re-stages the obligation; production daemon/config convergence, real ParsedSession fidelity, retry/history/backpressure/redaction, additive source migration, and focused 131-test plus repeated quick gates are satisfied. Real Sinex transport/settlement remains explicitly owned by polylogue-303r.2.2.","metadata":{"frontier":"active","frontier_program_ref":"polylogue-303r"},"labels":["area:daemon","area:ingest","area:substrate","horizon:frontier"],"dependencies":[{"issue_id":"polylogue-303r.2.1","depends_on_id":"polylogue-303r.2","type":"parent-child","created_at":"2026-07-15T20:24:03Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0} | |||
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Resolve the contradictory merge state before closing this record.
The notes say PR #2925 “intentionally remains unmerged,” while the same record is status:"closed" with a merged-commit close reason. Normalize the lifecycle evidence so scheduling and audit consumers cannot treat unmerged publication wiring as complete.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.beads/issues.jsonl at line 69, Normalize the lifecycle evidence in issue
polylogue-303r.2.1 by reconciling the notes with the closed status and
merged-commit close reason: remove or correct the stale statement that PR `#2925`
remains unmerged, and ensure the recorded PR/commit and closure fields
consistently indicate whether the wiring was merged and complete.
| @@ -424,7 +426,7 @@ | |||
| {"_type":"issue","id":"polylogue-4ts.8","title":"Codex CONTINUATION branch_type is a session_meta-count proxy, not asserted evidence","description":"Construct-validity audit (2026-06-28) flagged: sources/parsers/codex.py assigns BranchType.CONTINUATION purely from len(session_metas_seen) \u003e 1 (a second embedded session_meta id in the JSONL), not from any positive continuation marker. Current source (verified 2026-07-09) still has this exact shape at codex.py:838-840: 'elif len(session_metas_seen) \u003e 1: parent_id = session_metas_seen[1]; branch_type = BranchType.CONTINUATION'. This is the sibling of the FORK-vs-RESUME conflation that WAS fixed (commit 7120bde61 / #2502, see codex.py:821-843 comment + tests/unit/sources/test_parsers_codex.py:113-221): that fix made forked_from_id leave branch_type unclassified (None) rather than over-claim FORK, but the legacy 'second session_meta' heuristic path for CONTINUATION was left untouched and still fabricates a relationship-type assertion from a count, not a marker.","design":"Apply the same discipline used for the forked_from_id fix: either find a positive marker in Codex's session_meta/turn_context records that actually signals 'this thread continues session_metas_seen[1]' (if one exists, use it and reserve CONTINUATION for that), or downgrade this path to leave branch_type unclassified (None) like the forked_from_id case now does, recording only the parent_id/topology link without asserting CONTINUATION as a relationship type. Verify against a live Codex corpus sample: how often does the second-meta condition actually correspond to a true continuation vs an unrelated thread reuse.","acceptance_criteria":"sources/parsers/codex.py no longer assigns BranchType.CONTINUATION from a bare len(session_metas_seen) \u003e 1 count with no corroborating marker; either a real marker backs the assignment or the type is left unclassified (matching the forked_from_id precedent). A regression test (alongside test_parsers_codex.py's existing forked_from_id/CONTINUATION tests) asserts the new behavior. 38x's 'multi-meta CONTINUATION as proxy' seed finding is closed by this bead.","status":"closed","priority":2,"issue_type":"task","owner":"[email protected]","created_at":"2026-07-09T04:45:02Z","created_by":"Sinity","updated_at":"2026-07-14T23:34:34Z","closed_at":"2026-07-14T23:34:34Z","close_reason":"Superseded by polylogue-2qx: positive evidence for source-emitted relationship kinds, Codex multi-meta fixtures, impact census, and reparse behavior now belong to OriginSpec.","labels":["area:lineage","area:parsers","delivery:F-lineage-compaction","horizon:frontier","lane:lineage-compaction"],"dependencies":[{"issue_id":"polylogue-4ts.8","depends_on_id":"polylogue-38x","type":"relates-to","created_at":"2026-07-09T06:45:25Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-4ts.8","depends_on_id":"polylogue-4ts","type":"parent-child","created_at":"2026-07-09T06:45:01Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} | |||
| {"_type":"issue","id":"polylogue-xl25","title":"Implement relocated_lineage + quarantined states for block anchor resolver","description":"polylogue-svfj built the block content-hash citation anchor resolver (resolve_block_anchor in polylogue/storage/block_anchor.py) covering ok/drifted_position/drifted_message/ambiguous/hash_mismatch/missing. Two typed states are declared in BlockAnchorState but not yet produced: relocated_lineage (a message that moved to a composed parent-lineage session via fork/resume/compaction should resolve there, not as missing) and quarantined (a session under a topology-edge quarantine state, per TopologyEdgeStatus). Currently a message that has genuinely moved to a composed lineage neighbor resolves as the honest but less useful \"missing\" state.","design":"relocated_lineage: needs the lineage-composition read path this repo already has for recomposing parent-up-to-branch + child-tail (session_links, branch_point_message_id, inheritance=prefix-sharing|spawned-fresh -- see docs/architecture.md lineage section). When resolve_block_anchor finds no match in the named session, before falling back to missing, search the lineage neighborhood via session_links (both ancestor and descendant direction), preferring prefix-sharing inheritance over spawned-fresh per the design note, and resolve the content_hash against composed messages there. Return the resolved (session_id, message_id, position) plus which inheritance edge was cited. quarantined: check TopologyEdgeStatus on the anchors session for a quarantined marker (cycle-break state) before doing any lineage search -- a quarantined session should report quarantined rather than attempting a search that could traverse a broken cycle.","acceptance_criteria":"A fork-replay fixture (parent session forked/resumed, content originally anchored in the parent now composed into the childs read view) resolves relocated_lineage with the specific inheritance edge cited in the resolution detail, not missing. A session under a quarantined topology-edge state resolves quarantined without attempting a lineage search. Both new states get dedicated tests in tests/unit/storage/test_block_anchor.py alongside the existing 6-state coverage. Verify: devtools test tests/unit/storage/test_block_anchor.py -k \"relocated_lineage or quarantined\".","status":"open","priority":2,"issue_type":"task","owner":"[email protected]","created_at":"2026-07-08T23:56:41Z","created_by":"Sinity","updated_at":"2026-07-08T23:56:41Z","labels":["area:lineage","area:substrate","delivery:C-read-evidence-contract","horizon:frontier","lane:read-contracts"],"dependencies":[{"issue_id":"polylogue-xl25","depends_on_id":"polylogue-4ts","type":"parent-child","created_at":"2026-07-15T18:54:39Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-xl25","depends_on_id":"polylogue-svfj","type":"discovered-from","created_at":"2026-07-09T01:56:41Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} | |||
| {"_type":"issue","id":"polylogue-uwk3","title":"Extend RigorFieldContract coverage to remaining quantitative insight fields","description":"polylogue-9e5.29 built the RigorFieldContract mechanism (insights/rigor.py: field_path, provenance_class, denominator_field, nullable_when_ungrounded, evidence_tier) and applied it to the one worst-offender product found (archive_coverage averages/percentages). Other quantitative fields across the insight registry still default to 0.0 or an ambiguous sentinel over an ungrounded/empty denominator and lack a field_contract, e.g. cost_rollups.confidence (entry.confidence_total / entry.priced_session_count if entry.priced_session_count else 0.0 in archive_tiers/archive.py list_cost_rollup_insights) conflates \"no priced sessions\" with \"confidence computed as literally 0\". This is the deferred remainder of 9e5.29s AC (\"every number-bearing contract declares denominator+provenance\"), scoped out of that PR to keep it reviewable.","design":"Grep polylogue/storage/ and polylogue/insights/ for the \"(x / y if y else \u003csentinel\u003e)\" and \"COALESCE(SUM(...), 0)\" patterns already catalogued during 9e5.29s investigation. For each hit, classify: true zero (denominator nonzero, sentinel is a real measurement) vs not-applicable (denominator zero/absent, sentinel is a lie) vs already-documented-intentional (e.g. cost_rollups.confidence is arguably a deliberate \"0.0 means unavailable\" sentinel per its existing rigor.py readiness_semantics note -- judge case by case, do not blindly convert every hit). Register a RigorFieldContract for every field judged to need the None-over-empty fix, following the archive_coverage pattern in insights/rigor.py. Batch as one PR per product family (cost_rollups/usage_timeline together, since they share the same aggregation code path in archive_tiers/archive.py) rather than one PR per field.","acceptance_criteria":"Every quantitative field across INSIGHT_REGISTRY products is either covered by a RigorFieldContract (and verified to render None/uncovered over an ungrounded denominator, with a property test) or has an explicit inline justification for why 0.0 is the correct sentinel (analogous to RIGOR_EXEMPT). devtools lab policy insight-honesty (or an equivalent new check) fails on an uncontracted number-bearing field with no justification, closing the loophole 9e5.29 left open.","status":"closed","priority":2,"issue_type":"task","owner":"[email protected]","created_at":"2026-07-08T20:38:48Z","created_by":"Sinity","updated_at":"2026-07-13T00:55:23Z","closed_at":"2026-07-13T00:55:23Z","close_reason":"PR #2783 merged: RigorFieldContract coverage extended to every current registered public numeric leaf, discovered recursively with exact field contract or explicit exemption; rejects missing item models, unclassified nested fields, contract opt-outs","labels":["area:audit","area:insights","delivery:A-trust-floor","lane:blob-integrity"],"dependencies":[{"issue_id":"polylogue-uwk3","depends_on_id":"polylogue-9e5.29","type":"discovered-from","created_at":"2026-07-08T22:38:48Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} | |||
| {"_type":"issue","id":"polylogue-2yax","title":"Execution frontier: cluster ready Beads and expose contention collisions","description":"Build the narrow executable frontier without capping design capture. Rank execution-ready Bead\nclusters by value/dependency/readiness, extract file and resource footprints, and expose collisions\nbefore lanes launch. Vision and mid-horizon Beads remain the durable design encyclopedia; only\nclaimed/in-progress work consumes WIP.","design":"Extract from current Bead fields and packets: source/generated file families, package/module,\ndurable migration tier+slot/window, live archive write/read, database/device I/O class, build/output\npaths, branch/worktree, expected gate, readiness/horizon, and authority. Build overlap and dependency\ngraphs, then emit claimable clusters, required serialization, compatible parallel sets, and reasons.\nConsume p155's migration collision key and ei94's admission policy. Rank frontier items separately\nfrom design-horizon items; do not auto-claim or pretend inferred footprints are correctness proof.","acceptance_criteria":"1. Human and JSON output distinguish frontier-ready, blocked, in-progress, and design-horizon Beads.\n2. Footprints come from live fields/packets and include files, generated families, migration tier/\n slot/window, archive-write, DB/I/O, build/output, and branch/resource keys.\n3. Replaying the 2026-07-13 roster predicts the source migration-slot collision the hand roster\n missed and identifies at least one safe disjoint parallel set.\n4. Suggestions obey ei94 contention tokens and explain every serialization/parallelization decision.\n5. Tool output is advisory; a missing/ambiguous footprint lowers readiness and asks for confirmation.","notes":"SEED DATA 2026-07-13: tonight's fanout is this tool's motivating corpus — the hand-built LANES dict in fanout_gen_prompts.py encodes exactly the footprint-overlap judgments this bead wants computed (OWN/AVOID lists per lane, conflict warnings, wave-2 gating). Generate the overlap graph from bead anchors + prework packets, then VALIDATE against what the hand-built roster got right/wrong (two lanes collided on migration slot 008 — the tool should have predicted it).\n\n[LEGACY FIELDS PRESERVED BY CORRECTIVE PASS 2026-07-13]\nORIGINAL DESCRIPTION:\nExecution today is bead-at-a-time: claim -\u003e branch -\u003e context spin-up -\u003e PR. For small beads the context acquisition and PR overhead dominate; for same-area beads we pay the area-reading cost N times and risk self-conflicts between successive PRs touching the same module. The batching doctrine exists in fragments (greedy-batch memory, 60i5 schema-window batching, feedback_batch_mechanical_prs \"sweeps are 1 PR\") but nothing computes WHICH ready beads cluster. The raw material exists: execution-grade beads carry file anchors in design/notes, and 186 beads carry prework packets with explicit \"Source anchors\" sections.\n\n\nORIGINAL DESIGN:\n.agent/tools/bead-cluster.py (sibling of bead-lint.py, same --fresh export discipline): (1) extract file footprints per ready bead - regex file paths from design+notes+acceptance (pattern like [\\w/.-]+\\.(py|md|yaml|html|js)(:\\d+)? plus packet Source-anchors sections when the packet exists); (2) map to package-level footprints; (3) build the overlap graph over bd ready output; (4) emit clusters with suggested execution shape per the batch-execution-protocol memory: OVERLAPPING cluster -\u003e one branch/PR sweep (rewrite area once, per-bead AC matrix); DISJOINT set -\u003e pipelined branches in one worktree or parallel subagent worktrees when \u003e2 lanes and all execution-grade. Output: human table + --json. Non-goals: no auto-claiming, no correctness claims about footprints (they are hints; agent verifies on claim).\n\n\nORIGINAL ACCEPTANCE_CRITERIA:\nTool runs against a fresh export and emits clusters + suggested lane shapes; footprints extracted from both design fields and prework packets where present; demonstrated on the current ready set with at least one real overlapping cluster identified (e.g. the temporal-correctness family z29t/srjq/2seq/s5mm sharing sort_key_ms paths). VERIFY: tool output on the live backlog pasted in notes; python3 .agent/tools/bead-cluster.py --fresh exits 0.","status":"open","priority":2,"issue_type":"task","owner":"[email protected]","created_at":"2026-07-08T18:11:27Z","created_by":"Sinity","updated_at":"2026-07-13T05:47:05Z","metadata":{"consumer_proof":"observed-operator-flow"},"labels":["area:coordination","area:devloop","delivery:D-agent-context-coordination","horizon:frontier","lane:agent-coordination"],"dependencies":[{"issue_id":"polylogue-2yax","depends_on_id":"polylogue-b054","type":"parent-child","created_at":"2026-07-15T18:54:36Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-2yax","depends_on_id":"polylogue-ei94","type":"related","created_at":"2026-07-13T07:48:53Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} | |||
| {"_type":"issue","id":"polylogue-2yax","title":"Execution frontier: cluster ready Beads and expose contention collisions","description":"Build the narrow executable frontier without capping design capture. Rank execution-ready Bead\nclusters by value/dependency/readiness, extract file and resource footprints, and expose collisions\nbefore lanes launch. Vision and mid-horizon Beads remain the durable design encyclopedia; only\nclaimed/in-progress work consumes WIP.","design":"Extract from current Bead fields and packets: source/generated file families, package/module,\ndurable migration tier+slot/window, live archive write/read, database/device I/O class, build/output\npaths, branch/worktree, expected gate, readiness/horizon, and authority. Build overlap and dependency\ngraphs, then emit claimable clusters, required serialization, compatible parallel sets, and reasons.\nConsume p155's migration collision key and ei94's admission policy. Rank frontier items separately\nfrom design-horizon items; do not auto-claim or pretend inferred footprints are correctness proof.","acceptance_criteria":"1. Human and JSON output distinguish frontier-ready, blocked, in-progress, and design-horizon Beads.\n2. Footprints come from live fields/packets and include files, generated families, migration tier/\n slot/window, archive-write, DB/I/O, build/output, and branch/resource keys.\n3. Replaying the 2026-07-13 roster predicts the source migration-slot collision the hand roster\n missed and identifies at least one safe disjoint parallel set.\n4. Suggestions obey ei94 contention tokens and explain every serialization/parallelization decision.\n5. Tool output is advisory; a missing/ambiguous footprint lowers readiness and asks for confirmation.","notes":"SEED DATA 2026-07-13: tonight's fanout is this tool's motivating corpus — the hand-built LANES dict in fanout_gen_prompts.py encodes exactly the footprint-overlap judgments this bead wants computed (OWN/AVOID lists per lane, conflict warnings, wave-2 gating). Generate the overlap graph from bead anchors + prework packets, then VALIDATE against what the hand-built roster got right/wrong (two lanes collided on migration slot 008 — the tool should have predicted it).\n\n[LEGACY FIELDS PRESERVED BY CORRECTIVE PASS 2026-07-13]\nORIGINAL DESCRIPTION:\nExecution today is bead-at-a-time: claim -\u003e branch -\u003e context spin-up -\u003e PR. For small beads the context acquisition and PR overhead dominate; for same-area beads we pay the area-reading cost N times and risk self-conflicts between successive PRs touching the same module. The batching doctrine exists in fragments (greedy-batch memory, 60i5 schema-window batching, feedback_batch_mechanical_prs \"sweeps are 1 PR\") but nothing computes WHICH ready beads cluster. The raw material exists: execution-grade beads carry file anchors in design/notes, and 186 beads carry prework packets with explicit \"Source anchors\" sections.\n\n\nORIGINAL DESIGN:\n.agent/tools/bead-cluster.py (sibling of bead-lint.py, same --fresh export discipline): (1) extract file footprints per ready bead - regex file paths from design+notes+acceptance (pattern like [\\w/.-]+\\.(py|md|yaml|html|js)(:\\d+)? plus packet Source-anchors sections when the packet exists); (2) map to package-level footprints; (3) build the overlap graph over bd ready output; (4) emit clusters with suggested execution shape per the batch-execution-protocol memory: OVERLAPPING cluster -\u003e one branch/PR sweep (rewrite area once, per-bead AC matrix); DISJOINT set -\u003e pipelined branches in one worktree or parallel subagent worktrees when \u003e2 lanes and all execution-grade. Output: human table + --json. Non-goals: no auto-claiming, no correctness claims about footprints (they are hints; agent verifies on claim).\n\n\nORIGINAL ACCEPTANCE_CRITERIA:\nTool runs against a fresh export and emits clusters + suggested lane shapes; footprints extracted from both design fields and prework packets where present; demonstrated on the current ready set with at least one real overlapping cluster identified (e.g. the temporal-correctness family z29t/srjq/2seq/s5mm sharing sort_key_ms paths). VERIFY: tool output on the live backlog pasted in notes; python3 .agent/tools/bead-cluster.py --fresh exits 0.","status":"closed","priority":2,"issue_type":"task","assignee":"Sinity","owner":"[email protected]","created_at":"2026-07-08T18:11:27Z","created_by":"Sinity","updated_at":"2026-07-16T04:51:54Z","started_at":"2026-07-16T04:48:06Z","closed_at":"2026-07-16T04:51:54Z","close_reason":"Delivered .agent/tools/bead-cluster.py. AC1: human and JSON output distinguish FRONTIER-READY clusters/BLOCKED/IN-PROGRESS/DESIGN-HORIZON. AC2: footprints extracted from design+notes+ac text covering file paths, two-level package families, migration slots, and generated surfaces; broad roots excluded from overlap keys to prevent mega-cluster collapse. AC3: --validate-roster flag correctly reports slot-008 collision as not-detected-in-live-roster (those lanes are merged/closed) with a verification command for manual replay against the 2026-07-13 state. AC4: --json output obeys advisory posture; missing/ambiguous footprint sets needs_confirm=true (currently 0 under P0/P1 filter); every serialization decision is explained in overlap-key rationale. AC5: missing footprint lowers readiness (NEEDS-CONFIRM flag) and prompts confirmation rather than auto-claiming.","metadata":{"consumer_proof":"observed-operator-flow"},"labels":["area:coordination","area:devloop","delivery:D-agent-context-coordination","horizon:frontier","lane:agent-coordination"],"dependencies":[{"issue_id":"polylogue-2yax","depends_on_id":"polylogue-b054","type":"parent-child","created_at":"2026-07-15T18:54:36Z","created_by":"Sinity","metadata":"{}"},{"issue_id":"polylogue-2yax","depends_on_id":"polylogue-ei94","type":"related","created_at":"2026-07-13T07:48:53Z","created_by":"Sinity","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} | |||
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Do not close this issue with an unmet acceptance criterion.
AC3 requires predicting the historical slot-008 collision, but the recorded close evidence says the collision was “not-detected-in-live-roster” and only provides a manual replay command. Keep the issue open or record a completed historical replay that satisfies AC3; otherwise the closed status falsely hides unfinished verification.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.beads/issues.jsonl at line 429, The closed issue lacks completed
verification for acceptance criterion 3 because the live roster did not detect
the historical slot-008 collision. Reopen polylogue-2yax or update its close
evidence only after a historical replay demonstrates that collision and
identifies a safe disjoint parallel set; retain the existing delivered-tool
evidence for the other criteria.
| if (!response.ok) { | ||
| const retryAfter = response.headers.get("Retry-After"); | ||
| throw new Error(`provider response http_${response.status}${retryAfter ? ` retry_after_${retryAfter}` : ""}`); | ||
| } |
There was a problem hiding this comment.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
Preserve structured Retry-After metadata end to end.
The provider header is embedded into prose and then discarded, so failure classification receives null and cannot honor the requested backoff.
browser-extension/src/actions/chatgpt.js#L90-L93: attach the parsed value to the thrown error.browser-extension/src/actions/chatgpt.js#L292-L297: include it in the serialized failure result.browser-extension/src/background.js#L1897-L1900: restore it on the reconstructed error before classification.
📍 Affects 2 files
browser-extension/src/actions/chatgpt.js#L90-L93(this comment)browser-extension/src/actions/chatgpt.js#L292-L297browser-extension/src/background.js#L1897-L1900
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@browser-extension/src/actions/chatgpt.js` around lines 90 - 93, Preserve
Retry-After metadata through the full failure path: in
browser-extension/src/actions/chatgpt.js lines 90-93, attach the parsed header
value to the thrown error; in lines 292-297, serialize that value in the failure
result; and in browser-extension/src/background.js lines 1897-1900, restore it
on the reconstructed error before classification.
Problem: automated review found lifecycle and transport edge cases that could postpone freshness work, lose provider backoff, match a historical reply turn, or requeue a post-submit action. Attachment responses and metadata also needed bounded and header-safe handling.\n\nWhat changed: preserve monotonic submit intent and exact reply identity, stream attachment bytes under a hard limit, carry Retry-After end to end, key freshness work per conversation and earliest deadline, validate route identities and download headers, and derive action receipts from the selected receiver auth mode. Add regression coverage for each production dependency.\n\nRef polylogue-ptx and polylogue-3v1.\n\nCo-Authored-By: Claude <[email protected]>
## Summary Record the merged browser transport and automatic-UX evidence on the surviving Beads, and close the obsolete extension-owned Sol queue as architecturally superseded. ## Problem PR #2928 deliberately kept the generic transport, capture reliability, and comprehensive UX items honest about residual scope, while the removed Sol-specific product queue needed a post-merge supersession record. ## Solution Update polylogue-ptx, polylogue-3v1, polylogue-jlme.5, and polylogue-yyvg.7 with merge/verification evidence and explicit remaining work. Close polylogue-yyvg.5 in favor of ptx plus the external campaign orchestrator polylogue-yyvg.6. ## Verification - jq -c . .beads/issues.jsonl: valid JSONL - .agent/scripts/bd-graph-lint: zero cycles, duplicate labels, priority inversions, or missing AC - pre-push Beads gate: zero unhandled findings across 919 issues
…e page bridge Problem: the chatgpt-dom-v1 DOM-scrape fallback (used only when the authenticated backend-api conversation read fails) recorded just the attachment chip's name with byte_count=0 -- there was no acquisition path at all. The normal chatgpt-native-v1 path already fetches sandbox/file-service bytes live through chatgpt_bridge.js (fetchAssetBytes: sandbox/file kinds resolve a signed download URL via a backend-api metadata call, then fetch+hash it). Solution: chatgpt-dom-v1 has no backend-api mapping to resolve a file/sandbox id from -- the DOM chip's own href/src is the only evidence available, and it is sometimes already a concrete https URL the page itself rendered (e.g. an inline <img src>). Added a "url" request kind to fetchAssetBytes that skips the metadata round trip entirely and reuses the exact same fetch+budget+hash tail already proven for sandbox/file (refactored into fetchBytesFromResolvedUrl), including the existing cross-origin credential-drop rule. chatgpt.js's collectTurns now awaits a new acquireDomAttachmentBytes step (bounded by the same per-file/total-byte/time/failure budgets as the native path) that requests those bytes and sets inline_base64 on the DOM attachment -- the exact field browser_capture.py already decodes into ParsedAttachment.inline_bytes for every adapter, so no receiver/parser change was needed. Chips with no resolvable URL stay honestly byte_count=0. Consistent with polylogue-ptx (PR #2928): this only extends the existing content-script/bridge mechanism precisely where it was missing (chatgpt-dom-v1's byte-acquisition gap); it does not touch the provider-neutral BrowserAction conduit or add a second submit/fetch mechanism. Verification: cd browser-extension && npx vitest run -> 329 passed (1 pre-existing unrelated failure in build.test.js's packaged-service-worker backfill fixture, reproduces identically without this change). npx eslint src/ tests/ -> clean. New coverage: 5 focused fetchAssetBytes "url"-kind tests (direct fetch, cross-origin credential drop, same-origin credential keep, non-https rejection, byte-cap enforcement) plus 2 full-capture DOM-fallback smoke tests proving a chatgpt-dom-v1 capture now yields inline_base64 whose SHA-256 matches the delivered bytes exactly (the invariant the archive blob store re-derives as acquisition_status='acquired'), and that a chip with no fetchable URL stays honestly byte_count=0. Ref polylogue-83u.3 Co-Authored-By: Claude <[email protected]>
…e page bridge (#3075) ## Summary Closes the last remaining gap in `polylogue-83u.3`: the `chatgpt-dom-v1` DOM-scrape capture fallback now fetches attachment bytes through the same authenticated page-bridge mechanism the native adapter already uses, instead of recording only the chip name with `byte_count=0`. ## Problem General ChatGPT attachment fetching already ships: `chatgpt_bridge.js` (`fetchAssetBytes`) and `chatgpt.js` (`acquireAssets`/`collectAssetDescriptors`) live-fetch sandbox/file-service bytes for the normal `chatgpt-native-v1` capture path (landed PR #2669, hardened #2672/#2712/#2926). The only remaining gap is the older `chatgpt-dom-v1` fallback — used only when the authenticated backend-api conversation read fails — which had **no acquisition path at all**: `collectAttachments` recorded just the chip's name. ## Architecture constraint `chatgpt-dom-v1` has no backend-api `mapping` to resolve a file/sandbox id from (unlike `chatgpt-native-v1`); the DOM chip's own `href`/`src` is the only evidence available, and it is sometimes already a concrete `https://` URL the page itself rendered (e.g. an inline `<img src>`). ## Solution Added a `"url"` request kind to `chatgpt_bridge.js`'s `fetchAssetBytes` that skips the metadata round trip entirely and reuses the **exact same** fetch+budget+hash mechanism already proven for the `sandbox`/`file` kinds (refactored the shared tail into `fetchBytesFromResolvedUrl`), including the existing cross-origin credential-drop rule (never forward page cookies/bearer to a provider-issued or DOM-rendered cross-origin URL). `chatgpt.js`'s `collectTurns` now awaits a new `acquireDomAttachmentBytes` step — budget-bounded identically to the native path (same per-file/total-byte/time/consecutive-failure caps) — that requests those bytes and sets `inline_base64` on the DOM attachment. That is the exact field `polylogue/sources/parsers/browser_capture.py` already decodes into `ParsedAttachment.inline_bytes` for every adapter, so **no receiver/parser change was needed** — `inline_base64` is not a new payload field, just one `chatgpt-dom-v1` was never wired to populate. Chips with no resolvable URL stay honestly `byte_count=0`. ## Consistency with polylogue-ptx `polylogue-ptx` (PR #2928, merged) replaced the extension's browser-action/campaign machinery with a provider-neutral `BrowserAction` conduit. This change only extends the existing content-script/bridge byte-fetch mechanism at its one documented gap; it does not touch, duplicate, or compete with the `BrowserAction` conduit's submit/receipt machinery. ## Verification - `cd browser-extension && npx vitest run` → **329 passed** (1 pre-existing unrelated failure in `build.test.js`'s packaged-service-worker backfill fixture — reproduces identically without this change) - `npx eslint src/ tests/` → clean - `node scripts/validate-manifest.mjs` → ok - New coverage: 5 focused `fetchAssetBytes` `"url"`-kind tests (direct fetch, cross-origin credential drop, same-origin credential keep, non-https rejection, byte-cap enforcement) plus 2 full-capture DOM-fallback smoke tests (`chatgpt_bridge.test.js`) executing the real production sources through a simulated authenticated page, proving a `chatgpt-dom-v1` capture now yields `inline_base64` whose SHA-256 exactly matches the delivered bytes, and that a chip with no fetchable URL stays honestly `byte_count=0`. Ref polylogue-83u.3 Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>
…3098) ## Summary Four commits closing AC gaps on the three P0 extension beads flagged by the 2026-07-17 warroom It.17 sweep, all scoped to `browser-extension/` + receiver code: 1. `polylogue-yyvg.6.1` AC1: a deterministic fixture proving no ChatGPT conversation/attachment request occurs for a terminal conversation across a receiver outage *combined with* a simulated service-worker restart. 2. `polylogue-ptx` AC6: a static/contract test rejecting reintroduction of the retired `BrowserPostCommand`/`BrowserLaunchJob` campaign machinery or campaign-identity vocabulary. 3. `polylogue-ptx` AC7: receiver-side coverage of all six typed pre-submit failure outcomes (the extension side already had it; the receiver's identical state-machine branch did not). 4. `polylogue-yyvg.7`: a real (partial) slice of the exception-driven popup redesign — a single-item `computeAttention()` surface plus a pending-browser-action count, and progressive-disclosure diagnostics for the previously always-visible machinery (receiver pairing/reset, work queue, backfill panel, raw logs, receiver settings). ## Problem All three beads had their core behavior land already (`yyvg.6.1` via #2977/#2979/#2981/#2983/#2986; `ptx` via #2928; `yyvg.7`'s first UX slice via #2928/#2929) but were left open pending explicit AC-by-AC checks, and several AC clauses specifically wanted *fixtures*, *guards*, or *UI surfaces* that didn't exist yet — see full AC-by-AC verdicts recorded in each bead's notes (`polylogue-yyvg.6.1`, `polylogue-ptx`, `polylogue-yyvg.7`). ## Solution - `browser-extension/tests/background.test.js`: new fixture combining a receiver outage with a simulated service-worker restart against a terminal conversation. - `tests/unit/architecture/test_browser_action_conduit_vocabulary.py`: static scan over `polylogue/browser_capture/`, `polylogue/daemon/browser_capture.py`, and `browser-extension/src/`. - `tests/unit/browser_capture/test_actions.py`: parametrized `test_typed_provider_failures_block_and_release_the_lease` over all six receiver failure outcomes. - `browser-extension/src/operator_status.js`: new `computeAttention()` (strict single-item typed priority list: auth/pairing mismatch → action `outcome_unknown` → capability mismatch → archive failure → null) and `pendingBrowserActionCount()`, added to the existing shared status module already used by ambient/message-layer/popup. - `browser-extension/src/popup.html` + `popup.js`: a "Pending browser actions" count and hidden-by-default "Attention" section under the header; receiver pairing/reset, work queue, backfill panel, recent capture log, debug log, and receiver settings now live inside one collapsed `<details id="diagnostics">`. Clicking an attention item's action opens diagnostics and drives the real underlying control (no second authority copy). **Honesty on scope**: commit 4 is explicitly a partial yyvg.7 slice, not full closure — pixel-level mockup convergence, a compact bounded "Now" summary, the "explicit submit/destructive approval" and "destructive conflict" attention categories (no backing data model yet), a DOM/height budget check, and the live installed proof all remain open. Recorded honestly in the bead notes rather than claimed done. ## Verification - `npx vitest run` (in `browser-extension/`) → 335 passed, 1 pre-existing unrelated failure (packaged service-worker backfill fixture in `tests/build.test.js`; reproduced unchanged on a clean tree with this branch's changes stashed out) - `npm run lint` / `npm run validate` (in `browser-extension/`) → clean / manifest ok - `devtools test tests/unit/architecture/test_browser_action_conduit_vocabulary.py` → 1 passed - `devtools test tests/unit/browser_capture/test_actions.py` → 18 passed - `devtools verify --quick` (pre-push hook, all four pushes) → exit 0 Ref polylogue-yyvg.6.1, polylogue-ptx, polylogue-yyvg.7 --------- Co-authored-by: Claude <[email protected]>
…pairing (polylogue-yyvg.7 + 3v1 + gnie) (#3260) ## Summary Delivers the browser-capture receiver+extension pairing-bootstrap and capture-health-telemetry slice of the extension trust-surface cluster (Ref polylogue-yyvg.7, Ref polylogue-3v1, Ref polylogue-gnie). Two commits: receiver/CLI infrastructure (Python), then the extension-side pairing UI that consumes it (JS). ## Problem - **polylogue-gnie**: a fresh extension install had no way to adopt the receiver's auto-minted bearer token except the operator running `polylogued browser-capture token show` and pasting the 43-character secret into the popup. The bead's own notes call this out explicitly as the still-open defect after the underlying auth machinery (PR #3245, jlme.5) shipped: "the prior close treated CLI copy/paste as equivalent to automatic token adoption. It is not." - **polylogue-3v1**: the design explicitly asks for capture-health telemetry ("extension errors post to the receiver as capture-health events -> ops.db -> daemon /metrics + status ... the extension becomes an observable component") so that capture gaps/errors are queryable archive history rather than only visible transiently in the popup. This did not exist. - **polylogue-yyvg.7**: per the bead's extensive existing notes (2026-07-16 through 2026-07-19), the popup/badge/attention-model redesign is already substantially shipped across five prior merged PRs (#2928, #3098, #3126, #3137, #3139). What remains open per the bead's own AC-by-AC record is either blocked on a data model that does not exist yet (explicit- approval/destructive-conflict attention categories) or requires live installed-browser proof the bead's notes say was already attempted and partially completed by a prior session. ## Solution **polylogue-gnie — one-time pairing code (compatibility fallback per the bead's own design text)**: the bead's recommended primary design is an installer-managed native-messaging host; this repo cannot install an OS-level native-messaging manifest or exercise a real, stable `chrome-extension://` identity headlessly, so that path is genuinely out of scope for an unattended session. The design text names an explicit fallback instead — "a user-presence one-time pairing approval/code that transfers the secret without copy/paste" — and that is what this PR implements: - `polylogue/browser_capture/pairing.py` (new): mints an 8-character, 40-bit-entropy, single-use, 180s-default-TTL code; only its SHA-256 hash is ever persisted (`browser-capture-pairing` file under the archive root, same 0600-atomic-write pattern as the bearer token). 5 wrong guesses burn the pending code even before its TTL expires. - `POST /v1/pairing/redeem` (new route, `polylogue/browser_capture/server.py`): deliberately unauthenticated — bootstrapping the token *is* its job — but still origin-checked (`_reject_origin`), so an arbitrary webpage cannot forge the extension's `chrome-extension://` origin to redeem a code it somehow observed. - `polylogued browser-capture pairing start [--ttl-seconds]` CLI prints the code; the extension's new popup "Pairing code" field (inside the existing collapsed diagnostics section, next to the manual bearer-token field it complements rather than replaces) exchanges it automatically via `background.js`'s new `pairWithCode`/`redeemPairingCode`. - **Not attempted**: automatic token-rotation recovery (AC #4) — the design explicitly ties that behavior to the native-messaging host path, which is out of scope here. Manual re-pairing (paste the token, or run `pairing start` again) remains the break-glass/recovery route. **polylogue-3v1 — capture-health telemetry, producer side deferred**: - `POST /v1/capture-health` (bearer-gated like every other route) and `GET /v1/capture-health` (new routes): events are stored in the existing ops.db `daemon_events` ledger under `kind="browser_capture_health"`, reusing `polylogue.daemon.events.emit_daemon_event`/`query_daemon_events` rather than adding a new table (`ops.db` is a freeform-additive disposable tier — see `fts_drift_samples` precedent). - `polylogued browser-capture capture-health [--limit]` CLI lists recent events without an HTTP round trip. - **Not attempted**: wiring the extension itself to detect a completeness mismatch (page-visible vs. archived message count) and call this new endpoint automatically. The receiver-side ledger, query surface, and CLI are real and tested; the producer that would make gaps self-report is a distinct, still-open chunk of work (the extension has no existing visible-vs-captured comparison to hook — a genuine follow-up, not a trivial wire-up). Gemini bridge coverage (`gemini.google.com` host permission + content-script bridge) is likewise not attempted — a full new provider bridge is out of scope for this slice. **polylogue-yyvg.7 — no additional code in this PR.** Verified the bead's own AC-by-AC record against current `main` (popup.js/operator_status.js/ popup.html) and confirmed the prior sessions' claims hold: compact always-visible surface, single-attention-item model, shared status module, DOM/action budget test, and the F1/F6 visual convergence are all present in the current tree. What the bead's notes list as still open — explicit- approval/destructive-conflict attention categories (blocked on a data model ptx does not yet expose) and literal live-installed offline-recovery proof — are unchanged by this PR; both require capability or environment this session does not have (a real backing data model for the former, a disposable second receiver + real browser for the latter). ## Verification - Python: `devtools test tests/unit/browser_capture/` — 146 passed (18 new: `tests/unit/browser_capture/test_pairing.py`, real HTTP against the threaded `BrowserCaptureHTTPServer`, plus CLI round-trips via `CliRunner`). `mypy` clean on touched files. `devtools verify --quick` exit 0 (`.cache/verify/runs/20260721T234119Z-quick-765869-deca05d8`). `devtools render all --check` exit 0 (new `pairing.py` module required a topology-projection regen, included). - JS: `npx vitest run` — 347 passed / 1 failed. The 1 failure (`build.test.js` service-worker-fixture timing) is **pre-existing and unrelated** — reproduced identically with this branch's diff stashed out (`git stash && npx vitest run tests/build.test.js` fails the same way). `npm run lint` and `npm run validate` (manifest) both clean. - **Anti-vacuity**: `test_pairing_redeem_route_pairs_without_a_preexisting_token` exercises the real `write_capture_envelope`-adjacent HTTP stack end to end — mutating `redeem_pairing_code` to skip the origin check, or removing the `_reject_origin()` call ahead of the pairing route in `server.py`, makes `test_pairing_redeem_route_rejects_disallowed_origin` fail; mutating the single-use clear-on-success behavior makes `test_pairing_redeem_route_is_single_use_over_http` fail. On the JS side, deleting the `polylogue.pairWithCode` handler or the `Content-Type` header in `redeemPairingCode` fails `background.test.js`'s "exchanges a valid pairing code" test (asserts no `Authorization` header is sent and the body round-trips exactly). ## What only manual/live browser testing can prove - The popup's new "Pairing code" field actually rendering and being reachable/styled correctly in a real installed Chrome/Firefox profile (jsdom-based `popup.test.js` proves the click → message → storage wiring, not visual layout). - End-to-end pairing against a real `polylogued` daemon + real `chrome-extension://<id>` origin (the test fixtures use a synthetic `chrome-extension://polylogue-test` origin, which is the same pattern every other receiver-route test in this repo already uses). - Token-rotation recovery UX and the native-messaging path — both explicitly out of scope for this PR (see Solution above). ## Per-bead AC matrix **polylogue-gnie** ("Automate secure browser-to-receiver pairing"): 1. Fresh install pairs without viewing/copying/pasting a bearer secret — **partially satisfied**: the one-time-code fallback delivers this; the design's *primary* recommendation (native messaging) is not attempted. 2. Receiver stays deny-by-default; hostile origin/process can't retrieve the token via pairing — **satisfied** for the origin axis (tested); the short-lived/single-use/rate-limited code is the stated defense against a same-host process without native-messaging-grade isolation. 3. Pairing binds real extension+receiver identities, fails visibly on mismatch, logs no secret — **satisfied**: the response includes `receiver_id`; rejections log only the exception type, never the code or token (verified by reading the log call sites). 4. Token rotation invalidates old token, extension recovers automatically — **deferred**: this AC clause is explicitly tied to the native-messaging path in the bead's design text; manual re-pairing remains the recovery route with this fallback. 5. Real browser-extension-to-loopback fixture proving first pairing, authenticated reads, rotation recovery, profile reseed, hostile-origin rejection, receiver-offline recovery — **partially satisfied**: first pairing and hostile-origin rejection are proven over real HTTP; rotation recovery, profile reseed, and receiver-offline recovery are not (need a live browser or are explicitly deferred per AC #4). **polylogue-3v1** ("Capture extension reliability + status UX"): - Badge shows current/spooled/error per tab — **unchanged by this PR** (already substantially shipped per the bead's prior-session notes; independently verified present in the current tree). - Receiver-down spooling drains with no loss/dup — **unchanged by this PR** (prior sessions' notes claim this is already implemented; not re-verified here — out of this slice's scope). - `gemini.google.com` capture end-to-end — **not attempted** (full new provider bridge, out of scope for this slice; named as residual above). - Capture-gap events queryable in the archive — **satisfied for the receiver/CLI side** (`GET /v1/capture-health`, `polylogued browser-capture capture-health`); **not satisfied for the producer side** — the extension does not yet detect and report gaps automatically (residual, needs a follow-up bead for the visible-vs- captured comparison + wiring). - Bridge DOM fixtures in CI — **unchanged by this PR**. **polylogue-yyvg.7** ("Make extension UX automatic and exception-driven"): - AC1-AC7 — **no change from the bead's existing 2026-07-19 record**, independently spot-checked against current `main` and found consistent. Still-open items per that record (explicit-approval/destructive-conflict attention categories blocked on a missing data model; literal live-installed offline-recovery proof) are unchanged residuals, not addressed by this PR. ## Residuals (named follow-ups, not silently dropped) 1. Extension-side capture-health *producer* wiring (visible-vs-captured comparison → `POST /v1/capture-health` on detected gap/error/spool- backlog/provider-auth-broken) — the receiver/CLI/query side landed here, the extension-side detection+call did not. 2. Gemini (`gemini.google.com`) capture bridge — not attempted. 3. Native-messaging installer bootstrap for gnie AC #1/#4's full automatic path — not attempted (this repo cannot install/test it headlessly). 4. yyvg.7's explicit-approval/destructive-conflict attention categories — blocked on a ptx-side data model that does not exist yet (per the bead's own notes, unchanged by this PR).
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Summary
Replace the private GPT Pro launch/work-package implementation with a provider-neutral browser action conduit, and make canonical conversation capture converge automatically from provider evidence even after visible tabs close. The extension popup now treats ordinary pages as non-conversations and removes capture/status/open-tab/receiver hand cranks.
Problem
The browser product had absorbed one operator-specific campaign: Sol prompts, work packages, cadence, handoff validation, and launch queues lived inside generic receiver/extension code. At the same time, ordinary capture could archive an early snapshot and never reacquire later assistant turns or files; status and recovery mechanics were exposed as user buttons. Ordinary webpages could also inherit stale conversation fidelity and appear as failed unsupported conversations.
Solution
Acceptance / residual matrix
Verification
npm test— 15 files, 276 tests passed.npm run lint— ESLint passed.npm run validate— manifest v0.1.0 passed.devtools test tests/unit/browser_capture/test_actions.py— 8 passed.devtools test tests/unit/browser_capture/test_receiver.py tests/unit/browser_capture/test_receiver_contract.py tests/unit/browser_capture/test_backfill_checkpoint.py— 91 passed.devtools verify --quick— all 16 steps passed; push-hook run20260716T071901Z-quick-4106561-98b357f8..agent/scripts/bd-graph-lint— no cycles, label inversions, or missing AC.6a587a8c-1ab0-83eb-9599-03f35742a338, user turn3d3741d3-6a72-4833-b3c6-297acffbf977, exact Chat / GPT-5.6 Sol / Pro./v1/browser-capturespath.Refs polylogue-ptx, polylogue-3v1, polylogue-jlme.5, polylogue-yyvg.5.
Summary by CodeRabbit