Files
orangecat/docs/development
Georgy ButaevandClaude Opus 4.7 a79e0356a1 chore(hygiene): archive 99 stale audit/eval/plan/report docs + refresh AUDIT_REPORT.md
Snapshot-style markdown was multiplying — multiple AUDIT_REPORT.md
variants, ENTITY_*_FIXES.md fork trees, RLS-fix instruction docs from
old migrations, *_COMPLETE.md / *_SUMMARY.md from work that's been
shipped for months. They were authoritative once; today they're
landmines for anyone running `grep` to find the current SSOT.

Moved everything that matches AUDIT|EVAL|REPORT|PROPOSAL|PLAN|FIX|
HANDOFF|IMPROVEMENT|SUMMARY|FINDING|COMPLETE|ANALYSIS in
docs/{,development/,analysis/,testing/} into docs/archive/2026-h1/.
99 files. Preserved via git mv so history is intact; no content lost.

Refreshed docs/AUDIT_REPORT.md as the single current state-of-the-
platform doc — it now (a) lists every commit this session shipped,
(b) names the active SSOT files, (c) prioritises remaining gaps as
P0/P1/P2/P3, (d) lists the production credentials / deploy steps that
need human hands. Marked it as the file that supersedes all the
archived ones.

Marked the ModernChatPanel.tsx re-export shim removal in
docs/architecture/CAT_AND_DESIGN_SSOT.md §5 P2 #7 — shim deleted, one
importer in dashboard/cat/page.tsx updated to point at
./ModernChatPanel/index directly. tsc + lint clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-03 16:33:24 +02:00
..
2025-12-10 16:56:40 +01:00

Development Documentation

Last Updated: 2025-12-30


Current Status: Production Ready

Build: Passing Database: Verified (3 groups, 17 actors, 3 members) Groups Unification: Complete Actor System: Implemented

Active Status Documents


Architecture & Principles

Analysis Documents


Development Guides

Setup & Configuration

Code Patterns

Workflows

Handoff System


Key Architectural Decisions

Groups Unification (Completed)

  • Circles and Organizations merged into unified groups table
  • Groups have label field (circle, dao, company, network_state, etc.)
  • All queries use groups table only - no dual-table logic

Actor Model (Completed)

  • Entities owned by actor_id (unified ownership model)
  • Actors can be users or groups
  • Future extensible for AI agents

Entity Cards (90% Complete)

  • Single EntityCard base component with variants
  • ProjectCard extends EntityCard with project-specific features
  • Old duplicate cards being phased out

Remaining Work

  1. TypeScript Errors - ~460 non-blocking errors remain
  2. Console.log Cleanup - ~160 statements to replace with logger
  3. Delete Old Components - ModernProjectCard, DashboardProjectCard after testing
  4. Remove Organizations Table - After verification period

File Locations

Services

  • src/services/groups/ - Groups service (queries, mutations, permissions)
  • src/services/actors/ - Actor service (unified ownership)
  • src/services/projects/support/ - Project support system

API Routes

  • src/app/api/groups/ - Groups API
  • src/app/api/organizations/ - Backward-compatible wrapper

Components

  • src/components/entity/EntityCard.tsx - Base entity card
  • src/components/entity/variants/ - Entity card variants
  • src/components/groups/ - Group components

Note: Stale documentation has been cleaned up. See docs/archive/ for historical docs if needed.