Payload
{
"ref": "refs/heads/main",
"before": "e58f9b3fe7e84cce32f74220836e8bab9dc8e61a",
"after": "ba602f44c2f7f65dc175a32d59e0317986c8d73f",
"repository": {
"id": 1167453127,
"node_id": "R_kgDORZXrxw",
"name": "himitsu",
"full_name": "darkmatter/himitsu",
"private": false,
"owner": {
"name": "darkmatter",
"email": "hello@dm.sh",
"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": 1772100261,
"updated_at": "2026-06-08T22:31:58Z",
"pushed_at": 1781011041,
"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": 12642,
"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": 0,
"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": 0,
"watchers": 1,
"default_branch": "main",
"stargazers": 1,
"master_branch": "main",
"organization": "darkmatter",
"custom_properties": {}
},
"pusher": {
"name": "czxtm",
"email": "1325802+czxtm@users.noreply.github.com"
},
"forced": false,
"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"
},
"created": false,
"deleted": false,
"base_ref": null,
"compare": "https://github.com/darkmatter/himitsu/compare/e58f9b3fe7e8...ba602f44c2f7",
"commits": [
{
"id": "6858dad6b4b4508e8d51116ab5572d455aeeeac6",
"tree_id": "229ff8b788448e6cb598eee7d7100eba274a7f23",
"distinct": true,
"message": "refactor: deepen git/store/resolver behind GitAdapter, SecretStore, SecretResolver\n\n- GitAdapter trait (git/adapter.rs) + CliGitAdapter + InMemoryGitAdapter;\n git.rs -> git/mod.rs. Context gains git: Arc<dyn GitAdapter>;\n commit/push/pull_if_remote delegate through it for testability.\n- SecretStore struct (remote/store.rs) resolves recipients_path once at open().\n- SecretResolver (cli/resolver.rs) encapsulates ref->store->decrypt->decode;\n get_decoded + resolver_candidates_with_tags now thin wrappers.\n\nAll free fns retained for backward compat. No behavior change.\nGates: fmt clean, clippy clean, 661 lib + 148 integration.",
"timestamp": "2026-06-09T06:15:29-07:00",
"url": "https://github.com/darkmatter/himitsu/commit/6858dad6b4b4508e8d51116ab5572d455aeeeac6",
"author": {
"name": "Cooper Maruyama",
"email": "demo@himitsu.dev",
"date": "2026-06-09T05:54:12-07:00"
},
"committer": {
"name": "Cooper Maruyama",
"email": "demo@himitsu.dev",
"date": "2026-06-09T06:15:29-07:00"
},
"added": [
"rust/src/cli/resolver.rs",
"rust/src/git/adapter.rs",
"rust/src/git/cli_adapter.rs",
"rust/src/git/in_memory.rs",
"rust/src/git/mod.rs"
],
"removed": [
"rust/src/git.rs"
],
"modified": [
"rust/src/cli/codegen.rs",
"rust/src/cli/doctor.rs",
"rust/src/cli/get.rs",
"rust/src/cli/import.rs",
"rust/src/cli/init.rs",
"rust/src/cli/join.rs",
"rust/src/cli/mod.rs",
"rust/src/cli/recipient.rs",
"rust/src/cli/schema.rs",
"rust/src/cli/sync.rs",
"rust/src/remote/store.rs",
"rust/src/tui/app.rs",
"rust/src/tui/harness.rs",
"rust/src/tui/mod.rs",
"rust/src/tui/views/new_secret.rs",
"rust/src/tui/views/outputs.rs",
"rust/src/tui/views/recipient_add.rs",
"rust/src/tui/views/recipient_list.rs",
"rust/src/tui/views/remote_add.rs",
"rust/src/tui/views/search.rs",
"rust/src/tui/views/secret_viewer.rs"
]
},
{
"id": "23259605936350d45bf478a76125630422d9cd55",
"tree_id": "50745fbd23f3aa57eed876c84101c9d5e49aadcd",
"distinct": true,
"message": "refactor: extract IdentityResolver, group Context impl blocks\n\nPer architecture review, a full Context field-split is mostly churn\n(146 direct ctx.store reads). Instead deepen the one genuinely tangled\nmethod: load_identities() bridges the key cluster (provider+data_dir)\nand store cluster (store+recipients_path).\n\n- IdentityResolver (crypto/identity.rs) owns the key+store bridge with\n explicit deps; load_primary() + load_all().\n- Context::load_identity/load_identities now thin delegates.\n- Context inherent impl grouped into 3 labeled blocks: paths, identity,\n git/store mutation.\n- 2 new IdentityResolver unit tests.\n\nNo field split, no call-site churn. Gates: 663 lib + 148 integration.",
"timestamp": "2026-06-09T06:15:29-07:00",
"url": "https://github.com/darkmatter/himitsu/commit/23259605936350d45bf478a76125630422d9cd55",
"author": {
"name": "Cooper Maruyama",
"email": "demo@himitsu.dev",
"date": "2026-06-09T06:03:13-07:00"
},
"committer": {
"name": "Cooper Maruyama",
"email": "demo@himitsu.dev",
"date": "2026-06-09T06:15:29-07:00"
},
"added": [
"rust/src/crypto/identity.rs"
],
"removed": [],
"modified": [
"rust/src/cli/mod.rs",
"rust/src/crypto/mod.rs"
]
},
{
"id": "c1e750fc557a5a3e80eb950137225b48ecd08325",
"tree_id": "4b9b89b914569c0787b682a0ba3eb8a293042bce",
"distinct": true,
"message": "refactor: group HimitsuError variants by domain, drop dead variants\n\nPer architecture review, per-module error enums would be ~200-site churn\nwith no testability/dedup payoff (variants already typed via thiserror,\nand InvalidConfig/External/InvalidReference are cross-cutting). Kept the\nsingle CLI-boundary error type; did the high-value slice instead:\n\n- Group variants by domain (config, crypto, secrets, stores, output, io).\n- Remove dead variants NotInitialized + Index (zero construction sites).\n\nGates: fmt clean, clippy clean, 663 lib + 148 integration.",
"timestamp": "2026-06-09T06:15:29-07:00",
"url": "https://github.com/darkmatter/himitsu/commit/c1e750fc557a5a3e80eb950137225b48ecd08325",
"author": {
"name": "Cooper Maruyama",
"email": "demo@himitsu.dev",
"date": "2026-06-09T06:07:50-07:00"
},
"committer": {
"name": "Cooper Maruyama",
"email": "demo@himitsu.dev",
"date": "2026-06-09T06:15:29-07:00"
},
"added": [],
"removed": [],
"modified": [
"rust/src/error.rs"
]
},
{
"id": "ba602f44c2f7f65dc175a32d59e0317986c8d73f",
"tree_id": "83ffc15648c2c39a7db365ddd89ba16c3e97cbeb",
"distinct": true,
"message": "docs: add CONTEXT.md, sync README + demo.cast to outputs/tags surface\n\n- CONTEXT.md: domain + architecture vocabulary (Store, Remote, Secret,\n Recipient, Output, Selector, Reference, Identity) plus the deepened\n module seams (GitAdapter, SecretStore, SecretResolver).\n- README: envs->outputs/tags terminology sync; document read/write/\n context/migrate/check/keys/doctor/ci/prime commands.\n- demo.cast: regenerated against current release binary (1214 events).",
"timestamp": "2026-06-09T06:15:29-07:00",
"url": "https://github.com/darkmatter/himitsu/commit/ba602f44c2f7f65dc175a32d59e0317986c8d73f",
"author": {
"name": "Cooper Maruyama",
"email": "demo@himitsu.dev",
"date": "2026-06-09T06:13:05-07:00"
},
"committer": {
"name": "Cooper Maruyama",
"email": "demo@himitsu.dev",
"date": "2026-06-09T06:15:29-07:00"
},
"added": [
"CONTEXT.md"
],
"removed": [],
"modified": [
"README.md",
"demo/demo.cast"
]
}
],
"head_commit": {
"id": "ba602f44c2f7f65dc175a32d59e0317986c8d73f",
"tree_id": "83ffc15648c2c39a7db365ddd89ba16c3e97cbeb",
"distinct": true,
"message": "docs: add CONTEXT.md, sync README + demo.cast to outputs/tags surface\n\n- CONTEXT.md: domain + architecture vocabulary (Store, Remote, Secret,\n Recipient, Output, Selector, Reference, Identity) plus the deepened\n module seams (GitAdapter, SecretStore, SecretResolver).\n- README: envs->outputs/tags terminology sync; document read/write/\n context/migrate/check/keys/doctor/ci/prime commands.\n- demo.cast: regenerated against current release binary (1214 events).",
"timestamp": "2026-06-09T06:15:29-07:00",
"url": "https://github.com/darkmatter/himitsu/commit/ba602f44c2f7f65dc175a32d59e0317986c8d73f",
"author": {
"name": "Cooper Maruyama",
"email": "demo@himitsu.dev",
"date": "2026-06-09T06:13:05-07:00"
},
"committer": {
"name": "Cooper Maruyama",
"email": "demo@himitsu.dev",
"date": "2026-06-09T06:15:29-07:00"
},
"added": [
"CONTEXT.md"
],
"removed": [],
"modified": [
"README.md",
"demo/demo.cast"
]
}
}