Skip to content

logwarden v0.10.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 13:15
· 17 commits to main since this release

logwarden v0.10.0

Status: Released 2026-11-22 · tag v0.10.0

Outcome: a team on the essential profile moves to the full standard in one reviewed
change, without a wall of findings.
After v0.9.0 a team starts with the rules every service
should pass. The next step, standard, adds the naming rules, and on an existing service most
of its findings are missing_attribute: custom fields the registry doesn't know yet. This
version turns them into a fields file to review instead of hundreds of findings to read, and
keeps the pinned Weaver and semconv versions current without manual work.

What's new

  • logwarden init --from LOGS reads real logs (any input check accepts, including
    Elasticsearch and Kibana exports) and writes logwarden-fields.yaml with every custom field it
    saw, its type and how many lines had it.
    • Fields that are synonyms of semconv names (status, user_id, …) or look sensitive are
      not declared. They are listed in a comment in the file with the rule that reports them,
      so they still get fixed rather than accepted. A field that a rule flags anywhere isn't
      declared, even if other lines with it pass.
    • Types come from the values seen (a field with whole and decimal numbers is double). Each
      field gets a TODO description and how many lines had it; no logged value goes in the file.
      A field with a bare name (type, result) is marked as better namespaced: on the two
      services tried, every new field was a bare name.
    • Fields written with underscores where semconv has a dotted name aren't declared either
      (adr_semconv_prefix).
    • Running it again on newer logs adds new fields and keeps the existing entries and their
      edits.
    • init --from also sets profile = "standard" in the config, so the change that adds the
      fields file is the change that turns on the full standard.
  • "Ready for standard" in the summary. Under essential, the summary says how many of the
    findings standard would add are unknown fields that init --from would declare, and how
    many are other rules: how big the move is, before making it. --json gets the key
    outside_profile_unknown_fields.
  • Pinned Weaver and semconv versions stay current. A weekly workflow, update-pins.yml,
    looks for new releases. When it finds one, it updates the version and its SHA-256
    (scripts/update_pins.py), runs the tests, and opens a PR that says whether they passed. A
    repository that doesn't let Actions open PRs (the default for new repositories) gets an
    issue with a link that opens the PR instead. A manual run can pin a given version.

Breaking changes

None.

Verification

# Claim How it will be checked Result
1 init --from Tests: on a log file with custom fields, synonyms, underscore semconv names and a sensitive-looking field, the fields file declares exactly the custom fields with their types and counts, and lists the others with their rules; check --profile standard with that file reports no missing_attribute and still reports the synonyms; a second run on newer logs adds fields and keeps edits; Elasticsearch and Kibana CSV exports work as input; the file contains no logged value
2 Ready for standard Under essential, the summary's two counts add up to standard's extra findings, and the unknown-field count equals the number of missing_attribute findings that disappear after init --from
3 On real services init --from on the logs of two ai-suite services (for example aihub and databridge): the number of standard findings before and after, and the remaining ones each reviewed as worth fixing or not, recorded here
4 Pin updates Tests of scripts/update_pins.py (rewrites, SHA-256 entry, nothing to do when current). update-pins.yml run manually with older versions as input: it runs the tests and opens a PR (or, where Actions may not open PRs, an issue linking the branch) with the versions and the downloaded SHA-256, saying how the tests went; it is closed unmerged. Run with no input (the latest releases, which are the current pins): no PR
5 Docs, CI, release The "Start here" pages end with the step to standard; docs/integration.md, README, skill, AGENTS.md, roadmap; CI on Linux, macOS and Windows; dry run to TestPyPI; after the tag, uvx logwarden==0.10.0 init --from from PyPI and the image