Skip to content

Releases

qctl 0.8.0-rc.1

qctl 0.8.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 27 Nov 16:50
255bcc8

qctl 0.8.0-rc.1

  • qctl builds on ctl-core 0.8.0-rc.2, and add and edit take a row from a document.
    Every command takes --input FILE, or --input - for standard input, and --input-format yaml|json, also read from QCTL_INPUT and QCTL_INPUT_FORMAT.
    A document's keys are long option names and positional ids, and a list value is a list: qctl add --input row.yaml with title, scope, outcome, acceptance and note writes the row the same flags write.
    The command line wins over the environment, the environment over the document, and the document over the default; a key that loses is dropped, and a key that names no argument fails with its file and line (#200).

    Output changes with ctl-core 0.8, and a caller that reads it must change:

    • Piped output defaults to tsv, tab-separated lines. --format pretty or QCTL_FORMAT=pretty gives the table, and csv and markdown are new formats.
    • --json is a shorthand for --format json, and --stream writes each record as the command produces it. Neither has a short form.
    • A JSON failure goes to stderr and stdout stays empty, so qctl check --format json writes a non-empty problems array to stderr.
    • A parse error reads qctl: <message>, without Clap's error: prefix.
    • A handler error's JSON message is its outermost error, and the rest of its chain is in causes.
    • A refused input's JSON message is <input> has <n> problems, and the lines it carried are in problems.
    • A table never narrows below its column floor, and a table that cannot fit at its floors stacks, each row drawn as a record.
    • Help lists --json, --stream, --input and --input-format, and --format no longer shows [default: pretty].
    • A problem in a ledger or a document uses ctl-core 0.8's wording and positions, such as duplicate key \prefix`` for a repeated key, and a field a root mapping lacks sits on line 1, column 1.

qctl 0.7.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 22:26
ea9e838

qctl 0.7.0

  • qctl builds on ctl-core 0.7.0, which renders through its own terminal engine and links one serde-saphyr with yamled 0.0.12.
    The help of --color and its values, --no-color, and the pretty format takes ctl-core's colour wording, and in help tables an empty column is 2 cells wide and a wrapped column narrows to its widest line (#179).
  • A horizon row now says why it waits in reason instead of kind, beside open, which names what would end the wait. The values stay research, evaluation, and deferred.
    -r/--reason replaces -k/--kind on add --horizon, park, and edit, so the variable QCTL_KIND becomes QCTL_REASON. JSON output, the status horizon table, and error messages say reason.
    schema_version is now 6. qctl fmt upgrades a schema 5 ledger in place, renaming each horizon row's kind key to reason and keeping its value, quotes, and comments; it upgrades schema 3 and 4 the same way. Other verbs refuse schema 5 until qctl fmt runs.
    Library API break: qctl::schema::Kind is now qctl::schema::Reason, and the kind field of HorizonTask, AddArgs, ParkArgs, and EditArgs is now reason (#174).
  • Releases now carry a linux_arm64 tarball: a static aarch64 musl binary, cross-built on the x64 runner (#182).

qctl 0.6.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 03:12
5927d79

qctl 0.6.0

  • Beside an openspec/ folder, qctl check holds each row to the OpenSpec change its plan: names: it reports a finished row whose change is still open, a plan pointing into a change since archived (naming the archive folder), and an open change no row names.
    qctl archive refuses the last row of an open change unless -K/--keep-change-open REASON says why it stays open, and close-from-git leaves such a row queued.
    The new qctl close-from-openspec archives the queued rows of an archived change, with the archive folder as evidence, and points every row that named it at the moved file.
    schema_version is now 5, because an archived row may carry keep_change_open: qctl fmt upgrades a schema 4 ledger by that one line, and other verbs refuse schema 4 until it runs (#151).

qctl 0.5.11

Choose a tag to compare

@github-actions github-actions released this 19 Oct 19:36
12b569f

qctl 0.5.11

  • The shared verify runs verctl's version guard: ctl-core's Rust tasks at 0.6.27 and verctl at 0.5.1, so a manifest version changes only on the Version PR (#140).

qctl 0.5.10

Choose a tag to compare

@github-actions github-actions released this 19 Oct 14:47
96826e6

qctl 0.5.10

  • Releases run through verctl's reusable release workflow at 0.5.0: each push to main publishes any version commit not yet fully released, builds its tarballs with the ledger schema attached, and opens or updates the Version PR on verctl/release/main (#138).

qctl 0.5.9

Choose a tag to compare

@github-actions github-actions released this 17 Oct 21:41
89e97ab

qctl 0.5.9

  • A ledger's style declares list_items (line or auto) and quotes (auto, single, or double).
    The defaults are line and auto: every list item a verb writes sits on one line, plain when it reads back unquoted, and add and edit refuse a -n/--note that holds a line break.
    qctl fmt writes older folded and literal list items on one line, splits a multi-line note into one item per line with its line breaks and blank lines dropped, and re-quotes every one-line string outside style to the declared quotes; every other value reads back the same.
    A ledger written before this release changes shape on its first qctl fmt; list_items: auto keeps block items and multi-line notes (#118).

qctl 0.5.8

Choose a tag to compare

@github-actions github-actions released this 17 Oct 21:06
d4be6bc

qctl 0.5.8

  • Every long option now reads QCTL_<LONG>, as in the other ctl CLIs: QCTL_FILE names the ledger, QCTL_FORMAT=json asks for JSON, and --help prints each variable. A flag on the command line wins over its variable.
    TASKS_LEDGER is no longer read. A caller that set it sets QCTL_FILE instead (#129).

qctl 0.5.7

Choose a tag to compare

@github-actions github-actions released this 17 Oct 20:21
ddf0fbf

qctl 0.5.7

  • qctl builds on ctl-core 0.6.23 and yamled 0.0.7, and reads YAML through serde-saphyr 2.0.0.
    A list item that needs quotes and holds an apostrophe is now written in double quotes, "The operator's call: yes.", instead of doubling the apostrophe inside single quotes (#127).

qctl 0.5.6

Choose a tag to compare

@github-actions github-actions released this 17 Oct 12:24
7a2509e

qctl 0.5.6

  • The docs.rs page builds with every feature, and every public function that can fail says when it fails in an # Errors section (#121).
  • Every public item is documented and implements Debug.
    --help now describes every flag and argument, including --title, --scope, --outcome, --patch, --plan, --kind, --open, and the task id.
    The --disposition and --unset values say what each one means.
    The generated schema gives each section_order value a description, as it already did for the other enumerations (#122).

qctl 0.5.5

Choose a tag to compare

@github-actions github-actions released this 17 Oct 12:21
34df3f8

qctl 0.5.5

  • Fix the three documentation links that failed the docs.rs build since 0.4.7: two pointed at private items and one at a function that no longer exists.

The --prefix help and the prefix documentation now give public example prefixes (#119).

  • The operator instructions and bundled skill now match the commands: archive -d dropped is documented, an archived row's plan is editable, and the skill no longer points at an unrelated plugin (#120).