Skip to content

feat(security): complete Plan 06 security and architecture remediation - #41

Merged
ur1el0 merged 9 commits into
mainfrom
feat/security-and-architecture-remediation
Nov 13, 2026
Merged

ur1el0 merged 9 commits into
mainfrom
feat/security-and-architecture-remediation

Conversation

@ur1el0

@ur1el0 ur1el0 commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Harden authentication rate limiting (confirm_password_reset, bounded auth_rate_limits table, trusted proxy IP extraction, documented FABLE_TRUSTED_PROXY_CIDRS).
  • Enforce case-insensitive unique user handles, reserve catalog author names, and prevent author/catalog collisions.
  • Optimize story read-count queries with a single LEFT JOIN subquery, add composite indexes, and cache catalog author aggregations.
  • Add DELETE /api/v1/auth/me and owner-verified PATCH/DELETE /api/v1/stories/{id} endpoints plus Profile UI flows.
  • Harden SwiftData container initialization recovery and consolidate shelf state persistence in SwiftData with legacy migration.
  • Expand backend and iOS unit test coverage and update Plan 06 & handoff docs.

@ur1el0
ur1el0 merged commit e1d8c95 into main Nov 13, 2026
6 checks passed
@ur1el0
ur1el0 deleted the feat/security-and-architecture-remediation branch November 13, 2026 09:44
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