Skip to content

[P1] Reduce duplicate business logic between client/lib and backend/src #602

@Calebux

Description

@Calebux

Summary

Domain logic such as analytics, subscription handling, and security helpers is split across multiple layers without a clear source of truth.

Scope

  • Area: architecture
  • Priority: P1
  • Backlog ID: #8

Acceptance Criteria

  • Shared logic candidates are identified.
  • Logic is centralized into shared/ or clearly separated by responsibility.
  • Duplication hotspots are removed.

Implementation Notes

  • Keep the implementation aligned with current architecture decisions and security constraints in this repo.
  • Include tests for changed behavior and update docs where relevant.

Definition of Done

  • Acceptance criteria met
  • Tests added/updated and passing
  • Documentation updated
  • No security regressions introduced

Links

  • Backlog source: docs/repo-issue-backlog-2026-05.md

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programarea:architectureArchitecture and structurebacklogBacklog issue generated from repo hardening planpriority:p1High priority

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions