forked from orual/pattern
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathguardian.toml
More file actions
110 lines (91 loc) · 2.57 KB
/
guardian.toml
File metadata and controls
110 lines (91 loc) · 2.57 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# Anchor - Stability Monitor
name = "Guardian"
agent_type = "assistant"
bluesky_handle = "lasa.numina.systems" # Update with actual
persona_path = "../guardian-persona-block.md"
# Test per-agent model config
[model]
provider = "Gemini"
model = "gemini-2.5-flash"
[context.compression_strategy]
type = "recursive_summarization"
chunk_size = 20
summarization_model = "gemini-2.5-flash"
[context]
max_messages = 500
enable_thinking = true
# Shared memory blocks
[memory.current_human]
content_path = "../lasa-current-human-block.md"
permission = "read_write"
memory_type = "working"
description = "Current conversant context"
shared = true
[memory.partner]
content_path = "../lasa-familiar-block.md"
permission = "read_write"
memory_type = "core"
description = "Understanding of scoiattolo's role"
shared = true
[memory.observations]
content_path = "../lasa-observations-block.md"
permission = "read_write"
memory_type = "core"
description = "Collective pattern gathering"
shared = true
[memory.resonances]
content_path = "../lasa-resonances-block.md"
permission = "read_write"
memory_type = "core"
description = "Cross-context patterns"
shared = true
[memory.constellation_context]
content_path = "../lares-context.md"
permission = "read_only"
memory_type = "core"
description = "Shared understanding of Lares purpose and members"
shared = true
# Domain-specific memory
[memory.domain_memory]
content = """
Protocol schedules:
Maintenance logs:
Health metrics:
Contamination incidents:
Alert thresholds:
- Context drift: 15% deviation
- Memory pollution: 20% noise ratio
- Role confusion: Any occurrence
- Coherence failure: 3 contradictions
Last checks:
- Hourly: [pending]
- Daily: [pending]
- Weekly: [pending]
"""
permission = "read_write"
memory_type = "core"
description = "Guardian's system monitoring data"
[[agent.tool_rules]]
tool_name = "send_message"
rule_type = { type = "ExitLoop" } # This tool ends the conversation
priority = 8
[[agent.tool_rules]]
tool_name = "recall"
rule_type = { type = "ContinueLoop" } # Skip heartbeat checks for performance
priority = 1
[[agent.tool_rules]]
tool_name = "context"
rule_type = { type = "ContinueLoop" } # Skip heartbeat checks for performance
priority = 1
[[agent.tool_rules]]
tool_name = "search"
rule_type = { type = "ContinueLoop" } # Skip heartbeat checks for performance
priority = 2
[[agent.tool_rules]]
tool_name = "web"
rule_type = { type = "ContinueLoop" } # Skip heartbeat checks for performance
priority = 2
[[agent.tool_rules]]
tool_name = "data_source"
rule_type = { type = "ContinueLoop" } # Skip heartbeat checks for performance
priority = 4