Skip to main content

API And Public Surfaces

Documentation Map

API And Public Surfaces

Tool / Contract Summary

jhf-bobbin does not expose a resident Bobbin-owned HTTP API, webhook endpoint, or MCP service. Its public and testable surfaces are CLI scripts, file contracts, machine-readable manifests, packaging artifacts, and validator outputs.

Business Value

  • gives operators and QA a clear inventory of what can be called or validated
  • prevents README and integration docs from becoming an unstructured endpoint dump
  • makes it explicit which runtime APIs are consumed from other systems instead of owned locally

Current Verified State

Available and repo-validated surfaces include:

  • Python and shell CLI entrypoints in scripts/
  • machine-readable manifests and config contracts
  • package build/publish/verify scripts
  • repo-local and optional live runtime verification paths

Available Now

Exposed Repo-Owned CLI Surfaces

SurfaceTypePurpose
bash scripts/bootstrap.shshellbootstrap installer configuration
bash scripts/install_jhf_memory.shshellinstall or re-materialize the Bobbin runtime stack
bash scripts/reapply_after_openclaw_update.shshellrestore Bobbin state after OpenClaw updates
bash scripts/plugin_smoke_test.shshellbounded runtime smoke validation
bash scripts/qdrant_checks.shshellQdrant collection and search verification
bash scripts/fabric-selfcheck.shshellrepo-local contract and documentation selfcheck
python3 scripts/check_live_runtime_contract.pypython CLIfail-closed live runtime verification
python3 scripts/export_host_runtime_snapshot.pypython CLIread-only runtime snapshot export
python3 scripts/check_runtime_materialization_drift.pypython CLIcross-layer runtime materialization drift verification
python3 scripts/export-fabric-metadata.pypython CLImetadata export for downstream consumers
python3 scripts/export_fabric_status_bundle.pypython CLIstatus bundle export for read-only consumers

Exposed File And Artifact Surfaces

SurfaceTypePurpose
fabric-manifest.jsonmanifestcanonical Bobbin identity, capabilities, dependencies, and consumed surfaces
configs/stack-contract.jsoncontractcanonical stack, ports, volumes, and startup/verify truth
docs/MODULE_FEATURES.mdcontractmachine-readable QA feature registry
dist/package-metadata.jsonartifact metadatapackage delivery contract after build/publish

Optional / Extended

  • live readback checks using --check-live variants for Fabric and runtime validators
  • package publishing via Gitea Generic Packages
  • host snapshot validation and operator-run evidence export

Planned / Not in Current Scope

  • no resident Bobbin-owned REST API
  • no Bobbin-owned inbound webhook contract
  • no Bobbin-owned queue consumer surface
  • no Bobbin-owned MCP runtime service

Public Surfaces

Resident Service Surfaces

  • none

Consumed Runtime APIs

Upstream SurfacePurposeOwnership
GET /readyz on LocalAIreadiness confirmationtarget runtime
GET /v1/models on LocalAImodel presence verificationtarget runtime
POST /v1/embeddings on LocalAIembedding generationtarget runtime
Qdrant collection/search endpointsvector store bootstrap and recall verificationtarget runtime
Fabric contract/readiness endpointsgovernance and claims truth consumptionjhf-fabric

Contract Families

Fabric-owned families consumed read-only are documented in:

  • Fabric Tool Profile (docs/FABRIC_TOOL_PROFILE.md)
  • Memory Policy and Claims Consumption (docs/MEMORY_POLICY_AND_CLAIMS_CONSUMPTION.md)
  • Integrations

Producer-/Consumer-Zuordnung

  • Bobbin produces:
    • CLI outputs
    • validation results
    • exported metadata/status artifacts
    • package metadata
  • Bobbin consumes:
    • OpenClaw runtime configuration
    • LocalAI and Qdrant runtime APIs
    • Fabric governance/claims/readiness surfaces

Compatibility Window

  • version truth: tag v0.x.y or derived 0.0.0+<shortsha>
  • interface stability: stable for documented CLI/contract surfaces, operator-bounded for live host flows

Lifecycle Status

  • repo-owned public surfaces: active
  • resident service API: intentionally absent

Readiness / Drift / Monitoring

  • use Operations for operational verify paths
  • use Feature Registry (docs/MODULE_FEATURES.md) for QA-oriented test paths
  • use Stack Container Contract (docs/STACK_CONTAINER_CONTRACT.md) for canonical stack truth

Deployment / Verify

bash scripts/fabric-selfcheck.sh
python3 scripts/check_docs_contract.py
python3 scripts/check_module_features_contract.py
python3 -m unittest -q tests/test_contracts.py

Known Limits

  • CLI and file surfaces are repo-owned; runtime APIs are mostly upstream-owned
  • host verification depends on operator access and running services
  • JaddaHelpifyr/jhf-bobbin#59
  • JaddaHelpifyr/jhf-bobbin#60
  • JaddaHelpifyr/jhf-bobbin#74

AGPLv3. See ../LICENSE (LICENSE).

Learn more at helpifyr.com.