Skip to content

Commit c5aad9a

Browse files
committed
chore: update .gitignore (debug scripts, .env, logs, nested repo) + README (Why Engine, 268 tests)
1 parent cb55bc1 commit c5aad9a

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22
coupons.txt
33
weekly_digest_*.md
44

5+
# Debug / scratch scripts
6+
_debug*.py
7+
debug_*.py
8+
scratch_*.py
9+
10+
# Secrets & environment
11+
.env
12+
.env.*
13+
*.key
14+
15+
# Logs & temp
16+
*.log
17+
*.tmp
18+
tmp/
19+
20+
# Nested duplicate repo (accidental clone)
21+
Cortex-Thinking-Engine/
22+
523
# Mac OS
624
.DS_Store*
725
._*

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ open CortexOSApp/CortexOS.xcodeproj
6363
| **Decision Engine** | Priorities, what to ignore, what changed since yesterday |
6464
| **Hybrid Retrieval** | Metadata filters → keyword match → recency weighting |
6565
| **Self-Improvement** | Reading history enriches context → scoring improves over time |
66+
| **Why Engine** | Per-item evaluation: why it matters, project impact, contradiction detection, recommended action |
6667
| **Offline-First** | All scoring and focus generation are rule-based; no API key required |
6768
| **Spaced Repetition** | Leitner-style review intervals (1, 3, 7, 14, 30 days) |
6869

@@ -83,6 +84,7 @@ Server runs on **port 8420**. Key endpoints:
8384
| `GET` | `/context/goals` | Active goals (agent context API) |
8485
| `GET` | `/context/signals` | Detected signals |
8586
| `POST` | `/context/retrieve` | Hybrid search across notes + insights |
87+
| `POST` | `/why/evaluate` | Per-item decision: why it matters, impact, action, ignore/watch |
8688

8789
Full interactive docs at **http://localhost:8420/docs**.
8890

@@ -105,7 +107,7 @@ Configure model in `~/.cortexos/config.json`:
105107

106108
```bash
107109
make test # all Python + Swift tests
108-
make test-python # Python only (224 tests)
110+
make test-python # Python only (268 tests)
109111
make test-swift # Swift only (47 tests)
110112
make lint # ruff + security
111113
```

0 commit comments

Comments
 (0)