CR-2026-03-23 reMarkable Domus Structure Migration — Implementation

Change Procedure

Phase 1: Create Folder Structure

Created new Domus hierarchy using rmapi:

# Root folders
rmapi mkdir "Domus"
rmapi mkdir "Legacy"

# Worklogs (mirrors pages/YYYY/MM/)
rmapi mkdir "Domus/Worklogs"
rmapi mkdir "Domus/Worklogs/2025"
rmapi mkdir "Domus/Worklogs/2026"

# Education (mirrors pages/education/)
rmapi mkdir "Domus/Education"
rmapi mkdir "Domus/Education/Certifications"
rmapi mkdir "Domus/Education/Languages"
rmapi mkdir "Domus/Education/Languages/Español"
rmapi mkdir "Domus/Education/Languages/English"
rmapi mkdir "Domus/Education/Literature"
rmapi mkdir "Domus/Education/Mathematics"
rmapi mkdir "Domus/Education/Music"
rmapi mkdir "Domus/Education/Training"

# Projects (mirrors pages/projects/)
rmapi mkdir "Domus/Projects"
rmapi mkdir "Domus/Projects/Work"
rmapi mkdir "Domus/Projects/Personal"

# Other top-level sections
rmapi mkdir "Domus/Reference"
rmapi mkdir "Domus/Objectives"
rmapi mkdir "Domus/Patterns"
rmapi mkdir "Domus/Reading"
rmapi mkdir "Domus/Reading/Books"
rmapi mkdir "Domus/Reading/Articles"

Phase 2: Migrate Content

Table 1. Content Migration Map
Source Destination

Certificaciones

Domus/Education/Certifications

Lenguaje/Español

Domus/Education/Languages/Español

Lenguaje/Inglés

Domus/Education/Languages/English

Matemáticas

Domus/Education/Mathematics

Música

Domus/Education/Music

Metas Personales

Domus/Objectives

Libros

Domus/Reading/Books

Articulos periodísticos

Domus/Reading/Articles

Articulos tecnologicos

Domus/Reading/Articles

IA

Domus/Reference

Sitios web, programas y herramientas

Domus/Reference

Epitetos_con_Definiciones_Completos

Domus/Education/Literature

Lista_Completa_Figuras_Retóricas

Domus/Education/Literature

Proyectos/* (work items: BMS IoT, Devops work, Intune BYoD, Intune Corp TEAP, Med lab segmentation, Mschapv2 replacement, Network Segmentation Plan, Security Assesments, TRC Assessments)

Domus/Projects/Work

Proyectos/* (personal items: Devops personal, Mi sitio web, Violín, Proyectos)

Domus/Projects/Personal

Bullet Journal 2025

Legacy

Get It Done Planner

Legacy

Ultimate digital planner 2025

Legacy

Notas aleatorias

Legacy

Migration Commands
# Education moves
rmapi mv "Certificaciones" "Domus/Education/Certifications"
rmapi mv "Matemáticas" "Domus/Education/Mathematics"
rmapi mv "Música" "Domus/Education/Music"
rmapi mv "Lenguaje/Español" "Domus/Education/Languages/Español"
rmapi mv "Lenguaje/Inglés" "Domus/Education/Languages/English"
rmapi mv "Epitetos_con_Definiciones_Completos" "Domus/Education/Literature"
rmapi mv "Lista_Completa_Figuras_Retóricas" "Domus/Education/Literature"

# Other moves
rmapi mv "Metas Personales" "Domus/Objectives"
rmapi mv "Libros" "Domus/Reading/Books"
rmapi mv "Articulos periodísticos" "Domus/Reading/Articles"
rmapi mv "Articulos tecnologicos" "Domus/Reading/Articles"
rmapi mv "IA" "Domus/Reference"
rmapi mv "Sitios web, programas y herramientas" "Domus/Reference"

# Work projects
rmapi mv "Proyectos/BMS IoT" "Domus/Projects/Work"
rmapi mv "Proyectos/Devops work" "Domus/Projects/Work"
rmapi mv "Proyectos/Intune BYoD" "Domus/Projects/Work"
rmapi mv "Proyectos/Intune Corp TEAP" "Domus/Projects/Work"
rmapi mv "Proyectos/Med lab segmentation" "Domus/Projects/Work"
rmapi mv "Proyectos/Mschapv2 replacement with EAP TEAP" "Domus/Projects/Work"
rmapi mv "Proyectos/Network Segmentation Plan" "Domus/Projects/Work"
rmapi mv "Proyectos/Security Assesments" "Domus/Projects/Work"
rmapi mv "Proyectos/TRC Assessments" "Domus/Projects/Work"

# Personal projects
rmapi mv "Proyectos/Devops personal" "Domus/Projects/Personal"
rmapi mv "Proyectos/Mi sitio web" "Domus/Projects/Personal"
rmapi mv "Proyectos/Violín" "Domus/Projects/Personal"
rmapi mv "Proyectos/Proyectos" "Domus/Projects/Personal"

# Legacy items
rmapi mv "Bullet Journal 2025" "Legacy"
rmapi mv "Get+It+Done+-+NOW!+2025+Full+Color+Planner+12-21" "Legacy"
rmapi mv "Ultimate digital planner 2025" "Legacy"
rmapi mv "Notas aleatorias" "Legacy"

Phase 3: Generate Worklog Summary PDF

Initial summary PDF covering worklogs with descriptions:

# Step 1: Extract summaries from all worklogs
find ~/atelier/_bibliotheca/domus-captures/docs/modules/ROOT/pages/2026 \
  -name "WRKLOG-*.adoc" | sort | while read f; do
  date=$(basename "$f" .adoc | sed "s/WRKLOG-//")
  desc=$(grep -m1 "^:description:" "$f" | sed "s/:description: //")
  [ -z "$desc" ] && desc="[No summary recorded]"
  echo "$date|$desc"
done > /tmp/worklog-summaries.txt

# Step 2: Generate HTML (simplified version)
# Creates entries with date, summary, and notes area

# Step 3: Convert to PDF
weasyprint /tmp/worklog-2026.html /tmp/WRKLOG-2026-Summary.pdf

# Step 4: Upload to reMarkable
rmapi put /tmp/WRKLOG-2026-Summary.pdf "Domus/Worklogs/2026"

Result: 12-page PDF, 84KB, covering 52 worklogs with annotation space.

Phase 4: Cleanup

# Remove empty source folders
rmapi rm "Lenguaje"
rmapi rm "Proyectos"

# Fix nested folder issue (Español/Español created by mv)
# When moving a folder INTO an existing folder, rmapi nests it
# Solution: Move contents individually, then delete empty nested folder
for item in DELE "DELE C1 - edelsa" Escritura Gramática Literatura Vocabulario; do
  rmapi mv "Domus/Education/Languages/Español/Español/$item" \
           "Domus/Education/Languages/Español"
done
rmapi rm "Domus/Education/Languages/Español/Español"

Phase 5: Generate Full Year Daily Worklog PDF

This is the comprehensive daily planner with 3 pages per day for the entire year.

Step 5.1: Extract All Worklog Summaries

# Create summaries file with date|summary format
find ~/atelier/_bibliotheca/domus-captures/docs/modules/ROOT/pages/2026 \
  -name "WRKLOG-*.adoc" | sort | while read f; do
  date=$(basename "$f" .adoc | sed "s/WRKLOG-//")
  desc=$(grep -m1 "^:description:" "$f" | sed "s/:description: //")
  [ -z "$desc" ] && desc=""
  desc=$(echo "$desc" | sed 's/"/\\"/g')  # Escape quotes
  echo "${date}|${desc}"
done > /tmp/worklog-summaries.txt

Step 5.2: Run Python PDF Generator

The full generator script is saved at scripts/remarkable/generate-worklog-pdf.py.

# Generate full year PDF
python3 scripts/remarkable/generate-worklog-pdf.py \
  --year 2026 \
  --output /tmp/WRKLOG-2026-Full.pdf

# Or use the sync script
./scripts/remarkable/sync-remarkable.sh 2026

Step 5.3: PDF Structure

The generated PDF contains:

Table 2. PDF Contents
Section Description

Cover Page

Title, subtitle, generation date, statistics

Monthly Dividers

Full-page month headers (January through December)

Daily Pages (×3 per day)

Structured template, dot grid sketch, blank canvas

Daily Page 1: Structured Template
┌─────────────────────────────────────────────────────────┐
│ 2026-03-23 (Sunday)  [LOGGED]           Week 12        │
├─────────────────────────────────────────────────────────┤
│ ┌─────────────────────────────────────────────────────┐ │
│ │ 📋 Digital Worklog Summary                          │ │
│ │ Sunday - Sustainable worklog system implementation, │ │
│ │ modular partials architecture                       │ │
│ │ → See: domus-captures/pages/2026/03/WRKLOG-...adoc │ │
│ └─────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────┤
│ ☐ Morning Focus / Intentions                           │
│ ┌─────────────────────────────────────────────────────┐ │
│ │                                                     │ │
│ └─────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────┤
│ ☐ Work Priorities (CHLA)                               │
│ ┌─────────────────────────────────────────────────────┐ │
│ │                                                     │ │
│ └─────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────┤
│ ☐ Education / Training                                 │
│ ┌─────────────────────────────────────────────────────┐ │
│ │                                                     │ │
│ └─────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────┤
│ ☐ Personal / Infrastructure                            │
│ ┌─────────────────────────────────────────────────────┐ │
│ │                                                     │ │
│ └─────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────┤
│ End of Day Reflection                                  │
│ ┌─────────────────────────────────────────────────────┐ │
│ │                                                     │ │
│ └─────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────┘
Daily Page 2: Dot Grid Sketch Canvas
┌─────────────────────────────────────────────────────────┐
│ 2026-03-23 (Sunday) — Sketch / Visual Thinking  DOTGRID│
├─────────────────────────────────────────────────────────┤
│ · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│ · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│ · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│                                                         │
│                  (Full page dot grid)                   │
│                                                         │
│ · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│ · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
└─────────────────────────────────────────────────────────┘
Daily Page 3: Blank Canvas
┌─────────────────────────────────────────────────────────┐
│ 2026-03-23 (Sunday) — Notes / Free Canvas        BLANK │
├─────────────────────────────────────────────────────────┤
│                                                         │
│                                                         │
│                                                         │
│                  (Full page blank)                      │
│                                                         │
│                                                         │
│                                                         │
└─────────────────────────────────────────────────────────┘

Step 5.4: Status Badges

Each day shows a status badge:

Badge Meaning Visual

LOGGED

Digital worklog exists with summary

Green background, includes summary block

NO LOG

Past day without digital worklog

Orange background, empty template

FUTURE

Upcoming day (not yet occurred)

Gray background, empty template

Step 5.5: Upload to reMarkable

# Remove old version if exists
rmapi rm "Domus/Worklogs/2026/WRKLOG-2026-Daily" 2>/dev/null || true

# Upload new comprehensive version
rmapi put /tmp/WRKLOG-2026-Full.pdf "Domus/Worklogs/2026"

# Verify
rmapi ls "Domus/Worklogs/2026"
# Output:
# [f] WRKLOG-2026-Full
# [f] WRKLOG-2026-Summary

Final PDF Statistics

Metric Value

Total Pages

1,095+

File Size

~1.3 MB

Days Covered

365 (Jan 1 - Dec 31, 2026)

Pages Per Day

3 (structured + dot grid + blank)

Days with Summaries

49 (as of 2026-03-23)

Monthly Dividers

12

Maintenance Procedures

Weekly: Regenerate PDF (Optional)

If you want updated summaries in the PDF:

cd ~/atelier/_bibliotheca/domus-captures
./scripts/remarkable/sync-remarkable.sh 2026

Monthly: Verify Structure

# Check structure integrity
rmapi ls "Domus"
rmapi ls "Domus/Worklogs/2026"

Yearly: Generate New Year PDF

# Create structure for new year
rmapi mkdir "Domus/Worklogs/2027"

# Generate PDF
python3 scripts/remarkable/generate-worklog-pdf.py --year 2027 --upload

Scripts Reference

generate-worklog-pdf.py

Location: scripts/remarkable/generate-worklog-pdf.py

# Usage
python3 generate-worklog-pdf.py [options]

# Options
--year YEAR      Target year (default: current)
--output FILE    Output filename (default: WRKLOG-YEAR-Full.pdf)
--html-only      Generate HTML only, skip PDF
--upload         Upload to reMarkable after generation

# Examples
python3 generate-worklog-pdf.py --year 2026
python3 generate-worklog-pdf.py --year 2026 --upload
python3 generate-worklog-pdf.py --year 2027 --output ~/Desktop/2027.pdf

sync-remarkable.sh

Location: scripts/remarkable/sync-remarkable.sh

# Usage
./sync-remarkable.sh [year]

# Default: current year
./sync-remarkable.sh
./sync-remarkable.sh 2026
./sync-remarkable.sh 2027