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 分