@@ -6,8 +6,99 @@ labels: [aiden, memory, context-spine, pipeline, lens]
66
77# Soulfield OS — Project Memory
88
9- (placeholder) Project memory content to be added here .
9+ This document tracks the evolution of ** Soulfield OS ** and its assistant (Aiden), with structured notes for future planning and Obsidian use .
1010
11+ ---
12+
13+ ## ✅ Progress So Far
14+
15+ ### Lens System
16+ - Started with ** TruthLens** only.
17+ - Expanded into ** stacked lenses** (Truth, Causality, Extrapolation, Contradiction, Rights, Structure).
18+ - Built YAML ** pipeline templates** for Research, Strategy, Execution, Analytics.
19+ - Defined ** Lens Trail certificates** for auditability.
20+
21+ ### Orchestration & CLI
22+ - Added ** ` sf ` commands** (research, specify, index, apply, inspect).
23+ - New ** context commands** :
24+ - ` sf context:test ` → one-off heartbeat + calendar sync.
25+ - ` sf context:query ` → semantic/tag mode queries.
26+ - ` sf context:backfill ` → embed raw heartbeats.
27+ - CLI doc updates + quick reference guide.
28+
29+ ### Context Spine
30+ - ** Heartbeat (15m)** → stores time markers in Pinecone.
31+ - ** Calendar (hourly)** → Google Calendar sync (with OAuth2 refresh token).
32+ - ** Retention** → prunes old heartbeats/events beyond ` CONTEXT_RETENTION_DAYS ` .
33+ - ** Observability** → counters + logs for embeddings, events, Pinecone ops.
34+
35+ ### Embeddings & Memory
36+ - Local embeddings via ` @xenova/transformers ` (MiniLM-L6-v2, 384-dim).
37+ - Optional OpenAI fallback (disabled due to quota issues).
38+ - Pinecone adapter supports ` embedAndUpsert ` and ` upsertRaw ` .
39+ - Confirmed heartbeat + calendar items queryable.
40+
41+ ### Development Flow
42+ - Repo under ** GitLens control** (feature branch: ` feat/context-spine-embeddings ` ).
43+ - Direct push to main blocked (PRs required).
44+ - Codex assists with Git (merge/rebase/PR creation).
45+
46+ ### Example Funnel Run
47+ - Query: * “Should we launch a subscription SaaS product for SMEs in the EU next quarter?”*
48+ - Output: full funnel with TruthLens, CausalityLens, ContradictionLens, ExtrapolationLens, RightsLens, StructureLens.
49+ - Consensus: ** delay full rollout → pilot in one market first** .
50+
51+ ### Policy & Guardrails
52+ - Drafted ** hallucination mitigation policy** (mark unknowns, block simulation).
53+ - ** Non-simulation contract** = no fake identities, no “oracle” mode.
54+
55+ ---
56+
57+ ## 🔍 Open Questions
58+ 1 . ** MCP Migration**
59+ - Adopt MCP architecture early or keep current orchestrator?
60+ - Personal use: CLI MCP agent for time management + business funnels.
61+
62+ 2 . ** Memory Ingestion Strategy**
63+ - How should Aiden receive files (code, docs, ideas, strategies)?
64+ - Balance between ` .md ` (Obsidian) and ` .json ` (structured Pinecone).
65+
66+ 3 . ** UI/UX Layer**
67+ - Visual frontend for ` sf ` commands + funnel outputs.
68+ - Integration with Obsidian for knowledge navigation.
69+
70+ 4 . ** Finance Agent**
71+ - Separate agent for trading (stocks, futures, crypto).
72+ - Needs ** ReasoningLens** to separate gambling impulses from strategy.
73+ - Enforce strict risk parameters (e.g., 1:2 risk/reward).
74+
75+ ---
76+
77+ ## 🚀 Next Steps
78+
79+ ### Technical
80+ - [ ] PR: Merge ` feat/context-spine-embeddings ` into main.
81+ - [ ] Add ** ReasoningLens** (risk analysis, cost/benefit).
82+ - [ ] Expand ` sf context:query ` to support ** calendar planning** .
83+ - [ ] Explore MCP planning doc for future migration.
84+
85+ ### Workflow
86+ - [ ] Plan ** Obsidian ↔ Aiden** connection for ` .md ` + ` .json ` sync.
87+ - [ ] Document ** memory ingestion flow** (manual file upload vs. auto indexing).
88+ - [ ] Draft ** finance agent spec** (inputs, lenses, constraints).
89+
90+ ### Personal
91+ - [ ] Use calendar blocks for time management between projects.
92+ - [ ] Test Aiden with daily task planning (via heartbeats + calendar).
93+ - [ ] Evaluate trading strategies to feed into finance agent later.
94+
95+ ---
96+
97+ ## 📌 One-Liner
98+ Soulfield OS = ** orchestration hub** .
99+ Lenses = ** filters of trust + reasoning** .
100+ Aiden = ** memory + execution assistant** .
101+ Together → * reliable, structured AI for business and beyond* .
11102
12103## 🔗 Cross-links
13104- [[ ../docs/Soulfield-OS—Project-Memory.md]]
0 commit comments