Skip to content

feat: test suite, event vocabulary, federation logging fix#5

Merged
TadMSTR merged 2 commits into
mainfrom
phase1-tests
May 28, 2026
Merged

feat: test suite, event vocabulary, federation logging fix#5
TadMSTR merged 2 commits into
mainfrom
phase1-tests

Conversation

@TadMSTR

@TadMSTR TadMSTR commented May 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add 18 tests covering all 5 tools: log_event (schema, hash chain, scope routing), verify_chain (clean/tampered/missing file), query_events (ordering, filters, limit), get_event (found/not-found), get_status (empty/with logs), concurrent append lock correctness
  • Add 7 missing event types to CROSS_AGENT_EVENTS: preflight.started/completed, build.started/completed, deploy.started/completed, security.finding
  • Federation loop: replace silent except Exception: pass with _log.warning(...)
  • requirements.txt: relax pin to fastmcp>=3.2.4,<4
  • Add pyproject.toml (version 0.2.0)

Test plan

  • pytest tests/ -v passes 18/18 in a clean venv
  • New event types are accepted by log_event without routing to session scope
  • Federation errors surface in logs instead of silently disappearing

🤖 Generated with Claude Code

TadMSTR and others added 2 commits May 28, 2026 07:38
- Add 18 tests covering log_event (schema/hash chain/routing), verify_chain
  (clean/tampered/missing), query_events (ordering/filters/limit), get_event,
  get_status, and concurrent append correctness
- Add 7 missing event types to CROSS_AGENT_EVENTS: preflight.started/completed,
  build.started/completed, deploy.started/completed, security.finding
- Federation loop: log WARNING on exception instead of silently passing
- requirements.txt: relax fastmcp pin to >=3.2.4,<4
- Add pyproject.toml with version 0.2.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@TadMSTR TadMSTR merged commit 67d6ed7 into main May 28, 2026
4 checks passed
@TadMSTR TadMSTR deleted the phase1-tests branch May 28, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant