Mikael Hugo
702ec3fc0e
refactor(sf): rename guidance files TASTE.md→STYLE.md, ANTI-GOALS.md→NON-GOALS.md
...
More self-explanatory names. No behavioral change — same files, same purpose.
- .sf/TASTE.md → .sf/STYLE.md (# Taste → # Style)
- .sf/ANTI-GOALS.md → .sf/NON-GOALS.md (# Anti-goals → # Non-goals)
- All code references updated: auto-bootstrap-context, system-context,
gitignore, milestone-framing-check, scaffold-constants, spec-projections
- Section headings injected into agent context updated to match
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-10 21:28:31 +02:00
Mikael Hugo
ce13017519
chore(.sf): update PROJECT.md — DB healthy, S01+S02 complete, S03 next
...
- Remove stale BLOCKED/corrupted-DB claim
- Mark M001-3hf5k0 complete, reflect S01+S02 done in M001-6377a4
- Clarify S03 has T02-T04 pending (verification evidence work)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-10 20:49:08 +02:00
Mikael Hugo
d33e30e885
feat(notifications): NOTICE_KIND enum, schema v2 dedup, sf-db cleanup
...
- notification-store: schema v2 — repeatCount/lastTs merge for non-blocking
notices; NOTICE_KIND enum (SYSTEM_NOTICE, TOOL_NOTICE, BLOCKING_NOTICE,
USER_VISIBLE) for renderer classification without message parsing
- sf-db: remove gate_runs and audit_events tables (replaced by uok audit.js
and trace-writer); schema reduced by ~370 lines
- notify-interceptor: tag auto-mode system notices with NOTICE_KIND.SYSTEM_NOTICE
- auto-prompts, guided-flow, system-context: use NOTICE_KIND on emit calls
- cli-status: expanded headless status surface + test coverage
- headless-types: new status fields
- Makefile/justfile: dev workflow improvements
- record-promoter, requirement-promoter: minor cleanup
- sf-db-migration tests: updated for dropped tables
- uok-gate-runner, uok-metrics, uok-outcome, uok-status tests: updated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-10 20:13:58 +02:00
Mikael Hugo
3ffd882c8c
sf snapshot: uncommitted changes after 56m inactivity
2026-05-10 17:16:30 +02:00
Mikael Hugo
924383b6f7
sf snapshot: uncommitted changes after 197m inactivity
2026-05-10 15:59:33 +02:00
Mikael Hugo
02a4339a51
refactor: rename pi-* packages to forge-native names (Phase 1)
...
Rename all four packages/pi-* directories to forge-native names,
stripping the 'pi' identity and establishing forge's own:
- packages/pi-coding-agent → packages/coding-agent
- packages/pi-ai → packages/ai
- packages/pi-agent-core → packages/agent-core
- packages/pi-tui → packages/tui
Package names updated:
- @singularity-forge/pi-coding-agent → @singularity-forge/coding-agent
- @singularity-forge/pi-ai → @singularity-forge/ai
- @singularity-forge/pi-agent-core → @singularity-forge/agent-core
- @singularity-forge/pi-tui → @singularity-forge/tui
All import references, bare string references, path references,
internal variable names (_bundledPi*), and dist files updated.
@mariozechner/pi-* third-party compat aliases preserved.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-10 11:28:01 +02:00
Mikael Hugo
b2bcb922de
sf snapshot: uncommitted changes after 37m inactivity
2026-05-10 09:56:56 +02:00
Mikael Hugo
7e8e3aa846
sf snapshot: pre-dispatch, uncommitted changes after 30m inactivity
2026-05-10 09:19:51 +02:00
Mikael Hugo
529138db9a
sf snapshot: uncommitted changes after 33m inactivity
2026-05-10 07:54:07 +02:00
Mikael Hugo
20c0d74106
sf snapshot: pre-dispatch, uncommitted changes after 31m inactivity
2026-05-10 06:26:32 +02:00
Mikael Hugo
074dab5644
sf snapshot: uncommitted changes after 59m inactivity
2026-05-10 05:55:06 +02:00
Mikael Hugo
be785ea13f
fix(tui): restore auto mode bottom banner
...
Remove setFooter(hideFooter) calls in auto-start.js and auto.js that were
overriding the sf-tui footer with a near-invisible stub. The sf-tui footer
already checks isAutoActive() and routes to renderAutoFooter — no override
needed. Also remove now-unused hideFooter import from auto.js.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-10 04:33:54 +02:00
Mikael Hugo
32d2faac50
chore: update metrics db wal/shm state
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-10 04:29:28 +02:00
Mikael Hugo
01d58c570d
sf snapshot: uncommitted changes after 36m inactivity
2026-05-10 04:27:43 +02:00
Mikael Hugo
6b7d327672
sf snapshot: uncommitted changes after 30m inactivity
2026-05-10 03:21:24 +02:00
Mikael Hugo
a3f2479a4c
fix: remove stale M001/M002 milestone dirs; fix dispatch-guard circular dep; fix telemetry normalization
...
- Remove stale .sf/milestones/M001/ and M002/ (not in DB, were blocking dispatch)
- dispatch-guard.js: import findMilestoneIds from milestone-ids.js directly (not
via guided-flow.js, which is in the circular-dep cluster)
- auto.js: normalize 'Cannot dispatch' → prior-slice-blocker, 'SF resources updated'
→ resources-stale, 'Stuck:' → stuck in telemetry (was silently bucketing as 'other')
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-10 02:12:13 +02:00
Mikael Hugo
15185c2e7d
sf snapshot: uncommitted changes after 60m inactivity
2026-05-10 01:29:08 +02:00
Mikael Hugo
f66555456f
sf snapshot: uncommitted changes after 72m inactivity
2026-05-10 00:28:55 +02:00
Mikael Hugo
6f174cabc1
sf snapshot: uncommitted changes after 59m inactivity
2026-05-09 23:16:14 +02:00
Mikael Hugo
5065701a31
sf snapshot: uncommitted changes after 31m inactivity
2026-05-09 21:41:08 +02:00
Mikael Hugo
8432b626c2
sf snapshot: uncommitted changes after 34m inactivity
2026-05-09 19:40:31 +02:00
Mikael Hugo
9875812c1b
sf snapshot: uncommitted changes after 131m inactivity
2026-05-09 02:53:47 +02:00
Mikael Hugo
7287490cfd
fix: enhance missing-checkpoint repair with better low-confidence guidance
...
- Add explicit low-confidence reconstruction guidance for no-transcript cases
- Clarify when to use outcome='decide' when confidence < 0.98
- Fix typo in repair prompt ('what was was expected' -> 'what was expected')
- Strengthen final human-acceptance-gate guidance to prefer outcome='decide'
- Addresses solver-missing-checkpoint self-feedback entry acceptance criteria
Resolves: sf-mowykewh-3ehn5p
2026-05-08 15:47:00 +02:00
Mikael Hugo
89677b7e9b
sf snapshot: uncommitted changes after 110m inactivity
2026-05-08 00:17:47 +02:00
Mikael Hugo
deeb4dbd4e
sf snapshot: uncommitted changes after 61m inactivity
2026-05-07 16:39:39 +02:00
Mikael Hugo
4f217cc88c
docs: promote sf state guidance
2026-05-07 03:59:38 +02:00
Mikael Hugo
a14cd0df29
chore: ignore generated sf eval outputs
2026-05-07 03:57:08 +02:00
Mikael Hugo
14c59a7583
Phase 3: Property-based FSM tests (17 passing tests)
...
- Created src/resources/extensions/sf/tests/phases-fsm.test.ts
- 17 comprehensive property-based tests using fast-check
- FSM invariants verified: terminal states, no invalid transitions, dispatch termination
- State transition correctness validated for all paths (pending→running→done, etc.)
- Performance tests confirm sub-1s processing for 500+ concurrent units
- Tests confirm BLOCKED state is non-terminal (can retry after unblock)
- All tests passing ✅
Phase 3 completes test coverage roadmap: 40% → 60%+ coverage target
- Phase 1: 48 tests (metrics + triage) ✓
- Phase 2: 31 tests (crash recovery) ✓
- Phase 3: 17 tests (property-based FSM) ✓
Total this session: 104 new tests, all passing
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-07 01:01:04 +02:00
Mikael Hugo
fec30b8278
chore: init sf
2026-05-06 23:03:20 +02:00