ClaudeMods
☰
KO
● 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은 실행 후 판정을 건너뜁니다(form-post-skipped-fanout). 거부 클래스는 원래 파일, 링크 또는 없음 상태와 비교해 복원합니다. 지문이 바뀌거나 없거나 부모 경로가 바뀌면 복원을 막고 경고를 냅니다. 복원은 새 링크가 가리키는 내용이 아니라 경로 객체를 교체합니다. 롤백 경고는 원래 기록에 추가합니다.

대상별 백업 자격은 F와 해당 대상의 A1–A3/C1입니다. 적용 가능한 모든 클래스가 log_only면 백업과 복원을 하지 않고 공유 예산도 쓰지 않습니다. 준비 중 부모가 없어도 되지만 복원에서는 저장한 조상과 새 디렉터리 체인을 확인합니다. 복원 뒤 플랫폼별 대상 플래그와 파일 지문 또는 링크 표기를 확인합니다.

호출당 백업 예산은 4 MiB 판정 임계값의 8배입니다. 백업 용량을 넘으면 실행 전에 호출을 거부합니다.

모듈 버전은 0.1.55입니다. 한 번의 전달 단계에서 모듈을 먼저, 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.

비슷한 프로젝트