Darkmatter · github-bot stage: prod
preview@internal.darkmatter
Events received
87497
Ignored
87450
Jobs dispatched
47

Event 2755ffd0…

← All events

Event

Delivery
2755ffd0-64e2-11f1-8b9f-2b985f09bdc6
Event
pull_request_review_comment
Action
created
Received
2026-06-10T15:36:32.675Z
Signature
valid
Parsed
yes
Sender
czxtm
Repo
darkmatter/himitsu
Status
ignored — missing_command

Headers

{
  "accept": "*/*",
  "accept-encoding": "gzip, br",
  "cf-connecting-ip": "140.82.115.249",
  "cf-ipcountry": "US",
  "cf-ray": "a09973c42e2e820e",
  "cf-visitor": "{\"scheme\":\"https\"}",
  "connection": "Keep-Alive",
  "content-length": "39548",
  "content-type": "application/json",
  "host": "github-bot.darkmatter.io",
  "user-agent": "GitHub-Hookshot/576ea10",
  "x-forwarded-proto": "https",
  "x-github-delivery": "2755ffd0-64e2-11f1-8b9f-2b985f09bdc6",
  "x-github-event": "pull_request_review_comment",
  "x-github-hook-id": "628737947",
  "x-github-hook-installation-target-id": "3663660",
  "x-github-hook-installation-target-type": "integration",
  "x-real-ip": "140.82.115.249"
}

Payload

{
  "action": "created",
  "comment": {
    "url": "https://api.github.com/repos/darkmatter/himitsu/pulls/comments/3389589006",
    "pull_request_review_id": 4469331153,
    "id": 3389589006,
    "node_id": "PRRC_kwDORZXrx87KCQYO",
    "diff_hunk": "@@ -637,35 +659,262 @@ impl Default for KeyMap {\n     }\n }\n \n+// ── KeyRegistry ────────────────────────────────────────────────────────────\n+\n+/// Which view's help screen lists a [`KeyAction`].\n+#[derive(Debug, Clone, Copy, PartialEq, Eq)]\n+pub enum Scope {\n+    /// Available everywhere (quit, help).\n+    Global,\n+    /// Search view.\n+    Search,\n+    /// Secret viewer.\n+    Viewer,\n+    /// New-secret form.\n+    NewSecretForm,\n+}\n+\n+/// One registry row: everything every surface needs to know about a\n+/// [`KeyAction`] — its config field, its help text, which view's help\n+/// screen lists it, and the command-palette entry that shares it.\n+pub struct Row {\n+    /// Accessor for the user-configurable chord list backing this action.\n+    pub field: fn(&KeyMap) -> &Vec<KeyChord>,\n+    /// Help-screen description.\n+    pub help: &'static str,\n+    /// Which view's help screen lists this action.\n+    pub scope: Scope,\n+    /// The command-palette command sharing this action, if any.\n+    pub palette: Option<crate::tui::views::command_palette::Command>,\n+}\n+\n+impl KeyAction {\n+    /// Every action, in help-screen display order (grouped by scope). Used\n+    /// to derive [`KeyMap::entries`] — an action missing here simply never\n+    /// dispatches, which is loud, unlike the silent drift of the old\n+    /// hand-maintained table.\n+    pub const ALL: [KeyAction; 24] = [\n+        // Global\n+        KeyAction::Help,\n+        KeyAction::Quit,\n+        // Search view\n+        KeyAction::CommandPalette,\n+        KeyAction::NewSecret,\n+        KeyAction::SwitchStore,\n+        KeyAction::CopySelected,\n+        KeyAction::CopyRefSelected,\n+        KeyAction::Outputs,\n+        KeyAction::CollapsePaths,\n+        KeyAction::ExpandPaths,\n+        KeyAction::ToggleAutocomplete,\n+        KeyAction::RefineTag,\n+        KeyAction::SortColumn,\n+        // Secret viewer\n+        KeyAction::Reveal,\n+        KeyAction::CopyValue,\n+        KeyAction::CopyRef,\n+        KeyAction::Rekey,\n+        KeyAction::Edit,\n+        KeyAction::Delete,\n+        KeyAction::Back,\n+        // New-secret form\n+        KeyAction::SaveSecret,\n+        KeyAction::NextField,\n+        KeyAction::PrevField,\n+        KeyAction::Cancel,\n+    ];\n+}\n+\n+/// The single source of truth tying a [`KeyAction`] to its config field,\n+/// help text, scope, and palette link. The exhaustive match means adding a\n+/// `KeyAction` variant without a row is a **compile error** — this replaces\n+/// the hand-synced `entries()` table, the per-view hardcoded help strings,\n+/// and the palette's hand-maintained action map.\n+pub fn row(action: KeyAction) -> Row {\n+    use crate::tui::views::command_palette::Command;\n+    match action {\n+        KeyAction::Quit => Row {\n+            field: |km| &km.quit,\n+            help: \"quit\",\n+            scope: Scope::Global,\n+            palette: Some(Command::Quit),\n+        },\n+        KeyAction::Help => Row {\n+            field: |km| &km.help,\n+            help: \"toggle this help\",\n+            scope: Scope::Global,\n+            palette: Some(Command::Help),\n+        },\n+        KeyAction::CommandPalette => Row {\n+            field: |km| &km.command_palette,\n+            help: \"open command palette\",\n+            scope: Scope::Search,\n+            palette: None,\n+        },\n+        KeyAction::NewSecret => Row {\n+            field: |km| &km.new_secret,\n+            help: \"new secret\",\n+            scope: Scope::Search,\n+            palette: Some(Command::NewSecret),\n+        },\n+        KeyAction::SwitchStore => Row {\n+            field: |km| &km.switch_store,\n+            help: \"switch store\",\n+            scope: Scope::Search,\n+            palette: Some(Command::SwitchStore),\n+        },\n+        KeyAction::CopySelected => Row {\n+            field: |km| &km.copy_selected,\n+            help: \"copy selection to clipboard\",\n+            scope: Scope::Search,\n+            palette: None,\n+        },\n+        KeyAction::CopyRefSelected => Row {\n+            field: |km| &km.copy_ref_selected,\n+            help: \"copy `himitsu read <ref>` command\",\n+            scope: Scope::Search,\n+            palette: None,\n+        },\n+        KeyAction::Outputs => Row {\n+            field: |km| &km.outputs,\n+            help: \"browse outputs\",\n+            scope: Scope::Search,\n+            palette: Some(Command::Outputs),\n+        },\n+        KeyAction::CollapsePaths => Row {\n+            field: |km| &km.collapse_paths,\n+            help: \"collapse paths to top-level folders\",\n+            scope: Scope::Search,\n+            palette: None,\n+        },\n+        KeyAction::ExpandPaths => Row {\n+            field: |km| &km.expand_paths,\n+            help: \"expand paths to full depth\",\n+            scope: Scope::Search,\n+            palette: None,\n+        },\n+        KeyAction::ToggleAutocomplete => Row {\n+            field: |km| &km.toggle_autocomplete,\n+            help: \"toggle ref autocomplete\",\n+            scope: Scope::Search,\n+            palette: None,\n+        },\n+        KeyAction::RefineTag => Row {\n+            field: |km| &km.refine_tag,\n+            help: \"refine to selected tag\",\n+            scope: Scope::Search,\n+            palette: None,\n+        },\n+        KeyAction::SortColumn => Row {\n+            field: |km| &km.sort_column,\n+            help: \"sort selected column\",\n+            scope: Scope::Search,\n+            palette: None,\n+        },\n+        KeyAction::Reveal => Row {\n+            field: |km| &km.reveal,\n+            help: \"reveal / hide value\",\n+            scope: Scope::Viewer,\n+            palette: None,\n+        },\n+        KeyAction::CopyValue => Row {\n+            field: |km| &km.copy_value,\n+            help: \"copy value to clipboard\",\n+            scope: Scope::Viewer,\n+            palette: None,\n+        },\n+        KeyAction::CopyRef => Row {\n+            field: |km| &km.copy_ref,\n+            help: \"copy `himitsu read <ref>` command\",\n+            scope: Scope::Viewer,\n+            palette: None,\n+        },\n+        KeyAction::Rekey => Row {\n+            field: |km| &km.rekey,\n+            help: \"rekey for current recipients\",\n+            scope: Scope::Viewer,\n+            palette: None,\n+        },\n+        KeyAction::Edit => Row {\n+            field: |km| &km.edit,\n+            help: \"edit value + metadata in $EDITOR\",\n+            scope: Scope::Viewer,\n+            palette: None,\n+        },\n+        KeyAction::Delete => Row {\n+            field: |km| &km.delete,\n+            help: \"delete secret (with confirm)\",\n+            scope: Scope::Viewer,\n+            palette: None,\n+        },\n+        KeyAction::Back => Row {\n+            field: |km| &km.back,\n+            help: \"back\",\n+            scope: Scope::Viewer,\n+            palette: None,\n+        },\n+        KeyAction::SaveSecret => Row {\n+            field: |km| &km.save_secret,\n+            help: \"save from any field\",\n+            scope: Scope::NewSecretForm,\n+            palette: None,\n+        },\n+        KeyAction::NextField => Row {\n+            field: |km| &km.next_field,\n+            help: \"next field (wraps)\",\n+            scope: Scope::NewSecretForm,\n+            palette: None,\n+        },\n+        KeyAction::PrevField => Row {\n+            field: |km| &km.prev_field,\n+            help: \"previous field (wraps)\",\n+            scope: Scope::NewSecretForm,\n+            palette: None,\n+        },\n+        KeyAction::Cancel => Row {\n+            field: |km| &km.cancel,\n+            help: \"cancel\",\n+            scope: Scope::NewSecretForm,\n+            palette: None,\n+        },\n+    }\n+}\n+\n+/// Live help rows for one scope: `(chords, description)` with the chord\n+/// display rendered from the CURRENT keymap, so user rebinds show up in\n+/// every help screen automatically.\n+pub fn help_rows(keymap: &KeyMap, scope: Scope) -> Vec<(String, String)> {\n+    KeyAction::ALL\n+        .into_iter()\n+        .filter(|a| row(*a).scope == scope)\n+        .map(|a| (chords_display(keymap, a), row(a).help.to_string()))\n+        .collect()",
    "path": "rust/src/tui/keymap.rs",
    "commit_id": "8f7ac2b66ef16f7b8bfc3f70ff68ca28351a46c1",
    "original_commit_id": "74036ba3759801a5abe4dd26e7d5049fbd1e831a",
    "user": {
      "login": "czxtm",
      "id": 1325802,
      "node_id": "MDQ6VXNlcjEzMjU4MDI=",
      "avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/czxtm",
      "html_url": "https://github.com/czxtm",
      "followers_url": "https://api.github.com/users/czxtm/followers",
      "following_url": "https://api.github.com/users/czxtm/following{/other_user}",
      "gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
      "organizations_url": "https://api.github.com/users/czxtm/orgs",
      "repos_url": "https://api.github.com/users/czxtm/repos",
      "events_url": "https://api.github.com/users/czxtm/events{/privacy}",
      "received_events_url": "https://api.github.com/users/czxtm/received_events",
      "type": "User",
      "user_view_type": "public",
      "site_admin": false
    },
    "body": "Not changed: `filter`'s predicate receives `&Item` regardless of `into_iter()` yielding by value, so `row(*a)` in the filter and `row(a)` in the map are both correct — this code compiles on edition 2021 and CI is green on it.",
    "created_at": "2026-06-10T15:36:30Z",
    "updated_at": "2026-06-10T15:36:30Z",
    "html_url": "https://github.com/darkmatter/himitsu/pull/20#discussion_r3389589006",
    "pull_request_url": "https://api.github.com/repos/darkmatter/himitsu/pulls/20",
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/darkmatter/himitsu/pulls/comments/3389589006"
      },
      "html": {
        "href": "https://github.com/darkmatter/himitsu/pull/20#discussion_r3389589006"
      },
      "pull_request": {
        "href": "https://api.github.com/repos/darkmatter/himitsu/pulls/20"
      }
    },
    "reactions": {
      "url": "https://api.github.com/repos/darkmatter/himitsu/pulls/comments/3389589006/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "start_line": 887,
    "original_start_line": 887,
    "start_side": "RIGHT",
    "line": 891,
    "original_line": 891,
    "side": "RIGHT",
    "in_reply_to_id": 3389561626,
    "author_association": "MEMBER",
    "original_position": 295,
    "position": 295,
    "subject_type": "line"
  },
  "pull_request": {
    "url": "https://api.github.com/repos/darkmatter/himitsu/pulls/20",
    "id": 3840584652,
    "node_id": "PR_kwDORZXrx87k6qvM",
    "html_url": "https://github.com/darkmatter/himitsu/pull/20",
    "diff_url": "https://github.com/darkmatter/himitsu/pull/20.diff",
    "patch_url": "https://github.com/darkmatter/himitsu/pull/20.patch",
    "issue_url": "https://api.github.com/repos/darkmatter/himitsu/issues/20",
    "number": 20,
    "state": "open",
    "locked": false,
    "title": "refactor: deepen seams from the 2026-06-09 architecture review",
    "user": {
      "login": "czxtm",
      "id": 1325802,
      "node_id": "MDQ6VXNlcjEzMjU4MDI=",
      "avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/czxtm",
      "html_url": "https://github.com/czxtm",
      "followers_url": "https://api.github.com/users/czxtm/followers",
      "following_url": "https://api.github.com/users/czxtm/following{/other_user}",
      "gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
      "organizations_url": "https://api.github.com/users/czxtm/orgs",
      "repos_url": "https://api.github.com/users/czxtm/repos",
      "events_url": "https://api.github.com/users/czxtm/events{/privacy}",
      "received_events_url": "https://api.github.com/users/czxtm/received_events",
      "type": "User",
      "user_view_type": "public",
      "site_admin": false
    },
    "body": "## What changed\n\nImplements all seven beads from the 2026-06-09 architecture review (design decisions recorded in `CONTEXT.md`; each bead's close note carries the full spec):\n\n- **`hm-x9r` — Context owns project-config resolution.** `ctx.project_config()` is lazy + memoized (clones share the memo; the dispatcher seeds it in project mode). Fixes the latent `--project` bug class at five sites that still cwd-walked: `generate`, `codegen` ×2, `export`, `check`, and the TUI health sidebar. The raw loaders are now `pub(crate)` internals; `migrate`'s multi-root scan is the one sanctioned direct caller.\n- **`hm-i9k` — OutputResolver** (`rust/src/cli/output_resolver.rs`). One module owns project `outputs:` map → candidates-with-decrypted-tags → selector/alias resolution → decoded values. `open()` is the single decrypt-once scan (zero I/O when no outputs are defined); tri-state `env_map()` replaces exec's ~105-line hand-rolled pipeline; `decode()` serves generate/codegen, which stop decrypting the store twice. Deletes `resolver_candidates_with_tags` and `SecretResolver::resolve_candidates`.\n- **`hm-y36` — exec accepts multiple refs.** `himitsu exec tag:pci prod/db -- cmd` injects the union; every ref must match; the same env var resolving to *different* values across refs is a hard error. The `--` separator is now required (all docs/tests already used it). The zsh completion generator is updated for the new positional shape — the existing test caught that the rename would have silently broken fuzzy completion.\n- **`hm-x7z` — ADR-0001** (`docs/adr/`). Keep last-wins duplicate-key collapse in the file generators (aliases resolve after selectors, so last-wins = \"the alias pins the binding\"); `codegen` gains `generate`'s warning instead of silently clobbering; `exec` stays strict.\n- **`hm-cpc` — StoreOps** (`rust/src/cli/store_ops.rs`). The mutation chain (append-only commit on success *and* failure, push, completions-cache refresh) now lives in one module with two callers: the CLI dispatcher (one finalize per command, so batches stay one commit) and silent TUI mutation cores. Fixes real drift: TUI delete/rekey left the store **dirty** (no commit at all), join `println!`'d into ratatui, and TUI sets skipped env-key validation, effective-store routing, and the cache refresh.\n- **`hm-dwr` — KeyRegistry.** One exhaustive-match row per `KeyAction` (a missing row is a compile error) drives dispatch, help screens (rendered from the **live** keymap, so rebinds show up), and palette shortcuts. The three hardcoded search chords (Ctrl+Space / Ctrl+T / Ctrl+O) became rebindable actions. The `envs` keymap field is renamed `outputs` with a serde alias for existing configs.\n- **`hm-a16` — search-view graduation.** `PathFolding` and `ResultSort` are now pure, terminal-free modules (`rust/src/tui/model/`); `StoreHealth` is a drawable widget (`rust/src/tui/widgets/store_health.rs`). Behavior-identical extraction; all pre-existing view tests pass through the moved code unchanged.\n\n## Bonus fixes (found by the new tests)\n\n- Completions cache invalidation used seconds-granularity max-mtime and missed deletions landing in the same second as the last write — the fingerprint now hashes nanosecond mtime + entry count (self-healing for existing caches).\n- `Ctrl+Space` chords serialized as a literal space and could never roundtrip the whitespace-separated chord config format — now renders as `space`.\n- The secret viewer's single-secret rekey ran against the ambient store instead of the secret's own store, and uncommitted.\n\n## Reviewer notes\n\n- **Deliberate behavior deltas:** exec without `--` (undocumented form) now errors with a clap usage message; `codegen` warns on duplicate keys (was silent); local undecryptable entries in generate/codegen now produce SecretResolver's rich \"no matching key\" diagnostic instead of the raw age error; TUI mutations now commit/push/refresh like their CLI equivalents.\n- **Documented deviation:** the review originally planned for the Outputs view to adopt PathFolding/ResultSort in this change, but its presumed duplication turned out to be two one-line alphabetical sorts — adoption would have added a hypothetical seam, so it was evaluated and skipped (recorded in `CONTEXT.md` and the bead close).\n- `demo/demo-vhs.gif` was modified by something outside this session and is intentionally **not** included in this PR.\n- Gates at HEAD, run twice: **691 lib + 155 integration tests green, clippy 0 warnings**.\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)",
    "created_at": "2026-06-10T15:15:51Z",
    "updated_at": "2026-06-10T15:36:30Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": "ce01db4f2fdd737e0435fa83b54699edd5a96a0f",
    "assignees": [],
    "requested_reviewers": [
      {
        "login": "Copilot",
        "id": 175728472,
        "node_id": "BOT_kgDOCnlnWA",
        "avatar_url": "https://avatars.githubusercontent.com/in/946600?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/Copilot",
        "html_url": "https://github.com/apps/copilot-pull-request-reviewer",
        "followers_url": "https://api.github.com/users/Copilot/followers",
        "following_url": "https://api.github.com/users/Copilot/following{/other_user}",
        "gists_url": "https://api.github.com/users/Copilot/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/Copilot/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/Copilot/subscriptions",
        "organizations_url": "https://api.github.com/users/Copilot/orgs",
        "repos_url": "https://api.github.com/users/Copilot/repos",
        "events_url": "https://api.github.com/users/Copilot/events{/privacy}",
        "received_events_url": "https://api.github.com/users/Copilot/received_events",
        "type": "Bot",
        "user_view_type": "public",
        "site_admin": false
      }
    ],
    "requested_teams": [],
    "labels": [],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/darkmatter/himitsu/pulls/20/commits",
    "review_comments_url": "https://api.github.com/repos/darkmatter/himitsu/pulls/20/comments",
    "review_comment_url": "https://api.github.com/repos/darkmatter/himitsu/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/darkmatter/himitsu/issues/20/comments",
    "statuses_url": "https://api.github.com/repos/darkmatter/himitsu/statuses/8f7ac2b66ef16f7b8bfc3f70ff68ca28351a46c1",
    "head": {
      "label": "darkmatter:refactor/arch-review-deepening",
      "ref": "refactor/arch-review-deepening",
      "sha": "8f7ac2b66ef16f7b8bfc3f70ff68ca28351a46c1",
      "user": {
        "login": "darkmatter",
        "id": 17834193,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
        "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/darkmatter",
        "html_url": "https://github.com/darkmatter",
        "followers_url": "https://api.github.com/users/darkmatter/followers",
        "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
        "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
        "organizations_url": "https://api.github.com/users/darkmatter/orgs",
        "repos_url": "https://api.github.com/users/darkmatter/repos",
        "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
        "received_events_url": "https://api.github.com/users/darkmatter/received_events",
        "type": "Organization",
        "user_view_type": "public",
        "site_admin": false
      },
      "repo": {
        "id": 1167453127,
        "node_id": "R_kgDORZXrxw",
        "name": "himitsu",
        "full_name": "darkmatter/himitsu",
        "private": false,
        "owner": {
          "login": "darkmatter",
          "id": 17834193,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
          "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/darkmatter",
          "html_url": "https://github.com/darkmatter",
          "followers_url": "https://api.github.com/users/darkmatter/followers",
          "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
          "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
          "organizations_url": "https://api.github.com/users/darkmatter/orgs",
          "repos_url": "https://api.github.com/users/darkmatter/repos",
          "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
          "received_events_url": "https://api.github.com/users/darkmatter/received_events",
          "type": "Organization",
          "user_view_type": "public",
          "site_admin": false
        },
        "html_url": "https://github.com/darkmatter/himitsu",
        "description": "Age-based secrets with cross-repo sharing, recipient groups, and typed codegen",
        "fork": false,
        "url": "https://api.github.com/repos/darkmatter/himitsu",
        "forks_url": "https://api.github.com/repos/darkmatter/himitsu/forks",
        "keys_url": "https://api.github.com/repos/darkmatter/himitsu/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/darkmatter/himitsu/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/darkmatter/himitsu/teams",
        "hooks_url": "https://api.github.com/repos/darkmatter/himitsu/hooks",
        "issue_events_url": "https://api.github.com/repos/darkmatter/himitsu/issues/events{/number}",
        "events_url": "https://api.github.com/repos/darkmatter/himitsu/events",
        "assignees_url": "https://api.github.com/repos/darkmatter/himitsu/assignees{/user}",
        "branches_url": "https://api.github.com/repos/darkmatter/himitsu/branches{/branch}",
        "tags_url": "https://api.github.com/repos/darkmatter/himitsu/tags",
        "blobs_url": "https://api.github.com/repos/darkmatter/himitsu/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/darkmatter/himitsu/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/darkmatter/himitsu/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/darkmatter/himitsu/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/darkmatter/himitsu/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/darkmatter/himitsu/languages",
        "stargazers_url": "https://api.github.com/repos/darkmatter/himitsu/stargazers",
        "contributors_url": "https://api.github.com/repos/darkmatter/himitsu/contributors",
        "subscribers_url": "https://api.github.com/repos/darkmatter/himitsu/subscribers",
        "subscription_url": "https://api.github.com/repos/darkmatter/himitsu/subscription",
        "commits_url": "https://api.github.com/repos/darkmatter/himitsu/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/darkmatter/himitsu/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/darkmatter/himitsu/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/darkmatter/himitsu/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/darkmatter/himitsu/contents/{+path}",
        "compare_url": "https://api.github.com/repos/darkmatter/himitsu/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/darkmatter/himitsu/merges",
        "archive_url": "https://api.github.com/repos/darkmatter/himitsu/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/darkmatter/himitsu/downloads",
        "issues_url": "https://api.github.com/repos/darkmatter/himitsu/issues{/number}",
        "pulls_url": "https://api.github.com/repos/darkmatter/himitsu/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/darkmatter/himitsu/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/darkmatter/himitsu/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/darkmatter/himitsu/labels{/name}",
        "releases_url": "https://api.github.com/repos/darkmatter/himitsu/releases{/id}",
        "deployments_url": "https://api.github.com/repos/darkmatter/himitsu/deployments",
        "created_at": "2026-02-26T10:04:21Z",
        "updated_at": "2026-06-09T13:22:19Z",
        "pushed_at": "2026-06-10T15:36:10Z",
        "git_url": "git://github.com/darkmatter/himitsu.git",
        "ssh_url": "git@github.com:darkmatter/himitsu.git",
        "clone_url": "https://github.com/darkmatter/himitsu.git",
        "svn_url": "https://github.com/darkmatter/himitsu",
        "homepage": "",
        "size": 12820,
        "stargazers_count": 1,
        "watchers_count": 1,
        "language": "Rust",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": false,
        "has_discussions": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 1,
        "license": null,
        "allow_forking": true,
        "is_template": false,
        "web_commit_signoff_required": false,
        "has_pull_requests": true,
        "pull_request_creation_policy": "all",
        "topics": [],
        "visibility": "public",
        "forks": 0,
        "open_issues": 1,
        "watchers": 1,
        "default_branch": "main",
        "allow_squash_merge": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "allow_auto_merge": false,
        "delete_branch_on_merge": false,
        "allow_update_branch": false,
        "use_squash_pr_title_as_default": false,
        "squash_merge_commit_message": "COMMIT_MESSAGES",
        "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
        "merge_commit_message": "PR_TITLE",
        "merge_commit_title": "MERGE_MESSAGE"
      }
    },
    "base": {
      "label": "darkmatter:main",
      "ref": "main",
      "sha": "ba602f44c2f7f65dc175a32d59e0317986c8d73f",
      "user": {
        "login": "darkmatter",
        "id": 17834193,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
        "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/darkmatter",
        "html_url": "https://github.com/darkmatter",
        "followers_url": "https://api.github.com/users/darkmatter/followers",
        "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
        "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
        "organizations_url": "https://api.github.com/users/darkmatter/orgs",
        "repos_url": "https://api.github.com/users/darkmatter/repos",
        "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
        "received_events_url": "https://api.github.com/users/darkmatter/received_events",
        "type": "Organization",
        "user_view_type": "public",
        "site_admin": false
      },
      "repo": {
        "id": 1167453127,
        "node_id": "R_kgDORZXrxw",
        "name": "himitsu",
        "full_name": "darkmatter/himitsu",
        "private": false,
        "owner": {
          "login": "darkmatter",
          "id": 17834193,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
          "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/darkmatter",
          "html_url": "https://github.com/darkmatter",
          "followers_url": "https://api.github.com/users/darkmatter/followers",
          "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
          "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
          "organizations_url": "https://api.github.com/users/darkmatter/orgs",
          "repos_url": "https://api.github.com/users/darkmatter/repos",
          "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
          "received_events_url": "https://api.github.com/users/darkmatter/received_events",
          "type": "Organization",
          "user_view_type": "public",
          "site_admin": false
        },
        "html_url": "https://github.com/darkmatter/himitsu",
        "description": "Age-based secrets with cross-repo sharing, recipient groups, and typed codegen",
        "fork": false,
        "url": "https://api.github.com/repos/darkmatter/himitsu",
        "forks_url": "https://api.github.com/repos/darkmatter/himitsu/forks",
        "keys_url": "https://api.github.com/repos/darkmatter/himitsu/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/darkmatter/himitsu/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/darkmatter/himitsu/teams",
        "hooks_url": "https://api.github.com/repos/darkmatter/himitsu/hooks",
        "issue_events_url": "https://api.github.com/repos/darkmatter/himitsu/issues/events{/number}",
        "events_url": "https://api.github.com/repos/darkmatter/himitsu/events",
        "assignees_url": "https://api.github.com/repos/darkmatter/himitsu/assignees{/user}",
        "branches_url": "https://api.github.com/repos/darkmatter/himitsu/branches{/branch}",
        "tags_url": "https://api.github.com/repos/darkmatter/himitsu/tags",
        "blobs_url": "https://api.github.com/repos/darkmatter/himitsu/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/darkmatter/himitsu/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/darkmatter/himitsu/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/darkmatter/himitsu/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/darkmatter/himitsu/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/darkmatter/himitsu/languages",
        "stargazers_url": "https://api.github.com/repos/darkmatter/himitsu/stargazers",
        "contributors_url": "https://api.github.com/repos/darkmatter/himitsu/contributors",
        "subscribers_url": "https://api.github.com/repos/darkmatter/himitsu/subscribers",
        "subscription_url": "https://api.github.com/repos/darkmatter/himitsu/subscription",
        "commits_url": "https://api.github.com/repos/darkmatter/himitsu/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/darkmatter/himitsu/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/darkmatter/himitsu/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/darkmatter/himitsu/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/darkmatter/himitsu/contents/{+path}",
        "compare_url": "https://api.github.com/repos/darkmatter/himitsu/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/darkmatter/himitsu/merges",
        "archive_url": "https://api.github.com/repos/darkmatter/himitsu/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/darkmatter/himitsu/downloads",
        "issues_url": "https://api.github.com/repos/darkmatter/himitsu/issues{/number}",
        "pulls_url": "https://api.github.com/repos/darkmatter/himitsu/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/darkmatter/himitsu/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/darkmatter/himitsu/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/darkmatter/himitsu/labels{/name}",
        "releases_url": "https://api.github.com/repos/darkmatter/himitsu/releases{/id}",
        "deployments_url": "https://api.github.com/repos/darkmatter/himitsu/deployments",
        "created_at": "2026-02-26T10:04:21Z",
        "updated_at": "2026-06-09T13:22:19Z",
        "pushed_at": "2026-06-10T15:36:10Z",
        "git_url": "git://github.com/darkmatter/himitsu.git",
        "ssh_url": "git@github.com:darkmatter/himitsu.git",
        "clone_url": "https://github.com/darkmatter/himitsu.git",
        "svn_url": "https://github.com/darkmatter/himitsu",
        "homepage": "",
        "size": 12820,
        "stargazers_count": 1,
        "watchers_count": 1,
        "language": "Rust",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": false,
        "has_discussions": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 1,
        "license": null,
        "allow_forking": true,
        "is_template": false,
        "web_commit_signoff_required": false,
        "has_pull_requests": true,
        "pull_request_creation_policy": "all",
        "topics": [],
        "visibility": "public",
        "forks": 0,
        "open_issues": 1,
        "watchers": 1,
        "default_branch": "main",
        "allow_squash_merge": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "allow_auto_merge": false,
        "delete_branch_on_merge": false,
        "allow_update_branch": false,
        "use_squash_pr_title_as_default": false,
        "squash_merge_commit_message": "COMMIT_MESSAGES",
        "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
        "merge_commit_message": "PR_TITLE",
        "merge_commit_title": "MERGE_MESSAGE"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/darkmatter/himitsu/pulls/20"
      },
      "html": {
        "href": "https://github.com/darkmatter/himitsu/pull/20"
      },
      "issue": {
        "href": "https://api.github.com/repos/darkmatter/himitsu/issues/20"
      },
      "comments": {
        "href": "https://api.github.com/repos/darkmatter/himitsu/issues/20/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/darkmatter/himitsu/pulls/20/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/darkmatter/himitsu/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/darkmatter/himitsu/pulls/20/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/darkmatter/himitsu/statuses/8f7ac2b66ef16f7b8bfc3f70ff68ca28351a46c1"
      }
    },
    "author_association": "MEMBER",
    "auto_merge": null,
    "assignee": null,
    "active_lock_reason": null
  },
  "repository": {
    "id": 1167453127,
    "node_id": "R_kgDORZXrxw",
    "name": "himitsu",
    "full_name": "darkmatter/himitsu",
    "private": false,
    "owner": {
      "login": "darkmatter",
      "id": 17834193,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
      "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/darkmatter",
      "html_url": "https://github.com/darkmatter",
      "followers_url": "https://api.github.com/users/darkmatter/followers",
      "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
      "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
      "organizations_url": "https://api.github.com/users/darkmatter/orgs",
      "repos_url": "https://api.github.com/users/darkmatter/repos",
      "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
      "received_events_url": "https://api.github.com/users/darkmatter/received_events",
      "type": "Organization",
      "user_view_type": "public",
      "site_admin": false
    },
    "html_url": "https://github.com/darkmatter/himitsu",
    "description": "Age-based secrets with cross-repo sharing, recipient groups, and typed codegen",
    "fork": false,
    "url": "https://api.github.com/repos/darkmatter/himitsu",
    "forks_url": "https://api.github.com/repos/darkmatter/himitsu/forks",
    "keys_url": "https://api.github.com/repos/darkmatter/himitsu/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/darkmatter/himitsu/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/darkmatter/himitsu/teams",
    "hooks_url": "https://api.github.com/repos/darkmatter/himitsu/hooks",
    "issue_events_url": "https://api.github.com/repos/darkmatter/himitsu/issues/events{/number}",
    "events_url": "https://api.github.com/repos/darkmatter/himitsu/events",
    "assignees_url": "https://api.github.com/repos/darkmatter/himitsu/assignees{/user}",
    "branches_url": "https://api.github.com/repos/darkmatter/himitsu/branches{/branch}",
    "tags_url": "https://api.github.com/repos/darkmatter/himitsu/tags",
    "blobs_url": "https://api.github.com/repos/darkmatter/himitsu/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/darkmatter/himitsu/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/darkmatter/himitsu/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/darkmatter/himitsu/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/darkmatter/himitsu/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/darkmatter/himitsu/languages",
    "stargazers_url": "https://api.github.com/repos/darkmatter/himitsu/stargazers",
    "contributors_url": "https://api.github.com/repos/darkmatter/himitsu/contributors",
    "subscribers_url": "https://api.github.com/repos/darkmatter/himitsu/subscribers",
    "subscription_url": "https://api.github.com/repos/darkmatter/himitsu/subscription",
    "commits_url": "https://api.github.com/repos/darkmatter/himitsu/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/darkmatter/himitsu/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/darkmatter/himitsu/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/darkmatter/himitsu/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/darkmatter/himitsu/contents/{+path}",
    "compare_url": "https://api.github.com/repos/darkmatter/himitsu/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/darkmatter/himitsu/merges",
    "archive_url": "https://api.github.com/repos/darkmatter/himitsu/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/darkmatter/himitsu/downloads",
    "issues_url": "https://api.github.com/repos/darkmatter/himitsu/issues{/number}",
    "pulls_url": "https://api.github.com/repos/darkmatter/himitsu/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/darkmatter/himitsu/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/darkmatter/himitsu/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/darkmatter/himitsu/labels{/name}",
    "releases_url": "https://api.github.com/repos/darkmatter/himitsu/releases{/id}",
    "deployments_url": "https://api.github.com/repos/darkmatter/himitsu/deployments",
    "created_at": "2026-02-26T10:04:21Z",
    "updated_at": "2026-06-09T13:22:19Z",
    "pushed_at": "2026-06-10T15:36:10Z",
    "git_url": "git://github.com/darkmatter/himitsu.git",
    "ssh_url": "git@github.com:darkmatter/himitsu.git",
    "clone_url": "https://github.com/darkmatter/himitsu.git",
    "svn_url": "https://github.com/darkmatter/himitsu",
    "homepage": "",
    "size": 12820,
    "stargazers_count": 1,
    "watchers_count": 1,
    "language": "Rust",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": false,
    "has_discussions": false,
    "forks_count": 0,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 1,
    "license": null,
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": false,
    "has_pull_requests": true,
    "pull_request_creation_policy": "all",
    "topics": [],
    "visibility": "public",
    "forks": 0,
    "open_issues": 1,
    "watchers": 1,
    "default_branch": "main",
    "custom_properties": {}
  },
  "organization": {
    "login": "darkmatter",
    "id": 17834193,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
    "url": "https://api.github.com/orgs/darkmatter",
    "repos_url": "https://api.github.com/orgs/darkmatter/repos",
    "events_url": "https://api.github.com/orgs/darkmatter/events",
    "hooks_url": "https://api.github.com/orgs/darkmatter/hooks",
    "issues_url": "https://api.github.com/orgs/darkmatter/issues",
    "members_url": "https://api.github.com/orgs/darkmatter/members{/member}",
    "public_members_url": "https://api.github.com/orgs/darkmatter/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
    "description": ""
  },
  "enterprise": {
    "id": 469843,
    "slug": "darkmatter",
    "name": "darkmatter",
    "node_id": "E_kgDOAAcrUw",
    "avatar_url": "https://avatars.githubusercontent.com/b/469843?v=4",
    "description": "",
    "website_url": "darkmatter.io",
    "html_url": "https://github.com/enterprises/darkmatter",
    "created_at": "2025-09-07T16:01:00Z",
    "updated_at": "2026-06-07T16:53:26Z"
  },
  "sender": {
    "login": "czxtm",
    "id": 1325802,
    "node_id": "MDQ6VXNlcjEzMjU4MDI=",
    "avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/czxtm",
    "html_url": "https://github.com/czxtm",
    "followers_url": "https://api.github.com/users/czxtm/followers",
    "following_url": "https://api.github.com/users/czxtm/following{/other_user}",
    "gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
    "organizations_url": "https://api.github.com/users/czxtm/orgs",
    "repos_url": "https://api.github.com/users/czxtm/repos",
    "events_url": "https://api.github.com/users/czxtm/events{/privacy}",
    "received_events_url": "https://api.github.com/users/czxtm/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  },
  "installation": {
    "id": 131074261,
    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMxMDc0MjYx"
  }
}