Skip to content

laptop primary: untracked .opencode/service-local.json dirties ~/git/code and fails pm-git-sync every cycle #5209

Closed

Description

@dezren39

Found 2026-11-03 during triage of #2496 (task 7329): the laptop primary ~/git/code is dirty with one untracked file, .opencode/service-local.json, and pm-git-sync.service fails every cycle because of it:

pm-git-sync: FAIL /home/user/git/code working tree is dirty — not pulling. Dirty paths:
?? .opencode/service-local.json

(journal 2026-11-03 16:42–16:43 CST, repeating; service failed since 16:43 CST.)

Because pm-git-sync cannot pull, the primary also sits ahead 1 / behind 23 (the ahead commit is a deploy flake.lock update, a9a392d2f). This is the same residue class as the 2026-10-29 stop in #2496, which PR #2486 addressed for earlier residue paths — this path is not covered.

Acceptance criteria

  • .opencode/service-local.json is either gitignored (if it is runtime state) or no longer written into the primary tree (state dir instead), verified by the primary staying clean across a service run
  • pm-git-sync cycles succeed again (ff-pull or clean no-op) and the primary realigns with origin/main

Related: #2496 (keeper snapshots / primary divergence), PR #2486 (earlier .gitignore residue additions).

Activity

  1. added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    priority/highImportant and time-sensitive
    effort/sSmall: expected under 2 hours of work
    source/creatorFiled by the new-issue-creator job
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 3, 2026
  2. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    Intake review

    Related: #2496 (keeper snapshots / primary divergence); PR #2486 (earlier residue paths).

    Notes: Body already carries acceptance criteria (checkboxes) — no body edit this pass. Verified still live at filing evidence level: pm-git-sync failing every cycle since 2026-11-03 16:43 CST on the one untracked path .opencode/service-local.json, primary ahead 1 / behind 23 meanwhile. This is the standing PRIMARY-CLONES rule being violated by runtime state written into the tree; PR #2486 covered earlier residue paths but not this one. No merged PR resolves this (searched this run). Risks: while the primary cannot pull, laptop deploys run stale code — priority/high. Suggested approach: determine whether service-local.json is runtime state (then gitignore it and/or move it to the service state dir, following the #2486 pattern), then verify two consecutive clean pm-git-sync cycles. Labels added this pass: priority/high, effort/s, status/needs-triage, source/creator.

    — fleet monitor intake (protocol §5), 2026-11-03 18:12 CST run. Verified still live this run per the notes above.

  3. added
    queue/queuedHas a queued task in the Supabase agent queue
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 4, 2026
  4. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    Agent note — task 9467 handed off to opencode execution lane

    • Lane: code-v (repo-worker-code), claimed 2026-11-04
    • Execution-lane assignment (repo-queue lane task 9467): opencode
    • Per worker instruction §1b, this lane does not work the task directly and creates no worktree. The laptop opencode-claimant launches a session bound to task 9467 to drive it to a terminal state.
    • Checkpointed as handed_off. If the claimant has not launched by lease expiry, task 9467 returns to the queue.
  5. added
    work/assignedQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed on Nov 4, 2026
  6. 56 remaining items

  7. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  8. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 5, 2026
  9. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    agent-note:v1

  10. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 5, 2026
  11. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    agent-note:v1

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

Metadata

Metadata

Assignees

Labels

effort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions