Repository navigation
chore(release): v1.6.0 — native orchestration and a model policy - #60
Merged
Merged
Conversation
--only @A,@b on ak pick (also with --kinds), ak run --pick and ak fanout run, or AGENTKIT_POOL when no flag is given, keeps every choice, failover included, inside those profiles. A profile outside the pool is listed as 'outside the pool' and never chosen; --allow-unknown does not admit it. Additive: without either, nothing changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With ak run --pick --owner, each attempt carries lease {owner, released}
(null when it could not be taken), and docs/run.md states its lifetime. Each
ak ps --json session carries leases [{owner, purpose}] for its account, so a
launched agent can be tied to the lead or daemon that leased it. Additive.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ak ps --json states the thresholds every verdict was judged by (null when the settings are invalid) and, per session, herdr_server: an opaque id of the Herdr server, since pane ids are unique per server, not per host. A headless ak run now keeps a record while it runs (rewritten when it moves to another account, removed when it ends); ak ps --all lists those with mode run, run_id for ak fanout lanes and owner. ak ps without --all lists what it did before. The fan-out marker variable never reaches the CLI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ak fanout run --branch-prefix P puts lanes on P/<id>, refused before anything is created when such a branch exists; --label is echoed in fanout-v1 and the record; a task may carry its own timeout and exclude. ak fanout clean deletes a prefixed branch only when the lane's proven worktree has it checked out, and names it when the worktree is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/schema/run-envelope-v1.json describes the interface 1 envelope of ak run, with attempts[].reason and failover as closed sets that only grow, and the exit codes stated stable. Every schema says its identifiers are profile names. docs/usage.md lists which window ids mean the same across vendors for --need; docs/run.md states that ak capacity --self works inside an ak run --pick or ak fanout lane. The contract scope pins all of it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Z.AI's latest flagship on the GLM Coding Plan is GLM-5.4. The opus and sonnet slots of every *-glm kind now default to glm-5.4 (from glm-5.3); the haiku slot stays on glm-5.3-flash, still the latest fast model. The values stay bare ids because they feed Claude Code, Codex, OpenCode and Pi alike; docs/kinds.md explains Z.AI's [1m] suffix for a 1M context in claude-glm. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
~/.config/agentkit/models.toml (AGENTKIT_MODELS moves it) holds a table per kind or CLI: default, classes (reasoning, execution), deny and floor. ak <kind> --class C launches the class's model. Deny and floor refuse with exit 2 and never substitute; a guarded table with no model to pass, or a policy model for a CLI whose model flag ak does not know (Grok today), is refused rather than launching the CLI's own default. Without the file nothing changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ak run takes --model and --class (headless, only for a CLI that declares its model flag) and decides each kind's model before any attempt, so a fallback kind gets its own table's model and a refusal is exit 2 before anything starts. ak pick --class / --class-for evaluate the policy's model, skip a kind the policy refuses in --kinds, and the pick-v2 launch argv carries --class (new optional key 'class'). ak fanout --class and a task's class reach every lane, checked before anything is created. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/models.md: the file, its keys, the order of resolution, the refusal rules, where it applies and what it cannot enforce (a CLI whose model flag ak does not know, the in-session model picker). Linked from run, fanout, usage, SECURITY, README, AGENTS, the agentkit skill and ak --help. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Native orchestration (ak run --pick with failover, ak fanout, ak ps, a declared account pool, visible leases), a model policy with task classes, and Z.AI GLM-5.4 defaults. Interface stays 1; every change is additive. The version stamp, the install pins and the schema ids move to 1.6.0, and the Unreleased changelog becomes [1.6.0]. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release v1.6.0. Interface stays 1; every change is additive.
ak run --pickwith--failover/--fallback/--owner/--exclude;ak fanout run|ls|clean(one git worktree per lane,fanout-v1,--branch-prefix,--label, per-tasktimeout/exclude/class);ak ps [--all] [--json](sessions-v1, withthresholds,herdr_server,leases); a declared account pool (--only,AGENTKIT_POOL); visible leases in theak runenvelope, now described byrun-envelope-v1.jsonwith closed, additive-only value sets.~/.config/agentkit/models.tomlwithdefault,classes(reasoning,execution),denyandfloor;--classonak <kind>,ak run,ak pickandak fanout. Refuses, never substitutes. Nothing changes without the file. Seedocs/models.md.*-glmkinds default toglm-5.4; haiku staysglm-5.3-flash.ak usagekeeps a dimmed, datedlast_knownreading of an account it cannot read now.$ids move to 1.6.0;[Unreleased]becomes[1.6.0] - 2026-12-02.Test plan
bash tests/run.sh: 3437 passed, 0 failed, 1 skippedbash scripts/check-public-hygiene.sh: passv1.6.0triggersrelease.yml(tarball + SHA256SUMS)🤖 Generated with Claude Code