Open or create today's daily log entry and append content.
Resolve the journal path:
JORNAL="${JORNAL:-$HOME/para/areas/dev/gh/ak/journal}"Get today's date: date +%Y-%m-%d. Derive the log
path:
$JORNAL/areas/log/YYYY/YYYY-MM/YYYY-MM-DD.mdIf the file does not exist, create it with the daily log template:
# YYYY-MM-DD
## Focus
- (to be set)
## Log
## Tasks created
## DecisionsCreate intermediate directories with mkdir -p.
If the user provided text (e.g.,
/jlog deployed the fix for X), append it under
## Log with a timestamp:
- HH:MM — <text>
If no text was given, read the file and show its current contents so the user can decide what to add.
Confirm what was written.
Do not commit.