Sealtier

io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 7, 2026

Local OKF tier check for Markdown folders: scan tiers, trust verdicts and git change reports.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

本機唯讀 MCP 伺服器,依 OKF v0.2 frontmatter 層級評估 Markdown 資料夾,並提供可信度判定與 git 變更對可信度的影響。

可以做什麼
  • 掃描 Markdown 資料夾的 OKF v0.2 層級:語料整體層級(最弱的檔案)、逐檔層級、已有與缺少的欄位、各層級覆蓋率、0-100 分數與 Merkle 根。
  • 檢查單一檔案或整個資料夾的可信度判定(stale、unverified 或 ok)及原因、OKF 合規性,以及適用哪一種 v0.2 時間戳寫法。
  • 比對 Markdown 檔案與某個 git 參照(預設 HEAD),列出 frontmatter 與內文變更及其對可信度的影響。
適用情境
適合在維護 Markdown 知識庫或文件集時使用:讓助理指出還缺哪些 frontmatter 欄位才能達到 Bronze、Silver 或 Gold、文件是否仍可信,以及最近的編輯對可信度造成什麼影響。
執行需求
透過 npx(npm 套件)或已發布的容器映像,以 stdio 在本機執行。未宣告任何帳號、API 金鑰、環境變數或標頭。變更報告工具要求目標資料夾是 git 工作區,且本機需有 git。不使用網路。
安裝前請注意
三個工具皆為唯讀且不發出網路請求,風險較低。變更工具會呼叫本機 git,並停用傳輸。超出所支援 YAML 子集的 frontmatter 會被標示為無法解析,且不計入任何層級。0-100 分數與 Merkle 根是公開說明的重建演算法,並非原廠商公布的公式。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Sealtier,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

sealtier

sealtier checks a folder of Markdown files against the Open Knowledge Format (OKF) v0.2 frontmatter tiers — Bronze, Silver, Gold — entirely on your own machine. It tells you which tier a knowledge base reaches, exactly which frontmatter fields each file is missing for the next tier, whether a document can still be trusted, and what a git edit did to that trust. It reads only: a scan writes nothing anywhere, and no tool in this package makes a network call.

It is a clean-room rebuild of the jidoseal-mcp server's three local tools. The original's two remaining tools are not rebuilt: one creates a paid Stripe Checkout session (a payment funnel), and the other's decisive output is a price that is published only on the vendor's website, so it cannot be reproduced from the public record.

What it checks

A field counts only if it has real content — title: with nothing after it earns nothing.

TierA file must have (populated)
Bronzetype
SilverBronze + title, description, timestamp, owner
GoldSilver + status, review_policy, reviewed_at, next_review_at

A corpus's tier is the tier of its weakest file. Coverage is the share of files reaching each tier. Each missing field is marked AUTO (a value the tool can propose) or NEEDS-CLIENT (only the owner can answer). The 0–100 score is round(mean of the three coverage values) — a reconstruction, disclosed as such: the original publishes a worked value (44 for coverage 66.7 / 33.3 / 33.3) but no formula, and this formula reproduces it. The Merkle root is the hex sha256 of the concatenated per-file sha256 hex digests, files ordered by name — also a disclosed reconstruction.

A note on egress: the original vendor claims its scan engine sends nothing over the network. That is the vendor's own claim about its proprietary engine, not independently audited. This rebuild is simpler to reason about: it imports no HTTP client and opens no socket, and jidoseal_changes starts exactly one program — the local git, with transports disabled (protocol.allow=never, GIT_NO_LAZY_FETCH=1).

One recorded deviation: the original also writes .jidoseal/manifest.json and .jidoseal/progress.ndjson under the scanned folder. This rebuild is read-only and writes nothing.

Install

bash
npx @reneturcios/sealtier jidoseal_scan '{"path":"/path/to/notes"}'

Or run the container image:

bash
docker run -i ghcr.io/cloudcorprecords/sealtier

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

Each command takes its arguments as one JSON object and prints the JSON result.

bash
# Tier a folder of Markdown filessealtier jidoseal_scan '{"path":"~/notes"}'
# Trust verdict for one file, or every *.md in a foldersealtier jidoseal_trust '{"path":"~/notes/policies/leave.md"}'
# What changed since HEAD, and what it did to trustsealtier jidoseal_changes '{"path":"~/notes"}'sealtier jidoseal_changes '{"path":"~/notes","ref":"v1.2"}'
sealtier --version

Exit codes: 0 on success, 1 when a tool cannot complete (the error names the problem — a missing folder, a failed git status), 2 for usage errors.

MCP server

One bin serves both faces. The mcp subcommand starts a stdio MCP server:

bash
npx -y @reneturcios/sealtier mcp

MCP client configuration:

json
{  "mcpServers": {    "sealtier": {      "command": "npx",      "args": ["-y", "@reneturcios/sealtier", "mcp"]    }  }}

Tools

ToolInputWhat it returns
jidoseal_scanpath (string, required) — folder of Markdown filesCorpus tier (its weakest file), per-file tier with present fields and per-tier missing lists, coverage per tier, a 0–100 score, per-file sha256 hashes, a Merkle root, an audit id, and the rubric.
jidoseal_trustpath (string, required) — one Markdown file, or a folderPer file: verdict stale / unverified / ok with reasons, OKF conformance (a populated type), trust tier, status, whether it is stale, and which_0_2 — which text of OKF v0.2 its timestamps follow (2026-08-21 when stale_after, sources[].last_modified, or usage_window is a datetime with a UTC offset; both forms are accepted).
jidoseal_changespath (string, required) — a git working tree; ref (string, optional, default HEAD)Every *.md that differs from the ref: frontmatter changes, whether the body changed, and the trust effects — a verified document whose text changed while verified did not, verified or type removed, generated.at not updated, status or stale_after changed.

Frontmatter parsing is a small hand-rolled YAML subset (flat key: value pairs, quoted strings, inline lists/maps, one level of indented block maps and lists). A frontmatter block outside that subset is reported per file as frontmatter_ok: false; such a file reaches no tier and no field counts until it is fixed by hand.

Development

bash
npm installnpm run build   # tsc -> dist/npm test        # node test runner over test/*.test.ts, no network, fake git executornpm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE.

來源:README.md,提交 24bdc55

工具

3

jidoseal_scan

Scan a folder of Markdown files and report its OKF v0.2 frontmatter tier: corpus tier (its weakest file), per-file tier, present fields, and the exact fields missing for each unreached tier, plus coverage per tier, a 0-100 score and a Merkle root of the corpus. Local and read-only.

輸入參數path必填

jidoseal_trust

Check one Markdown file, or every Markdown file in a folder, before relying on it: verdict stale, unverified or ok with reasons, from its OKF v0.2 trust and lifecycle fields, plus its trust tier, OKF conformance and which text of v0.2 its timestamps follow. Reads only.

輸入參數path必填

jidoseal_changes

Report every Markdown file that differs from a git commit (default HEAD, so uncommitted edits and new files): what changed in its frontmatter and body, and what that did to its trust. Reads only; runs the local git with transports disabled.

輸入參數refpath必填

版本歷史

1
  1. v0.1.0最新Nov 4, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分