Skip to content

Release v3.158.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 21:03
8132159

cratis ai can highlight profiles recommended by a corpus and keeps a project clean when the corpus drops agents, prompts or other files. This prepares projects for the v2 Cratis AI corpus (part of Cratis/AI#1370).

Added

  • When the catalog marks profiles as featured, the table from cratis ai profiles list and the interactive install prompt show those profiles and any descriptions the catalog provides. When none is featured, both show every profile. --all lists every profile; JSON always includes every profile with its description and featured fields.

Changed

  • A harness is linked to an agents, prompts or hooks directory only when the corpus carries it. An update from a corpus that had them removes the unchanged links Cratis created; a link or file you edited is reported as a conflict and kept.
  • cratis ai update and cratis ai uninstall remove each directory that a removed managed file or link leaves empty. A directory that still holds anything, linked directories, .cratis and the project root are kept.
  • Files inside the managed folders (rules/, agents/, prompts/, hooks/, skills/<name>/, harnesses/<name>/) belong to the CLI. Keep your own rules in rules/project* (for example rules/project.md or rules/project-local/), which update and uninstall never touch.
  • Profiles not shown in a featured list are still selectable by ID with --profiles. Existing .cratis/ai.json selections do not need to change for the v2 corpus.

Fixed

  • cratis ai update and cratis ai uninstall only act on manifest entries for paths the corpus can install: skills, rules, agents, prompts, hooks and harness assets, plus the integration links the CLI registers. Any other entry is ignored with a warning instead of stopping the command, so a local file named in the committed manifest is kept, also with --force (#670)
  • Manifest paths with .., . or empty segments, backslashes, drive letters, a leading /, trailing dots or spaces, device names or non-normalized Unicode are ignored.
  • An integration entry must match a registered path and link target, and is removed only when the existing link points at that target, so a regular AGENTS.md or CLAUDE.md is never removed.
  • A managed file that an update replaces keeps its Unix file mode; if the mode cannot be copied, the update warns and continues.
  • A Copilot instruction file is installed only when the rule it copies is selected. Before, every copy reached .github/instructions, so rules for other profiles applied to the project anyway.
  • When CodeScene is selected, the install now says that the project MCP configuration starts the cs-mcp command and that you need to install it and sign in. Before, it said the CLI does not register the server, which was wrong.