Requirements
Functional Requirements
| Feature | Summary | Intent | Status |
|---|---|---|---|
| safekeys/audit-logging | Every resolution is recorded — who, what scope, which jti, which host — without | A system that promises "the model never sees secrets" must be able to prove what | built |
| safekeys/control-plane-api | The Control Plane API is the authority service: it allocates object ids, issues | Tokens need an issuing authority, policy needs a central place to live and chang | built |
| safekeys/policy-engine | The policy engine decides which sidecar, principal, and process may resolve whic | A valid token proves authority was once granted; it does not prove the request i | built |
| safekeys/deployment-packaging | Reproducible, hardened packaging so Safekeys can run on a real host: container i | The software MVP works end to end, but "works on the author's laptop" and "safe | built |
| safekeys/distribution | Name reservation and release pipeline for the 0.1.0 publish: npm under @smithgra | The MVP is real but unnameable: the npm org, PyPI names, Docker org, and crates. | built |
| safekeys/docs-hosting | Publish the generated specification docs to Cloudflare Pages at docs.safekeys.ai | The specs are the source of truth, but until they are published they only exist | built |
| safekeys/hardware-root | Phase 1 hardening moves the long-term key share out of ordinary RAM and into a h | In the software-only MVP the promise holds architecturally, but a rooted host ca | planned |
| safekeys/threshold-crypto | Phase 2 hardening splits key knowledge between the secure element and the author | A hardware root protects a key from a compromised host, but the device itself re | planned |
| safekeys/integration-mcp-server | The Safekeys MCP server exposes secret tooling to every MCP-capable agent runtim | Every agent framework integration is a thin adapter on the same contract, so bui | built |
| safekeys/integration-python-sdk | The Python Agent SDK is a token-only client for teams building agents, shipping | Agent developers will do whatever is easiest, so the safest path has to be the e | built |
| safekeys/secret-creation | Creating a secret is the one flow that touches plaintext, and it deliberately by | If creation flowed through model context — "here is the API key, please store it | built |
| safekeys/secret-transport | Transport is how a secret gets from where it was created to where it is used — a | Agentic systems route credentials through many hops, and each hop is traditional | built |
| safekeys/token-revocation | Revocation invalidates a capability token immediately, without waiting for its T | Short TTLs alone leave an unacceptable window when a token is known to be leaked | built |
| safekeys/capability-token | The capability token is the only secret-bearing artefact an agent reasons about. | Agents must be able to define, create, transport, and request use of secrets wit | built |
| safekeys/encrypted-folder | A Safekeys folder is the transport unit: an ordinary directory (or object prefix | Secrets need to move the way artefacts move — through git, object stores, artefa | built |
| safekeys/envelope-encryption | Envelope encryption separates the key that protects a secret from the key that p | Rotating or revoking a master key must not require re-encrypting every secret ev | built |
| safekeys/dev-key-custody | Development-stack key custody: no key material the coding agent's OS user can re | The dev stack currently stores the KEK in a 0600 file owned by the same OS user | built |
| safekeys/exec-wrapper | safekeys exec --token … -- <command> runs a command with secrets injected into | The cleanest "the model never sees plaintext" path is the one where the secret n | built |
| safekeys/output-control | Output control for model-facing resolution: the sidecar redacts the resolved val | resolve_for_tool runs a model-chosen command and relays its output to the model, | built |
| safekeys/secret-injection | Injection is how a resolved secret reaches a consumer without passing through mo | A resolved secret is useless unless the process that needs it can actually get i | built |
| safekeys/sidecar-resolution | Token resolution is the act that turns a capability token into a plaintext value | This is the enforcement point for the whole product. Every other component can b | built |
Non-Functional Requirements
| Category | Target | Description |
|---|---|---|
| Performance | Resolution and injection under 50ms p95 locally, excluding key-store unwrap latency. | The sidecar sits on the hot path for tool calls, so resolution must stay cheap. |
| Scalability | Single sidecar per decrypting environment; control plane scales horizontally behind Postgres. | — |
| Security | Compromise of the model, the agent sandbox, or the sidecar must not yield the long-term key. | Architectural in the MVP; cryptographic plus hardware in later phases. |
| Reliability | Deny-by-default when the key store or control plane is unreachable. | A failed resolution must never fall back to plaintext or a cached value. |
| Maintainability | Agent-facing API unchanged across software, hardware, and threshold phases. | — |