Skip to content

v2.11.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 13:58
· 9 commits to main since this release
39e5d8e

Review until clean and one task at a time, on by default; a hardened aitk run; aitk init sets up your AI tools; repositories with a symlinked docs/.

⚠ Compatibility

  • Review until clean and one task at a time are on by default, in existing projects too. A standard task now waits in in_review until a review pass finds 0, and an agent cannot start another task while its active one still needs it. To keep the old behaviour, set [quality] review = "strict" and one_task = false.
  • aitk init now writes [quality] review = "standard". aitk before this release rejects [quality] review and one_task (E_SCHEMA), so everyone on a project that uses them needs this release or later.
  • Strict work in every project (with or without [quality] review, including aitk run): the independent review pass must itself be clean. Another tool's findings followed by the implementer's own clean pass no longer finish the task; the other tool reviews again.

Added

  • Review until clean: [quality] review (standard default, strict, off) makes tasks of those profiles wait in in_review until the last review pass finds 0 (a lite task with a recorded pass too); aitk init writes review = "standard" for new projects. The brief tells the agent to review, fix, and repeat, and, after three or more passes, to stop and ask when the last pass still has findings and did not improve on the one before.
  • One task at a time ([quality] one_task, default true): aitk task start, task new --start, and task next --start refuse with E_TASK_ACTIVE while the active task still needs its agent (any status but done, blocked, or cancelled, except an in_review task that only waits for another tool or a person); finish it or aitk task block it. aitk run is exempt. This applies to existing projects too (set one_task = false to opt out).
  • Inside aitk run the agent can start only its own task (E_RUN_SCOPE); aitk records it as a worker and protects created_by and workers, so its passes never count as another tool's review.
  • aitk run records the agent as a worker on every path an attempt ends on, and restores (and reports) changes to aitk.toml or to other existing tasks during an attempt, again after verification and before commits; files claiming another task's id are removed, new tasks the agent files arrive as plain work, aitk refuses to write other tasks inside a run, and run commits skip the repository's git hooks. Files the repository's config includes are restored and its effective config and branch must stay as they were (a filter cannot arrive through an include), a symlinked docs/ai (or any new link in the tasks path), a replaced .git, a merge/cherry-pick/rebase left in progress, or a .gitattributes rule that would store any of aitk's files differently stops the commit; a task file left invalid is put back and stops the run; base, created, branch and legacy are protected like the profile (an agent cannot shrink its own diff to lower strict to lite), a failed start keeps nothing the agent wrote, and new tasks never carry a seeded base (a symlinked .git or config keeps working and stays a link, and a re-pointed link is never written through), and anything the guard cannot restore stops the run with or without --commit.
  • Review passes record the working-tree fingerprint; a clean pass counts for the review loop only while the code is unchanged.

Changed

  • aitk init also installs the project files for the AI tools it detects (instructions, MCP server, session hook running aitk brief), so agents start from the brief with no extra step; --no-adapters skips it. The files aitk adapters sync writes for AI tools count as tool configuration, not code: they no longer raise the risk profile or make a passing check stale.

Fixed

  • GitHub releases publish the version's CHANGELOG section as their notes again: .goreleaser.yaml disabled the changelog pipe, which is the one that reads --release-notes, so v2.6.0 to v2.10.0 went out with an empty body.
  • A repository whose docs/ is a symlink to another directory inside it (docs -> documentation) works again: aitk close no longer fails with E_DOD_CHECK_STALE right after a passing check, aitk's own files there no longer count as code changes (which raised the risk profile), aitk run --commit commits the handover record instead of failing on a pathspec "beyond a symbolic link", the pre-commit and aitk ci schema checks still validate task and handoff files there, the secret scan still skips _legacy, the .gitattributes merge rules name the tracked paths, and aitk doctor --fix restores broken task files from git and resolves merge conflicts there (also when docs/ai itself is the link). aitk impact treats code under the docs target as docs, aitk import bmad skips aitk's own folder there, and aitk release --tag stages a changelog configured under docs/.