journal: record daily log for 2026-09-24
Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 6s
Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 6s
This commit is contained in:
1 parent
fea2d9658a
commit
38867c08e9
1 file changed
+59
@@ -0,0 +1,59 @@
|
|||||||
|
---
|
||||||
|
type: journal
|
||||||
|
project: praxis
|
||||||
|
date: 2026-09-24
|
||||||
|
tags:
|
||||||
|
- 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` (`git@github.com:kiskaadee/praxis.git`).
|
||||||
|
- 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
|
||||||
|
- Established new canonical project directory in the Brain at [`projects/praxis/`](../../projects/praxis/README.md).
|
||||||
|
- Curated and validated foundational documents from `inbox/`:
|
||||||
|
- Active baseline: [Praxis Software Requirements Specification (SRS) v1.0.2](../../projects/praxis/praxis-srs-v1.0.2.md)
|
||||||
|
- Active baseline: [Praxis Domain Model & OOP Design Specification v1.0.1](../../projects/praxis/praxis-domain-model-v1.0.1.md)
|
||||||
|
- Archived comparison drafts: [Praxis SRS v1.0.0](../../projects/praxis/praxis-srs.md) and [Praxis Domain Model v1.0.0](../../projects/praxis/praxis-domain-model.md)
|
||||||
|
- Pruned staging files from `inbox/`, maintaining a clean capture zone.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Planning & Specifications
|
||||||
|
|
||||||
|
- [Praxis Software Requirements Specification (SRS) v1.0.2](../../projects/praxis/praxis-srs-v1.0.2.md)
|
||||||
|
- Software requirements baseline detailing functional specifications across identity, exercise catalogs, routines, session execution, completion semantics, and analytical metrics.
|
||||||
|
- [Praxis Domain Model & OOP Design Specification v1.0.1](../../projects/praxis/praxis-domain-model-v1.0.1.md)
|
||||||
|
- Detailed object-oriented and DDD specification detailing aggregate roots (`Routine`, `WorkoutSession`, `Exercise`), entities, value objects, behavioral contracts, state transition matrices, and hexagonal port interfaces.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 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.
|
||||||
Reference in new issue
Block a user