Skip to content

feat!: remove flow package — extracted to link#38

Merged
akromicc merged 1 commit intomainfrom
feat/remove-flow-extracted-to-link
Apr 30, 2026
Merged

feat!: remove flow package — extracted to link#38
akromicc merged 1 commit intomainfrom
feat/remove-flow-extracted-to-link

Conversation

@akromicc
Copy link
Copy Markdown
Contributor

Why

The flow DAG engine was domain-specific to link's conversation routing. Cross-repo recon (link, ops, visor, hub, starter, operador360, p2p) confirmed link was the only importer. The engine doesn't belong in a generic kernel.

See decision in metacore-kernel#36 (bridge stable contract — flagged flow as the opposite case: extract).

What

  • Delete `flow/` (9 files, ~2347 LOC).
  • Add CHANGELOG `[Unreleased]` entry under `### Removed` with migration note.

Build / test

  • `GOWORK=off go build ./...` — passes.
  • `GOWORK=off go test ./...` — all 30+ packages green.

Breaking change

Any consumer importing `github.com/asteby/metacore-kernel/flow` must remove the import. The kernel no longer ships a workflow engine — hosts that need one should fork from link or implement their own.

Order with link PR

Merge link first: asteby-hq/link#129 absorbs the engine into `backend/internal/flow` while keeping kernel v0.8.0 (which still ships flow). Once link is on its local copy, this PR can land.

  1. ✅ link absorbs locally (asteby-hq/link#129).
  2. ⏳ This PR removes from kernel.

The flow DAG engine was domain-specific to link's conversation routing.
Cross-repo recon (asteby-hq/link, asteby-hq/ops, asteby-hq/visor,
asteby-hq/hub, asteby/metacore-starter, asteby-hq/operador360,
asteby-hq/p2p) confirmed link was the only importer. The engine is now
part of link/backend/internal/flow (asteby-hq/link#129).

BREAKING CHANGE: any consumer importing github.com/asteby/metacore-kernel/flow
must remove the import. The kernel no longer ships a workflow engine —
hosts that need one should fork from link or implement their own.

Build / test:
- GOWORK=off go build ./... — passes
- GOWORK=off go test ./... — all 30+ packages green
@akromicc akromicc merged commit dc3df39 into main Apr 30, 2026
1 check passed
@akromicc akromicc deleted the feat/remove-flow-extracted-to-link branch April 30, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant