Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Feature: Add experiments domain #3

Description

@Brad-Edwards

Description

Add a new experiments domain to support tracking scientific experiments through their full lifecycle.

Scope

  • Create Experiment entity with lifecycle states: PLANNEDDESIGNEDIN_PROGRESSCOMPLETEDANALYZED
  • Implement state transition validation (experiments can only move forward through the lifecycle)
  • Fields: title, description, hypothesis, methodology, results, conclusions, status, dates
  • Link experiments to papers and research notes via ResearchLink
  • Create repository, service, and API controller layers
  • Add domain events for state transitions

Acceptance Criteria

  • Experiment entity with all lifecycle states
  • Valid state transitions enforced (PLANNED → DESIGNED → IN_PROGRESS → COMPLETED → ANALYZED)
  • Invalid state transitions rejected with appropriate errors
  • Full CRUD API endpoints for experiments
  • Experiments can be linked to papers and notes
  • Unit tests for state transitions and business logic

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions