ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว

Concord Engine

โดย harsh-chandakรุ่น 0.4.0i★ 0iรันบนเครื่อง
ชื่อใน registryio.github.harsh-chandak/concord-engine

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ไม่ต้องใส่คีย์
  • หมวด เครื่องมือนักพัฒนา
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Scale parallelism. Preserve alignment. Hold a fleet of coding agents to one set of decisions.

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ · ✓ ตรวจคำสั่งแล้ว 14 พ.ย. 2569

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. เปิดไฟล์ตั้งค่าของแอป Claude บนคอม

    SettingsDeveloperEdit Config

  3. วางค่าตั้งนี้แล้วบันทึกไฟล์

    {
      "mcpServers": {
        "concord-engine": {
          "command": "npx",
          "args": [
            "-y",
            "concord-engine"
          ]
        }
      }
    }
  4. ปิดแอป Claude แล้วเปิดใหม่

  5. ลองเลย

    ใช้ Concord Engine บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ Concord Engine หรือมีชื่อเครื่องมือของ Concord Engine ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 1 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • CONCORD_ENGINE_DIR Where the decision log lives. Defaults to .concord-engine in the working directory. Commit it — the log is the shared contract between your agents.

คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ Concord Engine ไม่ได้

Concord Engine ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ Concord Engine ได้

  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

ข · ตัวอื่นในหมวด เครื่องมือนักพัฒนา ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  3. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --scope user concord-engine -- npx -y concord-engine
  4. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น Concord Engine ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  5. ลองเลย

    ใช้ Concord Engine บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ Concord Engine หรือมีชื่อเครื่องมือของ Concord Engine ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 1 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • CONCORD_ENGINE_DIR Where the decision log lives. Defaults to .concord-engine in the working directory. Commit it — the log is the shared contract between your agents.

คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  3. เปิดแชตของ AI ใน Cursor โหมด Agent

  4. ลองเลย

    ใช้ Concord Engine บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ Concord Engine หรือมีชื่อเครื่องมือของ Concord Engine ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 1 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • CONCORD_ENGINE_DIR Where the decision log lives. Defaults to .concord-engine in the working directory. Commit it — the log is the shared contract between your agents.

คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  3. เปิดแชตของ AI ใน VS Code โหมด Agent

  4. ลองเลย

    ใช้ Concord Engine บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ Concord Engine หรือมีชื่อเครื่องมือของ Concord Engine ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 1 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • CONCORD_ENGINE_DIR Where the decision log lives. Defaults to .concord-engine in the working directory. Commit it — the log is the shared contract between your agents.

คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ Concord Engine อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ติดตั้งในเครื่อง

Claude Code

claude mcp add --scope user concord-engine -- npx -y concord-engine

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "concord-engine": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}

ค่าที่ต้องใส่เอง

  • CONCORD_ENGINE_DIR env
    Where the decision log lives. Defaults to .concord-engine in the working directory. Commit it — the log is the shared contract between your agents.

คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
63/สัปดาห์
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
0.4.0
ส่งเข้า registryi
12 พ.ย. 2569
แก้โค้ดล่าสุดi
12 พ.ย. 2569
ผู้ทำ
harsh-chandak
แพ็กเกจ
npm: concord-engine
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 14 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub harsh-chandak ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด เมื่อวานซืน

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 5885 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 93% ของอีก 5885 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 5885 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Concord Engine ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวานซืน และส่งรุ่นล่าสุด (0.4.0) เข้า registry เมื่อวานซืน

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี REA, GitHub, Serena MCP: the IDE for your agent

ตัวอื่นในหมวดเดียวกัน

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

REA

แกะการทำงานของโปรแกรมและแอปจากเทอร์มินัลหรือจาก AI

โดย morlutoใช้กันมาก↓ 388.7K/สัปดาห์★ 457.7Kอัปเดต เมื่อวานซืน

รันบนเครื่อง

GitHub

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

โดย githubใช้กันมาก★ 34.4Kอัปเดต 11 วันที่ผ่านมา

บนเครื่องหรือคลาวด์

Serena MCP: the IDE for your agent

A powerful toolkit for coding, providing semantic retrieval and editing capabilities.

โดย oraiosใช้กันมาก↓ 35.2K/สัปดาห์★ 31.4Kอัปเดต 6 เดือนที่ผ่านมา

รันบนเครื่อง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Concord Engine

Scale parallelism. Preserve alignment.

Describe a task. A fleet of agents builds it. They come back with work that is finished, tested and documented — and that agrees with itself, because none of them was allowed to contradict a decision another had already made.

Parallel agents don't scale past the human in the middle. You run five to go faster, four of them are right, the product is broken, and the only thing that catches it is you — reading everything, holding the whole picture, re-explaining choices that were already settled.

That isn't a prompting problem. Your agents have memory and they have verification, and neither answers the question that actually breaks a parallel run:

Did these two agents just settle the same question differently?

Concord Engine answers it by comparison, never by a model, and refuses the second answer at the moment it is written.

Recorded, not drawn. brag/record.mjs runs the real CLI and captures its output verbatim; brag/video.html only renders what was captured. The loop shows the refusal arc — the full run also writes the contract, binds it and briefs four workers first.

What a decision is

This is the part that gets undersold. A "decision" is not a variable name. It is any question two agents could answer differently and both be reasonable — and the cost is never the question itself, it's that nothing goes red.

KindReal examples
conventionmoney is integer minor units, never a float · timestamps are UTC ISO-8601 strings · pagination is cursor-based · every non-2xx body is {"error":" "} · retries are idempotent and capped at 3 · migrations ship in two reversible stages
api-contractPOST /api/orders returns 201, not 200 · tenant scoping lives in the path, not a header
enumorder status is `pending\paid\shipped · roles are owner\admin\member` · webhook events are a closed set
schemaid is a uuid and not null · amount_cents is an integer · soft deletes use deleted_at, not a boolean
namingthe identifier is user_id · the destination field is url, not target

Four agents implementing four reasonable answers to "what does an error body look like" produce four green test suites and one broken product. That is the whole category, and it is much wider than route paths.

The failure it stops

A refunds feature, split across a backend worker and a client worker. The backend settles the error shape. The client, working in parallel and with no visibility into the backend's files, reaches a different answer:

$ concord-engine decide --unit client --kind convention \

--subject "error response body shape" \ --value 'every non-2xx body is {"code":" ","detail":" "}' --as client

refused this contradicts a decision already in force. d-003 api (lead): error response body shape = every non-2xx body is {"error":" "} because: the client shows it to a person yours: every non-2xx body is {"code":" ","detail":" "}

Adopt the existing value, or supersede it deliberately: --supersedes d-003 --layer pm (an override, recorded as one) --force (record the disagreement for check to surface)

Verbatim from the recording above.

The agent is stopped at the moment it tries to disagree, and told what is in force, who decided it, why, and the two legitimate ways out. Not at integration. Not by you.

Three ways to run it

As a skill, which is how most people will use it. Describe the task; the agent runs the whole loop — authors the contract, binds it, briefs each worker, fans out, gates every decision, runs the acceptance checks, writes the design doc.

/concord-engine:concord-engine add refunds across the API, the client and the schema

/concord-engine:concord-engine migrate us off the legacy auth tables, five workers /concord-engine:concord-engine rename the tenant concept to workspace everywhere

Nothing about the task has to be small, and nothing has to be a route.

As an MCP server, so an agent already mid-task can reach the gate without being handed a workflow. Twelve tools: write_contract, bind_contract, brief_unit, fleet_plan, run_acceptance, generate_docs, cost_report, plus record_decision, binding_decisions, open_conflicts, record_attempt, status.

As a CLI, for humans and for CI. concord-engine check exits non-zero when anything contradicts, which is a one-line pipeline step.

Why this isn't another memory tool

ToolAnswersDoesn't answer
Handoff / memory tools"what did the last agent know?""do these two agree?"
Orchestrator verification"did this worker do its task?""do these two agree?"
Edit-conflict detection"did two agents touch one file?""do these two agree?"

And the obvious way to answer it — store decisions as prose, ask a model whether two of them conflict — is slow, costs a call per check, and is wrong often enough that people stop trusting it. A coordination layer nobody trusts is worse than none, because it adds latency and false alarms to a workflow that had neither.

Concord Engine decides agreement by comparison, never by a model. Decisions are typed and narrow, so a contradiction is a comparison: same subject, different value. No API call exists anywhere in the decision path — there's a test that fails if any file in that path can reach outside the process, and a second one that fails if any file in the package, anywhere, calls a model.

The loop

The gate above is one organ. v0.2 is the body around it: you describe a task, and the fleet that builds it is bound to one set of decisions from before the first line of code.

  describe a task

| [1] CONTRACT the agent authors JSON to a published schema; | the package validates it and stores it v [2] BIND the contract's decisions enter the log at PM layer, | binding before any code exists v [3] BRIEF one brief per unit: its slice, the decisions it must | honour, what it may not decide, how it will be judged v [4] FAN OUT the host spawns one worker per unit, each getting a | brief and nothing else v [5] GATE a worker that tries to decide something contradictory | is refused, told what is in force and who may override v [6] ACCEPT every acceptance criterion carries a command; the run | is not done until all of them exit 0 v [7] DOCS the design doc is generated from the decision log — | what was decided, by whom, and why v [8] COST what the fan-out sent, in bytes

concord-engine spec --schema              # the contract shape, as JSON Schema

concord-engine spec --from contract.json # validate and store it concord-engine bind --contract add-refunds concord-engine fleet --contract add-refunds # every brief, as JSON concord-engine brief --contract add-refunds api # one worker's brief concord-engine accept --contract add-refunds # run every check concord-engine docs --contract add-refunds concord-engine cost --contract add-refunds

Every loop command takes --contract. The MCP server exposes the same set as write_contract, bind_contract, brief_unit, fleet_plan, run_acceptance, generate_docs and cost_report.

The contract

One JSON document. The agent writes it; the package decides whether it holds.

openSubjects is the part people skip and shouldn't. Naming a thing before anyone decides it is what stops two workers inventing two different names for it — see Honest limits for the run where that went wrong.

{

"id": "add-refunds", "goal": "one sentence a reviewer can judge the result against", "scope": { "in": ["..."], "out": ["..."] }, "decisions": [ // binding from t=0, at PM layer { "kind": "api-contract", "subject": "refund endpoint", "value": { "method": "POST", "path": "/api/refunds", "status": 201 }, "rationale": "why this and not the alternative" } ], "openSubjects": [ // known to need deciding, not yet decided { "kind": "convention", "subject": "error response body shape", "note": "the server and the client both serialise this" } ], "units": [ // one worker each { "id": "api", "goal": "...", "files": ["src/api/**"], "mayDecide": ["convention"], // everything else must be requested "dependsOn": [] } ], "acceptance": [ { "id": "a1", "statement": "refunds endpoint returns 201", "check": "npm test -- refunds", "unit": "api" } ] }

Validation is not a formality. A contract is rejected when two of its own decisions contradict each other, when a unit depends on one that doesn't exist, when the dependency graph has a cycle, when a unit has no acceptance criterion, or when a criterion has no command. All of it in one pass, because fixing one error per round trip is the expensive way to find four:

$ concord-engine spec --from contract.json

concord-engine: contract is not valid:

  • unit "api" depends on "ui", which is not a unit in this contract
  • acceptance[a1] has no check — a criterion without a command is a wish

bind then puts the contract's decisions into the log at PM layer. If one of them contradicts a decision already live, binding refuses — a new contract quietly overriding decisions in force is the exact failure this tool exists to prevent.

What one worker gets

A brief, and not the conversation. This is the actual brief the unit that wrote this file was given. Verbatim, abridged only where marked:

$ concord-engine brief --contract concord-engine-v2 readme

You are one worker on "concord-engine-v2". Your unit is "readme".

GOAL Rewrite README.md around the loop without losing the v0.1 pitch that the gate is the product.

FILES YOU OWN README.md Do not edit files outside this list. Another worker owns them.

DECISIONS ALREADY IN FORCE — these are not suggestions

  • [convention] model calls inside the package = no file in the package may call a model or open a network connection; enforced by a test (the one defensible sentence is that agreement is decided by comparison, never by a model — if authoring moves inside the package that stops being true)
  • [naming] cli flag for selecting a contract = --contract (every loop command takes it, so it has to be the same word everywhere) ... 3 more decisions in force

WHAT YOU MAY DECIDE nothing — you write code and decide nothing

WHAT YOU MUST NOT DECIDE ALONE naming, convention, api-contract, enum, schema

RECORD A DECISION LIKE THIS — the flags are what enforce the two lists above concord-engine decide --contract concord-engine-v2 --unit readme \ --kind --subject " " --value ' ' --as readme --rationale " "

Omitting --unit skips the check on what you may decide. Use the MCP tool record_decision if you have it; it gates the same way. A refusal means a decision already covers this: adopt the existing value. Do not work around it, and do not --force it.

DONE MEANS [a-readme] the README covers the loop and keeps the gate pitch $ test -f README.md && grep -q 'spec --schema' README.md && grep -q 'refus' README.md && grep -q -i 'estimate' README.md

fleet prints all of them at once,

ตัดมาแค่ช่วงต้น อ่านต่อใน repo