@ai-dossier/sched 0.47.0 → 0.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +103 -13
  2. package/dist/anchor-close.d.ts.map +1 -1
  3. package/dist/anchor-close.js +2 -1
  4. package/dist/anchor-close.js.map +1 -1
  5. package/dist/batch-dispatch.d.ts +7 -1
  6. package/dist/batch-dispatch.d.ts.map +1 -1
  7. package/dist/batch-dispatch.js +234 -89
  8. package/dist/batch-dispatch.js.map +1 -1
  9. package/dist/dispatch.d.ts +17 -0
  10. package/dist/dispatch.d.ts.map +1 -1
  11. package/dist/dispatch.js +31 -0
  12. package/dist/dispatch.js.map +1 -1
  13. package/dist/engine.d.ts.map +1 -1
  14. package/dist/engine.js +10 -2
  15. package/dist/engine.js.map +1 -1
  16. package/dist/index.d.ts +7 -7
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +22 -4
  19. package/dist/index.js.map +1 -1
  20. package/dist/recovery.d.ts +39 -3
  21. package/dist/recovery.d.ts.map +1 -1
  22. package/dist/recovery.js +206 -46
  23. package/dist/recovery.js.map +1 -1
  24. package/dist/scheduler.d.ts +15 -1
  25. package/dist/scheduler.d.ts.map +1 -1
  26. package/dist/scheduler.js +26 -0
  27. package/dist/scheduler.js.map +1 -1
  28. package/dist/state.d.ts +69 -8
  29. package/dist/state.d.ts.map +1 -1
  30. package/dist/state.js +177 -14
  31. package/dist/state.js.map +1 -1
  32. package/dist/status.d.ts +107 -5
  33. package/dist/status.d.ts.map +1 -1
  34. package/dist/status.js +291 -4
  35. package/dist/status.js.map +1 -1
  36. package/dist/teardown.d.ts +9 -0
  37. package/dist/teardown.d.ts.map +1 -1
  38. package/dist/teardown.js +19 -10
  39. package/dist/teardown.js.map +1 -1
  40. package/dist/types.d.ts +45 -5
  41. package/dist/types.d.ts.map +1 -1
  42. package/dist/types.js +20 -2
  43. package/dist/types.js.map +1 -1
  44. package/package.json +1 -1
package/README.md CHANGED
@@ -34,7 +34,8 @@ ai-dossier sched resume
34
34
  ai-dossier sched stop --issue 42 # terminate one full-cycle agent and record it stopped (no recovery)
35
35
  ai-dossier sched stop --batch b1 # terminate every batch agent (incl. parallel members) and stop unfinished members
36
36
  ai-dossier sched abandon --issue 42 --reason "operator abort"
37
- ai-dossier sched abandon --batch b1 # dissolve; members requeue as full-cycle
37
+ ai-dossier sched abandon --batch b1 # dissolve; every unshipped member — parked and validated ones included — requeues as full-cycle
38
+ ai-dossier sched requeue --issue 42 # a PARKED batch member (evicted / handed-back) → full-cycle from its member branch, on the batch profile (#810)
38
39
  ai-dossier sched stats --issues 4..9 # per-issue tokens/cost from ~/.dossier/runs.jsonl (#524)
39
40
  ai-dossier sched stats --batch b1 --project owner-repo # batch member/tail/report/fix costs from raw dispatch logs (#564)
40
41
  ```
@@ -520,7 +521,9 @@ against real scratch repos.
520
521
  validating → attributing → fixing (ONE bounded attempt) → validating
521
522
  → evicting (revert the member's commits) → validating
522
523
  evictions > max(ceil(N × fraction), min_evictions_before_dissolve), or a
523
- revert conflict → dissolving → members requeued (`dissolve_policy`, #563)
524
+ revert conflict → dissolving → members requeued (`dissolve_policy`, #563;
525
+ #810: in-flight members park, and with VALIDATED
526
+ members present → blocked `dissolve-refused:<why>`)
524
527
  same threshold crossed, but the survivors' re-run suite came back green
525
528
  → reviewing (batch preserved; only the evicted
526
529
  members requeue — strategy=partial, #563)
@@ -580,7 +583,9 @@ awaiting-merge (CONFLICTING | auto-merge-blocked)
580
583
  `state.json` persisted before this fix shows one row per member in both `sched status`
581
584
  and `sched status --json`; the stored array is left as written.
582
585
  4. **Dissolve (AC3)** — `dissolveBatch` marks the batch `dissolved` and requeues every
583
- UNSHIPPED member: `full` (each as its own full-cycle run), `halved` (one or two fresh
586
+ UNSHIPPED member (#810 exceptions for `full`: already-parked members are left as they
587
+ are, in-flight members with a member branch are parked `evicted`, and validated members
588
+ make the batch BLOCK instead — see [Parked members](#parked-members-hand-back-vs-eviction-810)): `full` (each as its own full-cycle run), `halved` (one or two fresh
584
589
  `forming` half-batches — a single remaining member yields one — entries retagged,
585
590
  eviction groups inherited where they survive the split), or `partial` (#563 — never
586
591
  marks the batch `dissolved` at all: drops the evicted members from `batch.members` and
@@ -686,7 +691,8 @@ member got the light, relevance-scoped review). `review=full` is how a risk-floo
686
691
  tier moves: the batch's dispatch profile still resolves the executor for that tier, so the
687
692
  batch stays one agent family. The member's `spawned` journal event carries `review: "full"`.
688
693
  The floor follows the member: its bounded fix attempt dispatches at `strong` (not
689
- `FIX_ATTEMPT_TIER`), and an eviction/abandon requeue to full-cycle rewrites its `tier` to the
694
+ `FIX_ATTEMPT_TIER`), and a requeue to full-cycle (abandon, or `sched requeue` of a parked
695
+ member, #810) rewrites its `tier` to the
690
696
  floored value (and `review` back to `light`, a slot-only concept) so the full cycle keeps it.
691
697
  - **Prompt** — `buildMemberPrompt` substitutes a `{review}` placeholder.
692
698
  `DEFAULT_MEMBER_PROMPT_TEMPLATE` places `{review}` itself (#804), so both `light` and `full`
@@ -782,8 +788,8 @@ failure rails: executing → dissolving (a member self-reports blocked)
782
788
  TIP in its own worktree, its pushed branch refreshed (`--force-with-lease`), then
783
789
  `merge --ff-only`-landed — the same linear, `(#<issue>)`-trailed history (and
784
790
  `memberRanges` attribution) as serial landing. A member whose diff no longer rebases
785
- onto the members landed before it is evicted (`landing-conflict`, requeued full-cycle,
786
- its pushed branch kept) — batch-integrate's eviction verdict; a parent repair agent (#813) for
791
+ onto the members landed before it is evicted (`landing-conflict`; since #810 parked
792
+ `evicted` with its pushed branch recorded, never requeued automatically) — batch-integrate's eviction verdict; a parent repair agent (#813) for
787
793
  that conflict is a follow-up. A gate-inconclusive member still lands and keeps its
788
794
  tree; once every member resolves the batch blocks on it exactly as in serial mode
789
795
  (`sched resume --batch` works unchanged). The mode is decided ONCE at the
@@ -956,6 +962,55 @@ completion and park events reuse the existing unit-generic names (`assigned`/`sp
956
962
  `teardown-failed`) with `unit = batch:<id>`; the member `spawned` event also carries
957
963
  `worktree` (#677) naming the member worktree the prompt was built with.
958
964
 
965
+ ### Parked members: hand-back vs eviction (#810)
966
+
967
+ A batch member that leaves its batch before landing is **parked**, never auto-requeued:
968
+
969
+ - **`handed-back`** — the member posted its own terminal hand-back (`status=blocked
970
+ reason=<x>` at any phase, or `review partial`). A hand-back is a valued outcome, not a
971
+ batch failure: its `evictions[]` record carries `kind: 'handed-back'` and it **never
972
+ counts toward the dissolve threshold**. Journals `member-handed-back`.
973
+ - **`evicted`** — an engine-decided failure (unverified exit, incremental-gate
974
+ `task-failed`, landing conflict, worktree prep). Counts toward the threshold. Journals
975
+ `unit-failed`.
976
+
977
+ Both keep `mode: slot` + `batch`, record the member branch (`evictions[].branch`,
978
+ `failure_evidence.branch` — the pushed remote copy survives the member teardown) and stamp
979
+ the batch's `dispatch_profile` onto the entry. Neither is runnable until an operator runs
980
+ `sched requeue --issue <n>` (full-cycle on that profile; the cycle prompt gains a
981
+ `PRIOR WORK` instruction to continue from the member branch) or `sched abandon --issue <n>`.
982
+ `sched status` lists them under `== Parked members ==` with reason, branch, profile and
983
+ those exact commands (`parked_members` in `--json`).
984
+
985
+ The pre-#810 rail requeued every eviction `mode: full, dispatch_profile: null` from the
986
+ base branch — discarding the member's commits and running it on the config-default
987
+ provider (imboard b-20260924-02/-04).
988
+
989
+ Dissolve never throws validated work away:
990
+
991
+ - On the executing rail, an eviction that crosses the threshold while members are already
992
+ `validated` (landed on the integration branch) does **not** dissolve: it journals
993
+ `dissolve-suppressed` and the batch continues with its remaining members.
994
+ - `dissolveBatch({ strategy: 'full' })` with validated members **blocks** the batch
995
+ (`blocked_reason: dissolve-refused:<reason>`, milestone `validated=`) instead of
996
+ requeueing them. Every other unshipped member is released as a dissolve would (in-flight
997
+ parked, the rest requeued on the batch profile), running member agents are stopped and
998
+ every slot is released, so the blocked batch holds only its validated work. `sched status`
999
+ names the members and the exits: for an unattributed failure or a missing profile,
1000
+ `gh pr create --head <integration branch> --base <base>` — once it merges,
1001
+ `reconcileStaleBlockedBatches` settles the validated members to shipped; for a red suite
1002
+ or a partial revert, inspect/fix the branch first; `sched abandon --batch` requeues them
1003
+ full-cycle instead. (A `sched resume --batch` arm for these blocks is a follow-up.) Without validated members it dissolves
1004
+ as before, except that in-flight members with a member branch are parked `evicted` and
1005
+ every requeue carries the batch's dispatch profile (`carryDispatchProfile: false` only
1006
+ for `dispatch-profile-missing:*`, where the profile itself is what broke).
1007
+ - Not changed: the `halved` PR-conflict split still re-batches its members, and
1008
+ aggregate-suite evictions (`evictMembers`, post-landing, member branch already deleted)
1009
+ still requeue full-cycle — now on the batch profile.
1010
+
1011
+ State schema 1.24.0: `IssueStatus` gains `handed-back`; `EvictionRecord` gains optional
1012
+ `kind`/`branch`, `FailureEvidence` optional `branch`.
1013
+
959
1014
  ## API surface
960
1015
 
961
1016
  ```ts
@@ -1040,7 +1095,14 @@ import {
1040
1095
  handlePrConflict, // rebase + re-ship once, then dissolve into halves
1041
1096
  createExecMilestonePoster, // batch milestones via `ai-dossier runstate post`
1042
1097
  expandEvictionGroups, // members that must revert together (§E.4 eviction groups)
1043
- requeueMember, // the one requeue path abandon/evict/dissolve all take
1098
+ requeueMember, // the one requeue path (abandon, aggregate eviction, dissolve, sched requeue)
1099
+ parkMember, // #810: park a member `evicted` / `handed-back` — never auto-dispatched
1100
+ requeueParkedMember, // #810: `sched requeue` — a parked member → full-cycle on its park-time profile
1101
+ PARKED_MEMBER_STATUSES, MEMBER_EXIT_KINDS, // #810: evicted | handed-back
1102
+ memberDispatchProfile, // #810: a member's profile (its own, else its batch's)
1103
+ recordedMemberBranch, // #810: where a member's un-landed work is
1104
+ validatedMembersOf, // #810: the work a dissolve must never throw away
1105
+ priorWorkInstruction, // #810: the PRIOR WORK prompt suffix for a requeued parked member
1044
1106
  appendEvictions, // #595: the one evictions[] append — skips an issue already
1045
1107
  // recorded, returns the duplicates so the caller can journal
1046
1108
  distinctEvictions, // #595 read side: one record per member for a legacy state.json
@@ -1062,6 +1124,8 @@ import {
1062
1124
  TRANSITIONS, // the transition tables themselves (for previews)
1063
1125
  buildStatusReport, // machine-readable status incl. blocked/failed sets
1064
1126
  // (+ optional `anchorSweep` → `anchors`, #768; null without it)
1127
+ // (+ optional `worktreeReader` → `kept-worktree` warnings, #791)
1128
+ keptWorktreeCandidates, buildKeptWorktreeWarnings, defaultKeptWorktreeReader, // #791
1065
1129
  sweepAnchors, classifyAnchor, membersShippedVerdict, anchorLedgerBlockers,
1066
1130
  shippingEvidence, // #768 anchor-close predicate (pure; readers injected)
1067
1131
  closeAnchor, // #768 idempotent comment-then-close, `-R <repo>` explicit
@@ -1237,7 +1301,8 @@ after-the-fact recovery, not a missing-data bug.
1237
1301
  queue data.
1238
1302
  - **Schema**: state/config files from #460 (schema 1.0.0), #464 (1.1.0), #468 (1.2.0),
1239
1303
  #472 (1.3.0), #500 (1.4.0), #505 (1.5.0), #504 (1.6.0), #523 (1.7.0) and #524 (1.8.0)
1240
- load and migrate to the current schema (1.23.0) automatically (slot `branch`/`last_head`/`pid_start`, slot `role` (inferred from the
1304
+ load and migrate to the current schema (1.24.0 — #810: no backfill, `kind`/`branch`
1305
+ optional, absent = an `evicted` record with no branch) automatically (slot `branch`/`last_head`/`pid_start`, slot `role` (inferred from the
1241
1306
  unit's queue entry, with the persisted `phase` as a fallback — #500), entry
1242
1307
  `pr`/`cleanup`/`failure_evidence`, batch `anchor`/`branch`/`run_id`/`eviction_groups`/
1243
1308
  `evictions`/`fix_attempts`/`rebase_attempts`, state-level `last_pr_poll_at` backfill to
@@ -1264,10 +1329,14 @@ after-the-fact recovery, not a missing-data bug.
1264
1329
  can be manual (`sched pause`) or automatic (dispatch-health, #505/#629 above); `sched
1265
1330
  resume` clears the flag and both dispatch-health streaks.
1266
1331
 
1267
- ## Status health warnings (#776)
1332
+ ## Status health warnings (#776, #791)
1268
1333
 
1269
- `sched status` (and `warnings[]` in `--json`, built by `buildStatusWarnings`) flags state
1270
- nobody came back to, each with its exact remedy:
1334
+ `sched status` (and `warnings[]` in `--json`) flags state nobody came back to, each with
1335
+ its exact remedy. Most kinds come from `buildStatusWarnings`, pure over state + engine
1336
+ lease + clock; `kept-worktree` (below) comes from the separate `buildKeptWorktreeWarnings`,
1337
+ since it needs local git/fs reads — it only appears when the caller passes a
1338
+ `KeptWorktreeReader` to `buildStatusReport` (the CLI always does; a test harness omits it
1339
+ to skip the check entirely):
1271
1340
 
1272
1341
  - **`long-pause`** — paused for more than 24 h (`STATUS_HEALTH_WARNING_AGE_MS`), measured
1273
1342
  from `paused_at`, which `setPaused` stamps on the running → paused edge and clears on
@@ -1281,6 +1350,25 @@ nobody came back to, each with its exact remedy:
1281
1350
  closed issue sets the entry's sticky `stale_closed_at`, journals `stale-closed` once, and
1282
1351
  the recovery rail never respawns it (even after `sched resume`). Report slots are exempt:
1283
1352
  their issue is closed at merge by design. Remedy: `sched stop --issue N`.
1353
+ - **`kept-worktree`** (#791) — a `done` batch whose `worktree` or `member_worktree` is
1354
+ still set in the ledger: the `members-closed` stale-blocked reconcile below
1355
+ intentionally leaves it in place (it may hold unpushed operator repair work), and
1356
+ nothing else surfaced it until now. For each kept path, `sched status` reports:
1357
+ whether it still exists on disk; whether it is pool-claimed (the claim is held
1358
+ indefinitely until returned); and, via two local, read-only `git` probes scoped to
1359
+ that worktree's own `HEAD` (`git --no-optional-locks status --porcelain`, `git log
1360
+ HEAD --not --remotes`), whether it has uncommitted or unpushed work. The remedy is the
1361
+ exact `git worktree remove <path>` or `worktree-pool return --path <path>` command,
1362
+ properly shell-quoted — report-only, never executed. `reconcileKeptWorktrees`
1363
+ (`batch-dispatch.ts`, run every tick) separately clears the ledger's `worktree`/
1364
+ `pool_claimed` fields once there is DEFINITIVE evidence the cleanup already
1365
+ happened — the path no longer exists, or the pool itself reports it back as a warm
1366
+ spare — so the warning does not persist after the operator (or the pool) has already
1367
+ dealt with it; it never removes anything itself. A candidate whose path is currently
1368
+ claimed by a different, still in-flight batch is skipped (a returned pool worktree can
1369
+ be re-issued before the done batch's own field clears). Local-git-only, capped at 10
1370
+ probed candidates per run — no network call, so unlike `sched status --anchors` this
1371
+ runs by default.
1284
1372
 
1285
1373
  ## Batch anchors close only on positive evidence (#768)
1286
1374
 
@@ -1301,7 +1389,7 @@ predicate in `anchor-close.ts`) over `blocked`/`done` batches touched within the
1301
1389
  the imboard#4116 shape); that still needs a merge, i.e. write access. A member issue that no longer resolves
1302
1390
  (deleted/transferred) reads `member-missing` — needs-operator, not an outage.
1303
1391
  - **Never over a failure trail.** Any evicted member, any member in a failure status
1304
- (`ISSUE_UNIVERSAL_FAILURE_EDGES` + `evicted`/`requeued`), any member requeued out of
1392
+ (`ISSUE_UNIVERSAL_FAILURE_EDGES` + `evicted`/`handed-back`/`requeued`), any member requeued out of
1305
1393
  the batch, a dissolved/stopped batch, or a `decision-pending` label on the anchor or a
1306
1394
  member (case-insensitive, `hasLabel`) leaves the anchor open. The ledger is re-checked
1307
1395
  on a fresh load immediately before the close.
@@ -1317,7 +1405,9 @@ predicate in `anchor-close.ts`) over `blocked`/`done` batches touched within the
1317
1405
  for #686's stale-blocked reconcile (`members-closed`), which survives the mandated
1318
1406
  rebase-merge that makes the ancestry probe structurally dead. It finishes the terminal
1319
1407
  rail inline but never tears the blocked worktree down (it may hold unpushed work);
1320
- the journal line says the worktree was kept.
1408
+ the journal line says the worktree was kept, and `sched status` then raises a
1409
+ `kept-worktree` warning for it on every run until the ledger field clears — see
1410
+ above and `reconcileKeptWorktrees` (#791).
1321
1411
 
1322
1412
  Everything else is surfaced, never closed: `sched status --anchors` (opt-in; `status`
1323
1413
  makes no GitHub call without it) lists each still-open anchor of a batch no longer in
@@ -1 +1 @@
1
- {"version":3,"file":"anchor-close.d.ts","sourceRoot":"","sources":["../src/anchor-close.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,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B,GACrB,gBAAgB,GAChB,cAAc,CAAC;AAKnB;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,UAAU,EACjB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,kBAAkB,EAAE,GAC5B,kBAAkB,CAqCpB;AAED,4FAA4F;AAC5F,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,WAAW,CAAC;IAC1B,OAAO,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACnC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B;AAED;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,UAAU,EACjB,IAAI,EAAE,gBAAgB,EACtB,IAAI,GAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,YAAY,CAAA;CAAO,GACxD,gBAAgB,EAAE,CAmBpB"}
@@ -45,7 +45,8 @@ const state_1 = require("./state");
45
45
  */
46
46
  const MEMBER_FAILURE_STATUSES = new Set([
47
47
  ...state_1.ISSUE_UNIVERSAL_FAILURE_EDGES,
48
- 'evicted',
48
+ // #810: both parked statuses — `evicted` and the member's own `handed-back`.
49
+ ...state_1.PARKED_MEMBER_STATUSES,
49
50
  'requeued',
50
51
  ]);
51
52
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"anchor-close.js","sourceRoot":"","sources":["../src/anchor-close.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;;;AAyDH,8CAQC;AAGD,8CAIC;AAOD,oDAsBC;AAuCD,4CAuCC;AA2BD,sDAuDC;AAOD,wCAqBC;AAGD,8CAEC;AAGD,4DAWC;AA4BD,kCA4CC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AO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,CAAC,EAAE,OAAO,CAAC;QACzF,IAAI;QACJ,CAAC,CAAC,cAAc;QAChB,CAAC,CAAC,QAAQ,CAAC;AACf,CAAC;AAYD;;;;;;;;GAQG;AACH,SAAgB,YAAY,CAC1B,KAAiB,EACjB,IAAsB,EACtB,OAAuD,EAAE;IAEzD,MAAM,KAAK,GAAuB,EAAE,CAAC;IACrC,IAAI,OAAO,GAAG,KAAK,CAAC;IACpB,KAAK,MAAM,KAAK,IAAI,iBAAiB,CAAC,KAAK,EAAE,oBAAoB,CAAC,EAAE,CAAC;QACnE,MAAM,OAAO,GAAkB,OAAO;YACpC,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,oCAAoC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;YACnF,CAAC,CAAC,cAAc,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC;QACtE,IAAI,OAAO,CAAC,IAAI,KAAK,eAAe;YAAE,SAAS;QAC/C,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS;YAAE,OAAO,GAAG,IAAI,CAAC;QAC/C,KAAK,CAAC,IAAI,CAAC;YACT,KAAK,EAAE,KAAK,CAAC,EAAE;YACf,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,YAAY,EAAE,KAAK,CAAC,MAAM;YAC1B,OAAO,EAAE,OAAO,CAAC,IAAI;YACrB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;SACzB,CAAC,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -68,7 +68,7 @@ import type { SchedStore } from './persist';
68
68
  import type { ExecFn } from './project';
69
69
  import { type BatchSuiteContext, type SuiteResult } from './recovery';
70
70
  import { type FsExists } from './teardown';
71
- import type { BatchEntry, CapabilityGateResult, MemberDispatchMode, SchedConfig, SchedState } from './types';
71
+ import type { BatchEntry, CapabilityGateResult, MemberDispatchMode, MemberExitKind, SchedConfig, SchedState } from './types';
72
72
  export type { CapOutcome } from './types';
73
73
  /** Everything batch dispatch needs from the outside world. */
74
74
  export interface BatchDispatchDeps {
@@ -155,6 +155,12 @@ export interface MemberFailure {
155
155
  reason: string;
156
156
  detail: string;
157
157
  extraKv?: Record<string, string>;
158
+ /**
159
+ * #810: `handed-back` when the member itself posted the terminal hand-back
160
+ * (`blocked` / `review partial` milestone) — parked, never counted toward
161
+ * the dissolve threshold. Absent = an engine-decided eviction.
162
+ */
163
+ kind?: MemberExitKind;
158
164
  }
159
165
  /**
160
166
  * The current member's own branch: `batch/<id>-m<n>-<issue>` (#677) — member
@@ -1 +1 @@
1
- {"version":3,"file":"batch-dispatch.d.ts","sourceRoot":"","sources":["../src/batch-dispatch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AA8BH,OAAO,EAaL,KAAK,gBAAgB,EAGrB,KAAK,SAAS,EACf,MAAM,YAAY,CAAC;AAEpB,OAAO,EAEL,KAAK,WAAW,EAWjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,KAAK,OAAO,EAAa,MAAM,WAAW,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EACL,KAAK,iBAAiB,EAUtB,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AA0BpB,OAAO,EAAE,KAAK,QAAQ,EAA2D,MAAM,YAAY,CAAC;AACpG,OAAO,KAAK,EAEV,UAAU,EAEV,oBAAoB,EAKpB,kBAAkB,EAIlB,WAAW,EACX,UAAU,EAEX,MAAM,SAA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