DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

Lumos-789 /

Lumos-789/guster

Verified

Guster — audit and evolve agent context across one project, a group of repos, a hub, or a whole machine.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@3d7d0b61

Guster

Guster is a distributable agent plugin that audits and evolves the context of a whole machine: projects, instruction files, skills, tools, knowledge, project state, evidence and credential references.

It is the control plane for agent context. A Guster Hub is the optional data plane: the local repository that holds project cards, knowledge, tools and reports. The plugin does not replace the hub; it discovers it, validates it, and helps keep it coherent.

What it does

  • Discovers Git roots, AGENTS.md / CLAUDE.md, .agents/ directories, skills, tools, knowledge, state, evidence and credential locations.
  • Diagnoses resident budgets, skill metadata budgets, copy drift, duplicate canonical sources, orphan knowledge, broken pointers, misplaced task folders, stale state, inline tokens and credentials outside the canonical root.
  • Scores context health with seven dimensions and a CHI dashboard.
  • Plans structural changes as reviewable JSON plans.
  • Applies only with --yes, with a backup and rollback path.
  • Initializes a standard .agents/ layout for a new project or a new machine.

Quick start

cd <checkout>
./bin/guster init --home --yes
./bin/guster scan
./bin/guster doctor
./bin/guster score --write

The CLI is Python 3.9+ and has no third-party Python dependencies.

Install a stable command on your PATH:

ln -s "$(pwd)/bin/guster" ~/.local/bin/guster

Commands

Command Purpose
guster status Show plugin version, registry and health summary
guster scan Discover context assets and write registry.json
guster doctor Run policy checks and write findings.json
guster score Compute metrics and CHI; append metrics.jsonl
guster plan findings Turn findings into a review checklist
guster plan move Plan a move with backup and pointer
guster plan init Plan a standard .agents/ layout
guster apply <plan> Dry-run by default; --yes writes with backup
guster init Initialize the state home or a project
guster link Check context pointers
guster export Export a redacted Markdown/JSON report
guster credentials List registered credentials by scope (company / personal)
guster upgrade Check Codex/ZCode/package manifest versions

Health model

CHI = 0.20 SSR + 0.15 RBR + 0.15 PCR + 0.15 ICR
    + 0.15 FRS + 0.10 PHR + 0.10 SIR
  • SSR single-source rate
  • RBR resident budget ratio
  • PCR placement compliance rate
  • ICR index coverage rate
  • FRS state freshness rate
  • PHR pointer health rate
  • SIR secret isolation rate

Red-line failures override the score: credential in git, broken resident pointer, duplicate canonical source, resident hard-cap breach, or a governance entry pointing at an archived asset.

Scopes

Level Command Scored dimensions
machine guster doctor SSR RBR PCR ICR FRS PHR SIR
hub guster doctor --scope hub SSR ICR FRS PHR
group guster doctor --root A --root B SSR PCR ICR FRS PHR
project guster doctor --root <repo> SSR PCR ICR FRS PHR

Scoped runs write to ~/.agents/guster/scoped/<hash>/.

Credential registry

Guster reads ~/.agents/credentials/registry.md and checks it against every credential file it finds:

  • secret-undeclared - a credential file is not registered.
  • secret-missing - a registered location no longer exists.

The registry holds scope (company / personal), site, account, kind, location and variable names. It never holds values. guster credentials prints the split.

The eight planes

  1. Truth — code, tests, build and runtime config.
  2. Instruction — AGENTS.md and policies.
  3. Capability — skills, tools, MCP, plugins, scripts.
  4. Knowledge — durable principles, methods, business semantics, pitfalls.
  5. State — project cards, handoffs, environment and port registries.
  6. Evidence — reports, screenshots, videos, test output.
  7. Runtime — sessions, caches, logs, temp files, browser profiles.
  8. Secret — passwords, tokens, keys, cookies; references only.

Safety

  • Read-only by default. apply and init --yes are the only workspace writers.
  • Credential values are never persisted or printed; scans keep only paths and redacted shapes.
  • No automatic git add, commit, push or deploy.
  • Company/public repository tracked files are not ordinary migration targets.
  • Plans are written to ~/.agents/guster/plans/; backups to ~/.agents/guster/backups/.

Plugin hosts

Host Manifest
Codex .codex-plugin/plugin.json
ZCode .zcode-plugin/plugin.json
DSH package.json + cordis.patch.yml
Pi package.json (pi.skills)

All four point at skills/guster/. Keep their versions synchronized.

# Pi (no account or marketplace needed)
pi install git:github.com/Lumos-789/guster

# DSH bundle
dsh plugin add /path/to/guster

Project layout

skills/guster/        agent-facing skill
src/guster/           Python CLI and policy engine
bin/guster            executable wrapper
schema/               JSON schemas
templates/            project scaffolds
tests/                fixture and plugin tests

Test

python3 -m unittest discover -s tests -v
node --test tests/test_plugin.mjs

License

MIT © Lumos-789

—/ 5

No ratings yet

Verified DSH bundle

Commit 3d7d0b61a0bf

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout