Skip to content

Land deferred PE-2 lineage observability (panel_voter_lineage_unknown) — held in local stash #42

@omerakben

Description

@omerakben

Deferred PE-2 (OpenRouter) lineage-observability feature, currently held in a local git stash (stash@{0}) — not on any branch or remote.

What it is: +164 lines across 3 files adding a new panel_voter_lineage_unknown event type plus an emitter loop in runReviewPanel, with a full test:

  • src/phases/review-panel.ts (+29)
  • src/state/schemas.ts (+52)
  • tests/review-panel-orchestrator.test.ts (+83)

Status: Confirmed absent from main (verified by the 2026-05-29 branch-cleanup audit — git grep panel_voter_lineage_unknown origin/main -- src/ returns nothing). Main's handoff docs (CODEX_BRIEFING_OPENCODE_R_MERGE.md, handoffs/2026-05-12-session-3-opencode-triage.md) explicitly set its disposition to "keep stashed" pending a future R-merge value call.

To land it later:

  • Rebase onto the current src/state/schemas.ts OptionalActorAttributed<> wrapping (the stash predates it).
  • Add a strict validator case in src/state/events.ts.
  • Original stash base was worktree-opencode-fixfirst @ 4870a32 (branch since deleted; that commit is an ancestor of main).

Caveat: this code lives only in a local stash on the maintainer's machine. git stash clear would destroy it. Consider git stash branch <name> stash@{0} to a durable branch if it will not be landed soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions