Commit Graph

451 Commits

Author SHA1 Message Date
Apple
e595cdc0a5 docs: expand lint scope batch26 (2 files) 2026-02-16 07:03:42 -08:00
Apple
6ac7c8f4b5 docs: expand lint scope batch25 (2 files) 2026-02-16 07:01:54 -08:00
Apple
949b0a608e docs: expand lint scope batch24 (2 files) 2026-02-16 07:00:18 -08:00
Apple
842704d7e7 docs: expand lint scope batch23 (2 files) 2026-02-16 06:57:58 -08:00
Apple
1de120ddfc docs: expand lint scope batch22 (2 files) 2026-02-16 06:56:43 -08:00
Apple
d5bd8748a1 docs: expand lint scope batch21 (2 files) 2026-02-16 06:55:23 -08:00
Apple
1fbd3009b8 docs: expand lint scope batch20 (2 files) 2026-02-16 06:41:54 -08:00
Apple
8789487037 docs: expand lint scope batch19 (2 files) 2026-02-16 06:40:21 -08:00
Apple
6e0096eea7 docs: expand lint scope batch18 (2 files) 2026-02-16 06:38:39 -08:00
Apple
db4107ba4a docs: expand lint scope batch17 (2 files) 2026-02-16 06:22:45 -08:00
Apple
162f3567df docs: expand lint scope batch16 (2 files) 2026-02-16 06:21:10 -08:00
Apple
8d2ae25cdc docs: expand lint scope batch15 (2 files) 2026-02-16 06:14:15 -08:00
Apple
e9bbcde418 docs: expand lint scope batch14 (2 files) 2026-02-16 05:49:02 -08:00
Apple
a4aa1c42aa docs: expand lint scope batch13 (2 files) 2026-02-16 05:47:10 -08:00
Apple
f2a450c159 docs: expand lint scope batch12 (2 files) 2026-02-16 05:45:39 -08:00
Apple
d84a83f639 docs: expand lint scope batch11 (2 files) 2026-02-16 05:44:43 -08:00
Apple
fa07356205 docs: expand lint scope batch10 (2 files) 2026-02-16 04:32:13 -08:00
Apple
16574d1db2 docs: expand lint scope batch9 (2 files) 2026-02-16 04:28:01 -08:00
Apple
210c6426b7 docs: expand lint scope batch8 (2 files) 2026-02-16 04:27:12 -08:00
Apple
083a622817 docs: expand lint scope batch7 (2 files) 2026-02-16 04:05:40 -08:00
Apple
e6221fef67 docs: expand lint scope batch6 (2 files) 2026-02-16 04:02:10 -08:00
Apple
de7533f97e docs: add session preflight and expand lint scope batch5 2026-02-16 03:53:56 -08:00
Apple
9c9f4fa182 docs: expand lint scope batch4 (3 files) 2026-02-16 03:47:51 -08:00
Apple
831f361f0f docs: expand lint scope batch3 (6 files) 2026-02-16 03:44:58 -08:00
Apple
1a00cd4413 docs: expand lint scope batch2 (12 files) 2026-02-16 02:53:53 -08:00
Apple
08dcfea960 docs: expand lint scope batch1 (13 files) 2026-02-16 02:40:49 -08:00
Apple
b722e28338 docs: add local scheduled maintenance runner (no auto-push) 2026-02-16 02:37:29 -08:00
Apple
5f2fd7905f docs: sync consolidation and session starter 2026-02-16 02:32:27 -08:00
Apple
3146e74ce8 docs: sync consolidation and session starter 2026-02-16 02:32:27 -08:00
Apple
fc2d86bd1b docs: sync consolidation and session starter 2026-02-16 02:32:08 -08:00
Apple
8ba71f240f docs: sync consolidation and session starter 2026-02-16 02:32:08 -08:00
Lord of Chaos
f82404dc36 Merge pull request #2 from IvanTytar/docs/node1-sync
docs(node1): safe deploy + snapshot
2026-02-10 05:35:07 -08:00
Apple
0d8582d552 docs(node1): add safe deploy workflow and snapshot
Document canonical sync between GitHub and NODA1 and add a snapshot script to capture runtime state without editing production by hand.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 05:33:32 -08:00
Apple
c1cc5591f6 chore(helion): respond to direct mentions in groups
Clarify Helion group behavior: stay silent unless energy topic or direct mention, but answer operational questions when directly addressed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 04:30:01 -08:00
Apple
3eb628e4ff fix(router): guard DSML tool-call flows
Prevent DeepSeek DSML from leaking to users and avoid returning raw memory_search/web results when DSML is detected.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 04:30:01 -08:00
Apple
134c044c21 feat: Behavior Policy v1 - Silent-by-default + Short-first + Media-no-comment
NODA1 agents now:
- Don't respond to broadcasts/posters/announcements without direct mention
- Don't respond to media (photo/link) without explicit question
- Keep responses short (1-2 sentences by default)
- No emoji, no "ready to help", no self-promotion

Added:
- behavior_policy.py: detect_directed_to_agent(), detect_broadcast_intent(), should_respond()
- behavior_policy_v1.txt: unified policy block for all prompts
- Pre-LLM check in http_api.py: skip Router call if should_respond=False
- NO_OUTPUT handling: don't send to Telegram if LLM returns empty
- Updated all 9 agent prompts with Behavior Policy v1
- Unit and E2E tests for 5 acceptance cases
2026-02-04 09:03:14 -08:00
Apple
c8698f6a1d feat: add training group support in Gateway
- Added TRAINING_GROUP_IDS constant for Agent Preschool group
- Gateway now adds "[РЕЖИМ НАВЧАННЯ]" prefix for training groups
- Agents will respond to all messages in training groups

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 08:03:07 -08:00
Apple
8907fb110c feat: add training mode for Agent Preschool group
All agents now respond to all messages in the training group
"Agent Preschool Daarion.city" without requiring mentions.

Updated prompts: helion, daarwizz, greenfood, nutra, agromatrix, druid

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 07:56:20 -08:00
Apple
0d30ea0009 fix: add group silence rules for Helion
Helion now only responds in groups when:
- Mentioned by name/username
- Direct question about Energy Union
- Previously was responding to all messages in groups

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 07:51:14 -08:00
Apple
a0a89b577d fix: add missing Telegram tokens for DAARWIZZ, DRUID, GREENFOOD
Synced from NODA1 after 2026-02-03 incident fix.
All 9 agents now have tokens configured.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 07:26:56 -08:00
Apple
6b54e0da6d fix(router): Replace requests with urllib in healthcheck
- Use stdlib urllib.request instead of requests library
- requests was not installed in the router image, causing healthcheck
  to always fail with "ModuleNotFoundError: No module named 'requests'"
- Increase start_period to 30s and retries to 5 for stability

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 05:56:02 -08:00
Apple
a46a70c014 fix(ops): Add network aliases and stabilize DNS for NODA1
- docker-compose.node1.yml: Add network aliases (router, gateway,
  memory-service, qdrant, nats, neo4j) to eliminate manual
  `docker network connect --alias` commands
- docker-compose.node1.yml: ROUTER_URL now uses env variable with
  fallback: ${ROUTER_URL:-http://router:8000}
- docker-compose.node1.yml: Increase router healthcheck start_period
  to 30s and retries to 5
- .gitignore: Add noda1-credentials.local.mdc (local-only SSH creds)
- scripts/node1/verify_agents.sh: Improved output with agent list
- docs: Add NODA1-AGENT-VERIFICATION.md, NODA1-AGENT-ARCHITECTURE.md,
  NODA1-VERIFICATION-REPORT-2026-02-03.md
- config/README.md: How to add new agents
- .cursor/rules/, .cursor/skills/: NODA1 operations skill for Cursor

Root cause fixed: Gateway could not resolve 'router' DNS name when
Router container was named 'dagi-staging-router' without alias.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 05:55:56 -08:00
Apple
8f046e7226 docs: Update PROJECT-MASTER-INDEX with Agent Registry changes
- Added Agent Registry section (Single Source of Truth)
- Updated agent list (11 top-level + 2 internal)
- Added CLI tools documentation
- Fixed agent roles (DRUID = Ayurveda/Cosmetics R&D)
- Added YAROMIR and SOUL agents
- Updated architecture diagram reference
- Marked old issues as resolved

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-29 09:47:21 -08:00
Apple
b9b7660930 feat(P1): Add /metrics endpoint to gateway 2026-01-28 07:14:37 -08:00
Apple
3ecb43dafc feat(P0): Add JetStream streams, DLQ, timeout policy 2026-01-28 07:11:09 -08:00
Apple
a3923cd96f feat(P0/P1/P2): Add E2E agent prober, version pinning, prometheus fixes 2026-01-28 07:06:07 -08:00
Apple
9dcc3563f6 docs: Update TODO with implementation results - container limits, NATS update, Qdrant fix 2026-01-28 06:51:32 -08:00
Apple
656115ef87 docs: Update TODO with security audit results 2026-01-28 06:44:48 -08:00
Apple
bc4ad30878 docs: Add critical TODO summary for NODA1 2026-01-28 06:41:19 -08:00
Apple
0c8bef82f4 feat: Add Alateya, Clan, Eonarch agents + fix gateway-router connection
## Agents Added
- Alateya: R&D, biotech, innovations
- Clan (Spirit): Community spirit agent
- Eonarch: Consciousness evolution agent

## Changes
- docker-compose.node1.yml: Added tokens for all 3 new agents
- gateway-bot/http_api.py: Added configs and webhook endpoints
- gateway-bot/clan_prompt.txt: New prompt file
- gateway-bot/eonarch_prompt.txt: New prompt file

## Fixes
- Fixed ROUTER_URL from :9102 to :8000 (internal container port)
- All 9 Telegram agents now working

## Documentation
- Created PROJECT-MASTER-INDEX.md - single entry point
- Added various status documents and scripts

Tokens configured:
- Helion, NUTRA, Agromatrix (existing)
- Alateya, Clan, Eonarch (new)
- Druid, GreenFood, DAARWIZZ (configured)
2026-01-28 06:40:34 -08:00