Repository navigation
Expand file tree
/
Copy pathexample_usage.sh
More file actions
executable file
·97 lines (77 loc) · 2.44 KB
/
Copy pathexample_usage.sh
File metadata and controls
executable file
·97 lines (77 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/bin/bash
# Example usage of the Synthesis Pool system
echo "=== SYNTHESIS POOL — Example Usage ==="
echo ""
# Activate virtual environment if it exists
if [ -d "venv" ]; then
source venv/bin/activate
fi
echo "1. Feeding memories to the pool..."
echo ""
# Feed first memory
python pool.py feed \
--date 2024-12-15 \
--source journal \
--raw "Difficult conversation with manager about project scope. Felt overwhelmed and unable to set boundaries." \
--layers "work|self" \
--tags "conflict,boundaries,overwhelm" \
--toxicity 4 \
--nutrient 2
echo ""
# Feed second memory
python pool.py feed \
--date 2024-12-20 \
--source recall \
--raw "Realized I've been saying yes to everything. Pattern of people-pleasing at work." \
--layers "work|self" \
--tags "boundaries,realization,patterns" \
--toxicity 3 \
--nutrient 4
echo ""
# Feed third memory
python pool.py feed \
--date 2024-12-25 \
--source journal \
--raw "Had a breakthrough conversation with therapist about work boundaries. Starting to see the pattern clearly." \
--layers "self|relational" \
--tags "therapy,breakthrough,boundaries,growth" \
--toxicity 2 \
--nutrient 5
echo ""
# Feed fourth memory (positive)
python pool.py feed \
--date 2025-01-05 \
--source journal \
--raw "Successfully said no to extra project. Felt empowered. Manager respected the boundary." \
--layers "work|self" \
--tags "boundaries,success,empowerment" \
--toxicity 1 \
--nutrient 5
echo ""
echo "2. Observing pool state..."
echo ""
python pool.py observe -v
echo ""
echo "3. Querying memories..."
echo ""
python pool.py query --tag boundaries --limit 5
echo ""
echo "4. Harvesting synthesis..."
echo ""
python pool.py harvest \
--type medicine \
--from "mm_001,mm_002,mm_003,mm_004" \
--concentration 4 \
--label "Boundary Framework" \
--description "Understanding that boundaries are not rejection but self-preservation. Pattern of saying yes stems from fear of conflict. Practice: pause before committing, check internal state, respond rather than react." \
--application "Apply in all future work situations. Use as reminder when feeling overwhelmed. Foundation for healthy professional relationships."
echo ""
echo "5. Generating visualizations..."
echo ""
python pool.py viz all
echo ""
echo "=== Example complete! ==="
echo ""
echo "Check the following:"
echo " - data/ directory for CSV files"
echo " - visualizations/ directory for interactive charts"