singularity-forge/src/resources
Mikael Hugo 3895ae2cd3 feat(sf): auto-mode is autonomous — escalations auto-accept by default
Auto is autonomous, so the escalating-task dispatch rule shouldn't halt
the loop. Default: accept the agent's recommendation, record the choice
with `auto-mode: ...` rationale, and let the next dispatch cycle pick up
the carry-forward override. Users can review or override via
`/sf escalate list --all` later.

Set `phases.escalation_auto_accept: false` to keep gsd-2's pause-and-ask
behavior (loop halts until the user runs `/sf escalate resolve`).

- types.ts: add escalation_auto_accept (default true)
- preferences-validation.ts: allowlist + warn on unknown phase keys
- auto-dispatch.ts: rename rule to "auto-accept-or-pause"; on auto-accept
  resolve via resolveEscalation("accept", ...) and return action:"skip"
  so the next cycle re-reads state cleanly
- PREFERENCES.md: surface the toggle with the autonomy rationale
- tests/escalation-auto-accept.test.ts: 4 cases — default accept, explicit
  true, explicit false (preserves pause), non-escalating phase no-op

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 21:36:15 +02:00
..
agents feat: stabilize autonomous workflow system 2026-05-01 20:18:50 +02:00
extensions feat(sf): auto-mode is autonomous — escalations auto-accept by default 2026-05-02 21:36:15 +02:00
skills fix(skills): correct .claude/skills/gh/ → .claude/skills/github-workflows/references/gh/ 2026-05-02 18:42:44 +02:00
workflows fix: stabilize sf auto and subagent routing 2026-04-30 21:55:17 +02:00
SF-WORKFLOW.md sf snapshot: pre-dispatch, uncommitted changes after 46m inactivity 2026-04-30 21:07:36 +02:00
traces.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00