package bootstrap

import (
	connectorreaders "github.com/nexuscrm/db/pkg/connectorreaders"
)

// The standard-flow seeding WRITE/INIT/VERIFY surface was relocated to
// internal/controlplane/packs (Wave 5). StandardFlowActiveVersionIsPackOwned is
// the runtime READ counterpart consulted by the SHARED standard-action
// internal-access-scope reader (GetStandardActionInternalAccessScopes); its
// LOGIC was relocated to the neutral sibling
// github.com/nexuscrm/db/pkg/connectorreaders (PR2 Step 1).
//
// This thin func-value alias keeps existing backend callers
// (standard_action_internal_access_reader.go, the CP seam wiring) compiling
// unchanged. Behavior is byte-for-byte identical.

// StandardFlowActiveVersionIsPackOwned is the runtime counterpart of the
// seeder's active-version guard. It returns true only when the named
// FlowDefinition is still pack-owned and its active Flow version is a
// Source='standard' row. Callers use this before applying L1-only privileges
// that were reviewed against the shipped standard flow graph.
var StandardFlowActiveVersionIsPackOwned = connectorreaders.StandardFlowActiveVersionIsPackOwned
