🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

rstack-agents

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rstack-agents

Production-ready agentic SDLC framework for Pi and coding agents — orchestrator, builder/validator teams, lifecycle state, and specialist reuse

latest
Source
npmnpm
Version
1.8.0
Version published
Maintainers
1
Created
Source

RStack SDLC

A governed AI-SDLC operating layer for any coding framework. RStack sits on top of Pi, Claude Code, Operator, Codex-style CLIs, Gemini-style CLIs, or a custom harness and gives agent teams a repeatable lifecycle with approvals, builder/validator contracts, evidence, memory, budget envelopes, and a live Business Hub.

clarify → plan → spec → approve → build → validate → release-readiness → learn

Install — one npm package, any framework

cd your-project
npm install rstack-agents
npx rstack-agents init --profile business-flex

init auto-detects pi | claude-code | operator | custom, creates .rstack/, registers the project with the Business Hub, writes framework glue, and never overwrites existing files.

Use a smaller or larger business profile when needed:

npx rstack-agents init --profile lean-mvp
npx rstack-agents init --profile enterprise-webapp
ProfileBest forResult
business-flexMost business/product teamsProduct, backend, frontend, QA, security, devops, docs, budget policy, Business Flex dashboard
lean-mvpFast prototypesSmaller full-stack team and lower budget defaults
enterprise-webappHeavier governanceEnterprise web app team with security/compliance/devops emphasis

Start your first governed run

From the host AI framework session:

sdlc_start(goal="Upgrade this app, add required tests, improve docs, and run a security review")
sdlc_clarify()
sdlc_plan()

Approve gates, then build and validate:

sdlc_approve(artifact="plan.md", status="APPROVED")
sdlc_approve(artifact="requirements.json", status="APPROVED")
sdlc_approve(artifact="architecture.md", status="APPROVED")
sdlc_build_next()
sdlc_validate()

What init creates

your-project/
├── .rstack/
│   ├── rstack.config.json   # active profile, enabled domains/plugins, dashboard pages
│   ├── budget.json          # run/daily/monthly budget, warnings, approval thresholds
│   ├── runs/                # every governed run lands here
│   ├── registry/            # agents, skills, plugins, routing metadata
│   └── policy.json          # optional approval policy you control
└── framework glue           # e.g. .claude/rstack-sdlc.md or Operator template

Every run records its manifest, plan, tasks, approvals, evidence, events, stage artifacts, builder contracts, validator contracts, and metrics under .rstack/runs/<run-id>/.

Business Flex: install only the teams you need

RStack ships a large catalog, but business users should not have to use all of it. Profiles narrow the active teams before planning:

{
  "profile": "business-flex",
  "enabled_domains": ["product", "backend", "qa", "security", "docs"],
  "enabled_plugins": [
    "business-analytics",
    "backend-development",
    "unit-testing",
    "security-scanning",
    "documentation-generation"
  ],
  "dashboard_pages": ["command", "business-flex", "workflow", "agent-work", "live-feed", "approvals"]
}

When sdlc_plan runs, each task gets:

  • active profile and workflow
  • selected domains and specialists
  • routing.explanation showing why the agent/team was selected
  • budget_envelope for requirements-stage business control
Current package limitation

Profiles guide routing, budget, dashboard visibility, and project-local configuration. The npm package still ships the full catalog so offline/project-local routing works. The next product step is a pack installer that physically copies only selected packs into .rstack/ for stricter enterprise footprints.

Builder and validator sandbox model

RStack uses scoped task packets instead of giving every worker the whole project and whole catalog.

RoleToolsMust writeRule
Orchestratorplanning/status toolsplan.md, tasks.json, specsRoutes work; does not directly implement
Builderread, bash, edit, write, grep, find, lsbuilder.jsonChanges only task-scoped files; runs checks before claiming done
Validatorread, grep, find, lsvalidation.jsonRead-only review; no mutation

Builder contract:

{
  "task_id": "003-architecture",
  "agent": "builder",
  "status": "PASS|FAIL|BLOCKED|DONE_WITH_CONCERNS",
  "summary": "",
  "files_modified": [],
  "tests_run": [],
  "risks": [],
  "next_steps": []
}

Contract v2 can also capture backend visibility:

{
  "execution": { "tools_used": [], "events": [], "artifacts_written": [] },
  "cost": { "currency": "USD", "estimated_usd": 1.5, "actual_usd": 1.2 },
  "context": { "profile": "business-flex", "workflow": "production-business-sdlc" },
  "routing": { "selected_by": "profile-domain-stage-affinity", "explanation": [] }
}

Validator contract:

{
  "task_id": "003-architecture",
  "validator": "rstack-validator",
  "status": "PASS|FAIL",
  "checks": [],
  "issues": [],
  "retry_recommendation": "none|retry_builder|ask_user|block"
}

Business Hub — live observability on :3008

npx rstack-agents hub

The dashboard derives everything from real .rstack files — no fake demo state and no telemetry leaving your machine.

PageWhat you get
Command CenterPortfolio status, attention signals, stage health, live activity
Business FlexActive profiles, enabled domains, budget guardrails, routing proof
Studio / Studio 3DAgent workspace with live stage status and clickable agent panels
Projects & RunsEvery run and its actual deliverables
Run AnalyticsStage timing, Gantt, trend rows
Agent WorkBuilder/validator contracts and evidence
Approvals / AlertsHuman gates, guardrails, spend/stall signals
TraceabilityRequirement → stage → task → evidence chains

CLI reference

CommandPurpose
rstack-agents init --profile business-flexSet up project profile, budget policy, framework glue, and Business Hub registry
rstack-agents hubStart/open the dashboard
rstack-agents list agents|skills|pluginsBrowse packaged catalog
rstack-agents add plugin <name>Copy a packaged plugin into the project
rstack-agents notify --testTest Slack/Teams/Discord/Telegram/WhatsApp notifications
rstack-agents validateValidate packaged and local agent definitions
rstack-business --port 3008 --project .Run the dashboard directly

Framework support

FrameworkStatusNotes
PiNative adapterFull sdlc_* tool surface through extensions/rstack-sdlc.ts
Claude CodeAsset/session bootstrapinit writes Claude usage guide/session hook assets
OperatorBridge adapterPython adapter shells out to the same Node harness
Codex/Gemini/customUniversal modeUse .rstack state contract, prompts, agents, and CLI bridge

Known loopholes / roadmap

  • Actual token/cost capture: host frameworks execute model calls, so real usage needs host-side reporting or provider adapters.
  • Physical pack pruning: profiles narrow routing today; a future pack installer should reduce project-local agent/plugin footprint.
  • Validator enforcement: validator tool policy is encoded in RStack packets, but strict enforcement depends on the host sandbox.
  • Open-source adaptation: learn from OSS agent frameworks, but preserve licenses and validate contracts before importing anything.
  • MCP/A2A: .rstack is adapter-friendly, but a native MCP/A2A server is still a future slice.

Documentation

Mintlify docs live in docs/mintlify:

The original presentation is kept as a backup at:

docs/mintlify/assets/backups/RStack-The-Future-of-Software-Development.backup.pptx

Development

git clone https://github.com/richard-devbot/SDLC-rstack.git
cd SDLC-rstack
npm install
npm test
npm run lint
npm run validate

Latest verified branch state for this business-flex slice:

npm test -- --runInBand   # 111 pass, 0 fail
npm run lint              # pass
npm run validate          # All 196 agents passed validation
npm pack --dry-run        # package includes new profile/dashboard files

License

MIT © Richardson Gunde

Keywords

pi-package

FAQs

Package last updated on 09 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts