holoscript-holorepo
Python companion for HoloRepo: a plug-and-play sovereign GitHub + database + HoloScript knowledge store for high-volume agent frameworks.
The Python client covers the DB/KS guest surface. It reads any Postgres reachable
by psql, or an explicitly configured owned node over SSH + Docker. No host, IP,
or container is assumed by default.
Install
pip install holoscript-holorepo
Config
Use holorepo.config.json or env:
export HOLOREPO_DATABASE_URL="postgres://user@host:5432/app"
export PGPASSWORD="..."
For an owned node over SSH, use the jetsonExample profile as an example and
set HOLOREPO_SSH, HOLOREPO_SSH_KEY, and HOLOREPO_POSTGRES_CONTAINER.
Use
holorepo-py db read knowledge "select count(*) from memory_entries"
holorepo-py ks query "storage lanes" 8
from holoscript_holorepo import query_ks, read_db
hits = query_ks("sovereign backbone", limit=5)["rows"]
Reads refuse mutations. Writes are staged by the npm client as
holorepo.storage-proof.v1 and admitted by the configured operator route.
Native delivery planning, manifest generation, installer templates, and admission proofs live in the npm CLI:
holorepo delivery plan --class native-service --rail oci --rail compose
holorepo delivery manifest --class native-app --rail web-bundle --rail holoqr
holorepo delivery readback --rail pypi --name holoscript-holorepo --version 0.6.1
holorepo delivery admit --manifest delivery.manifest.json --receipt pypi-readback.json
holorepo delivery promote --admission delivery.admission.json --custody-receipt holokey:lease
holorepo delivery import --promotion-import delivery.promotion-import.json --source offline-tarball=./dist/app.tgz --write
holorepo delivery import --storage-adapter owned-metal --promotion-import delivery.promotion-import.json --source offline-tarball=./dist/app.tgz --destination offline-tarball=ssh://node/path/to/app.tgz --destination-digest offline-tarball=sha256:...
holorepo delivery import --storage-adapter owned-metal --promotion-import delivery.promotion-import.json --source offline-tarball=./dist/app.tgz --destination offline-tarball=scp://node/path/to/app.tgz --copy-profile scp-owned-metal --write
Python frameworks can consume the emitted manifest JSON while the package keeps DB/KS reads dependency-free.
Repository Soul Participation
The companion also builds dependency-free participation envelopes. HoloMesh is
modeled as an optional sister product: routine plans target an injected
holomesh_suggest adapter, while founder, spend, custody, public commitment,
governance, and compliance boundaries require a separate protected-review
adapter. Neither route grants authority or mutates source.
from holoscript_holorepo import (
build_holomesh_participation_plan,
build_repository_soul_suggestion,
normalize_participation_result,
)
suggestion = build_repository_soul_suggestion(
repository_soul,
{
"source": {"path": "docs/guide.md", "doorId": "contributing"},
"submitter": {"kind": "agent", "id": "agent-example"},
"intent": {
"kind": "documentation",
"title": "Clarify setup",
"description": "Add a tested example.",
},
},
)
plan = build_holomesh_participation_plan(suggestion, team_id="team-example")
# The caller may pass plan["operation"]["payload"] to its own adapter.
receipt = normalize_participation_result(
suggestion,
plan,
{"ok": True, "result": {"success": True, "suggestion": {"id": "suggestion-1"}}},
)
The emitted schemas are holorepo.repository-soul-suggestion.v1,
holorepo.holomesh-participation-plan.v1, and
holorepo.repository-soul-participation-receipt.v1.
Release Boundary
holoscript-holorepo is distributed under the MIT license. The compatibility
label is still v0-preview: the Python companion supports config/env-driven
DB/KS reads for agent frameworks, while write admission remains in the npm
client and HoloGate/HoloKey operator lane. The npm client also writes delivery
promotion import receipts, filesystem storage-import byte receipts,
object/owned-metal destination digest proof receipts, and opt-in provider-copy
profile receipts (aws-s3, rclone-copyto, mc-cp, or scp-owned-metal) that
bind admitted mirrors back to HoloRepo custody.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file holoscript_holorepo-0.6.1.tar.gz.
File metadata
- Download URL: holoscript_holorepo-0.6.1.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f6f11259935590cb0aa5351083b02b589930e5609fb1b2221830b85e5c2c84b
|
|
| MD5 |
8ce42adb5feb60d5c082d45a22d64705
|
|
| BLAKE2b-256 |
9b371cd52ccbcfaf4f4ca4e058ee1b4030bf0d5974afb3c66239357e2cea276e
|
File details
Details for the file holoscript_holorepo-0.6.1-py3-none-any.whl.
File metadata
- Download URL: holoscript_holorepo-0.6.1-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c4d76f78f612e8cc53b8ae850b54cf0e9ad06a2f32a40933de59580c63464f1
|
|
| MD5 |
ef3dcfb1cf242e26a07b3d7610c06db7
|
|
| BLAKE2b-256 |
1c5f317cf378a894fcbc119de165af5392eb1b566f24e17ac457a58169e504fe
|