feat(agent): push usage events to the registry (scan.completed, target.added) #247

Merged
sharang merged 1 commits from feat/usage-events into main 2026-09-12 08:49:21 +00:00
Owner

M-MIG-7 (Prüfwerk usage side, §9.2): every completed pipeline or DAST scan and every added target (onboarded + DAST) becomes an idempotent usage event on the registry's POST /v1/usage/events, which forwards it to ERPNext through the outbox. Background, best-effort, no-op without TENANT_REGISTRY_URL.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB

M-MIG-7 (Prüfwerk usage side, §9.2): every completed pipeline or DAST scan and every added target (onboarded + DAST) becomes an idempotent usage event on the registry's `POST /v1/usage/events`, which forwards it to ERPNext through the outbox. Background, best-effort, no-op without `TENANT_REGISTRY_URL`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
sharang added 1 commit 2026-09-12 08:37:51 +00:00
feat(agent): push usage events to the registry (scan.completed, target.added)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 5m57s
403e880830
PRODUCT_INTEGRATION_SPEC 2.0 §9.2 / M-MIG-7: every completed pipeline
or DAST scan and every added target becomes an idempotent usage event on
POST /v1/usage/events (registry forwards it to ERPNext). Background,
best-effort, no-op without a registry.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
sharang merged commit 99b7769ed8 into main 2026-09-12 08:49:21 +00:00
sharang deleted branch feat/usage-events 2026-09-12 08:49:21 +00:00
Sign in to join this conversation.