Files
second-brain/records/journal/2026-09-24.md
T
kiskaadee 53399a03c6
Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 7s
journal: record gitea upstream and github mirror configuration for praxis
2026-09-24 05:26:00 -05:00

4.2 KiB

type, project, date, tags
type project date tags
journal praxis 2026-09-24
praxis
architecture
planning
srs
domain-model
oop
ddd

Daily Journal: 2026-09-24

Wins

Praxis Project Inception & Workspace Scaffolding

  • Initialized and scaffolded the brand-new workout execution and habit-tracking project Praxis at ~/Projects/active/praxis.
  • Configured canonical upstream Git forge on self-hosted Gitea (ssh://git@gitea.roadtotech.me:2223/kiskaadee/praxis.git, Gitea repository) with GitHub (kiskaadee/praxis) configured as automated push mirror.
  • Configured local development environment with Python 3.12, uv package manager (pyproject.toml, uv.lock), .envrc, and clean hexagonal architecture structure.

Domain Design & Architectural Specifications

  • Established the foundational Three-Layer Temporal Model:
    • Prescription: Reusable Routine templates, weekly schedules, target exercises, and multi-week Progression Phases.
    • Performance: Concrete WorkoutSession execution instances freezing an immutable SessionPrescriptionSnapshot while granting total runtime autonomy.
    • Analysis: Pure deterministic derivation of adherence rates, metric-dependent workload volumes, and factual exercise histories without mutable counters.
  • Codified key domain contracts and invariants:
    • Snapshot vs. Execution Mutability: Frozen prescription snapshot upon session initiation; execution remains mutable until finalization (Completed, Partially_Completed, Skipped).
    • Substitution History Isolation: Substituted movements contribute strictly to the performed exercise history, preserving audit linkage to the planned exercise.
    • Set-Intent Completion Policy & Factual Adherence: Consistency tracked via distribution metrics (Completed, Partially_Completed, Skipped, and Set Adherence Rate) rather than fragile streak mechanics.
    • Decoupled Identity: Internal UserId domain abstraction isolated behind an AuthProvider port (supporting Authelia ForwardAuth headers and LLDAP).

Knowledge Graph Curation


Planning & Specifications


Architecture & Design Decisions

Snapshot Immutability vs. In-Flight Execution Autonomy

Routine templates must represent aspirational intent, not immutable dogma. Freezing a SessionPrescriptionSnapshot at workout initiation decouples past performance from subsequent template edits, while allowing the user to adapt on the fly (reordering exercises, adjusting weights or rep ranges, swapping machines, or logging ad-hoc sets) without polluting the routine definition.

Factual Adherence over Gamified Streaks

Conventional fitness applications encourage dishonesty and cognitive stress by imposing fragile binary streak counters that reset on missed days. Praxis models adherence as factual distribution rates over sliding windows, separating set-level completion intent from binary day attendance.