- sessions.py: SQLite registry for cross-session awareness - CLAUDE.md: bootstrap context for every new Claude instance - api.py: /sitrep and /sessions endpoints, task dispatch logs sessions - Resource locking to prevent concurrent modification conflicts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
445 B
Python
14 lines
445 B
Python
#!/usr/bin/env python3
|
|
"""Integration test: Symbiont web module -> Dendrite."""
|
|
import sys
|
|
sys.path.insert(0, "/data/symbiont")
|
|
|
|
from symbiont.web import fetch_page, health
|
|
|
|
h = health()
|
|
print(f"Dendrite: {h['status']} | uptime: {h['uptime']}s | sessions: {h['sessions']}")
|
|
|
|
page = fetch_page("https://httpbin.org/html", format="text")
|
|
print(f"Fetched: {page['title']} ({len(page['content'])} chars)")
|
|
print(f"Preview: {page['content'][:200]}")
|