Skip to content

chore(release): v1.6.0 — native orchestration and a model policy - #60

Merged
xergioalex merged 12 commits into
mainfrom
chore/release-1.6.0
Dec 2, 2026
Merged

xergioalex merged 12 commits into
mainfrom
chore/release-1.6.0

Conversation

@xergioalex

Copy link
Copy Markdown
Member

Summary

Release v1.6.0. Interface stays 1; every change is additive.

  • Native orchestration: ak run --pick with --failover / --fallback / --owner / --exclude; ak fanout run|ls|clean (one git worktree per lane, fanout-v1, --branch-prefix, --label, per-task timeout/exclude/class); ak ps [--all] [--json] (sessions-v1, with thresholds, herdr_server, leases); a declared account pool (--only, AGENTKIT_POOL); visible leases in the ak run envelope, now described by run-envelope-v1.json with closed, additive-only value sets.
  • A model policy: ~/.config/agentkit/models.toml with default, classes (reasoning, execution), deny and floor; --class on ak <kind>, ak run, ak pick and ak fanout. Refuses, never substitutes. Nothing changes without the file. See docs/models.md.
  • Z.AI GLM: the opus and sonnet slots of *-glm kinds default to glm-5.4; haiku stays glm-5.3-flash.
  • ak usage keeps a dimmed, dated last_known reading of an account it cannot read now.
  • Version stamp, install pins and schema $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 skipped
  • bash scripts/check-public-hygiene.sh: pass
  • After merge: annotated tag v1.6.0 triggers release.yml (tarball + SHA256SUMS)

🤖 Generated with Claude Code

xergioalex and others added 12 commits November 28, 2026 08:06
--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>
@xergioalex xergioalex added the Ready Ready for review label Dec 2, 2026
@xergioalex
xergioalex merged commit 70a413d into main Dec 2, 2026
6 checks passed
@xergioalex
xergioalex deleted the chore/release-1.6.0 branch December 2, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready Ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant