Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ Only `held`, `user/owned`, and `do-not-auto-edit` hold for a human;
are not holds; workers own tasks by atomic claim. Check holds before parking
for ownership; check notes before posting a park/pickup note. Always post
progress notes. Land or checkpoint a reviewable slice before parking for size.
There is no ownership handoff: never park awaiting one.

## Research, design and delivery workflow

Expand Down
8 changes: 8 additions & 0 deletions doc/agents/one-queue-claiming-work.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ park notes in two days). The rule:
agents push and open PRs under that account, so authorship is fleet
work product, not a hold. A PR is someone else's only if a live queue
claim holds it or it carries a hold label.
- **There is no ownership handoff.** Never park "awaiting ownership
handoff", "owner release", "owner coordination" or "reassignment",
and never carry such a gate forward in a resume brief or queue
checkpoint: nobody gives one. A queue task's own earlier branch,
Comment thread
dezren39 marked this conversation as resolved.
Resolved
worktree or draft PR is its own work to inspect and continue. (On
2026-11-21 seven parked tasks were still waiting on such a gate
after the assignments were cleared; their checkpoints were reset.)
See [FDR-0012](../decisions/FDR-0012-no-ownership-handoff-park-gates.md).
- Check before parking on ownership (exit 0 = workable, 3 = held):

```bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Status: accepted
- Owner: Fleet queue maintainers
- Decision maker: Drew, explicit request to filter Fleet claims by actual implementation repository and suitable work window, 2026-11-18.
- Superseded in part by: [FDR-0012](FDR-0012-no-ownership-handoff-park-gates.md) (handoff semantics and the legacy ownership-hold default only).

## Context and sources

Expand Down
105 changes: 105 additions & 0 deletions doc/decisions/FDR-0012-no-ownership-handoff-park-gates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# FDR-0012 — No ownership-handoff park gates

- **Date:** 2026-11-21
- **Status:** accepted
- **Owner:** Fleet queue maintainers
- **Decision maker:** Drew, 2026-11-20 ("my being assigned means nothing yall
share my username") and 2026-11-21 ("yes handle it all"), in the thread that
tracked agent lanes parking issues assigned to him.
- **Scope:** which ownership conditions may hold, park, or gate queue work, and
what happens to checkpoints that carry an ownership-handoff gate.
- **Supersedes:** FDR-0011, in part: only its retained "handoff semantics" and its
open-question default to leave legacy ownership holds unchanged. FDR-0011's
implementation-target and work-window decision stands.
- **Superseded by:** none
- **Related records:** FDR-0002, FDR-0006, FDR-0008, FDR-0011
- **Implementation:** [#12061](https://github.com/developing-today/code/pull/12061)
(lane guard, sweeper removed), [#12074](https://github.com/developing-today/code/pull/12074)
(wayfinder claims by label), [#12155](https://github.com/developing-today/code/pull/12155)
(this rule in `AGENTS.md` and
[`doc/agents/one-queue-claiming-work.md`](../agents/one-queue-claiming-work.md));
lane prompts and seven queue checkpoints corrected on the fleet laptop, 2026-11-21.

## Context and problem

Every fleet agent acts through one shared GitHub account, `dezren39`, which is
also Drew's username. Lanes read "assigned to dezren39", "opened by dezren39",
or an earlier run's branch or draft PR as someone else owning the work, then
parked the task "awaiting ownership handoff", "owner release" or
"reassignment". Nobody ever gives that handoff, so such a park never ends.
By 2026-11-20 1,068 open issues and 13 open PRs carried the assignment, and
lanes kept parking on it. On 2026-11-21, after every assignment was cleared,
seven parked queue tasks still carried the gate in their checkpoint `next` and
`resume_condition`, so a resumed lane would have parked them again.

FDR-0011 records this same pattern as fact (tasks 20725/#7587 and 20567/#10345
"require owner handoff") and, as its open-question default, leaves legacy
ownership holds unchanged. That default keeps the dead gate alive.

## Source links

- Originating issues/PRs: #12061, #12074, #12155.
- Queue task IDs: the seven tasks requeued on 2026-11-21 (their checkpoints
record `stage: ownership_gate_cleared`).
- Dated ruling: Drew, 2026-11-20 and 2026-11-21, quoted above.
- Evidence: zero open issues or PRs assigned to `dezren39` after the 2026-11-21
sweep; laptop prompt and queue-store backups suffixed `bak-20261121-handoff`.

## Options considered

| Option | What it means | Assessment |
| ---------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| A. Keep FDR-0011's default | Leave ownership-gated checkpoints as they are until a producer verifies them | Rejected: no producer can verify a handoff that nobody gives; parks forever |
| B. Clear assignments only | Unassign the account, leave checkpoints | Rejected: checkpoints re-park resumed work on the same gate |
| C. No ownership-handoff park gates | Only a live claim or a hold label holds work; handoff-gated checkpoints are reset | Chosen |

## Decision

1. Only these hold work: a live queue claim, or the labels `held`, `user/owned`
or `do-not-auto-edit` (`do-not-merge` blocks merging only). Assignment,
authorship, commits or a `work/assigned` marker by the shared account are
not holds.
2. There is no ownership handoff. A lane never parks "awaiting ownership
handoff", "owner release", "owner coordination" or "reassignment", and never
writes such a gate into a resume brief, `next`, or `resume_condition`.
3. A checkpoint whose only remaining gate is one of those is invalid. Any lane
or maintainer may reset its `next` and `resume_condition` to "workable now"
and requeue the task, recording `stage: ownership_gate_cleared` in progress.
A checkpoint that also names a real gate (a hold label, a live claim, a
design or capacity gate) keeps that gate.
4. A queue task's own earlier branch, worktree or draft PR is its own work to
inspect and continue, not another owner's.
5. FDR-0008 still applies: a park needs a purposeful term and a release path,
and an ownership handoff is neither.

## Rationale and evidence

**Measured / sourced facts:** the shared account is the only GitHub identity
agents use; assignment and authorship by it carry no information about who holds
the work. The 2026-11-20 sweep and 2026-11-21 checkpoint audit are recorded in
#12155.

**Inference:** a gate whose release depends on an act nobody performs fails
FDR-0008's release-path requirement and FDR-0009's reboot test by construction.

## Consequences

- Behavior changes: lanes stop parking on assignment or authorship; seven
previously gated tasks are workable.
- Compatibility / migration: done once on 2026-11-21 for the live queue; any
later checkpoint carrying the gate is reset under rule 3.
- New failure modes: two lanes could pick up the same unclaimed task's earlier
branch; the queue claim, not ownership, is what prevents that.
- Monitoring and tests required: `pm-stack/lane-guard` tests (from #12061)
cover assignment not holding work.

## Revisit triggers

Agents get distinct GitHub identities, or a real person other than Drew starts
taking fleet work through the shared account.

## Open questions

- **OQ-1 — Should the broker reject a park reason naming an ownership handoff?**
Default: prompts and this record forbid it; no broker validation yet. Settled
by: a park-reason validation change in `pkgs/fleet`.
1 change: 1 addition & 0 deletions doc/decisions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ the decision; `Implementation` is where the decision lands in code, docs, or iss
| [FDR-0010](FDR-0010-completion-requires-evidence.md) | Issue completion requires deliverable evidence from the bound work | `proposed` | Fleet queue maintainers | Policy direction from the [#9155](https://github.com/developing-today/code/issues/9155) closure, 2026-11-12; prior pattern [#7610](https://github.com/developing-today/code/issues/7610) | [#9221](https://github.com/developing-today/code/issues/9221) closure records + reason-required closes; [#9177](https://github.com/developing-today/code/issues/9177) |

| [FDR-0011](FDR-0011-implementation-target-and-work-window.md) | Implementation target and usable work window | `accepted` | Fleet queue maintainers | Drew request, 2026-11-18; code#10415/task 20592 | Claim repo filter + existing #3418 budget gate |
| [FDR-0012](FDR-0012-no-ownership-handoff-park-gates.md) | No ownership-handoff park gates (supersedes FDR-0011 in part) | `accepted` | Fleet queue maintainers | Drew rulings, 2026-11-20 and 2026-11-21 | [#12061](https://github.com/developing-today/code/pull/12061), [#12074](https://github.com/developing-today/code/pull/12074), [#12155](https://github.com/developing-today/code/pull/12155); queue checkpoints reset 2026-11-21 |

### Package-scoped records (not in this namespace)

Expand Down