From aba184492a493dcbb3581f21805fd6f69afba0a7 Mon Sep 17 00:00:00 2001 From: Garfield Date: Sat, 21 Mar 2026 18:51:40 -0400 Subject: [PATCH] Add helper scripts and templates - load-context.sh: Quickly display latest context - TEMPLATE.md: Standard format for new sessions - Ready for future projects --- TEMPLATE.md | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ load-context.sh | 15 +++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 TEMPLATE.md create mode 100755 load-context.sh diff --git a/TEMPLATE.md b/TEMPLATE.md new file mode 100644 index 0000000..7c03d85 --- /dev/null +++ b/TEMPLATE.md @@ -0,0 +1,50 @@ +# Session: YYYY-MM-DD - Project Name + +## Participants +- **User**: Garfield (garfield@fetcherpay.com) +- **AI**: Kimi Code CLI + +## Session Overview +Brief summary of what was accomplished. + +--- + +## 1. Context/Problem Statement +What were we trying to solve or achieve? + +## 2. Investigation/Work Done +Detailed steps taken, research performed. + +## 3. Results/Achievements +What was the outcome? + +## 4. Key Decisions Made +Important choices or configurations set. + +## 5. Technical Details +- Files modified: +- Settings configured: +- Dependencies installed: +- URLs/endpoints: + +## 6. Issues Encountered & Solutions +| Issue | Solution | +|-------|----------| +| Problem 1 | How it was fixed | + +## 7. Next Steps / TODO +- [ ] Task 1 +- [ ] Task 2 + +## 8. References +- Related repos: +- Documentation links: +- External resources: + +--- + +## Session Files Modified/Created +- `file1` - Description +- `file2` - Description + +## Session Status: [IN PROGRESS / COMPLETE / BLOCKED] diff --git a/load-context.sh b/load-context.sh new file mode 100755 index 0000000..6adaee3 --- /dev/null +++ b/load-context.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# Usage: ./load-context.sh [project-name] +# Loads the latest conversation context for a project + +PROJECT=${1:-"mql-trading-bots"} +LATEST=$(ls -t 2*.md 2>/dev/null | head -1) + +if [ -z "$LATEST" ]; then + echo "No context files found." + exit 1 +fi + +echo "=== LATEST CONTEXT: $LATEST ===" +echo "" +cat "$LATEST"