process-hybrid-search
Process Hybrid Search
Run Workflow
- By default the wrapper runs the published CLI through
npm exec --yes --package=@tiangong-lca/cli@latest -- tiangong. UseTIANGONG_LCA_CLI_DIRor--cli-dironly for local dev/CI overrides. - Set
TIANGONG_LCA_API_BASE_URLandTIANGONG_LCA_API_KEY, or pass--base-urland--api-key. - Execute
node scripts/run-process-hybrid-search.mjswith standardtiangong search processflags. - The wrapper delegates to
tiangong search process. - Confirm response shape, then debug with focused references.
Commands
TIANGONG_LCA_API_BASE_URL="https://example.supabase.co/functions/v1" \
TIANGONG_LCA_API_KEY="<your-api-key>" \
node scripts/run-process-hybrid-search.mjs --dry-run
TIANGONG_LCA_API_BASE_URL="https://example.supabase.co/functions/v1" \
TIANGONG_LCA_API_KEY="<your-api-key>" \
node scripts/run-process-hybrid-search.mjs
node scripts/run-process-hybrid-search.mjs \
--input ./assets/example-request.json \
--base-url "https://example.supabase.co/functions/v1" \
--api-key "$TIANGONG_LCA_API_KEY"
# Force a local CLI working tree during dev/CI
TIANGONG_LCA_CLI_DIR=/path/to/tiangong-lca-cli \
node scripts/run-process-hybrid-search.mjs \
--dry-run \
--base-url "https://example.supabase.co/functions/v1" \
--api-key "$TIANGONG_LCA_API_KEY"
Fast Triage
400: missing or invalidquery.500: embedding provider orhybrid_search_processesRPC failure.- Empty
data: query/filter mismatch; inspect generated retrieval query and filter structure.
Load References On Demand
references/env.md: auth, region, and endpoint overrides.references/request-response.md: payload contract and RPC expectations.references/prompts.md: query-rewrite prompt constraints.references/testing.md: smoke test checklist.
More from tiangong-lca/skills
flow-hybrid-search
Execute and troubleshoot Supabase edge function `flow_hybrid_search`, which rewrites flow descriptions and calls `hybrid_search_flows` with optional filters. Use when validating flow query/filter behavior, tuning retrieval prompts, or debugging auth, embedding, and RPC failures.
14embedding-ft
Execute and troubleshoot Supabase edge function `embedding_ft` that consumes PGMQ embedding jobs, calls AWS SageMaker embeddings, and writes vectors back to Postgres. Use when validating job payload handling, investigating failed embeddings, tuning ack semantics, or adjusting worker auth/environment.
13process-automated-builder
Execute the supported `process_from_flow` CLI workflow. Use `node scripts/run-process-automated-builder.mjs auto-build|resume-build|publish-build|batch-build` when you need the unified `tiangong process ...` surface from a skill wrapper.
13lifecyclemodel-hybrid-search
Execute and troubleshoot Supabase edge function `lifecyclemodel_hybrid_search`, which rewrites lifecycle model descriptions and calls `hybrid_search_lifecyclemodels` with optional filters. Use when validating lifecycle-model query/filter behavior, tuning retrieval prompts, or debugging auth, embedding, and RPC failures.
13lifecycleinventory-review
Review process-level or lifecyclemodel-level lifecycle inventory outputs from local TianGong build runs, plus frozen remote TianGong process snapshots. Use when auditing process_from_flow batches, remote process rows fetched through the canonical snapshot wrapper, or lifecyclemodel build artifacts through the unified CLI with reproducible review inputs and outputs.
10flow-governance-review
Run the CLI-backed flow governance commands for review, remediation, deterministic process-flow repair, and publish preparation. Use `node scripts/run-flow-governance-review.mjs COMMAND ...` when you need the supported `tiangong review flow` and `tiangong flow ...` workflows from a skill wrapper.
9