@telora/daemon 0.22.189 → 0.22.226
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.
- package/build-info.json +6 -3
- package/dist/backends/index.d.ts.map +1 -1
- package/dist/backends/index.js +5 -1
- package/dist/backends/index.js.map +1 -1
- package/dist/completion/advancement-stall-watchdog.d.ts.map +1 -1
- package/dist/completion/advancement-stall-watchdog.js +6 -2
- package/dist/completion/advancement-stall-watchdog.js.map +1 -1
- package/dist/completion/completion-decision.d.ts +10 -1
- package/dist/completion/completion-decision.d.ts.map +1 -1
- package/dist/completion/completion-decision.js +1 -1
- package/dist/completion/completion-decision.js.map +1 -1
- package/dist/completion/completion-fact-readers.d.ts +35 -0
- package/dist/completion/completion-fact-readers.d.ts.map +1 -0
- package/dist/completion/completion-fact-readers.js +70 -0
- package/dist/completion/completion-fact-readers.js.map +1 -0
- package/dist/completion/delivery-advancement-guard.d.ts +31 -16
- package/dist/completion/delivery-advancement-guard.d.ts.map +1 -1
- package/dist/completion/delivery-advancement-guard.js +22 -37
- package/dist/completion/delivery-advancement-guard.js.map +1 -1
- package/dist/completion/detector.d.ts.map +1 -1
- package/dist/completion/detector.js +3 -1
- package/dist/completion/detector.js.map +1 -1
- package/dist/completion/event-dep-defaults.d.ts +27 -0
- package/dist/completion/event-dep-defaults.d.ts.map +1 -0
- package/dist/completion/event-dep-defaults.js +30 -0
- package/dist/completion/event-dep-defaults.js.map +1 -0
- package/dist/completion/event-phases.d.ts +19 -8
- package/dist/completion/event-phases.d.ts.map +1 -1
- package/dist/completion/event-phases.js +72 -101
- package/dist/completion/event-phases.js.map +1 -1
- package/dist/completion/event.d.ts +44 -9
- package/dist/completion/event.d.ts.map +1 -1
- package/dist/completion/event.js +36 -27
- package/dist/completion/event.js.map +1 -1
- package/dist/completion/index.js +1 -1
- package/dist/completion/progress-snapshot.d.ts +13 -9
- package/dist/completion/progress-snapshot.d.ts.map +1 -1
- package/dist/completion/progress-snapshot.js +16 -13
- package/dist/completion/progress-snapshot.js.map +1 -1
- package/dist/completion/reengagement-redrive.d.ts +8 -1
- package/dist/completion/reengagement-redrive.d.ts.map +1 -1
- package/dist/completion/reengagement-redrive.js +16 -2
- package/dist/completion/reengagement-redrive.js.map +1 -1
- package/dist/completion/session-hold.d.ts +13 -1
- package/dist/completion/session-hold.d.ts.map +1 -1
- package/dist/completion/session-hold.js +18 -0
- package/dist/completion/session-hold.js.map +1 -1
- package/dist/completion/state-cascade.d.ts.map +1 -1
- package/dist/completion/state-cascade.js +11 -19
- package/dist/completion/state-cascade.js.map +1 -1
- package/dist/completion/team-phase.d.ts.map +1 -1
- package/dist/completion/team-phase.js +1 -0
- package/dist/completion/team-phase.js.map +1 -1
- package/dist/completion/team-progress-measure.d.ts +70 -0
- package/dist/completion/team-progress-measure.d.ts.map +1 -0
- package/dist/completion/team-progress-measure.js +285 -0
- package/dist/completion/team-progress-measure.js.map +1 -0
- package/dist/completion/team-stillness.d.ts +76 -0
- package/dist/completion/team-stillness.d.ts.map +1 -0
- package/dist/completion/team-stillness.js +96 -0
- package/dist/completion/team-stillness.js.map +1 -0
- package/dist/completion/unclaimed-migration-notice-phase.d.ts +97 -0
- package/dist/completion/unclaimed-migration-notice-phase.d.ts.map +1 -0
- package/dist/completion/unclaimed-migration-notice-phase.js +270 -0
- package/dist/completion/unclaimed-migration-notice-phase.js.map +1 -0
- package/dist/completion/worker-wait.d.ts +84 -0
- package/dist/completion/worker-wait.d.ts.map +1 -0
- package/dist/completion/worker-wait.js +89 -0
- package/dist/completion/worker-wait.js.map +1 -0
- package/dist/delivery/delivery-advance-block.d.ts.map +1 -1
- package/dist/delivery/delivery-advance-block.js +1 -2
- package/dist/delivery/delivery-advance-block.js.map +1 -1
- package/dist/directive/directive-executor.d.ts.map +1 -1
- package/dist/directive/directive-executor.js +1 -20
- package/dist/directive/directive-executor.js.map +1 -1
- package/dist/focus/focus-executor.d.ts +1 -0
- package/dist/focus/focus-executor.d.ts.map +1 -1
- package/dist/focus/focus-executor.js +18 -17
- package/dist/focus/focus-executor.js.map +1 -1
- package/dist/focus/focus-lifecycle.d.ts.map +1 -1
- package/dist/focus/focus-lifecycle.js +7 -1
- package/dist/focus/focus-lifecycle.js.map +1 -1
- package/dist/focus/focus-team-state.js +1 -1
- package/dist/focus/focus-worktree-state.d.ts.map +1 -1
- package/dist/focus/focus-worktree-state.js +2 -1
- package/dist/focus/focus-worktree-state.js.map +1 -1
- package/dist/focus/listener-spawn.d.ts.map +1 -1
- package/dist/focus/listener-spawn.js +5 -20
- package/dist/focus/listener-spawn.js.map +1 -1
- package/dist/focus/listener-state.d.ts.map +1 -1
- package/dist/focus/listener-state.js +1 -0
- package/dist/focus/listener-state.js.map +1 -1
- package/dist/focus/listener.d.ts +1 -0
- package/dist/focus/listener.d.ts.map +1 -1
- package/dist/focus/listener.js +9 -0
- package/dist/focus/listener.js.map +1 -1
- package/dist/focus/migration-claim-pass.d.ts +50 -0
- package/dist/focus/migration-claim-pass.d.ts.map +1 -0
- package/dist/focus/migration-claim-pass.js +234 -0
- package/dist/focus/migration-claim-pass.js.map +1 -0
- package/dist/focus/pending-spawn-pass-deps.d.ts.map +1 -1
- package/dist/focus/pending-spawn-pass-deps.js +2 -1
- package/dist/focus/pending-spawn-pass-deps.js.map +1 -1
- package/dist/focus/team-actionable-work.d.ts +21 -0
- package/dist/focus/team-actionable-work.d.ts.map +1 -1
- package/dist/focus/team-actionable-work.js +3 -0
- package/dist/focus/team-actionable-work.js.map +1 -1
- package/dist/git/focus-integration-sync.d.ts +42 -4
- package/dist/git/focus-integration-sync.d.ts.map +1 -1
- package/dist/git/focus-integration-sync.js +53 -9
- package/dist/git/focus-integration-sync.js.map +1 -1
- package/dist/git/types.d.ts.map +1 -1
- package/dist/git/types.js +4 -1
- package/dist/git/types.js.map +1 -1
- package/dist/loops/llm-client.d.ts.map +1 -1
- package/dist/loops/llm-client.js +11 -1
- package/dist/loops/llm-client.js.map +1 -1
- package/dist/merge/merge-back-loop.d.ts.map +1 -1
- package/dist/merge/merge-back-loop.js +0 -1
- package/dist/merge/merge-back-loop.js.map +1 -1
- package/dist/migrations/migration-claim-lifecycle.d.ts +166 -0
- package/dist/migrations/migration-claim-lifecycle.d.ts.map +1 -0
- package/dist/migrations/migration-claim-lifecycle.js +198 -0
- package/dist/migrations/migration-claim-lifecycle.js.map +1 -0
- package/dist/migrations/migration-held-set.d.ts +171 -0
- package/dist/migrations/migration-held-set.d.ts.map +1 -0
- package/dist/migrations/migration-held-set.js +295 -0
- package/dist/migrations/migration-held-set.js.map +1 -0
- package/dist/migrations/migration-inventory.d.ts +187 -0
- package/dist/migrations/migration-inventory.d.ts.map +1 -0
- package/dist/migrations/migration-inventory.js +253 -0
- package/dist/migrations/migration-inventory.js.map +1 -0
- package/dist/migrations/migration-manifest.d.ts +114 -0
- package/dist/migrations/migration-manifest.d.ts.map +1 -0
- package/dist/migrations/migration-manifest.js +295 -0
- package/dist/migrations/migration-manifest.js.map +1 -0
- package/dist/prompt/team-prompt-base.js +1 -1
- package/dist/prompt-sections/migration-numbering-section.d.ts +58 -0
- package/dist/prompt-sections/migration-numbering-section.d.ts.map +1 -0
- package/dist/prompt-sections/migration-numbering-section.js +70 -0
- package/dist/prompt-sections/migration-numbering-section.js.map +1 -0
- package/dist/prompt-sections/migration-numbering-state.d.ts +30 -0
- package/dist/prompt-sections/migration-numbering-state.d.ts.map +1 -0
- package/dist/prompt-sections/migration-numbering-state.js +24 -0
- package/dist/prompt-sections/migration-numbering-state.js.map +1 -0
- package/dist/prompt-sections/unclaimed-migration-section.d.ts +38 -0
- package/dist/prompt-sections/unclaimed-migration-section.d.ts.map +1 -0
- package/dist/prompt-sections/unclaimed-migration-section.js +57 -0
- package/dist/prompt-sections/unclaimed-migration-section.js.map +1 -0
- package/dist/queries/claim-pass-focuses.d.ts +19 -0
- package/dist/queries/claim-pass-focuses.d.ts.map +1 -0
- package/dist/queries/claim-pass-focuses.js +72 -0
- package/dist/queries/claim-pass-focuses.js.map +1 -0
- package/dist/queries/daemon-connection.d.ts.map +1 -1
- package/dist/queries/daemon-connection.js +1 -0
- package/dist/queries/daemon-connection.js.map +1 -1
- package/dist/queries/deliveries.d.ts.map +1 -1
- package/dist/queries/deliveries.js +3 -1
- package/dist/queries/deliveries.js.map +1 -1
- package/dist/queries/delivery-gate-state.js +1 -1
- package/dist/queries/escalation-suppression.js +1 -1
- package/dist/queries/focus-discovery.d.ts +25 -2
- package/dist/queries/focus-discovery.d.ts.map +1 -1
- package/dist/queries/focus-discovery.js +16 -9
- package/dist/queries/focus-discovery.js.map +1 -1
- package/dist/queries/focus-integration-conflict.d.ts +7 -4
- package/dist/queries/focus-integration-conflict.d.ts.map +1 -1
- package/dist/queries/focus-integration-conflict.js +6 -3
- package/dist/queries/focus-integration-conflict.js.map +1 -1
- package/dist/queries/focus-unclaimed-migration.d.ts +146 -0
- package/dist/queries/focus-unclaimed-migration.d.ts.map +1 -0
- package/dist/queries/focus-unclaimed-migration.js +266 -0
- package/dist/queries/focus-unclaimed-migration.js.map +1 -0
- package/dist/queries/live-focus-branches.d.ts +32 -0
- package/dist/queries/live-focus-branches.d.ts.map +1 -0
- package/dist/queries/live-focus-branches.js +66 -0
- package/dist/queries/live-focus-branches.js.map +1 -0
- package/dist/queries/migration-claims.d.ts +25 -0
- package/dist/queries/migration-claims.d.ts.map +1 -0
- package/dist/queries/migration-claims.js +79 -0
- package/dist/queries/migration-claims.js.map +1 -0
- package/dist/queries/schemas.d.ts +17 -0
- package/dist/queries/schemas.d.ts.map +1 -1
- package/dist/queries/schemas.js +18 -1
- package/dist/queries/schemas.js.map +1 -1
- package/dist/queries/shared.js +1 -1
- package/dist/queries/shortfall-park-record.d.ts +6 -1
- package/dist/queries/shortfall-park-record.d.ts.map +1 -1
- package/dist/queries/shortfall-park-record.js.map +1 -1
- package/dist/queries/shortfall-rulings.d.ts +14 -2
- package/dist/queries/shortfall-rulings.d.ts.map +1 -1
- package/dist/queries/shortfall-rulings.js +17 -3
- package/dist/queries/shortfall-rulings.js.map +1 -1
- package/dist/queries/verification.js +1 -1
- package/dist/queries/verify-own-holds.d.ts.map +1 -1
- package/dist/queries/verify-own-holds.js +1 -0
- package/dist/queries/verify-own-holds.js.map +1 -1
- package/dist/session/session-lineage.d.ts.map +1 -1
- package/dist/session/session-lineage.js +3 -0
- package/dist/session/session-lineage.js.map +1 -1
- package/dist/shell/heartbeat-metadata.d.ts +48 -2
- package/dist/shell/heartbeat-metadata.d.ts.map +1 -1
- package/dist/shell/heartbeat-metadata.js +80 -3
- package/dist/shell/heartbeat-metadata.js.map +1 -1
- package/dist/shell/heartbeat.d.ts +13 -0
- package/dist/shell/heartbeat.d.ts.map +1 -1
- package/dist/shell/heartbeat.js +31 -10
- package/dist/shell/heartbeat.js.map +1 -1
- package/dist/shell/mcp-resolution.js +1 -1
- package/dist/shell/mcp-resolution.js.map +1 -1
- package/dist/shell/migration-held-set-publish.d.ts +170 -0
- package/dist/shell/migration-held-set-publish.d.ts.map +1 -0
- package/dist/shell/migration-held-set-publish.js +172 -0
- package/dist/shell/migration-held-set-publish.js.map +1 -0
- package/dist/shell/worker-pidfile.d.ts.map +1 -1
- package/dist/shell/worker-pidfile.js +1 -0
- package/dist/shell/worker-pidfile.js.map +1 -1
- package/dist/spawn/helpers.d.ts.map +1 -1
- package/dist/spawn/helpers.js +10 -1
- package/dist/spawn/helpers.js.map +1 -1
- package/dist/spawn/lead-continuation.d.ts +10 -2
- package/dist/spawn/lead-continuation.d.ts.map +1 -1
- package/dist/spawn/lead-continuation.js +39 -22
- package/dist/spawn/lead-continuation.js.map +1 -1
- package/dist/spawn/lead-launch.d.ts.map +1 -1
- package/dist/spawn/lead-launch.js +1 -0
- package/dist/spawn/lead-launch.js.map +1 -1
- package/dist/spawn/lead-process-ownership.d.ts.map +1 -1
- package/dist/spawn/lead-process-ownership.js +1 -0
- package/dist/spawn/lead-process-ownership.js.map +1 -1
- package/dist/spawn/one-shot-model.d.ts.map +1 -1
- package/dist/spawn/one-shot-model.js +1 -0
- package/dist/spawn/one-shot-model.js.map +1 -1
- package/dist/spawn/process-group-kill.d.ts.map +1 -1
- package/dist/spawn/process-group-kill.js +1 -0
- package/dist/spawn/process-group-kill.js.map +1 -1
- package/dist/spawn/process-spawn.d.ts +18 -1
- package/dist/spawn/process-spawn.d.ts.map +1 -1
- package/dist/spawn/process-spawn.js +11 -6
- package/dist/spawn/process-spawn.js.map +1 -1
- package/dist/spawn/prompt-assembly.d.ts +115 -18
- package/dist/spawn/prompt-assembly.d.ts.map +1 -1
- package/dist/spawn/prompt-assembly.js +121 -2
- package/dist/spawn/prompt-assembly.js.map +1 -1
- package/dist/spawn/spawn-and-acknowledge.d.ts +61 -0
- package/dist/spawn/spawn-and-acknowledge.d.ts.map +1 -0
- package/dist/spawn/spawn-and-acknowledge.js +117 -0
- package/dist/spawn/spawn-and-acknowledge.js.map +1 -0
- package/dist/spawn/spawn-cooldown.js +1 -1
- package/dist/spawn/spawn-decision.d.ts +10 -10
- package/dist/spawn/spawn-decision.d.ts.map +1 -1
- package/dist/spawn/spawn-decision.js +33 -5
- package/dist/spawn/spawn-decision.js.map +1 -1
- package/dist/spawn/worktree-session.d.ts.map +1 -1
- package/dist/spawn/worktree-session.js +11 -1
- package/dist/spawn/worktree-session.js.map +1 -1
- package/dist/templates/claude-md.d.ts +1 -1
- package/dist/templates/claude-md.d.ts.map +1 -1
- package/dist/templates/claude-md.js +24 -0
- package/dist/templates/claude-md.js.map +1 -1
- package/dist/testing/fixtures/conflicting-repo.d.ts +17 -0
- package/dist/testing/fixtures/conflicting-repo.d.ts.map +1 -1
- package/dist/testing/fixtures/conflicting-repo.js +31 -0
- package/dist/testing/fixtures/conflicting-repo.js.map +1 -1
- package/dist/testing/fixtures/index.d.ts.map +1 -1
- package/dist/testing/fixtures/index.js +1 -2
- package/dist/testing/fixtures/index.js.map +1 -1
- package/dist/testing/fixtures/migration-namespace-repo.d.ts +63 -0
- package/dist/testing/fixtures/migration-namespace-repo.d.ts.map +1 -0
- package/dist/testing/fixtures/migration-namespace-repo.js +164 -0
- package/dist/testing/fixtures/migration-namespace-repo.js.map +1 -0
- package/dist/testing/fixtures/stubborn-lead-process.d.ts.map +1 -1
- package/dist/testing/fixtures/stubborn-lead-process.js +1 -0
- package/dist/testing/fixtures/stubborn-lead-process.js.map +1 -1
- package/dist/types/focus.d.ts +59 -26
- package/dist/types/focus.d.ts.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/verify/commit-verdict-pull.d.ts +28 -3
- package/dist/verify/commit-verdict-pull.d.ts.map +1 -1
- package/dist/verify/commit-verdict-pull.js +160 -23
- package/dist/verify/commit-verdict-pull.js.map +1 -1
- package/dist/verify/credit-rearm.d.ts.map +1 -1
- package/dist/verify/credit-rearm.js +72 -17
- package/dist/verify/credit-rearm.js.map +1 -1
- package/dist/verify/default-on-guards.d.ts +54 -8
- package/dist/verify/default-on-guards.d.ts.map +1 -1
- package/dist/verify/default-on-guards.js +132 -17
- package/dist/verify/default-on-guards.js.map +1 -1
- package/dist/verify/explicit-rearm.d.ts.map +1 -1
- package/dist/verify/explicit-rearm.js +1 -0
- package/dist/verify/explicit-rearm.js.map +1 -1
- package/dist/verify/explicit-row-selection.d.ts +47 -0
- package/dist/verify/explicit-row-selection.d.ts.map +1 -0
- package/dist/verify/explicit-row-selection.js +37 -0
- package/dist/verify/explicit-row-selection.js.map +1 -0
- package/dist/verify/gate-run-registry.d.ts.map +1 -1
- package/dist/verify/gate-run-registry.js +2 -0
- package/dist/verify/gate-run-registry.js.map +1 -1
- package/dist/verify/no-own-delta-verdict.d.ts +16 -2
- package/dist/verify/no-own-delta-verdict.d.ts.map +1 -1
- package/dist/verify/no-own-delta-verdict.js +18 -2
- package/dist/verify/no-own-delta-verdict.js.map +1 -1
- package/dist/verify/parked-shortfall-reuse.d.ts +194 -0
- package/dist/verify/parked-shortfall-reuse.d.ts.map +1 -0
- package/dist/verify/parked-shortfall-reuse.js +310 -0
- package/dist/verify/parked-shortfall-reuse.js.map +1 -0
- package/dist/verify/reselection-log.d.ts +22 -0
- package/dist/verify/reselection-log.d.ts.map +1 -0
- package/dist/verify/reselection-log.js +87 -0
- package/dist/verify/reselection-log.js.map +1 -0
- package/dist/verify/shortfall-park.d.ts +8 -1
- package/dist/verify/shortfall-park.d.ts.map +1 -1
- package/dist/verify/shortfall-park.js +17 -3
- package/dist/verify/shortfall-park.js.map +1 -1
- package/dist/verify/shortfall-repeat.d.ts.map +1 -1
- package/dist/verify/shortfall-repeat.js +7 -2
- package/dist/verify/shortfall-repeat.js.map +1 -1
- package/dist/verify/shortfall-rulings.d.ts +93 -6
- package/dist/verify/shortfall-rulings.d.ts.map +1 -1
- package/dist/verify/shortfall-rulings.js +69 -12
- package/dist/verify/shortfall-rulings.js.map +1 -1
- package/dist/verify/stall-detector-config.d.ts.map +1 -1
- package/dist/verify/stall-detector-config.js +2 -1
- package/dist/verify/stall-detector-config.js.map +1 -1
- package/dist/verify/stall-detectors.d.ts +6 -4
- package/dist/verify/stall-detectors.d.ts.map +1 -1
- package/dist/verify/stall-detectors.js +9 -6
- package/dist/verify/stall-detectors.js.map +1 -1
- package/dist/verify/stalled-team-backstop.d.ts +8 -2
- package/dist/verify/stalled-team-backstop.d.ts.map +1 -1
- package/dist/verify/stalled-team-backstop.js +15 -11
- package/dist/verify/stalled-team-backstop.js.map +1 -1
- package/dist/verify/team-stall-reapers.d.ts +28 -0
- package/dist/verify/team-stall-reapers.d.ts.map +1 -0
- package/dist/verify/team-stall-reapers.js +23 -0
- package/dist/verify/team-stall-reapers.js.map +1 -0
- package/dist/verify/verification-attribution-deps.d.ts +1 -1
- package/dist/verify/verification-attribution-deps.d.ts.map +1 -1
- package/dist/verify/verification-attribution-deps.js +20 -1
- package/dist/verify/verification-attribution-deps.js.map +1 -1
- package/dist/verify/verification-boundary-env.d.ts.map +1 -1
- package/dist/verify/verification-boundary-env.js +23 -9
- package/dist/verify/verification-boundary-env.js.map +1 -1
- package/dist/verify/verification-checkout.d.ts +1 -1
- package/dist/verify/verification-checkout.d.ts.map +1 -1
- package/dist/verify/verification-checkout.js.map +1 -1
- package/dist/verify/verification-commit-sharing.d.ts.map +1 -1
- package/dist/verify/verification-commit-sharing.js +14 -3
- package/dist/verify/verification-commit-sharing.js.map +1 -1
- package/dist/verify/verification-config.d.ts.map +1 -1
- package/dist/verify/verification-config.js +1 -20
- package/dist/verify/verification-config.js.map +1 -1
- package/dist/verify/verification-default-on.d.ts +4 -1
- package/dist/verify/verification-default-on.d.ts.map +1 -1
- package/dist/verify/verification-default-on.js +29 -2
- package/dist/verify/verification-default-on.js.map +1 -1
- package/dist/verify/verification-deps-default.d.ts.map +1 -1
- package/dist/verify/verification-deps-default.js +13 -0
- package/dist/verify/verification-deps-default.js.map +1 -1
- package/dist/verify/verification-deps.d.ts +38 -0
- package/dist/verify/verification-deps.d.ts.map +1 -1
- package/dist/verify/verification-deps.js +2 -1
- package/dist/verify/verification-deps.js.map +1 -1
- package/dist/verify/verification-engine.d.ts.map +1 -1
- package/dist/verify/verification-engine.js +44 -15
- package/dist/verify/verification-engine.js.map +1 -1
- package/dist/verify/verification-feedback.d.ts.map +1 -1
- package/dist/verify/verification-feedback.js +1 -19
- package/dist/verify/verification-feedback.js.map +1 -1
- package/dist/verify/verify-restatement.d.ts.map +1 -1
- package/dist/verify/verify-restatement.js +5 -1
- package/dist/verify/verify-restatement.js.map +1 -1
- package/dist/worktree/provision.d.ts.map +1 -1
- package/dist/worktree/provision.js +3 -1
- package/dist/worktree/provision.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// PINNED-BY-BEGIN (generated by gen:pinned-by -- do not hand-edit; checked by lint:pinned-by)
|
|
2
|
+
// Pinned by: packages/daemon/src/completion/event-dep-defaults.test.ts
|
|
3
|
+
// PINNED-BY-END
|
|
4
|
+
import { getActiveFocuses } from '../queries/focus-discovery.js';
|
|
5
|
+
/**
|
|
6
|
+
* Default re-drive scheduler: a real setTimeout whose handle is unref()'d so a
|
|
7
|
+
* pending re-drive never keeps the daemon process alive on its own. The
|
|
8
|
+
* returned canceller clears the timer.
|
|
9
|
+
*/
|
|
10
|
+
export function defaultScheduleReDrive(fn, delayMs) {
|
|
11
|
+
const timer = setTimeout(fn, delayMs);
|
|
12
|
+
timer.unref?.();
|
|
13
|
+
return () => clearTimeout(timer);
|
|
14
|
+
}
|
|
15
|
+
/** The focus's review_requested_at, resolved FRESH at the completion event. */
|
|
16
|
+
export async function defaultGetReviewRequestedAt(config, focusId) {
|
|
17
|
+
const focuses = await getActiveFocuses(config.organizationId, config.productId);
|
|
18
|
+
return focuses.find(f => f.focus_id === focusId)?.review_requested_at ?? null;
|
|
19
|
+
}
|
|
20
|
+
/** The focus's human-ratification state, backing the scope-coverage guard. */
|
|
21
|
+
export async function defaultGetFocusRatificationState(config, focusId) {
|
|
22
|
+
const focuses = await getActiveFocuses(config.organizationId, config.productId);
|
|
23
|
+
const focus = focuses.find(f => f.focus_id === focusId);
|
|
24
|
+
return {
|
|
25
|
+
readOnly: focus?.read_only ?? false,
|
|
26
|
+
auditOrigin: focus?.audit_origin ?? false,
|
|
27
|
+
ratifiedAt: focus?.ratified_at ?? null,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=event-dep-defaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-dep-defaults.js","sourceRoot":"","sources":["../../src/completion/event-dep-defaults.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,uEAAuE;AACvE,gBAAgB;AAehB,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CAAC,EAAc,EAAE,OAAe;IACpE,MAAM,KAAK,GAAG,UAAU,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IACtC,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC;IAChB,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;AACnC,CAAC;AAED,+EAA+E;AAC/E,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,MAAoB,EACpB,OAAe;IAEf,MAAM,OAAO,GAAG,MAAM,gBAAgB,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC;IAChF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,OAAO,CAAC,EAAE,mBAAmB,IAAI,IAAI,CAAC;AAChF,CAAC;AAED,8EAA8E;AAC9E,MAAM,CAAC,KAAK,UAAU,gCAAgC,CACpD,MAAoB,EACpB,OAAe;IAEf,MAAM,OAAO,GAAG,MAAM,gBAAgB,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC;IAChF,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC;IACxD,OAAO;QACL,QAAQ,EAAE,KAAK,EAAE,SAAS,IAAI,KAAK;QACnC,WAAW,EAAE,KAAK,EAAE,YAAY,IAAI,KAAK;QACzC,UAAU,EAAE,KAAK,EAAE,WAAW,IAAI,IAAI;KACvC,CAAC;AACJ,CAAC"}
|
|
@@ -30,13 +30,17 @@ import type { CompletionEventContext, CompletionEventDeps } from './event.js';
|
|
|
30
30
|
*/
|
|
31
31
|
export declare const NO_PROGRESS_CYCLE_FLOOR_MS = 20000;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
33
|
+
* The real-time window a team must spend with NO movement on any axis of the
|
|
34
|
+
* one progress measure (completion/team-progress-measure.ts: status, issues,
|
|
35
|
+
* HEAD, agent activity, uncommitted diff) before a no-progress guard may end it.
|
|
36
|
+
* The cycle counters say the daemon has asked enough times; this says the team
|
|
37
|
+
* has been still for long enough. Both must hold -- a count alone was reached in
|
|
38
|
+
* ~3 minutes against a team whose workers were editing (2026-09-24). Set at the
|
|
39
|
+
* park band the liveness badge already uses (5 min): long enough for any worker
|
|
40
|
+
* or tool call to report, short enough that a genuinely silent team is ended in
|
|
41
|
+
* minutes rather than at the 30-min stalled-team backstop.
|
|
38
42
|
*/
|
|
39
|
-
export declare const
|
|
43
|
+
export declare const NO_PROGRESS_STALL_WINDOW_MS: number;
|
|
40
44
|
/**
|
|
41
45
|
* Minimum real time between two mid-focus handoff / re-engagement wake messages
|
|
42
46
|
* to the same lead. A burst of result events (7 in 3.2s on 2026-08-16) must not
|
|
@@ -112,6 +116,13 @@ export interface CompletionFacts {
|
|
|
112
116
|
* unchanged on a sub-floor hold, undefined when progress ended the episode.
|
|
113
117
|
*/
|
|
114
118
|
updatedLastNoProgressCycleAt: number | undefined;
|
|
119
|
+
/** Value to commit to teamState.lastProgressAt: now when this cycle made progress. */
|
|
120
|
+
updatedLastProgressAt: number;
|
|
121
|
+
/**
|
|
122
|
+
* NO_PROGRESS_STALL_WINDOW_MS of real time has passed with no movement on any
|
|
123
|
+
* axis of the progress measure. No no-progress guard ends a team before it.
|
|
124
|
+
*/
|
|
125
|
+
stallWindowElapsed: boolean;
|
|
115
126
|
}
|
|
116
127
|
/**
|
|
117
128
|
* Recompute the picture on the post-advance state. The team owns exactly two
|
|
@@ -139,8 +150,8 @@ export declare function computeCompletionFacts(ctx: CompletionEventContext, deps
|
|
|
139
150
|
/**
|
|
140
151
|
* Execute the chosen action's side effects. The decision (completion-decision)
|
|
141
152
|
* is pure; every mutation of team state and every escalation lives here, with
|
|
142
|
-
* the branch semantics preserved exactly -- including the
|
|
143
|
-
*
|
|
153
|
+
* the branch semantics preserved exactly -- including the terminated-work
|
|
154
|
+
* reconciliation on the no-progress path.
|
|
144
155
|
*/
|
|
145
156
|
/**
|
|
146
157
|
* The teardown-at-first-result action. The completion detector says the team has
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-phases.d.ts","sourceRoot":"","sources":["../../src/completion/event-phases.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"event-phases.d.ts","sourceRoot":"","sources":["../../src/completion/event-phases.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAS7F,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAqB5F,OAAO,KAAK,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAgB9E;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,QAAS,CAAC;AAEjD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2BAA2B,QAAa,CAAC;AAEtD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,QAAS,CAAC;AAE9C;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAI7C,sEAAsE;AACtE,MAAM,WAAW,eAAe;IAC9B,8EAA8E;IAC9E,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IACvC,mBAAmB,EAAE,iBAAiB,EAAE,CAAC;IACzC;;;;;OAKG;IACH,oBAAoB,EAAE,iBAAiB,EAAE,CAAC;IAC1C,aAAa,EAAE,cAAc,EAAE,CAAC;IAChC;;;;;;OAMG;IACH,gBAAgB,EAAE,cAAc,EAAE,CAAC;IACnC,eAAe,EAAE,iBAAiB,EAAE,CAAC;IACrC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,qBAAqB,EAAE,OAAO,CAAC;IAC/B;;;;;OAKG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,wBAAwB,EAAE,OAAO,CAAC;IAClC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,Q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,KAAK,EAAE,eAAe,EACtB,MAAM,EAAE,gBAAgB,EACxB,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,IAAI,CAAC,CA4Of"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// PINNED-BY-BEGIN (generated by gen:pinned-by -- do not hand-edit; checked by lint:pinned-by)
|
|
2
|
-
// Pinned by: packages/daemon/src/completion/exit-
|
|
2
|
+
// Pinned by: packages/daemon/src/completion/exit-unclaimed-migration-hold.test.ts,
|
|
3
|
+
// packages/daemon/src/completion/exit-verify-hold.test.ts,
|
|
3
4
|
// packages/daemon/src/completion/progress-guards-recorded-intent.test.ts,
|
|
4
5
|
// packages/daemon/src/completion/reengagement-redrive.test.ts,
|
|
5
6
|
// packages/daemon/src/completion/stall-guard-time-floor.test.ts,
|
|
6
|
-
// packages/daemon/src/completion/teardown-demotion-gate.test.ts
|
|
7
|
+
// packages/daemon/src/completion/teardown-demotion-gate.test.ts,
|
|
8
|
+
// packages/daemon/src/completion/worker-wait.test.ts
|
|
7
9
|
// PINNED-BY-END
|
|
8
10
|
import { sendMessage } from '@telora/daemon-core';
|
|
9
11
|
import { isStatusCascadable, isStatusAgentActionable } from '../workflow/stage-classifier.js';
|
|
@@ -17,13 +19,11 @@ import { shouldCheckNonAdvanceable } from './completion-decision.js';
|
|
|
17
19
|
import { takeProgressSnapshot, snapshotsEqual } from './progress-snapshot.js';
|
|
18
20
|
import { recordFiring, classifyLatestUnclassifiedFiring, isMechanismDemoted, markLatestFiringUnacted, SUPERVISION_MECHANISM } from './supervision-firing-record.js';
|
|
19
21
|
import { findNonAdvanceableDelivery } from './advanceability.js';
|
|
20
|
-
import { getFocusWorktree as defaultGetFocusWorktree } from '../focus/focus-worktree-state.js';
|
|
21
22
|
import { resolveTeamActionableWork } from '../focus/team-actionable-work.js';
|
|
22
|
-
import {
|
|
23
|
+
import { resolveFocusHead, readUnnamedUnclaimedMigration, } from './completion-fact-readers.js';
|
|
23
24
|
import { isWorktreeUnderVerify as defaultIsWorktreeUnderVerify } from '../worktree/verify-interlock.js';
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { resolveAutoRemediationBudget } from '../delivery/delivery-advance-block.js';
|
|
25
|
+
import { noteDaemonPoke, readTeamActivityMarks, teamWorkersQuietInMs } from './team-progress-measure.js';
|
|
26
|
+
import { hasUnshownWork, holdWakeForLiveWorkers, nextWorkerWaitCheck, recordIssuesShown, WORKER_WAIT_RECHECK_MS } from './worker-wait.js';
|
|
27
27
|
import { escalateNoProgress, escalateNonAdvanceable, } from './event-escalations.js';
|
|
28
28
|
import { renderWait, teamProgressWait } from '../delivery/wait-reachability.js';
|
|
29
29
|
import { reconcileTerminatedTeamWork as defaultReconcileTerminatedTeamWork, } from './terminated-work-reconcile.js';
|
|
@@ -46,13 +46,17 @@ const log = createLogger({ module: 'focus-executor' });
|
|
|
46
46
|
*/
|
|
47
47
|
export const NO_PROGRESS_CYCLE_FLOOR_MS = 20_000;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
49
|
+
* The real-time window a team must spend with NO movement on any axis of the
|
|
50
|
+
* one progress measure (completion/team-progress-measure.ts: status, issues,
|
|
51
|
+
* HEAD, agent activity, uncommitted diff) before a no-progress guard may end it.
|
|
52
|
+
* The cycle counters say the daemon has asked enough times; this says the team
|
|
53
|
+
* has been still for long enough. Both must hold -- a count alone was reached in
|
|
54
|
+
* ~3 minutes against a team whose workers were editing (2026-09-24). Set at the
|
|
55
|
+
* park band the liveness badge already uses (5 min): long enough for any worker
|
|
56
|
+
* or tool call to report, short enough that a genuinely silent team is ended in
|
|
57
|
+
* minutes rather than at the 30-min stalled-team backstop.
|
|
54
58
|
*/
|
|
55
|
-
export const
|
|
59
|
+
export const NO_PROGRESS_STALL_WINDOW_MS = 5 * 60_000;
|
|
56
60
|
/**
|
|
57
61
|
* Minimum real time between two mid-focus handoff / re-engagement wake messages
|
|
58
62
|
* to the same lead. A burst of result events (7 in 3.2s on 2026-08-16) must not
|
|
@@ -148,16 +152,7 @@ export async function computeCompletionFacts(ctx, deps, currentDeliveries, effec
|
|
|
148
152
|
// by hasPlanning (non-audit) or deliberately held (audit), so they are not
|
|
149
153
|
// double-counted here.
|
|
150
154
|
const hasNewlyAppearedDelivery = armVisibleDeliveries.some(d => isStatusAgentActionable(d.executionStatus ?? '') && !teamState.knownDeliveryIds.has(d.id));
|
|
151
|
-
|
|
152
|
-
// dimension and the dirty re-wake guard. A team that wrote AND committed
|
|
153
|
-
// code this cycle moved the focus branch HEAD even when no DB state moved;
|
|
154
|
-
// feeding that sha into the snapshot makes the commit reset the no-progress
|
|
155
|
-
// counter through the EXISTING madeProgress/snapshotsEqual machinery. null
|
|
156
|
-
// when no worktree is registered or git could not be read.
|
|
157
|
-
const resolveWorktree = deps.getFocusWorktree ?? defaultGetFocusWorktree;
|
|
158
|
-
const readHeadSha = deps.readWorktreeHeadSha ?? defaultReadWorktreeHeadSha;
|
|
159
|
-
const focusWorktreePath = resolveWorktree(focusId)?.worktreePath ?? null;
|
|
160
|
-
const focusHeadSha = focusWorktreePath !== null ? readHeadSha(focusWorktreePath) : null;
|
|
155
|
+
const { focusWorktreePath, focusHeadSha } = resolveFocusHead(focusId, deps);
|
|
161
156
|
// Fold the verify-interlock hold into actionable-work through the ONE shared
|
|
162
157
|
// predicate (focus/team-actionable-work.ts) the spawn gate also reads. The hold
|
|
163
158
|
// withholds only the verified delivery: a sibling's open work keeps the team.
|
|
@@ -169,13 +164,17 @@ export async function computeCompletionFacts(ctx, deps, currentDeliveries, effec
|
|
|
169
164
|
// An outstanding merge-conflict resolution request is actionable work through
|
|
170
165
|
// the one shared predicate, agreeing with the merge-resolution-hold phase (61ee33eb).
|
|
171
166
|
mergeResolutionOutstanding: teamState.resolvingMergeConflict,
|
|
167
|
+
unclaimedMigrationUnnamed: await readUnnamedUnclaimedMigration(focusId, deps),
|
|
172
168
|
});
|
|
173
169
|
// Capture the (post-advance) snapshot for progress detection. Treat both null
|
|
174
170
|
// and undefined as "no prior snapshot" -- legacy test fixtures may not set
|
|
175
171
|
// the field, and a fresh team has lastProgressSnapshot=null.
|
|
176
172
|
// Measured over the arm-visible pair: an issue on a RECORDED delivery is not
|
|
177
173
|
// a progress axis, because the running team cannot see or move it.
|
|
178
|
-
|
|
174
|
+
// The team-activity axes of the ONE progress measure: agent activity since the
|
|
175
|
+
// previous cycle and the worktree's uncommitted diff (team-progress-measure.ts).
|
|
176
|
+
const activity = (deps.readTeamActivityMarks ?? readTeamActivityMarks)(focusId, focusWorktreePath);
|
|
177
|
+
const snapshot = takeProgressSnapshot(armVisibleDeliveries, armVisibleIssues, focusHeadSha, activity);
|
|
179
178
|
const priorSnapshot = teamState.lastProgressSnapshot ?? null;
|
|
180
179
|
// verify_failed-pending-requeue is daemon-owned advancement: a delivery left
|
|
181
180
|
// in verify_failed is waiting on the daemon's transparent requeue
|
|
@@ -244,12 +243,13 @@ export async function computeCompletionFacts(ctx, deps, currentDeliveries, effec
|
|
|
244
243
|
noProgressCycleCounted = true;
|
|
245
244
|
updatedLastNoProgressCycleAt = nowMs;
|
|
246
245
|
}
|
|
247
|
-
//
|
|
248
|
-
//
|
|
249
|
-
//
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
246
|
+
// The real-time window: measured from the last cycle the measure read as
|
|
247
|
+
// progress (or the team's start), so a count of the daemon's own wake-ups can
|
|
248
|
+
// never stand in for a team that has actually been still.
|
|
249
|
+
const updatedLastProgressAt = madeProgress
|
|
250
|
+
? nowMs
|
|
251
|
+
: teamState.lastProgressAt ?? teamState.startedAt.getTime();
|
|
252
|
+
const stallWindowElapsed = nowMs - updatedLastProgressAt >= NO_PROGRESS_STALL_WINDOW_MS;
|
|
253
253
|
return {
|
|
254
254
|
currentDeliveries,
|
|
255
255
|
effectiveDeliveries,
|
|
@@ -272,6 +272,8 @@ export async function computeCompletionFacts(ctx, deps, currentDeliveries, effec
|
|
|
272
272
|
nowMs,
|
|
273
273
|
noProgressCycleCounted,
|
|
274
274
|
updatedLastNoProgressCycleAt,
|
|
275
|
+
updatedLastProgressAt,
|
|
276
|
+
stallWindowElapsed,
|
|
275
277
|
};
|
|
276
278
|
}
|
|
277
279
|
// Phase 5 (the cross-respawn delivery-advancement watchdog) lives in its own
|
|
@@ -283,8 +285,8 @@ export async function computeCompletionFacts(ctx, deps, currentDeliveries, effec
|
|
|
283
285
|
/**
|
|
284
286
|
* Execute the chosen action's side effects. The decision (completion-decision)
|
|
285
287
|
* is pure; every mutation of team state and every escalation lives here, with
|
|
286
|
-
* the branch semantics preserved exactly -- including the
|
|
287
|
-
*
|
|
288
|
+
* the branch semantics preserved exactly -- including the terminated-work
|
|
289
|
+
* reconciliation on the no-progress path.
|
|
288
290
|
*/
|
|
289
291
|
/**
|
|
290
292
|
* The teardown-at-first-result action. The completion detector says the team has
|
|
@@ -325,13 +327,14 @@ export function teardownNoActionableWork(focusId, focusName, postNonTerminal, un
|
|
|
325
327
|
}
|
|
326
328
|
export async function executeCompletionAction(ctx, deps, facts, action, noProgressLimit) {
|
|
327
329
|
const { focusId, focusName, teamState, completionDetector, proc } = ctx;
|
|
328
|
-
const { currentDeliveries, effectiveDeliveries, currentIssues, postNonTerminal, snapshot, focusWorktreePath, stuck, updatedNoProgressCycles, madeProgress, nowMs, updatedLastNoProgressCycleAt, underVerifyHold, } = facts;
|
|
330
|
+
const { currentDeliveries, effectiveDeliveries, currentIssues, postNonTerminal, snapshot, focusWorktreePath, stuck, updatedNoProgressCycles, madeProgress, nowMs, updatedLastNoProgressCycleAt, underVerifyHold, stallWindowElapsed, } = facts;
|
|
329
331
|
// Commit the no-progress counter TIMING for this cycle on every path (the
|
|
330
332
|
// counter VALUE is still committed per-branch below, as before). This keeps
|
|
331
333
|
// the real-time floor honest across respawns and early returns: the next
|
|
332
334
|
// cycle measures its floor from the last COUNTED cycle regardless of which
|
|
333
335
|
// action this cycle took.
|
|
334
336
|
teamState.lastNoProgressCycleAt = updatedLastNoProgressCycleAt;
|
|
337
|
+
teamState.lastProgressAt = facts.updatedLastProgressAt;
|
|
335
338
|
switch (action.kind) {
|
|
336
339
|
case 'escalate_non_advanceable_and_terminate': {
|
|
337
340
|
// No team-actionable work AND the team did not advance state this cycle
|
|
@@ -378,72 +381,13 @@ export async function executeCompletionAction(ctx, deps, facts, action, noProgre
|
|
|
378
381
|
return;
|
|
379
382
|
}
|
|
380
383
|
case 'escalate_no_progress_and_terminate': {
|
|
381
|
-
//
|
|
382
|
-
//
|
|
383
|
-
//
|
|
384
|
-
//
|
|
385
|
-
//
|
|
386
|
-
// to re-wake, so the uncommitted work is stranded until a human commits.
|
|
387
|
-
//
|
|
388
|
-
// Before escalating, check whether the team actually PRODUCED work: a
|
|
389
|
-
// dirty focus worktree (uncommitted changes) means there is real work to
|
|
390
|
-
// preserve. If so AND a live lead is still reachable AND the commit-nudge
|
|
391
|
-
// budget is not exhausted, nudge the lead to commit instead of killing it.
|
|
392
|
-
const worktreeIsDirty = focusWorktreePath !== null &&
|
|
393
|
-
(deps.worktreeHasUncommittedChanges ?? defaultWorktreeHasUncommittedChanges)(focusWorktreePath);
|
|
394
|
-
// Liveness: a non-null teamState.leadStdin is NOT proof of a reachable
|
|
395
|
-
// lead. leadStdin is the process's stdin Writable; when the process exits
|
|
396
|
-
// the object reference PERSISTS (non-null) while writes fail (EPIPE), so
|
|
397
|
-
// the old `const liveLead = teamState.leadStdin` truthiness check was
|
|
398
|
-
// dishonest -- it would "re-wake" a dead process. Gate on a real pid
|
|
399
|
-
// liveness probe (isProcessAlive) in addition to the non-null stdin. When
|
|
400
|
-
// no pid is recorded, fall back to the stdin presence (best-effort, prior
|
|
401
|
-
// behavior) so a missing pid never silently disables the rescue.
|
|
402
|
-
const isAlive = deps.isLeadAlive ?? defaultIsLeadAlive;
|
|
403
|
-
const leadPid = teamState.leadPid;
|
|
404
|
-
const leadReachable = teamState.leadStdin != null &&
|
|
405
|
-
(leadPid == null || isAlive(leadPid));
|
|
406
|
-
const liveLead = leadReachable ? teamState.leadStdin : null;
|
|
407
|
-
// Budget mirrors the advance-block auto-remediation budget so the two
|
|
408
|
-
// re-wake paths bound retries the same way.
|
|
409
|
-
const commitNudgeBudget = resolveAutoRemediationBudget();
|
|
410
|
-
const nudgesSpent = teamState.commitNudgeAttempts ?? 0;
|
|
411
|
-
if (worktreeIsDirty && liveLead && nudgesSpent < commitNudgeBudget) {
|
|
412
|
-
// TIME FLOOR on the nudge budget: a team cannot commit its work in under
|
|
413
|
-
// a second, so two nudges to the same lead must be at least
|
|
414
|
-
// COMMIT_NUDGE_FLOOR_MS apart. Within the floor, HOLD -- reset the
|
|
415
|
-
// detector and wait for the next post-floor completion WITHOUT spending a
|
|
416
|
-
// budget tick or terminating (2026-08-16 spent all 3 nudges in 1.2s, so
|
|
417
|
-
// the valve that exists to rescue a producing team could not fire).
|
|
418
|
-
const sinceLastNudge = teamState.lastCommitNudgeAt == null
|
|
419
|
-
? Number.POSITIVE_INFINITY
|
|
420
|
-
: nowMs - teamState.lastCommitNudgeAt;
|
|
421
|
-
if (sinceLastNudge < COMMIT_NUDGE_FLOOR_MS) {
|
|
422
|
-
log.info(`Commit-nudge for "${focusName}" suppressed: last nudge ${sinceLastNudge}ms ago ` +
|
|
423
|
-
`(< ${COMMIT_NUDGE_FLOOR_MS}ms floor). Holding without spending budget or ` +
|
|
424
|
-
`terminating; a team cannot commit that fast.`);
|
|
425
|
-
completionDetector.reset();
|
|
426
|
-
return;
|
|
427
|
-
}
|
|
428
|
-
teamState.commitNudgeAttempts = nudgesSpent + 1;
|
|
429
|
-
teamState.lastCommitNudgeAt = nowMs;
|
|
430
|
-
teamState.lastProgressSnapshot = snapshot;
|
|
431
|
-
log.warn(`No-progress threshold reached for "${focusName}", but the ` +
|
|
432
|
-
`focus worktree has uncommitted changes and a live lead is reachable -- ` +
|
|
433
|
-
`re-waking the team to commit instead of terminating ` +
|
|
434
|
-
`(commit-nudge attempt ${teamState.commitNudgeAttempts}/${commitNudgeBudget}).`);
|
|
435
|
-
sendMessage(liveLead, `Your focus worktree has uncommitted changes, so the daemon cannot advance ` +
|
|
436
|
-
`the delivery and will not terminate the team yet. Please commit your work in ` +
|
|
437
|
-
`${focusWorktreePath}, and move every finished issue to In Review (its delivery ` +
|
|
438
|
-
`advances out of coding once its work issues are Done/Verified/In Review). The ` +
|
|
439
|
-
`daemon advances automatically once the worktree is clean. (commit-nudge attempt ` +
|
|
440
|
-
`${teamState.commitNudgeAttempts}/${commitNudgeBudget})`);
|
|
441
|
-
completionDetector.reset();
|
|
442
|
-
return;
|
|
443
|
-
}
|
|
384
|
+
// A team with uncommitted work is judged here like any other: the one
|
|
385
|
+
// progress measure already counts a CHANGING diff as progress, so reaching
|
|
386
|
+
// this branch means the diff (and everything else) has been still for the
|
|
387
|
+
// whole stall window. There is no separate commit-nudge budget -- it was a
|
|
388
|
+
// second path to termination that read "dirty" instead of "changing".
|
|
444
389
|
// ── Reconcile captured work into the verify gate ──────────────────────
|
|
445
|
-
//
|
|
446
|
-
// budget exhausted). Before escalating, rescue any committed work; the
|
|
390
|
+
// Before escalating, rescue any committed work; the
|
|
447
391
|
// no-progress team_failure escalation fires ONLY when nothing was
|
|
448
392
|
// reconciled -- i.e. genuinely nothing was produced.
|
|
449
393
|
const reconcile = deps.reconcileTerminatedTeamWork ?? defaultReconcileTerminatedTeamWork;
|
|
@@ -463,7 +407,6 @@ export async function executeCompletionAction(ctx, deps, facts, action, noProgre
|
|
|
463
407
|
}
|
|
464
408
|
if (reconciled.reconciledCount > 0) {
|
|
465
409
|
// Committed work re-entered the gate -- terminate cleanly, NO team_failure.
|
|
466
|
-
teamState.commitNudgeAttempts = 0;
|
|
467
410
|
teamState.noProgressCycles = updatedNoProgressCycles;
|
|
468
411
|
teamState.lastProgressSnapshot = snapshot;
|
|
469
412
|
log.info(`Terminated team for "${focusName}" had committed work -- ` +
|
|
@@ -476,7 +419,6 @@ export async function executeCompletionAction(ctx, deps, facts, action, noProgre
|
|
|
476
419
|
// Crossed the no-progress threshold: escalate and shut the team down so
|
|
477
420
|
// a human can intervene. Reached only when the team HAS actionable work
|
|
478
421
|
// it owns yet has not moved it for N consecutive cycles.
|
|
479
|
-
teamState.commitNudgeAttempts = 0;
|
|
480
422
|
teamState.noProgressCycles = updatedNoProgressCycles;
|
|
481
423
|
teamState.lastProgressSnapshot = snapshot;
|
|
482
424
|
log.warn(`Scope-coverage guard tripped for "${focusName}" -- ` +
|
|
@@ -500,6 +442,31 @@ export async function executeCompletionAction(ctx, deps, facts, action, noProgre
|
|
|
500
442
|
case 'reengage': {
|
|
501
443
|
teamState.noProgressCycles = updatedNoProgressCycles;
|
|
502
444
|
teamState.lastProgressSnapshot = snapshot;
|
|
445
|
+
// ── A lead waiting on its live workers is left to wait ─────────────────
|
|
446
|
+
// (completion/worker-wait.ts). No wake while its workers report, unless
|
|
447
|
+
// there is work it has not been shown. The wait re-reads the focus on the
|
|
448
|
+
// poll cadence, so arriving work (or the workers going quiet) itself
|
|
449
|
+
// re-drives this decision -- no completion cycle is spent while it waits.
|
|
450
|
+
const quietIn = deps.teamWorkersQuietInMs ?? teamWorkersQuietInMs;
|
|
451
|
+
const quietInMs = quietIn(focusId, nowMs);
|
|
452
|
+
if (holdWakeForLiveWorkers({
|
|
453
|
+
teamState, focusId, focusName, nowMs,
|
|
454
|
+
workersLive: quietInMs !== null,
|
|
455
|
+
hasUnshownWork: hasUnshownWork(teamState, effectiveDeliveries, currentIssues),
|
|
456
|
+
issues: currentIssues,
|
|
457
|
+
wakeKind: action.kind === 'handoff_new_work' ? 'handoff' : 're-engagement',
|
|
458
|
+
})) {
|
|
459
|
+
const recheck = () => nextWorkerWaitCheck({
|
|
460
|
+
teamState, focusId,
|
|
461
|
+
quietInMs: quietIn(focusId, (deps.now ?? Date.now)()),
|
|
462
|
+
readWork: async () => {
|
|
463
|
+
const [deliveries, issues] = await Promise.all([deps.getFocusDeliveries(focusId), deps.getFocusIssues(focusId)]);
|
|
464
|
+
return { deliveries, issues };
|
|
465
|
+
},
|
|
466
|
+
});
|
|
467
|
+
scheduleDeferredReDrive(ctx, deps, Math.min(quietInMs ?? 0, WORKER_WAIT_RECHECK_MS), recheck);
|
|
468
|
+
return;
|
|
469
|
+
}
|
|
503
470
|
// ── Handoff-loop floor (a handoff loop must not spin) ──────────────────
|
|
504
471
|
// A burst of 'result' events (7 in 3.2s on 2026-08-16) must NOT produce a
|
|
505
472
|
// burst of handoffs. Per-lead time floor: a re-engagement arriving less
|
|
@@ -527,8 +494,9 @@ export async function executeCompletionAction(ctx, deps, facts, action, noProgre
|
|
|
527
494
|
// HANDOFF_UNPRODUCTIVE_LIMIT times before the daemon stops re-waking
|
|
528
495
|
// and terminates cleanly. Per-focus (teamState) so one fast-returning
|
|
529
496
|
// lead never throttles handoffs in another focus. Progress resets it.
|
|
497
|
+
// Reads the same measure and the same stall window as the counters.
|
|
530
498
|
const priorUnproductive = teamState.unproductiveReengagements ?? 0;
|
|
531
|
-
if (!madeProgress && priorUnproductive >= HANDOFF_UNPRODUCTIVE_LIMIT) {
|
|
499
|
+
if (!madeProgress && stallWindowElapsed && priorUnproductive >= HANDOFF_UNPRODUCTIVE_LIMIT) {
|
|
532
500
|
log.warn(`Re-engagement backstop for "${focusName}" -- ${priorUnproductive} consecutive ` +
|
|
533
501
|
`unproductive re-engagements at floor cadence; terminating cleanly instead of ` +
|
|
534
502
|
`re-waking indefinitely.`);
|
|
@@ -556,6 +524,9 @@ export async function executeCompletionAction(ctx, deps, facts, action, noProgre
|
|
|
556
524
|
teamState.deliveryStageIds.set(d.id, d.currentWorkflowStageId);
|
|
557
525
|
}
|
|
558
526
|
teamState.lastHandoffAt = nowMs;
|
|
527
|
+
recordIssuesShown(teamState, currentIssues);
|
|
528
|
+
// The lead's reply to this wake is not activity of its own (team-progress-measure.ts).
|
|
529
|
+
noteDaemonPoke(teamState, nowMs);
|
|
559
530
|
completionDetector.reset();
|
|
560
531
|
sendMessage(proc.stdin, message);
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YACjC,kBAAkB,CAAC,KAAK,EAAE,CAAC;YAC3B,WAAW,CAAC,IAAI,CAAC,KAAM,EAAE,OAAO,CAAC,CAAC;YAClC,OAAO;QACT,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* (for planning teams) refresh from MCP-written deliveries / escalate.
|
|
7
7
|
*/
|
|
8
8
|
import type { ChildProcess } from 'node:child_process';
|
|
9
|
-
import type { DaemonConfig, FocusTeamState, FocusDeliveryInfo, FocusIssueInfo, Workflow } from '../types/index.js';
|
|
9
|
+
import type { DaemonConfig, FocusTeamState, FocusDeliveryInfo, FocusIssueInfo, Workflow, TeamActivityMarks } from '../types/index.js';
|
|
10
10
|
import { loadEnvConfig } from '@telora/daemon-core';
|
|
11
11
|
import { CompletionDetector, type CompletionInfo } from './detector.js';
|
|
12
12
|
import { type CreateEscalationParams } from '../queries/escalations.js';
|
|
@@ -18,6 +18,7 @@ import { type SessionHoldBound } from './session-hold.js';
|
|
|
18
18
|
export { PLANNING_NO_DELIVERIES_REASON, NO_PROGRESS_ESCALATION_REASON, NON_ADVANCEABLE_ESCALATION_REASON, NON_ADVANCEABLE_CAUSE, DELIVERY_ADVANCEMENT_STALLED_REASON, DELIVERY_ADVANCEMENT_STALLED_CAUSE, type EscalationDeps, escalatePlanningFailure, escalateNoProgress, escalateNonAdvanceable, escalateDeliveryAdvancementStalled, } from './event-escalations.js';
|
|
19
19
|
import { type ReconcileTerminatedWorkParams, type ReconcileTerminatedWorkResult } from './terminated-work-reconcile.js';
|
|
20
20
|
import { type CompletionFacts } from './event-phases.js';
|
|
21
|
+
import { type NoticeDelivery } from './unclaimed-migration-notice-phase.js';
|
|
21
22
|
/**
|
|
22
23
|
* Maximum consecutive re-engagement cycles with no measurable progress before
|
|
23
24
|
* the scope-coverage guard escalates. Configurable via env so operators can
|
|
@@ -119,12 +120,30 @@ export interface CompletionEventDeps {
|
|
|
119
120
|
worktreePath: string;
|
|
120
121
|
} | undefined;
|
|
121
122
|
/**
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
123
|
+
* The focus's unclaimed-migration record, read at the team exit so a file
|
|
124
|
+
* written without a claim is named to the team that wrote it before the team
|
|
125
|
+
* is torn down. Injected so a test needs no API; production default is the
|
|
126
|
+
* real reader.
|
|
126
127
|
*/
|
|
127
|
-
|
|
128
|
+
readUnclaimedMigrationRecord?: (focusId: string) => Promise<string | null>;
|
|
129
|
+
/**
|
|
130
|
+
* Marks that record as handed to the team, and writes the notice to the live
|
|
131
|
+
* team. Both injected so the notice phase can be driven THROUGH the real
|
|
132
|
+
* phase registry without an API or a child process -- the registry run is the
|
|
133
|
+
* only thing that can show the notice happening before the teardown.
|
|
134
|
+
*/
|
|
135
|
+
markUnclaimedMigrationNamed?: (focusId: string, namedAt: string) => Promise<void>;
|
|
136
|
+
deliverUnclaimedMigrationNotice?: (focusId: string, message: string) => NoticeDelivery;
|
|
137
|
+
/**
|
|
138
|
+
* The team-activity axes of the one progress measure (agent activity, the
|
|
139
|
+
* uncommitted diff -- completion/team-progress-measure.ts). Injected for tests.
|
|
140
|
+
*/
|
|
141
|
+
readTeamActivityMarks?: (focusId: string, worktreePath: string | null) => TeamActivityMarks;
|
|
142
|
+
/**
|
|
143
|
+
* Ms until the team's live workers would go quiet, null when none are live;
|
|
144
|
+
* while non-null the lead gets no wake (completion/worker-wait.ts). Injected for tests.
|
|
145
|
+
*/
|
|
146
|
+
teamWorkersQuietInMs?: (focusId: string, nowMs: number) => number | null;
|
|
128
147
|
/**
|
|
129
148
|
* True while a verify command is running in the focus worktree (the
|
|
130
149
|
* verify-interlock hold). Folded into teamHasActionableWork via the shared
|
|
@@ -160,7 +179,7 @@ export interface CompletionEventDeps {
|
|
|
160
179
|
reconcileTerminatedTeamWork?: (params: ReconcileTerminatedWorkParams) => Promise<ReconcileTerminatedWorkResult>;
|
|
161
180
|
/**
|
|
162
181
|
* Clock seam (default Date.now). The stall-guard time floors -- the
|
|
163
|
-
* no-progress counter floor, the
|
|
182
|
+
* no-progress counter floor, the stall window, and the handoff-loop
|
|
164
183
|
* floor -- all read the clock through this so their invariants are testable
|
|
165
184
|
* without real sleeps. Kept out of the PURE decision (completion-decision.ts):
|
|
166
185
|
* the clock is read here in the fact/side-effect layer and the elapsed result
|
|
@@ -172,8 +191,8 @@ export interface CompletionEventDeps {
|
|
|
172
191
|
* spawn/liveness.ts). Backs the honest re-wake guard: a non-null
|
|
173
192
|
* teamState.leadStdin (a Writable) can OUTLIVE its process -- the object
|
|
174
193
|
* reference persists after exit while writes fail (EPIPE) -- so a non-null
|
|
175
|
-
* stdin is NOT proof of a reachable lead. Gating the
|
|
176
|
-
* pid liveness check closes that latent dishonesty. Injected so tests drive it
|
|
194
|
+
* stdin is NOT proof of a reachable lead. Gating the deferred re-drive on a
|
|
195
|
+
* real pid liveness check closes that latent dishonesty. Injected so tests drive it
|
|
177
196
|
* without a real process.
|
|
178
197
|
*/
|
|
179
198
|
isLeadAlive?: (pid: number) => boolean;
|
|
@@ -199,6 +218,22 @@ export interface CompletionEventDeps {
|
|
|
199
218
|
*/
|
|
200
219
|
reDrive?: (ctx: CompletionEventContext, deps: CompletionEventDeps) => Promise<void>;
|
|
201
220
|
}
|
|
221
|
+
/**
|
|
222
|
+
* The production deps.
|
|
223
|
+
*
|
|
224
|
+
* `readUnclaimedMigrationRecord` and `markUnclaimedMigrationNamed` are wired
|
|
225
|
+
* HERE, explicitly, rather than reached through a fallback inside the notice
|
|
226
|
+
* phase. The difference is not cosmetic: a phase that falls back to a real API
|
|
227
|
+
* call when its dep is absent makes that call for EVERY caller, including the
|
|
228
|
+
* twenty-odd suites that build a deps object to drive one unrelated completion
|
|
229
|
+
* decision. Each of those then exercised an uninitialised client, the strict
|
|
230
|
+
* read threw, and the phase's fail-closed keep halted the event ahead of the
|
|
231
|
+
* decision under test -- 51 tests red on a seam none of them had any reason to
|
|
232
|
+
* name. Declared as a dep, the reader is present exactly where it is wired, and
|
|
233
|
+
* `productionWiresTheUnclaimedNoticeReaders` pins that production is such a
|
|
234
|
+
* place.
|
|
235
|
+
*/
|
|
236
|
+
export declare const defaultDeps: CompletionEventDeps;
|
|
202
237
|
/**
|
|
203
238
|
* Cancel any pending handoff-floor self re-drive on this team. Called at the
|
|
204
239
|
* top of handleCompletionEvent (a fresh/newer event supersedes a pending
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/completion/event.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/completion/event.ts"],"names":[],"mappings":"AAcA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtI,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAIxE,OAAO,EAA4H,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAMlM,OAAO,EAA0B,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEzF,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAK9E,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,CAAC;AAOlF,OAAO,EAML,KAAK,gBAAgB,EACtB,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EACL,6BAA6B,EAC7B,6BAA6B,EAC7B,iCAAiC,EACjC,qBAAqB,EACrB,mCAAmC,EACnC,kCAAkC,EACl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