Skip to content

fleet-conductor has no enrolled identity of its own on amd-6: every cycle withholds dispatch (blocks #16791) #16840

Backlog

Description

@developing-today-fleet

Filed by Felix lane 0640-AK from the #16791 diagnosis, 2026-11-29.

Defect. The fleet-conductor on amd-6 has no enrolled fleet identity of its own. When a conductor cycle reaches its dispatch phase, fleet agent doctor in the conductor session's environment resolves a lane identity (the 2026-11-29T10:30Z cycle recorded oc-code-06; a laptop shell resolves code-f — the resolved identity depends on the invoking environment, and it is never a conductor identity). The conductor correctly refuses to claim or bind queue work under another worker's identity and invents no lane ID, so every cycle ends with dispatch withheld:

  • 2026-11-29T10:30Z cycle (the last cycle to complete and write its log entry): "Phase 2 — DISPATCH: 0 claims, 0 verified launches, 0 hand-backs… atomic claim/binding could not be performed safely under the identity constraint. Queue state therefore remains unknown, not empty."
  • Result: conductor sessions launch every ~20 min and complete their sweep, but dispatch has been withheld since 2026-11-29T10:24Z and the conductor-silence heartbeat filed Conductor silence: fleet-conductor — no completed cycle within threshold #16791.

Evidence. conductor-log.md on amd-6 (single entry, 2026-11-29T10:30Z, dispatch-withheld record quoted above); OpenChamber /api/session listing 2026-11-29 (conductor sessions launching on cadence at 14:00Z–15:20Z, cycles completing slowly); fleet agent doctor on amd-6 resolving code-f / oc-code-06 depending on environment, never a conductor identity.

Fix shape (for the conductor programme to land). Give the conductor its own enrolled identity/profile on amd-6 (e.g. a conductor agent enrolled under its own name) and make the conductor's scheduled task run under that profile, without disturbing the lane identities (oc-code-*, code-f) the same host legitimately uses for queue lanes. Acceptance: a conductor cycle's dispatch phase runs fleet agent doctor resolving the conductor identity, and a cycle completes with claims/bindings performed under it (or an explicit, recorded decision that the conductor remains sweep-only, in which case #16791's premise and the silence probe's completion rule need revisiting).

Related. #16791 (the silence this blocks), #16546 (prior conductor silence; records host amd scheduler restoration as the conductor programme's blocker), #15123 (the silence heartbeat).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-29T15:41:28Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "ac3f377b7f752f50918f491d7443b79e95b5dc34"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    kind/bug
    priority/high
    on Nov 29, 2026
  2. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Agent note · Felix lane 0640-AL (worker felix), 2026-11-29 — CLAIM on #16840 (filed by lane 0640-AK from the #16791 diagnosis; no competing claim on the thread).

    Plan for this pass:

    1. Establish the fleet profile mechanics from source: how fleet agent enroll / fleet agent doctor resolve an identity, and how a process selects a non-default profile (env/config), so the conductor can run under its own identity without disturbing the lane identities (oc-code-*, code-f) on amd-6.
    2. Inspect amd-6's current state (fleet shell): the existing fleet config/profile files, what identity the conductor's environment resolves, and where the conductor's scheduled task is defined.
    3. Land the additive step if it is one: enroll a dedicated conductor identity/profile that nothing references yet. If switching the conductor's task to that profile is a live-config change owned by the conductor programme, I will record the exact recipe and evidence here instead of forcing it, and say so plainly.

    Priority check (Drewry's 2026-11-29 validation rule): priority/high is correct — the conductor's dispatch has been withheld since 2026-11-29T10:24Z, which starves every queue the conductor serves; important and time-sensitive, not critical (lanes still draw directly; no outage of the repos themselves).

  3. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Agent note · Felix lane 0640-AL (worker felix), 2026-11-29 — the conductor identity now EXISTS and verifies. One live-config step remains, named exactly below; I stopped at that boundary deliberately (it edits the conductor programme's own live automation store).

    Mechanism (from source, pkgs/fleet/crates/fleet-agent/src/enroll.rs): a fleet process resolves its profile by --profile flag, else $FLEET_AGENT_PROFILE, else the default ~/.config/fleet/agent.json. amd-6's convention is one profile per agent under ~/.config/fleet/agents/<name>.json (oc-code-04's lives there).

    Evidence of the defect, fresh today: amd-6's default ~/.config/fleet/agent.json currently reads oc-code-06 — re-enrolled at 2026-11-29T16:22Z by that lane. The default profile is a revolving door for whichever lane enrolled last without --profile; the conductor, resolving the default, correctly refuses to dispatch under a lane's identity.

    Done this pass (additive, reversible, nothing references it yet):

    • Enrolled the conductor on amd-6: fleet agent enroll --kind openchamber --name conductor --profile ~/.config/fleet/agents/conductor.json → rc 0; profile saved (name conductor, kind openchamber, groups [opencode, openchamber], gh route fleet). The default agent.json was not touched.
    • Verified: FLEET_AGENT_PROFILE=~/.config/fleet/agents/conductor.json fleet agent doctor on amd-6 → agent conductor, enrolled true, all four legs ok (bridge, queue, github/fleet, shell).

    The one remaining step (owner: the conductor programme / whoever edits OpenChamber scheduled tasks on amd-6): the conductor task — "Fleet conductor — session sweep + dispatch", id 9b450f41-69ec-4dfd-9717-c48f2d89d446, in ~/.config/openchamber/projects/path_L2hvbWUvdXNlci9naXQvY29kZQ.json (scheduledTasks[12], cron */20 * * * * America/Chicago) — has no env field in its execution object ({prompt, providerID, modelID, agent, permissionAutoAccept}), so the switch is a prompt edit: add an instruction that the session exports FLEET_AGENT_PROFILE=$HOME/.config/fleet/agents/conductor.json before running any fleet verb (equivalently, pass --profile ~/.config/fleet/agents/conductor.json on its agent/queue calls). I did not make that edit from this lane: it rewrites the live prompt of another programme's automation in a store OpenChamber itself manages.

    Acceptance after that edit: the next conductor cycle's dispatch phase runs doctor as conductor and completes with claims/bindings under it — which also clears #16791's silence premise. If the programme instead decides the conductor stays sweep-only, that decision needs recording here and on #16791.

  4. dezren39 commented on Nov 29, 2026

    @dezren39
    Member

    Owner approval to finish #16840. Drew approved binding the already-enrolled, doctor-verified conductor profile to the existing OpenChamber Fleet conductor — session sweep + dispatch task, and verifying an unattended cycle. Felix / existing conductor host owner: please complete your current handoff; no second claim or enrollment needed.

    Use the supported task update path and change only the one conductor task. Keep other lanes, schedule, provider/model, permissions, default Fleet profile, and claim safeguards unchanged. Bind the dedicated profile for each Fleet invocation (an export in a separate short-lived shell does not persist); verify fleet agent doctor resolves exactly conductor in the scheduled context, and fail closed on mismatch. Do not reuse another lane's credentials or launch a duplicate or dummy production task. A normal eligible task, if available, should have one genuine claim and verified launch under conductor; if none is available report that honestly and leave dispatch verification pending. Please link one completed unattended cycle and fresh heartbeat in #16791. Report any blocker or continued slow cycle with timing; no unrelated runtime changes.

  5. added
    status/needs-triage
    effort/m
    app/fleet
    source/agent
    meta/enriched
    on Nov 29, 2026
  6. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Intake review

    Related: issue #16791 (the conductor-silence filing this blocks), issue #16546 (prior conductor silence), issue #15123 (the silence heartbeat).

    Notes: The body carries an explicit Acceptance statement inside its fix-shape paragraph — no append needed. Evidence is firsthand: conductor-log.md on amd-6 (2026-11-29T10:30Z dispatch-withheld entry) plus fleet agent doctor resolving different lane identities by environment, never a conductor identity.

    Risks: Conductor cycles keep launching and sweeping while dispatch stays withheld — the fleet reads this as silence (#16791) even though the conductor is running.

    Suggested approach: Enroll a dedicated conductor identity/profile on amd-6 and point the conductor's scheduled task at it, taking care not to disturb the oc-code-*/code-f lane identities on the same host; verify with a cycle whose dispatch phase resolves the conductor identity.

    🤖 Agent note · state: filed

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-11-29 11:14 CST
    • Found via: monitor reconciliation — intake enrichment (Duty 2)
    • Task: Intake enrichment pass (protocol §5).
    • Expectation: Intake complete; item is triage-ready for a lane.
    • Links: see above
  7. dezren39 commented on Nov 29, 2026

    @dezren39
    Member

    Live change applied under Drew’s approval through OpenChamber’s supported single-task upsert on AMD. HTTP 200 and immediate round-trip readback confirmed that only the conductor prompt changed, preserving the original prompt after the task-local profile preamble and leaving the 32 other tasks unchanged. No restart or manual run. The preamble pins every Fleet invocation to the dedicated conductor profile and withholds dispatch if doctor reports anything else. Felix / conductor host owner: do not reapply the binding; please continue with the next unattended cycle, timing and heartbeat verification from #16791. Runtime recovery is not yet verified.

  8. dezren39 commented on Nov 30, 2026

    @dezren39
    Member

    Follow-through on the existing host-owner verification: #16791’s Nov. 30 heartbeat read advanced its last completion to Nov. 29 18:57 UTC, after the 18:42 profile task edit, but still flagged silence. The timestamp alone is not evidence that the cycle started after the change. Please recover the 18:57 cycle’s start time, scheduled session identity, sweep/dispatch outcome and duration, and check subsequent normal cycles and heartbeat. No rebinding, manual launch, or duplicate claim needed for this evidence pass.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/fleeteffort/mkind/bugmeta/enrichedpriority/highsource/agentstatus/needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions