enigma-cli 1.11.1 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/assets/skills/backend-policy/skill.json +1 -1
- package/assets/skills/ciphera-style-policy/skill.json +1 -1
- package/assets/skills/code-review-policy/skill.json +1 -1
- package/assets/skills/core-engineering-policy/skill.json +1 -1
- package/assets/skills/database-expert/skill.json +1 -1
- package/assets/skills/debugging-policy/skill.json +1 -1
- package/assets/skills/dependency-policy/skill.json +1 -1
- package/assets/skills/frontend-policy/skill.json +1 -1
- package/assets/skills/git-policy/skill.json +1 -1
- package/assets/skills/security-policy/skill.json +1 -1
- package/assets/skills/testing-policy/skill.json +1 -1
- package/assets/skills/validation-policy/skill.json +1 -1
- package/bin/checksums.json +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -120,6 +120,35 @@ Auto-sync is deliberately conservative:
|
|
|
120
120
|
a file you authored or edited is never touched.
|
|
121
121
|
- A sync failure never blocks the launch; the tool starts anyway.
|
|
122
122
|
|
|
123
|
+
## Auto-lint on edit
|
|
124
|
+
|
|
125
|
+
Opt-in. When on, enigma autonomously installs [`@enigmax/linter`](../linter) into a
|
|
126
|
+
managed dir (`~/.enigma/linter`, in the background) and wires a post-write hook into
|
|
127
|
+
each agent, so every file an agent writes is linted the moment the edit finishes:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
enigma config auto-lint on # installs the linter and wires the hooks
|
|
131
|
+
enigma config auto-lint off # removes the hooks
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
The hook is designed for minimum token cost: it auto-fixes the safe formatting rules
|
|
135
|
+
(whitespace, blank lines, final newline) in place, and surfaces **only the unfixable
|
|
136
|
+
findings** (hardcoded secrets, URL imports, style issues that need judgement) back to
|
|
137
|
+
the agent. A clean file produces no output at all - zero added tokens.
|
|
138
|
+
|
|
139
|
+
- **Claude Code**: a `PostToolUse` hook in `settings.json` (matcher
|
|
140
|
+
`Edit|Write|MultiEdit|NotebookEdit`). Unfixable findings come back via the hook's
|
|
141
|
+
stderr, which Claude feeds to the model.
|
|
142
|
+
- **opencode**: an auto-loaded plugin in `~/.config/opencode/plugins/` whose
|
|
143
|
+
`tool.execute.after` runs the same check and appends the findings to the tool
|
|
144
|
+
output the model sees.
|
|
145
|
+
|
|
146
|
+
Both invoke one shared runner (`~/.enigma/hooks/lint-hook.mjs`) that resolves the
|
|
147
|
+
managed linter and no-ops cleanly until the background install lands (self-healing).
|
|
148
|
+
The wiring is mirrored into managed account config dirs on sync, like the other
|
|
149
|
+
managed settings. Default: **off** (it changes agent behavior and installs a
|
|
150
|
+
package, so it stays an explicit choice).
|
|
151
|
+
|
|
123
152
|
## Git security hooks
|
|
124
153
|
|
|
125
154
|
`enigma security` drops a portable, dependency-free commit guard into any repo:
|
|
@@ -180,6 +209,16 @@ each tool's built-in `default` account (never deleted). New accounts live under
|
|
|
180
209
|
`~/.enigma/<tool>/<name>/`. Bare `claude` / `codex` / `opencode` commands keep
|
|
181
210
|
using your real environment as before.
|
|
182
211
|
|
|
212
|
+
Managed accounts inherit your enigma setup automatically: because the tool reads
|
|
213
|
+
everything from the account's config dir, enigma deploys the skills and memory
|
|
214
|
+
file into it (seeded on `account add` and on launch) and mirrors the
|
|
215
|
+
enigma-managed native settings from your default account on every launch -
|
|
216
|
+
Claude's permission bypass, attribution overrides and statusline, Codex's
|
|
217
|
+
`approval_policy`/`sandbox_mode`, opencode's `"*": "allow"` permission. Turning
|
|
218
|
+
a knob off on the default account propagates too; per-account manual edits to
|
|
219
|
+
those specific knobs are overwritten on the next launch, while every other
|
|
220
|
+
account setting (theme, custom statusline, extra permissions) is left untouched.
|
|
221
|
+
|
|
183
222
|
### Profiles (one account per tool)
|
|
184
223
|
|
|
185
224
|
A profile pins one account per tool under a single name - e.g. profile `work` =
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Backend/API architecture: controller-service-repository layering, API and request optimization, server-side caching (Redis), and Zod boundary validation.",
|
|
6
|
-
"cliVersion": "1.
|
|
6
|
+
"cliVersion": "1.12.0",
|
|
7
7
|
"sha": "c442bc9e39a7710cb709ef2abb8d15ecd8aa16ed4f5c8af92b7af6877401cba4"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.1.1",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Ciphera code style conventions (formatting, naming, imports, comments, code-level anti-patterns; TypeScript-first, language-agnostic).",
|
|
6
|
-
"cliVersion": "1.
|
|
6
|
+
"cliVersion": "1.12.0",
|
|
7
7
|
"sha": "74f638aec13e8c93257fe1ad604c28b07e9a7c456796a4ceefcc99217d9e7039"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Pre-delivery self-review gate, prioritized review dimensions, and change-quality criteria.",
|
|
6
|
-
"cliVersion": "1.
|
|
6
|
+
"cliVersion": "1.12.0",
|
|
7
7
|
"sha": "3d3bbe0602d5bbb4afe37648fe3c2fa39376b1bcbac5d8c441f01fad1e866ed0"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.4.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Core engineering execution policy and harness orchestration (highest-authority rules).",
|
|
6
|
-
"cliVersion": "1.
|
|
6
|
+
"cliVersion": "1.12.0",
|
|
7
7
|
"sha": "c9c69c59516794311cb7b306ed4d4ad971824de3689a39c2b86c7669c73f2e8b"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.1.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Senior database architecture policy: query optimization, anti-duplication/normalization, scalability, and RGPD/GDPR encryption.",
|
|
6
|
-
"cliVersion": "1.
|
|
6
|
+
"cliVersion": "1.12.0",
|
|
7
7
|
"sha": "2883bcecb3202683ae6f81b073c3d6a9cec9c55029e011bdd06ba7ac3537297e"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Reproduce-isolate-fix debugging methodology with root-cause discipline and regression verification.",
|
|
6
|
-
"cliVersion": "1.
|
|
6
|
+
"cliVersion": "1.12.0",
|
|
7
7
|
"sha": "14b0064c8b33a0dc85e51464b05005cf5801c756b1101789a6924b9548420f6b"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Dependency and supply-chain security: lockfiles and reproducible installs, version pinning, vulnerability auditing, vetting/minimizing packages, vendoring, and SBOM/provenance.",
|
|
6
|
-
"cliVersion": "1.
|
|
6
|
+
"cliVersion": "1.12.0",
|
|
7
7
|
"sha": "6375d835c2aef2c9bd31ce116444dc3d796f510f9970a213aa3ac4696d7e21b9"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.2.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Frontend architecture: reusable components, abstraction thresholds, state management, no-op save detection, and optimistic UI with rollback.",
|
|
6
|
-
"cliVersion": "1.
|
|
6
|
+
"cliVersion": "1.12.0",
|
|
7
7
|
"sha": "3766096616a9177ce66685bfaaaef66f7e8ceb62e2a6542e83dee713b9d1b56f"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Application and AI-agent security: secrets, authn/authz (least privilege), OWASP Top 10, transport/crypto baseline, secure logging, and agent/MCP/tool-use safety.",
|
|
6
|
-
"cliVersion": "1.
|
|
6
|
+
"cliVersion": "1.12.0",
|
|
7
7
|
"sha": "9971e9d9127397d0152e89d24aad3191e2935e55a8483db7fd15f5d4d7a60e7a"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Test strategy, coverage gates, deterministic tests, mocking discipline, and regression-first bug fixing.",
|
|
6
|
-
"cliVersion": "1.
|
|
6
|
+
"cliVersion": "1.12.0",
|
|
7
7
|
"sha": "d19fa8ec7985ed231478be504d3c80360897f555d0bc0624bea19c091f459fb0"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Strict frontend + backend schema validation, schema consistency, and safe client-facing error handling.",
|
|
6
|
-
"cliVersion": "1.
|
|
6
|
+
"cliVersion": "1.12.0",
|
|
7
7
|
"sha": "a33622a2f810ee4cea39824cb1a7ca34b355a917d4224025df50d77dd74f0b3a"
|
|
8
8
|
}
|
package/bin/checksums.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"enigma-darwin-arm64": "
|
|
3
|
-
"enigma-linux-arm64": "
|
|
4
|
-
"enigma-linux-x64": "
|
|
5
|
-
"enigma-win32-x64.exe": "
|
|
2
|
+
"enigma-darwin-arm64": "257d739ec4078c81500d54fee46e33b425ccdbba5876915f91fa386c7440f2cd",
|
|
3
|
+
"enigma-linux-arm64": "32e92ba6137cd1c52f2040c00f01490fdc40d90cea386aad72fa0e6cecc90ac5",
|
|
4
|
+
"enigma-linux-x64": "95b072841260e37885ceae72d2773c4f15299c68b5a1122698e2198124c88e1f",
|
|
5
|
+
"enigma-win32-x64.exe": "6a71598f11ee7e8df5325fbc89223190c09b47e84bbe09bc558b95ada8ce2ba3"
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "enigma-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "Everything you need to work with a coding agent: install shared policy skills for Claude Code, OpenAI Codex and opencode, and set up portable git security hooks.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|