@exaudeus/workrail 3.73.0 → 3.73.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -176,23 +176,12 @@ function buildSuccessOutcome(args) {
176
176
  const repoRoot = readObservation(truth.events, 'repo_root');
177
177
  const startGitSha = readObservation(truth.events, 'git_head_sha');
178
178
  const gitBranch = readObservation(truth.events, 'git_branch');
179
- let agentCommitShas = [];
180
- for (const e of truth.events) {
181
- if (e.kind !== 'context_set')
182
- continue;
183
- const ctx = e.data['context'];
184
- if (ctx && typeof ctx === 'object' && !Array.isArray(ctx)) {
185
- const shas = ctx['metrics_commit_shas'];
186
- if (Array.isArray(shas) && shas.every(s => typeof s === 'string')) {
187
- agentCommitShas = shas;
188
- }
189
- }
190
- }
191
179
  const firstTs = truth.events[0]?.timestampMs;
192
180
  const lastTs = truth.events[truth.events.length - 1]?.timestampMs;
193
181
  const durationMs = (firstTs !== undefined && lastTs !== undefined) ? (lastTs - firstTs) : undefined;
194
182
  return neverthrow_1.ResultAsync.fromPromise(resolveEndGitSha(repoRoot), (e) => ({ kind: 'advance_apply_failed', message: String(e) })).andThen((endGitSha) => {
195
- const captureConfidence = agentCommitShas.length > 0 ? 'high' : 'none';
183
+ const agentCommitShas = [];
184
+ const captureConfidence = 'none';
196
185
  extraEventsToAppend.push((0, v2_advance_events_js_1.buildRunCompletedEvent)({
197
186
  sessionId: String(sessionId),
198
187
  runId: String(runId),