@lssm-tech/example.agent-workflow-command-centerexample.agent-workflow-command-center
Agent Workflow Command Center - All-in-one operator cockpit for supervised AI agents in business workflows
@lssm-tech/example.agent-workflow-command-centerSource, release and verification context
Source snapshot bcc79fcc · Declared package version 5.0.5. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.
See where this package fits.
Follow a declared connection, inspect an import, then open the source guide when you need the detail.
Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.
@lssm-tech/example.agent-workflow-command-center
Website: https://contractspec.io
Agent Workflow Command Center - All-in-one operator cockpit for supervised AI agents in business workflows.
What This Demonstrates
Agent Workflow Command Center is a ContractSpec example for operating supervised AI agents inside business workflows. It combines:
- Agent Management: Fleet overview, configuration, tool permissions, lifecycle controls
- Workflow Orchestration: State-machine workflows with agent assignments
- Human Review: Review queue with approve/reject/escalate actions
- Governance: Tool policies, risk thresholds, blocked actions
- Audit Trail: Complete event timeline with deterministic evidence
- ROI & Handover: Adoption metrics and handover readiness checklist
Business Scenario
A PME industrielle (85 employees) undergoing finance transformation:
- Finance team under pressure with RAF departure
- Cash tension and reporting delays
- Fragmented Excel/BI tooling
- Weak or outdated finance procedures
NDconsulting installs supervised AI-assisted workflows and helps the client operate the system after handover.
Core Demo Message
"ContractSpec delivers a controllable operating system where the client team can:
- Manage agents and assign them to workflows
- Review AI-generated outputs before operational use
- Enforce governance policies and block risky actions
- Inspect audit logs and track adoption/ROI
- Prove what happened through deterministic evidence"
Included Agents
- Cash Aging Agent - Prioritizes receivables follow-up using deterministic aging rules
- Reporting Narrative Agent - Drafts reporting commentary with variance analysis
- Procedure Draft Agent - Structures finance procedures with roles and controls
- Mission Intake Agent - Triages transformation requests and classifies urgency
- AI Adoption Coach - Tracks use cases and ROI without employee surveillance
Workflows
- Cash Recovery Prioritization - Intake → Agent Analysis → Human Review → Approved/Changes Requested
- Monthly Reporting Narrative - Data Input → Narrative Draft → Variance Review → Finalization
- Finance Procedure Drafting - Request → Procedure Structure → Control Review → Publication
- Mission Intake Triage - Request → Classification → Priority Assignment → Follow-up
- AI Adoption / ROI Logging - Usage Event → Impact Calculation → Trend Analysis
Canonical Demo Path
- Open
/sandbox?template=agent-workflow-command-center - Start on the Landing screen - understand the value proposition
- Enter the Command Center Overview - see active agents and workflows
- Inspect the Cash Aging Agent - review allowed tools and governance
- Open the Cash Recovery workflow - see state machine
- Assign the Cash Aging Agent to the workflow
- Trigger a deterministic agent run
- Inspect run logs and emitted events
- Open the review queue
- Approve one recommendation, request changes on another
- Show workflow state transition
- Simulate a high-risk tool call - show it's blocked
- Pause an agent, then resume after policy review
- Open ROI & Handover - generate checklist
- Export or display replay/audit proof
Replay Proof
The ./proof export now exposes a deterministic replay contract for the canonical Managed CompanyOS journey:
happyPath: create/configure a synthetic agent, assign a deterministic tool, compose a review-gated workflow, dispatch a simulator run, submit human approval, and inspect audit replay evidence.blockedPath: request a high-risk external tool and attempt a run with that blocked tool; both events must stay authorization-required with no external side effect.managedCompanyOsRouteRefs: documents app-relativepillarRoutevalues and host-prefixedhostRoutevalues for agent, tool, and workflow managed surfaces without importing the managed bundle at runtime.atomicCrudCoverage: proves the example covers tool, agent, and workflow list/create/update/detail expectations plus loading, empty, error, denied, read-only, allowed, dirty-invalid, review-required, and blocked states.assertCommandCenterReplayProof()validates stable audit event IDs, evidence refs, correlation IDs, a human-review gate, a blocked path, and redacted/synthetic-only proof metadata.
Tool Management Loop
The command-center preview includes a Tools surface that demonstrates the full controlled loop: create/edit/archive deterministic tools, inspect governance readiness, assign tools to demo agents or host-owned workflow projections, and simulate calls with audit/replay evidence. The demo uses @lssm-tech/module.agent-fleet reusable presentation contracts with local state only; it performs no provider, network, backend, ERP, email, payment, or secret-storage side effects.
Safety Boundaries
- All agent outputs require human review before operational use
- No real emails, payment instructions, or accounting entries sent
- No connection to live finance systems
- Synthetic fixtures only - no real client or financial data
- Deterministic and offline-safe
- Drafts/recommendations only, not operational commands
- Tracks workflow ROI, not intrusive employee surveillance
Core Entities
- AgentProfile - Agent configuration, status, autonomy level, allowed tools
- WorkflowTemplate - Workflow definitions with steps and transitions
- WorkflowInstance - Running workflow with current state and assignments
- AgentAssignment - Links agents to workflow steps
- AgentRun - Execution record with inputs, outputs, events
- HumanReview - Review queue with decisions and feedback
- ToolPolicy - Governance rules for tool usage
- AuditEvent - Immutable event log
- AdoptionMetric - ROI and usage tracking
Public Entry Points
- Export
.resolves through./src/index.ts - Export
./agentresolves through./src/agent/index.ts - Export
./workflowresolves through./src/workflow/index.ts - Export
./reviewresolves through./src/review/index.ts - Export
./governanceresolves through./src/governance/index.ts - Export
./fixturesresolves through./src/fixtures/index.ts - Export
./proofresolves through./src/proof/index.ts - Export
./uiresolves through./src/ui/index.ts - Export
./exampleresolves through./src/example.ts - Export
./docsresolves through./src/docs/index.ts
Code Quality Review
Review date: 2026-05-20.
- The example package exposes deterministic domain, fixture, proof, UI, example, and docs surfaces; the root export also re-exports
./docsfor consumers that import the aggregate package. - Preview screens render from static PME finance fixtures and do not call live LLM, ERP, CRM, BI, email, payment, or accounting systems. Provider names in the fixture are labels only.
- Governance and human-review screens are part of the default demo path, so supervised operation is visible before ROI or handover claims.
- Replay proof stays under
src/proof/and should be extended with any new workflow path before release.
Production readiness evidence
Use docs/agent-workflow-command-center-production-readiness.md† as the release-facing checklist for the boil-lake command-center slice. It defines the promotion gates, verification command matrix, redaction/import-boundary proof, replay determinism evidence, and authority gates that must be attached before claiming production readiness.
Validation Checklist
Before publishing changes to this template, run from examples/agent-workflow-command-center:
bun run lint:check- package lint and formatting gatebun run typecheck- public TypeScript entrypoint validation, including./docsbun run test- preview shell, adaptive agent-fleet DataView tests, andAgentFleetScreenEntityWorkspace behaviour tests (search, filters, detail actions, create/edit/clone/delete, bulk pause, agents-prop reconciliation)- Open
/sandbox?template=agent-workflow-command-centerand follow the canonical demo path
Local Commands
bun run dev- Development buildbun run build- Production buildbun run test- Run testsbun run typecheck- TypeScript checkbun run lint- Lint and fixbun run preflight- Full validation
Architecture
src/agent/- Agent profile domainsrc/workflow/- Workflow template and instance domainsrc/review/- Human review domainsrc/governance/- Tool policies and governancesrc/fixtures/- Synthetic demo datasrc/proof/- Replay evidencesrc/ui/- Preview components and screens
Notes
Works alongside @lssm-tech/lib.contracts-spec, @lssm-tech/lib.design-system, @lssm-tech/lib.schema.
Tool Effects
The Tools screen demonstrates typed tool effects: contract_effect entries select a ContractSpec operation, and integration_effect entries select an already-integrated provider catalog item. The example validates and simulates effects deterministically by default. Real execution is represented as an explicit adapter boundary so the template stays secret-free and provider/network-free unless a host wires an adapter deliberately.
Tool Effect Workbench
The Tools screen now demonstrates a decision-quality operation workbench for tool effects. Operators can inspect richer ContractSpec and integration-call fixtures, compare candidates, configure input mappings, validate readiness, and simulate deterministically before saving. Real execution remains an explicit host-adapter boundary so the example stays provider-free, backend-free, and secret-free by default.
1 source link need reconciliation
References marked † point outside the resolved source inventory. Their labels are preserved without inventing a replacement destination.
../../docs/agent-workflow-command-center-production-readiness.md
Declared capabilities.
This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.
Imports and export paths.
47 entriesThese are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.
47 imports · showing 35
@lssm-tech/example.agent-workflow-command-center/agent@lssm-tech/example.agent-workflow-command-center/agent-workflow-command-center.feature@lssm-tech/example.agent-workflow-command-center/agent/agent.entity@lssm-tech/example.agent-workflow-command-center/agent/agent.enum@lssm-tech/example.agent-workflow-command-center/agent/agent.event@lssm-tech/example.agent-workflow-command-center/agent/agent.handler@lssm-tech/example.agent-workflow-command-center/agent/agent.operation@lssm-tech/example.agent-workflow-command-center/docs@lssm-tech/example.agent-workflow-command-center/example@lssm-tech/example.agent-workflow-command-center/fixtures@lssm-tech/example.agent-workflow-command-center/fixtures/pme-finance-transformation.fixture@lssm-tech/example.agent-workflow-command-center/governance@lssm-tech/example.agent-workflow-command-center/governance/tool-policy.entity@lssm-tech/example.agent-workflow-command-center/governance/tool-policy.enum@lssm-tech/example.agent-workflow-command-center/proof@lssm-tech/example.agent-workflow-command-center/proof/command-center.scenario@lssm-tech/example.agent-workflow-command-center/review@lssm-tech/example.agent-workflow-command-center/review/human-review.entity@lssm-tech/example.agent-workflow-command-center/review/review.enum@lssm-tech/example.agent-workflow-command-center/ui@lssm-tech/example.agent-workflow-command-center/ui/AgentWorkflowCommandCenterPreview@lssm-tech/example.agent-workflow-command-center/ui/command-center.types@lssm-tech/example.agent-workflow-command-center/ui/components/CommandCenterNav@lssm-tech/example.agent-workflow-command-center/ui/data-views@lssm-tech/example.agent-workflow-command-center/ui/data-views/agentFleet.data-view@lssm-tech/example.agent-workflow-command-center/ui/screens@lssm-tech/example.agent-workflow-command-center/ui/screens/agentFleet.query@lssm-tech/example.agent-workflow-command-center/ui/screens/AgentFleetScreen@lssm-tech/example.agent-workflow-command-center/ui/screens/AgentTreeScreen@lssm-tech/example.agent-workflow-command-center/ui/screens/AuditTrailScreen@lssm-tech/example.agent-workflow-command-center/ui/screens/GovernanceScreen@lssm-tech/example.agent-workflow-command-center/ui/screens/graphEntityRegistry@lssm-tech/example.agent-workflow-command-center/ui/screens/LandingScreen@lssm-tech/example.agent-workflow-command-center/ui/screens/OverviewScreen@lssm-tech/example.agent-workflow-command-center/ui/screens/ReviewQueueScreen@lssm-tech/example.agent-workflow-command-center/ui/screens/RoiHandoverScreen@lssm-tech/example.agent-workflow-command-center/ui/screens/toolManagement.actions@lssm-tech/example.agent-workflow-command-center/ui/screens/toolManagement.catalog@lssm-tech/example.agent-workflow-command-center/ui/screens/toolManagement.fixtures@lssm-tech/example.agent-workflow-command-center/ui/screens/toolManagement.model@lssm-tech/example.agent-workflow-command-center/ui/screens/ToolManagementScreen@lssm-tech/example.agent-workflow-command-center/ui/screens/WorkflowBoardScreen@lssm-tech/example.agent-workflow-command-center/ui/screens/WorkflowDagScreen@lssm-tech/example.agent-workflow-command-center/workflow@lssm-tech/example.agent-workflow-command-center/workflow/workflow.entity@lssm-tech/example.agent-workflow-command-center/workflow/workflow.enumNo export paths match this search.
Dependencies and related packages.
Runtime dependencies 10
- @lssm-tech/lib.contracts-spec
- workspace:^
- @lssm-tech/lib.design-system
- workspace:^
- @lssm-tech/lib.example-shared-ui
- workspace:^
- @lssm-tech/lib.runtime-sandbox
- workspace:^
- @lssm-tech/lib.schema
- workspace:^
- @lssm-tech/lib.ui-kit-web
- workspace:^
- @lssm-tech/module.agent-fleet
- workspace:^
- lucide-react
- catalog:ui
- react
- catalog:
- react-dom
- catalog:
Development dependencies 6
- @lssm-tech/tool.bun
- workspace:*
- @lssm-tech/tool.typescript
- workspace:*
- @types/react
- catalog:types
- @types/react-dom
- catalog:types
- happy-dom
- catalog:testing
- typescript
- catalog:
Package scripts.
Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.
contractspec-bun-build buildcontractspec-bun-build transpilecontractspec-bun-build typescontractspec-bun-build devrimraf dist .turbobun lint:fixnode ../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../scripts/biome.cjs check --write .node ../../scripts/biome.cjs check .bun testtsgo --noEmitbun run build && bun run typecheck && bun run test