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

CommitLore

โดย MongLong0214รุ่น 1.2.0i★ –i–
ชื่อใน registryio.github.MongLong0214/commitlore

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Git-native decision memory for coding agents: only the decisions still in force for the edited path

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

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

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: –
  • ช่องทาง (transport):
  • หมวด: ค้นข้อมูลและความจำของ AI

ติดตั้ง

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

ก่อนติดตั้ง

ผู้ทำยังไม่ได้ใส่วิธีติดตั้งใน registry ให้ดู README ของผู้ทำด้านล่าง

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

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

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

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

  • ✓ ผ่าน

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

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

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

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

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

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

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

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

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

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

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

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

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

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

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

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

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

CommitLore ปลอดภัยไหม?

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

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

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

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

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

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

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.2.0) เข้า registry 3 เดือนที่ผ่านมา

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

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code

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

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

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

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

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต วันนี้
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 20 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

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

CommitLore

Stop re-reviewing the same bad idea.

Decision authority for coding agents, owned by Git.

Keep constraints, rejected alternatives, and warnings in Git — then deliver only what is still in force, so an agent is not handed a decision the repository already reversed.

No hosted memory. The repository owns the record.

English · 한국어 · 日本語 · 简体中文

Install once. Then initialise each repository where you want it to work.

curl -fsSL https://raw.githubusercontent.com/MongLong0214/commitlore/v1.7.5/install.sh | sh -s v1.7.5

Prefer to read the installer first?

curl -fsSLO https://raw.githubusercontent.com/MongLong0214/commitlore/v1.7.5/install.sh

sh install.sh v1.7.5

Or skip the script: the checkout it makes is one you can make yourself.

git clone --depth 1 --branch v1.7.5 https://github.com/MongLong0214/commitlore node commitlore/dist/commitlore.mjs --version

It installs a pinned source checkout and a wrapper that runs node /dist/commitlore.mjs — no compiled download, no build step.


The code survives. The judgment doesn't.

An agent proposes an approach. Your team rejects it because of a non-obvious constraint. The final code preserves the outcome, but usually not why the alternative was rejected. A later agent sees only the code and proposes the same idea again.

CommitLore keeps that judgment beside the code.

What CommitLore does

BehaviorProduct path
CapturesPreserves constraints, rejected alternatives, and warnings that a diff cannot show. Candidates are checked against the session transcript and the staged diff.commitlore capture
PreservesStores accepted records in Git trailers or notes instead of a hosted memory database.commit hooks · refs/notes/commitlore
Tracks lifecycleKeeps active, superseded, and expired decisions distinct.commitlore stale
ScopesSelects decisions for the path an agent is about to edit.commitlore context
Grades trustDelivers records as directives, claims, or withheld content.default / signed mode
DeliversGives supported agents current context before an edit.plugin hook · MCP

Most commits should carry no record. CommitLore is for judgment the code cannot preserve, not for narrating every change.

60 seconds to decision-aware agents

1. Install the CLI

macOS and Linux:

curl -fsSL https://raw.githubusercontent.com/MongLong0214/commitlore/v1.7.5/install.sh | sh -s v1.7.5

Windows:

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/MongLong0214/commitlore/v1.7.5/install.ps1))) v1.7.5

Requires Node.js 22.23.2+ and Git. The script checks both before it writes anything.

2. Connect your agent

Claude Code:

/plugin marketplace add MongLong0214/commitlore

/plugin install commitlore@commitlore

Codex:

commitlore plugin install-codex

The plugin puts no commitlore on PATH, so the commands below need the CLI install as well. The installers also detect and wire supported MCP hosts where they can do so safely; the exact matrix is below.

3. Initialize a repository
cd your-repository

commitlore init commitlore context .

Start a new agent session after installing or updating a plugin: a running session keeps the runtime it loaded.

Then work and commit normally. On supported skill integrations, CommitLore is considered during ordinary commit requests and stays silent when there is nothing worth preserving. You do not need to name CommitLore on every commit.

Want accepted records to stage without a per-record prompt? The repository can opt in once with commitlore auto on. That policy is repository-owned and applies to the team, so it is not silently enabled by this page.

What the agent receives

Before editing src/pricing.ts:

commitlore: active records for src/pricing.ts

Limit [claim] r-price01 a1b2c3d4 calculatePrice owns final checkout pricing only

Ruled-out [claim] r-price01 a1b2c3d4 Reuse it for admin quotes | eligibility and rounding semantics differ

[claim] means "weigh this as information." A repository can opt into the stronger signed-authority mode. Delivery gives the agent context; it does not block the edit.

Security model →

Why Git?

The repository should own the judgment behind its code.

CommitLore stores records in ordinary Git trailers and notes, so they branch, merge, clone, review, and survive provider changes with the code they explain.

SQLite is only a rebuildable index. Delete it and Git still holds the record.

Finding an old decision is not enough

A general memory or retrieval system asks:

Which old text looks related?

CommitLore asks:

Which recorded decisions still apply to this path now?

A superseded decision can be highly relevant and still be wrong as current guidance. Relevance and authority are different questions.

How it works

  1. Capture — an agent drafts only decision context the diff cannot show.
  2. Verify — CommitLore checks the draft against the session and staged diff.
  3. Preserve — the accepted record lives in Git with identity and lifecycle.
  4. Deliver — before a later edit, only active records for that path are returned.

Most commits carry no record. The commit hook validates a record when one is present; it does not invent one.

An existing hook is not overwritten. commitlore init honours core.hooksPath, moves any hook already installed to .commitlore-chained, and calls it first; commitlore hooks uninstall puts it back.

What happens automatically

HostPre-edit deliveryVerified capture workflowDeterministic every-commit capture
Claude CodeAutomatic through the pluginAvailable through the plugin skillNot certified
CodexAutomatic through the pluginAvailable through the plugin skillNot certified
HermesAvailable after commitlore hermes installAvailable after host installNot certified
Gemini CLI, Cursor, Windsurf, opencodeMCP delivery where the host uses the registrationProcedure exposed over MCPNo
AGENTS.md hostsProcedure onlyProcedure onlyNo

"Available" means the prepare → verify → stage workflow exists. It does not mean every eligible commit is assessed automatically.

Users on supported skill hosts do not need to say "record this in CommitLore" on every commit. The remaining limitation is host initiation, not a required per-record user command.

Squash-merge repositories

A squash merge replaces a branch's commits with one new commit, and that commit does not carry the branch's trailers. If your repository merges with the squash button, a record made on a branch is dropped by the merge unless something carries it onto the commit that squashed it.

Two paths cover that, and one of them needs a one-time setup:

How the squash happensWhat carries the recordSetup
git merge --squash locallyThe installed prepare-commit-msg hook, from SQUASH_MSGNone — commitlore init already did it
GitHub's Squash and merge buttonThe action/preserve GitHub ActionThe workflow below

GitHub performs that merge on its own servers, where no local git hook runs at all, so the local hook cannot see it. The Action is the only place that has what it needs at that moment: the pull request, its commits, and the commit they were squashed into.

Add .github/workflows/commitlore-preserve.yml:

name: CommitLore squash inheritance

pull_request_target, not pull_request: a pull request from a fork gets a

read-only token on pull_request, so the job would build the record and then

fail to publish it.

on: pull_request_target: types: [closed]

permissions: contents: write # the one push to refs/notes/commitlore

concurrency: group: commitlore-notes cancel-in-progress: false

jobs: preserve: if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps:

  • uses: actions/checkout@v4 with:

the merge commit is on the base branch, and a closed pull request

has no merge ref left to check out

ref: ${{ github.event.pull_request.base.ref }} fetch-depth: 0

the mirror this action writes; publishing from a checkout that never

read it would fork the notes history

  • run: git fetch --no-tags origin '+refs/notes/commitlore:refs/notes/commitlore'

a squash merge usually deletes the branch, and then the pull request's

own ref is the only one still reaching the commits that carry records

  • run: git fetch --no-tags --force origin '+refs/pull/${{ github.event.pull_request.number }}/head:refs/commitlore/pr-head'

The action runs CommitLore from a checkout of this repository: the

package is private, so there is no published npm name to fall back to.

dist/ is committed (ADR-0011), so nothing needs building.

  • uses: actions/checkout@v4 with: repository: MongLong0214/commitlore ref: v1.7.5 path: .commitlore-cli persist-credentials: false
  • uses: MongLong0214/commitlore/action/preserve@v1.7.5 with: cli-path: .commitlore-cli/dist/cli.js

Two rules for whoever edits this next, because pull_request_target runs with a writable token: never check out the pull request's head here, and never execute anything reachable from refs/commitlore/pr-head. The fork's commits arrive as data to read trailers from, not as code to run.

commitlore doctor reports whether this is switched on, under squash inheritance. It says so before a record is lost; squash conservation is the row that reports records already gone.

If you merge with

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

ถาม PopNx