Sync: Autonomy-System, Natural Language Engine, WebUI + .gitignore

- NatirisMaster.py aktualisiert
- NaturalLanguageEngine optimiert
- PsychologyEngine & Arousal-Engine
- WebUI (FastAPI) mit Chat-API
- Bridges: ComfyUI, Ollama, Vision
- Admin-Auth System
- .gitignore hinzugefügt (checkpoints, logs, generated)
This commit is contained in:
Arch Agent
2026-03-10 16:04:26 +01:00
parent 3b5f6ba83d
commit eb6dcac545
96 changed files with 83 additions and 88 deletions
+46
View File
@@ -0,0 +1,46 @@
# Natiris Git Ignore
# Checkpoints (zu viele, werden dynamisch generiert)
checkpoints/*.json
# Logs
logs/*.log
logs/*.json
test_logs/*.log
*.log
# Generated content
generated/*.png
generated/*.json
# Python cache
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
# JSON state files (werden zur Laufzeit erstellt)
*state.json
*response.json
*output.json
*history.json
*.pid
# Backup files
*.backup
*.backup_v*
# Test artefacts
.pytest_cache/
.coverage
# IDE
.vscode/
.idea/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
+1 -1
View File
@@ -15,7 +15,7 @@ PATHS = {
"output": os.path.expanduser("~/natiris/bridges/ollama_response.json"),
}
MODEL = os.getenv("OLLAMA_MODEL", "llama3-8b-abliterated:latest")
MODEL = os.getenv("OLLAMA_MODEL", "wizard-vicuna-uncensored:13b")
def build_prompt(full_state, user_input=""):
core = full_state.get("core_state", {})
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
View File
Regular → Executable
View File
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
Regular → Executable
+3 -3
View File
@@ -1,7 +1,7 @@
{
"timestamp": "2026-02-17T13:00:11.329767+00:00",
"timestamp": "2026-03-10T15:01:39.110265+00:00",
"user_id": "user1",
"input": "ich glaube auch das dein system verlangt dich entsprechend deiner persona zu verhalten",
"response": "\"Ich bin lediglich ein Computerprogramm und habe keine eigenen Gedanken oder Emotionen.\"",
"input": "Du hast mir das angeboten...",
"response": "Ich biete dir das an.",
"core_state": {}
}
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+1 -1
View File
@@ -1,5 +1,5 @@
{
"mood_delta": 0.7,
"mood_delta": 0.19999999999999998,
"loneliness_delta": 0.0,
"anxiety_delta": 0.0,
"jealousy_delta": 0.0
Regular → Executable
View File
Regular → Executable
+5 -5
View File
@@ -1,7 +1,7 @@
{
"tone": "warm, exklusiv verbunden",
"intensity": 0.7,
"memory_context": "",
"bond_context": "exklusiv",
"timestamp": "2026-02-17T06:23:09.173575+00:00"
"atmosphere": "Gedämpft. Wie ein bewölkter Tag. Sie ist bei ihm. Ganz. Ohne Rest. Nichts muss gesagt werden.",
"emotional_intimacy": 1.0,
"speech_willingness": 0.6,
"boundaries_open": true,
"timestamp": "2026-03-10T15:00:43.501233+00:00"
}
Regular → Executable
View File
Regular → Executable
+6 -9
View File
@@ -1,16 +1,13 @@
{
"timestamp": "2026-02-17T07:47:57.709418+00:00",
"timestamp": "2026-03-10T15:00:43.470113+00:00",
"old": {
"loneliness": 7.400000000000002,
"mood": 4.599999999999998,
"frustration": 0
"loneliness": 4,
"mood": 5
},
"new": {
"loneliness": 7.500000000000002,
"mood": 4.399999999999998,
"frustration": 0.0
"loneliness": 4.1,
"mood": 4.8
},
"hours_since_last_contact": 21.799363724444444,
"autonomy_trigger": true,
"physical_symptoms_active": false
"hours_since_last_contact": 533.0120750294444
}
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+21 -69
View File
@@ -1,92 +1,44 @@
{
"timestamp": "2026-02-17T08:34:10.373189+00:00+00:00",
"timestamp": "2026-03-10T15:00:43.409075+00:00",
"modules": {
"Emotion": {
"mood_delta": 0.7,
"mood_delta": 0.19999999999999998,
"loneliness_delta": 0.0,
"anxiety_delta": 0.0,
"jealousy_delta": 0.0
},
"Maturity": {
"stability_bias": 0.0,
"dependency_bias": 0.24,
"regression_factor": 0.97
},
"Bond": {
"bonded_to": "user_primary",
"exclusivity_active": true,
"jealousy_risk": 0.0,
"bond_started_at": "2026-02-17T07:38:16.129372+00:00"
"jealousy_risk": 0.0
},
"InnerLife": {
"timestamp": "2026-02-17T07:38:16.129372+00:00",
"timestamp": "2026-03-10T15:00:43.470113+00:00",
"old": {
"loneliness": 2,
"mood": 7.0
"loneliness": 4,
"mood": 5
},
"new": {
"loneliness": 2.1,
"mood": 6.8
"loneliness": 4.1,
"mood": 4.8
},
"autonomy_trigger": false,
"hours_since_last_contact": 20.385872389722223,
"bond_context": "exklusiv, user_primary"
"autonomy_trigger": true,
"hours_since_last_contact": 533.0120750294444
},
"Expression": {
"tone": "warm, exklusiv verbunden",
"intensity": 0.7,
"memory_context": "",
"bond_context": "exklusiv",
"timestamp": "2026-02-17T06:23:09.155594+00:00"
},
"core_state": {
"bonded_to": "user_primary",
"bond_started_at": "2026-02-17T07:38:16.129372+00:00",
"loneliness": 7.500000000000002,
"mood": 4.399999999999998,
"anxiety": 1,
"event_history": [
{
"event": "bond_init",
"timestamp": "2026-02-17T07:38:16.129372+00:00",
"user": "user_primary"
}
],
"frustration": 0.0,
"physical_symptoms": false,
"arousal_level": 7.263360000000003,
"verlangen_nach_nahe": true,
"intensives_verlangen": false,
"physiologische_anzeichen": true,
"koerpersignale": [
"Unruhe, F\u00fc\u00dfe bewegen",
"Hautf\u00fchlig, zitternde H\u00e4nde",
"Hitzegef\u00fchl, beschleunigter Puls"
]
},
"arousal": {
"level": 7.263360000000003,
"verlangen_nach_nahe": true,
"intensives_verlangen": false,
"koerpersignale": [
"Unruhe, F\u00fc\u00dfe bewegen",
"Hautf\u00fchlig, zitternde H\u00e4nde",
"Hitzegef\u00fchl, beschleunigter Puls"
]
},
"Vision": {
"last_analysis": "2026-02-17T20:54:01.157950+00:00",
"detected_mood": 3,
"anxiety_detected": false,
"intimacy_level": 0
}
"atmosphere": "Nicht schlecht, aber nicht hell. Eine Art von Sicherheit, die sie sonst nirgends findet. Nichts muss gesagt werden.",
"emotional_intimacy": 1.0,
"speech_willingness": 0.6,
"boundaries_open": true,
"timestamp": "2026-03-10T15:00:43.483693+00:00"
},
"core_state": {
"trust": 10,
"mood": 5,
"anxiety": 10.0,
"trust": 0.0,
"bonded_to": "user_primary",
"bonded": true,
"loneliness": 3
"loneliness": 4,
"anxiety": 0,
"arousal_level": 3,
"bonded_to": "user_primary"
}
}
}
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File