Repository navigation
Releases
qctl 0.8.0-rc.1
qctl 0.8.0-rc.1
-
qctl builds on ctl-core 0.8.0-rc.2, and
addandedittake a row from a document.
Every command takes--input FILE, or--input -for standard input, and--input-format yaml|json, also read fromQCTL_INPUTandQCTL_INPUT_FORMAT.
A document's keys are long option names and positional ids, and a list value is a list:qctl add --input row.yamlwithtitle,scope,outcome,acceptanceandnotewrites 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 prettyorQCTL_FORMAT=prettygives the table, andcsvandmarkdownare new formats. --jsonis a shorthand for--format json, and--streamwrites 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 jsonwrites a non-emptyproblemsarray to stderr. - A parse error reads
qctl: <message>, without Clap'serror:prefix. - A handler error's JSON
messageis its outermost error, and the rest of its chain is incauses. - A refused input's JSON
messageis<input> has <n> problems, and the lines it carried are inproblems. - 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,--inputand--input-format, and--formatno 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.
- Piped output defaults to
qctl 0.7.0
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--colorand its values,--no-color, and theprettyformat 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
reasoninstead ofkind, besideopen, which names what would end the wait. The values stayresearch,evaluation, anddeferred.
-r/--reasonreplaces-k/--kindonadd --horizon,park, andedit, so the variableQCTL_KINDbecomesQCTL_REASON. JSON output, thestatushorizon table, and error messages sayreason.
schema_versionis now 6.qctl fmtupgrades a schema 5 ledger in place, renaming each horizon row'skindkey toreasonand keeping its value, quotes, and comments; it upgrades schema 3 and 4 the same way. Other verbs refuse schema 5 untilqctl fmtruns.
Library API break:qctl::schema::Kindis nowqctl::schema::Reason, and thekindfield ofHorizonTask,AddArgs,ParkArgs, andEditArgsis nowreason(#174). - Releases now carry a
linux_arm64tarball: a static aarch64 musl binary, cross-built on the x64 runner (#182).
qctl 0.6.0
qctl 0.6.0
- Beside an
openspec/folder,qctl checkholds each row to the OpenSpec change itsplan: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 archiverefuses the last row of an open change unless-K/--keep-change-open REASONsays why it stays open, andclose-from-gitleaves such a row queued.
The newqctl close-from-openspecarchives 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_versionis now 5, because an archived row may carrykeep_change_open:qctl fmtupgrades a schema 4 ledger by that one line, and other verbs refuse schema 4 until it runs (#151).
qctl 0.5.11
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
qctl 0.5.10
- Releases run through verctl's reusable release workflow at 0.5.0: each push to
mainpublishes any version commit not yet fully released, builds its tarballs with the ledger schema attached, and opens or updates the Version PR onverctl/release/main(#138).
qctl 0.5.9
qctl 0.5.9
- A ledger's
styledeclareslist_items(lineorauto) andquotes(auto,single, ordouble).
The defaults arelineandauto: every list item a verb writes sits on one line, plain when it reads back unquoted, andaddandeditrefuse a-n/--notethat holds a line break.
qctl fmtwrites 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 outsidestyleto the declared quotes; every other value reads back the same.
A ledger written before this release changes shape on its firstqctl fmt;list_items: autokeeps block items and multi-line notes (#118).
qctl 0.5.8
qctl 0.5.8
- Every long option now reads
QCTL_<LONG>, as in the other ctl CLIs:QCTL_FILEnames the ledger,QCTL_FORMAT=jsonasks for JSON, and--helpprints each variable. A flag on the command line wins over its variable.
TASKS_LEDGERis no longer read. A caller that set it setsQCTL_FILEinstead (#129).
qctl 0.5.7
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
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
# Errorssection (#121). - Every public item is documented and implements
Debug.
--helpnow describes every flag and argument, including--title,--scope,--outcome,--patch,--plan,--kind,--open, and the task id.
The--dispositionand--unsetvalues say what each one means.
The generated schema gives eachsection_ordervalue a description, as it already did for the other enumerations (#122).
qctl 0.5.5
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 droppedis documented, an archived row's plan is editable, and the skill no longer points at an unrelated plugin (#120).