atomic

flowstate-epic-flowstate-community-epicdm-flowstate-coordinator

Package-local agent skill for @epicdm/flowstate-coordinator.

Tags

Publisher

Versions

1 version published — latest: 1.0.7

  • 1.0.7
    publishedInvalid Date

Skill

flowstate-coordinator Package Skill

Package: @epicdm/flowstate-coordinator Repository: epic-flowstate-community Path: packages/flowstate-coordinator Version: 1.0.7

Use this published Dojo skill as the package-level entrypoint. For detailed workflows, use the package-local skills listed below.

Primary Package Workflow

Coordinator Agent Intelligence

Status: Active Purpose: Work on optional intelligence subdomains without assuming dependencies are always present. Scope: wireServices.ts, roundtable, memory, affinity, initiative, voice. Trigger: Roundtable sessions, memory distillation/injection, affinity scoring, initiative generation, voice profiles, MCP handlers. Input: Optional LLMClient, optional KnowledgeStoreClient, MCP records, subdomain config. Output: Correct subdomain behavior or graceful absence.


Subdomains

  • Roundtable: sessions, speaker selection, turns, memory integration.
  • Memory: distillation and injection with KnowledgeStore.
  • Affinity: pairwise relationship records and boosts.
  • Initiative: proactive initiative generation and action items.
  • Voice: profile/modifier generation and retrieval.

Composition

Use package skills for:

  • @epicdm/flowstate-agents-llm-client
  • @epicdm/flowstate-agents-knowledge-store

Pitfalls

  • Optional clients can be absent; that is normal.
  • LLM JSON parse failures often return empty/null rather than throwing.
  • Some state is in memory and may not survive restart.

Done When

  • Dependency presence/absence is explicit.
  • Persisted collections and MCP handlers are checked.
  • Tests cover the subdomain behavior touched.

Package Skill Inventory

Package Skill Inventory: @epicdm/flowstate-coordinator

Package Context

Package path: /Users/sthornock/code/epic/epic-flowstate-community/packages/flowstate-coordinator

This package is a large orchestration library and CLI. Skills should mirror coordinator workflows, not the 70+ generated feature/symbol rows.

Skill Map

SkillTypeTriggerTeachesEvidenceDepends OnDojo
flowstate-coordinatororchestratorUse when work touches coordinator service, runtime, exports, docs, or package integrationRoutes service, lifecycle, pipeline, clients, subdomains, config, troubleshootingsrc/index.ts, src/Coordinator.ts, src/cli.tspackage docs, feature matrixready-after-review
flowstate-coordinator-service-opsworkflowUse when running or debugging the coordinator CLI/Docker serviceCLI startup, health server, MCP wait, org discovery, manager lifecycle, encryption bootstrapsrc/cli.ts, CoordinatorManager.tsMCP server, Dockerready-after-review
flowstate-coordinator-agent-lifecycleworkflowUse when dispatching tasks or handling agent heartbeat/session stateTaskWatcher, HeartbeatMonitor, LifecycleManager, OpenClaw session contractssource/testsOpenClaw gatewayready-after-review
flowstate-coordinator-work-pipelineworkflowUse when changing proposal, trigger, mission step, bridge task, approval, or recovery behaviorGates, ops_policy, triggers, step claim/recovery/reconcile, circuit breaker, approvalsProposalService, TriggerEvaluator, StepExecutor, ApprovalResolverflowstate-mcp orchestration toolsready-after-review
flowstate-coordinator-client-contractsreferenceUse when wiring MCP HTTP, org scoping, or OpenClaw clientsMCP envelope normalization, org injection, selector limitations, client semanticsclients/*.ts, testsMCP CRUD contractsready-after-review
flowstate-coordinator-agent-intelligenceworkflowUse when working on roundtable, memory, affinity, initiative, or voice behaviorService wiring, LLM/KnowledgeStore dependencies, persisted collections, MCP handlerswireServices.ts, subdomain dirs/testsLLM client, knowledge-storeready-after-review
flowstate-coordinator-config-and-seedsreferenceUse when changing config defaults, env vars, runtime policies, default agents/triggersConfigSchema, ConfigRegistry, CONFIG_DEFAULTS, seed records, drift warningsconfig/seeds source/testsops policy recordsready-after-review
flowstate-coordinator-troubleshootingtroubleshootingUse when coordinator behavior disagrees with docs/tests/downstream MCPVCA filters, stale docs, bridge task reconciliation, optional service absence, adapter riskstests/docs/reverse refsall abovelocal-only

Anti-Sprawl Decision

Eight skills are appropriate because this package has multiple independent public workflows. Constants, handlers, fixtures, and helper functions are folded into workflow/reference skills rather than becoming standalone skilllets.

Feature Coverage

Feature GroupSource EvidenceCovered ByNotes
Coordinator/manager/CLICoordinator.ts, CoordinatorManager.ts, cli.tsservice-ops, orchestratorMulti-org behavior
Task/lifecycle/heartbeatTaskWatcher, HeartbeatMonitor, LifecycleManageragent-lifecycleIncludes OpenClaw
Proposal/trigger/steps/approvalProposalService, TriggerEvaluator, StepExecutor, ApprovalResolverwork-pipelineLegacy auto-approve caveat
MCP/OpenClaw clientsclients/*.tsclient-contractsSelector and envelope behavior
Runtime config/seedsconfig.ts, ConfigRegistry, seedsconfig-and-seedsDocs drift
Roundtable/memory/affinity/initiative/voicesubdomain dirs, wireServices.tsagent-intelligenceOne composed skill initially
Generated Dojo/feature matrix.flowstate/dojo, .flowstate/feature-matrixtroubleshootingDo not publish as-is

Composition Model

Start with the orchestrator. Operational issues go to service-ops. Agent status/task issues go to lifecycle. Proposal/mission work goes to work-pipeline. Transport bugs go to client-contracts. LLM/KnowledgeStore features go to agent-intelligence. Docs/config drift goes to config-and-seeds and troubleshooting.

Deferred Skills

  • Approval policy as standalone skill: defer until ApprovalResolver is wired through ProposalService.
  • Separate roundtable/memory/affinity/initiative/voice skills: defer until usage proves distinct triggers are needed.
  • Observability skill: defer until a distinct operational workflow is reviewed.
  • Dojo publishing skill: defer until generated Dojo is rebuilt from reviewed local skills.

Review Questions

  • Should StepExecutor expose a narrower interface or should flowstate-mcp implement updateAgentStatus() in its adapter?
  • Should ProposalService migrate from auto_approve to approval_tiers?
  • Should package docs be rewritten around current MCP HTTP/multi-org CLI behavior?

Review Gate

Package Skills Review: @epicdm/flowstate-coordinator

Verdict

Pass with fixes.

The local skillset now represents the coordinator as workflow orchestration rather than generated symbols. It captures the major workflow surfaces and the highest-risk cross-package contract issue.

Findings

SeveritySkillIssueEvidenceRequired Fix
Criticalwork-pipeline/troubleshootingflowstate-mcp StepExecutor adapter may lack updateAgentStatus() for completion release pathsreview finding, source contractsTrack/repair before claiming MCP step completion safety
ImportantallExisting Dojo content is generated symbol-sprawl.flowstate/dojo/*Rebuild from reviewed skills
Importantconfig/serviceDocs are stale for modern CLI/MCP HTTP/multi-org behavior.flowstate/docs, sourceUpdate docs before final Dojo publish
MinorreviewVerification passed after authored passtest, typecheck, buildKeep results with package status before Dojo rebuild

Coverage

Feature GroupStatusSkillNotes
CLI/service/managerCoveredservice-opsMulti-org + health
Task/lifecycle/heartbeatCoveredagent-lifecycleIncludes OpenClaw
Proposal/trigger/step/approvalCoveredwork-pipelineIncludes adapter risk
MCP/OpenClaw clientsCoveredclient-contractsEnvelope/org scoping
Config/seedsCoveredconfig-and-seedsSource over stale docs
Intelligence subdomainsCoveredagent-intelligenceOne composed skill
Drift/failuresCoveredtroubleshootingGenerated Dojo rejected

Drift and Contract Risks

AreaRiskEvidenceDecision
MCP StepExecutor adapterCompletion can require methods adapter lackssource/reviewCritical follow-up
DocsOld task/config/CLI guidancedocs vs sourceUpdate before publish
DojoGenerated feature skilllets.flowstate/dojo/*Rebuild
Approval policyLegacy and newer approval concepts coexistsource TODOsTrack as deferred

Dojo Publication Decision

Do not publish existing generated Dojo files. Rebuild Dojo artifacts from reviewed local skills after the critical MCP adapter contract is either fixed or explicitly documented as a blocker.

Verification

Commands run:

yarn workspace @epicdm/flowstate-coordinator test
yarn workspace @epicdm/flowstate-coordinator typecheck
yarn workspace @epicdm/flowstate-coordinator build

Results:

  • Test passed: 44 suites, 366 tests.
  • Typecheck passed.
  • Build passed.

Follow-Up Work

  • Track/repair MCP StepExecutor adapter contract.
  • Update stale package docs.
  • Rebuild .flowstate/dojo artifacts from reviewed skills.

Usage

Start with this skill to understand the package purpose, then use the package-local focused skills for specific workflows. Keep this Dojo version aligned with packages/flowstate-coordinator/package.json. Do not treat generated feature lists as lessons; use workflow evidence from CODE-REVIEW.md, SKILL-INVENTORY.md, and REVIEW.md.

Install

Run this in your project to install via CLI:

fscloud dojo skill install flowstate-epic-flowstate-community-epicdm-flowstate-coordinator --target <target> --out ./skills

Replace <target> with your agent target identifier. See the CLI docs for details.

flowstate-epic-flowstate-community-epicdm-flowstate-coordinator | dojo.epicflowstate.ai | Epic Dojo