New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@dv.nghiem/polyforge

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dv.nghiem/polyforge

PolyForge plugin — backend engineering command center for polyglot developers on OpenClaw

latest
Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
3
-72.73%
Maintainers
1
Weekly downloads
 
Created
Source

PolyForge Plugin

Backend engineering command center for polyglot developers on OpenClaw

PolyForge is an OpenClaw CLI plugin that provides a structured, research-first, language-aware workflow for backend engineers working in Python, Rust, TypeScript and more.

npm version License: MIT

Features

  • 8 Specialized Agents — Atlas orchestrator, Sprint/Forge workers, Architect, Researcher, Analyst, Critic, Explorer
  • 8 Workflow Definitions — brainstorm, triage, research, intake, review, plan, execute, work
  • Language-Aware — Auto-detects project language, injects relevant skills
  • Research-First Workflow — Evaluate technologies before building with structured tech briefs
  • Task Intake — Turn raw PM requests and issues into actionable plans
  • Anti-Hallucination Guardrails — 8 rules injected into every prompt
  • Autorun Loop — Self-correcting execution with configurable iteration limits
  • Todo Tracking — Persistent todo management across sessions
  • Quality Gates — Configurable enforcement levels for outputs
  • Adaptive Learning — Learns approval patterns over time

Installation

openclaw plugins install @dv.nghiem/polyforge
openclaw pf-setup

From Source

git clone https://github.com/DVNghiem/PolyForge.git
cd PolyForge/plugin
npm install
npm run build
npx pf-setup

Quick Start

# Switch to the Atlas orchestrator
/pf atlas

# Triage an incoming task
/triage PM wants async audit logging for all API calls

# Research a technology
/research axum vs actix-web for our HTTP layer

# Full work pipeline: intake → research → plan → execute → review
/work implement rate limiting middleware for FastAPI

# Check status
/pf status

# List all agents
/pf list

Commands

CommandDescription
/pf [subcommand]Main command — status, health, config, list, agent switch, off
/triage [task]Classify and route a task
/research [topic]Technology investigation workflow
/intake [description]Turn a raw task into a structured brief
/plan [topic]Produce an execution plan
/execute [plan]Run an approved plan
/work [task]Full pipeline: intake → plan → execute → review
/review [target]Code or plan review
/brainstorm [topic]Structured ideation with ≥3 approaches
/todosList all tracked todos
/autorun [maxIter]Start self-correcting execution loop
/stopStop the autorun loop

Workflows

PolyForge provides 8 predefined workflow definitions:

WorkflowPhasesUse Case
brainstormproblem_framing → divergent → convergent → decisionIdeation with multiple approaches
triageclassify → assess → routeQuick task classification
researchscope → investigate → synthesize → presentTechnology evaluation
intakeparse → gap_analysis → research_trigger → plan_stub → handoffRequest intake
reviewscope_review → execute_review → recommend → signoffFormal review process
plancontext_gather → decompose → gap_review → document → approvePlanning
executeload_plan → resolve_deps → execute_batch → next_batch → update_planPlan execution
workintake → research → plan → execute → review → shipFull development cycle

Tools

The plugin registers these tools for use by agents:

ToolDescription
pf_delegateDelegate task to a specialized agent
pf_spawn_acpSpawn an autonomous coding process
pf_researchConduct technology research
pf_intakeProcess raw task into structured brief
pf_searchWeb search for technology comparison
pf_checkpointSave/restore execution state
pf_todo_createCreate a tracked todo
pf_todo_listList all todos
pf_todo_updateUpdate todo status
pf_phase_transitionTransition workflow phase
pf_spawn_subagentSpawn a subagent with specific role

Configuration

Add to your OpenClaw plugin config:

{
  "polyforge": {
    "max_auto_iterations": 50,
    "preferred_language": "mixed",
    "research_depth": "standard",
    "checkpoint_dir": "workspace/checkpoints",
    "workflow_phase_enforcement": {
      "enabled": true,
      "default_approval_level": "medium"
    }
  }
}

Configuration Options

OptionTypeDefaultDescription
max_auto_iterationsinteger50Maximum autorun loop iterations
preferred_languagestring"mixed"Primary language (python, rust, typescript, mixed)
research_depthstring"standard"Research depth (shallow, standard, deep)
checkpoint_dirstring"workspace/checkpoints"Directory for execution checkpoints
todo_enforcer_enabledbooleantrueEnable todo continuation injection
comment_checker_enabledbooleantrueEnable AI slop comment detection
team_agent_idsarray[]OpenCode agent IDs for team delegation

Workflow Phase Enforcement

{
  "workflow_phase_enforcement": {
    "enabled": true,
    "default_approval_level": "medium",
    "per_workflow_overrides": {
      "review": "high",
      "triage": "low"
    }
  }
}

Intelligent Features

{
  "intelligent_features": {
    "adaptive_learning": {
      "enabled": true,
      "min_samples_for_auto_approve": 5,
      "auto_approve_threshold": 0.9
    },
    "proactive_suggestions": {
      "enabled": true,
      "suggestion_interval_ms": 30000
    },
    "quality_gates": {
      "enabled": true,
      "enforcement_level": "moderate",
      "default_threshold": 0.75
    }
  }
}

Agents

AgentRoleTier
AtlasWork coordinator & orchestratorStrategy
SprintQuick implementation workerExecution
ForgeDeep specialist (complex tasks)Execution
ArchitectSystem design (read-only)Coordination
ResearcherTechnology evaluationCoordination
AnalystGap analysis & assessmentCoordination
CriticCode & plan reviewerCoordination
ExplorerCodebase search & navigationCoordination

License

MIT

Keywords

openclaw

FAQs

Package last updated on 01 Apr 2026

Related posts