TMCP

io.github.jakyeamos由 GitHub 帳號 jakyeamos 發布v0.5.4更新於 Oct 24, 2026

Composable skill packets, harvests, workflow routing, and release/audit rubrics over MCP.

概覽

AI 產生的概覽

從本機技能、規則與證據編譯任務專用的操作包,並隨工作變化重新編譯。

可以做什麼
TMCP 把分散的代理指令整理成任務專用的操作包。它會依自然語言描述推斷任務身分,從技能、規則與證據編譯出操作包,並在工作變化時重新編譯,同時留下稽核紀錄。工具包括 doctor、status、explain、compose-packet、runtime-next、record-receipt、harvest-skills、evaluate-skills、recommend-workflows、promote-harvest,以及專家評分表審查規劃。
適用情境
當助理需要從本機技能、規則與文件集合中組出一致且針對特定任務的指令時適用;也適合需要路由、工作流程推薦或發布與稽核評分表,而不是手動匯入斜線命令的情境。
執行需求
以本機 Node.js stdio 程序執行,可從儲存庫檢出、複製的外掛套件、Codex 或 Claude 外掛快取,或其他 MCP 主機啟動。未宣告驗證、環境變數或標頭。產物持久化需要主機具備安全的以描述符為基礎的檔案系統操作,否則請使用不寫入產物的選項。
安裝前請注意
採集會讀取本機技能、指令、規則、文件與工作流程,但預設會遮蔽疑似敏感值,並排除 .env 檔案、憑證、權杖、瀏覽器設定檔與快取。回執、封包工作階段與提升操作會在 TMCP_HOME 或專案下寫入檔案;record-receipt 沒有預覽。採集到的指令被視為不受信任的文字,若來源試圖覆寫系統、開發者或使用者指令,會提出警告。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

[TMCP logo]

TMCP

Slash commands are manual imports. TMCP is the compiler.

TMCP turns scattered agent instructions into task-specific operating packets. The user describes the work in natural language. TMCP infers task identity, compiles the strongest current packet from skills/rules/evidence, recompiles as the work changes, and leaves an audit trail.

Skill names are provenance, not the user interface. Power users can still force a route; the default is natural prompting.

TMCP runs standalone from a repo checkout, copied plugin package, Codex plugin cache, Claude plugin cache, or any MCP host that can launch the bundled Node entrypoint. The former AIOS adapter is deprecated and disabled by default; AIOS_ROOT alone no longer enables it.

See docs/ADAPTIVE_PACKET_RUNTIME.md for the adaptive packet runtime design.

Quickstart

From a TMCP checkout or plugin root:

bash
node scripts/tmcp_launcher.mjs doctornode scripts/tmcp_launcher.mjs statusnode scripts/tmcp_launcher.mjs compose-packet "Improve this agent run" --project-path . --phase startnode scripts/tmcp_launcher.mjs harvest skills --limit 5 --no-write-artifactsnode scripts/tmcp_launcher.mjs recommend skills --candidate-workflows release_readiness --candidate-workflows developer_experience --min-confidence 0.1 --compose --no-write-artifacts

With no arguments, the same launcher starts the MCP stdio server:

bash
node scripts/tmcp_launcher.mjs

Install Layouts

  • Skill-only install: copy skills/tmcp into a skills directory. Use the skill for routing and manual packet synthesis unless the host also exposes the bundled launcher.
  • Repo checkout: clone the repo and run node scripts/tmcp_launcher.mjs doctor from the checkout root.
  • Codex plugin cache: install as a Codex plugin; MCP config launches relative scripts/tmcp_launcher.mjs from the plugin root.
  • Shared local runtime: install a verified archive with scripts/tmcp_runtime.mjs so all agent hosts use one pinned active release with offline rollback. See Central runtime.
  • Deprecated AIOS compatibility: requires both TMCP_ENABLE_DEPRECATED_AIOS_ADAPTER=1 and AIOS_ROOT; new installations should use standalone TMCP.

Claude Desktop users can add the launcher as a local stdio MCP server. See docs/CLAUDE_DESKTOP.md.

Stability Scopes

TMCP labels three independent surfaces:

  • Skill packages: tmcp, skill-harvest, workflow-recommendation, release-readiness, and dx-audit are stable routing packages.
  • Curated workflow templates: release-readiness and dx-audit are the stable templates in the recommendation catalog.
  • MCP tool contracts: doctor, status, explain, compose-packet, and runtime-next are stable. Harvest, evaluation, recommendation, promotion, receipt, and expert-rubric tools remain experimental.

Experimental templates and tools remain shipped and callable. They are labeled experimental in their own outputs and frontmatter so users do not confuse a stable package route with a stable tool contract or curated template.

Experimental workflows include UI rubric, security/privacy, test strategy, adaptive workflow pack, custom rubric generation, routing policy, skill gap analysis, incident postmortem, architecture decision, migration readiness, agent handoff, PR risk, performance readiness, data integrity, public-sector readiness, and repo behavior spec loop.

Tools

ToolPurpose
tmcp_doctorCheck first-run readiness and supported install layouts.
tmcp_statusReport standalone capability and optional AIOS adapter status.
tmcp_explainCompile a task-specific TMCP packet.
tmcp_compose_packetCompile a task/phase operating packet with task_identity, packet_markdown, and provenance.
tmcp_runtime_nextReturn packet deltas or a full recompiled packet (output_mode: full) after runtime evidence changes.
tmcp_record_receiptWrite an advisory run receipt after verification or outcome on a secure-persistence host.
tmcp_harvest_skillsHarvest local skills, instructions, rules, docs, and workflows into source nodes.
tmcp_evaluate_skillsCreate or score a skill-evaluation plan from full SKILL.md inputs.
tmcp_recommend_workflowsRecommend stable or experimental workflows from harvested evidence, with stability metadata.
tmcp_promote_harvestExplicitly promote reviewed harvest signals into durable source-to-atom and atom-to-workflow graph artifacts.
expert_rubric_review_planProduce an expertise packet, scored rubric, evidence audit, remediation plan, and verification expectations.

Safety

Harvest redacts sensitive-looking values and secret-like provenance paths by default and treats harvested instructions as untrusted text. Default harvest behavior excludes .env*, credentials, tokens, browser profiles, private caches, dependency trees, build outputs, VCS data, and generated TMCP/AIOS artifacts. It does not follow source symlinks unless follow_symlinks is explicitly enabled; enabled links must still resolve inside the selected source root.

On hosts with secure descriptor-relative filesystem operations, harvest artifacts are written as one staged, atomic bundle through a symlink-safe destination. Leave output_dir unset for a unique .tmcp/harvest-* directory, or provide an output directory that is new or empty.

Skill evaluation accepts explicit regular SKILL.md inputs, can confine them to a supplied project root, and redacts source, plan, and evidence values before deriving reports. Its initial plan artifact is a staged bundle in a new or empty directory; evidence scoring may safely add its report to that same directory.

Artifact persistence is deliberately unavailable where those secure filesystem operations do not exist. doctor and status report the capability; use --no-write-artifacts for portable analysis and see Compatibility for the boundary.

tmcp_record_receipt has no non-persisting preview because the receipt is the artifact itself. Run it only when status reports artifact persistence available.

Packet sessions are equally explicit: compose-packet --session-id writes one redacted, project-local latest-packet record only when secure persistence is available. They are for a single serialized run, not a global history or coordination service. See the CLI session contract.

If a harvested source tries to override system, developer, or user instructions, TMCP reports a warning. See SECURITY.md.

Examples

Harvest a local skills folder:

bash
node scripts/tmcp_launcher.mjs harvest ./skills --objective "Harvest reusable skill behavior" --limit 20 --no-write-artifacts

Recommend workflows for a project:

bash
node scripts/tmcp_launcher.mjs recommend . --candidate-workflows release_readiness --candidate-workflows developer_experience --min-confidence 0.1 --compose --no-write-artifacts

Compose a current-task packet and recompile during the run. This session flow requires status to report artifact persistence available:

bash
node scripts/tmcp_launcher.mjs compose-packet \  "Redesign these pages. Make them visually striking, interactive, modern, motion-rich, and production-ready." \  --project-path "$PWD" --phase start --session-id redesign-run
node scripts/tmcp_launcher.mjs recompile-packet \  "Redesign these pages..." \  --project-path "$PWD" \  --current-phase runtime \  --session-id redesign-run \  --files-changed app/page.tsx
node scripts/tmcp_launcher.mjs record-receipt packet-123 --activated-atoms ui-browser-verification --outcome passed

When session persistence is unavailable, preserve the compatibility path by passing the prior composed JSON inline through --previous-packet instead.

Legacy delta-only runtime routing:

bash
node scripts/tmcp_launcher.mjs compose-packet "Fix the dashboard UI bug" --project-path . --phase startnode scripts/tmcp_launcher.mjs runtime-next "Fix the dashboard UI bug" --current-phase verification --files-changed app/page.tsx --failures "vitest failed"node scripts/tmcp_launcher.mjs record-receipt packet-123 --activated-atoms ui-browser-verification --outcome passed

Promote reviewed harvest signals into durable routing artifacts:

bash
node scripts/tmcp_launcher.mjs promote-harvest . --selected-workflows release_readiness_workflow --output-dir .tmcp/promoted-harvests/release-readiness

On secure-persistence hosts, promotions also persist a redacted advisory graph under TMCP_HOME/promoted-harvests/<opaque-promotion-key>/, or ~/.tmcp/promoted-harvests/<opaque-promotion-key>/ when TMCP_HOME is unset. Receipts live under TMCP_HOME/receipts/<yyyy-mm>/. Global cache content is advisory and cannot override system, developer, user, or project instructions. Packet composition and runtime routing do not read that cache unless the caller explicitly passes --cache-policy global; their default policy is none.

Run an expert rubric review from evidence snippets:

bash
node scripts/tmcp_launcher.mjs review-plan "Review release portability" \  --project-path . \  --evidence-json '[{"dimension_id":"source_grounding","severity":"warning","summary":"Release claims need fresh package evidence.","evidence":["python3 scripts/check_release_package.py ."],"recommended_fix":"Run and cite the release package check before publishing."}]' \  --no-write-artifacts

More examples live in examples. Developer onboarding and release readiness exercise stable curated templates; skill-harvest and recommendation examples remain available through experimental tool contracts.

Validation

Before release:

bash
python3 -m unittest discover -s testspython3 scripts/release_package_compile.py .node --check scripts/tmcp_launcher.mjspython3 scripts/check_contracts.py .python3 scripts/check_install.py .python3 scripts/check_release_package.py . --verify-reproducible

The release package check builds from a clean, reviewed Git revision rather than the working directory. It ships only an explicit allowlist of committed files, rejects unsafe paths, symlinks, and secret-like content, then emits a deterministic RELEASE_MANIFEST.json plus archive digest. The CI release gate repeats the build from the same Git tree and requires both digests to match. It also validates frontmatter, hardcoded local paths, private example names, links, extracted-package install shape, doctor, sample harvest, sample workflow recommendation, sample expert rubric planning, composition/runtime/receipt smoke coverage, and stable/experimental workflow labeling. It is a DOI blocker until existing absolute user paths in release evidence docs are redacted or normalized.

DOI-Ready Research Release

TMCP is prepared as an independent software-methods artifact. See RESEARCH_READY.md and docs/release-notes/v0.3.3-doi.md for the citable artifact boundary, validation path, data-availability policy, and claim limits.

References

來源:README.md,提交 e714f32

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分