Governed AI-agent capabilities for diagnosing, designing, deploying, and operating an AI workforce.
This repository contains the public technical foundation for:
- ImpactWorks AuditFlow — a deterministic workflow audit, opportunity-scoring, ROI, and roadmap engine.
- ImpactWorks MCP capability layer — bounded, tenant-aware tools shared by compatible agent hosts.
- Cog — the working name for an installable desktop agent and human approval surface.
- AgentOps — quality, observability, governance, and continuous improvement.
Status: early development. AuditFlow is the first vertical slice. Cog is a working name and not yet a production commitment.
AuditFlow
-> AI Workforce Blueprint
-> Connected foundation
-> First bounded workflow or agent
-> Cog installable experience
-> AgentOps
The immediate build priority is the host-neutral capability core. Cog will consume the same governed contracts rather than becoming a disconnected chatbot.
flowchart TD
Human["Named human owner"] --> Cog["Cog desktop agent and approval surface"]
Host["Compatible external host"] --> Runtime["Agent runtime"]
Cog --> Runtime
Runtime --> Gateway["ImpactWorks MCP capability layer"]
Gateway --> AuditFlow["AuditFlow tools"]
Gateway --> Systems["Approved business systems"]
Runtime --> Control["Policy, approvals, memory, recovery"]
Control --> Evidence["Logs, evals, evidence, exceptions"]
Evidence --> Human
See Architecture for the trust boundaries, data model, and execution model.
The first bounded MCP product defines seven tools:
| Tool | Purpose | State change |
|---|---|---|
create_audit |
Create a tenant-scoped audit and baseline | Yes |
upsert_workflow |
Record or revise a workflow | Yes |
score_opportunities |
Calculate impact, feasibility, risk, confidence, and priority | No |
estimate_roi |
Calculate low, expected, and high scenarios | No |
recommend_solution_stack |
Recommend vendor-neutral patterns and controls | No |
generate_roadmap |
Persist a sequenced implementation roadmap | Yes |
get_audit_report |
Assemble a decision-ready report | No |
Official scores and ROI come from deterministic, versioned application code—not model-generated arithmetic.
- Versioned opportunity-scoring engine
- Versioned ROI scenario engine
- Runtime-validated AuditFlow tool contracts
- Tenant-scoped AuditFlow services for create, workflow capture, scoring, ROI, roadmap, solution stack, and report generation
- Host-neutral AuditFlow tool dispatcher with an in-memory runtime for golden-path testing
- MCP-shaped JSON-RPC adapter for initialization, deterministic tool listing, structured tool calls, and stdio execution
- Minimal Streamable HTTP MCP endpoint with bearer-token tenant scope middleware for local proof work
- OAuth resource-server validation for JWT access tokens, audience binding, protected-resource metadata, and scoped tenant/user identity
- ChatGPT/OpenAI remote MCP integration contract with tool security schemes, read/write scopes, and conservative approval defaults
- Audit evidence projection for dashboard-ready lifecycle, workflow evidence, calculation versions, approvals, and errors
- AuditFlow eval harness with the ImpactWorks lead-to-proposal golden-path scenario
- Boundary and golden tests
- Public development roadmap
- Cog onboarding specification informed by current installable-agent patterns
Requirements:
- Node.js 22 or newer
- npm 10 or newer
Run the tests:
npm testRepository layout:
packages/
scoring-engine/ Deterministic scores and ROI
auditflow-contracts/ Runtime contracts, validation, domain entities, and services
auditflow-mcp/ Host-neutral tool dispatcher, MCP adapters, stdio/HTTP runners, and in-memory runtime
workers/
auditflow-mcp/ Cloudflare Worker entrypoint and Wrangler example for the remote MCP proof
tests/ Node test suite
docs/
architecture.md System and trust architecture
development-roadmap.md
cog-onboarding.md
- Start with a measurable business constraint.
- Build one bounded, reliable workflow before expanding the catalog.
- Derive tenant and user identity from trusted authentication—not model arguments.
- Apply least privilege and progressive permission grants.
- Require explicit approval for consequential external actions.
- Preserve evidence, formula versions, exceptions, and recovery paths.
- Keep the product useful without a proprietary UI component.
- Treat installation ease and security as one design problem.
- Architecture
- Development roadmap
- Cog install and onboarding
- ChatGPT integration
- Cloudflare MCP wrapper
- AuditFlow eval harness
- Contributing
- Security
This is an early public development repository. Interfaces and architecture may change before the first tagged release.
Copyright © 2026 ImpactWorks. No license is granted unless a license file is added to this repository.