symbiont/test_web.py
Symbiont 18c4dfa308 Add session registry + CLAUDE.md bootstrap
- 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>
2026-03-20 13:38:46 +00:00

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]}")