Commit Graph
5 Commits
Author SHA1 Message Date
rock ab3a81502f [Phase 2.1] Synthesis workflow definition (#12)
CI / CI (push) Successful in 4m34s
## Changes
- `workflow/synthesis.go` — 5-stage synthesis pipeline as Temporal workflow
- `workflow/synthesis_test.go` — 5 tests using Temporal test framework

## Pipeline Stages
1. **ChunkAndEmbed** — chunk text + generate embeddings
2. **ExtractEntities** — LLM entity extraction with reflection
3. **ExtractFacts** — pattern + LLM fact extraction
4. **DetectContradictions** — pre-filter + LLM verification
5. **PersistSynthesis** — save all results to DB
2026-09-09 00:37:16 +00:00
Test 7ed0642819 security: remove hardcoded cluster.local URLs from source code
Build & Push Workflows Image / build-push (push) Failing after 9s
ci / test (push) Successful in 1m32s
- activity/memory.go: read MEMORY_SERVICE_URL from env, default localhost
- pkg/db/db.go: remove cluster.local from DSN comment
- Fix memory_test.go env var name to match
2026-09-06 06:01:21 -07:00
Test 9c9e9450bc refactor: rename action→activity, statemachine→workflow, remove HTTP API layer
- action/ → activity/ (Temporal activities)
- statemachine/ → workflow/ (Temporal workflows)
- Removed internal/api/ and cmd/server/ (api-gw handles HTTP, Temporal is the API)
- Created pkg/types/types.go as single source of truth for all shared types
- Extracted CallRoleLLM helper (DRY: implementer/planner/judge shared pattern)
- Fixed circular import: workflow_graph_query uses string activity names
- Fixed logger.logf → logger.Info/Warn (method didn't exist)
- Fixed routing types: added Branches, Activity, BackoffSeconds, TaskActivity
- Fixed db.Canvas.Name, db.Client→DB, GetWorkflow→FetchWorkflow
- Removed unused imports
- All tests pass, build clean, vet clean
2026-09-05 23:59:13 -07:00
Test 808e56e23d feat: wire GraphRAG API handlers, activities, and database layer 2026-09-05 06:00:58 -07:00
Test ae16ff8fcb feat: database layer + canvas validator/converter + LLM inference activities
- Add pkg/db models and CRUD methods for workflows
- Add internal/routing canvas validator (DAG check, connectivity)
- Add internal/routing canvas converter (Canvas → WorkflowSpec)
- Register LLMInferenceActivity and LLMBatchInferenceActivity
- Update api/server and cmd/server with database integration
- Add K8s environment variable support
- Update activity knowledge base with LLM activities
- Add .env.example configuration template
2026-09-05 00:43:30 -07:00