Skip to content

Commit 3227f3f

Browse files
committed
feat: add index markers to DECISIONS.md and LEARNINGS.md templates
New projects will now start with INDEX:START/INDEX:END markers, allowing the auto-index feature to work from the first entry. Signed-off-by: Jose Alekhinne <alekhinejose@gmail.com>
1 parent 34f9a8c commit 3227f3f

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

.context/TASKS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## Phase 1.a: Cleanup and Release
1313

14-
- [ ] T1.2.0.1b Add index markers to DECISIONS.md and LEARNINGS.md templates
14+
- [x] T1.2.0.1b Add index markers to DECISIONS.md and LEARNINGS.md templates
1515
so new projects start with index structure #priority:low #added:2026-01-29
1616
- [ ] T1.2.5 feat: implement `--context-dir` global flag to override context directory path
1717
Documented in cli-reference.md as planned. Should allow `ctx --context-dir /path status`.

internal/templates/DECISIONS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Decisions
22

3+
<!-- INDEX:START -->
4+
<!-- INDEX:END -->
5+
36
<!-- Use this format for each decision:
47
58
## [YYYY-MM-DD] Decision Title

internal/templates/LEARNINGS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
# Learnings
22

3+
<!-- INDEX:START -->
4+
<!-- INDEX:END -->
5+
36
<!-- Add gotchas, tips, and lessons learned here -->

0 commit comments

Comments
 (0)