Repository navigation
Releases
v0.310.0
Ships engine 0.3.43. Highlights:
Harness
- The Orca harness now ships active (
active = trueinharness/orca.toml), alongside DevSwarm. Each session still picks its harness from its own environment (a session's env beats a file marker; both env-marker sets tie). A non-spoofable Primary proof (#1141) remains open as a known limitation (#1201). - The Orca
self.workspacelookup is cached per session and working directory, bounded by entry count and memory (harness.lookup_cache_ttl_ms, default 5000 ms;harness.lookup_cache_max_entries;mem.lookup_cache_*). This removes about 0.4 s from each tool call in Orca sessions (#1202).
Guards
- All command guards use the shared wrapper-option grammar on both the Claude and Codex engine paths; owner wrapper settings also apply to the timeout fallback (#1145).
Release and install
- Release libraries load from the release inventory. Existing extra owner modules in
~/.anti-hall/logic/lib/migrate once into anowner_lib_filessnapshot in~/.anti-hall/owner-lib-files.json, with explicitscript.owner_lib_filesconfiguration taking precedence. Doctor reports missing listed libraries and modules that are skipped. This applies to Claude/OMC and Codex/OMX installs (#1158).
Fixes and tests
- A TaskCreate at the active-window limit saves the task to the backlog without a denial, and higher-priority tasks stay in the active window (#1186).
- The silent-agent nudge restores the action text the golden test asserts (#1204).
- The
stop_reblocknative-count fixture keeps its stdout open across probe deadlines, removing a CI flake (#1198). - Engine CI: the quick tier runs only the changed crates, split into three jobs, without
dep_budget. Merged before 0.309.0 but not listed there (#1190).
ah-engine v0.3.43
Assets, SHA256SUMS and build-provenance attestations for ah-engine-v0.3.43. Verification steps: ah-engine/RELEASING.md.
v0.309.0
Ships engine 0.3.42. Highlights:
Security
- Sender and owner-role checks fail closed when process ancestry cannot be established. Native Claude installs are recognised as agents, so
env -ialone no longer makes an agent look human. A process reparented to launchd still escapes detection; that residual is tracked in #1141 (#1169).
Harness
- Uniform workspace record (
id,path,branch,title,lifecycle,is_primary,parent,paused,pr) for the harness adapter. DevSwarm workspace CLI rows (workspace.list,workspace.info,workspace.create) now includetitleandpr. Primary is set only on an explicit positive answer; an unknown role is never archived or deleted (#1160). - Orca envelope decoder hardened: blank or empty harness-tagged WAL entries are quarantined, non-object rows fail the list closed, and a malformed zero-byte peek writes nothing. The Orca harness stays inactive until switched on (#1163).
- Check scripts can run one read-only op of the serving harness through
ah.harness.run(op, args, {timeoutMs})(andah.harness.name()). Onlyreadops run; deletes, message takes and watches, writes and unclassified ops are refused before any process starts. Timeout and output bounds come from config (harness.script_timeout_max_ms,script.exec_output_max_bytes,script.exec_max_calls). The child Stop gate's native message count now goes through the harnessmsg.countop; DevSwarm keeps the gate's own reading, and an unknown count is null, never 0 (#1138). - Role and identity lookups (
is_child,role_unresolved,is_primary, the owner lock) run the host CLI only from the harness'sknown_locations, with the daemon's own HOME and the newharness.lookup_path(default/usr/bin:/bin), so a fake CLI orbashon the caller's PATH, or a HOME redirect, can no longer answer an agent's role (#1172). - Harness identity reads the request environment through the allowlisted capture; non-UTF-8 variables are skipped instead of panicking (#1159).
Engine
- A guard whose shared script library fails to load no longer blocks the repair path: configured read-only tools, read-only Bash and the engine and hook-client
doctorcommands still run, while actions that need a guard decision stay held. The load error produces one session notice, one health event and one counter, anddoctorshows the latest load failure (#1156). ah-engine check <name>is no longer read-only: it writes the guard's counters toobs-counters.log, as the hook path does (#1157).
Fixes and tests
- Engine CI: the quick tier runs on pull requests and pushes to
dev; the full pack runs formain, tags, dispatch and thefull-cilabel. Load-sensitive engine tests are excluded from the quick profile (#1184). cargo fmtacross the engine, so the CIfmtandlintjobs pass ondev(#1185).- CI: the quick tier is split in 3 and skips docs-only PRs; dep_budget runs only in the full pack (#1190).
- Test fixes: docs coverage for
request_env_non_utf8, harness-record scratch paths cleaned up, and path normalisation resolves symlinked temp directories (#1178). - The
mem_reloadtest runs without the process-watch job, which caused the heap step it measured (#1162).
v0.308.0
Ships engine 0.3.41. Highlights:
Harness adapter (#1106)
- New harness adapter: host orchestrators (DevSwarm, Orca) sit behind one mapping schema, one file per harness under
engine/defaults/harness/with an edited, last-known-good and SHA-verified pristine fallback chain (#1108). - Request-time harness resolution (role, identity, child status, guards, workspace) with read-only JS getters under
ah.harness(#1112); roles, identity and the DevSwarm parent and child path markers now come from the resolver, with the old DevSwarm keys kept as fallback (#1116, #1119). - Messaging, state, the native monitor and drain, lifecycle actions (archive, create, title, merge) and app database sources run through the adapter's uniform ops (#1120, #1124, #1126, #1127).
- Flag-aware host-command guard driven by each harness's
[guards]table, anchored at the host verb, with safe-flag edge cases handled (#1122, #1125). - The Orca harness ships with its operations mapped and checked against a live Orca host, but inactive (
active = falseinharness/orca.toml): it must be switched on explicitly. Roles stay unresolved without positive evidence, and destructive workspace operations are refused for agent callers (#1134). - Harness skill section and its Codex mirror; a reference note comparing agent messaging in the mesh, DevSwarm and Orca (#1109, #1135).
Plugin size (#1110)
- The plugin is back under the plugin-directory limit: 398 tracked files (limit 512). The plugin directory checks now always run in the engine gate (#1111, #1123, #1129, #1140).
- The plugin's shared script libraries are now three files (
engine/logic/lib/00-core.js,60-guards.js,73-state.js) instead of about 30 (#1123). An owner override in~/.anti-hall/logic/lib/named after an old module (for example55-command-parts.js) is no longer loaded: beside the merged files it re-declared their names and made every scripted check defer. The engine now skips it, logs ascript_stale_lib_overrideevent naming the file, anddoctorlists it with the fix: delete it, or merge its changes into the matching section of the merged file. Overrides named like a current file (00-core.js,60-guards.js,73-state.js) still replace it, and extra lib files with new names still load. - Shipped defaults carry a SHA-256 manifest (
defaults.pristine/index.sha256); shipped identity and harness trust compare against it, and a stale pristine twin is ignored (#1129). The non-pinned pristine defaults are packed into verified bundles (#1140).
Engine
- Shared wrapper-option grammar (
shell.wrapper_grammar) and its parsers; no guard uses it yet (#1132). - Only the winning concurrent defaults install bumps the defaults generation, so a gated duty is no longer re-run while its inputs are unchanged (#1133).
Fixes and tests
- Checked access at nine indexing sites (#1136); clippy clean after the harness merges (#1121); harness test isolation and pinned-pristine keys (#1128); three dev test failures fixed (#1130); the hook client's tunables scan accepts its per-thread mute flag (#1143).
Known issues
transcript_scan_peakfails at its 16 MiB budget by design (#637).script_latency: task-guard and auto-handover p95 are slightly over the 1 ms budget under load; the budget was not raised (#1099).- On a cold engine start under load, hold-class guard calls can be held as "too busy" instead of answered; the hold is always visible, never silent (#1100).
defaults_load.after_load_backgroundships off until #1097.
ah-engine v0.3.42
Assets, SHA256SUMS and build-provenance attestations for ah-engine-v0.3.42. Verification steps: ah-engine/RELEASING.md.
ah-engine v0.3.41
Assets, SHA256SUMS and build-provenance attestations for ah-engine-v0.3.41. Verification steps: ah-engine/RELEASING.md.
v0.307.5
0.307.5
Security hotfix. Ships engine 0.3.40.
- Workspace descriptors could carry a command that the engine daemon ran without its usual checks. Descriptors no longer carry anything executable: the poke path uses only an engine-owned template, empty by default, so automatic stall pokes are off and stale workspaces escalate instead (#1105, #1107).
Known issues
script_latency: task-guard and auto-handover p95 are slightly over the 1 ms budget under load; the budget was not raised (#1099).transcript_scan_peakfails at its 16 MiB budget by design until #637.- On a cold engine start under load, hold-class guard calls can be held as "too busy" instead of answered; the hold is always visible, never silent (#1100).
defaults_load.after_load_backgroundships off until #1097.- The plugin is over the plugin-directory file limit (548 files vs 512), so it is held for directory review; installs are unaffected (#1110).
ah-engine v0.3.40
Assets, SHA256SUMS and build-provenance attestations for ah-engine-v0.3.40. Verification steps: ah-engine/RELEASING.md.
v0.307.4
0.307.4
Ships engine 0.3.39. Highlights:
- Guard calls never fail open: a hold-rule call (git push, force push, gh remote changes) that cannot reach the engine under load is now held with a visible "engine was too busy… Nothing ran. Retry" message, never silently allowed (#1094).
- Mesh: owner-chat and owner-broadcast orders now render reply and ack commands the engine actually accepts, so the owner's replies land as direct rows (#1073).
- Rules coherence review fixes across guards, tasks, nudges, stop, DevSwarm, dispatch and port parity (#1074, #1075, #1077, #1079, #1082, #1083).
- New rule: plans simulate their scenarios and error handling, in both ports (#1076).
- Four new agents in both ports: AH-investigator, AH-deployer, AH-verifier and AH-shipper (#1068).
- Hook-path performance: fewer fsyncs on atomic writes, faster task-guard and auto-handover, coalesced gate-case writes (#1089, #1090, #1091).
- Rules reload: a reload during the first load's background work is queued behind it in arrival order instead of waiting on it (#1095).
- No-hardcoding scanner now skips every inline
#[cfg(test)]module, not onlymod tests(#1093). - Release-gate and dev-suite test fixes (#1072, #1078, #1080, #1081, #1084, #1085, #1086, #1087, #1088, #1092, #1098).
Known issues
script_latency: task-guard and auto-handover p95 are slightly over the 1 ms budget under load; the budget was not raised (#1099).transcript_scan_peakfails at its 16 MiB budget by design until #637.- On a cold engine start under load, hold-class guard calls can be held as "too busy" instead of answered; the hold is always visible, never silent (#1100).
defaults_load.after_load_backgroundships off until #1097.
ah-engine v0.3.39
Assets, SHA256SUMS and build-provenance attestations for ah-engine-v0.3.39. Verification steps: ah-engine/RELEASING.md.