Repository navigation
v5.21.0
The npm package gains a session-orchestrator doctor command, and the publish workflow now installs each tagged version from the public registry and checks that the shipped guard blocks. so-hud recognises Windows program names and PowerShell secret reads, the hook shim searches only absolute PATH entries on every system, and every file of the npm package is now also in the public GitHub snapshot. Further: session-lock and registry locking fixes, many ux-grill and design-review fixes, gate events with duration and host, and vault pointers in the session briefing.
Added
- Custom phases at close know the session's start ref and leave an event (#2121). Session-end Phase 2.5 runs each phase with
SO_SESSION_START_REFandSO_SESSION_IDin the environment (never interpolated intocommand) and recordsorchestrator.custom_phase.completedwithname,modeandexit_code. A repo can now run its own close-time step scoped to the session's changes, for example a text review over changed message files, throughcustom-phaseswithout plugin code of its own. - Session close and the notification hook follow the Orchestrator Desk presence rules (#2176).
scripts/lib/desk-rules.mjsreadsdesk/anwesenheit.jsonanddesk/regeln.jsonunder the navigator directory, the same way the Desk reference reader does. The 13 test cases of the Desk contract are copied unchanged. In session-end Phase 4a, a clean promoted worktree is still removed undertidy = tell, and a notice line is added. It stays in place under a stricter value, a broken or stale file, or stopped agents. The repo's Notification hook (scripts/desk-notify.mjs) shows the macOS notification only at the desk, or when away withunblock = reach. At night, on vacation, or with a broken file it stays silent. Without both files, everything works as before. - ux-grill runs on a remote-offload host in one command (#2184).
node scripts/ux-grill-offload.mjs --repo <target> --app-dir <dir> --host m5builds agit archiveimage of the target, letsoffloadrun the host side, and lands the manifest, this run's ledger lines and the run directory in--out. On the host, the app is installed, built and served on loopback as a child of the offload job, then crawled once for a bootstrap manifest. The host side then runscollectandcompareRuns. A busy host stops the run with exit 2, and the run carries no credentials and files no issues. Documented inskills/ux-grill/SKILL.md§ Offload host. - Generated rules and vault learning notes link to each other (#1135). Vault Mirror adds the compiled rule path to each learning note, for every learning-key pair of a consolidated rule, and Reconcile records the vault note path as
vault-notein new rules while vault integration is enabled. The path is left out when it matches a private slug or the slug policy cannot be loaded. Existing rules are not rewritten. - Session close records peak Agent subagent concurrency, the share of session time with an active subagent, and peak coordinator context (#2164). The
breadthfields measure a lower bound on delegation because they exclude Codex and offload jobs launched through Bash. A readable source with no observed intervals yields zero for both subagent metrics. Missing measurements arenull. - Session planning surfaces advisory notices for spare implementation capacity and deep sessions with fewer than four issues (#2164). The capacity notice considers independent tasks with disjoint write scopes and the wave's agent cap. Both notices are informational.
scripts/guard-friction-census.mjscounts what the destructive guard denied and warned, and at what (#2090). Read-only. It reads the rotated events ledger of one or more--repo-roots over--days(default 14) and prints per rule: denials, how many of them were measuredrecoverable(the cases profilerelaxedsoftens), warnings, and the target-class split with the temp share as numerator/denominator over the targets the guard could classify;unknowntargets stay out of that denominator and are reported beside it asunknown_target. Only events carryingcase,target_classandrule_class(written since 5.20.0) enter a share; older ones are counted asunmeasured, invalid field values asinvalid, and malformed, undated and future-dated lines are counted too. Each ledger reportscovers_window, whether its oldest retained event reaches back to the window start. Measured on this repo's ledger on 2026-11-15: 3239 guard events in 14 days, 2 of them measured; a share over all 3239 would have rested on 3237 records that never recorded a target. This is the instrument for choosing the default profile from measurement; the default staysstandard.- The publish workflow checks the public npm install of each tagged version (#2194). A new job
install-checkinstalls the tagged version from the public registry into a clean Node.js 24 project, with lifecycle scripts disabled, and passes a destructive test command to the shipped Bash guard through stdin; it passes only when the guard denies it. It runs after a successful publish, and also when the version already exists. The GitHub release notes link to the version on npm, where the provenance is shown. session-orchestrator doctorruns the runtime-readiness check from the npm package (#2194).bin/session-orchestrator.mjswires one subcommand toscripts/runtime-readiness.mjsand passes its options (--json,--repair,--codex,--claude,--root <dir>) and its exit code through (0 ready, 1 input error, 2 system error, 3 not ready). An unknown subcommand prints help on stderr and exits 2.- Gate events carry
duration_msandhost(#2197). All four writers oforchestrator.quality_gate.passedand.failedrecord the wall time of the gate, measured with a monotonic clock, and the host. A reused receipt carries neither, because no gate ran. Both fields are optional in the schema, so older records stay valid; a missingduration_msmeans not measured, never 0. - session-start puts vault pointers for the session topic into the briefing (#2169). With
vault-integration.briefing-search: true(defaultfalse), Phase 6.6.1 runs one word-only vault search with the session topic under a 5 s limit and shows at most 5 candidate paths in at most 600 characters. The topic reaches the command as one argument, vault paths stay out of the event webhook, and any failure prints nothing and never blocks the start.orchestrator.vault.pointers_shownrecords shown blocks andorchestrator.vault.pointers_skippedrecords why a step showed nothing. scripts/agent-usage-census.mjsreports tool calls before the first edit (#2170). A second section lists, per agent type, the orientation cost before the first edit, classified as search, read, install, check or other. Calls are counted once pertool_useid, because transcripts replay each call in an api-request-blob line.public-auditskill measures the public technical discoverability of a site from an explicit manifest (#2108, stage O).node scripts/lib/public-audit/cli.mjs --manifest <file> --jsonmakes bounded requests (at most five per hostname) and reports redirects, page metadata, typed JSON-LD, sitemaps, robots policy, crawler responses, head resources, HTML bytes and optional public files. Exit codes: 0 complete without error findings, 1 error findings, 2 invalid input or output, 3 incomplete without error findings. It does not log in, drive a browser or use account data, and it makes no claim about rankings, indexation or rich-result eligibility; stage L (search visibility and account data) is still open.
Changed
- CP11 reads owner.yaml once (#1270).
loadOwnerConfig()reportsdroppedSections[].rawKeys, so the leakage scanner no longer re-parses the file;loadHostPaths()returns{ ownerConfig, env }only. Scan verdicts and confidential-name redaction are unchanged. Copyowner-yaml.mjs,config/host-paths.mjsandvalidate/check-owner-leakage.mjstogether. - The backlog checker reads a repo's documented label taxonomy and checks its own reads (#2097). When
origin/maincarries.claude/rules/gitlab-labels.md, declarations come from its firstAchsetable (prefix:*declares a family) and the report names the file and theorigin/mainSHA it read. With the file present, a missing, empty or ambiguousTyp/Typerow makes the type axis unmeasurable. With no file or ref, the 10 %/5-issue heuristic still applies to all families, including type. The Lead helper uses the same source andTyprow, accepts onlyTyp, treats text around backticked labels as ambiguous, and reports the axis as unmeasurable when the source is unavailable. The checker now reads the newest issue iid with one extra call, so a dependency on an issue closed before the window is no longer dropped; a paged read whose count differs from theX-Totalheader ends with exit 2 and both numbers; andstatus.review-mr-mergedcounts a merged MR only when it is inclosed_byor its title refers to the issue, no longer every MR that merely mentions it. GitHub targets, duplicate detection and age since work started remain open (seedocs/backlog-refinement.md§ Ceilings). - The Codex plugin agents
explorer,session-reviewer, andwave-workernow usegpt-6.2-sol. (#2136) - Skill frontmatter
model-preference-codexnamesgpt-6.2-astrafordiscovery,eval,plan,session-planandtest-runner, andgpt-6.2-solfor the other 13 skills (#2152). The 18gpt-5.4/gpt-5.4-minientries inskills/,.codex-plugin/skills/and.agents/skills/are gone. No code reads the field to choose a model. - CI: the test, coverage-shard, pack-lifecycle and schema-drift-check jobs start when the pipeline is created (
needs: []in.gitlab-ci.yml). Before, each waited for the earlier stages. None of them reads an artifact of those stages, andpipeline-gatestill needs every gate. On main the coverage shards used to start only aftertest 2/3finished (pipeline 48746: coverage began at +17:36 of 28:29); they now run beside the test shards. - The pre-push remote gate picks the configured host by load (#2173). Candidates are the Session Config
remote-hostsentries that allowtest, now led bywin-wsl; the first host with a free gate slot andlast_5below itsbatch_last_maxgoes first. Whenoffload statuscannot measure, the configured order stays and one stderr line says so; a push is never blocked by the probe.SO_GATE_HOSTSstill wins. A check that hits its deadline namesSO_GATE_HOSTS=<alias> git pushin the failure log. - The destructive-guard test file is split into seven files (#2100).
tests/hooks/pre-bash-destructive-guard.test.mjsheld 749 tests in one file, which vitest runs serially in one worker, so it set the wall time of its CI shard (391–621 s intest 2/3and coverage shard 2/3). The tests now live intests/hooks/pre-bash-destructive-guard-*.test.mjswith a shared harness intests/_helpers/destructive-guard-harness.mjs; the largest file holds 148 tests. The count is unchanged: 749 before and after, 0 failed. - The npm package no longer ships
CHANGELOG.mdor seven maintainer-only paths, andremarkis a devDependency (#2194). Nothing a shipped hook, skill or command runs at run time needs the dropped paths (scripts/ci/plugin-smoke.mjsstill names one of them, and it runs only in a Git checkout);remarkis imported only by a test. The unpacked package shrinks from about 18.8 MB to about 17.7 MB. Release notes are on the GitHub releases page. - project-hygiene, maintenance-due and peer-cards-staleness repeat an unchanged finding at most every 7 days (#2196). The three probes warned in 84, 86 and 86 of 86 probe runs since 11 November, describing a standing state. The probe runner holds back a warn-level line whose facts did not change, and reports at once when a finding is new, when a size doubled against the last reported value, when seven days have passed, or when the remembered state is missing or broken. The held-back line stays in
results[].suppressedLine, the state in.orchestrator/tmp/probe-repeat.json, and the ledger recordsrepeat: reported | suppressedper probe.
Fixed
- The public GitHub snapshot carries the npm command file (#2194). The export policy now includes
bin/session-orchestrator.mjs; the trusted publish workflow packs from that snapshot, so without it thebinentry would have pointed at a missing file. A test now fails when npm packs a file the export policy leaves out, and when the command file is not packed at all. - The maintenance notice for expiring rules recommends a seven-day horizon (#2165). The CLI help and rule authoring guide document the zero-day default. JSDoc uses the same cutoff definition throughout. Expired markers-only entries within the grace window no longer set the expiry header.
- Remote wave dispatch counts offload's admission wait in its local kill and maps exit 10; the pre-push gate no longer waits for a slot (#2186). offload 1.8.0 waits up to
RO_ADMISSION_WAIT(default 600 s) for a slot before the run; the local wall-clock kill inremote-dispatchis nowtimeoutSec+ that wait + 60 s, so a run that waited is no longer reported astimeout. Exit 10 becomesadmission-refusedonly when the LASToffload: admission=stderr verdict isrefused(a waiting offload printsrefused, thengranted, then runs the command); otherwise it staysremote-command-failed. The pre-push gate passesRO_ADMISSION_WAIT=0tooffload run, so a busy gate host refuses at once and the next route is tried. No--nicht-warten: older offload versions do not know it. - Generated-rule sweeps include unexpired markers-only dates when rewriting the expiry header (#2163). The header and absorbed-dates sentence now use the same earliest date the advisory will see after the rewrite.
/evolve analyzeno longer derives a hardware pattern from registry sweeps (#2114). The sweep logs an age only when it removes an entry already past the 60-minute stale cut, so theheartbeat-gapdetector fired on every entry (4297 of 4297 in the live sweep.log); it is removed instead of raising its threshold. The fragile-file heuristic inevolve-analyze-mode.mdnow counts a file only with three or more commits in one session, in at least three sessions, excluding CHANGELOG, docs and package*.json. Three expiring generated-rule sections were swept, and two command-blocker fragile-file findings were folded intoguard-design.md.- The backlog checker recognises "Fertig, wenn:" with a comma as an acceptance heading (#2117).
ACCEPTANCE_REaccepts the German heading with and without comma and colon, in any case;ready.no-acceptanceno longer fires on it. - Vault-pointer events carry the process-local session id in shared checkouts (#2172).
pointers_shownandpointers_skippedrecordnative_session_idfromreadProcessLocalSessionIds()in the local ledger only; the webhook payload stays without it. emit-sessionredacts e-mail addresses in session notes before appending (#2125).notesandexpress_path.notespass throughredactSpans(); historical records are read unchanged.