singularity-forge/src
Mikael Hugo 6a2c61d5ee feat(halt-self-feedback): M003 S03 — HaltWatchdog self-feedback integration
T01: Added integration test auto-halt-self-feedback.test.mjs that proves:
  - HaltWatchdog.check() creates a self-feedback DB entry with
    kind=runaway-loop:idle-halt, severity=high, blocking=true
  - Markdown projection (.sf/SELF-FEEDBACK.md) is regenerated
  - Deduplication works (one entry per idle period)
  - New heartbeat resets and creates a new entry for the next idle period

T02: Enhanced evidence string to include elapsedMs, iteration, and
thresholdMs explicitly (R003 actionable context requirement).

Tests: 36/36 pass across auto-halt-self-feedback,
auto-halt-watchdog-notify, and self-feedback-db suites.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-15 18:19:39 +02:00
..
resources feat(halt-self-feedback): M003 S03 — HaltWatchdog self-feedback integration 2026-05-15 18:19:39 +02:00
tests feat(headless): surface memory auth pause 2026-05-15 18:16:08 +02:00
web feat(notifications): tag remaining auto/loop/register-hooks notices + trace-writer 2026-05-10 20:14:22 +02:00
app-paths.ts sf snapshot: uncommitted changes after 93m inactivity 2026-05-06 11:37:27 +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-key.ts feat(cli): add sf key subcommand for auth.json management 2026-05-15 16:37:04 +02:00
cli-logs.ts sf snapshot: uncommitted changes after 93m inactivity 2026-05-06 11:37:27 +02:00
cli-stats.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
cli-status.ts feat(notifications): NOTICE_KIND enum, schema v2 dedup, sf-db cleanup 2026-05-10 20:13:58 +02:00
cli-web-branch.ts fix: make autonomous mode canonical 2026-05-05 15:42:10 +02:00
cli.ts feat(cli): add sf key subcommand for auth.json management 2026-05-15 16:37:04 +02:00
env.ts fix(env): align SF_PERMISSION_LEVEL enum with permission-profile values 2026-05-14 21:11:36 +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 fix: consolidate extensions into sf, migrate kernel.ts, fix test suite 2026-05-11 02:40:52 +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 refactor: rename pi-* packages to forge-native names (Phase 1) 2026-05-10 11:28:01 +02:00
headless-context.ts refactor: align agent resource overlays 2026-05-14 19:32:41 +02:00
headless-events.ts fix(headless): do not restart graceful child exits 2026-05-15 07:25:06 +02:00
headless-feedback.ts feat(memory-embeddings): read SF_LLM_GATEWAY_KEY from env as auth.json fallback 2026-05-15 17:13:40 +02:00
headless-import-backlog.ts sf snapshot: uncommitted changes after 49m inactivity 2026-05-12 16:45:04 +02:00
headless-mark-state.ts feat(memory): add debug logging to memory extraction pipeline 2026-05-15 16:09:36 +02:00
headless-query.ts feat(headless): surface memory auth pause 2026-05-15 18:16:08 +02:00
headless-reflect.ts refactor(reflect): route reflection-pass through loadPrompt in extension 2026-05-14 06:20:38 +02:00
headless-status.ts fix(headless): bypass rpc for status 2026-05-15 17:32:21 +02:00
headless-triage.ts fix(triage): --run routes through runTriageApply{dryRun:true} via SF router 2026-05-15 09:20:43 +02:00
headless-types.ts feat(notifications): NOTICE_KIND enum, schema v2 dedup, sf-db cleanup 2026-05-10 20:13:58 +02:00
headless-ui.ts refactor: rename pi-* packages to forge-native names (Phase 1) 2026-05-10 11:28:01 +02:00
headless-uok-status.ts fix(uok-status): surface manualAttention bucket in status uok output 2026-05-14 18:46:28 +02:00
headless-usage.ts feat(headless,gemini-cli): add sf headless usage + unify gemini quota path 2026-05-14 03:42:53 +02:00
headless.ts fix(headless): bypass rpc for status 2026-05-15 17:32:21 +02:00
help-text.ts feat(memory-embeddings): read SF_LLM_GATEWAY_KEY from env as auth.json fallback 2026-05-15 17:13:40 +02:00
interactive-session-lock.ts fix: enforce one interactive sf per repo 2026-05-05 20:55:53 +02:00
loader.ts fix(lint): reformat 6 files touched during web dep upgrade 2026-05-10 12:10:10 +02:00
logger.ts refactor: rename pi-* packages to forge-native names (Phase 1) 2026-05-10 11:28:01 +02:00
logo.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 refactor: rename pi-* packages to forge-native names (Phase 1) 2026-05-10 11:28:01 +02:00
pi-migration.ts refactor: rename pi-* packages to forge-native names (Phase 1) 2026-05-10 11:28:01 +02:00
project-sessions.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
provider-migrations.ts refactor: rename pi-* packages to forge-native names (Phase 1) 2026-05-10 11:28:01 +02:00
remote-questions-config.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
resource-loader.ts fix: repair headless runtime self-healing 2026-05-15 03:33:29 +02:00
rtk.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00
security-overrides.ts refactor: rename pi-* packages to forge-native names (Phase 1) 2026-05-10 11:28:01 +02:00
startup-model-validation.ts chore: commit current workspace state 2026-05-05 14:46:18 +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 sf snapshot: uncommitted changes after 49m inactivity 2026-05-08 01:07:24 +02:00
update-check.ts fix: clean provider surfaces and core build 2026-05-05 16:31:53 +02:00
update-cmd.ts fix: clean provider surfaces and core build 2026-05-05 16:31:53 +02:00
web-mode.ts fix(sf): recover model routes and self-feedback 2026-05-02 22:07:10 +02:00
welcome-screen.ts fix: update test snapshots for queryInstruction and complete /sf prefix Phase 2 deprecation 2026-05-09 00:17:47 +02:00
wizard.ts refactor: rename pi-* packages to forge-native names (Phase 1) 2026-05-10 11:28:01 +02:00
worktree-cli.ts sf snapshot: uncommitted changes after 43m inactivity 2026-05-05 21:39:56 +02:00
worktree-name-gen.ts batch: snapshot of in-flight v2 work 2026-04-29 12:42:31 +02:00