atomic

flowstate-epic-flowstate-community-epicdm-flowstate-rag-sync

Package-local agent skill for @epicdm/flowstate-rag-sync.

Tags

Publisher

Versions

1 version published — latest: 1.0.8

  • 1.0.8
    publishedInvalid Date

Skill

flowstate-rag-sync Package Skill

Package: @epicdm/flowstate-rag-sync Repository: epic-flowstate-community Path: packages/flowstate-rag-sync Version: 1.0.8

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

Primary Package Workflow

RAG Sync Admin Monitoring

Use this skill for service health, admin status, and dashboard integration.

Direct Routes

  • GET /health returns { status: 'ok' }.
  • GET /status returns service metrics, connection display, pipeline metrics, and vector-store summary.

Caveat

/status currently reports several optimistic placeholders:

  • connection connected: true
  • RxDB replicating: true
  • vector-store totalDocuments: 0

Do not use it as a complete health guarantee until real checks are implemented.

Debug Checklist

  1. Check direct /health.
  2. Check /status for metrics, but verify actual service connections separately.
  3. Confirm gateway/UI route prefix.
  4. Check logs for SurrealDB, Redis, Ollama, and RxDB startup failures.
  5. Check metrics error entries for unknown collections or embedding failures.

Package Skill Inventory

Package Skill Inventory: @epicdm/flowstate-rag-sync

Skill Map

SkillTypeTriggerTeachesDojo
flowstate-rag-syncorchestratorUse when working on the RAG sync service lifecycle or package docsPackage purpose, local-only boundary, skill routinglocal-only
flowstate-rag-sync-service-configurationworkflow/referenceUse when configuring env, Docker, routes, or startuploadConfig, env vars, service dependencies, direct vs gateway pathsready-after-review
flowstate-rag-sync-indexing-pipelineworkflowUse when changing RxDB event handling, queues, hashes, retries, or processing concurrencyOrchestrator event flow and dedupe modelready-after-review
flowstate-rag-sync-document-processingworkflow/referenceUse when adding/changing supported collections or chunk templatesCOLLECTION_CONFIG, required fields, unknown collection behaviorready-after-review
flowstate-rag-sync-vector-store-contractsreferenceUse when touching SurrealDB schema, embeddings, vector search, or RAG client compatibilityrag_documents, 768-dimension index, hash/upsert/delete/search contractsready-after-review
flowstate-rag-sync-admin-monitoringworkflow/troubleshootingUse when checking /health, /status, metrics, or dashboard routesAdmin server routes, placeholder caveats, route layersready-after-review
flowstate-rag-sync-ams-memory-eventsworkflowUse when indexing AMS memory events or querying namespace memoriesRedis pub/sub, memory collection mapping, namespace behaviorready-after-review
flowstate-rag-sync-maintenance-and-verificationmaintenanceUse before changing public config, schema, docs, Docker, feature matrix, or DojoTests, integration needs, version/docs drift, anti-sprawllocal-only

Anti-Sprawl Decision

Eight skills are justified because config, indexing, document processing, vector schema, admin monitoring, and AMS events fail differently. Do not create one skill per exported class or helper.

Review Gate

Package Skills Review: @epicdm/flowstate-rag-sync

Verdict

Pass with fixes.

The skillset teaches service operation and vector-index contracts instead of generated feature labels.

Findings

SeveritySkillIssueEvidenceRequired Fix
Highdocument-processing/configurationCompose collection list can include unsupported collectionsCOLLECTION_CONFIG, compose configFix config or document unsupported collections
Highvector-store-contractsMTREE index assumes 768-dimensional embeddingsSurrealDBClient.initSchema()Keep embedding model parity explicit
Importantadmin-monitoring/status includes placeholder connection values and document countsAdminServer.tsDo not publish as full health guarantee
ImportantmaintenanceVersion/docs/Dojo driftpackage metadata, source logs, generated DojoClean before Dojo publication

Verification

Commands run:

yarn workspace @epicdm/flowstate-rag-sync typecheck
yarn workspace @epicdm/flowstate-rag-sync lint
yarn workspace @epicdm/flowstate-rag-sync test --runInBand
yarn workspace @epicdm/flowstate-rag-sync build

Results:

  • Typecheck passed.
  • Lint passed.
  • Tests passed: 8 suites, 97 tests.
  • Build passed.

Dojo Publication Decision

Do not publish existing generated .flowstate/dojo artifacts. Rebuild from reviewed workflow skills after verification and after collection/vector/admin caveats are either fixed or explicitly tracked.

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-rag-sync/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-rag-sync --target <target> --out ./skills

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