Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

harborrag-app

Owns operator-facing API and CLI boundaries.

Ingestion CLI

The CLI submits and controls the canonical Temporal workflow through AppService; it does not construct connectors or repositories:

harborrag ingest start --tenant tenant-1 --connector-id harborrag-workspace
harborrag ingest start --tenant tenant-1 --connector-id jira-main --limit 3 --wait
harborrag ingest start --tenant tenant-1 --connector-id harborrag-workspace --wait
harborrag ingest status RUN_ID --json
harborrag ingest watch RUN_ID
harborrag ingest wait RUN_ID
harborrag ingest pause RUN_ID
harborrag ingest resume RUN_ID
harborrag ingest cancel RUN_ID

Starting a run resolves the named connector into the source-ingestion contract, persists a PENDING task in Postgres, and submits harborrag.source_ingestion. Re-running the same source under a new run ID replays from the earliest reusable immutable artifact.

Every one-shot command accepts --json after its action and returns {"ok":...,"data":...,"error":...}. A failed operation exits with status 1. Typer supplies grouped Rich help and shell completion. Rich renders one-shot progress summaries, status colors, artifact lists, and the ingestion stage sequence; concurrent artifact stages are shown as in flight.

harborrag ingest watch RUN_ID opens a Textual dashboard with live polling, progress and stage panels, an attention queue, pause/resume controls, and confirmed graceful cancellation. Use harborrag --no-color ... or the standard NO_COLOR environment variable when one-shot terminal colors are undesirable; --json never emits Rich formatting or spinner output.

Retrieval CLI

The retrieval command embeds a tenant-scoped query, searches active Qdrant vectors, expands matching chunk context through FalkorDB, and applies reciprocal-rank fusion:

harborrag retrieve "deployment requirements" --tenant tenant-1 --top-k 5
harborrag retrieve "deployment requirements" --tenant tenant-1 --top-k 5 --json
harborrag retrieve "deployment requirements" --tenant tenant-1 --lane sparse --no-graph
harborrag retrieve "deployment requirements" --tenant tenant-1 --filters-json '{"category":"runbook"}'

Retrieved text is omitted by default so shell logs and automation artifacts do not collect source content. Pass --include-content only when the caller is authorized to receive document text. Unexpected provider exception messages are also suppressed at the application boundary; the public envelope retains only the stable exception type.

Retrieval API

The authenticated API exposes the same runtime retrieval facade at POST /v1/retrieval/vector:

{
  "query": "deployment requirements",
  "top_k": 5,
  "lane": "hybrid",
  "filters": {"category": "runbook"},
  "observe_graph": true,
  "score_threshold": 0.25,
  "include_content": true,
  "include_metadata": true
}

The caller must have at least the reader role. Tenant scope is explicit and cannot be overridden by a request filter. The response contains a request ID, selected lane, ranked results, and retrieval diagnostics.

Graph retrieval uses separate typed POST operations:

  • /v1/retrieval/graph/triplets
  • /v1/retrieval/graph/paths
  • /v1/retrieval/graph/subgraphs

Search is not duplicated as GET because query text and nested filters should remain in the request body rather than URLs, access logs, and intermediary caches. The former /v1/retrieval/search route has been removed.

Package tests

Tests for this package live in:

packages/harborrag-app/tests/

Run from the repository root:

pytest packages/harborrag-app/tests

Keep new tests in this folder when adding or changing behavior owned by this package.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harborrag_app-2.0.0a1.tar.gz (163.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

harborrag_app-2.0.0a1-py3-none-any.whl (157.7 kB view details)

Uploaded Python 3

File details

Details for the file harborrag_app-2.0.0a1.tar.gz.

File metadata

  • Download URL: harborrag_app-2.0.0a1.tar.gz
  • Upload date:
  • Size: 163.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for harborrag_app-2.0.0a1.tar.gz
Algorithm Hash digest
SHA256 f4aa393f47b9b29096477ac2e2dc8c76bfda7a4d860fa2699fa54711f6ec3d6a
MD5 9c8b973fc18b77dbec0e0c070ce77cd1
BLAKE2b-256 60b86e14f08c43d975f23c0c930442b64ede7ed5d7d2a29ac0b7cc66bb651e41

See more details on using hashes here.

Provenance

The following attestation bundles were made for harborrag_app-2.0.0a1.tar.gz:

Publisher: publish.yml on cbtw-apac/HarborRAG

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file harborrag_app-2.0.0a1-py3-none-any.whl.

File metadata

  • Download URL: harborrag_app-2.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 157.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for harborrag_app-2.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 b31a1e78d54bcdfbde0ac6edb4f3391e066688dcbca659e31e879c30a3cc6d69
MD5 e8b482b0254bb05699d7925e40205522
BLAKE2b-256 415f525fa486b407047757a4e0264989ce784d8d89854963153a08846e7022a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for harborrag_app-2.0.0a1-py3-none-any.whl:

Publisher: publish.yml on cbtw-apac/HarborRAG

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.0.0a1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page