Skip to content

feat: add emergence_detected flag to EpisodeOutcome (#71)#75

Merged
4444J99 merged 1 commit intomainfrom
feat/71-emergence-detected-flag
Apr 15, 2026
Merged

feat: add emergence_detected flag to EpisodeOutcome (#71)#75
4444J99 merged 1 commit intomainfrom
feat/71-emergence-detected-flag

Conversation

@4444J99
Copy link
Copy Markdown
Collaborator

@4444J99 4444J99 commented Apr 15, 2026

Summary

Closes #71

Test plan

  • 9 new tests in tests/test_hive/test_learning.py
  • Full hive suite: 158/158 passing
  • ruff check + mypy — 0 errors

🤖 Generated with Claude Code

Add two fields to hive EpisodeOutcome:
- emergence_detected: bool — flag for novel collective information
- emergence_evidence: list[str] — descriptions of emergent content

Both fields default safely (False, []) and are backward-compatible
with legacy serialized data. Score calculation is unchanged.

9 new tests covering field defaults, serialization roundtrip,
and legacy data compatibility.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@4444J99 4444J99 enabled auto-merge (squash) April 15, 2026 18:00
@4444J99 4444J99 merged commit 0baa426 into main Apr 15, 2026
3 of 6 checks passed
@4444J99 4444J99 deleted the feat/71-emergence-detected-flag branch April 15, 2026 18:01
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.

feat: add emergence_detected flag and emergence_evidence to EpisodeOutcome

1 participant