Payload
{
"action": "submitted",
"review": {
"id": 4469246761,
"node_id": "PRR_kwDORZXrx88AAAABCmNLKQ",
"user": {
"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
},
"body": "## Pull request overview\n\nThis PR applies the 2026-06-09 architecture review outcomes by deepening core seams in the Rust CLI and TUI: Context-owned/memoized project-config resolution, a unified OutputResolver pipeline for outputs→env/value materialization, centralized StoreOps mutation chaining, and a KeyRegistry-driven keybinding/help/palette system. It also extracts search-view state and store-health logic into reusable modules, and adds integration tests to lock in the new behaviors.\n\n**Changes:**\n- Centralizes project config resolution in `Context::project_config()` (lazy, memoized across `Context` clones) and updates commands/views to use it.\n- Introduces `OutputResolver` for a single decrypt-once scan and consistent outputs label / selector / alias resolution across `exec`, `generate`, and `codegen` (including new `exec` multi-ref union behavior).\n- Adds `StoreOps` mutation cores + KeyRegistry, and graduates `PathFolding`/`ResultSort`/`StoreHealth` into dedicated modules with updated TUI help/palette integration.\n\n### Reviewed changes\n\nCopilot reviewed 45 out of 45 changed files in this pull request and generated 2 comments.\n\n<details>\n<summary>Show a summary per file</summary>\n\n| File | Description |\r\n| ---- | ----------- |\r\n| tests/integration/cli_test.rs | Adds integration coverage for `--project` resolution, `exec` multi-ref semantics, and codegen duplicate-key warnings. |\r\n| rust/src/tui/widgets/store_health.rs | New reusable StoreHealth widget + project-store resolution via `ctx.project_config()`. |\r\n| rust/src/tui/widgets/mod.rs | Exposes the new `store_health` widget module. |\r\n| rust/src/tui/views/secret_viewer.rs | Routes rekey/delete/set mutations through `store_ops` and scopes mutations to the viewed secret’s store; live-keymap help entries. |\r\n| rust/src/tui/views/search.rs | Extracts folding/sorting/health into modules; makes more actions keymap-driven; uses `store_ops` for join/rekey. |\r\n| rust/src/tui/views/remote_add.rs | Updates test contexts to include `project_config_cell`. |\r\n| rust/src/tui/views/recipient_list.rs | Switches TUI recipient mutations to `store_ops`; updates tests for new context field. |\r\n| rust/src/tui/views/recipient_add.rs | Switches recipient add to `store_ops`; updates tests for new context field. |\r\n| rust/src/tui/views/outputs.rs | Ensures cloned contexts carry `project_config_cell`; updates tests. |\r\n| rust/src/tui/views/new_secret.rs | Switches secret creation to `store_ops::set_secret`; live-keymap help entries. |\r\n| rust/src/tui/views/help.rs | Makes HelpView accept owned dynamic rows (enables live keymap-derived help). |\r\n| rust/src/tui/views/command_palette.rs | Derives palette shortcut/action linkage via KeyRegistry rows. |\r\n| rust/src/tui/model/result_sort.rs | New pure sorting module extracted from Search view, with unit tests. |\r\n| rust/src/tui/model/path_folding.rs | New pure folding/grouping module extracted from Search view, with unit tests. |\r\n| rust/src/tui/model/mod.rs | Introduces `tui::model` module namespace for pure state modules. |\r\n| rust/src/tui/mod.rs | Wires in `tui::model`; updates contexts in init flow/tests for new config memo cell. |\r\n| rust/src/tui/keymap.rs | Adds KeyRegistry (rows/scopes/palette links), new search actions, `envs`→`outputs` rename w/ serde alias, and `space` roundtripping. |\r\n| rust/src/tui/harness.rs | Updates TUI harness test contexts to include `project_config_cell`. |\r\n| rust/src/tui/app.rs | Builds help overlays from live keymap-derived rows; ensures cloned contexts carry memo cell. |\r\n| rust/src/config/mod.rs | Makes raw project-config loaders `pub(crate)` and documents Context ownership of selection/memoization. |\r\n| rust/src/completions_cache.rs | Improves cache invalidation fingerprinting (nanosecond mtime + entry count hashing). |\r\n| rust/src/cli/sync.rs | Ensures derived contexts carry `project_config_cell`. |\r\n| rust/src/cli/store_ops.rs | New StoreOps mutation seam: shared finalize chain and silent mutation cores with tests. |\r\n| rust/src/cli/set.rs | Exposes `encrypt_and_write` to sibling modules (used by StoreOps). |\r\n| rust/src/cli/search.rs | Adds `Default` for `SearchResult` to support new pure-model test helpers. |\r\n| rust/src/cli/schema.rs | Updates test contexts to include `project_config_cell`. |\r\n| rust/src/cli/resolver.rs | Removes now-redundant candidate-building helper from SecretResolver. |\r\n| rust/src/cli/recipient.rs | Removes TUI-facing wrappers; exposes silent cores to `store_ops`; updates tests accordingly. |\r\n| rust/src/cli/output_resolver.rs | Adds OutputResolver (open/env_map/decode) with invariants and extensive unit tests. |\r\n| rust/src/cli/mod.rs | Adds `Context::project_config()` w/ shared memo cell; moves mutation finalization to `store_ops`; seeds memo during construction. |\r\n| rust/src/cli/join.rs | Splits join into silent core + presentation wrapper; returns structured outcomes. |\r\n| rust/src/cli/init.rs | Ensures derived contexts carry `project_config_cell`. |\r\n| rust/src/cli/import.rs | Updates test contexts to include `project_config_cell`. |\r\n| rust/src/cli/get.rs | Extracts channel-free `expiry_message` helper used by OutputResolver. |\r\n| rust/src/cli/generate.rs | Uses OutputResolver for outputs resolution and value decode; keeps last-wins + warning behavior. |\r\n| rust/src/cli/export.rs | Switches project config loading to `ctx.project_config()`. |\r\n| rust/src/cli/exec.rs | Adds multi-ref union semantics, requires `--`, integrates OutputResolver tri-state label resolution. |\r\n| rust/src/cli/doctor.rs | Updates test contexts to include `project_config_cell`. |\r\n| rust/src/cli/completions.rs | Updates zsh completion patching for new `exec` positional `refs` shape. |\r\n| rust/src/cli/codegen.rs | Uses OutputResolver for outputs resolution + decode; adds duplicate-key warning parity with generate. |\r\n| rust/src/cli/check.rs | Uses `ctx.project_config()` for store discovery. |\r\n| README.md | Updates `exec` docs for multi-ref usage and keymap action list changes. |\r\n| docs/ARCHITECTURE.md | Documents `exec` multi-ref union/conflict semantics. |\r\n| docs/adr/0001-keep-last-wins-collapse-in-file-generators.md | Adds ADR formalizing last-wins behavior with warning parity. |\r\n| CONTEXT.md | Records architecture terms and the deepened seams introduced by this PR. |\n</details>\n\n\n\n\n\n\n\n---\n\n💡 <a href=\"/darkmatter/himitsu/new/main?filename=.github/instructions/*.instructions.md\" class=\"Link--inTextBlock\" target=\"_blank\" rel=\"noopener noreferrer\">Add Copilot custom instructions</a> for smarter, more guided reviews. <a href=\"https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot\" class=\"Link--inTextBlock\" target=\"_blank\" rel=\"noopener noreferrer\">Learn how to get started</a>.",
"commit_id": "ec388f772062872a5b29e79e2e7c8bb94fa0acb1",
"state": "commented",
"html_url": "https://github.com/darkmatter/himitsu/pull/20#pullrequestreview-4469246761",
"pull_request_url": "https://api.github.com/repos/darkmatter/himitsu/pulls/20",
"_links": {
"html": {
"href": "https://github.com/darkmatter/himitsu/pull/20#pullrequestreview-4469246761"
},
"pull_request": {
"href": "https://api.github.com/repos/darkmatter/himitsu/pulls/20"
}
},
"submitted_at": "2026-06-10T15:23:15Z",
"updated_at": "2026-06-10T15:23:16Z",
"author_association": "NONE"
},
"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:23:16Z",
"closed_at": null,
"merged_at": null,
"merge_commit_sha": "512f1df41eecc7aa2e870a75fe46255f7b4d042d",
"assignees": [],
"requested_reviewers": [],
"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/75f315eee0ba014702a1653bf02eeab3fb42378d",
"head": {
"label": "darkmatter:refactor/arch-review-deepening",
"ref": "refactor/arch-review-deepening",
"sha": "75f315eee0ba014702a1653bf02eeab3fb42378d",
"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:18:41Z",
"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:18:41Z",
"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/75f315eee0ba014702a1653bf02eeab3fb42378d"
}
},
"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:18:41Z",
"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": "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
},
"installation": {
"id": 131074261,
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMxMDc0MjYx"
}
}