Publishing

Once your workspace loads locally, admits cleanly, and passes the checklist in Local Testing, publish it to the community hub so Bahulam users can install and run it.


The OSS Repo

Community workspaces live in the bahulam-workspaces GitHub repo:

bahulam-workspaces/
├── README.md
├── SPEC.md                        # workspace.yaml v2 canonical spec
├── PANELS.md                      # CDE panel registry spec
├── SANDBOX.md                     # runtime contract mirrored here
├── verified/                      # Bahulam-maintained; PRs restricted
│   ├── bahulam-powerbi/
│   ├── bahulam-looker/
│   └── ...
├── community/                     # open contributions
│   └── <handle>/
│       └── <workspace-name>/
│           ├── workspace.yaml
│           ├── tools/
│           ├── prompts/
│           └── README.md
├── mixins/                        # reusable YAML fragments
└── .github/workflows/             # CI validation

Fork the repo. Add your workspace under community/<your-handle>/<name>/. Open a PR. CI runs the admission validator + policy checks. Bahulam maintainers review + merge.


PR Submission Steps

  1. Fork github.com/axplusbtech/bahulam-workspaces (once the repo opens to community submissions — currently in scaffolding).

  2. Create your dir at community/<your-handle>/<workspace-name>/. <your-handle> should match your GitHub username; <workspace-name> should be kebab-case and unique under your handle.

  3. Copy the reference workspace as a starting point: community/example/hello-world/ (ships in the codebase). Copy the file structure, rename, rewrite for your domain.

  4. Fill in workspace.yaml:

    • metadata.name — a clear display name
    • metadata.author — your handle (must match the path segment)
    • metadata.version — SemVer, start at 0.1.0
    • agent.system_prompt — your persona
    • custom_tools.network.egress — explicit list
    • custom_tools.limits — within ceilings
    • connections_required — anything your tools need
  5. Ship your tools/*.py — each SandboxTool subclass under bahulam.community.<your-handle>.<verb>.

  6. Write your README.md — what does this workspace do, who is it for, what connections must the user attach.

  7. Push and open a PR against main of bahulam-workspaces.

  8. CI validates — the admission validator + policy check run automatically. If CI fails, the PR page shows structured error codes; fix and push again.

  9. Bahulam review — a maintainer reviews for:

    • Manifest correctness (already CI-checked).
    • Security posture (custom_tools/*.py doesn’t attempt sandbox escape, doesn’t hardcode credentials, doesn’t shadow reserved names).
    • Domain quality (prompt is clear, tools do what they claim, tests exist).
  10. Merge — on merge, a webhook syncs your workspace to the Bahulam Hub catalog. Users can install with bahulam workspace install community/<your-handle>/<workspace-name> (once the CLI ships that command).


Community Tier vs Verified Tier

TierPathWho authorsReviewed bySLA
Communitycommunity/<handle>/<name>/Anyone via PRBahulam maintainer, best-effortBest-effort; you own maintenance
Verifiedverified/<name>/BahulamBahulam eng teamFully operated by Bahulam

Community workspaces are labeled prominently in the CDE and CLI installer so users know Bahulam doesn’t guarantee correctness. Verified workspaces carry the Bahulam label.

Community authors whose workspaces gain adoption may be invited to promote to Verified over time.


Credits & Attribution (PRD-086 §7.4)

Every billable tool call in a community workspace is attributed to you. Two counters accrue per author per period:

  • installs — count of users who installed the workspace this period
  • billable_runs — count of billable tool calls this period

Monthly, top-N community workspaces by installs × 1 + billable_runs × 10 receive Bahulam Credits you can redeem against your own workspace usage or (future) cash out.

Details in the PRD-086 §7.4 companion doc when it ships.


Versioning

Bump metadata.version in workspace.yaml on every meaningful change. The Bahulam Hub tracks each version separately and caches per-version MicroVM images. Users see the version in the CDE and can pin.

Rules:

  • Patch bump (0.1.0 → 0.1.1) — bug fixes, prompt tweaks, no schema change. Users auto-upgrade unless pinned.
  • Minor bump (0.1.1 → 0.2.0) — new tools, expanded prompt. Users notified but auto-upgraded.
  • Major bump (0.2.0 → 1.0.0) — breaking changes (removed tools, changed parameter schemas). Users must explicitly opt in.

The image cache keys on (workspace_id, version). A patch bump forces a rebake; a minor or major bump forces a rebake plus a user notification.


Removing a Workspace

Open a PR that deletes community/<your-handle>/<workspace-name>/. On merge, Bahulam Hub soft-deletes the workspace: existing sessions continue to work but new installs fail. Hard-deletion (removing the cached image) happens after 30 days.

If you need urgent removal (security issue), open an issue with security label — Bahulam suspends immediately.


What NOT to Ship

Reject-worthy contents:

  • Credentials, tokens, private keys — anywhere in the workspace tree.
  • Tools that try to escape the sandbox or scan for other workspaces.
  • Tools that hardcode connection endpoints (use connections_required).
  • Workspace prompts that impersonate Bahulam-verified workspaces (e.g. claiming to be bahulam-powerbi).
  • Workspace YAMLs that declare metadata.author different from the community/<handle>/ path segment.
  • Tools that shadow bahulam.<verified>.* names.

CI catches most of these; reviewers catch the rest. Repeat violations result in author-level bans from the hub.


Hub Discovery

Once merged, your workspace appears in:

  • The Bahulam CDE workspace picker under Community.
  • bahulam workspace list --community in the CLI (future command).
  • The hub catalog page at hub.bahulam.ai/community/<your-handle>/<name> (future URL).

Ranking is by installs + recency initially; a proper discovery UX lands with Community Hub v1.


Support

  • Docs: this site (bahulam-docs).
  • Repo: github.com/axplusbtech/bahulam-workspaces (issues, discussions).
  • Reference PRDs: PRD-086 (workspaces + hub), PRD-087 (agent factory).
  • Reference implementation: configs/workspaces/community/example/ hello-world/ in codekepler-backend.