Skip to content

v1.6.0

Latest

Choose a tag to compare

@adhibuchori adhibuchori released this 06 Nov 17:51
Immutable release. Only release title and notes can be modified.
a637903

Lessons from running the kit's rules in a multi-repo setup: db-guard read only the first SQL field of
a call, the audit read an unreachable registry as a clean report, a promotion had no way to skip a
scan the pull request before it already ran, and checks crashed on a path another session deleted
from a shared checkout. The guards then gained what running them from a workspace root asked for:
unlocks and env helpers that work across repos, fewer false refusals, and an OpenAPI contract or a
first migration that is guarded wherever it lands.

Reusable workflows and actions

Added

  • The quality gate takes promotion, one exact <head>:<base> pair such as dev:prod. On that pair
    alone the Skill Security Scan stands down, uv is not installed for it, and the summary names what
    stood down. The pair keys on both ends, and the workflows pass no head for a fork, so a skip can
    never follow the base alone. Empty, the default, changes nothing.
  • The iOS static job runs terms.mjs.

Fixed

  • strip-ai's back-merge re-instates only the strip set. It restored every path the merge deleted, so a
    revert on the production branch half-applied to the development branch, and it kept the development
    copy of every conflict, so the stop for a conflict outside the stripped paths could never fire. Any
    such deletion or conflict now stops the run with the development branch as it was.

agent-core 1.4.0

Added

  • Workspace mode reaches a session at the workspace root. With AGENT_WORKSPACE_ROOT set, that
    session can run each repo's scripts/env/ helpers, set.sh answers to the unlock of the repo that
    owns it and its refusal names that repo, and any repo's db unlock opens db-guard there. A session
    inside a repo keeps to its own unlock, and without the setting nothing changes.
  • generatedPaths takes **/name, a file or folder at any depth. A folder-wide replace_in_files
    finds those files through git, so an ignored folder such as node_modules is never walked.
  • scripts/check/terms.mjs, the words a repo has decided not to use about itself. The vocabulary is
    the repo's own, in scripts/check/terms.config.json, and starts empty, so the check passes and says
    so until you list a word. An allow entry names the exact phrase, its one file and a reason; an entry
    whose phrase left its file fails. It reads the index, not the worktree. A repo set up before this
    version adds the line node scripts/check/terms.mjs (kind all) to scripts/check/gates.list.

Changed

  • Breaking: the generatedPaths default guards the OpenAPI contract at any depth
    (**/openapi.json, **/openapi.yaml, **/openapi.yml), not only at the repo root. A repo that
    writes a spec below its root by hand and relies on the defaults sets its own list without it.
  • Only show.sh, set.sh, envfile.py and the scripts/env/ folder itself are locked. A project's
    own tool beside them is ordinary code again: show.sh and set.sh start envfile.py with
    python3 -I, which imports nothing from that folder.
  • /agent-core:promote resolves each thread it answered, a declined one included, as
    /agent-core:resolve-pr-review already did: pr-ready.sh counts unresolved threads, so an answered
    thread left open held the promotion.

Fixed

  • db-guard judges every SQL field of a call (sql, query, statement, each of queries). It read
    only the first, so a read in sql let a write in query through.
  • db-guard's default dbWriteGuard.toolPattern covers explain_query and analyze_query_indexes,
    which run the SQL they are handed. A repo that sets its own pattern keeps it.
  • db-guard treats a semicolon, even a trailing one, as a write: it is where a second statement would
    start. The refusal says to send one statement without it.
  • safety-check no longer reads a $ that expands nothing as an unresolved word, so a pattern that
    only looks for a .env name (grep -E "(^|/)\.env(\.|$)") passes. zsh's $=x, $~x, $^x, $+x
    and $#x still count.
  • A glob is judged by what it can match. A [ with no closing ] is a plain character, so jq's
    .[].name no longer counts as a .env* read; .[e]nv, .e* and .env.[s]taging still do.
  • With neither python3 nor jq, the plain-text rules refuse rm -r on every default protected path.
    They knew six of them, so app, components, content, tests, .agent, .agents and the
    top-level instruction files could be deleted.

agent-fe-nextjs 1.5.0

Added

  • gates.list runs terms.mjs.

Changed

  • Breaking: generated-guard follows the new generatedPaths default of agent-core 1.4.0: a repo
    with no list of its own that writes a spec below its root by hand sets one.
  • generated-guard takes **/name in generatedPaths. lib.sh follows agent-core 1.4.0.

Fixed

  • scripts/check/audit.ts refuses a run with no report. bun audit writes nothing and exits 1 on an
    unreachable registry, which read as no advisories.
  • audit.ts holds an ACCEPTED list: an advisory stays accepted only while npm has no patched
    release, and an unreadable registry fails it.
  • check-comment-style.ts skips a tracked path gone from the worktree instead of crashing.

agent-docs-nextra 1.4.0

Added

  • gates.list runs terms.mjs.

Changed

  • generated-guard as in agent-fe-nextjs 1.5.0. The list setup seeds is unchanged. lib.sh follows
    agent-core 1.4.0.

Fixed

  • The audit.ts and check-comment-style.ts fixes in agent-fe-nextjs 1.5.0.

agent-ai-fastapi 1.5.0

Added

  • gates.list runs terms.mjs.

Changed

  • Breaking: migration-guard judges a path whether or not its folder exists yet, so the first
    generated migration comes from its tool too. A repo that keeps something else under a default
    migrationsDirs folder sets its own list, and "migrationsDirs": [] empties it.
  • lib.sh follows agent-core 1.4.0.

agent-be-hono 2.2.0

Added

  • gates.list runs terms.mjs.

Changed

  • Breaking: migration-guard judges a path whether or not its folder exists yet, as in
    agent-ai-fastapi 1.5.0.
  • lib.sh follows agent-core 1.4.0.

agent-be-axum 0.3.0

Added

  • gates.list runs terms.mjs.

Changed

  • migration-guard judges a path whether or not its folder exists yet. For
    appendOnlyMigrationsDirs that means a file a protected branch has stays refused on a branch that
    lost the folder.
  • generated-guard as in agent-fe-nextjs 1.5.0. The list setup seeds is unchanged. lib.sh follows
    agent-core 1.4.0.

Fixed

  • rust-source.mjs skips a tracked path gone from the worktree instead of crashing.

agent-be-go 0.3.0

Added

  • gates.list runs terms.mjs.

Changed

  • migration-guard as in agent-be-axum 0.3.0, generated-guard as in agent-fe-nextjs 1.5.0. The list
    setup seeds is unchanged. lib.sh follows agent-core 1.4.0.

agent-ios-swiftui 1.2.0

Added

  • gates.list runs terms.mjs.

Changed

  • generated-guard as in agent-fe-nextjs 1.5.0. The list setup seeds is unchanged. lib.sh follows
    agent-core 1.4.0.

Fixed

  • i18n-catalog.mjs skips a tracked catalog gone from the worktree instead of failing.

agent-fe-nextjs-static 1.2.0

Added

  • gates.list runs terms.mjs.