Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Jun 00:02
a10a445

Adds dataset table extraction and timestamp sorting, and brings exit codes and check severity in line with the tools agents
already know (ls, grep, linters).

Added

  • wiki table <file> — extract a dataset's markdown table as text, csv, tsv, or json, so it pipes straight into jq, duckdb,
    or an LLM. One clean table per file needs no flag; for a file with several, --n N (1-based) picks one, and the command lists
    them rather than guessing.
  • wiki list --sort=path|timestamp (with --reverse) — order entries by their curated frontmatter timestamp, falling back to
    file mtime when it is absent. Newest-first by default; --reverse gives oldest-first, handy for a grooming pass.

Changed

  • Exit codes now follow ls/grep/lint conventions. The enumeration and diagnostic commands (list, tasks, tags, properties, property, links, backlinks, orphans, unresolved) exit 0 when they find nothing, the way ls of an empty directory succeeds
    (previously they returned 1). Exit 1 now means a genuine "no match": search with no hits, table with no such table, and
    check with conformance errors. Exit 2 remains a real error (no bundle, bad arguments, unreadable file).
    • Scripts heads-up: if you branched on exit 1 to detect "no results" from a query command, test the output instead (e.g. [ -n "$(wiki unresolved)" ]). search keeps its grep-like 1 on no match.
  • wiki check: a broken link is now a warning, not an error. A bundle that links to not-yet-written entries now passes check
    (exit 0), matching the OKF view that an unresolved link is future knowledge, not malformed. Only a missing or invalid type
    is still an error (exit 1). wiki unresolved remains the dedicated list of broken links.
    • CI heads-up: if you relied on check failing for broken links, it no longer does; gate on wiki unresolved being non-empty
      instead.

Changelog

  • ed0ffd9 Add: Table extraction command
  • 34b989a Allowing to sort by entry timestamp
  • 60b0dca Clearer exit status codes
  • a10a445 Clearer table extract status codes
  • dd373b7 Updated backlog and starter