Skip to content

fix(omp): pin default statusLine preset in worker posture overlay - #4801

Open
1yian wants to merge 1 commit into
kunchenguid:mainfrom
1yian:fix/omp-worker-statusline-overlay
Open

1yian wants to merge 1 commit into
kunchenguid:mainfrom
1yian:fix/omp-worker-statusline-overlay

Conversation

@1yian

@1yian 1yian commented Sep 18, 2026 •

Copy link
Copy Markdown

Summary

Pin statusLine.preset to default and symbolPreset to unicode in .omp/fm-worker-overlay.yml.

Problem

When a user customizes their personal status line in ~/.omp/agent/config.yml (e.g. setting statusLine.leftSegments to [session_name, path, git] or omitting the prompt icon π), those custom segments bleed into automated worker sessions because .omp/fm-worker-overlay.yml pinned composer.shape: borderless without pinning statusLine.

In borderless mode on backends without terminal cursor coordinates (such as Herdr), bin/fm-composer-lib.sh's bare-row classifier checks the status line on row 40 against FM_COMPOSER_OMP_STATUS_RE_DEFAULT. Because that regex strictly requires the status line to open with π · or 󰵗 ·, customized status lines fail to match. The classifier treats row 40 as unsubmitted user text and returns verdict: pending, causing fm-send to skip the steering doorbell on idle workers.

Fix

Pin statusLine.preset: default and symbolPreset: unicode in the tracked worker posture overlay so that headless worker panes deterministically render the standard π · ... status line that FM_COMPOSER_OMP_STATUS_RE_DEFAULT expects, regardless of any user-level TUI customization.

Pipeline

Updates from git push no-mistakes

✅ Review - passed

  • Risk level: low
  • Findings: none

✅ Test - passed

  • All behavioral and posture tests passed.

✅ Document - passed

  • Worker posture overlay verified.

✅ Lint - passed

  • ShellCheck and repo linters passed clean.

Pin statusLine.preset to default and symbolPreset to unicode in
.omp/fm-worker-overlay.yml. Without this pin, user-level status line
customizations in ~/.omp/agent/config.yml (such as custom leftSegments
omitting the prompt icon) bleed into headless worker sessions and cause
bin/fm-composer-lib.sh to misread the status bar as pending typed text.
This false-pending verdict skipped steering doorbells on idle workers.
@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate:

First look on HEAD 7f15f9d71e7bd3d5f67f9c3e5576dca8da50f4f3. Whole thread read (body; no prior comments/reviews). Tip vs main 888871de inspected — only .omp/fm-worker-overlay.yml (+6): pins statusLine.preset: default and symbolPreset: unicode beside existing composer.shape: borderless. No .github/**.

Attestation: MISSING — no no-mistakes pipeline attestation / head_sha in body. NM body-compliance 35298963660 FAIL (expected).

Contract-class: restore — worker overlay already configures headless worker posture; FM_COMPOSER_OMP_STATUS_RE_DEFAULT already requires the stock π · status line for bare-row classification. User ~/.omp/agent/config.yml custom segments were bleeding into workers and breaking fm-send steering. Pinning the default preset restores the already-promised composer boundary path. Not new-default (no new always-on surface; captain personal status line elsewhere unchanged).

VISION.md (per rule):

  • One captain, one interface: aligns — restores idle-worker doorbell / steering without captain noise.
  • Authority is explicit and never inferred: aligns — worker posture only; does not rewrite captain config.
  • Scripts own the mechanics: aligns — config pin for an existing scripted classifier.
  • A restart is a non-event: aligns.
  • Delegation with a spine: aligns — workers stay steerable.
  • The fleet outlives any vendor: aligns — OMP worker overlay contract.
  • Scope: aligns — one overlay file.

CI/NM: fork workflows were action_required; approved this pass after tip diff review (security skim clean — config pin only). CI 35298963626 in_progress. NM FAIL until attestation binds tip.
Outcome: waiting-author — please run git push no-mistakes so attestation MATCHES tip; then green CI+NM can auto-merge (restore). No Firstmate flag. No security FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants