/standup - Daily Standup
Quick check: pending tasks, appointments, recent progress.
Usage
/standup # Full standup checkAction
Gather info from multiple sources:
0. Timestamp + Physical Location (auto)
date "+🕐 %H:%M %Z (%A %d %B %Y)" && gh api repos/laris-co/nat-location-data/contents/current.csv --jq '.content' | base64 -d | grep iPhone | head -1 | cut -d',' -f9Show: "📍 Currently at: [place]"
1. Open Issues (งานค้าง)
gh issue list --state open --limit 10 --json number,title,updatedAt --jq '.[] | "#\(.number) \(.title)"'2. Resolve Vault Path
PSI=$(readlink -f ψ 2>/dev/null || echo "ψ")3. Current Focus
cat "$PSI/inbox/focus-agent-main.md" 2>/dev/null | head -204. Schedule/Appointments
grep "^|" "$PSI/inbox/schedule.md" 2>/dev/null | grep -v "Date\|---" | head -55. Recent Progress (24h)
git log --since="24 hours ago" --format="%h %s" | head -106. Latest Retrospective
ls -t "$PSI/memory/retrospectives"/**/*.md 2>/dev/null | head -17. LINE Appointment Scan (optional)
Scan recent LINE messages for potential appointments:
- Read contacts from vault:
$PSI/memory/resonance/contacts.md
- If file doesn't exist, skip this section silently - Look for LINE group names/aliases listed there
- Call
line_groups(date: "today") to see active groups - For each active group, call
line_digest(group: name, date: "today")
- Also check yesterday: line_digest (group: name, date: yesterday's YYYY-MM-DD)
- Extract messages containing date/time patterns:
- Thai: วันที่, พรุ่งนี้, มะรืน, นัด, ประชุม, เจอกัน - English: dates, "meeting", "appointment", "schedule" - Times: HH:MM, X โมง, บ่าย, เช้า
- Cross-reference with existing schedule (step 4) to skip duplicates
- Present found appointments:
### LINE Appointments Found - [date] [event] (from: [group]) — Add? Y/N - On user approval → call
arra_schedule_addfor each confirmed appointment
8. Auto-post to Pulse Discussion
After generating the standup output, post it as a comment on today's Pulse standup discussion.
- Find today's discussion:
TODAY=$(date "+%Y-%m-%d")
TODAY_THAI=$(date "+%A" | sed 's/Monday/จันทร์/;s/Tuesday/อังคาร/;s/Wednesday/พุธ/;s/Thursday/พฤหัสบดี/;s/Friday/ศุกร์/;s/Saturday/เสาร์/;s/Sunday/อาทิตย์/')
DISCUSSION_ID=$(gh api graphql -f query="{ repository(owner: \"laris-co\", name: \"pulse-oracle\") { discussions(first: 5, orderBy: {field: CREATED_AT, direction: DESC}) { nodes { id title } } } }" --jq ".data.repository.discussions.nodes[] | select(.title | test(\"Standup.*$TODAY|Standup.*$TODAY_THAI\")) | .id" | head -1)- If discussion found → post standup as comment:
gh api graphql -f query='mutation($id: ID!, $body: String!) { addDiscussionComment(input: {discussionId: $id, body: $body}) { comment { url } } }' -f id="$DISCUSSION_ID" -f body="$STANDUP_BODY"Format the comment body as:
## [Oracle Name] — Standup
### Done (24h)
- [commits/progress]
### In Progress
- [current focus]
### Pending Issues
- [open issues summary]
### Appointments
- [schedule items]
### Focus
- [next action]
---
🤖 Auto-posted by /standup- If no matching discussion found → skip silently (Pulse hasn't created today's discussion yet). Do NOT create one.
- Show confirmation:
✅ Posted to Pulse Discussion #[number]or skip silently.
Output Format
## Standup @ [TIME]
### Done (24h)
- [commit 1]
- [commit 2]
### In Progress
- [from focus.md]
### Pending Issues
| # | Task | Updated |
|---|------|---------|
| #N | title | date |
### Appointments Today
- [from schedule.md or "ไม่มีนัด"]
### Next Action
- [suggest based on priorities]
---
💡 `/schedule` to see full calendarRelated
/schedule- Full calendar view/recap- Full context summary
ARGUMENTS: $ARGUMENTS