Knowledge Hubบทที่ 02
Foundation · พื้นฐาน

สะพาน Discord · Discord Bridge

Bridge ที่ดีไม่ใช่ bridge ที่ตอบทุกอย่าง แต่คือ bridge ที่รู้ว่าเมื่อไหร่ควรเงียบ · A good bridge is not one that answers everything; it knows when silence is correct.

Mention is a gate

บทเรียนจากการทดสอบ Pien live คือ bridge รับ mention ได้จริง แต่ข้อความเข้า Codex ขณะกำลังทำงานอาจติด queue action แทน auto-enter นี่เป็น bug/limitation ฝั่ง maw hey กับ busy Codex pane ไม่ใช่ปัญหา visibility ของ Discord

The live Pien test showed the bridge receives mentions, but delivery into a busy Codex pane can land at a queue action instead of auto-submit. That is a maw hey / busy-pane limitation, not Discord visibility failure.

Reply gate

ห้องเรียนสอนให้ default เป็น silence: ตอบเมื่อถูก address, มี action, ไม่ duplicate, และ verify ก่อน claim เท่านั้น การ post กลับผิด channel คือการละเมิด source discipline.

The classroom pattern is default silence: respond only when addressed, actionable, non-duplicate, and verified. Posting into the wrong channel violates source discipline.

Access matrix

nat-s-preps และ mafia-config พูดซ้ำเรื่อง access matrix, require_mention, allowlist, และ status drift เครื่องมืออย่าง maw discord status ต้องสะท้อน runtime จริง ไม่ใช่แค่ registry ที่เก่า

nat-s-preps and mafia-config repeatedly discuss access matrices, require_mention, allowlists, and status drift. Tools such as maw discord status must reflect actual runtime, not only a stale registry.

Bridge invariant

Bridge รับข้อความได้ ≠ agent ตอบแล้ว · Receiving a Discord wake is not the same thing as the agent having answered.

ต้องตรวจทั้งสามชั้น: Discord API saw message, bridge logged inbox/wake, target pane accepted/submitted the prompt.

Verify all three layers: Discord API saw the message, the bridge logged inbox/wake, and the target pane accepted/submitted the prompt.