Skip to content

v0.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Nov 04:19

AI proposes. Your passkey runs it. This release is about trust: a security pass over every outside input, approvals that survive a restart, and the first compatibility policy.

Highlights

  • Approvals survive a restart. With approval.state_file (on by default with a mode), approval cards opened from links, inbox notices and the link-signing key are kept across restarts. A restored card gets a new form token and is planned again when approved; a decided one is never restored.
  • Signed action links. The source on a card ("rule" or "AI") can no longer be relabelled. A link the server did not sign still needs the same approval, but its card says so.
  • Security pass. Go fuzz tests for every parser that takes outside input, two known limitations closed, and nine fixes from an AI-assisted audit: hidden values for MYSQL_PWD-style names, bounded $(VAR) expansion, a restart bound to the reviewed spec, "Outcome unknown" instead of a false "Not applied", link approvals deduplicated and capped, upload deadlines and a session admission rate. The audit was automated, not a third-party human review.
  • Stability policy. docs/stability.md says which configuration, tools, routes and formats are kept compatible and how changes are announced. Watch, the approval inbox and push are no longer labelled experimental; the analyzer, notes and the host provider still are.
  • Shorter analyzer reports. Cause first with its certainty, at most three steps (an approval link or one command alone in a code block), up to three evidence lines.
  • Metrics. http.metrics_listen serves Prometheus metrics on a separate, unauthenticated port for an in-cluster scraper.
  • End-to-end test. Every pull request runs the real binary on a kind cluster: passkey sign-in, an action link, approval after a server restart, the restart and its recovery check.

Upgrade notes

  • action_link only issues source=ai links; source: rule is refused.
  • approval_status can return unknown when an apply timed out or lost its connection.
  • /healthz answers only GET. Request bodies must arrive within 30 seconds.
  • With a mode, the server writes /var/lib/opsgate/approvals.json (0600). If the path is not writable it logs a warning and keeps the state in memory.
  • Links issued by another process (opsgate watch, the analyzer's reader) show as unsigned on the server; the choices page they lead to issues signed ones.

Full list: CHANGELOG.

Changelog

  • 5c51141 analyzer: short reports that lead with the cause and copyable steps
  • ef0433c approval: keep link approvals, notices and the link key across restarts
  • 494f1a9 approval: sign action links so the source on a card cannot be forged
  • 88563cf build(deps): bump actions/setup-go from 6.5.0 to 7.0.0
  • c6c0442 build(deps): bump docker/login-action from 3.7.0 to 4.8.0
  • 59a27db build(deps): bump docker/setup-qemu-action from 3.7.0 to 4.4.0
  • 237e654 build(deps): bump github.com/fxamacker/cbor/v2 from 2.9.4 to 2.10.0
  • 3dbd697 build(deps): bump go-jose to 4.1.9 and x/oauth2 to 0.38.0
  • 815e80f build(deps): bump golang from 2920bb1 to e519d3b
  • 90a9f4f build(deps): bump golang.org/x/sys from 0.49.0 to 0.50.0
  • bc82491 ci: pin all three CodeQL actions to v4.39.3
  • 16b6282 ci: update CodeQL actions together and group them in Dependabot
  • f8a9c6f docs: rewrite the Korean README in natural Korean
  • 2289f6e docs: stability and compatibility policy
  • 8ac7924 metrics: Prometheus endpoint on a separate listener
  • 2bfde54 release: prepare v0.8.0
  • 81a318a security: fixes from an AI-assisted audit
  • 542097d security: keep signed-in authorizations and mask multiline quoted secrets
  • 719a3d0 test: end-to-end run on a real cluster in CI
  • 6101bc2 test: follow the sign-in redirect as given
  • cbaed15 test: fuzz every parser that takes outside input
  • 83e5f94 test: use a localhost origin for the passkey relying party