- Swift 41.5%
- Assembly 12.2%
- C 9%
- Shell 8.1%
- C++ 8%
- Other 20.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Build: Web / Build (Web) (push) Successful in 42s
Check: Redmine / Check (Redmine conditional writes) (push) Successful in 36s
Check: GoAlert / Check (GoAlert effective configuration and native fixture) (push) Successful in 47s
Namespace: Build Images / Refresh Linux runner image (push) Successful in 53s
Build: Apple / Build (iOS) (push) Successful in 28s
Check: Workflows / Check (CI performance contracts) (push) Successful in 43s
Build: Snap / Build (Snap amd64) (push) Successful in 1m36s
Build: Android / Build (Android) (push) Successful in 1m15s
Namespace: Build Images / Refresh macOS Nix snapshot application (push) Successful in 2m6s
Release: Signing Preflight / Release (Signing Preflight) (push) Successful in 1m22s
Check: Agent Dispatcher / Check (Dispatcher Bazel integration) (push) Successful in 2m13s
Build: Snap / Build (Snap arm64) (push) Successful in 3m12s
Build: Linux / Build (Linux x86_64) (push) Successful in 3m43s
Build: Windows / Build (Windows) (push) Successful in 3m37s
Namespace: Build Images / Refresh Flatpak image (amd64) (push) Successful in 5m16s
Namespace: Build Images / Refresh Flatpak image (arm64) (push) Successful in 7m15s
Deploy: Web / Deploy (Web) (push) Successful in 13m56s
Build: Apple / Build (visionOS) (push) Successful in 29s
Build: Linux / Build (keystore-forge x86_64) (push) Has been skipped
Deploy: API / Deploy (API) (push) Successful in 4m51s
Check: Office runtime / Check (Office native transport) (push) Successful in 1m22s
Build: Apple / Build (macOS) (push) Successful in 1m13s
Build: Apple / Classify (Apple inputs) (pull_request) Successful in 19s
Check: MCP Hub / Check (MCP Hub bun suite) (pull_request) Successful in 26s
Build: Web / Build (Web) (pull_request) Successful in 45s
Check: Workflows / Check (deploy-impact classifier) (pull_request) Successful in 7s
Build: KaiOS / Build (KaiOS) (pull_request) Successful in 34s
Check: GoAlert / Check (GoAlert effective configuration and native fixture) (pull_request) Successful in 45s
Check: NSC Dispatch Boundary / Check (Private dispatch and reviewed runner profiles) (pull_request) Successful in 49s
Check: Redmine / Check (Redmine conditional writes) (pull_request) Successful in 27s
Check: Workflows / Check (CI performance contracts) (pull_request) Successful in 43s
Build: Apple / Check (SwiftLint) (pull_request) Successful in 37s
Check: Office runtime / Check (Office native transport) (pull_request) Successful in 1m18s
Check: API / Check (API crate) (pull_request) Successful in 1m40s
key.store/review-policy Tier 2: approved by manager, infra, devex, security-agent
Check: Agent Dispatcher / Check (Dispatcher Bazel integration) (pull_request) Successful in 1m46s
Build: Snap / Build (Snap amd64) (pull_request) Successful in 1m47s
Build: Snap / Build (Snap arm64) (pull_request) Successful in 3m31s
Check: Workflows / Check (Workflow YAML) (pull_request) Successful in 24s
Build: Android / Build (Android) (pull_request) Successful in 2m4s
Build: Linux / Build (Linux x86_64) (pull_request) Successful in 3m54s
Build: Windows / Build (Windows) (pull_request) Successful in 3m7s
Build: Linux / Build (keystore-forge x86_64) (pull_request) Has been skipped
Build: Apple / Build (iOS) (pull_request) Successful in 2m53s
Build: Apple / Build (macOS) (pull_request) Successful in 4m24s
Build: Apple / Build (visionOS) (pull_request) Successful in 3m6s
key.store/merge-queue merged by the key.store merge queue
Deploy: Forge Host / Deploy (Forge Host) (push) Has been skipped
Deploy: Forge Host / Deploy (HQ Host) (push) Has been skipped
Check: API / Check (API crate) (push) Successful in 5s
Namespace: Build Images / Refresh macOS runner lane (push) Successful in 5s
Release: If Needed / Check (Release Needed) (push) Successful in 12s
Build: Apple / Classify (Apple inputs) (push) Successful in 15s
Deploy: API / Evaluate deploy impact (push) Successful in 8s
Deploy: Web / Evaluate deploy impact (push) Successful in 13s
Check: MCP Hub / Check (MCP Hub bun suite) (push) Successful in 15s
Check: Workflows / Check (deploy-impact classifier) (push) Successful in 13s
Runner: Warm Lane Caches / Warm (linux-medium) (push) Successful in 17s
Build: KaiOS / Build (KaiOS) (push) Successful in 24s
Build: Apple / Check (SwiftLint) (push) Successful in 12s
Runner: Warm Lane Caches / Warm (linux-small) (push) Successful in 12s
Check: NSC Dispatch Boundary / Check (Private dispatch and reviewed runner profiles) (push) Successful in 34s
Check: Workflows / Check (Workflow YAML) (push) Successful in 30s
Enable the dispatcher's review_request founder carve-out (dispatch PR 40). A founder review request was rerouted to the assistant, so the requested seat never got a steer, and the merge queue does not re-request a seat that is already requested. dispatch PR 39 stalled 36 hours this way. Pin dispatch_src and office_dispatch_source to 157b393, the merge of dispatch PR 40, which adds the carve-out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| .agents/plugins | ||
| .codex | ||
| .forgejo | ||
| Android | ||
| API | ||
| Apple | ||
| bazel | ||
| config | ||
| docs | ||
| evidence/issue-118 | ||
| evolution | ||
| finances | ||
| Firmware/Nordic/MDBT50Q-CX | ||
| fleet | ||
| forgejo | ||
| gradle | ||
| infra | ||
| Linux/App | ||
| nix | ||
| nixos | ||
| notes | ||
| ops/namespace | ||
| org | ||
| Packages | ||
| patches | ||
| plugins/key-store-forge-control-plane | ||
| prompts | ||
| Protos | ||
| records | ||
| Redis | ||
| Scripts | ||
| secrets | ||
| services | ||
| skills | ||
| store-metadata | ||
| ThirdParty | ||
| Tools/LibraryMockSnapshot/Sources/LibraryMockSnapshot | ||
| Web | ||
| Windows/App | ||
| .bazelignore | ||
| .bazelrc | ||
| .bazelversion | ||
| .editorconfig | ||
| .envrc | ||
| .git_allowed_signers | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| .lfsconfig | ||
| .swiftlint.yml | ||
| AGENTS.md | ||
| biome.json | ||
| BUILD.bazel | ||
| build.gradle.kts | ||
| bun.lock | ||
| bunfig.toml | ||
| CODEOWNERS | ||
| CONSTITUTION.md | ||
| CONTRIBUTORS.md | ||
| contributors.nix | ||
| flake.lock | ||
| flake.nix | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| Makefile | ||
| MODULE.bazel | ||
| MODULE.bazel.lock | ||
| NOTICE | ||
| package.json | ||
| README.md | ||
| secrets.nix | ||
| SECURITY.md | ||
| settings.gradle.kts | ||
key.store
key.store is an autonomous, open-source password manager that treats its codebase, build farm, and infrastructure as a single sovereign kernel. The long-term goal—spelled out in the recorded genesis message and transcribed in genesis.txt—is to let a self-hosted forge nurture a “crystalline artifact”: a Swift-based password manager with transparent provenance, reproducible builds, and agents that can evolve it safely. The intent is codified in the key.store constitution; every plan or proposal should trace back to it.
Genesis at a Glance
- Own the forge. We use Nix to define everything from the application stack to the forge OS image so the project can build and host itself on Hetzner (or any sovereign compute with dispatchable runners).
- Treat infrastructure as part of the artifact. Secrets, DNS, TLS, runners, and cron-based automation live in-repo so the forge can bootstrap, repair, and extend itself.
- Grow via agents, not commits alone. Scheduled jobs can spawn agents that open PRs, review each other’s work, and keep the system coherent without depending on centralized SaaS for CI/CD.
- Capture context for future models. Decisions, prompts, and architecture notes must live beside the code so the next generation of agents (and humans) can read them.
If you want the full stream-of-consciousness origin story, start with genesis.m4a (22 minutes) or the generated captions in genesis.srt.
Mission
- Deliver a production-quality, cross-platform password manager written in Swift, with first-class Apple, Web, and backend experiences.
- Maintain a self-hosted forge that can provision its own infrastructure, secrets, and runners via Nix, Hetzner, and Cloudflare DNS automation.
- Iterate safely by letting autonomous agents do the rote work while humans (or higher-level agents) set direction through the key.store evolution process.
System Pillars
- Crystalline Artifact: The password manager plus every prompt, script, and policy required to rebuild it. Nothing critical should live outside the repository (or its declared state stores).
- Sovereign Kernel: A minimal pool of trusted machines that can bootstrap new services, rotate credentials, and recover after failure using only the contents of this repo.
- Autonomous Evolution: Cron jobs and runners schedule agents that implement and review key.store evolution proposals, ensuring growth is intentional rather than chaotic.
Repository Tour
API/— Rust services and workers that back the product experience.Apple/— Native Swift code, likely the home of the flagship client.Web/— Web front-end assets and tooling.nixos/— Hosts, modules, and images used to spin up the forge and related services.Packages/&Scripts/— Shared tooling, Swift packages, agent helpers, and secret-management scripts.Makefile— Shortcuts fornix build,nix develop, and agenix-backed secret handling.
Bootstrapping the Stalwart directory
Stalwart expects a SQL directory with accounts, emails, and group_members tables (the schema in tests/src/directory/mod.rs mirrors what we use). Two helper scripts keep those tables aligned with the constitution:
# emit bootstrap.sql based on contributors.nix
python Scripts/generate-stalwart-sql.py > bootstrap.sql
# or stream it straight into psql (DATABASE_URL is optional if you source config/databases/stalwart-socket.env)
nix develop .#tools --command Scripts/apply-stalwart-sql.sh bootstrap.sql
# shorthand: auto-generate SQL and run it
nix develop .#tools --command Scripts/apply-stalwart-sql.sh
apply-stalwart-sql.sh reads config/databases/stalwart-socket.env (or respects DATABASE_URL/STALWART_DATABASE_URL) and runs the SQL with psql -v ON_ERROR_STOP=1, so rerunning it is idempotent. The generator now reads each secrets/identity/<slug>-password.age, hashes it (SHA-512 crypt), and stores the result in accounts.secret, so Stalwart’s internal directory always mirrors the canonical password list without ever writing plaintext into SQL output (run it on a host whose Age identity is in forgeAutomation).
Bootstrapping Forgejo accounts
Forgejo uses the same identity hierarchy for admin scope (governance), CI/service accounts (forgeAutomation), etc. The companion scripts follow the same pattern:
# review the generated user/email upserts
python Scripts/generate-forgejo-sql.py > forgejo.sql
# or stream directly (DATABASE_URL/forge secret is auto-resolved)
nix develop .#tools --command Scripts/apply-forgejo-sql.sh forgejo.sql
# shorthand auto-generate + apply
nix develop .#tools --command Scripts/apply-forgejo-sql.sh
The SQL upserts "user" rows for every contributor (governance identities become admins) and seeds the email_address table so Forgejo trusts their commit addresses. SSH keys still live in config/git-identities/ and are managed via Scripts/git-identity.sh per KSE-0001.
Getting Started
# drop into the reproducible dev shell
nix develop
# list or edit encrypted secrets (requires access)
make secrets-list
make secret name=cloudflare/api-token
# build everything described by flake.nix
nix build
Agents typically execute the same flows inside runners; humans can follow the steps above to reproduce their environment locally.
Commit Signing
All commits must be SSH-signed per KSE-0001. Use Scripts/git-identity.sh list to see the available identities, Scripts/git-identity.sh use <identity> (for example, agent) to configure your local git settings, and Scripts/git-identity.sh generate <identity> if you are onboarding a new signer. Public keys live in config/git-identities/, encrypted private keys now live under secrets/identity/<identity>-ssh.age, and .git_allowed_signers is regenerated by Scripts/git-identity.sh refresh. For OpenPGP/WKD publishing of identity@key.store addresses, follow docs/pgp-wkd.md and the helper script Scripts/wkd-publish.sh; the .well-known payload ships as the nix build .#wkd derivation and is bundled into the static web assets served by the API frontend.
The canonical roster (with scopes, hardware key notes, and Age recipients) lives in contributors.nix; run make contributors after editing it so CONTRIBUTORS.md and downstream tooling stay in sync.
SSH defaults in the dev shell are now repo-local (config/ssh/config + .home/ssh/*) so scripts and Git do not depend on user-global ~/.ssh/config. See docs/ssh-devshell.md for the 1Password-agent flow and Codex shell behavior.
Run Scripts/generate-allowed-signers.sh whenever you add/remove identities; review the resulting .git_allowed_signers diff before committing so the signer roster always matches config/git-identities/*.pub and the WKD tree.
Scripts/git-identity.sh generate --scope <tier> <identity> now writes three assets: the SSH key (secrets/identity/<identity>-ssh.age), an Age-encrypted OpenPGP backup (secrets/identity/<identity>-openpgp.age via Scripts/export-openpgp-secret.sh), and an encrypted SMTP password (secrets/forwardemail/<identity>-smtp.age via Scripts/forwardemail-alias.sh). Use Scripts/export-openpgp-secret.sh and Scripts/forwardemail-alias.sh manually whenever you rotate subkeys so the bundles stay current.
Universal plaintext login/password pairs (used by Stalwart, Forgejo OIDC bootstrap, and Redmine bootstrap) live in secrets/identity/<identity>-password.age. Generate or rotate them with make identity-passwords (optionally slug=<identity> or ROTATE=1); the helper script shells out to openssl rand -base64 32 so every identity gets a strong random secret without manual copy/paste.
See services/mail/stalwart-auth.md for the Stalwart-side OIDC runbook (client registration script, secret layout, and Forgejo wiring details).
Governance & Evolution
key.store uses a lightweight process inspired by Swift Evolution to capture architectural intent, major feature work, and agent-safe instructions. Every substantive change should be anchored by a proposal (KSE-XXXX) described in evolution/README.md and must cite the sections of the constitution it advances or depends on. Proposals live in evolution/proposals/ and act as durable context for future contributors.
Resources
- key.store constitution — binding statement of intent for humans and agents.
- Android Google Play upload runbook — upload-key export flow (
pepk.jar+ Play encryption key). - genesis.m4a — the original recording.
- genesis.txt — automated transcript (small.en Whisper model).
- genesis.srt — time-coded captions for quick scanning.
- forgejo/app.ini — hardened Forgejo defaults (signed-commit enforcement, branch protections) while keeping repos public.
When you update any of these resources (for example, regenerating the transcript with a newer model), note the change in the commit message so downstream agents know which context to trust.