Skip to content

chore: take qctl 0.5.9 - #142

Merged
any-victor merged 2 commits into
mainfrom
chore/qctl-0.5.9
Oct 17, 2026
Merged

any-victor merged 2 commits into
mainfrom
chore/qctl-0.5.9

Conversation

@any-victor

Copy link
Copy Markdown
Contributor

Moves the work-queue tooling from qctl 0.4.2 to 0.5.9.

  • The q task include, the tasks.yaml schema URL, and the qctl entry in every mise lock (mise.lock, mise.dev.lock, mise.release.lock, mise.template.lock) name 0.5.9.
  • One qctl fmt run, in its own commit, rewrites the ledger to 0.5.9's defaults (list_items: line, quotes: auto): folded notes go on one line and strings are re-quoted. Every value reads back the same, and qctl check and qctl fmt --check pass.
  • qctl 0.5.8 stopped reading TASKS_LEDGER in favour of QCTL_FILE. This repository never set it, so nothing is renamed.

No release: the change touches tooling and the ledger only.

qctl 0.5.9 writes every list item on one line under the default
`list_items: line`, which keeps ledger diffs to one line per note. The
q task include and every mise lock move to it together, since the lock
must name the version the include declares.
One `qctl fmt` run writes the folded notes on one line and re-quotes
strings to the ledger's `quotes: auto`. Values read back unchanged. The
schema URL moves to the 0.5.9 release.
@kodus-hostinger

kodus-hostinger Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Review

Incremental · 0 open

@kody review after new commits. @kody full re-reads the whole PR.

Summary

What these patches change

mise.toml: The q task catalog include now points at qctl.git//tasks/q?ref=v0.5.9 instead of v0.4.2. The mise lock files are not part of this set of patches.

tasks.yaml, schema header: The yaml-language-server $schema URL now points at the v0.5.9 release asset tasks.schema.json. schema_version: 4 and prefix: CTC stay the same, so the ledger format version does not change.

tasks.yaml, formatter rewrite: There are no content edits. Every hunk after the header is a quoting or layout change.

  • Folded list items become single-line scalars. The >2- and >- block scalars under notes become one-line strings in CTC-008, CTC-021, CTC-022, CTC-025, CTC-015 and CTC-006. The formatter picks the quote style from the content:

    • Double quotes when the text contains an apostrophe, such as "verctl's" or "qctl's".
    • Single quotes when the text contains : or embedded double quotes, such as the CTC-006 note with "version packages".
  • Redundant quotes are dropped. This affects:

    • acceptance items (CTC-009).
    • scope values (CTC-020, CTC-019, CTC-018, CTC-017).
    • evidence items (CTC-007, CTC-005, CTC-002, CTC-004, CTC-001).

    Quotes stay where YAML needs them, for example 'chassis last-wins + {bin}: warning: on clashes'.

  • Only list items are collapsed. Multi-line outcome: >- mappings and other scalar fields keep their folded block form, which matches the list_items: line scope.

Reviewer note

The completed values for CTC-007, CTC-005, CTC-002, CTC-004 and CTC-001 went from quoted strings ("2026-08-17T05:59:57") to bare values (2026-08-17T05:59:57). This matches how newer archive entries are already written, such as CTC-019's completed: 2026-10-12T02:10:00. The ledger stays internally consistent, but bare values only read back the same if the loader keeps timestamps as strings rather than a YAML 1.1 timestamp type. The passing qctl check and qctl fmt --check runs suggest qctl's loader does that.

Files

File Status + −
mise.toml modified +1 −1
tasks.yaml modified +39 −49

Open

No open findings.

History

When Pass Open
17 Oct 21:46 UTC Incremental 0

Inspect this review

@any-victor
any-victor merged commit fd85ad2 into main Oct 17, 2026
3 checks passed
@any-victor
any-victor deleted the chore/qctl-0.5.9 branch October 17, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant