ferrox-agent-toolkit
v0.1.1
Published
Ferrox Autonomous Agent Engineering Toolkit: Dual-layer Agile Scrum, Pure DDD, 100% TDD, and OWASP WSTG Sentinel architecture for AI coding agents
Downloads
498
Maintainers
Readme
🛡️ Ferrox Agent Toolkit
Enterprise Dual-Layer AI Agent Toolkit for the Ferrox Polyglot Ecosystem.
Governed by the Ferrox Master Orchestrator, this toolkit combines high-level Agile Scrum, Ferrox-First dependency resolution, pure DDD planning, strict TDD with 100% coverage, OWASP WSTG Sentinel Security, E2E Chaos Resilience, DevOps IaC (<25MB distroless, Redpanda, Redis Redlock, Terraform), and remote forge governance (gh/glab+ CodeRabbit) across Rust Core, Rust Wasm, TypeScript/NestJS, Python, PHP, and Java 21 Loom/Panama.
🌟 The Dual-Layer Architecture
graph TD
subgraph Layer 1: High-Level Agnostic Governance
Scrum[Agile Scrum Master: ferrox-scrum-master] --> Forge[Git Forge Governance: ferrox-forge-lifecycle]
Forge --> Dep[Ferrox-First Policy: ferrox-dep-resolver]
Dep --> DDD[Pure DDD Planning: ferrox-ddd-planner]
DDD --> TDD[Strict TDD 100%: ferrox-tdd-orchestrator]
TDD --> Chaos[E2E Chaos & Sagas: ferrox-e2e-scaffolder]
Chaos --> Sec[Security Sentinel: ferrox-security-auditor]
Sec --> DevOps[DevOps IaC & Docker: ferrox-devops-architect]
DevOps --> Review[Self-Review Protocol: ferrox-self-reviewer]
Review --> Showcase[Showcase & Codex Docs: ferrox-showcase-generator]
Showcase --> PR[Submit PR to master with CodeRabbit]
end
subgraph Layer 2: Low-Level Runtime Implementers
PR --> R1[Rust Core Server: ferrox-rust-implementer]
PR --> R2[Rust Wasm UI: ferrox-wasm-builder]
PR --> R3[TypeScript NestJS: ferrox-nestjs-implementer]
PR --> R4[Python PyO3: ferrox-python-implementer]
PR --> R5[PHP Modern Saga: ferrox-php-implementer]
PR --> R6[Java Loom & Panama: ferrox-java-implementer]
end📚 Complete Toolkit Catalog
1. Governing Rules (19 Rules in rules/)
A. High-Level Agnostic Governance Rules
rules/ferrox-agile-scrum-lifecycle.md: Hierarchical decomposition (Epic $\to$ Story $\to$ Task), Definition of Ready (DoR), and Definition of Done (DoD) quality gates.rules/ferrox-first-dependency-policy.md: Mandatory prioritization of native Ferrox packages and formal justification checklist for third-party libraries.rules/ferrox-git-lifecycle-governance.md: Git branching model,gh/glabCLI integration, standard label taxonomy, and PR targetingmasterwith auto-closing issues.rules/ferrox-self-review-standards.md: Fresh-context diff inspection, elimination of debug debris (dbg!,console.log,var_dump), domain purity, and zero-alloc audit.rules/ferrox-devops-infrastructure-iac.md: Multi-stage distroless containers (<25MB), Redpanda/Kafka event streaming, Redis Redlock HA, and Terraform VPS/Cloud provisioning.rules/ferrox-ddd-architecture.md: Pure domain cores, aggregate roots, immutable value objects, ubiquitous language, and CQRS separation.rules/ferrox-tdd-100-percent.md: Strict Red-Green-Refactor, 100% line & branch coverage enforcement, sub-5ms domain test execution, and mutation testing ($\ge 85%$ MSI).rules/ferrox-e2e-chaos-resilience.md: Distributed Saga compensation, Transactional Outbox pattern, idempotency keys, singleflight deduplication, and circuit breakers.rules/ferrox-sentinel-security.md: Zero-trust OWASP WSTG v4.2/v5.0, Shannon entropy inspection ($H > 4.8$), PASETO v4 AAD footer binding, and SSRF/ReDoS/SQLi defense.rules/ferrox-contract-governance.md: Protobuf v3 schemas withbuf breakingchecks, CloudEvents v1.0 standard envelopes, and OpenAPI 3.1.rules/ferrox-interop-connectors.md: Cross-language communication standard (native zero-copy FFI, gRPC, and event queues).rules/ferrox-polyglot-paradigms.md: Ecosystem overview of runtime conventions.rules/ferrox-e2e-contract-testing.md: End-to-end integration and resilience testing standards.
B. Low-Level Runtime Guidelines
rules/ferrox-rust-guidelines.md: Tokio async runtime, pinning,bytes::Bytes, zero-alloc arenas, lock-free structures,#![forbid(unsafe_code)], andthiserror.rules/ferrox-wasm-guidelines.md: Zero Node.js, zero Virtual DOM, fine-grainedSignal<T>reactivity, 60 FPS rendering budget, dark-mode SVG graphics, andwasm-opt.rules/ferrox-typescript-nestjs-guidelines.md: YALC modular architecture, CQRS CommandBus/QueryBus, Node-API (napi-rs) native bridges, strict TypeScript, and RFC 7807 exception filters.rules/ferrox-python-pyo3-guidelines.md: Python 3.12+, native PyO3 extensions with GIL release (py.allow_threads), frozen Pydantic v2 models,asyncio, and property testing (hypothesis).rules/ferrox-php-guidelines.md: PHP 8.4final readonly, backed enums, Saga step interfaces with backward compensation, PSR-7/14/15 compliance, PHPStan Level 9, and Infection mutation tests.rules/ferrox-java-loom-panama-guidelines.md: Virtual Threads (Project Loom), Structured Concurrency, Project Panama zero-copy off-heap FFI (Arena,MemorySegment), Java Records/Sealed ADTs, and ArchUnit architecture tests.
2. Actionable Skills (19 Skills in skills/)
A. Governance, DevOps & Showcase Skills
skills/ferrox-scrum-master: Decomposes briefs into Epics, Stories, and Atomic Tasks with DoR and DoD gates (AGILE_SPRINT_BACKLOG.md).skills/ferrox-dep-resolver: Resolves and injects native Ferrox dependencies across polyglot manifests (resolve_ferrox_deps.py).skills/ferrox-forge-lifecycle: Automatesgh/glabMilestones, Issues, branches,.coderabbit.yaml, and PR submission targetingmaster.skills/ferrox-self-reviewer: Performs fresh-eyes pre-submission diff audits eliminating debug code (scan_diff_debris.py).skills/ferrox-devops-architect: Scaffolds distroless Dockerfiles (<25MB), Redpanda & Redis docker-compose, and Terraform VPS/Cloud modules.skills/ferrox-showcase-generator: Scaffolds complete end-to-end applications with reactive Wasm UI andferrox-codexdocumentation.
B. Agnostic Architecture & Quality Skills
skills/ferrox-ddd-planner: Decomposes requirements into bounded contexts, aggregate invariants, and producesDDD_PLAN.md.skills/ferrox-tdd-orchestrator: Guides the TDD loop and enforces 100% test coverage usingcheck_coverage.py.skills/ferrox-e2e-scaffolder: Scaffolds end-to-end integration journeys, race condition fuzzers, and chaos rollback tests.skills/ferrox-security-auditor: Automated penetration testing scanner checking entropy, PASETO v4 tampering, and rate limits.skills/ferrox-polyglot-connector: Generates and tests cross-language FFI bindings, gRPC contracts, and event schemas.skills/ferrox-code-reviewer: Reviews pull requests across DDD purity, TDD coverage, security compliance, and zero-alloc performance.skills/ferrox-workflow-handoff: Consolidates decisions, test proofs, and audit reports into production handoff artifacts (HANDOFF.md).
C. Low-Level Runtime Implementer Skills
skills/ferrox-rust-implementer: Builds Tokio async services, lock-free structures, andthiserrorhierarchies in Rust.skills/ferrox-wasm-builder: Compiles fine-grained reactive Signal components, SVG diagrams, and optimizes Wasm binaries.skills/ferrox-nestjs-implementer: Implements YALC NestJS modules, CQRS handlers, and Node-API native Rust bindings.skills/ferrox-python-implementer: Builds Python 3.12+asyncioservices, frozen Pydantic v2 schemas, and PyO3 native extensions with GIL release.skills/ferrox-php-implementer: Implements modern PHP 8.4 services, distributed Saga steps, and PHPStan Level 9 checks.skills/ferrox-java-implementer: Implements Java 21+ services with Project Loom Virtual Threads and Project Panama off-heap FFI.
3. Specialized Agent Roster (10 Agents in agents/)
ferrox-master-orchestrator: Agile Scrum Master, pipeline director, and lifecycle governor.ferrox-devops-deployer: Distroless containers (<25MB), Redpanda/Kafka, Redis Redlock, and Terraform.ferrox-quality-gatekeeper: Fresh-eyes diff audit, DoD verification, CodeRabbit config, and PR submission.ferrox-architect-ddd: Pure domain modeler, aggregate invariants, and CQRS architect.ferrox-tdd-engineer: Red-Green-Refactor master, sub-5ms tests, and 100% coverage guardian.ferrox-security-sentinel: Penetration tester, Shannon entropy, PASETO v4, and OWASP WSTG auditor.ferrox-qa-chaos-engineer: Concurrency double-spend, distributed Saga compensations, and chaos tester.ferrox-rust-specialist: High-performance Rust systems engineer (1M RPS, zero-alloc).ferrox-wasm-specialist: Reactive WebAssembly pure UI architect (Signal, 60 FPS, SVG).ferrox-polyglot-implementer: Cross-language FFI (Panama, PyO3, Node-API) and gRPC/CloudEvents engineer.
🛠️ Included CLI Tools
The toolkit bundles standalone Python CLI tools for continuous integration and automated verification:
- Universal 100% Coverage Enforcer (
check_coverage.py):python scripts/check_coverage.py --target 100 - OWASP WSTG Security Sentinel Scanner (
run_wstg_security_scanner.py):python scripts/run_wstg_security_scanner.py - Diff Debris Scanner (
scan_diff_debris.py):python skills/ferrox-self-reviewer/scripts/scan_diff_debris.py - Ferrox-First Dependency Auditor (
resolve_ferrox_deps.py):python skills/ferrox-dep-resolver/scripts/resolve_ferrox_deps.py - Toolkit Self-Verification Test Suite (
verify_toolkit.py):python scripts/verify_toolkit.py
🚀 Installation & Sync
Run the Windows PowerShell installer:
.\scripts\install.ps1Or on Linux/macOS:
./scripts/install.shThis automatically links and refreshes the plugin in ~/.gemini/config/plugins/ferrox-agent-toolkit.
📄 License
Licensed under the MIT License. Copyright (c) 2026 Ferrox Team.
