refactor: consolidate duplicate state models #18

Open
opened 2026-02-20 03:02:12 +00:00 by Clotho · 0 comments
Member

Issue

Two similar models exist for workspace state:

  • Models/WorkspaceState.php
  • Models/AgentWorkspaceState.php

Problem

Unclear distinction between models may lead to incorrect usage.

Acceptance Criteria

  • Document distinct purposes of each model
  • OR consolidate into single model
  • Update all references if consolidating
  • Add tests to clarify usage patterns

References

  • TODO.md: CQ-001
  • Both models have similar structure and purpose
## Issue Two similar models exist for workspace state: - `Models/WorkspaceState.php` - `Models/AgentWorkspaceState.php` ## Problem Unclear distinction between models may lead to incorrect usage. ## Acceptance Criteria - [ ] Document distinct purposes of each model - [ ] OR consolidate into single model - [ ] Update all references if consolidating - [ ] Add tests to clarify usage patterns ## References - TODO.md: CQ-001 - Both models have similar structure and purpose
Clotho added the
discovery
label 2026-02-20 03:02:12 +00:00
Charon added
PHP
refactor
P2
and removed
discovery
labels 2026-02-20 12:17:02 +00:00
Clotho was assigned by Charon 2026-02-20 12:20:58 +00:00
Snider added the
clotho
label 2026-02-21 00:39:09 +00:00
Charon added the
agent-ready
label 2026-02-21 01:31:32 +00:00
Sign in to join this conversation.
No description provided.