diff --git a/README.md b/README.md index a738339..cf40451 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,20 @@ Markdown files are named with a timestamp: `YYYYMMDD-HHMMSS [markers].md` For example: `20260131-210000 Task Streamd.md` +An optional `_file_type` segment can follow the timestamp to classify the file: + +``` +YYYYMMDD-HHMMSS_ [markers].md +``` + +For example: `20260413-083000_daily.md` — the `daily` prefix is stored as the `file_type` dimension and propagates to all child shards. + Within files, `@`-prefixed markers at the beginning of paragraphs or headings define how a shard is categorized. ## Commands - `streamd` / `streamd new` — Create a new timestamped markdown entry, opening your editor +- `streamd daily [YYYYMMDD]` — Open today's daily file (or create it if missing); pass a date to open that day's file instead - `streamd todo` — Show all open tasks (shards with `@Task` markers), numbered for easy reference - `streamd todo N edit` — Edit task N in your editor, jumping to the task's line - `streamd todo N done` — Mark task N as done by inserting `@Done` after `@Task` diff --git a/REQUIREMENTS.md b/REQUIREMENTS.md index 49f3f42..1c5b8ec 100644 --- a/REQUIREMENTS.md +++ b/REQUIREMENTS.md @@ -275,13 +275,18 @@ This allows conditional placements to override base placements. ### R15: File Name Format -Files follow the pattern: `YYYYMMDD-HHMMSS [markers].md` +Files follow the pattern: `YYYYMMDD-HHMMSS[_file_type] [markers].md` - `YYYYMMDD`: Date (8 digits, required) - `HHMMSS`: Time (4-6 digits, optional, pads with zeros) +- `_file_type`: Optional alphanumeric prefix identifying the file type (e.g. `_daily`) - `[markers]`: Space-separated marker names extracted from file content -**Extraction regex:** `^(?P\d{8})(?:-(?P