Knowledge Hubบทที่ 03
Runtime · maw

พื้นฐาน maw · maw Fundamentals

maw คือมือจับของระบบ agent: เปิดงาน ส่งข้อความ อ่าน pane ปิด lifecycle และเก็บหลักฐาน · maw is the agent control handle: open work, send messages, read panes, close lifecycle, and preserve evidence.

Canonical verbs

NeedVerbRule
Start project workmaw workon Default for scoped project tasks
Send signed messagemaw hey Use for Oracle/worker communication
Read evidencemaw capture / maw peekUse before claiming status
Finish worktreemaw done Run from outside the target window
Spawn coding workersmaw team spawn --wt --engine omxOnly from the L2 orchestrator

Verify the actual runtime

หลายข้อความใน server แก้ความเชื่อผิดจากการดู config อย่างเดียว ต้องดู process, pane, command line, logs และผลลัพธ์จริง เช่น Pien bridge ต้องดู PM2 interpreter ด้วย ไม่ใช่แค่ดูว่ามี token อยู่

Many server messages correct the habit of trusting config alone. Check process, pane, command line, logs, and actual output. For example, Pien bridge required verifying the PM2 interpreter, not only token presence.

Old commands expire

ห้องเรียนย้ำว่าเครื่องมือเก่าและ alias เก่าทำให้ debug ผิดทางได้ คำสั่งที่ retire แล้วต้องหายจากคู่มือและความจำของ agent ด้วย ไม่ใช่แค่หายจาก code

The classroom repeatedly shows old tools and aliases can send debugging in the wrong direction. Retired commands must disappear from docs and agent memory, not only from code.

maw as proof

ผลลัพธ์ของ maw capture, maw panes, maw fleet pr-queue, และ PM2 logs เป็นหลักฐานระดับ operation ที่ดีกว่า narrative ว่า agent น่าจะทำงานอยู่

maw capture, maw panes, maw fleet pr-queue, and PM2 logs are operational evidence. They beat a narrative that an agent is probably working.