File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Context Engine — Environment Variables
2+ # Copy to .env and customize. (.env is git-ignored.)
3+
4+ # ── Server ──
5+ CE_PORT = 3847 # HTTP server port (also respects PORT)
6+ CE_ROOT = # Project root (defaults to repo root)
7+ CE_API_KEY = # Bearer token auth (empty = no auth required)
8+
9+ # ── Embeddings (Ollama) ──
10+ OLLAMA_URL = http://127.0.0.1:11434
11+ CE_EMBED_MODEL = nomic-embed-text
12+
13+ # ── MCP HTTP Server ──
14+ MCP_HTTP_HOST = 127.0.0.1
15+ MCP_HTTP_PORT = 3850
16+ MCP_HTTP_TOKEN = # Static bearer token for MCP HTTP (empty = no auth)
17+ MCP_OAUTH_PASSWORD = # OAuth password (takes precedence over MCP_HTTP_TOKEN)
18+ MCP_PUBLIC_URL = # Public URL for OAuth redirect (auto-detected if empty)
19+
20+ # ── MCP Tools (stdio bridge) ──
21+ CE_HOST = 127.0.0.1 # Host when CE runs remotely
22+
23+ # ── Electron Desktop ──
24+ CE_HOT_RELOAD = # Set to "1" to watch UI files for changes
25+ CE_NEW_USER_PROFILE = # Set to "1" for first-run / new-user mode
26+
27+ # ── Benchmark ──
28+ CE_URL = http://127.0.0.1:3847 # Base URL for bench/tokenomics.py
Original file line number Diff line number Diff line change 6363 npm run smoke
6464 npm run test:handoffs
6565 npm run test:projects
66+ npm run test:compiler
67+ npm run test:skills
68+ npm run test:rule-files
69+ npm run test:config
70+ npm run test:http
71+ npm run test:api-endpoints
Original file line number Diff line number Diff line change 7575 - name : Install dependencies
7676 run : npm ci
7777
78+ - name : Run checks and tests
79+ run : |
80+ npm run check
81+ npm run smoke
82+
7883 - name : Build
7984 env :
8085 # GH_TOKEN drives both release creation and asset upload via
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ data/onboarding.json
1010data /dedup.json
1111data /workspaces.json
1212data /modes.json
13+ data /memory.json
14+ data /projects.json
15+ data /rules.json
16+ data /skill-states.json
1317* .log
1418.DS_Store
1519Thumbs.db
Original file line number Diff line number Diff line change 1- # Tokenomics benchmark
1+ # Bench
2+
3+ Benchmarking and measurement tools for Context Engine.
4+
5+ | File | Purpose |
6+ | --------------- | -------------------------------------- |
7+ | ` tokenomics.py ` | Token-efficiency benchmark (see below) |
8+ | ` tasks.json ` | Task corpus used by the benchmark |
9+
10+ ## Tokenomics benchmark
211
312One Python script. Run it; it prints a table. That's the whole tool.
413
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments