feat(mvp): working secrets-engine CLI for the whynot-design npm publish lane
Implements SECRETS-WP-0002 end to end as a uv-managed Python package: - catalog: non-secret lane registry + strict validator (build/test/prod) - stage roles + OpenBao ACL policies; guards refuse wildcards, sys/, identity/, admin names, and cross-stage paths before any backend call - plan/apply: dry-run-first, idempotent policy + approle apply, decision-gated - decisions: State Hub lookup with local-fixture fallback; non-secret evidence to JSONL + hub progress, scrubbed of any value - provision/verify: mode-0600 file import + generated test values; positive/ negative checks that never print the value - exec delivery: `exec --catalog ... -- npm publish` injects the token via a temp .npmrc for the child only, cleaned up on exit/failure/interrupt - ops-warden routing contract + hardening backlog docs - 34 tests incl. live OpenBao integration; scripts/demo-e2e.sh runs the full chain against a throwaway bao dev server Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
58c24cff53
commit
a852d3f1ff
47 changed files with 3743 additions and 122 deletions
46
SCOPE.md
46
SCOPE.md
|
|
@ -2,30 +2,46 @@
|
|||
|
||||
> Lightweight boundary for agents and contributors.
|
||||
|
||||
---
|
||||
|
||||
## One-liner
|
||||
|
||||
Git repository template to bootstrap coulomb projects.
|
||||
|
||||
---
|
||||
secrets-engine is the workflow and automation interface for approved secret
|
||||
custody, delivery, and lifecycle work across build, test, and production, with
|
||||
OpenBao as the initial enforcement backend.
|
||||
|
||||
## Core Idea
|
||||
|
||||
repo-seed is the canonical template for new repos: agent instructions, registry scaffold, and onboarding conventions.
|
||||
|
||||
---
|
||||
OpenBao is the vault. secrets-engine is the day-to-day interaction layer that
|
||||
connects cataloged secret lanes, approval decisions, stage-specific OpenBao
|
||||
roles, safe delivery modes, and non-secret evidence.
|
||||
|
||||
## In Scope
|
||||
|
||||
- Template files for new repo bootstrap
|
||||
- Documentation for statehub_register usage
|
||||
- Registry capability entry for template capability
|
||||
|
||||
---
|
||||
- Non-secret catalog of secret lanes, grants, consumers, stages, and delivery
|
||||
modes.
|
||||
- Decision-aware planning and apply flows for OpenBao policies, auth roles, and
|
||||
metadata.
|
||||
- Build, test, and production privilege separation.
|
||||
- Safe provisioning, verification, rotation, revocation, and deactivation
|
||||
workflows.
|
||||
- Exec-time delivery to operators, agents, CI jobs, workloads, and ops-bridge
|
||||
tasks without printing raw values.
|
||||
- ops-warden routing contract for non-SSH credentials.
|
||||
- State Hub non-secret evidence and progress integration.
|
||||
- Canonicalization of terms with info-tech-canon.
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- Application runtime code
|
||||
- Owning downstream project implementations
|
||||
- Replacing OpenBao as custody, policy, lease, or audit backend.
|
||||
- Replacing flex-auth authorization decisions.
|
||||
- Replacing user-engine/key-cape identity and claim lifecycle.
|
||||
- Issuing SSH certificates, which remains ops-warden responsibility.
|
||||
- Owning tunnels or remote transport, which remains ops-bridge responsibility.
|
||||
- Storing raw secret values in this repo, State Hub, chat, prompts, or logs.
|
||||
- Broad platform-root or platform-admin automation as a steady-state model.
|
||||
|
||||
## Current State
|
||||
|
||||
The repo is in bootstrap. Seed intent, PRD, boundary documentation, and an MVP
|
||||
workplan are present. The first worker should complete State Hub bootstrap,
|
||||
validate the generated repo identity files, then begin the whynot-design npm
|
||||
publish token pilot through the `SECRETS-WP-0002` workplan.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue