@i4ctime/q-ring 0.9.8 → 0.11.0

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
@@ -626,9 +626,23 @@ qring agent --once
626
626
 
627
627
  ### Quantum Status Dashboard — Live Monitoring
628
628
 
629
- Launch a real-time dashboard in your browser that visualizes every quantum subsystem at a glance: health summary, decay timers, superposition states, entanglement pairs, active tunnels, anomaly alerts, audit log, and environment detection.
629
+ Launch a real-time dashboard in your browser that turns the entire quantum subsystem into one glanceable page. The dashboard is a single self-contained HTML page served locally — no dependencies, no cloud, no config — and streams updates every 5 seconds via Server-Sent Events while preserving search input and scroll position across ticks.
630
630
 
631
- The dashboard is a self-contained HTML page served locally. Data streams in via Server-Sent Events and updates every 5 seconds — no dependencies, no cloud, no config.
631
+ What you get:
632
+
633
+ - **KPI strip** — total secrets, detected environment, protected count, active approvals, hooks, 24-hour reads, and live anomaly count.
634
+ - **Health summary** — donut chart of healthy / stale / expired / no-decay secrets plus per-scope counts (global / project / team / org).
635
+ - **Environment** — wavefunction collapse details: detected env, source, branch, and any project context.
636
+ - **Manifest** — `.q-ring.json` summary with declared / required / missing / expired / stale keys.
637
+ - **Policy** — at-a-glance view of MCP, exec, and secret policies (allow/deny tools, deny keys/tags, allow/deny commands, approval & rotation requirements).
638
+ - **Secrets table** — searchable, sortable view of every secret (key, scope, env, type, decay, tags, last read), with quick chips for `expired`, `stale`, and `protected` filters. Press `/` to focus the search box.
639
+ - **Quantum cards** — decay timers, superposition states, entanglement pairs, and active quantum tunnels.
640
+ - **Approvals & hooks** — live list of valid (and tampered) approval grants and every registered hook with its match summary.
641
+ - **Agent memory** — count of encrypted memory keys persisted at `~/.config/q-ring/agent-memory.enc`.
642
+ - **Anomaly alerts** — burst reads, off-hours access, tampered audit chain, and other suspicious patterns.
643
+ - **Audit log (24h)** — filterable feed with action chips (`read`/`write`/`delete`/`export`), source chips (`cli`/`mcp`/`hook`/`agent`), and a free-text filter.
644
+
645
+ Top-bar controls let you **pause** SSE updates (handy while reading the audit feed), **refresh** on demand, or jump to the raw JSON snapshot at `/api/status`. Keyboard shortcuts: `/` focus secrets search · `P` pause · `R` refresh.
632
646
 
633
647
  ```bash
634
648
  # Open the dashboard (auto-launches your browser)
@@ -727,7 +741,7 @@ q-ring includes a full MCP server with 44 tools for AI agent integration.
727
741
  | `verify_audit_chain` | Verify tamper-evident hash chain integrity |
728
742
  | `export_audit` | Export audit events in jsonl, json, or csv format |
729
743
  | `health_check` | Full health report |
730
- | `status_dashboard` | Launch the quantum status dashboard via MCP |
744
+ | `status_dashboard` | Launch the quantum status dashboard (SSE) — live KPIs, health, secrets table, manifest, policy, approvals, hooks, agent memory, anomalies, and audit feed |
731
745
  | `agent_scan` | Run autonomous agent scan |
732
746
 
733
747
  ### Governance & Policy Tools
@@ -881,6 +895,13 @@ Optional per-project configuration:
881
895
  - **`validationUrl`** configures the generic HTTP provider's endpoint for custom validation
882
896
  - **`policy`** defines governance rules for MCP tool gating, key access restrictions, exec allowlists, and secret lifecycle requirements
883
897
 
898
+ ## Contributing
899
+
900
+ - Run **`pnpm run lint`**, **`pnpm run typecheck`**, and **`pnpm run test:ci`** before opening a PR.
901
+ - Tests or sandboxes can point the audit log elsewhere with **`QRING_AUDIT_DIR`** (directory is created if missing); default is `~/.config/q-ring/audit.jsonl`.
902
+ - Optional local pre-commit: **`qring hook:install`** (uses this package’s `precommit` hook when `qring` is on your `PATH`).
903
+ - After changing the Cursor plugin under **`cursor-plugin/`**, run **`pnpm run plugin:sync`** to copy it to `~/.cursor/plugins/local/my-plugin` (or pass a custom path). See also [docs/cli-mcp-parity.md](docs/cli-mcp-parity.md).
904
+
884
905
  ## 📜 License
885
906
 
886
907
  [AGPL-3.0](LICENSE) - Free to use, modify, and share. Any derivative work or hosted service must release its source code under the same license.