Skip to content

v0.7.0: first light on Mac, and secrets in their place

Latest

Choose a tag to compare

@coe0718 coe0718 released this 24 Nov 01:50
1c8551c

Diaktoros 0.7.0

154 pull requests since v0.6.1. The highlights are below; every PR is linked in the full changelog.

Experimental: native macOS (development opt-in)

A native macOS backend now ships, contributed by @vitaliy-blprnt (#2502). Turns run under Seatbelt on fixed-size APFS images with their own process supervision: no VM, and no unsandboxed fallback.

  • It's off by default. It runs only when the host process has DIAKTOROS_NATIVE_MACOS=1; without it, native turns are refused before anything is staged.
  • It's for testing, not live loops. Use a development checkout and an isolated test profile. The manifest and the catalog entry stay Linux-only until #624's acceptance requirements are met.
  • Apple Silicon and Intel are both covered. Apple Silicon needs a plain arm64 Bash, such as Homebrew's.
  • Setup, prerequisites and the selftest are in docs/native-macos.md. Reports from Mac users are welcome on #624.

Done from the catalog review: secrets stay in their profile

In the v0.6.0 catalog review (NousResearch/hermes-agent#153420), @teknium1 recommended moving the plugin's profile .env reads onto Hermes's agent.secret_scope. That's done (#2374: #2542, #2568), at all three places that read a profile's .env. The seat resolver and the DirectSDK child no longer load it into the process environment, so under a multiplexing gateway one profile's keys can't reach another profile's turns, and doctor parses it with Hermes's own tokenizer.

  • They read secrets through Hermes's own agent.secret_scope, after resolving the profile's external sources, such as a command helper or 1Password.
  • Error text from a resolution no longer carries a credential. An error keeps only its class, a code Hermes defines, and the profile's own provider name.
  • A Hermes that lacks agent.secret_scope or its profile-source hydration (hydrate_profile_secret_sources) keeps the old .env load, so requires_hermes is still >=0.21.5.

Fewer GitHub calls, and waiting out a rate limit

  • One CI poller per ledger (#2612). Rows that can't start yet no longer read GitHub, and hermes dk calls breaks the count down by program.
  • A spent rate limit waits for its reset (#2613). A claim read that GitHub refuses because the reader's rate limit is spent waits until the reset, for up to six hours, instead of spending a retry, and explain says when it will read again. ready offers the re-arm command for a turn whose claim read failed before it wrote anything.

Review rounds

  • Opt-in: a maintainer's GitHub re-request grants a round (#2501, #2622). With review_only_rerequest_grants on, re-requesting the reviewer on a review-only PR at its verdict cap grants one more verdict, as hermes dk review --another-round does, and an urgent granted notice names who granted it. At the cap the host now removes the reviewer's pending request, so the re-request button is there to press. This needs granted in the observer feed's events. It's off by default.
  • A finding that names the PR or its own closing issue escalates for a ruling instead of starting another fix round (#2545).
  • A review whose head moves goes to the new head, whether the head moved while the review was staging (#2614) or before it was delivered (#2472).
  • Approvals across merges: a ruled approval that GitHub moved to the merged head still counts, and a later approval dismisses the reviewer's standing request from an earlier head (#2503, #2544).
  • An issue fix whose base moved during its turn opens up to date with the base (#2597).

Desktop and the CLI

  • Desktop can retry a failed triage run, with the same eligibility as hermes dk retry. It also withholds malformed heads everywhere (#2397, #2587).
  • Issue dependencies:
    • a waiver is kept and shown;
    • an unreadable dependency record holds instead of passing;
    • Desktop shows a drawer of dependencies (#2399).
  • explain names the next step the host will actually take (#2535). ready and explain also show a shadow-fix turn that ended unanswered (#2556).
  • The wording in doctor, selftest, the observer notices and history --since was corrected in many places (#2489–#2498, #2550, #2558, #2560, #2561).

Fixes

Most of the 154 PRs are bug fixes, many found by the shadow reviewer or the adjudicator. Among them:

  • the inference proxy: connecting without a timeout, the cache key, the breaker's status (#2551);
  • broker issue filing and label writes (#2553);
  • the main-flake rerun (#2552, #2555);
  • reply wakes, and a reply-woken fix turn now settles before it starts (#2549, #2567);
  • merge-check holds (#2557);
  • claim and install checks that compare the loaded commit with the install folder (#2572, #2630);
  • interrupted migrations and restores that keep their pause (#2575, #2630);
  • observer resends and digests (#2580, #2629);
  • shadow rows and shadow issue filing (#2585, #2586, #2634);
  • adjudicator launches and rulings (#2593, #2596, #2631);
  • guard scanners that showed false reds and false greens (#2536);
  • redacting a bare Basic credential echoed in an App error (#2516).

Internals

  • The broker, gate and state modules are now packages (#2409, #2466, #2492, #2499, #2504, #2505). Every import path still works, and broker_client, the module the sandbox runs, hasn't moved.
  • A required lint CI job keeps ruff check . at zero (#2533).
  • Audit lines refuse a role or operation outside the audit vocabulary at run time (#2641).
  • The site deploy refreshes its own numbers and runs again on each release (#2570).

Upgrading

No action is needed. The one new setting, review_only_rerequest_grants, is off by default, and native macOS stays off unless you opt in. Run hermes dk doctor after updating, as usual.

Full changelog: v0.6.1...v0.7.0