singularity-forge/src
Mikael Hugo 86026c9e4f feat(sf): final UOK parity pass + secondary agent sweep
Evidence-collector (matches gsd2 exactly):
- recordToolCall now takes toolCallId as first arg (parallel-call fix)
- recordToolResult matches by toolCallId, not last-unresolved heuristic
- saveEvidenceToDisk now atomic tmp-rename JSON (not appendFileSync JSONL)
- clearEvidenceFromDisk added; resetEvidence takes no args
- stricter isEvidenceArray validator

auto/loop.ts:
- PID guard in loadStuckState prevents cross-test state pollution
- pid field added to saveStuckState payload
- saveCustomVerifyRetryCounts uses atomicWriteSync (crash-safe)

auto/run-unit.ts:
- chdir failure marked isTransient:true (dir may exist on retry)

auto/session.ts:
- canAskUser field added with reset() support

auto/phases.ts:
- currentUnit = null in closeoutAndStop (no stale refs after stop)

bootstrap/provider-error-resume.ts:
- resetTransientRetryState injectable via ProviderErrorResumeDeps

Secondary sweep (worktree, workflow, token-counter, verification-gate,
activity-log, doctor-environment, json-persistence, scaffold-keeper tests)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 02:17:21 +02:00
..
resources feat(sf): final UOK parity pass + secondary agent sweep 2026-05-02 02:17:21 +02:00
tests feat: stabilize autonomous workflow system 2026-05-01 20:18:50 +02:00
web feat: stabilize autonomous workflow system 2026-05-01 20:18:50 +02:00
app-paths.ts feat: introduce repo-vcs skill and add JSDoc annotations across core modules 2026-05-01 21:36:32 +02:00
bundled-extension-paths.ts feat: introduce repo-vcs skill and add JSDoc annotations across core modules 2026-05-01 21:36:32 +02:00
bundled-resource-path.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
claude-cli-check.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
cli-logs.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
cli-stats.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
cli-status.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
cli-web-branch.ts feat: stabilize autonomous workflow system 2026-05-01 20:18:50 +02:00
cli.ts feat: stabilize autonomous workflow system 2026-05-01 20:18:50 +02:00
errors.ts feat: introduce repo-vcs skill and add JSDoc annotations across core modules 2026-05-01 21:36:32 +02:00
extension-discovery.ts feat: introduce repo-vcs skill and add JSDoc annotations across core modules 2026-05-01 21:36:32 +02:00
extension-registry.ts feat: introduce repo-vcs skill and add JSDoc annotations across core modules 2026-05-01 21:36:32 +02:00
headless-answers.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
headless-context.ts sf snapshot: pre-dispatch, uncommitted changes after 53m inactivity 2026-04-30 19:10:38 +02:00
headless-events.ts feat(sf): bug-hunt fixes, UOK phase hardening, model policy, record-promoter 2026-05-02 02:03:55 +02:00
headless-query.ts Harden SF model routing and harness contracts 2026-04-30 07:41:24 +02:00
headless-types.ts feat: structured notification event model with metadata-first classification 2026-05-01 23:07:57 +02:00
headless-ui.ts feat: stabilize autonomous workflow system 2026-05-01 20:18:50 +02:00
headless.ts feat(sf): final UOK parity pass + secondary agent sweep 2026-05-02 02:17:21 +02:00
help-text.ts feat: stabilize autonomous workflow system 2026-05-01 20:18:50 +02:00
loader.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
logo.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
mcp-server.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
models-resolver.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
onboarding.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
pi-migration.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
project-sessions.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
provider-migrations.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
remote-questions-config.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
resource-loader.ts sf snapshot: pre-dispatch, uncommitted changes after 53m inactivity 2026-04-30 19:10:38 +02:00
rtk.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
security-overrides.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
startup-model-validation.ts feat: Replaced bare error writes in cli.ts, headless.ts, and startup-mo… 2026-04-30 15:43:29 +02:00
startup-timings.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
tool-bootstrap.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
traces.ts feat: introduce repo-vcs skill and add JSDoc annotations across core modules 2026-05-01 21:36:32 +02:00
update-check.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
update-cmd.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
web-mode.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
welcome-screen.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
wizard.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
worktree-cli.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
worktree-name-gen.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00