anti-hall operator guide: terms, rules, skills, CLI verbs, settings. Use for \"brief me on anti-hall\", \"what does X mean\", \"which setting does Y\".
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Anti Hall System Briefing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/talas9-anti-hall-system-briefing)
---
name: anti-hall-system-briefing
description: "anti-hall operator guide: terms, rules, skills, CLI verbs, settings. Use for \"brief me on anti-hall\", \"what does X mean\", \"which setting does Y\"."
---
# System briefing — anti-hall operator guide for Codex (v0.108.0)
## When to use
The agent-facing operator guide to anti-hall for Codex — glossary of terms, the hard rules, every skill and CLI verb with when to use it, every setting with its default, and where to read more; plus a DERIVED live inventory (`ah-engine briefing`) of what is installed. Use when the user asks "brief me on anti-hall", "what does X mean", "which command/setting does Y", "what's in this build", or when onboarding an agent to install or run anti-hall. For "is it working", use anti-hall-doctor.
Resolve the plugin root from this SKILL.md's path (Codex does not expand plugin-root
variables in skill text):
```bash
ANTI_HALL_ROOT="$(cd "$(dirname "$SKILL_FILE")/../../.." && pwd)"
test -d "$ANTI_HALL_ROOT/.codex-plugin" || { echo "anti-hall plugin root not found relative to $SKILL_FILE — aborting" >&2; exit 1; }
```
Two parts: **(1) this guide** — terms, rules, skills, verbs, settings; **(2) a live
inventory** — `"$HOME/.anti-hall/ah-engine/bin/ah-engine" briefing` (or `--json`) enumerates the
hooks, helpers, skills and DevSwarm substrate this build ships, from `hooks.json` and the
files on disk. Codex has no `/config` panel and no statusline hook; skills are named
`anti-hall-<name>`. For "is it working", use `anti-hall-doctor`.
## Glossary
| Term | Meaning |
|---|---|
| Iron Law | No claim without evidence; no fix without a proven root cause. Everything else enforces it. |
| coordinator / worker | The main thread plans, delegates and verifies; subagents (workers) do heavy reads, commands and edits. `command-guard`/`edit-guard` enforce it on the coordinator. |
| guard | A PreToolUse/Stop hook that blocks mechanically (git-guard, command-guard, edit-guard, …). |
| nudge / advisory | Injected text that informs but never blocks. |
| skip | A TTL'd per-guard, per-session override in `~/.anti-hall/skip.json` (key `<guard>@<session-id>`; `--global` for all sessions), written only on the user's explicit request; `all` never covers git-guard. |
| Tier 1 / 2 / 2.5 / 3 | Anti-speculation layers: protocol injection; hedge-word `speculation-guard`; `claim-ledger` (confident claims with no evidence, ledger-only); opt-in LLM `speculation-judge`. |
| handover | A self-written, lossless session record in `.anti-hall/handovers/` so a fresh session resumes cold. Auto-handover asks for one at 93% context by default, or 500000 tokens on 1M windows (5% before auto-compact; see the settings skill) (UserPromptSubmit, or once at a Stop). `precompact-snapshot` (PreCompact) also writes a mechanical `PRECOMPACT-<n>.md` safety-net snapshot before every compaction and never blocks it. |
| known / unknown window | Whether the context window size is known (statusline figure, Codex rollout, env, sticky, inferred 1M). Unknown → a soft advisory only, never the mandatory handover directive. |
| settings store | `~/.anti-hall/settings.json`; precedence env > file > stored plugin option > legacy file > default; grouped by category (`ah-engine settings show`, then `show --section <category>`); Claude Code's `/config` only has the headline switches, the safety guards and the keys. `*` below = advanced (hidden unless `show --all`). |
| repair / migration marker | Idempotent data repairs (`migrations`) stamped per version in `~/.anti-hall/update-sweep-state.json`; run by update, `doctor --repair`, and on reload. |
| Jev | Optional LLM classifier ("System One") consulted by some hooks. |
| on / shadow / off | Jev per-integration mode: on = may change the outcome; shadow = asked and logged, outcome unchanged; off = not consulted. |
| KEEP / REVIEW / REMOVE | `jev-report` verdict per integration from its measured value. |
| tp / fp | Human precision labels on a Jev decision (`jev-report label <hash> tp\|fp`). |
| budget watch | `jev.budget.mode=watch`: warns on spend/low credit; never disables Jev. |
| DevSwarm | Multi-workspace AI IDE; `hivecontrol` is its CLI. All DevSwarm features are dormant outside it. |
| Primary | The DevSwarm workspace on the repo's main checkout that orchestrates. |
| child | A workspace the Primary spawned (own worktree and branch). |
| mesh | anti-hall's per-project message store shared by the Primary and its children; the only allowed channel (`ah-engine mesh send`/`inbox`). |
| repoKey | The per-project store key (derived from the git common dir). |
| partition | One mailbox inside the mesh store (per workspace, plus broadcast). |
| reader cursor / floor | A reader's read position in a partition (`h:<pid>:<startMs>`); the `#floor` is the monotone position every live reader has passed. Unread = total − cursor. |
| ack / receipt | `read-primary` reads without advancing; the returned `inbox ack-primary <id> --receipt <rid>` acknowledges. |
| stale anti-hall <v> | A workspace whose heartbeat records an older anti-hall build than this machine has; restart that session (not neglect). |
| inbox grace | Fresh unread to a child is not nagged for `devswarm.inboxGraceSec` (120 s) unless it heartbeats first. |
| harness registration | `installed_plugins.json`, the harness's record of which build to load; `update` refreshes it via `claude plugin update`, after which `/reload-plugins` loads the new build (restart only as the fallback). |
| Primary seat | The Primary's mesh id (`primary-<hash>`, same partitions and cursors). A new session adopts it only when the holder has closed; while two sessions conflict, the other one's sends/acks/spawns/merges are refused until `ah-engine mesh primary takeover`. |
| sender label | A message's `from`: a child sends as its workspace id, only the Primary checkout as `primary-<hash>`; old child labels map to the child via `sender-aliases.json`. |
| twin / identity family | Several registry rows for one workspace (e.g. slug row + UUID row), grouped and retired together. |
| archive (anti-hall) | `ah-engine mesh archive`: tombstone in anti-hall's registry; never touches the app. |
| archive / close / delete (app) | App archive = hidden + inactive, recoverable, worktree kept; close = inactive only (not archived); delete = row removed, permanent. |
| auto-archive | Supervisor archives a child in the app only when done, merged, clean, drained, not the Primary, unfocused 10 min and idle (its own mailbox-wake/heartbeat/status pings do not count; real work does); always by explicit workspace id; DevSwarm >= 2.5.3. |
| prune | Deleting archived workspaces: only an owner-approved exact id list with a plan nonce (`ah-engine devswarm plan-prune` / `prune`). Never automated. |
| retention | Old message bodies archived to gzip then pruned (rows, positions, hashes stay). |
| app DB | The DevSwarm app's own SQLite DB, read read-only as ground truth (titles, rank, archived, PRs, session map). |
| capability gate | Every DevSwarm verb/table/column/app file is checked by version + detection; a missing surface sleeps and doctor names it. |
| supervisor / ingest daemon | Opt-in companions: the periodic sweep (poke → escalate, app sync, auto-archive, retention) and the per-project monitor → store daemon. |
| poke / escalate / recover | Recovery ladder: nudge a stale child, then tell the Primary; only `ah-engine devswarm recover --id <id>` ever kills. |
| finish gates | `done`, `merged`, `tests_passed` (`devswarm.requiredGates`) set via `ah-engine mesh gate --set`. |
## Hard rules
- Verify before claiming; label inference; say "I don't know"; done = verified against the agreed criteria.
- Never force-push; never add AI self-credit to commits or PR/issue/release text (git-guard).
- Never delete data without the user's explicit confirmation. No automated job may delete or disable anything; automated jobs detect and report only. DevSwarm deletion = `prune-archived` with an owner-approved exact list.
- `archive`/`delete` via hivecontrol always name the workspace id (2.5.3 defaults to the CURRENT workspace otherwise).
- DevSwarm messaging goes through the mesh only (no native `message-child`/`message-parent`, no `SendMessage` to a workspace).
- Never call the DevSwarm app's local HTTP API or `hivecontrol workspace check-merge` from automation.
- Change settings only via `/anti-hall:settings` / `ah-engine settings`; never delete legacy config files.
- Skips only on the user's explicit request; git-guard must be named.
## Skills (Claude `/anti-hall:<name>` · Codex `anti-hall-<name>`)
| Skill | Use when |
|---|---|
| `root-cause` | any bug, failure, flaky test, unexplained behaviour — before fixing |
| `orchestration` | work is heavy, long or parallelizable |
| `deadly-loop` | hardening a risky change before merge |
| `afk` | AFK mode: silent work, digest on return |
| `tasks-reconcile` | rebuild the task list from the saved store |
| `ship-it` | shipping any change, scaled S/M/L |
| `simplify` | trimming recent code without changing behaviour |
| `debt` | registering or auditing deliberate shortcuts |
| `handover` | end of session, before `/clear` or `/compact`, or when auto-handover asks |
| `doctor` | "is anti-hall working?", guards not firing, repairs |
| `update` | "update anti-hall" / "is it current?" |
| `activate` | first-run setup |
| `uninstall` | "uninstall anti-hall": complete removal (plugin, hooks, engine, jobs, Codex) with a keep-logs choice |
| `install-statusline` | retired no-op; use uninstall-statusline only for older cleanup |
| `settings` | showing/changing any setting (incl. auto-handover) |
| `system-briefing` | this guide; "brief me on anti-hall" |
| `devswarm` | anything DevSwarm: mesh, recovery, auto-archive, prune, retention, app DB, screenshot sync |
| `jev` | activating/configuring/reporting on Jev |
| `defects` | filing or checking anti-hall defect reports |
| Codex only: `context-conserve`, `model-policy`, `omc`, `omx` | limit conservation, model routing table, OMC state, oh-my-codex integration |
## CLI verbs (run from the plugin root; heavy ones via a subagent)
- `ah-engine settings` — `show` [--all] [--section s] [--json] (list), `get <section.key>`, `set <section.key> <value>` (validated), `reset <section.key>` (drop the override), `judge on|off|status` (the opt-in semantic speculation-judge: sets `jev.semanticJudge`, reports the active backend and key visibility, prints the cost estimate), `trust-command-allow [<repo>] --confirmed` (trust a repo's `.anti-hall/command-allow.json` by content hash), `trust-edit-allow [<repo>] --confirmed` (trust a repo's `.anti-hall/edit-allow.json` doc-edit globs by content hash).
- `ah-engine auto-handover-config` — `get`, `set <1-99>`, `off`, `on`, `nag on|off`, `max-tokens <n>`, `nag-step <n>`, `nag-quiet <n>` (alias over `autoHandover.*`).
- `ah-engine jev-setup` — `status`, `enable`, `disable`, `set-key`, `test`, `bind-generic-key`, `mode <integration> on|shadow|off`, `review-due`, `reviewed`, `snooze`.
- `ah-engine jev-report` — (no verb) the report [--json] [--window 24h|7d] [--by project|session] [--project <name>] [--weekly]; `label <hash> tp|fp`; `prune-audit` (trim audit snippets).
- `ah-engine defect` — `report`, `list`, `show`, `rule`, `archive`, `backfill`, `recurring`, `similar`.
- `ah-engine doctor` — health check; `--repair` applies safe fixes. `ah-engine update` — update; `--check` compares only.
- `ah-engine mesh` (`help <verb>` for detail) — mailbox: `send` (post to --to/--to-primary/--broadcast; `--quiet` for a one-line "sent seq N -> X, B bytes, ok"/loud "ok:false ..." instead of raw JSON; `--to <sibling> --cc-primary` also copies the Primary with the identical body, best-effort, reported under `ccPrimary`), `relay <seq|receipt> --to <id> [--note-file f]` (forward a message THIS caller already received, verbatim, with a provenance header — fails loud on a byte-length mismatch or an empty source body), `inbox` (count/read/pull/read-primary/ack-primary/peek-primary; `read-primary --format text` prints from/seq/body plain text instead of JSON, two-step ack default unchanged; opt-in `--ack-after-print` acks right after printing), `roster` (who is on the mesh), `mesh` (read the mesh), `heartbeat` (liveness + summary), `wake-directive` (reprint the wake instructions); registry: `register`, `ensure`, `register-primary` (Primary checkout only), `primary` (`status` shows the Primary seat; `takeover` demotes a conflicting session), `workspaces`, `migrate`, `migrate-owner-keys`, `reconcile`, `reconcile-registry`, `reconcile-active`, `reap-stale`, `reap-orphans`; lifecycle: `spawn` (create a workspace — raw argv tail forwarded to `hivecontrol workspace create`: `-s/--source`, `-a/--agent`, `-p/--prompt`, `-r/--remote`, `-t/--title`, plus anti-hall's own `--from-local`; `help spawn` has the full detail), `merge`, `ready-check <sha>` (read-only verdict on a child's READY claim: fast-forward, submodule-pointer changes, watched-dir deletions, files outside an allowlist; never merges), `gate` (finish gates), `gate-intent` (state why a Stop block is intentional), `nudge`, `archive`, `unarchive`, `archive-ignore`, `archive-unignore`, `archive-request` (ask a child to archive itself), `auto-archive` (show the plan), `prune-archived` (owner-approved delete), `retention` (status/run/restore), `notice` (the anti-hall dev agent's cross-project maintainer broadcast — `--post`/`--list`; refused unless `devswarm.maintainerNotice.post`=true and this checkout is anti-hall itself); app DB: `app-state`, `app-sync`, `sync-ui` (screenshot sync); health: `diagnose`, `healthcheck`, `logs`; `skip <guard> [--ttl m]` (user-requested skip only).
- `ah-engine mesh` Meeseeks supervision (0.117.0) — `plan set <id> --steps …` / `plan show <id>` (step plan), `heartbeat <id> --step N --status doing|done|blocked`, child: `scope add <id> --glob G --note TEXT` (user-requested extra work), Primary: `correct <id> [--dry-run]` (send the straying correction, records warned_at), `respawn <id> [--dry-run]` (Primary-run only, after a warning + `devswarm.respawnGraceMin`: WIP pushed or parked on a new pushed park branch, handover, `<branch>-r<N>` spawned from the default branch, old id archived; never automatic, never kills), `supervision-report [--days N] [--json]` (warnings, corrections followed, extras, tokens per workspace/step, burn, respawns, Jev follow/override).
- `ah-engine devswarm recover --id <id> --request <request-id>` — the only path that kills (one named, confirmed-wedged workspace).
- Units: one engine unit (`ah-engine units install`) runs all background duties; `units status` also lists legacy Node units, `heal` retires them. The statusline installer is retired and writes nothing; use `ah-engine uninstall-statusline` only to clean up older installs.
## Settings (defaults; `*` = advanced)
- **Auto Handover**: `autoHandover.enabled`=true, `autoHandover.pct`=93, `autoHandover.maxTokens`=500000, `autoHandover.nag`=true, `autoHandover.nagStepPct`=5, `autoHandover.nagQuietMin`=15, `autoHandover.gateNewWork`=true, `autoHandover.gateBudgetPct`=5, `autoHandover.decisivePrompt`=true, `autoHandover.gateHousekeepingMarkers`=''
- **Guards**: `guards.mergeGate`=false, `guards.mergeSidePickAdvisory`=true*, `guards.tasklistNoTaskTools`=reduced*, `guards.stopNagBudgetPerPrompt`=0*, `guards.shipitGate`=false, `guards.shellWriteChecks`=true*, `guards.outputVerifyGuard`=true, `guards.outputVerifyOncePerTurn`=true, `guards.failureRootCauseNudge`=true, `guards.failureNudgeFilter`=true, `guards.failureNudgeHarmless`=true, `guards.repoSelfDrift`=true, `guards.stashGuard`=false (safety: --confirmed), `guards.broadKill`=true (safety: --confirmed), `guards.handoverCommitGuard`=true, `guards.gitAliasResolve`=true* (safety: --confirmed), `guards.gitReusedMessageCheck`=true* (safety: --confirmed), `guards.gitPushCreditCheck`=true* (safety: --confirmed), `guards.gitPushCreditScope`=true, `guards.gitGuardHeredocData`=true*, `guards.gitignoreHint`=true, `guards.allowAnthropicEnvKey`=false*, `guards.emitDedupe`=true, `guards.editGuardAllow`=—* (safety: --confirmed), `guards.allowSubagentMailbox`=false* (safety: --confirmed), `guards.reaperMatch`=—*, `guards.reaperExclude`=—*, `guards.tasklistWorkThreshold`=3*, `guards.pruneCompletedTasksAfter`=3*, `guards.progressFreshMs`=1800000*, `guards.apiGuardThirdparty`=false*, `guards.modelRouting`=strict, `guards.noBlockingQuestions`=off, `guards.questionAgentsNote`=true, `guards.sharedTreeAgentNote`=true, `guards.modelRoutingDeployFloor`=sonnet, `guards.updateInSession`=true, `guards.apiGuard`=true, `guards.speculationGuard`=true, `guards.inferenceCheck`=false*, `guards.claimLedger`=true, `guards.taskGuard`=true, `guards.tasklistGuard`=true, `guards.scanThrottle`=true, `guards.silentAgentNudge`=true, `guards.silentAgentNudgeMin`=20*, `guards.staleAgentStopNote`=true*, `guards.idleAgentSweep`=true, `guards.idleAgentSweepCount`=3*, `guards.idleAgentSweepMin`=15*, `guards.compactAdviceGuard`=true, `guards.compactAdviceRecentTurns`=10, `guards.compactAdviceMarginPct`=10*, `guards.compactDeclarationGuard`=true, `guards.reaperCodexBroker`=true*, `guards.reaperCodexBrokerMinAgeS`=1800*, `guards.injectionRepeatEvery`=10*, `guards.codexQuotaDetect`=true, `guards.allowReadOnlyVerify`=true, `guards.allowReadOnlyVerifyScripts`=true, `guards.stopHookVersionDowngrade`=true*, `guards.stopAck`=true*, `guards.projectCommandAllow`=true, `guards.projectEditAllow`=true, `guards.allowPlainPush`=true, `guards.allowGcloudReads`=true, `guards.allowBackgroundScratchScripts`=true, `guards.coordinatorWorkWindowMinutes`=10, `guards.coordinatorWorkNudgeAt`=4, `guards.coordinatorWorkBlockAt`=7, `guards.coordinatorWorkMaxEntries`=50, `guards.bashEditParity`=true, `guards.taskGuardOwnerBlockedMarker`=true*, `guards.dispatchDemand`=true*, `guards.idleNeglectMinPriority`=p1*, `guards.maxParallelDispatch`=0*, `guards.idleNeglectProvenOnly`=true*, `guards.idleNeglectAgentMaxAgeMin`=30*
- **Safety Guards**: `safety.gitGuard`=true (safety: --confirmed), `safety.commandGuard`=true (safety: --confirmed), `safety.editGuard`=true (safety: --confirmed), `safety.swarmGuard`=true (safety: --confirmed)
- **Context Injections**: `context.roleGuard`=true, `context.roleNote`=true, `context.verifyFirstSession`=true, `context.verifyFirstOrchestration`=true, `context.protocolLevel`=compact, `context.orchFullOn`=auto, `context.codexOrchFullOn`=session, `context.verifyFirstSubagent`=true, `context.taskTracker`=true, `context.handoverResume`=true, `context.defectNudge`=true, `context.dedupeWindowMin`=20*, `context.injectGate`=true, `context.injectGateLimit`=true, `context.injectGateLimitEvery`=10, `context.injectGateTask`=true, `context.injectGateTaskEvery`=10, `context.injectGateComms`=true, `context.injectGateCommsEvery`=30, `context.injectGateSwarm`=true, `context.injectGateSwarmEvery`=20*, `context.shrinkInline`=true, `context.inlineHookChars`=1500*, `context.inlineEventChars`=6000*, `context.protocolOnce`=true
- **Maintenance**: `maintenance.repairOnReload`=true, `maintenance.progressPrune`=true, `maintenance.precompactSnapshot`=true, `maintenance.taskLifecycleLog`=true, `maintenance.sessionEndReaper`=true
- **Agent tracker**: `agents.tracker`=true, `agents.reminders`=true, `agents.ownerNotify`=false, `agents.wakeWatch`=true (engine-side tracker of hung, looping, token-wasting and drifting agents; it only warns and reminds)
- **Version Alerts**: `versionAlerts.antiHall`=true, `versionAlerts.claudeCli`=true, `versionAlerts.devswarm`=true
- **Updates / Maintenance**: `updates.quiet`=false, `updates.allowCachePrune`=true, `updates.reconcileBudgetMs`=60000*, `updates.postpullBudgetMs`=90000*, `updates.sweepBudgetMs`=20000*
- **Limit Conservation**: `limitConserve.mode`=auto, `limitConserve.threshold`=85, `limitConserve.accountCheck`=true*
- **Jev (semantic decision engine)**: `jev.enabled`=false, `jev.transport`=vercel, `jev.fallbackTransport`=none, `jev.judgeModel`=haiku, `jev.judgeBackend`=api*, `jev.speculationBackend`=haiku*, `jev.triageBackend`=jev*, `jev.cascade`=true*, `jev.cascadeShowJevAnswer`=true*, `jev.semanticJudge`=false, `jev.allowLegacyKeyRead`=false*, `jev.genericKeyVendor`=vercel*, `jev.keyFile`=—*, `jev.timeoutMs`=1500*, `jev.confidenceThreshold`=0.85*, `jev.triage`=true*, `jev.triageUrgentThreshold`=0.9*, `jev.budget.mode`=unlimited, `jev.budget.usdPerDay`=—, `jev.budget.usdPerWeek`=—, `jev.weeklyNotice`=true, `jev.audit.snippets`=false*, `jev.logRotatedFiles`=10*, `jev.rollupRetentionDays`=0*, `jev.budget.minCreditUsd`=—, `jev.prices`=—*, `jev.priceUsdPerMInput`=0.042*, `jev.priceUsdPerMOutput`=0*, `jev.reviewAfterDays`=7, `jev.reviewMinDecisions`=30, `jev.reviewReminder`=true, `jev.recommendNotice`=true, `jev.recommendNoticeHeadless`=false, `jev.dispatchTierNoWorkspaceRepos`=(empty), `jev.dispatchTierDetectNoWorkspaces`=true*
- **Jev integration**: `jevIntegrations.speculation`=on, `jevIntegrations.triage`=on, `jevIntegrations.newRequest`=shadow, `jevIntegrations.claimLedger`=shadow, `jevIntegrations.outputVerifyGuard`=shadow, `jevIntegrations.gitGuardSelfCredit`=shadow, `jevIntegrations.modelRouting`=shadow, `jevIntegrations.tasklistTrivial`=shadow, `jevIntegrations.codexNudgeSubstantial`=shadow, `jevIntegrations.mergeGateHedge`=shadow, `jevIntegrations.parentGateQuestion`=shadow, `jevIntegrations.supervisorBlockerLabel`=shadow, `jevIntegrations.findingDedup`=on, `jevIntegrations.postHandoverGate`=off, `jevIntegrations.speculationFramed`=shadow, `jevIntegrations.dispatchTier`=on, `jevIntegrations.devswarmOnBrief`=on, `jevIntegrations.devswarmExtraSanctioned`=on, `jevIntegrations.devswarmWaitKind`=on, `jevIntegrations.devswarmLoop`=on, `jevIntegrations.devswarmStepMap`=on (the five devswarm* are recommendations to the Primary, never a suppression/block/kill)
- **Jev cascade** (Jev first; the model re-judges an answer below the integration's escalation threshold, never waiting on a blocking hook): `jevCascade.speculation`=off*, `jevCascade.triage`=off*, `jevCascade.newRequest`=off*, `jevCascade.claimLedger`=off*, `jevCascade.outputVerifyGuard`=off*, `jevCascade.gitGuardSelfCredit`=off*, `jevCascade.modelRouting`=off*, `jevCascade.tasklistTrivial`=off*, `jevCascade.codexNudgeSubstantial`=off*, `jevCascade.mergeGateHedge`=off*, `jevCascade.parentGateQuestion`=off*, `jevCascade.supervisorBlockerLabel`=off*, `jevCascade.findingDedup`=off*, `jevCascade.postHandoverGate`=off*, `jevCascade.speculationFramed`=off*, `jevCascade.dispatchTier`=off*, `jevCascade.devswarmOnBrief`=off*, `jevCascade.devswarmExtraSanctioned`=off*, `jevCascade.devswarmWaitKind`=off*, `jevCascade.devswarmLoop`=off*, `jevCascade.devswarmStepMap`=off*
- **DevSwarm**: `devswarm.hivecontrol`=—, `devswarm.supervisorMode`=auto, `devswarm.requiredGates`=done,merged,tests_passed, `devswarm.inboxCmd`=—, `devswarm.heldPartitions`=—*, `devswarm.childGateStrict`=true*, `devswarm.parentGateCap`=3*, `devswarm.parentGateNeglectMinUnread`=0*, `devswarm.parentGateBusyFreshMin`=5*, `devswarm.parentGateBusyMaxAgeMin`=60*, `devswarm.parentGateNeglectGraceMin`=1*, `devswarm.activeFloorPct`=50*, `devswarm.archivedCacheMaxAgeMs`=—*, `devswarm.archivedGraceMs`=600000*, `devswarm.cooldownSec`=600*, `devswarm.idleSec`=900*, `devswarm.dormantMs`=1800000*, `devswarm.drainTtlMs`=600000*, `devswarm.graceSec`=5*, `devswarm.maxRecoveries`=3*, `devswarm.intervalSec`=90*, `devswarm.migrateMarkRead`=false*, `devswarm.monitorTimeoutSec`=30*, `devswarm.monitorNoOkFailMin`=10*, `devswarm.nudgeCooldownSec`=120*, `devswarm.nudgeMaxAttempts`=2*, `devswarm.nudgeWindowSec`=180*, `devswarm.postSpawnGraceSec`=120*, `devswarm.reapedRetentionDays`=30*, `devswarm.receiptWindowMs`=300000*, `devswarm.archiveRequestRenagHours`=24*, `devswarm.reconcileSweep`=auto*, `devswarm.reconcileSweepSec`=900*, `devswarm.sweepTailMode`=node*, `devswarm.rowStaleMs`=86400000*, `devswarm.sendReceiptRetentionDays`=7*, `devswarm.summaryRetentionDays`=30*, `devswarm.wakeCron`=7,37 * * * **, `devswarm.rearmOnTickOnly`=true*, `devswarm.wakeWatchPollMs`=2000*, `devswarm.wakeWatchIdleSkip`=true*, `devswarm.childGateRetentionDays`=14*, `devswarm.housekeepingSweep`=auto*, `devswarm.housekeepingSweepSec`=3600*, `devswarm.supervisorLogRotateBytes`=10485760*, `devswarm.inboxGraceSec`=120*, `devswarm.supervisorSweepBudgetMs`=20000*, `devswarm.supervisorBlockerLabelReaskSec`=21600*, `devswarm.autoArchive.mode`=on, `devswarm.autoArchive.idleMin`=30*, `devswarm.autoArchive.maxPerSweep`=3*, `devswarm.autoArchive.ignorePings`=true*, `devswarm.retention.days`=30*, `devswarm.retention.maxStoreMB`=100*, `devswarm.retention.keepPerPartition`=200*, `devswarm.retention.archive`=true*, `devswarm.retention.archiveMaxMB`=0*, `devswarm.parentGate`=true, `devswarm.childGate`=true, `devswarm.parentInbox`=true, `devswarm.childTurn`=true, `devswarm.childRole`=true, `devswarm.childDrain`=true, `devswarm.parentReplyTracker`=true, `devswarm.commsGuard`=true, `devswarm.inboxReadGuard`=true, `devswarm.wakeWatch`=true, `devswarm.appSync`=true, `devswarm.screenshotSync`=true, `devswarm.spawnFromOrigin`=true, `devswarm.dispatchTierText`=true, `devswarm.inlineWorkNudge`=true, `devswarm.inlineWorkNudgeThreshold`=5*, `devswarm.tickRosterEvery`=0*, `devswarm.sendMultiRecipient`=true, `devswarm.spawnStrictFlagValues`=true, `devswarm.spawnFetchTtlSec`=300*, `devswarm.spawnCreateTimeoutMs`=180000*, `devswarm.planTracking`=true, `devswarm.planRequired`=false, `devswarm.stepStallMin`=30*, `devswarm.strayWarnMax`=2*, `devswarm.burnTokensWarn`=2000000*, `devswarm.burnCacheReadPct`=10*, `devswarm.respawnGraceMin`=20*, `devswarm.respawnWipWaitSec`=120*, `devswarm.cronMissingWarnMin`=60*, `devswarm.archivedChildStop`=true, `devswarm.maintainerNotice.post`=false (safety: --confirmed), `devswarm.maintainerNotice.show`=true, `devswarm.startupSampling`=true, `devswarm.pausedProbeMax`=8*
- **Statusline**: `statusline.base`=—, `statusline.noEmail`=false, `statusline.usage`=true, `statusline.version`=true
- **Codex Nudge**: `codexNudge.enabled`=true, `codexNudge.min`=3*
- **Process watch**: `procwatch.enabled`=true, `procwatch.devServerMode`=report, `procwatch.testRunnerMode`=report, `procwatch.buildDaemonMode`=report*, `procwatch.mcpServerMode`=report*, `procwatch.shellTaskMode`=report*, `procwatch.otherMode`=report*, `procwatch.stuckMinutes`=20
- **Resource watch**: `resourceWatch.enabled`=true, `resourceWatch.cpuPercent`=90, `resourceWatch.cpuWindowSeconds`=120*, `resourceWatch.memoryMb`=4096, `resourceWatch.swapMb`=8192*, `resourceWatch.freeRamOkPercent`=20*, `resourceWatch.pressurePercent`=25*, `resourceWatch.macPressureLevel`=2*, `resourceWatch.cooldownSeconds`=900*, `resourceWatch.renice`=false
- **Disk watch**: `diskWatch.enabled`=true, `diskWatch.warnGb`=20, `diskWatch.warnPercent`=10*, `diskWatch.criticalGb`=5, `diskWatch.criticalPercent`=3*, `diskWatch.cooldownSeconds`=1800*, `diskWatch.blockAtCritical`=false
- **Defects**: `defects.defaultProj`=—
Env-only: `ANTIHALL_CONTEXT_WINDOW_TOKENS`, `ANTI_HALL_THROTTLE_PATTERNS`, `ANTIHALL_DEVSWARM_APP_DB` (path or `off`). "(safety: --confirmed)" = a safety key: `set` to the risky value, and a `reset` whose fallback value is risky (e.g. resetting an armed `guards.stashGuard`, default off), need `--confirmed` (a human direct command, or the agent asking the user and getting a yes) — without it nothing changes and a one-line factual warning is returned instead; re-arming a guard never needs it; a direct user ask to change it IS the confirmation. A settings.json value counts like any other (normal precedence); nothing mechanically stops an agent writing that file directly — the owner chose consent over an extra guard, so never hand-edit a safety key there to get around the confirmation. No switch on purpose: skip-guard, coordinator-detect, omc-detect, phase-tracker, fable-availability, codex-availability, emit-dedupe-reset, agent-watchdog, command-guard's data-safety sub-guards (`ah-engine settings show` gives the reasons).
## The engine (`ah-engine`, the core component)
Hooks are one thin trigger per event: `hooks.json` runs the installed Rust thin client `~/.anti-hall/ah-engine/bin/ah-hook <Event>`, which asks the engine (`~/.anti-hall/ah-engine/bin/ah-engine`). No Node and no shell script is on any hook path; if the engine is missing or unreachable the hook passes through and prints one notice per session (an engine that answers with an error or no verdict on a guarded event follows that event's failure mode, which blocks by default). The plugin ships one shell file, `hooks/install.sh`, used only on first install or when the binary is missing; binaries are installed only if their sha256 equals the one pinned in `ah-engine.lock` (the download is switched by the setting `engine.bootstrap`). Every command an agent runs goes through the same client: `ah-hook <verb> [args]` runs `ah-engine <verb> [args]` (for example `ah-engine doctor`, `ah-engine settings show`). Update or roll back the engine binary: `ah-engine engine-update --from FILE | --channel stable|dev | --rollback` (sha256 and attestation checked, previous binary kept; setting `engine.autoUpdate` = off|stable|dev). Its rules, settings and texts are plugin files in `engine/` (never compiled in), hot-reloaded, with fallback edited, then last-known-good, then SHA-verified pristine bytes (`engine/defaults.pristine/`, generated bundles plus loose pinned files); `ah-engine config heal` restores missing keys. Turn one guard off: set its entry's `mode = "off"`. Read what it did: `ah-engine telemetry summary` (local only, identifiers never content, `telemetry.enabled`), `ah-engine status --json`, `ah-engine doctor`. macOS on Apple silicon; Linux and Apple Intel coming soon; Windows is not supported. Engine settings are engine files, not `ah-engine settings` keys: `ah-engine config --json` lists each value with its source. Details: `docs/AH-ENGINE.md`.
## Where to look
`llms.txt` (every hook/skill/script/setting in one page) · `https://github.com/talas9/anti-hall/blob/main/docs/GUIDE.md` (per-hook detail, settings) · `https://github.com/talas9/anti-hall/blob/main/docs/KB-devswarm-hivecontrol.md` + `https://github.com/talas9/anti-hall/blob/main/docs/KB-devswarm-app-db.md` (DevSwarm) · `https://github.com/talas9/anti-hall/blob/main/docs/KB-jev-classifier.md` (Jev) · `CHANGELOG.md` (what changed) · `AGENTS.md` (the protocol for Codex). `docs/` ships only with a repo clone.