Commit graph

2890 commits

Author SHA1 Message Date
Mikael Hugo
0e2edfdebf feat: implement 3 quick wins for SF self-evolution
Quick Win 1: Close Self-Report Feedback Loop [9/10 impact]
- Added self-report-fixer.js module with automatic fix classification
- Pattern-based detection for high-confidence fixes (e.g., prompt rubrics)
- Deduplication and severity-based categorization of reports
- Designed for extension into triage-self-feedback pipeline

Quick Win 2: Activate Continuous Model Learning [8/10 impact]
- Added model-learner.js with ModelPerformanceTracker class
- Per-task-type tracking: success rate, latency, cost, token efficiency
- Auto-demotion for models failing >50% on specific task types
- A/B testing infrastructure for hypothesis testing on low-risk tasks
- Failure analysis with pattern detection (e.g., timeouts, quality issues)
- Storage: .sf/model-performance.json, .sf/model-failure-log.jsonl

Quick Win 3: Automate Knowledge Injection [7/10 impact]
- Added knowledge-injector.js with semantic similarity scoring
- Integrated into auto-prompts.js for execute-task prompts
- queryKnowledge already exists in context-store.js (60% done)
- Enhanced with: semantic matching, confidence filtering, contradiction detection
- Tracks knowledge usage for feedback loop

Integration:
- Modified auto-prompts.js to inject knowledge via knowledgeInjection variable
- Added getKnowledgeInjection helper for graceful degradation
- All new modules pass build check and are in dist/

Status: Core infrastructure in place; ready for integration into dispatch loop.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-06 22:01:37 +02:00
Mikael Hugo
6471e10245 sf snapshot: uncommitted changes after 64m inactivity 2026-05-06 16:28:31 +02:00
Mikael Hugo
a7f245ef1b sf snapshot: pre-dispatch, uncommitted changes after 35m inactivity 2026-05-06 15:24:04 +02:00
Mikael Hugo
d8570d059e sf snapshot: uncommitted changes after 38m inactivity 2026-05-06 14:48:15 +02:00
Mikael Hugo
f655188814 sf snapshot: uncommitted changes after 93m inactivity 2026-05-06 11:37:27 +02:00
Mikael Hugo
a73ea845e7 sf snapshot: uncommitted changes after 61m inactivity 2026-05-06 10:04:20 +02:00
Mikael Hugo
95726c1789 sf snapshot: uncommitted changes after 39m inactivity 2026-05-06 09:02:38 +02:00
Mikael Hugo
2e67b15ff9 sf snapshot: uncommitted changes after 39m inactivity 2026-05-06 08:15:40 +02:00
Mikael Hugo
14d963cb51 sf snapshot: uncommitted changes after 33m inactivity 2026-05-06 07:35:57 +02:00
Mikael Hugo
500a9d1c1d fix: move unit runtime under uok ownership 2026-05-06 07:02:28 +02:00
Mikael Hugo
42c651d106 fix: show verbose prompt traces 2026-05-06 06:45:15 +02:00
Mikael Hugo
a95e2947df fix: reconcile sift warmup observability 2026-05-06 06:22:09 +02:00
Mikael Hugo
76b218762b fix: harden sf autonomous runtime 2026-05-06 06:02:46 +02:00
Mikael Hugo
adf28d69b4 feat: run solver eval from autonomous lifecycle 2026-05-06 04:02:40 +02:00
Mikael Hugo
7a13dd82b1 feat: persist solver eval evidence in db 2026-05-06 03:49:32 +02:00
Mikael Hugo
dc51baa19a feat: add autonomous solver eval command 2026-05-06 03:37:58 +02:00
Mikael Hugo
34140fff38 fix: raise autonomous solver iteration budget 2026-05-06 03:29:05 +02:00
Mikael Hugo
45f6b3f4f4 test: cover solver status line 2026-05-06 03:25:58 +02:00
Mikael Hugo
152da756a1 sf snapshot: uncommitted changes after 61m inactivity 2026-05-06 03:25:43 +02:00
Mikael Hugo
a1fd6cfc05 fix: separate headless transport from autonomous mode 2026-05-06 02:24:15 +02:00
Mikael Hugo
4f3020da21 feat: add uok status command 2026-05-06 02:11:27 +02:00
Mikael Hugo
fbb61026fc fix: stabilize uok ledger and steering 2026-05-06 01:47:21 +02:00
Mikael Hugo
cfde65fdd5 test: strengthen uok lifecycle parity contracts 2026-05-06 01:12:49 +02:00
Mikael Hugo
fec9292104 fix: stabilize uok parity and startup widgets 2026-05-06 00:56:55 +02:00
Mikael Hugo
3960e42b26 docs: align sf purpose doctrine and docs 2026-05-06 00:38:36 +02:00
Mikael Hugo
7224460d47 feat: write structured roadmap projections 2026-05-05 23:08:03 +02:00
Mikael Hugo
f252d1d342 fix: keep doctor focused on actionable state 2026-05-05 22:57:26 +02:00
Mikael Hugo
969b0f3295 fix: reduce stale doctor warnings 2026-05-05 22:46:13 +02:00
Mikael Hugo
f7d067e439 feat: add sf memory status and backfill checks 2026-05-05 22:27:33 +02:00
Mikael Hugo
305b4869ac fix: wire sf memory to llm gateway aliases 2026-05-05 22:10:54 +02:00
Mikael Hugo
d75ebfe7c3 sf snapshot: uncommitted changes after 43m inactivity 2026-05-05 21:39:56 +02:00
Mikael Hugo
54bfd68b01 test: avoid lock fixture secret-scan noise 2026-05-05 20:56:29 +02:00
Mikael Hugo
ffd2512906 fix: enforce one interactive sf per repo 2026-05-05 20:55:53 +02:00
Mikael Hugo
3650cc3c41 fix: keep notification backlog actionable 2026-05-05 20:45:47 +02:00
Mikael Hugo
8c0c1402c6 fix: silence context7 free-tier startup noise 2026-05-05 20:33:50 +02:00
Mikael Hugo
22fa995500 fix: avoid lockfile churn during doctor install 2026-05-05 20:24:30 +02:00
Mikael Hugo
8fd48a5ad6 fix: make doctor repair sf form drift 2026-05-05 20:08:02 +02:00
Mikael Hugo
87d49abd87 fix: stabilize sf startup and state linting 2026-05-05 19:46:08 +02:00
Mikael Hugo
46db1e95ef refactor: remove legacy autonomous aliases 2026-05-05 18:47:50 +02:00
Mikael Hugo
180f8e131e fix: align scaffold sync and gemini listings 2026-05-05 18:23:48 +02:00
Mikael Hugo
66e8265320 fix: align provider route selection 2026-05-05 17:37:01 +02:00
Mikael Hugo
c4ee341852 fix: discover xiaomi live models 2026-05-05 17:11:24 +02:00
Mikael Hugo
6fee7e60c8 fix: warm discovery backed providers 2026-05-05 17:05:44 +02:00
Mikael Hugo
c6fe3b2b79 fix: restrict visible aggregate providers 2026-05-05 16:50:05 +02:00
Mikael Hugo
aeea733cd6 fix: expose sf-scoped providers 2026-05-05 16:42:36 +02:00
Mikael Hugo
ab6cad4c84 fix: clean provider surfaces and core build 2026-05-05 16:31:53 +02:00
Mikael Hugo
4c98cb8c33 fix: make autonomous mode canonical 2026-05-05 15:42:10 +02:00
Mikael Hugo
55e7dd0e02 fix: clean generated harness residue 2026-05-05 15:04:34 +02:00
Mikael Hugo
2d9c2018af chore: clean repo quality gates 2026-05-05 14:55:11 +02:00
Mikael Hugo
00a118ea71 chore: commit current workspace state 2026-05-05 14:46:18 +02:00