Read this in Arabic · Changelog · Installer Guide · llms.txt
See it block something
$ aizee check 'Bash' --args '{"command":"git add .env && git commit -m keys"}'
{
"ok": false,
"decision": "deny",
"reason": "guardian: commits secrets file .env"
}
$ aizee doctor --json | jq .verdict
"ready"
Every tool call, LLM request, memory write, and file change flows through
Kernel.act() — Probity → Guardian → Policy → LoopDetector → Budget →
Audit — so a denial is a wall, not a suggestion.
What is aiZee?
A zero-compromise, version-controlled operating system that sits between you and every AI coding assistant — Cursor, Claude, Copilot, Windsurf, Cline, Aider, Devin — enforcing engineering standards, security policies, and architectural discipline on every line of generated code.
The problem it solves: AI assistants hallucinate APIs, forget conventions, ignore security, and silently ship technical debt. aiZee forces them to read from a centralized source of truth before writing a single line — and in v6, every action is verified while it executes, not just documented after.
| Without aiZee |
With aiZee |
| Context drift after a few prompts |
Rules + personas hard-loaded every session |
| Deprecated packages, silent tech debt |
Exact-version tech-stack locked via live MCP docs |
| Raw SQL, missing XSS, weak secrets |
OWASP, zero-trust, RBAC enforced by default |
| Random drive-by refactoring |
Surgical changes through policy + budget + audit gates |
| Guardrails that exist but aren't on the path |
v6: enforcement wired into Kernel.act() + every MCP call |
What's New in v6.9.0 — Creative-Tools Adoption Pass
Ten architectural patterns adopted (clean-room reimplementations) from a
study of ten open-source creative tools — OpenToonz, Friction, FreeMoCap,
Synfig, Effekseer, Theatre.js, Pencil2D, OpenVDB, SVG.js, Natron — for
programmers and designers (report: docs/studies/study-creative-animation-tools-2026-11.md):
- Event bus (FreeMoCap) — typed pub/sub inside the kernel:
ActionEvent/StepEvent/TaskEvent auto-register, bounded history,
state/events.jsonl sink, dashboard SSE drain, aizee events tail.
- Step memoization (Natron) —
call steps cache by
sha256(tool+args); aizee plan run --memo replays identical work
without re-invoking tools.
- Fluent plan builder (SVG.js) —
runtime/plan_builder.py:
plan().let_().call().fanout().suspend().return_() emits the same
validated inert JSON; authoring plans no longer means hand-editing JSON.
- Predictive prefetch (OpenToonz) —
--lookahead N warms upcoming
steps' tools/files on a background worker (read-only, bounded).
- Schema-driven UI (Theatre.js) —
aizee ui --spec '{...}' or
--file <md> renders control panes (sliders/enums/lists) from schemas;
GET /api/ui-schema?file= for the dashboard.
- Timeline replay (Theatre.js) —
aizee replay scrubs the
hash-chained audit log as a dope sheet; GET /api/replay.
- Task farm (OpenToonz) —
aizee farm submit|work|reap distributes
work to heartbeat-ing workers with expiring leases; GET /api/farm.
- Value bindings (Synfig/Friction) —
$step.s0 and $mem.<key>
namespaces resolve inside plan expressions (still no eval).
- Memory snapshots (OpenVDB) —
aizee memory snapshot bakes an
immutable, compacted, checksummed read-only copy of the memory DB.
- Onion-skin ghost view (Pencil2D) —
aizee plan ghost <file> shows
what a plan would do (done/cached/pending/gated) without executing;
- Diff impact analysis (Understand-Anything, MIT) —
aizee impact
maps changed files onto the graphify dependency graph and reverse-BFSes
the blast radius: impacted files, tests to re-run, communities, layers.
- Guided architecture tour (Understand-Anything) —
aizee tour
walks the codebase foundations-first: graphify communities ordered by
inbound dependency weight with per-stop file highlights and layer tags.
shared WorkingSet LRU bounds event history, cache index, and prefetch.
What's New — Unified Skill Library & BMAD Runtime (v6.8.0+)
The skill surface grew from 155 to 245 skills — the entire agent-skills
ecosystem is now vendored, persona-mapped, trigger-enriched (EN+AR), and
integrity-locked inside the repo:
- BMAD-METHOD vendored — all ~34 BMAD skills (
bmad-*, bmod-*) live in
skills/ with the project-local _bmad/ runtime (config, scripts, ticket
tree). Agents: Mary (analyst), John (PM), Winston (architect),
Sally (UX), Sofia (PO), Amelia (dev) — invoked by natural
language, no global install needed.
- Marketing/growth suite — ~55 skills (seo-audit, ai-seo, cro, ads,
cold-email, launch, pricing, paywalls, onboarding, referrals, revops…)
with bilingual triggers.
- Lifecycle-aware persona routing —
runtime/lifecycle.py reads the
active BMAD initiative (_bmad/config.toml + _bmad-output/ artifacts)
and biases persona detection toward the current phase (discovery → PRD →
breakdown → architecture → UX → implementation → review → retro).
Non-BMAD projects are unaffected (phase=None → keyword-only routing).
- Handoff hints —
detect_multiple emits next_persona_hint, the
highest-scoring persona outside the selected set, injected into context
for smooth cross-domain transitions.
- Per-project skill distribution —
scripts/distribute-agent-skills.py
junctions/hardlinks all 245 skills into .agents/skills (every agent
harness: Devin, Claude, Cursor, Codex…) plus .claude/skills and
.devin/skills; nothing stays global, so unrelated sessions stay lean.
- Trigger enrichment + lint — imported skills got Arabic glossary
triggers;
scripts/enrich-imported-triggers.py /
enrich-bmad-triggers.py are idempotent and re-runnable after upstream
updates.
- FINOPS persona fixed — new dedicated
finops skill replaces the
mismatched performance-engineer mapping.
- External deps manifest —
deps.yaml declares every tool aiZee
features need (binaries, pip, git-repos, docker, env); aizee deps check|install verifies and provisions them (see
External Tooling).
Full analysis: tech-stack/persona-bmad-review.md.
What's New in v6.7.0 — vercel-labs Adoption Pass
From a survey of all 396 vercel-labs repos (28 deep-studied; report in
vercel-labs-study-2026-11.md):
- Inert plan engine —
aizee plan validate|run|resume runs
callscript-style JSON plans: no eval, all-issues validation, bounded
fan-outs/call budgets, suspend/resume that never re-runs settled side
effects, auditable plan_hash.
- Skill lock + drift —
skills-lock.json pins every skill by folder
hash (skillFolderHash equivalent); aizee skill lock-check reports
changed/missing/unlocked, lock-update rebuilds.
- Canonical SKILL.md lint — kebab-case dirs, exact
SKILL.md, 500-line
progressive-disclosure cap, folded into aizee skill lint.
- MCP tool-surface freeze —
aizee mcp freeze <server> [--check]
snapshot-locks tool definitions and detects added/removed/changed tools.
- Doc→code drift gate —
aizee check-docs validates
wiki path#symbol refs links across docs (lat.md-style).
- Offline models.dev catalog —
aizee models --catalog [--query]:
886 models/12 providers vendored snapshot.
- Error contract —
AizeeError.scope/public + to_public_dict()
redaction for safe MCP/CLI envelopes.
- Activation layer — every capability is wired for automatic use, not
just installed: a
Command Surface & Auto-Triggers section in
AGENTS.md (propagated to all agent adapters) + four trigger skills
(inert-plan-runner, mcp-surface-integrity, docs-drift-check,
skill-lock-integrity) so persona-detection surfaces the right
command at the right moment, and event rules fire the gates
(post-install → lock-check, MCP change → freeze --check, doc edit →
check-docs) without being asked.
What's New in v6.6.0 — Repo-Study Adoption Pass
Adopted from a structured study of google/elephant-goldfish-model,
wotschofsky/domain-digger, and godotengine/godot
(full report in repo-study-2026-11.md):
- Goldfish spec review —
aizee spec review <spec_id|--file> [--preset]
plans a fresh-zero-context reviewer pipeline (EGM port): semantic
spec/plan split, 5-stage reviewer personas, severity triage +
traceability consolidation. Vendored Apache-2.0 rubrics + personas live
under resources/; workflow: workflows/65-goldfish-review.md.
- Multi-harness skill packaging —
aizee skill link --pack <dir>
emits an EGM-style portable bundle: canonical plugin.json plus
.claude-plugin/, .codex-plugin/, .cursor-plugin/, .agents/
manifests, vendored skills/, agents/ personas, and resources/
rubrics. Replacement is fail-closed on non-bundle destinations.
- Domain intelligence toolkit —
aizee intel <domain> plus 7 MCP
tools (runtime/dns_wire.py + runtime/domain_intel.py, a Python
rewrite of domain-digger concepts): wire-format DNS codec, UDP→TCP
fallback, iterative authoritative walking, DoH, WHOIS, certificate
history, and subdomain enumeration — all bounded and fail-closed.
- Skill scenario evals —
eval/skill_scenarios.py runs static/live
behavioral checks (eval/scenarios/goldfish-review.yaml) and feeds the
eval harness as a skill-scenarios gate.
- Godot reference — full engine source pinned under
refs/godot
(local-only) + tech-stack/godot-4.md records the verified portable
install (4.7.2.stable.official) for the GAME vertical.
What's New in v6.1.0 — Lean Surface
The headline change: the default surface is small and honest. The MCP fleet is reduced to what is actually used, marketing tool modules are gated off instead of deleted, dead code is gone, and installers remove retired files on upgrade.
Lean defaults
- 3 MCP servers by default —
aizee (governance), graphify, context7. The marketing/social/freelance MCP servers are gone from every shipped config.
- 46 MCP tools enabled — 7 marketing-domain tool modules (ads, analytics, CRO, email, freelance, SEO, social) still ship but are disabled via
disabledToolModules in aizee_mcp/config.json. Remove a name to re-enable it.
- 31 plugins disabled —
plugins.yaml ships them enabled: false; the sandbox blocks the rest. code2video, graphify, context7 stay on.
- Dead code removed — unused runtime modules (
a2a_server, semantic_search, provider_registry, sql_injection_guard, plugin_system, …) and their tests deleted.
Upgrade hygiene
- Stale-file cleanup —
scripts/stale_files.txt lists retired paths; install.ps1, install.sh, and scripts/update.py delete them from existing installs while preserving state/, brain/, and .env.
- Unified test tree — all tests live under
tests/{runtime,memory,eval,aizee_mcp,…}.
- Design library seeded —
design-library/ now ships real DESIGN.md seeds (editorial, midnight, minimal) so DesignLibrary no longer resolves an empty catalog.
Memory.md self-compaction — kept under its 500-line budget via aizee memory compact (archive in memory/archive/).
v6.0.0 recap — Governed Runtime
Enforcement moved onto the execution path in v6.0.0:
runtime/enforcement.py — unified helper: MCP firewall → AgentGateway request checks → execution → gateway response checks → audit. Shared by every call path.
Kernel.act() — AgentGateway verdicts (ALLOW / REDACT / BLOCK) now gate real actions; prompt-injection and secret-leak checks apply to prompt-like fields without blocking ordinary file writes.
- Outbound MCP —
McpClient (sync + async) and McpAgent run the firewall and gateway around every external tool call.
- Inbound MCP — the aiZee server's tools keep RBAC and get gateway wrapping.
Detection depth
- Injection detector L1→L3 — 13-technique regex layer + L2 embedding-similarity layer + optional L3 LLM-judge hook. Deterministic/model-free by default.
- Dual-LLM hardening — quarantined worker output is schema-enforced via Pydantic; parse failure is fail-safe.
- MCP 2026-07-28 stateless — per-request
protocolVersion negotiation + Mcp-Method/Mcp-Name header routing (runtime/mcp_protocol.py).
Governance depth
- APL verdicts — policies can now
modify (rewrite payloads, audited) and observe (log-only) in addition to allow/ask/deny.
- Lifecycle hooks —
output.pre_send and memory.pre_write phases; hooks can veto or mutate.
aizee heal — safe autofix orchestrator (dry-run default, --apply with confirmation, audit to state/heal.log).
- Per-PR budgets — cumulative spend limits keyed by PR id (
AIZEE_PR_ID), on top of session/hour/day windows.
- Release gate —
eval/release_gate.py runs the reliability priority ladder over recorded rollouts; wired into aizee ci.
- Chaos suite —
eval/chaos.py fault-injection scenarios + error-budget math.
Memory & protocol surfaces
- Bi-temporal memory —
store.as_of(as_of=..., valid_at=...) answers "what did we know then" and "what was true then" separately; pinned, soft-delete with tombstone-time queries, contradiction relations.
aizee memory compact — Memory.md auto-compaction (500-line budget, [PINNED] rescue, archive under memory/archive/).
- Code Mode —
aizee codemode executes sandboxed Python snippets that call MCP tools directly (AST scan + restricted builtins + governed bridge + timeout).
aizee bootstrap — materialize a minimal OS root after pip install aizee (idempotent, dry-run default).
- Advisory audits —
aizee task overcheck (over-engineering signals from plan + graph), aizee task curriculum (staged learning plan from tech-stack refs).
- Cross-harness handoffs —
aizee memory handoff --to-harness <h> stamps a portable aizee.handoff.v1 doc into the scoped vault (brain/handoffs/, fail-closed gitignore guard) so another agent picks up exactly where this one stopped.
- Instincts —
aizee memory instinct-* records atomic trigger→action behaviors with confidence 0.3→0.9; observed in ≥2 projects → auto-promotes project→user scope.
- Recurring routines —
aizee routine binds a named private dossier (refs/routines/, ~/.aizee/routines/) to durable JSON state: claim-before-start in_progress, per-day run_id idempotency, a 5000-id seen-store for new-only digests, and a dated artifact per run. Agents resolve routines from free text (Arabic-safe trigger matching) via workflow 66-routine-runner.
- MCP supply-chain audit —
aizee security mcp scans discovered MCP configs (JSONC-tolerant) for plaintext/token-shaped secrets in env and args, unpinned npx/uvx packages, writable command paths, and rug-pull drift vs locked baselines.
- Fact-forcing guardrail — recoverable destructive commands (force-push, hard reset) pass only with explicit
{target, rollback} facts; catastrophic ones stay hard-blocked.
- Prompt-defense baseline — every materialized harness rules file carries a fixed anti-injection section (identity lock, secret non-disclosure, untrusted external content, unicode-trick suspicion).
Full detail: CHANGELOG.md