Phase Intake
Phase samples are the foundation for Resonance Calculus metrics. Follow this checklist to integrate the SDK or feed harness and keep your controller tuned.
Phase samples are ingested via POST /intake/phase on the agent. Ensure RESONANCE_API_KEY is configured and include it as the Authorization Bearer token.
Each sample should contain the service identifier, timestamp, and current phase offset (radians). Use the SDK helper `sdk.metrics.recordPhase(...)` or your own instrumentation.
Aim for at least one phase sample per service every 60 seconds while tuning. Higher frequency sampling accelerates band compliance stabilization.
`node resonance/bench/feed_phases.js --count 120 --interval 1000` will simulate traffic and confirm the intake key is accepted before you connect production systems.
R(t), band compliance, and coherence scores will respond within minutes once samples flow. Leave the dashboard tab open to build historical context.