Totem Shield
Version updated for https://github.com/mmnto-ai/totem to version @mmnto/cli@1.5.6.
- This action is used across all versions by 0 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
Totem is a governance tool that provides a persistent, model-agnostic memory layer and deterministic enforcement for AI-driven coding workflows. It automates the creation and application of architectural rules as guardrails across CI pipelines, ensuring consistency and compliance without requiring repeated instructions to AI agents like Copilot or Claude. Key capabilities include zero-LLM enforcement, offline operation, cross-repository rule sharing, and the ability to standardize and enforce coding rules across diverse tools and workflows.
Release notes
Patch Changes
fc607ce: ### 1.5.6 — Foundation & Hardening
Features:
- Unified Findings Model (
TotemFinding) — common output schema for lint and shield (ADR-071) totem-context:is now the primary override directive;shield-context:remains as silent aliastotem lint --format jsonnow includes afindings[]array alongsideviolations[]- safe-regex validation for user-supplied DLP patterns — ReDoS-vulnerable patterns rejected at input time
Fixes:
matchesGlob()now correctly handles*.test.*anddir/*.test.*patterns (was doing literal string match)readRegistry()differentiates ENOENT from permission/parse errors viaonWarncallbackTotemParseErrorused for schema validation failures (was genericError)- Git hooks path resolved via
git rev-parse --git-path(supports worktrees and customcore.hooksPath) shield-hints.tsuseslog.dim()instead of raw ANSI escape codesstore.count()failure no longer breaks syncmaxBuffer(10MB) added to git diff commands — prevents ENOBUFS on large branch diffs- Windows
ENOTEMPTYflake fixed withmaxRetriesin test cleanup
Chores:
- Dynamic imports in
doctor.tsfor startup latency - 8 new lessons extracted from bot reviews (305 compiled rules)
- Audited and removed 6
totem-ignoresuppressions - Updated compiled baseline hash and scope for JSON.parse rule
- Unified Findings Model (
Updated dependencies [fc607ce]
- @mmnto/totem@1.5.6