@telora/daemon 0.23.29 → 0.23.46
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 +10 -3
- package/dist/backends/claude/one-shot-model.d.ts.map +1 -1
- package/dist/backends/claude/one-shot-model.js +1 -0
- package/dist/backends/claude/one-shot-model.js.map +1 -1
- package/dist/completion/completion-event/event.d.ts +12 -0
- package/dist/completion/completion-event/event.d.ts.map +1 -1
- package/dist/completion/completion-event/event.js +1 -0
- package/dist/completion/completion-event/event.js.map +1 -1
- package/dist/completion/completion-event/unfinished-work.d.ts +134 -0
- package/dist/completion/completion-event/unfinished-work.d.ts.map +1 -0
- package/dist/completion/completion-event/unfinished-work.js +140 -0
- package/dist/completion/completion-event/unfinished-work.js.map +1 -0
- package/dist/completion/team-outcome/apply-turn.d.ts.map +1 -1
- package/dist/completion/team-outcome/apply-turn.js +18 -0
- package/dist/completion/team-outcome/apply-turn.js.map +1 -1
- package/dist/completion/team-outcome/decide-turn-entry-rows.d.ts +16 -0
- package/dist/completion/team-outcome/decide-turn-entry-rows.d.ts.map +1 -1
- package/dist/completion/team-outcome/decide-turn-entry-rows.js +75 -11
- package/dist/completion/team-outcome/decide-turn-entry-rows.js.map +1 -1
- package/dist/completion/team-outcome/decide-turn-work-rows.d.ts.map +1 -1
- package/dist/completion/team-outcome/decide-turn-work-rows.js +10 -1
- package/dist/completion/team-outcome/decide-turn-work-rows.js.map +1 -1
- package/dist/completion/team-outcome/decide.d.ts.map +1 -1
- package/dist/completion/team-outcome/decide.js +1 -0
- package/dist/completion/team-outcome/decide.js.map +1 -1
- package/dist/completion/team-outcome/exit-action-roles.d.ts.map +1 -1
- package/dist/completion/team-outcome/exit-action-roles.js +2 -0
- package/dist/completion/team-outcome/exit-action-roles.js.map +1 -1
- package/dist/completion/team-outcome/exit-actions.d.ts +4 -0
- package/dist/completion/team-outcome/exit-actions.d.ts.map +1 -1
- package/dist/completion/team-outcome/exit-limits.d.ts +8 -0
- package/dist/completion/team-outcome/exit-limits.d.ts.map +1 -1
- package/dist/completion/team-outcome/exit-limits.js +9 -0
- package/dist/completion/team-outcome/exit-limits.js.map +1 -1
- package/dist/completion/team-outcome/exit-pipeline-state.d.ts +7 -0
- package/dist/completion/team-outcome/exit-pipeline-state.d.ts.map +1 -1
- package/dist/completion/team-outcome/exit-pipeline-state.js +1 -0
- package/dist/completion/team-outcome/exit-pipeline-state.js.map +1 -1
- package/dist/completion/team-outcome/team-outcome.d.ts.map +1 -1
- package/dist/completion/team-outcome/team-outcome.js +2 -1
- package/dist/completion/team-outcome/team-outcome.js.map +1 -1
- package/dist/completion/team-teardown/session-hold-bounds.d.ts +13 -1
- package/dist/completion/team-teardown/session-hold-bounds.d.ts.map +1 -1
- package/dist/completion/team-teardown/session-hold-bounds.js +15 -0
- package/dist/completion/team-teardown/session-hold-bounds.js.map +1 -1
- package/dist/completion/team-teardown/session-hold.d.ts.map +1 -1
- package/dist/completion/team-teardown/session-hold.js +4 -0
- package/dist/completion/team-teardown/session-hold.js.map +1 -1
- package/dist/composition/completion-event-context.d.ts.map +1 -1
- package/dist/composition/completion-event-context.js +8 -0
- package/dist/composition/completion-event-context.js.map +1 -1
- package/dist/composition/daemon-contexts.d.ts.map +1 -1
- package/dist/composition/daemon-contexts.js +3 -1
- package/dist/composition/daemon-contexts.js.map +1 -1
- package/dist/composition/qa-author-pass-context.d.ts +7 -0
- package/dist/composition/qa-author-pass-context.d.ts.map +1 -0
- package/dist/composition/qa-author-pass-context.js +68 -0
- package/dist/composition/qa-author-pass-context.js.map +1 -0
- package/dist/composition/runtime-poll-context.d.ts +32 -4
- package/dist/composition/runtime-poll-context.d.ts.map +1 -1
- package/dist/composition/runtime-poll-context.js +61 -5
- package/dist/composition/runtime-poll-context.js.map +1 -1
- package/dist/composition/spawn-pass-deps.d.ts +1 -1
- package/dist/composition/spawn-pass-deps.d.ts.map +1 -1
- package/dist/composition/verification-context.js +1 -1
- package/dist/composition/verify-rework-context.d.ts +12 -3
- package/dist/composition/verify-rework-context.d.ts.map +1 -1
- package/dist/composition/verify-rework-context.js +27 -10
- package/dist/composition/verify-rework-context.js.map +1 -1
- package/dist/config/live-daemon-config.js +1 -1
- package/dist/daemon-state/focus-team-state.js +1 -1
- package/dist/daemon-state/provider-window.d.ts.map +1 -1
- package/dist/daemon-state/provider-window.js +1 -0
- package/dist/daemon-state/provider-window.js.map +1 -1
- package/dist/delivery/advance-hold.d.ts +25 -0
- package/dist/delivery/advance-hold.d.ts.map +1 -1
- package/dist/delivery/advance-hold.js +52 -1
- package/dist/delivery/advance-hold.js.map +1 -1
- package/dist/delivery/delivery-reconciler.d.ts +17 -2
- package/dist/delivery/delivery-reconciler.d.ts.map +1 -1
- package/dist/delivery/delivery-reconciler.js +54 -30
- package/dist/delivery/delivery-reconciler.js.map +1 -1
- package/dist/delivery/recorded-concerns.d.ts.map +1 -1
- package/dist/delivery/recorded-concerns.js +1 -0
- package/dist/delivery/recorded-concerns.js.map +1 -1
- package/dist/directive/directive-queue.d.ts +27 -0
- package/dist/directive/directive-queue.d.ts.map +1 -1
- package/dist/directive/directive-queue.js +36 -1
- package/dist/directive/directive-queue.js.map +1 -1
- package/dist/focus/daemon-contexts.d.ts +3 -0
- package/dist/focus/daemon-contexts.d.ts.map +1 -1
- package/dist/focus/daemon-contexts.js +1 -1
- package/dist/focus/daemon-contexts.js.map +1 -1
- package/dist/focus/failed-head-wedge.d.ts +42 -13
- package/dist/focus/failed-head-wedge.d.ts.map +1 -1
- package/dist/focus/failed-head-wedge.js +45 -10
- package/dist/focus/failed-head-wedge.js.map +1 -1
- package/dist/focus/focus-loop-registry.d.ts.map +1 -1
- package/dist/focus/focus-loop-registry.js +21 -0
- package/dist/focus/focus-loop-registry.js.map +1 -1
- package/dist/focus/focus-poller-spawn.js +1 -1
- package/dist/focus/focus-poller-state.js +1 -1
- package/dist/focus/pending-spawn-review-next-step.d.ts.map +1 -1
- package/dist/focus/pending-spawn-review-next-step.js +9 -1
- package/dist/focus/pending-spawn-review-next-step.js.map +1 -1
- package/dist/focus/uncommitted-work-backstop.d.ts +115 -0
- package/dist/focus/uncommitted-work-backstop.d.ts.map +1 -0
- package/dist/focus/uncommitted-work-backstop.js +259 -0
- package/dist/focus/uncommitted-work-backstop.js.map +1 -0
- package/dist/focus/verify-routing-passes.d.ts +5 -1
- package/dist/focus/verify-routing-passes.d.ts.map +1 -1
- package/dist/focus/verify-routing-passes.js +1 -0
- package/dist/focus/verify-routing-passes.js.map +1 -1
- package/dist/git/index.d.ts.map +1 -1
- package/dist/git/index.js +2 -1
- package/dist/git/index.js.map +1 -1
- package/dist/git/review-window-commits.d.ts.map +1 -1
- package/dist/git/review-window-commits.js +1 -0
- package/dist/git/review-window-commits.js.map +1 -1
- package/dist/git/types.d.ts.map +1 -1
- package/dist/git/types.js +1 -19
- package/dist/git/types.js.map +1 -1
- package/dist/prompt-sections/qa-author-section.d.ts +58 -0
- package/dist/prompt-sections/qa-author-section.d.ts.map +1 -0
- package/dist/prompt-sections/qa-author-section.js +226 -0
- package/dist/prompt-sections/qa-author-section.js.map +1 -0
- package/dist/qa/qa-author-faithfulness.d.ts +139 -0
- package/dist/qa/qa-author-faithfulness.d.ts.map +1 -0
- package/dist/qa/qa-author-faithfulness.js +323 -0
- package/dist/qa/qa-author-faithfulness.js.map +1 -0
- package/dist/qa/qa-author-mode.d.ts +34 -0
- package/dist/qa/qa-author-mode.d.ts.map +1 -0
- package/dist/qa/qa-author-mode.js +29 -0
- package/dist/qa/qa-author-mode.js.map +1 -0
- package/dist/qa/qa-author-output.d.ts +26 -0
- package/dist/qa/qa-author-output.d.ts.map +1 -0
- package/dist/qa/qa-author-output.js +66 -0
- package/dist/qa/qa-author-output.js.map +1 -0
- package/dist/qa/qa-author-pass.d.ts +63 -0
- package/dist/qa/qa-author-pass.d.ts.map +1 -0
- package/dist/qa/qa-author-pass.js +164 -0
- package/dist/qa/qa-author-pass.js.map +1 -0
- package/dist/qa/qa-author-runner.d.ts +60 -0
- package/dist/qa/qa-author-runner.d.ts.map +1 -0
- package/dist/qa/qa-author-runner.js +180 -0
- package/dist/qa/qa-author-runner.js.map +1 -0
- package/dist/qa/qa-focus-changes.d.ts +32 -0
- package/dist/qa/qa-focus-changes.d.ts.map +1 -0
- package/dist/qa/qa-focus-changes.js +59 -0
- package/dist/qa/qa-focus-changes.js.map +1 -0
- package/dist/queries/api-client/shared.d.ts +1 -0
- package/dist/queries/api-client/shared.d.ts.map +1 -1
- package/dist/queries/api-client/shared.js +14 -1
- package/dist/queries/api-client/shared.js.map +1 -1
- package/dist/queries/deliveries/deliveries.d.ts +15 -27
- package/dist/queries/deliveries/deliveries.d.ts.map +1 -1
- package/dist/queries/deliveries/deliveries.js +6 -57
- package/dist/queries/deliveries/deliveries.js.map +1 -1
- package/dist/queries/delivery-gate-state/delivery-gate-holds.d.ts +8 -3
- package/dist/queries/delivery-gate-state/delivery-gate-holds.d.ts.map +1 -1
- package/dist/queries/delivery-gate-state/delivery-gate-state.js +1 -1
- package/dist/queries/escalations/escalations.d.ts.map +1 -1
- package/dist/queries/escalations/escalations.js +1 -0
- package/dist/queries/escalations/escalations.js.map +1 -1
- package/dist/queries/index.d.ts +1 -1
- package/dist/queries/index.d.ts.map +1 -1
- package/dist/queries/index.js +1 -1
- package/dist/queries/index.js.map +1 -1
- package/dist/queries/qa-packets/qa-packets.d.ts +156 -0
- package/dist/queries/qa-packets/qa-packets.d.ts.map +1 -0
- package/dist/queries/qa-packets/qa-packets.js +105 -0
- package/dist/queries/qa-packets/qa-packets.js.map +1 -0
- package/dist/supervision/escalation-filing.js +1 -1
- package/dist/supervision/spawn-cooldown.js +1 -1
- package/dist/supervision/stop-registry.d.ts +5 -0
- package/dist/supervision/stop-registry.d.ts.map +1 -1
- package/dist/supervision/stop-rows-team-session.d.ts +6 -1
- package/dist/supervision/stop-rows-team-session.d.ts.map +1 -1
- package/dist/supervision/stop-rows-team-session.js +34 -1
- package/dist/supervision/stop-rows-team-session.js.map +1 -1
- package/dist/supervision/team-work.d.ts.map +1 -1
- package/dist/supervision/team-work.js +1 -0
- package/dist/supervision/team-work.js.map +1 -1
- package/dist/testing/fixtures/api-client.js +1 -1
- package/dist/testing/fixtures/approved-head-inert-deps.js +1 -1
- package/dist/testing/fixtures/approved-head-inert-deps.js.map +1 -1
- package/dist/testing/fixtures/completion-event-deps.d.ts +2 -1
- package/dist/testing/fixtures/completion-event-deps.d.ts.map +1 -1
- package/dist/testing/fixtures/completion-event-deps.js +5 -1
- package/dist/testing/fixtures/completion-event-deps.js.map +1 -1
- package/dist/testing/fixtures/index.js +1 -1
- package/dist/testing/fixtures/pending-spawn-world.d.ts.map +1 -1
- package/dist/testing/fixtures/pending-spawn-world.js +2 -1
- package/dist/testing/fixtures/pending-spawn-world.js.map +1 -1
- package/dist/testing/fixtures/review-exit-deps.js +2 -2
- package/dist/testing/fixtures/review-exit-deps.js.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/qa-packet.d.ts +39 -0
- package/dist/types/qa-packet.d.ts.map +1 -0
- package/dist/types/qa-packet.js +50 -0
- package/dist/types/qa-packet.js.map +1 -0
- package/dist/verify/attribution/rework-attribution.d.ts +50 -111
- package/dist/verify/attribution/rework-attribution.d.ts.map +1 -1
- package/dist/verify/attribution/rework-attribution.js +215 -71
- package/dist/verify/attribution/rework-attribution.js.map +1 -1
- package/dist/verify/gate-verdicts/commit-verdict-record.d.ts +9 -0
- package/dist/verify/gate-verdicts/commit-verdict-record.d.ts.map +1 -1
- package/dist/verify/gate-verdicts/commit-verdict-record.js +27 -1
- package/dist/verify/gate-verdicts/commit-verdict-record.js.map +1 -1
- package/dist/verify/gate-verdicts/judged-ancestor.d.ts.map +1 -1
- package/dist/verify/gate-verdicts/judged-ancestor.js +2 -1
- package/dist/verify/gate-verdicts/judged-ancestor.js.map +1 -1
- package/dist/verify/outcome-routing/gate-rework-reopen.d.ts +30 -0
- package/dist/verify/outcome-routing/gate-rework-reopen.d.ts.map +1 -0
- package/dist/verify/outcome-routing/gate-rework-reopen.js +37 -0
- package/dist/verify/outcome-routing/gate-rework-reopen.js.map +1 -0
- package/dist/verify/outcome-routing/verification-rework-issue.d.ts +114 -25
- package/dist/verify/outcome-routing/verification-rework-issue.d.ts.map +1 -1
- package/dist/verify/outcome-routing/verification-rework-issue.js +147 -88
- package/dist/verify/outcome-routing/verification-rework-issue.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { PipelineConfig } from '../types/index.js';
|
|
2
|
+
import type { CreateEscalationParams } from '../supervision/escalation-filing.js';
|
|
3
|
+
import type { DeliveryGateRowIo } from '../queries/deliveries/deliveries.js';
|
|
4
|
+
/** How long the state must stand, teamless, before the pass acts (and again before it records). */
|
|
5
|
+
export declare const UNCOMMITTED_WORK_GRACE_MS: number;
|
|
6
|
+
/** How long a queued respawn may wait to spawn (cooldown, a parked guard) before the record is filed anyway. */
|
|
7
|
+
export declare const UNCOMMITTED_WORK_RESPAWN_WAIT_MS: number;
|
|
8
|
+
/** At most this many paths are named in the respawn prompt and the record; the count carries the rest. */
|
|
9
|
+
export declare const UNCOMMITTED_WORK_PATH_CAP = 20;
|
|
10
|
+
/** The focus slice the pass reads (queries/focuses/focus-discovery.ts ActiveFocusRow). */
|
|
11
|
+
export interface UncommittedWorkFocusRow {
|
|
12
|
+
focus_id: string;
|
|
13
|
+
focus_name: string;
|
|
14
|
+
assigned_agent_role_id: string | null;
|
|
15
|
+
operator_stopped_at?: string | null;
|
|
16
|
+
read_only?: boolean | null;
|
|
17
|
+
pipeline_config?: PipelineConfig | null;
|
|
18
|
+
}
|
|
19
|
+
/** The coding respawn the pass queues (directive/directive-queue.ts queueDaemonCodingRespawn). */
|
|
20
|
+
export interface CodingRespawnRequest {
|
|
21
|
+
focusId: string;
|
|
22
|
+
message: string;
|
|
23
|
+
contentHash: string;
|
|
24
|
+
focusOverrideModel: string | null;
|
|
25
|
+
}
|
|
26
|
+
/** What the record names. */
|
|
27
|
+
export interface UncommittedWorkRecord {
|
|
28
|
+
organizationId: string;
|
|
29
|
+
focusId: string;
|
|
30
|
+
focusName: string;
|
|
31
|
+
worktreePath: string;
|
|
32
|
+
paths: readonly string[];
|
|
33
|
+
}
|
|
34
|
+
/** The pass's collaborators, every one REQUIRED (composition/runtime-poll-context.ts binds them). */
|
|
35
|
+
export interface UncommittedWorkBackstopDeps {
|
|
36
|
+
getActiveFocuses: (organizationId: string, productId: string) => Promise<readonly UncommittedWorkFocusRow[]>;
|
|
37
|
+
/** Whether a team process is live for the focus on this host. */
|
|
38
|
+
hasLiveTeam: (focusId: string) => boolean;
|
|
39
|
+
/** The focus worktree, or null when the daemon holds none. */
|
|
40
|
+
resolveWorktreePath: (focusId: string) => string | null;
|
|
41
|
+
listUncommittedPaths: (worktreePath: string) => readonly string[];
|
|
42
|
+
/** Queue the respawn unless a spawn directive is already queued; true when this call queued it. */
|
|
43
|
+
queueCodingRespawn: (request: CodingRespawnRequest) => boolean;
|
|
44
|
+
/** Whether a spawn directive is still queued for the focus (the respawn has not spawned yet). */
|
|
45
|
+
hasQueuedSpawn: (focusId: string) => boolean;
|
|
46
|
+
/** Withdraw this pass's own queued respawn (and nothing else); true when one was withdrawn. */
|
|
47
|
+
withdrawCodingRespawn: (focusId: string) => boolean;
|
|
48
|
+
/** File the record (deduped per focus by the caller's binding); never throws past its own logging. */
|
|
49
|
+
recordUncommittedWork: (record: UncommittedWorkRecord) => Promise<void>;
|
|
50
|
+
/** Close the record once the worktree is clean; the count closed. */
|
|
51
|
+
resolveRecord: (focusId: string) => Promise<number>;
|
|
52
|
+
now: () => number;
|
|
53
|
+
}
|
|
54
|
+
/** Test seam: forget every episode. */
|
|
55
|
+
export declare function __resetUncommittedWorkBackstopForTests(): void;
|
|
56
|
+
/** What the pass did for one focus. */
|
|
57
|
+
export type UncommittedWorkAction = {
|
|
58
|
+
kind: 'respawned';
|
|
59
|
+
paths: readonly string[];
|
|
60
|
+
queued: boolean;
|
|
61
|
+
} | {
|
|
62
|
+
kind: 'recorded';
|
|
63
|
+
paths: readonly string[];
|
|
64
|
+
} | {
|
|
65
|
+
kind: 'cleared';
|
|
66
|
+
resolved: number;
|
|
67
|
+
};
|
|
68
|
+
/** The respawned team's directive: what is uncommitted and what finishes it. Pure. */
|
|
69
|
+
export declare function buildUncommittedWorkRespawnMessage(focusName: string, paths: readonly string[]): string;
|
|
70
|
+
/** The pass for one focus (module header). Never throws. */
|
|
71
|
+
export declare function checkUncommittedWork(focus: UncommittedWorkFocusRow, organizationId: string, deps: UncommittedWorkBackstopDeps): Promise<UncommittedWorkAction | null>;
|
|
72
|
+
/** The seams the operator-visible record goes through. */
|
|
73
|
+
export interface StrandedWorkRecordDeps {
|
|
74
|
+
getFocusDeliveries: (focusId: string) => Promise<ReadonlyArray<{
|
|
75
|
+
id: string;
|
|
76
|
+
executionStatus?: string | null;
|
|
77
|
+
}>>;
|
|
78
|
+
gateRowIo: DeliveryGateRowIo;
|
|
79
|
+
now: () => number;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Write the OPERATOR-VISIBLE record (module header, step 2) on every cycling
|
|
83
|
+
* delivery of the focus: gate_state.advanceHold, reason worktree_uncommitted_no_team,
|
|
84
|
+
* naming the worktree and the paths. Returns how many rows carry it. Throws what a
|
|
85
|
+
* read or write throws (the pass retries).
|
|
86
|
+
*/
|
|
87
|
+
export declare function recordStrandedWorkOnFocus(record: UncommittedWorkRecord, deps: StrandedWorkRecordDeps): Promise<number>;
|
|
88
|
+
/** Clear the record from every delivery of the focus that carries it. Throws what a read or write throws. */
|
|
89
|
+
export declare function clearStrandedWorkOnFocus(focusId: string, deps: StrandedWorkRecordDeps): Promise<void>;
|
|
90
|
+
/** The filing seams the record goes through. */
|
|
91
|
+
export interface UncommittedWorkRecordDeps {
|
|
92
|
+
createEscalation: (params: CreateEscalationParams) => Promise<unknown>;
|
|
93
|
+
/** Whether a sibling worktree-dirty escalation is already open for the focus (one dirty tree, one row). */
|
|
94
|
+
hasOpenWorktreeDirtyEscalation: (focusId: string) => Promise<boolean>;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* File the record (module header, step 2): ONE agent-resolvable worktree-dirty
|
|
98
|
+
* observation naming the uncommitted paths, unless a sibling worktree-dirty row
|
|
99
|
+
* is already open for the focus. Committing or discarding the work is git work an
|
|
100
|
+
* agent session can do, so it proposes no human act. A failed dedupe read files
|
|
101
|
+
* (a genuine first record is not swallowed); a failed create throws to the caller.
|
|
102
|
+
*/
|
|
103
|
+
export declare function fileUncommittedWorkRecord(record: UncommittedWorkRecord, deps: UncommittedWorkRecordDeps): Promise<void>;
|
|
104
|
+
/**
|
|
105
|
+
* The backstop pass over one product's active focuses (module header). Returns
|
|
106
|
+
* what it did per focus it acted on. Never throws.
|
|
107
|
+
*/
|
|
108
|
+
export declare function recoverUncommittedWork(config: {
|
|
109
|
+
organizationId: string;
|
|
110
|
+
productId: string;
|
|
111
|
+
}, deps: UncommittedWorkBackstopDeps): Promise<Array<{
|
|
112
|
+
focusId: string;
|
|
113
|
+
action: UncommittedWorkAction;
|
|
114
|
+
}>>;
|
|
115
|
+
//# sourceMappingURL=uncommitted-work-backstop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uncommitted-work-backstop.d.ts","sourceRoot":"","sources":["../../src/focus/uncommitted-work-backstop.ts"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAIxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAElF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAK7E,mGAAmG;AACnG,eAAO,MAAM,yBAAyB,QAAa,CAAC;AAEpD,gHAAgH;AAChH,eAAO,MAAM,gCAAgC,QAAc,CAAC;AAE5D,0GAA0G;AAC1G,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,0FAA0F;AAC1F,MA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G,EAAE,MAAM,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,wBAAsB,yBAAyB,CAAC,MAAM,EAAE,qBAAqB,EAAE,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC,CAQ5H;AAED,6GAA6G;AAC7G,wBAAsB,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC,CAI3G;AAED,gDAAgD;AAChD,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACvE,2GAA2G;IAC3G,8BAA8B,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CACvE;AAED;;;;;;GAMG;AACH,wBAAsB,yBAAyB,CAAC,MAAM,EAAE,qBAAqB,EAAE,IAAI,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CA4B7H;AAED;;;GAGG;AACH,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE;IAAE,cAAc,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,EACrD,IAAI,EAAE,2BAA2B,GAChC,OAAO,CAAC,KAAK,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,qBAAqB,CAAA;CAAE,CAAC,CAAC,CAkBpE"}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
// PINNED-BY-BEGIN (generated by gen:pinned-by -- do not hand-edit; checked by lint:pinned-by)
|
|
2
|
+
// Pinned by: packages/daemon/src/focus/uncommitted-work-backstop.test.ts
|
|
3
|
+
// PINNED-BY-END
|
|
4
|
+
/**
|
|
5
|
+
* Uncommitted work in an armed focus's worktree never sits there with nobody to
|
|
6
|
+
* finish it.
|
|
7
|
+
*
|
|
8
|
+
* THE STATE. An armed focus (assigned_agent_role_id set, not operator-stopped,
|
|
9
|
+
* not read-only) with NO live team on this host, whose worktree holds
|
|
10
|
+
* uncommitted paths (`git status --porcelain`, the reading the coding -> verify
|
|
11
|
+
* advance hold names: delivery/advance-hold.ts). Nothing else moves it: the gate
|
|
12
|
+
* judges commits, so it never sees the work; merge-back skips a dirty worktree
|
|
13
|
+
* every tick; the HEAD does not move, so a failed verdict at it stands; and when
|
|
14
|
+
* every delivery is in verify no team spawns. A team torn down with its fix
|
|
15
|
+
* staged leaves exactly this (the completion hold,
|
|
16
|
+
* completion/completion-event/unfinished-work.ts, bounds how long a live team is
|
|
17
|
+
* kept for it -- it does not make a torn-down team's work commit itself).
|
|
18
|
+
*
|
|
19
|
+
* WHAT IT DOES, once the state has stood for UNCOMMITTED_WORK_GRACE_MS (so a team
|
|
20
|
+
* mid-exit, whose own close path may still capture its work, is not raced):
|
|
21
|
+
* 1. RESPAWN, once per dirty episode: queue a coding respawn of the focus's own
|
|
22
|
+
* lineage (the team that wrote the work resumes with its context), naming
|
|
23
|
+
* the paths. A spawn directive already queued is left alone -- it spawns a
|
|
24
|
+
* team too. The respawn is marked (purpose 'uncommitted_work') so the
|
|
25
|
+
* pending-spawn pass never drops it for a review that would be "next" on a
|
|
26
|
+
* verify-only focus (focus/pending-spawn-review-next-step.ts): a review judges a
|
|
27
|
+
* HEAD the work is not in. The respawned team, its deliveries all in verify, is
|
|
28
|
+
* held by the completion hold and re-prompted to commit until it does.
|
|
29
|
+
* 2. RECORD, if the respawn did not finish it: the state stands again for the
|
|
30
|
+
* grace with no live team and no respawn still queued (or the queued one has
|
|
31
|
+
* waited UNCOMMITTED_WORK_RESPAWN_WAIT_MS). The OPERATOR-VISIBLE record is
|
|
32
|
+
* state on the focus's cycling deliveries: gate_state.advanceHold with reason
|
|
33
|
+
* worktree_uncommitted_no_team, naming the worktree and the paths, which the
|
|
34
|
+
* dashboard's Waiting-on line renders (delivery/advance-hold.ts
|
|
35
|
+
* recordStrandedWork; it carries no `blocking` entry, so it decides nothing).
|
|
36
|
+
* Beside it, ONE agent-resolvable worktree-dirty observation (escalation kind
|
|
37
|
+
* merge_refused_dirty, deduped across its sibling classes per focus) puts the
|
|
38
|
+
* condition in the machine lane, where the routing deciders read it -- the
|
|
39
|
+
* daemon files no human-facing row of its own.
|
|
40
|
+
* An episode ends when the worktree is clean (the record is cleared and the
|
|
41
|
+
* observation auto-resolved -- the condition they name is gone -- and a respawn
|
|
42
|
+
* still queued is withdrawn) or the focus is no longer armed (the record, if any,
|
|
43
|
+
* stands: the work is still uncommitted).
|
|
44
|
+
*
|
|
45
|
+
* WHAT IT NEVER DOES. Commit, discard or stash the work itself (it is the team's,
|
|
46
|
+
* and an operator stop hands the worktree to the operator: an operator-stopped
|
|
47
|
+
* focus is not armed here); act while a team is live; act on a read-only focus.
|
|
48
|
+
*
|
|
49
|
+
* In memory: a restart re-arms one respawn per dirty worktree, and the per-focus
|
|
50
|
+
* observation dedupe holds across it. Best-effort: every failure is logged and
|
|
51
|
+
* the next poll retries.
|
|
52
|
+
*
|
|
53
|
+
* @module focus/uncommitted-work-backstop
|
|
54
|
+
*/
|
|
55
|
+
import { createHash } from 'node:crypto';
|
|
56
|
+
import { DELIVERY_STATUS, ESCALATION_DISPOSITIONS, ESCALATION_REASONS } from '@telora/daemon-core';
|
|
57
|
+
import { focusPipelineModelForPass } from '../config/model-resolution.js';
|
|
58
|
+
import { MERGE_REFUSED_DIRTY_ESCALATION_KIND } from '../queries/escalations/escalations.js';
|
|
59
|
+
import { NO_HUMAN_ACT } from '../queries/escalations/filing-observation.js';
|
|
60
|
+
import { clearStrandedWork, recordStrandedWork } from '../delivery/advance-hold.js';
|
|
61
|
+
import { createLogger } from '../log/daemon-log.js';
|
|
62
|
+
const log = createLogger({ module: 'focus-poller' });
|
|
63
|
+
/** How long the state must stand, teamless, before the pass acts (and again before it records). */
|
|
64
|
+
export const UNCOMMITTED_WORK_GRACE_MS = 2 * 60_000;
|
|
65
|
+
/** How long a queued respawn may wait to spawn (cooldown, a parked guard) before the record is filed anyway. */
|
|
66
|
+
export const UNCOMMITTED_WORK_RESPAWN_WAIT_MS = 30 * 60_000;
|
|
67
|
+
/** At most this many paths are named in the respawn prompt and the record; the count carries the rest. */
|
|
68
|
+
export const UNCOMMITTED_WORK_PATH_CAP = 20;
|
|
69
|
+
const episodes = new Map();
|
|
70
|
+
/** Test seam: forget every episode. */
|
|
71
|
+
export function __resetUncommittedWorkBackstopForTests() {
|
|
72
|
+
episodes.clear();
|
|
73
|
+
}
|
|
74
|
+
function namedPaths(paths) {
|
|
75
|
+
const shown = paths.slice(0, UNCOMMITTED_WORK_PATH_CAP).map((p) => `- ${p}`);
|
|
76
|
+
return paths.length > UNCOMMITTED_WORK_PATH_CAP ? [...shown, `- ... and ${paths.length - UNCOMMITTED_WORK_PATH_CAP} more`] : shown;
|
|
77
|
+
}
|
|
78
|
+
/** The respawned team's directive: what is uncommitted and what finishes it. Pure. */
|
|
79
|
+
export function buildUncommittedWorkRespawnMessage(focusName, paths) {
|
|
80
|
+
return [
|
|
81
|
+
`## Finish the uncommitted work in "${focusName}"`,
|
|
82
|
+
'',
|
|
83
|
+
`The previous team on this focus ended with ${paths.length} uncommitted path(s) in the focus worktree:`,
|
|
84
|
+
...namedPaths(paths),
|
|
85
|
+
'',
|
|
86
|
+
'Nothing else moves this focus while they stay uncommitted: the gate judges commits, so it never sees them, and '
|
|
87
|
+
+ 'merge-back skips a dirty worktree. Inspect them, commit what is this focus\'s work -- each commit carrying the '
|
|
88
|
+
+ '`Telora-Delivery: <deliveryId>` trailer of the delivery it belongs to -- and discard what is not.',
|
|
89
|
+
'',
|
|
90
|
+
'Do NOT replay the gate by hand: the daemon verifies the new HEAD once you commit.',
|
|
91
|
+
].join('\n');
|
|
92
|
+
}
|
|
93
|
+
function armed(focus) {
|
|
94
|
+
return !!focus.assigned_agent_role_id && !focus.operator_stopped_at && focus.read_only !== true;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* End a focus's episode. When it ended because the worktree is CLEAN, a recorded
|
|
98
|
+
* one has its record closed; any other end leaves the record standing. Never throws.
|
|
99
|
+
*/
|
|
100
|
+
async function endEpisode(focus, deps, clean) {
|
|
101
|
+
const episode = episodes.get(focus.focus_id);
|
|
102
|
+
episodes.delete(focus.focus_id);
|
|
103
|
+
if (clean && episode && deps.withdrawCodingRespawn(focus.focus_id)) {
|
|
104
|
+
log.info(`[uncommitted-work] "${focus.focus_name}": the worktree is clean -- withdrew the queued respawn`);
|
|
105
|
+
}
|
|
106
|
+
if (!clean || !episode?.recorded)
|
|
107
|
+
return null;
|
|
108
|
+
try {
|
|
109
|
+
return { kind: 'cleared', resolved: await deps.resolveRecord(focus.focus_id) };
|
|
110
|
+
}
|
|
111
|
+
catch (err) {
|
|
112
|
+
log.warn(`[uncommitted-work] "${focus.focus_name}": closing the record failed: ${err.message}`);
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
/** The pass for one focus (module header). Never throws. */
|
|
117
|
+
export async function checkUncommittedWork(focus, organizationId, deps) {
|
|
118
|
+
if (!armed(focus))
|
|
119
|
+
return endEpisode(focus, deps, false);
|
|
120
|
+
const worktreePath = deps.resolveWorktreePath(focus.focus_id);
|
|
121
|
+
if (!worktreePath)
|
|
122
|
+
return endEpisode(focus, deps, false);
|
|
123
|
+
const now = deps.now();
|
|
124
|
+
const prior = episodes.get(focus.focus_id);
|
|
125
|
+
if (deps.hasLiveTeam(focus.focus_id)) {
|
|
126
|
+
// The team owns its worktree. Its teamless stretch starts over when it is gone.
|
|
127
|
+
if (prior)
|
|
128
|
+
prior.teamlessSince = Number.POSITIVE_INFINITY;
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
131
|
+
const paths = [...deps.listUncommittedPaths(worktreePath)].sort();
|
|
132
|
+
if (paths.length === 0)
|
|
133
|
+
return endEpisode(focus, deps, true);
|
|
134
|
+
const episode = prior ?? { fingerprint: paths.join('\n'), teamlessSince: now, respawnedAt: null, recorded: false };
|
|
135
|
+
if (episode.teamlessSince === Number.POSITIVE_INFINITY)
|
|
136
|
+
episode.teamlessSince = now;
|
|
137
|
+
episode.fingerprint = paths.join('\n');
|
|
138
|
+
episodes.set(focus.focus_id, episode);
|
|
139
|
+
if (now - episode.teamlessSince < UNCOMMITTED_WORK_GRACE_MS)
|
|
140
|
+
return null;
|
|
141
|
+
if (episode.respawnedAt === null) {
|
|
142
|
+
episode.respawnedAt = now;
|
|
143
|
+
episode.teamlessSince = now;
|
|
144
|
+
const queued = deps.queueCodingRespawn({
|
|
145
|
+
focusId: focus.focus_id,
|
|
146
|
+
message: buildUncommittedWorkRespawnMessage(focus.focus_name, paths),
|
|
147
|
+
contentHash: createHash('sha256').update(`uncommitted-work\n${focus.focus_id}\n${episode.fingerprint}`).digest('hex'),
|
|
148
|
+
focusOverrideModel: focusPipelineModelForPass(focus.pipeline_config, 'coding'),
|
|
149
|
+
});
|
|
150
|
+
log.warn(`[uncommitted-work] "${focus.focus_name}" is armed with NO live team and ${paths.length} uncommitted path(s) in its ` +
|
|
151
|
+
`worktree (${paths.slice(0, 5).join(', ')}${paths.length > 5 ? ', ...' : ''}) -- ` +
|
|
152
|
+
(queued ? 'queued a coding respawn to finish and commit them' : 'a spawn directive is already queued; it will spawn the team'));
|
|
153
|
+
return { kind: 'respawned', paths, queued };
|
|
154
|
+
}
|
|
155
|
+
if (episode.recorded)
|
|
156
|
+
return null;
|
|
157
|
+
// The respawn is still queued (a cooldown, a parked guard): give it its bounded wait.
|
|
158
|
+
if (deps.hasQueuedSpawn(focus.focus_id) && now - episode.respawnedAt < UNCOMMITTED_WORK_RESPAWN_WAIT_MS)
|
|
159
|
+
return null;
|
|
160
|
+
episode.recorded = true;
|
|
161
|
+
try {
|
|
162
|
+
await deps.recordUncommittedWork({ organizationId, focusId: focus.focus_id, focusName: focus.focus_name, worktreePath, paths });
|
|
163
|
+
}
|
|
164
|
+
catch (err) {
|
|
165
|
+
episode.recorded = false;
|
|
166
|
+
log.warn(`[uncommitted-work] "${focus.focus_name}": recording the uncommitted work failed (retried): ${err.message}`);
|
|
167
|
+
return null;
|
|
168
|
+
}
|
|
169
|
+
log.warn(`[uncommitted-work] "${focus.focus_name}": the respawn did not finish it -- still ${paths.length} uncommitted path(s) ` +
|
|
170
|
+
'and no live team; recorded it, naming them, on the focus deliveries (the dashboard Waiting-on line) and as a worktree-dirty observation');
|
|
171
|
+
return { kind: 'recorded', paths };
|
|
172
|
+
}
|
|
173
|
+
/** Statuses whose rows never carry the stranded-work record: settled, or intent the team cannot see. */
|
|
174
|
+
const NO_RECORD_STATUSES = new Set([
|
|
175
|
+
DELIVERY_STATUS.DONE, DELIVERY_STATUS.CANCELLED, DELIVERY_STATUS.DRAFT, DELIVERY_STATUS.PLANNING,
|
|
176
|
+
]);
|
|
177
|
+
/**
|
|
178
|
+
* Write the OPERATOR-VISIBLE record (module header, step 2) on every cycling
|
|
179
|
+
* delivery of the focus: gate_state.advanceHold, reason worktree_uncommitted_no_team,
|
|
180
|
+
* naming the worktree and the paths. Returns how many rows carry it. Throws what a
|
|
181
|
+
* read or write throws (the pass retries).
|
|
182
|
+
*/
|
|
183
|
+
export async function recordStrandedWorkOnFocus(record, deps) {
|
|
184
|
+
const rows = (await deps.getFocusDeliveries(record.focusId)).filter((d) => !NO_RECORD_STATUSES.has(d.executionStatus ?? ''));
|
|
185
|
+
for (const d of rows) {
|
|
186
|
+
await recordStrandedWork(d.id, { worktreePath: record.worktreePath, paths: record.paths }, {
|
|
187
|
+
io: deps.gateRowIo, now: () => new Date(deps.now()).toISOString(),
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
return rows.length;
|
|
191
|
+
}
|
|
192
|
+
/** Clear the record from every delivery of the focus that carries it. Throws what a read or write throws. */
|
|
193
|
+
export async function clearStrandedWorkOnFocus(focusId, deps) {
|
|
194
|
+
for (const d of await deps.getFocusDeliveries(focusId)) {
|
|
195
|
+
await clearStrandedWork(d.id, { io: deps.gateRowIo });
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* File the record (module header, step 2): ONE agent-resolvable worktree-dirty
|
|
200
|
+
* observation naming the uncommitted paths, unless a sibling worktree-dirty row
|
|
201
|
+
* is already open for the focus. Committing or discarding the work is git work an
|
|
202
|
+
* agent session can do, so it proposes no human act. A failed dedupe read files
|
|
203
|
+
* (a genuine first record is not swallowed); a failed create throws to the caller.
|
|
204
|
+
*/
|
|
205
|
+
export async function fileUncommittedWorkRecord(record, deps) {
|
|
206
|
+
let alreadyOpen = false;
|
|
207
|
+
try {
|
|
208
|
+
alreadyOpen = await deps.hasOpenWorktreeDirtyEscalation(record.focusId);
|
|
209
|
+
}
|
|
210
|
+
catch (err) {
|
|
211
|
+
log.warn(`[uncommitted-work] open worktree-dirty lookup failed for "${record.focusName}", filing: ${err.message}`);
|
|
212
|
+
}
|
|
213
|
+
if (alreadyOpen)
|
|
214
|
+
return;
|
|
215
|
+
await deps.createEscalation({
|
|
216
|
+
organizationId: record.organizationId,
|
|
217
|
+
issueId: null,
|
|
218
|
+
reasonType: ESCALATION_REASONS.ERROR_ENCOUNTERED,
|
|
219
|
+
disposition: ESCALATION_DISPOSITIONS.NEEDS_OPERATOR,
|
|
220
|
+
humanAct: NO_HUMAN_ACT,
|
|
221
|
+
escalationKind: MERGE_REFUSED_DIRTY_ESCALATION_KIND,
|
|
222
|
+
anchor: { focusId: record.focusId },
|
|
223
|
+
description: `Uncommitted work is stranded in the worktree of armed focus "${record.focusName}": no team is live, and a ` +
|
|
224
|
+
`respawn to finish it did not.\n\n**Worktree:** ${record.worktreePath}\n**Uncommitted paths (${record.paths.length}):**\n` +
|
|
225
|
+
namedPaths(record.paths).join('\n') +
|
|
226
|
+
'\n\nUntil they are committed or discarded the gate never sees them, merge-back skips the worktree, and the focus HEAD does not move.',
|
|
227
|
+
whatWasTried: 'The uncommitted-work backstop found the focus armed and teamless with these paths uncommitted, and queued a coding ' +
|
|
228
|
+
'respawn of the focus\'s lineage to commit them; the worktree is still dirty with no live team.',
|
|
229
|
+
helpNeeded: `Inspect ${record.worktreePath}: commit what is the focus's work (with the Telora-Delivery trailer of the delivery it ` +
|
|
230
|
+
'belongs to) and discard what is not. This record closes itself once the worktree is clean.',
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* The backstop pass over one product's active focuses (module header). Returns
|
|
235
|
+
* what it did per focus it acted on. Never throws.
|
|
236
|
+
*/
|
|
237
|
+
export async function recoverUncommittedWork(config, deps) {
|
|
238
|
+
const acted = [];
|
|
239
|
+
let focuses;
|
|
240
|
+
try {
|
|
241
|
+
focuses = await deps.getActiveFocuses(config.organizationId, config.productId);
|
|
242
|
+
}
|
|
243
|
+
catch (err) {
|
|
244
|
+
log.warn(`[uncommitted-work] pass: active focuses unreadable (retried next poll): ${err.message}`);
|
|
245
|
+
return acted;
|
|
246
|
+
}
|
|
247
|
+
for (const focus of focuses) {
|
|
248
|
+
try {
|
|
249
|
+
const action = await checkUncommittedWork(focus, config.organizationId, deps);
|
|
250
|
+
if (action)
|
|
251
|
+
acted.push({ focusId: focus.focus_id, action });
|
|
252
|
+
}
|
|
253
|
+
catch (err) {
|
|
254
|
+
log.warn(`[uncommitted-work] "${focus.focus_name}": check failed (retried next poll): ${err.message}`);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
return acted;
|
|
258
|
+
}
|
|
259
|
+
//# sourceMappingURL=uncommitted-work-backstop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uncommitted-work-backstop.js","sourceRoot":"","sources":["../../src/focus/uncommitted-work-backstop.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,yEAAyE;AACzE,gBAAgB;AAEhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,kBAAkB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AAC;YACb,GAAG,CAAC,IAAI,CAAC,uBAAuB,KAAK,CAAC,UAAU,wCAAyC,GAAa,CAAC,OAAO,EAAE,CAAC,CAAC;QACpH,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
* verdict at its head and nothing to run (no review window, no owed work, no
|
|
12
12
|
* live team) gets the rework Bug for it (focus/failed-head-wedge.ts). It runs
|
|
13
13
|
* after the release pass, so a held exit the release routes this poll is
|
|
14
|
-
* never read as a wedge
|
|
14
|
+
* never read as a wedge;
|
|
15
|
+
* 4. recoverUncommittedWork: an armed focus left with uncommitted work in its
|
|
16
|
+
* worktree and no live team gets one coding respawn to finish it, then a
|
|
17
|
+
* worktree-dirty record naming the paths (focus/uncommitted-work-backstop.ts).
|
|
15
18
|
*
|
|
16
19
|
* The release pass is the ONLY production path that routes a held review exit: if
|
|
17
20
|
* it stops running, every commit-verdict hold waits until its overdue observation
|
|
@@ -31,6 +34,7 @@ export interface VerifyRoutingPasses {
|
|
|
31
34
|
checkVerifyDeliveriesForOpenIssues: (config: DaemonConfig) => Promise<void>;
|
|
32
35
|
releaseCommitVerdictHolds: (config: DaemonConfig) => Promise<unknown>;
|
|
33
36
|
fileReworkForFailedHeadWedges: (config: DaemonConfig) => Promise<unknown>;
|
|
37
|
+
recoverUncommittedWork: (config: DaemonConfig) => Promise<unknown>;
|
|
34
38
|
}
|
|
35
39
|
/** Run the verify-routing phase for one product-scoped config, over the given passes. */
|
|
36
40
|
export declare function runVerifyRoutingPasses(config: DaemonConfig, passes: VerifyRoutingPasses): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-routing-passes.d.ts","sourceRoot":"","sources":["../../src/focus/verify-routing-passes.ts"],"names":[],"mappings":"AAMA
|
|
1
|
+
{"version":3,"file":"verify-routing-passes.d.ts","sourceRoot":"","sources":["../../src/focus/verify-routing-passes.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,2CAA2C;AAC3C,MAAM,WAAW,mBAAmB;IAClC,kCAAkC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5E,yBAAyB,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACtE,6BAA6B,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC1E,sBAAsB,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CACpE;AAED,yFAAyF;AACzF,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,YAAY,EACpB,MAAM,EAAE,mBAAmB,GAC1B,OAAO,CAAC,IAAI,CAAC,CAKf"}
|
|
@@ -8,5 +8,6 @@ export async function runVerifyRoutingPasses(config, passes) {
|
|
|
8
8
|
await passes.checkVerifyDeliveriesForOpenIssues(config);
|
|
9
9
|
await passes.releaseCommitVerdictHolds(config);
|
|
10
10
|
await passes.fileReworkForFailedHeadWedges(config);
|
|
11
|
+
await passes.recoverUncommittedWork(config);
|
|
11
12
|
}
|
|
12
13
|
//# sourceMappingURL=verify-routing-passes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-routing-passes.js","sourceRoot":"","sources":["../../src/focus/verify-routing-passes.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,0EAA0E;AAC1E,6DAA6D;AAC7D,0EAA0E;AAC1E,gBAAgB;
|
|
1
|
+
{"version":3,"file":"verify-routing-passes.js","sourceRoot":"","sources":["../../src/focus/verify-routing-passes.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,0EAA0E;AAC1E,6DAA6D;AAC7D,0EAA0E;AAC1E,gBAAgB;AA2ChB,yFAAyF;AACzF,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,MAAoB,EACpB,MAA2B;IAE3B,MAAM,MAAM,CAAC,kCAAkC,CAAC,MAAM,CAAC,CAAC;IACxD,MAAM,MAAM,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC;IAC/C,MAAM,MAAM,CAAC,6BAA6B,CAAC,MAAM,CAAC,CAAC;IACnD,MAAM,MAAM,CAAC,sBAAsB,CAAC,MAAM,CAAC,CAAC;AAC9C,CAAC"}
|
package/dist/git/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/git/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/git/index.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC"}
|
package/dist/git/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
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/
|
|
2
|
+
// Pinned by: packages/daemon/src/completion/completion-event/unfinished-work.test.ts,
|
|
3
|
+
// packages/daemon/src/completion/team-exit/teardown-merge-gate.test.ts,
|
|
3
4
|
// packages/daemon/src/completion/team-teardown/mid-flight-merge-gate.test.ts,
|
|
4
5
|
// packages/daemon/src/git/genesis-aurora-shell-smoke.test.ts, packages/daemon/src/git/git-fetch.test.ts,
|
|
5
6
|
// packages/daemon/src/git/git-genesis.test.ts, packages/daemon/src/git/git-state-detector.test.ts,
|
package/dist/git/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/git/index.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/git/index.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,sFAAsF;AACtF,0EAA0E;AAC1E,gFAAgF;AAChF,2GAA2G;AAC3G,qGAAqG;AACrG,sDAAsD;AACtD,0GAA0G;AAC1G,iEAAiE;AACjE,2GAA2G;AAC3G,qFAAqF;AACrF,oFAAoF;AACpF,iEAAiE;AACjE,oEAAoE;AACpE,8DAA8D;AAC9D,yEAAyE;AACzE,gBAAgB;AAEhB;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review-window-commits.d.ts","sourceRoot":"","sources":["../../src/git/review-window-commits.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"review-window-commits.d.ts","sourceRoot":"","sources":["../../src/git/review-window-commits.ts"],"names":[],"mappings":"AAoCA,OAAO,EAA8C,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE5G,6EAA6E;AAC7E,MAAM,WAAW,kBAAkB;IACjC,QAAQ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AE,MAAM,MAAM,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,SAAS,kBAAkB,EAAE,GACjC,cAAc,GAAG,IAAI,CAcvB;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAO5D;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,MAAM,EACpB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,GACV,MAAM,EAAE,GAAG,IAAI,CAYjB"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// Pinned by: packages/daemon/src/completion/review-exit/review-exit-foreign-findings.test.ts,
|
|
3
3
|
// packages/daemon/src/completion/review-exit/review-exit-foreign-focus-regression.test.ts,
|
|
4
4
|
// packages/daemon/src/git/focus-own-delta.test.ts, packages/daemon/src/git/review-window-commits.test.ts,
|
|
5
|
+
// packages/daemon/src/integration/red-head-integration-merge-rework-regression.test.ts,
|
|
5
6
|
// packages/daemon/src/verify/attribution/rework-attribution.test.ts
|
|
6
7
|
// PINNED-BY-END
|
|
7
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review-window-commits.js","sourceRoot":"","sources":["../../src/git/review-window-commits.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,8FAA8F;AAC9F,6FAA6F;AAC7F,4GAA4G;AAC5G,sEAAsE;AACtE,gBAAgB;AAEhB;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAA2B,MAAM,uBAAuB,CAAC;AAuB5G;;;;;GAKG;AACH,MAAM,CAAC,MAAM,wB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AM,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,KAAK,GAAG,CAAC,IAAI,GAAG,GAAG,KAAK;QAAE,OAAO,IAAI,CAAC;IAChG,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,YAAY,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,KAAK,IAAI,GAAG,EAAE,EAAE,GAAG,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE;YACzG,GAAG,EAAE,YAAY,EAAE,GAAG,QAAQ;SAC/B,CAAC,CAAC;QACH,MAAM,IAAI,GAAG,mBAAmB,CAAC,GAAG,CAAC,CAAC;QACtC,OAAO,IAAI,CAAC,MAAM,KAAK,GAAG,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACvD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
|
package/dist/git/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/git/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/git/types.ts"],"names":[],"mappings":"AAaA,OAAO,EAGL,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEtE,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC,eAAe,CAAC,CAAC;AAElE,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kFAAkF;IAClF,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wEAAwE;IACxE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oFAAoF;IACpF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,EAAE,EACd,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,iBAAiB,GAC1B,SAAS,CAGX;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAEjE"}
|
package/dist/git/types.js
CHANGED
|
@@ -1,23 +1,5 @@
|
|
|
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/
|
|
3
|
-
// packages/daemon/src/completion/team-progress/team-progress-measure.test.ts,
|
|
4
|
-
// packages/daemon/src/composition/subsystem-contexts.test.ts,
|
|
5
|
-
// packages/daemon/src/delivery/advance-hold.test.ts,
|
|
6
|
-
// packages/daemon/src/git/focus-integration-sync.test.ts,
|
|
7
|
-
// packages/daemon/src/migrations/concurrent-claim-regression.test.ts,
|
|
8
|
-
// packages/daemon/src/migrations/migration-held-set.test.ts,
|
|
9
|
-
// packages/daemon/src/spawn/integration-reconcile-spawn.test.ts,
|
|
10
|
-
// packages/daemon/src/supervision/team-stall-reapers.test.ts,
|
|
11
|
-
// packages/daemon/src/tower/focus-landed.test.ts,
|
|
12
|
-
// packages/daemon/src/verify/attribution/verification-attribution.test.ts,
|
|
13
|
-
// packages/daemon/src/verify/attribution/verification-baseline-run.test.ts,
|
|
14
|
-
// packages/daemon/src/verify/deterministic-gate/verification-checkout.test.ts,
|
|
15
|
-
// packages/daemon/src/verify/deterministic-gate/verify-checkout-judged-installs.test.ts,
|
|
16
|
-
// packages/daemon/src/verify/deterministic-gate/verify-unprovisioned-worktree.test.ts,
|
|
17
|
-
// packages/daemon/src/verify/engine/verification-commit-sharing.test.ts,
|
|
18
|
-
// packages/daemon/src/verify/gate-config/verification-run-config-source.test.ts,
|
|
19
|
-
// packages/daemon/src/worktree/install-inputs.test.ts,
|
|
20
|
-
// packages/daemon/src/worktree/worktree-package-provisioning.test.ts
|
|
2
|
+
// Pinned by: 21 tests -- run: npm run gen:pinned-by -- --list packages/daemon/src/git/types.ts
|
|
21
3
|
// PINNED-BY-END
|
|
22
4
|
/**
|
|
23
5
|
* Shared types and utilities for the git subsystem.
|
package/dist/git/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/git/types.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/git/types.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,+FAA+F;AAC/F,gBAAgB;AAEhB;;;;;;GAMG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EACL,MAAM,EACN,sBAAsB,GAEvB,MAAM,qBAAqB,CAAC;AAoC7B;;;;;;;GAOG;AACH,MAAM,UAAU,UAAU,CACxB,IAAc,EACd,GAAW,EACX,OAA2B;IAE3B,MAAM,SAAS,GAAG,OAAO,EAAE,SAAS,IAAI,sBAAsB,CAAC;IAC/D,OAAO,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,SAAS,CAAC,CAAC;AACtC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,MAAoB;IACvD,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,SAAS,EAAE,gBAAgB,CAAC,CAAC;AAC5D,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The QA-author prompt: what the pass that writes a focus's UI test packet is
|
|
3
|
+
* told, once its team has finished and the focus waits in its product's QA
|
|
4
|
+
* queue (qa/qa-author-pass.ts runs it).
|
|
5
|
+
*
|
|
6
|
+
* The packet is for a HUMAN who runs it by hand in a browser against the
|
|
7
|
+
* product's QA target, so the prompt asks for UI-facing cases only, each tied
|
|
8
|
+
* to one acceptance criterion quoted verbatim, with a path relative to the QA
|
|
9
|
+
* target's base URL -- or an explicit no-UI-surface marker. On a re-entry after
|
|
10
|
+
* a QA fail it lists EVERY case of the previous packet with the result a
|
|
11
|
+
* person recorded for it (failed, passed, not run) and REQUIRES, for each one
|
|
12
|
+
* whose criterion still applies, a case that quotes that criterion and names
|
|
13
|
+
* the previous case with priorCaseId. The author names the case and nothing
|
|
14
|
+
* more: what the carried case is (a retest, previously passed, needs a run) is
|
|
15
|
+
* marked from the recorded result. Both rules are checked
|
|
16
|
+
* (qa/qa-author-faithfulness.ts, and the edge on the write); an answer that
|
|
17
|
+
* breaks them is re-asked ONCE with buildQaAuthorCorrection appended -- the
|
|
18
|
+
* same text whatever engine runs it.
|
|
19
|
+
*
|
|
20
|
+
* ONE text whatever runs it: the prompt takes no engine, so the two modes
|
|
21
|
+
* differ only in what the model is told it already knows -- resumed (it holds
|
|
22
|
+
* the coding session that built the focus) or fresh (it is handed the delivery
|
|
23
|
+
* summaries, the commit log and the size-capped diff). The output contract
|
|
24
|
+
* (one fenced json block, last in the answer) is parsed by
|
|
25
|
+
* qa/qa-author-output.ts.
|
|
26
|
+
*/
|
|
27
|
+
import { type QaPacketCandidate } from '../queries/qa-packets/qa-packets.js';
|
|
28
|
+
import { type QaAuthorMode } from '../types/qa-packet.js';
|
|
29
|
+
/** The system prompt every QA-author call runs under (a resumed session may keep its recorded one). */
|
|
30
|
+
export declare const QA_AUTHOR_SYSTEM_PROMPT: string;
|
|
31
|
+
/** The heading the prompt opens with -- the anchor tests and logs name it by. */
|
|
32
|
+
export declare const QA_AUTHOR_HEADING = "# WRITE THE UI TEST PACKET FOR THIS FOCUS";
|
|
33
|
+
/** What a fresh pass is handed about the change: the reviewed commit's own delta. */
|
|
34
|
+
export interface QaAuthorFreshContext {
|
|
35
|
+
/** One line per focus commit (`<sha> <subject>`), newest first. */
|
|
36
|
+
commitLog: string;
|
|
37
|
+
/** The focus's diff at the reviewed commit, capped. */
|
|
38
|
+
diff: string;
|
|
39
|
+
/** Whether the diff was cut at its cap. */
|
|
40
|
+
truncated: boolean;
|
|
41
|
+
/** Why the change could not be read in full, or null. */
|
|
42
|
+
note: string | null;
|
|
43
|
+
}
|
|
44
|
+
/** The heading a corrective attempt's addition opens with. */
|
|
45
|
+
export declare const QA_AUTHOR_CORRECTION_HEADING = "## YOUR PREVIOUS ANSWER WAS REFUSED";
|
|
46
|
+
/**
|
|
47
|
+
* What a corrective attempt appends to the prompt: the rules the previous
|
|
48
|
+
* answer broke, one per line, and the instruction to write the whole packet
|
|
49
|
+
* again. Pure; the same text for every engine.
|
|
50
|
+
*/
|
|
51
|
+
export declare function buildQaAuthorCorrection(violations: readonly string[]): string;
|
|
52
|
+
/**
|
|
53
|
+
* The QA-author prompt for one candidate. `reviewedSha` is the commit the
|
|
54
|
+
* packet is pinned to; `fresh` carries the change for a fresh pass (ignored
|
|
55
|
+
* when resumed). Pure: the same inputs give the same text.
|
|
56
|
+
*/
|
|
57
|
+
export declare function buildQaAuthorPrompt(candidate: QaPacketCandidate, mode: QaAuthorMode, reviewedSha: string, fresh?: QaAuthorFreshContext | null): string;
|
|
58
|
+
//# sourceMappingURL=qa-author-section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qa-author-section.d.ts","sourceRoot":"","sources":["../../src/prompt-sections/qa-author-section.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAmB,KAAK,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC9F,OAAO,EAAkC,KAAK,YAAY,EAAqB,MAAM,uBAAuB,CAAC;AAE7G,uGAAuG;AACvG,eAAO,MAAM,uBAAuB,QAGU,CAAC;AAE/C,iFAAiF;AACjF,eAAO,MAAM,iBAAiB,8CAA8C,CAAC;AAE7E,qFAAqF;AACrF,MAAM,WAAW,oBAAoB;IACnC,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,SAAS,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAsJD,8DAA8D;AAC9D,eAAO,MAAM,4BAA4B,wCAAwC,CAAC;AAElF;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAU7E;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,iBAAiB,EAC5B,IAAI,EAAE,YAAY,EAClB,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE,oBAAoB,GAAG,IAAW,GACxC,MAAM,CAkBR"}
|