Session memory
~/.config/arka/agent-memory/ के तहत संग्रहीत markdown-आधारित session notes:
MEMORY.md— दीर्घकालिक notes (स्वचालित रूप से pruned)daily/YYYY-MM-DD.md— प्रति दिन session notes
SESSION_MEMORY=1 हो, तो recalled context context_for() के ज़रिए agent loops में inject होता है।
Environment variables
Notes को storage से पहले sanitize किया जाता है — injection patterns और unsafe content ब्लॉक किए जाते हैं।
Heartbeat
अंतिम agent गतिविधि, security flags, routine count, और memory stats को track करता है।~/.cache/fish-agent/heartbeat.json में लिखा जाता है। हर ping() एक bounded history ring में append करता है (default 20 events; HEARTBEAT_HISTORY से override करें)। Session memory और routines जैसी subsystems गतिविधि पर स्वचालित रूप से ping() call करती हैं।
Skill manifest gates
Third-party pluginsskill.json में OpenClaw-शैली gates घोषित कर सकते हैं। Arka उन्हें discovery, routing, और execution के दौरान लागू करता है।
Top-level फ़ील्ड
metadata.openclaw (या metadata.arka / metadata.hermes)
समान फ़ील्ड OpenClaw- और Hermes-शैली manifests के साथ compatibility के लिए metadata.openclaw, metadata.arka, या metadata.hermes के तहत भी रह सकते हैं:
requires, os, और permissions फ़ील्ड में merge करता है।
Gate व्यवहार
Gated skills:
arka skills listमें[gated: reason]के साथ Marked होते हैंmatch_command()द्वारा Skipped होते हैं ताकि routing अनुपलब्ध plugins से match न हो- Safety net के रूप में
run_skill()पर Blocked होते हैं
Environment variables
देखें: Plugins install करना और
src/arka/skills/examples/demo_echo/skill.json पर उदाहरण।
संबंधित security
Routines और webhooks अलग hardening परतें लागू करते हैं:ROUTINES_SECURITY=1— scheduled कार्यों पर symbolic action checks- Webhook inbound verification injection payloads को ब्लॉक करता है
SECURITY, SECURITY_LLM, और SECURITY_ACTIONS flags के साथ काम करते हैं।