@i4ctime/q-ring 0.11.5 → 0.11.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -663,95 +663,95 @@ q-ring includes a full MCP server with 44 tools for AI agent integration.
663
663
 
664
664
  | Tool | Description |
665
665
  |------|-------------|
666
- | `get_secret` | Retrieve with superposition collapse + observer logging |
667
- | `list_secrets` | List keys with quantum metadata, filterable by tag/expiry/pattern |
668
- | `set_secret` | Store with optional TTL, env state, tags, rotation format |
669
- | `delete_secret` | Remove a secret |
670
- | `has_secret` | Boolean check (respects decay) |
671
- | `export_secrets` | Export as .env/JSON with optional key and tag filters |
672
- | `import_dotenv` | Parse and import secrets from .env content |
673
- | `check_project` | Validate project secrets against `.q-ring.json` manifest |
674
- | `env_generate` | Generate .env content from the project manifest |
666
+ | `get_secret` | Read a secret value (collapses superposition, audits the read) |
667
+ | `list_secrets` | List keys + metadata in scope (values never exposed); filter by tag, expiry, glob |
668
+ | `set_secret` | Create or overwrite a single secret with optional TTL, per-env state, tags, rotation format |
669
+ | `delete_secret` | Permanently remove a secret value (not undoable from q-ring) |
670
+ | `has_secret` | Boolean existence check that respects decay (no audit read) |
671
+ | `export_secrets` | Render multiple secrets as `.env` or JSON for one-off export |
672
+ | `import_dotenv` | Parse `.env` text and bulk-store every key/value pair |
673
+ | `check_project` | Compare `.q-ring.json` manifest against the keyring for missing/expired/stale keys |
674
+ | `env_generate` | Render a complete `.env` body from the project manifest, with warnings for gaps |
675
675
 
676
676
  ### Quantum Tools
677
677
 
678
678
  | Tool | Description |
679
679
  |------|-------------|
680
- | `inspect_secret` | Full quantum state (states, decay, entanglement, access count) |
681
- | `detect_environment` | Wavefunction collapse — detect current env context |
682
- | `generate_secret` | Quantum noise — generate and optionally save secrets |
683
- | `entangle_secrets` | Link two secrets for synchronized rotation |
684
- | `disentangle_secrets` | Remove entanglement between two secrets |
680
+ | `inspect_secret` | Show metadata for one key (states, decay, entanglement, access count) without revealing the value |
681
+ | `detect_environment` | Resolve which env slug should drive superposition collapse for the current context |
682
+ | `generate_secret` | Generate a CSPRNG-backed value in a chosen format and optionally store it |
683
+ | `entangle_secrets` | Link two keys so future writes/rotations propagate the same value |
684
+ | `disentangle_secrets` | Break the sync link between two keys (does not delete values) |
685
685
 
686
686
  ### Tunneling Tools
687
687
 
688
688
  | Tool | Description |
689
689
  |------|-------------|
690
- | `tunnel_create` | Create ephemeral in-memory secret |
691
- | `tunnel_read` | Read (may self-destruct) |
692
- | `tunnel_list` | List active tunnels |
693
- | `tunnel_destroy` | Immediately destroy |
690
+ | `tunnel_create` | Stash a value in process memory and return an opaque ID (never touches disk) |
691
+ | `tunnel_read` | Fetch a tunneled value by ID — may self-destruct on read |
692
+ | `tunnel_list` | Enumerate active tunnels with remaining read budget and TTL (IDs only) |
693
+ | `tunnel_destroy` | Immediately remove a tunnel from memory before its TTL/reads run out |
694
694
 
695
695
  ### Teleportation Tools
696
696
 
697
697
  | Tool | Description |
698
698
  |------|-------------|
699
- | `teleport_pack` | Encrypt secrets into a portable bundle |
700
- | `teleport_unpack` | Decrypt and import a bundle |
699
+ | `teleport_pack` | Encrypt selected secrets into a passphrase-protected AES-256-GCM bundle |
700
+ | `teleport_unpack` | Decrypt a teleport bundle and import each secret (with optional dry-run) |
701
701
 
702
702
  ### Validation Tools
703
703
 
704
704
  | Tool | Description |
705
705
  |------|-------------|
706
- | `validate_secret` | Test if a secret is valid with its target service (OpenAI, Stripe, GitHub, etc.) |
707
- | `list_providers` | List all available validation providers |
706
+ | `validate_secret` | Hit the upstream service (OpenAI/Stripe/GitHub/AWS/HTTP) to confirm a single key is still live |
707
+ | `list_providers` | Enumerate built-in validation providers and their auto-detect prefixes |
708
708
 
709
709
  ### Hook Tools
710
710
 
711
711
  | Tool | Description |
712
712
  |------|-------------|
713
- | `register_hook` | Register a shell/HTTP/signal callback on secret changes |
714
- | `list_hooks` | List all registered hooks with match criteria and status |
715
- | `remove_hook` | Remove a registered hook by ID |
713
+ | `register_hook` | Register a shell/HTTP/signal side-effect that fires on write/delete/rotate |
714
+ | `list_hooks` | Show every registered hook with match criteria, type, and enabled flag |
715
+ | `remove_hook` | Detach a single hook by ID without touching any secrets |
716
716
 
717
717
  ### Execution & Scanning Tools
718
718
 
719
719
  | Tool | Description |
720
720
  |------|-------------|
721
- | `exec_with_secrets` | Run a shell command securely with secrets injected, auto-redacted output, and exec profile enforcement |
722
- | `scan_codebase_for_secrets` | Scan a directory for hardcoded secrets using regex heuristics and entropy analysis |
723
- | `lint_files` | Lint specific files for hardcoded secrets with optional auto-fix |
721
+ | `exec_with_secrets` | Run a child command with secrets injected as env vars and any leaked values redacted from output |
722
+ | `scan_codebase_for_secrets` | Walk a directory tree and flag hardcoded secrets via regex + entropy heuristics |
723
+ | `lint_files` | Inspect a specific file list for hardcoded secrets with optional auto-fix to `process.env.KEY` |
724
724
 
725
725
  ### AI Agent Tools
726
726
 
727
727
  | Tool | Description |
728
728
  |------|-------------|
729
- | `get_project_context` | Safe, redacted overview of project secrets, environment, manifest, and activity |
730
- | `agent_remember` | Store a key-value pair in encrypted agent memory (persists across sessions) |
731
- | `agent_recall` | Retrieve from agent memory, or list all stored keys |
732
- | `agent_forget` | Delete a key from agent memory |
733
- | `analyze_secrets` | Usage analytics: most accessed, stale, unused, and rotation recommendations |
729
+ | `get_project_context` | Single redacted snapshot of secrets, env, manifest, hooks, and recent audit activity |
730
+ | `agent_remember` | Persist a non-secret note in encrypted agent memory across sessions |
731
+ | `agent_recall` | Read a memory value, or list every stored key when no key is supplied |
732
+ | `agent_forget` | Permanently delete a key from agent memory |
733
+ | `analyze_secrets` | Usage profile: most-accessed, stale, never-accessed, no-rotation candidates |
734
734
 
735
735
  ### Observer & Health Tools
736
736
 
737
737
  | Tool | Description |
738
738
  |------|-------------|
739
- | `audit_log` | Query access history |
740
- | `detect_anomalies` | Scan for unusual access patterns |
741
- | `verify_audit_chain` | Verify tamper-evident hash chain integrity |
742
- | `export_audit` | Export audit events in jsonl, json, or csv format |
743
- | `health_check` | Full health report |
744
- | `status_dashboard` | Launch the quantum status dashboard (SSE) — live KPIs, health, secrets table, manifest, policy, approvals, hooks, agent memory, anomalies, and audit feed |
745
- | `agent_scan` | Run autonomous agent scan |
739
+ | `audit_log` | Query the tamper-evident audit log filtered by key, action, and limit |
740
+ | `detect_anomalies` | Surface burst-read and off-hours findings from audit history |
741
+ | `verify_audit_chain` | Recompute the audit hash chain and report the first break point if tampered |
742
+ | `export_audit` | Export audit events as jsonl, json, or csv for archival/SIEM |
743
+ | `health_check` | Read-only scope sweep: decay/stale/expired counts plus current anomalies |
744
+ | `status_dashboard` | Start a local SSE dashboard with live KPIs, secrets, hooks, and audit feed |
745
+ | `agent_scan` | Multi-project health pass with optional `autoRotate` for expired secrets |
746
746
 
747
747
  ### Governance & Policy Tools
748
748
 
749
749
  | Tool | Description |
750
750
  |------|-------------|
751
- | `check_policy` | Check if an action (tool use, key read, exec) is allowed by project policy |
752
- | `get_policy_summary` | Get a summary of the project's governance policy configuration |
753
- | `rotate_secret` | Attempt issuer-native rotation via detected or specified provider |
754
- | `ci_validate_secrets` | CI-oriented batch validation of all secrets with structured pass/fail report |
751
+ | `check_policy` | Dry-run a tool/key/exec action against `.q-ring.json` policy without performing it |
752
+ | `get_policy_summary` | High-level overview of policy rule counts and approval/rotation requirements |
753
+ | `rotate_secret` | Ask the upstream provider to issue a new credential and store it back in the keyring |
754
+ | `ci_validate_secrets` | Batch-validate every accessible secret in scope and return a structured pass/fail report |
755
755
 
756
756
  ### Cursor / Kiro Configuration
757
757