guardian-framework weekly downloads statistics
By arman-jalili · npm · Claude Code
Token-optimized agentic framework scaffolder with pi-first architecture
guardian-framework has 3,559 recorded weekly downloads on npm, an increase of 1153% over the past 30 days, ranking #1670 of 3,247 tracked listings.
About guardian-framework
<a href="https://github.com/arman-jalili/guardian-framework/blob/main/package.json"><img src="https://img.shields.io/github/package-json/v/arman-jalili/guardian-framework?style=flat&colorA=222&colorB=00bcd4" alt="version"/></a> <a href="https://github.com/arman-jalili/guardian-framework/actions"><img src="https://img.shields.io/github/actions/workflow/status/arman-jalili/guardian-framework/ci.yml?style=flat&colorA=222&colorB=00bcd4" alt="CI"/></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-proprietary-00bcd4?style=flat&colorA=222" alt="proprietary license"/></a> <br/> <a href="https://github.com/arman-jalili/rigorix-oss"><img src="https://img.shields.io/badge/Proven%20on-Rigorix%20(146K%20LOC)%2000bcd4?style=flat&colorA=222" alt="Rigorix"/></a>
</div>Guardian is an SDLC orchestrator for AI-assisted development. It takes you from a business intent — "I need to build audit logging for regulated financial transactions" — to an enforcement pipeline that blocks merges if the implementation violates the architecture.
The entire lifecycle lives in a single .pi/ directory. Every artifact (modules, ADRs, roadmap, issues, CI scripts, agent skills) is generated from that directory. Nothing is handwritten twice. Nothing drifts.
The Full SDLC
You have a business intent
│
▼
Domain Exploration ←─ you and the agent explore, iterate, refine
│
▼
Architecture Modules ←─ you review, adjust, approve
│
▼
Enrich Module Docs ←─ agent fills DDD content from exploration
│
▼
ADRs, Diagrams, Specs ←─ you challenge decisions, finalize
│
▼
Roadmap Plan ←─ one module per phase (Phase 0 = bootstrap)
│
▼
Epic Execution ─── one branch + one PR per epic, local CI per issue
│ └─ parallel epics: isolated worktrees, contract-freeze gate
▼
Wiring Check ─── every module must be INSTALLED in the app shell
│
▼
Enforcement Pipeline ─── CI blocks merges on violation
New since 0.1.128: exploration is terminal and self-driving, stubs follow the detected language, epics ship as one PR, parallel epics are gated on frozen contracts, and five enforcement controls make "can this actually block a merge?" a machine-readable answer. See manual §30–39.
Walkthrough: From Intent to Enforcement
1. You Have a Business Intent
"I need to build a system that collects audit records from CI/CD pipelines, verifies their integrity, stores them, and lets customers query them."
2. Explore the Domain (Human + Agent, Iterative)
/domain --explore "Audit logging for regulated financial transactions"
Guardian analyzes your intent and produces a structured domain model. But this isn't a one-shot output — it's the start of a conversation. You review, challenge, and refine:
- "These aren't the right bounded contexts. Merge Ingestion and Query into one."
- "Add a Compliance Engine context. Regulated finance needs it."
- "The ubiquitous language is wrong — we call them 'evidence records', not 'audit records'."
You go back and forth until the model reflects your actual business. Only then do you proceed.
Guardian now applies proportional modeling depth (ADR-008): every bounded context is classified core / supporting / generic — the LLM proposes it, you gate it — and must justify entity-vs-VO calls, capture aggregate invariants, triage domain events, and draw the context map. Core subdomains get full tactical DDD; generic subdomains get an anti-corruption layer, not a hand-built model. Depth flows through module docs, contracts and validators end-to-end. See the user manual §29.
3. Scaffold Architecture Modules
/domain --architect-scaffold <session-id>
Guardian generates one architecture module per bounded context, with architecture layers, aggregates, repository contracts, and domain events:
# Audit Ingestion
## Architecture
| Layer | Responsibility |
|-------|--------------|
| **Domain** | Aggregates, entities, repository interfaces | src/audit-ingestion/domain/ |
| **Application** | Use cases, DTOs | src/audit-ingestion/application/ |
## Aggregates
### AuditRecord
**Repository Interface:**
```rust
pub trait AuditRecordRepository: Send + Sync {
async fn find_by_id(&self, id: &AuditRecordId) -> Result<Option<AuditRecord>, DomainError>;
async fn save(&self, entity: &AuditRecord) -> Result<(), DomainError>;
async fn delete(&self, id: &AuditRecordId) -> Result<(), DomainError>;
}
Domain Events
| Event | Description | Trigger |
|---|---|---|
| AuditRecordIngested | ... | ... |
### 3.5 Enrich with Full DDD Content
/domain --enrich <session-id>
The agent reads the domain exploration and enhances each module stub with:
- Mermaid data flow diagrams
- Real Rust struct stubs
- API endpoint tables
- Ubiquitous Language per context
- Cross-context dependencies
- Security considerations
This produces production-quality architecture docs (5–20 KB each) that an implementer can build from directly.
## Idempotency Handler
status: planned
description: Deduplicates records using Idempotency-Key header.
depends: HMAC Signature Verifier
4. Review Architecture (Human in the Loop)
Now you review the generated architecture. This is where the real design happens:…
Description from the npm listing.
- cli
- agentic
- framework
- ai
- scaffold
- pi-first
- token-optimized
- claude-code
- github-copilot
- pi
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (128)Similar npm Claude Code plugins
All 20 guardian-framework alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/guardian-framework. First seen Nov 24, 2026; last successful collection Dec 2, 2026. See the methodology.