(content, key)
| 348 | .slice(0, 8); |
| 349 | } |
| 350 | |
| 351 | function parseFrontmatterLike(content, key) { |
| 352 | const pattern = new RegExp(`^${key}:\\s*(.+)$`, 'im'); |
| 353 | const match = content.match(pattern); |
| 354 | return match ? match[1].trim() : null; |
| 355 | } |
| 356 | |
| 357 | function readFleetSessions(projectRoot) { |