chore(agents): run event-schema-agent weekly task — enhance validator with CLI, reporting, and registry checks

Enhanced scripts/agent/validate-events.mjs with:
- CLI options: --dry-run, --out=<path>, --only=<builder>
- JSON report output (artifacts/validate-events-YYYYMMDD.json)
- sanitizeAdditionalTags test cases (3 tests)
- Schema registry verification via getAllNostrEventSchemas (35 checks)
- Runtime construction site mapping (29 call sites across codebase)
- Structured report format per agent prompt spec

All 66 validation checks pass. No schema failures found.

https://claude.ai/code/session_018HLVbfKYtfPMWcSMaC1W7N
This commit is contained in:
Claude committed 2026-02-13 05:12:52 +00:00
1 parent 00b103cf6e
commit 0e46902ed0
2 files changed
+633 -307

No files matched your search

@@ -0,0 +1,8 @@
# Agent Task Log Entry
- **Date:** 2026-02-13
- **Agent:** event-schema-agent
- **Prompt:** bitvid-event-schema-agent.md
- **Status:** completed
- **Branch:** claude/prevent-duplicate-scheduler-work-dj6XE
- **Summary:** Enhanced validate-events.mjs with CLI options (--dry-run, --out, --only), JSON report output, sanitizer tests, schema registry verification, and runtime construction site mapping. All 66 checks pass (28 builders, 3 sanitizers, 35 registry). No schema failures found.