Skip to content

Commit eb3c515

Browse files
committed
docs(memory): add capstone-and-course-refinement plan for next session continuation
1 parent 41478ee commit eb3c515

2 files changed

Lines changed: 81 additions & 1 deletion

File tree

agent-memory/INDEX.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
# Agent Memory Index
22

3-
<!-- Catalog of knowledge/ -- pure directory listing, not a status tracker. -->
3+
<!-- Catalog of knowledge/ and plans/ -- pure directory listing, not a status tracker. -->
44
<!-- Format: append a row; never delete rows (rename/move instead). -->
55

6+
## Plans
7+
8+
| Directory | Description | Status | Added |
9+
|-----------|-------------|--------|-------|
10+
| `plans/capstone-and-course-refinement` | Final Project Capstone 9-step Architecture & Course Design Refinement | IN_PROGRESS | 2026-07-30 |
11+
| `plans/course-content-upgrade` | Course Content Readability & Pedagogical 4-Block Upgrade | COMPLETED | 2026-07-29 |
12+
613
## Knowledge
714

815
| File | Domain | Tags | Added |
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Feature Plan & Task Progress: Capstone Architecture & Course Refinement
2+
3+
**Status:** IN_PROGRESS (Session checkpoint saved for tomorrow's continuation)
4+
**Target:** Final Project Capstone (`Final-Project/`) & All 12 Course Tracks (`course.js`, UI/UX Design)
5+
**Created:** 2026-07-30
6+
**Latest Release:** `v0.9.1` (Git commit `41478ee`, tagged & pushed to GitHub)
7+
8+
---
9+
10+
## 🎯 Overview & Context (สิ่งที่ทำลงไป ที่ไหน เพราะอะไร ทำไมถึงทำ)
11+
12+
### 1. ⌨️ Code Editor & Keyboard Usability Enhancements
13+
- **ไฟล์ที่เกี่ยวข้อง:** `shared/editor-autocomplete.js`, `shared/engine.js`, `shared/sync-engine.sh`
14+
- **สิ่งที่ทำ:**
15+
- เพิ่ม **Keyboard Navigation** (กดลูกศร `ArrowDown`, `ArrowUp` วนลูป, `Enter`, `Tab`, `Escape`) พร้อม Active Highlight (`rgba(59, 130, 246, 0.25)`) และ `scrollIntoView`
16+
- เพิ่ม **Built-in Domain Keywords Dictionary** ครอบคลุมคำสั่งประจำวิชาทั้ง 12 แท็กวิชา (ตั้งแต่ API `request`, `get`, `status` ไปจนถึง SQL, RF, k6, Security, a11y, และ DS&A)
17+
- เพิ่ม **Pair Backspace Deletion** ลบคู่เครื่องหมาย (`''`, `""`, `()`, `{}`, `[]`) พร้อมกันเมื่อกด Backspace
18+
- เพิ่ม **Smart Enter Indentation** เมื่อกด Enter ภายใน `{}` จะยุบย่อหน้า 2 ช่องและขึ้นบรรทัดใหม่อัตโนมัติ
19+
- **ทำไมถึงทำ:** ผู้เรียนได้รับประสบการณ์การเขียนโค้ดที่ลื่นไหล สมจริงใกล้เคียง IDE ยุคใหม่ (VS Code / WebStorm) และไม่ต้องเสียเวลาพิมพ์ชื่อคำสั่งยาวๆ เองทั้งหมด
20+
21+
---
22+
23+
### 2. ⚠️ Case-Sensitivity Guard
24+
- **ไฟล์ที่เกี่ยวข้อง:** `API-Testing/course.js`, `Playwright/course.js`, `shared/test-case-sensitivity-guard.mjs`
25+
- **สิ่งที่ทำ:**
26+
- สแกนจับโค้ดที่ใช้ HTTP Methods ตัวพิมพ์ใหญ่ เช่น `.GET()`, `.POST()` แล้วแสดงข้อความแนะนำเป็นภาษาไทยว่า *"Playwright และ JavaScript เป็น Case-sensitive กรุณาใช้ตัวพิมพ์เล็ก .get() เท่านั้น"*
27+
- **ทำไมถึงทำ:** ผู้เรียนที่ย้ายมาจาก Tool อื่น (เช่น Cypress หรือ Postman) มักติดสับสนใช้ตัวพิมพ์ใหญ่ การแสดงข้อความตรงจุดช่วยให้เข้าใจข้อผิดพลาดและปรับพฤติกรรมทันที
28+
29+
---
30+
31+
### 3. 🇯🇵 Final Project: Japan Concert Trip (All-in-One Capstone Suite)
32+
- **ไฟล์ที่เกี่ยวข้อง:** `Final-Project/course.js`, `Final-Project/index.html`, `Final-Project/style.css`, `index.html` (Main Hub)
33+
- **สิ่งที่ทำ:**
34+
- ออกแบบระบบโปรเจกต์จบ **Japan Concert Trip Capstone** (วันบินออก 14 ต.ค. 2026 / ดูคอนเสิร์ต Tokyo Dome 16 ต.ค. 2026 / บินกลับ 18 ต.ค. 2026)
35+
- วางโครงสร้างเป็น **9-Step Software & QA Engineering Lifecycle Architecture**:
36+
1. **`Step 1/9` [Framework Design]:** วางโครงสร้าง Base Config (`baseURL`, `trace`) ตั้งแต่ต้น
37+
2. **`Step 2/9` [DB Design]:** ออกแบบตาราง SQL `japan_trip_bookings`
38+
3. **`Step 3/9` [Backend API]:** เขียน Playwright API Test ยิง POST `/api/japan-trip/book` บันทึกลง DB
39+
4. **`Step 4/9` [Security & Visa]:** เขียน API Guard ตรวจพาสปอร์ตไทย & ฟรีวีซ่า 15 วัน (`visaRequired: false`)
40+
5. **`Step 5/9` [Web UI Automation]:** เขียน Playwright Web UI Test (POM) เลือกวันเดินทาง 14 ต.ค. และกดยืนยันจอง
41+
6. **`Step 6/9` [Mobile App Automation]:** เขียน Robot Framework เปิดแอปมือถือ `/mobile/e-ticket` ดึง QR Code
42+
7. **`Step 7/9` [Performance k6]:** เขียน k6 Load Test จำลองแฟนคลับ 1,000 VUs แย่งกดตั๋วพร้อมกัน
43+
8. **`Step 8/9` [CI/CD Pipeline]:** รวมสคริปต์จาก Step 1-7 ไปรันบน GitHub Actions YAML
44+
9. **`Step 9/9` [⭐ DS&A Bonus Challenge]:** เขียน Binary Search O(log n) ค้นหาราคาตั๋วเครื่องบินที่ดีที่สุด (สำหรับสายโหด!)
45+
- ออกแบบ UI มีแบนเนอร์ Capstone, กล่อง **Mock Elements Preview Grid** (#departure-date, #confirm-booking-btn, ฯลฯ), และปุ่ม Hint / Solution
46+
- **ทำไมถึงทำ:** เปลี่ยนผู้เรียนจาก "คนเขียนโค้ดแยกข้อ" ให้เป็น "Senior/Staff QA Engineer" ที่มองภาพรวมและวางโครงสร้าง Automation Infrastructure ของระบบจริงได้ครบตั้งแต่ต้นจนจบ
47+
48+
---
49+
50+
## 📋 Task Checklist สำหรับพรุ่งนี้ (Next Session Continuation)
51+
52+
### Phase 1: Refine Course Content & Pedagogical Alignment (ปรับเนื้อหาคอร์สเรียน)
53+
- [ ] **ปรับเนื้อหา 12 แท็กวิชาให้สอดรับกับ Capstone Lifecycle:**
54+
- ทบทวนโจทย์และเนื้อหาในวิชา `Framework-Design`, `Playwright`, และ `API-Testing` ให้มี Keyword/Concept ที่เชื่อมโยงเข้ากับโปรเจกต์จบอย่างเป็นธรรมชาติ
55+
- [ ] **ตรวจสอบความถูกต้องของ Theory & Examples:**
56+
- เช็คว่าทุกบทเรียนใน 12 วิชาสอดคล้องกับ 4-Block Standard (Goal, Matrix/Comparison, Code Snippet, Common Pitfall)
57+
58+
### Phase 2: Refine UI/UX Design & Visual Polish (ปรับ Design & Layout)
59+
- [ ] **ปรับปรุง UI หน้าคอร์สเรียนและ Final Project ให้สวยงามพรีเมียม:**
60+
- ยกระดับ Aesthetics (Glassmorphism, Vibrant Color Badges, Responsive Layout สำหรับ Mobile/Tablet)
61+
- เพิ่ม Visual Indicators บอกสถานะความคืบหน้าของแต่ละ Step ใน Capstone Sidebar
62+
- [ ] **ปรับแต่ง E-Ticket & Mock Web Preview Card:**
63+
- ขยายกล่อง UI Elements Preview ให้มีปุ่มกดจำลอง (Interactive Mock Component) บนหน้าเว็บเพื่อให้ผู้เรียนลองกดดูหน้าตาตั๋ว E-Ticket จริงได้
64+
65+
### Phase 3: Verification & Release
66+
- [ ] **รัน `npm test` แบบเต็มรูปแบบ:** ตรวจสอบ 245 บทเรียน (490 checks) ให้เขียว 100%
67+
- [ ] **ตัด Git Commit & Tag Release ใหม่:** หากมีการปรับแก้เพิ่มเติมในคอร์ส
68+
69+
---
70+
71+
## 🧪 Status Verification
72+
- `npm test` passed 100% clean (245 lessons, 490 checks passed, 0 failed)
73+
- Git branch `main` at commit `41478ee` tagged `v0.9.1` pushed to origin remote.

0 commit comments

Comments
 (0)