Skip to content

Loki Mode v7.112.0

Choose a tag to compare

@github-actions github-actions released this 02 Jul 12:06
Immutable release. Only release title and notes can be modified.

HLW-5: shareable "Verified by Loki" Evidence Receipt badge (now honest)

  • loki proof share <id> now actually prints the badge it was documented
    to print in v7.100.0 (the CHANGELOG described it, but only the gist URL ever
    printed -- the badge was never implemented). After publishing, the share path
    now also prints a copy-paste markdown badge linked to the shared gist/hosted
    URL. New loki proof badge <id> subcommand prints the same badge without
    publishing (for pasting into a README/PR/post).
  • DISPLAY-ONLY, anti-fake-green. The badge's color and text derive ONLY from
    the receipt's honesty.headline, read from the SAME redacted proof.json the
    share path uses: VERIFIED -> green "Verified by Loki", VERIFIED WITH GAPS
    -> amber "Verified with gaps", NOT VERIFIED -> red "Not verified". An absent,
    empty, or unrecognized headline prints an honest "no badge" note -- never a
    fabricated green. Green is reachable ONLY from the exact string VERIFIED.
    This is additive and does not touch the trust core or any evidence gate.
  • Implemented on the Bun route (loki-ts/src/commands/proof.ts), the live route
    when bun is installed. The LOKI_LEGACY_BASH=1 bash route ALSO prints a
    "Verified by Loki" share badge (autonomy/loki), so both routes carry the badge
    on loki proof share. Both render a VERIFIED headline GREEN; the routes differ
    only on the VERIFIED-WITH-GAPS color (bash orange, Bun yellow) and on message
    style (bash: lowercase message + shields static-v1 URL; Bun: "Verified by Loki"
    • shields badge-path, trimmed). What is Bun-only is the standalone
      loki proof badge <id> subcommand and the image-only rendering. The badge uses
      a shields.io static-badge image URL (external image host; no infra, no new
      dependency). RED/GREEN test: loki-ts/tests/commands/proof_badge.test.ts.