Skip to content

Commit b596b8a

Browse files
committed
fix: docs formatting;
1 parent f765bce commit b596b8a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Each folder in `loop/Week-X/` should contain a `pacer.yaml` or markdown journal
7474
→ Serve `outputs/` as public-facing artifacts
7575

7676
3. **Loop Structure**
77-
- New loop via CLI (Recommend) `python scripts/smos.py week-01 --topic="Memory & Pointers"`
77+
- New loop via CLI (Recommend) `python scripts/smos.py week-01-c --topic="Memory & Pointers"`
7878
- Drop notes into `docs/`
7979
- Write blockers / insight logs in `logs/`
8080
- Launch a loop via `loop/week-01/pacer.yaml`, `loop/week-01/claim.md`, `loop/week-01/reflect.md`

scripts/smos.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,13 @@ def init_loop(loop_id, topic):
6161
os.makedirs("docs", exist_ok=True)
6262
os.makedirs("logs", exist_ok=True)
6363
os.makedirs("outputs", exist_ok=True)
64+
os.makedirs(f"outputs/{loop_id}", exist_ok=True)
6465

6566
create_file(
6667
f"docs/{loop_id}.md",
6768
TEMPLATE_NOTE.format(loop_id=loop_id, topic=topic),
6869
)
69-
create_file(
70-
f"logs/{today}-{loop_id}-log.md", TEMPLATE_LOG.format(today=today)
71-
)
70+
create_file(f"logs/{today}-{loop_id}.md", TEMPLATE_LOG.format(today=today))
7271
create_file(
7372
f"loop/{loop_id}/pacer.yaml",
7473
TEMPLATE_PACER.format(loop_id=loop_id, topic=topic, today=today),
@@ -82,7 +81,7 @@ def init_loop(loop_id, topic):
8281
TEMPLATE_REFLECT.format(loop_id=loop_id, topic=topic),
8382
)
8483
create_file(
85-
f"outputs/{loop_id}-output.md",
84+
f"outputs/{loop_id}/{loop_id}-output.md",
8685
TEMPLATE_OUTPUT.format(loop_id=loop_id, topic=topic, today=today),
8786
)
8887

0 commit comments

Comments
 (0)