Document the three-phase integration of SF memory system with UOK: Phase 1: Unit outcome recording (recordUnitOutcomeInMemory) - Records success/failure patterns with 0.9/0.5 confidence - Fire-and-forget async, never blocks execution Phase 2: Dispatch ranking enhancement (enhanceUnitRankingWithMemory) - Queries memory for similar patterns - Boosts matching candidates by up to 15% (conservative limit) - Deterministic embeddings ensure reproducible ranking Phase 3: Gate context enrichment (enrichGateResultWithMemory) - Diagnostic only; never changes gate pass/fail logic - Helps operators understand recurring issues All memory operations gracefully degrade if DB unavailable. 56 test cases validate integration across all phases. Relates to ADR-0075 (UOK gates), ADR-008 (SF tools). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| 0000-purpose-to-software-compiler.md | ||
| 0001-promote-only-sf-state.md | ||
| 0002-sf-schedule-pull-based.md | ||
| 0075-uok-gate-architecture.md | ||
| 0076-uok-memory-integration.md | ||
| README.md | ||
docs/adr/
Accepted architecture decision records (ADRs).
Start with ADR-0000: SF Is a Purpose-to-Software Compiler. It is the foundational product/architecture decision; later ADRs refine pieces of that contract.
What belongs here
- Final, accepted architectural decisions that affect the project.
- Decisions that have been promoted from
.sf/DECISIONS.md.
What does NOT belong here
- Draft decisions still under discussion.
- Implementation plans (use
docs/plans/). - Specifications (use
docs/specs/).
Naming convention
0001-<slug>.md — zero-padded four digits, auto-numbered by sf plan promote --to docs/adr.
0000-* is reserved for foundational doctrine that later ADRs depend on.