ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 TransmuteLabs

catalyst-probes

# catalyst-probes

TransmuteLabs@TransmuteLabs

TransmuteLabs/Catalyst/tree/main/plugins/catalyst-probes

翻訳済み

この mod について

一つの hooks モジュールが相談エンジンと決定的なフォーム判定を提供します。相談者とフォーム規則は probes.toml に設定し、起動方法と相談者の契約は NOTES.md に記載します。

Form boundary

リダイレクト、tee、列挙された writer は判定対象です。インタープリター内の記録は対象外です。

writer は cp、mv、install、dd of=、インプレース sed と perl、truncate、強制シンボリック ln です。対象は静的に決定できなければなりません。動的な対象語や不明な作業ディレクトリは警告になります。コマンドモデルは bash と zsh の見え方を合わせ、shell スナップショット、静的代入、glob 候補、パイプライン状態の変形を含みます。

書き込みは例外が出ても実行後に判定します。ただし log_only の候補 fan-out は post-judgment を飛ばします(form-post-skipped-fanout)。拒否クラスは元のファイル、リンク、存在しない状態と比較して復元します。指紋が変わるか利用できない場合、親パスが付け替えられた場合は復元を止めて警告します。復元は新しいリンクの参照先ではなくパスオブジェクトを置き換えます。ロールバック警告は元の記録に追加します。

対象ごとのバックアップ資格は F とその対象の A1–A3/C1 です。全ての適用クラスが log_only ならバックアップも復元もせず、共有予算を消費しません。準備中に親がなくても構いませんが、復元では保存した祖先と新しいディレクトリチェーンを確認します。復元後はプラットフォーム固有の宛先フラグとファイル指紋またはリンク表記を確認します。

1 回の呼び出しのバックアップ予算は 4 MiB 判定しきい値の 8 倍です。超過すると実行前に拒否します。

モジュールのバージョンは 0.1.55 です。1 回の配布でモジュールを先に、canon を後に届けます。必須 canon キーがなければフォーム判定を黙って無効にせず F を明示します。検証とテストはインストール済みプラグインを有効化しません。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add TransmuteLabs/Catalyst
claude plugin install catalyst-probes
原文 / README

catalyst-probes

One hooks module provides the consultation engine and deterministic form judge. Consultants and form rules are configured in probes.toml; arming and the consultant contract are documented in NOTES.md.

Form boundary

судятся перенаправления, tee и перечисленные писатели; записи внутри интерпретаторов — вне суда

The listed writers are cp, mv, install, dd of=, in-place sed and perl, truncate, and forced symbolic ln. Targets must be statically determinable. Dynamic target words and unknown working directories are named warnings. The command model covers the union of bash and zsh views, including shell snapshots, static assignments, glob candidates, and pipeline state variants.

Writes are judged after execution, including when execution throws, except that candidate fan-out under log_only skips post-judgment (form-post-skipped-fanout). Refusing classes use compare-and-restore of the original file/link/absent state; changed or unavailable fingerprints and retargeted parent paths prevent restoration and produce named warnings. Restoration replaces the path object, not the contents of a new link's referent. Rollback warnings augment the original record without replacing its refusal. Backup eligibility is computed per target: F plus that target's A1–A3/C1. All applicable classes set to log_only means no backup and no restoration for that target; its bytes do not consume the shared backup budget. Missing parents are allowed during preparation, but restoration checks the saved ancestor and new directory chain. Restoration uses platform-specific destination flags and checks the resulting file fingerprint or link spelling after replacement. The backup budget is 8 times the 4 MiB judgment threshold per call: превышение объёма бэкапа отказывает вызов до исполнения.

The module version is 0.1.55. Deliver the module first and its canon second, in one delivery step. Missing required canon keys give an explicit F rather than silently disabling form judgment. Validation/tests do not activate the installed plugin.

関連作品