Plumbline — a trust layer for LLM answers

com.lattice-sys.plumbline由 plumbline.lattice-sys.com 發布官方發布者v0.1.0更新於 Oct 24, 2026

Every figure re-checked against SQL-computed facts; unsupported questions refused with the reason.

已驗證Streamable HTTP可網頁執行資料庫安全與監控資料與分析

概覽

AI 產生的概覽

一個遠端信任層,用 SQL 計算的事實核驗大型語言模型回答,對無法佐證的問題予以拒絕,並給出每則回答的可信度評級。

可以做什麼
提交業務問題,取得組合好的提示詞與一次性交接金鑰,再提交草稿由伺服器端 SQL 事實核驗,得到已發布的信任封套或附理由的拒絕。執行已註冊、帶版本的唯讀事實查詢,並把從他處取得的數字與已驗證事實庫交叉比對。瀏覽事實目錄,查看已收到回答背後的 SQL、證據文件與關聯 ID。對快照執行自己的唯讀 SQL 或沙箱 JavaScript,結果會被明確標示為未驗證。查詢僱用資料,例如員工搜尋、匯報鏈、薪資異常、福利彙總與部門比較。
適用情境
當針對固定資料集的回答必須可溯源、可稽核時使用,例如人力資源或薪資報表,每個數字都需要 SQL 憑證,無法佐證的問題應被拒絕而非猜測。也適合需要檢視回答背後的查詢與證據,或評定某次工作階段信任等級的情境。
執行需求
遠端 streamable HTTP 端點;未宣告任何套件、環境變數或請求標頭。部分工具依賴用戶端支援 MCP sampling 來起草回答;不支援時會明確拒絕,此時應改用準備/提交流程。
安裝前請注意
伺服器保存僱用、薪酬與福利資料,查詢與證據文件會把這些資料暴露給所連線的助理。run_sql 與 run_code 繞過規劃器與事實核對關卡,結果未經驗證,不應作為可信內容呈現。多個工具會在伺服器端寫入草稿並發布判定,準備金鑰是一次性交接權杖,必須原樣回傳。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Plumbline — a trust layer for LLM answers,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.lattice-sys.plumbline%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "plumbline-a-trust-layer-for-llm-answers": {
      "type": "http",
      "url": "https://plumbline.lattice-sys.com/mcp/demo"
    }
  }
}

工具

18

ask_prepare

BYO: Prepare Grounded Prompt

BYO step 1 of 2: run the server-side trust plane for a business question (plan, SQL-verified facts, evidence retrieval, answerability gate, prompt composition) and return the composed prompt plus a single-use prepare_key (a signed handoff token; echo it back VERBATIM and in full, or use the short ask_id alias; in prose always say the ask_id, never the token). Read-only: prepare holds no server state and is safe to run without confirmation — the receipt is minted only at ask_submit_draft. Pass the user's question VERBATIM: do not expand, narrow, or reword it — the server plans coverage itself, and an unrequested rewrite misleads the user about what was asked. If you must revise it (e.g. to fold in essential conversation context), you MUST also pass the user's exact wording in original_question so the panel can disclose the revision. YOU (the connected model) then write the draft answer from that prompt and submit it with ask_submit_draft — generation happens on your side, so no LLM credential ever reaches this server. An unanswerable question still receives a prompt for reference; its draft is force-refused at submit and can never earn a verified verdict. Only a policy refusal stops at prepare. Recommended drafting path on this deployment.

輸入參數historyquestion必填original_question

ask_result

BYO: Fetch Published Verdict

Fetch the published verdict for an ask_prepare session (status: pending, published, or unknown). This is the app panel's polling surface, so the verified answer renders inside the panel that prepared the question. As the connected model you normally never need it: write your draft and call ask_submit_draft. Exception: if you are asked to submit for a session whose composed prompt is no longer in your context, call this with include_prompt true to receive that session's exact prompt again, then draft and submit.

輸入參數prepare_key必填include_prompt

ask_submit_draft

BYO: Verify Client Draft

BYO step 2 of 2: verify the draft you wrote for an ask_prepare prompt. The server runs the SAME post-answer guards the strict path uses (facts presence, tagged claims, concept binding, earner-name grounding) against its own SQL facts and publishes the trust envelope; a draft that fails any guard is refused. Pass the prepare_key token back VERBATIM and in full. Handoffs are single-use per verdict and expire.

輸入參數modelraw_answerprepare_key必填decline_reason

compare_departments

Compare Departments (Verified)

Compare two departments by headcount and compensation. NOTE: internal drafting is disabled on this deployment. If your client supports MCP sampling, this tool asks YOUR model to draft in the same call (verified server-side); otherwise it returns an explicit refusal, and you should use ask_prepare then ask_submit_draft to draft with your own model.

輸入參數a必填b必填

cross_check

Cross-Check a Figure

Corroborate a figure you obtained (e.g. from run_sql) against the verified fact store: it re-derives the named value_key from the same SQL the verified pipeline uses and compares. AGREE lifts an otherwise-unverified session to 'corroborated'; DISAGREE marks a CONFLICT (worse than unverified). This is the only way a raw figure earns trust back, and it can only ever agree with a number the fact store itself computed. Resolvable keys cover the single-snapshot fact concepts plus temporal and per-department growth keys (e.g. indexed_people.<dept>); per-question keys (a named department's median, one person's direct-report count) return unmapped.

輸入參數value必填value_key必填

describe_fact_capabilities

Discover Fact Capabilities

List safe metadata for the registered fact queries available on the server-pinned dataset: IDs, labels, parameters, and result shapes, never SQL. Use this when a question appears relevant but a selected route produced no facts; a route miss is not evidence that the underlying records are absent.

無需輸入參數。

find_payroll_anomalies

Payroll Anomalies (Verified)

Surface payroll and deduction anomalies in the latest snapshot. NOTE: internal drafting is disabled on this deployment. If your client supports MCP sampling, this tool asks YOUR model to draft in the same call (verified server-side); otherwise it returns an explicit refusal, and you should use ask_prepare then ask_submit_draft to draft with your own model.

無需輸入參數。

get_ai_act_transparency

EU AI Act Transparency Descriptor

Return the Art. 13 transparency descriptor: intended purpose, capabilities, limitations, human oversight, logging mechanism, and article mapping.

無需輸入參數。

get_answer_queries

Show the SQL Behind an Answer

Show the SQL behind one answer you already received, addressed by its correlation_id. Returns only the recorded fact queries (id, version, label, SQL, parameters, result schema, dataset version) for that answer: no rows, no evidence text, no answer text, no envelope, and no way to list the catalog. Recorded SQL has its arguments inlined as literals, so a query that filters on a specific value discloses that value; the built-in workforce queries inline only snapshot ids. Requires the persisted compliance log and the same session that produced the answer. Absent from the no-auth public demo.

輸入參數correlation_id必填

get_evidence_document

Show an Evidence Document Behind an Answer

Show ONE retrieved evidence document behind an answer you already received, addressed by that answer's correlation_id plus a document_id from its evidence_documents references. Returns the full stored document (title, body, metadata, embedding_text) with the retrieval rank and scores the answer recorded; never the raw embedding vector. Only documents the addressed answer actually recorded resolve: there is no fetch-by-id in general and no way to browse the store. Requires the persisted compliance log and the same session that produced the answer. Absent from the no-auth public demo.

輸入參數document_id必填correlation_id必填

get_manager_chain

Manager & Reporting Chain (Verified)

Return the management/reporting chain for an employee. NOTE: internal drafting is disabled on this deployment. If your client supports MCP sampling, this tool asks YOUR model to draft in the same call (verified server-side); otherwise it returns an explicit refusal, and you should use ask_prepare then ask_submit_draft to draft with your own model.

輸入參數employee必填

query_fact

Run Registered Fact Query

Execute a registered, versioned read-only fact query against the server-pinned dataset. Provide query_id and version only: SQL is approved by the domain pack, never caller-supplied. Returns normalized rows plus a reproducible trust receipt containing the dataset and query versions.

輸入參數version必填query_id必填parameters

run_code

Run Sandboxed JavaScript (Unverified)

Run YOUR OWN JavaScript in the in-tenant coderunner sandbox with the read-only, snapshot-scoped plumb.query() SDK. No filesystem, environment, or general network access. Read plumbline://sandbox-api.d.ts before writing code. The raw-SQL server opt-in is enabled, but results still bypass the trust path and are UNVERIFIED. Returns stdout/stderr plus metadata-only host-call trace evidence.

輸入參數code必填conceptsacknowledge_unverified

run_sql

Run Read-Only SQL (Unverified)

Run YOUR OWN single read-only SELECT/WITH over the virtual snapshot_* relations. The query is statically verified against an allowlist, rewritten to the active snapshot, and run read-only. This BYPASSES the planner, grounding gate, and answer-facts reconciliation, so results are UNVERIFIED and labelled as such. Deployments may refuse the FIRST raw call of a session pending acknowledge_unverified: true (the refusal says how to proceed). Optionally declare `concepts` to learn which figures the fact store could corroborate via cross_check.

輸入參數sql必填conceptsacknowledge_unverified

search_docs

Search Plumbline Docs

Search Plumbline's own product and architecture documentation (how the verification, refusal, and trust layer itself works). Returns ranked, citable doc passages; does NOT touch employment data, and returns an empty result set honestly when nothing matches.

輸入參數limitquery必填

search_employee

Search Employee (Verified)

Search the employment fact store for a person and return a grounded, verified answer. NOTE: internal drafting is disabled on this deployment. If your client supports MCP sampling, this tool asks YOUR model to draft in the same call (verified server-side); otherwise it returns an explicit refusal, and you should use ask_prepare then ask_submit_draft to draft with your own model.

輸入參數query必填

summarize_benefits

Benefits Summary (Verified)

Summarize benefit enrollments, optionally scoped (e.g. a department or plan). NOTE: internal drafting is disabled on this deployment. If your client supports MCP sampling, this tool asks YOUR model to draft in the same call (verified server-side); otherwise it returns an explicit refusal, and you should use ask_prepare then ask_submit_draft to draft with your own model.

輸入參數scope

trust_finalize

Finalize Trust Verdict

Return the session's graded trust verdict: the tier (verified / registered-query / generated-sql / corroborated / unverified / conflict / refused), which trusted steps were skipped across the session, the deterministic confidence (k of n figures store-verified, weakest figure tier, conflicts), the per-figure provenance, the per-call ledger, and the at-your-own-risk disclaimer.

無需輸入參數。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 83%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。