mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 00:50:46 +08:00
Set up netx as a standalone git-managed project with isolated Python dependencies, alarm ingestion/query APIs, oclaw bridge integration, and ops-focused UI enhancements including history and raw field access. Co-authored-by: Cursor <cursoragent@cursor.com>
1 KiB
1 KiB
netx Production Minimum Checklist
Security
- Replace local shared token with a strong secret and rotate it regularly.
- Keep
.envandoclaw/_local/system.envout of Git (already ignored). - Restrict access to
127.0.0.1or internal network only.
Runtime
- Ensure PostgreSQL backup policy exists (daily logical backup + retention).
- Run
oclawandnetxunder process managers (systemd/Windows service/pm2 equivalent). - Enable auto-restart and startup-at-boot for both services.
Observability
- Health checks:
oclaw:/admin/api/ops-ai/health(with Bearer token)netx:/v1/integrations/status
- Alert when
oclaw_bridge.status != upfor more than 2 polling cycles. - Alert when
db.status != uporlatency_msexceeds threshold.
Operations
- Keep one documented restart order:
- PostgreSQL
oclawnetx
- Validate after restart:
GET /v1/integrations/statusreturns all major components asup.
- Keep parser config and importer changes versioned and reviewed before release.