refactor: rename swift → cortex in code and documentation
Complete rename of "swift" terminology to "cortex" across the codebase: Code Changes: - Rename directories: lib/swift → lib/cortex, components/swift → components/cortex - Rename API routes: /api/swift/* → /api/cortex/* - Rename page routes: /epd/swift → /epd/cortex - Rename store: swift-store.ts → cortex-store.ts Type Renames: - SwiftIntent → CortexIntent - SwiftStore → CortexStore - useSwiftStore → useCortexStore - SwiftContext → CortexContext - useSwiftVoice → useCortexVoice Documentation Updates (docs/intent/): - Safety Net → Nudge (Layer 3 rename) - SafetySuggestion → NudgeSuggestion - evaluateSafetyNet → evaluateNudge - SWIFT_* feature flags → CORTEX_* - All path references updated to match new structure Files affected: 47 files, ~700 lines changed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ We vervangen de simpele `Classifier` door een slimmere `Cortex`.
|
||||
* **Nieuwe capability: Entity Disambiguation.**
|
||||
* Snap dat "Jan" verwijst naar de patiënt die ik *vandaaag* in mijn agenda heb.
|
||||
|
||||
### Layer 3: The Safety Net (Contextual Logic)
|
||||
### Layer 3: The Nudge (Contextual Logic)
|
||||
* **Wat:** Een business logic laag die *na* de intent draait.
|
||||
* **Functie:** Proactive Suggestions.
|
||||
* *Trigger:* Intent `CreateWoundCareNote` 'completed'.
|
||||
@@ -81,6 +81,6 @@ graph TD
|
||||
Plan --> Action1["Action A"]
|
||||
Plan --> Action2["Action B"]
|
||||
|
||||
Action1 --> Safety["Layer 3: Safety Net"]
|
||||
Action1 --> Safety["Layer 3: Nudge"]
|
||||
Safety -->|Trigger Found| Suggestion["Suggest Follow-up"]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user