Skip to content

v0.41.27

Choose a tag to compare

@github-actions github-actions released this 24 Nov 20:04
17a3ef2

Highlights

A bug-fix release. Each fix was reproduced on 0.41.26 first, through the API, the console or a real agent turn, then verified on the release candidate.

  • A skill's description reads the same everywhere it is read (#738, @leninworld). The New-setup builder read a SKILL.md description: with a one-line pattern, so a folded description (description: >-) reached it as >-. The agent's own instructions had the same flaw: on 0.41.26, claude-code and codex were told **shop-tone** — >- in their "Available skills" list. Every reader now reads the frontmatter the way YAML does:

    • the builder, the plugin check, the runner's skills list and the console's skill editor;
    • quoted values run to their closing quote, with escapes decoded;
    • a plain value ends at a # comment and continues on indented lines;
    • > and | blocks are joined.
    • Plugin check. It cut the description the console writes (a JSON string) at #, so "Formats issues like #123" read as "Formats issues like". It refused a skill whose description sat on the lines after description:.
    • Skill editor. It showed Writes replies # how for a commented, continued description. Saving wrote the continuation under the quoted value, which left the SKILL.md unreadable as YAML. It now opens and saves the description whole.
    • Linear time. The comment strip it replaces took quadratic time on a long run of spaces: 0.57 s at 20K, minutes at 200K. The reader now takes linear time on any input (3 ms at 200K) and reads only the first 64 KB of a SKILL.md for its frontmatter.
    • Changed: description: #1 tool is read as no description, as YAML and the agents' CLIs read it, so the plugin check refuses that skill on install. Quote it (description: "#1 tool") to keep the #.
  • A table whose schema or name holds a quote is sampled (#740, @leninworld). With sample rows on, a database kit read each table with SELECT * FROM "schema"."table", without doubling a quote inside a name. On 0.41.26, against a real Postgres 16 and MariaDB 11:

    • pub"lic.we"ird reached the database broken, and each answered a syntax error;
    • a name with one quote was refused;
    • a name shaped like x"; DROP TABLE …; -- was stopped only by the one-statement check.

    Each name is now one quoted identifier, read whole by the read-only check and sent as the table introspection found.

Thanks to @leninworld for both fixes, each with a test that failed on the bug.

What's Changed

  • fix(gateway): double quote characters in sampled schema and table names by @leninworld in #740
  • fix(gateway): read a skill's builder description from its SKILL.md frontmatter by @leninworld in #738

Full Changelog: v0.41.26...v0.41.27