Skip to content

penates v0.1.2

Choose a tag to compare

@github-actions github-actions released this 22 Nov 15:57
· 25 commits to main since this release
Immutable release. Only release title and notes can be modified.

Added

  • The command-line interface: every scenario of the terminal UI is reachable from commands — status, show, install, update, remove, reset (with --builtin), apply, pending clear, setup, and the kit and target management groups. --target <path> names the target a command acts on and is required wherever a command acts on one — the CLI never depends on which target the terminal UI opens; target list counts each target's staged pending actions. A mutating command prints its summary and asks once; --yes confirms in advance, --dry-run previews without writing; without a terminal a command that would ask requires --yes.
  • penates setup, the first run's CLI form: it attaches the built-in kit to --target — registering the target when it is new — and installs the kit's skills, idempotently; a repeat is kept and reported, not an error. An agent may begin a machine alone; the trust it acts under is the same recorded ownership.
  • The CLI output contract: plain text with a stable skeleton — items named kit/item, a stable state word opening every item line, one reason per line — and failures printing one Error [category]: message line each, the categories a stable set, every message naming the concrete next step. Exit codes: 0 success, 1 any other failure, 2 a wrong command line alone. Flags come after the command path and each command has exactly one form, so permission rules can govern the CLI by the command text.
  • A run guard over the penates data directory: one penates process at a time — an overlapping run, any command while the terminal UI is open included, is refused with the busy error instead of silently merging state, and a process's death releases the hold.
  • The operating skill in the built-in kit, the third beside reference and kit-authoring: it teaches AI agents to drive penates day to day through the CLI — reading state, changing kit content in the kit rather than the target, keeping machine specifics in variables, and the conduct on the staged and busy refusals. Installs into skills/penates-operating/.
  • penates kit move <kit> <dir>: point a registered kit at the directory that now holds it — the CLI form of the terminal UI's "Edit kit path". The directory must hold a kit of the same name; the kit's attachments and pending actions survive the move.

Changed

  • Errors of version and licenses print in the Error [category]: message form like every CLI failure, and a wrong command line exits 2 instead of 1.

Fixed

  • A reset staged in the terminal UI without a selection now applies: pressing r on an item and then a silently applied nothing before.
  • Applying in the terminal UI with only deferred operations staged now completes or drops them with a report, instead of showing an empty results screen that left the pending actions waiting forever.