Commit graph

11 commits

Author SHA1 Message Date
Johannes Millan
642f8d3984 docs(sync): improve and consolidate operation log documentation
- Update hybrid-manifest-architecture.md status to Implemented
- Add documentation index (README.md) for operation-log docs
- Add index for docs/ai/sync/ with document categorization
- Replace duplicate docs with redirect stubs to canonical locations
- Add effect rules, multi-entity rules, and config constants to operation-rules.md
- Update vector-clocks.md with operation log integration section
- Expand super-sync-server README with API details and security features
- Update pfapi sync README with operation log integration info
2025-12-16 10:45:20 +01:00
Johannes Millan
04043e3964 docs(sync): document late-joiner replay with vector clock dominance
- Add Section 2c to architecture diagrams with mermaid diagrams
  explaining the late-joiner problem and solution
- Add Section C.7 to main architecture doc with code examples
- Add Example 4 to vector-clocks.md explaining dominance filtering
- Update Last Updated dates to December 12, 2025
2025-12-12 20:48:40 +01:00
Johannes Millan
f8e0160801 docs: plan operation logs again 1 2025-12-12 20:46:05 +01:00
Johannes Millan
93c76d5cdb feat(syncServer): implement JWT authentication and user registration/login functionality 2025-12-12 20:46:04 +01:00
Johannes Millan
8e65d7263b feat(syncServer): refactor server functions to use arrow function syntax and improve error handling 2025-12-12 20:46:04 +01:00
Johannes Millan
ed1bc59a0a feat(syncServer): update plan 2025-12-12 20:46:04 +01:00
Johannes Millan
dfc84a2f88 feat(syncServer): add configuration file and enhance server setup 2025-12-12 20:46:04 +01:00
Johannes Millan
658c29a8d7 refactor: remove localLamport completely from sync system
- Remove localLamport and lastSyncedLamport from all interfaces and models
- Simplify sync logic to use vector clocks exclusively for change tracking
- Remove Lamport-based conflict detection and sync status logic
- Update UI components to remove Lamport display elements
- Clean up backwards compatibility utilities
- Fix getVectorClock import error in sync.service.ts
- Remove debug alert from sync-safety-backup.service.ts

This simplifies the sync system by eliminating the dual tracking
mechanism that was causing complications and false conflicts.
Vector clocks provide better causality tracking for distributed sync.
2025-07-05 18:20:24 +02:00
Johannes Millan
0c4968724d cleanup docs 2025-07-03 12:07:26 +02:00
Johannes Millan
230ccb7b1d docs: add test fix summary for vector clock implementation
- Document the root cause of the failing test
- Explain why setting Lamport values to 0 fixes the issue
- Provide verification of the fix logic
- Complete documentation of vector clock implementation work
2025-06-30 21:42:03 +02:00
Johannes Millan
a08ad5ae9d feat(sync): implement vector clock checking 2025-06-24 20:10:39 +02:00