@irfankabir002/gruff
v0.1.3
Published
Workspace cockpit + trust-routing overlay — GRID design system tokens, voice guide, 4-quadrant TUI, and actor-scoring layer over the MCP fleet.
Maintainers
Readme
🏰 Gruff — Cockpit & Trust-Routing
Workspace cockpit + trust-routing overlay — GRID design system tokens, voice guide, 4-quadrant TUI, and actor-scoring layer over the MCP fleet.
Quick Start
Requires Node ≥ 22. better-sqlite3 builds a native binding on install.
# One-shot
npx @irfankabir002/gruff@next
# Global install: puts `gruff` + `gruff-ingester` on PATH
npm install -g @irfankabir002/gruff@nextgruff # Launch 4-quadrant dashboard
gruff actors # Trust-scoring leaderboard
gruff init-automation # Register systemd user timerFrom Source
git clone --recurse-submodules https://github.com/caraxesthebloodwyrm02/gruff.git
cd gruff
npm install && npm run buildArchitecture
graph TD
subgraph "gruff (this repo)"
CLI["gruff CLI<br/>4-quadrant TUI"]
ING["gruff-ingester<br/>Trust scoring"]
DS["design-system/<br/>Visual tokens"]
SCH["schemas/<br/>JSON contracts"]
end
subgraph "CascadeProjects (submodule)"
MCP["MCP Server Fleet<br/>26 servers"]
ST["shared-types"]
GRID["GRID<br/>AI/ML orchestration"]
end
subgraph "Runtime Stores"
ECH["~/.echoes/<br/>Audit stream"]
GRF["~/.gruff/<br/>Trust SQLite"]
end
CLI --> MCP
ING -->|tails| ECH
ING -->|writes| GRF
CLI -->|reads| GRF
MCP --> ST
MCP --> GRIDDirectory Layout
| Path | Purpose |
|------|---------|
| src/ | TypeScript source — CLI + ingester |
| dist/ | Built output (generated) |
| schemas/ | JSON Schemas — exported by npm |
| templates/ | Voice guide templates |
| design-system/ | GRID visual tokens & palette (read-only) |
| scripts/ | Diagnostics & verification |
| planes/ | Symlink map — architectural plane view |
| bridges/ | Inter-system bridges (e.g., gruff ↔ echoes) |
| docs/ | Governance, architecture, onboarding |
| CascadeProjects/ | Git submodule → hogsmade monorepo |
Ecosystem Gates
| Gate | Status | Scope | |------|--------|-------| | Central Plaza | ✅ PASS | Universal entry point | | Trust Routing | ✅ PASS | Actor partition (School / Practice / Hold) | | Foundation | ✅ PASS | shared-types build sequence | | Execution | ✅ PASS | 6-stage gated protocol |
Diagnostics
node scripts/diagnostic-paths.mjs # Stage 1: path checks
node scripts/diagnostic-paths.mjs --bugs # Stage 1+2: + bug scan
node scripts/diagnostic-paths.mjs --bugs --format # All stages
make verify-planes # Planes drift check
make fourfold-snap # Foundation snapDocumentation
| Doc | Description |
|-----|-------------|
| docs/SPEC.md | Architecture, vision, governance |
| docs/CENTRAL_PLAZA.md | District map & health dashboard |
| docs/GATE.md | Trust-routing gate & attribute matrix |
| docs/WORKSPACE_GATES.md | 6-stage gated execution protocol |
| docs/REFERENCE.md | Canonical document index |
| docs/ONBOARDING.md | Onboarding tracks & modes |
| CLAUDE.md | Agent charters & operational rules |
| AGENTS.md | Agent registry |
| CONTRIBUTING.md | Contributor guide & PR expectations |
| SECURITY.md | Vulnerability disclosure policy |
Docker
Run the trust ingester as a container:
docker compose up -dSee Dockerfile and docker-compose.yml.
License
Apache-2.0 — Copyright 2026 Irfan Kabir
The CascadeProjects/ submodule is licensed separately under its own terms.
Version: 0.1.2
